/* Chamons: Blog P&A Editorial */
.uid-blog-page,
.uid-blog-post-page {
  background: #fff;
  color: #101820;
  padding: 0 clamp(18px, 5vw, 86px) 80px;
}

.uid-blog-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  max-width: 1720px;
  margin: 44px auto 34px;
  color: #6b7280;
  font-size: 14px;
}

.uid-blog-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.uid-blog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
  max-width: 1720px;
  margin: 0 auto;
}

.uid-blog-sidebar {
  display: grid;
  align-content: start;
  gap: 24px;
}

.uid-blog-search,
.uid-blog-categories {
  border: 1px solid #e7ebf0;
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(16, 24, 32, .06);
  padding: 22px;
}

.uid-blog-search h2,
.uid-blog-categories h2,
.uid-blog-related h2 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
}

.uid-blog-search div {
  display: grid;
  grid-template-columns: 1fr 48px;
}

.uid-blog-search input {
  border: 1px solid #dfe5ec;
  border-radius: 6px 0 0 6px;
  height: 48px;
  padding: 0 14px;
}

.uid-blog-search button {
  border: 0;
  border-radius: 0 6px 6px 0;
  background: #001d33;
  color: #fff;
}

.uid-blog-categories a,
.uid-blog-tags a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 6px;
  color: #101820;
  font-weight: 800;
  text-decoration: none;
}

.uid-blog-categories a.is-active,
.uid-blog-categories a:hover {
  background: #001d33;
  color: #fff;
}

.uid-blog-title {
  margin-bottom: 28px;
}

.uid-blog-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.uid-blog-title__copy {
  min-width: 0;
}

.uid-blog-title h1,
.uid-blog-post__header h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 62px);
  font-weight: 900;
  line-height: 1.02;
}

.uid-blog-title p,
.uid-blog-card p,
.uid-blog-post__header p {
  color: #667085;
}

.uid-blog-title__description {
  max-width: 760px;
  margin-top: 18px;
  color: #4f5f76;
  font-size: 17px;
  line-height: 1.7;
}

.uid-blog-title__description p {
  margin: 0 0 12px;
}

.uid-blog-title__description p:last-child {
  margin-bottom: 0;
}

.uid-blog-title__image {
  flex: 0 0 180px;
  margin: 0;
  padding: 10px;
  border: 1px solid #e5ebf2;
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 50px rgba(16, 24, 32, .08);
}

.uid-blog-title__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  border-radius: 6px;
}

.uid-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.uid-blog-card {
  overflow: hidden;
  border: 1px solid #e9edf3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(16, 24, 32, .06);
}

.uid-blog-card__media {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f5f7fa;
}

.uid-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .22s ease, transform .22s ease;
}

.uid-blog-card__hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.uid-blog-card:hover .uid-blog-card__media img:first-child {
  transform: scale(1.03);
}

.uid-blog-card:hover .uid-blog-card__hover {
  opacity: 1;
  transform: scale(1.03);
}

.uid-blog-card__body {
  padding: 20px;
}

.uid-blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  color: #506078;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.uid-blog-card h2,
.uid-blog-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.2;
}

.uid-blog-card a {
  color: inherit;
}

.uid-blog-card p {
  display: -webkit-box;
  min-height: 78px;
  overflow: hidden;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.uid-blog-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  color: #485873;
  font-weight: 900;
}

.uid-blog-empty {
  padding: 34px;
  border: 1px dashed #d5dce6;
  border-radius: 8px;
  color: #667085;
}

.uid-blog-post,
.uid-blog-related,
.uid-blog-author-card {
  max-width: 1120px;
  margin: 0 auto;
}

.uid-blog-post__header {
  text-align: center;
  margin-bottom: 34px;
}

.uid-blog-post__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #506078;
  font-weight: 900;
  text-transform: uppercase;
}

.uid-blog-post__author {
  display: inline-flex;
  margin-top: 18px;
  color: #485873;
  font-weight: 900;
}

.uid-blog-post__header p {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 18px;
  line-height: 1.6;
}

.uid-blog-share {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 24px;
}

.uid-blog-share > span {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.uid-blog-share__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.uid-blog-share__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.uid-blog-share__button:hover,
.uid-blog-share__button:focus {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(16, 24, 32, .16);
}

.uid-blog-share__button--whatsapp {
  background: #20c867;
}

.uid-blog-share__button--messenger {
  background: #4b7bec;
}

.uid-blog-share__button--facebook {
  background: #4267b2;
}

.uid-blog-share__button--x {
  background: #111;
}

.uid-blog-share__button--email,
.uid-blog-share__button--copy {
  background: #77808d;
}

.uid-blog-share__button--copy.is-copied::after {
  content: "Copiado";
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  padding: 5px 8px;
  border-radius: 4px;
  background: #001d33;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  transform: translateX(-50%);
  white-space: nowrap;
}

.uid-blog-post__cover,
.uid-blog-video {
  margin: 0 0 34px;
}

.uid-blog-gallery {
  margin-bottom: 34px;
}

.uid-blog-gallery .uid-blog-post__cover {
  margin-bottom: 14px;
}

.uid-blog-gallery__main {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  display: block;
  cursor: zoom-in;
}

.uid-blog-post__cover img,
.uid-blog-video iframe,
.uid-blog-video video {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.uid-blog-post__cover img {
  max-height: 440px;
  object-fit: contain;
  background: #f6f8fb;
}

.uid-blog-gallery__thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 96px;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 4px 0 12px;
  scroll-snap-type: x mandatory;
}

.uid-blog-gallery__thumb {
  width: 96px;
  height: 96px;
  padding: 4px;
  border: 1px solid #dce4ee;
  border-radius: 8px;
  background: #fff;
  scroll-snap-align: start;
  cursor: pointer;
}

.uid-blog-gallery__thumb.is-active,
.uid-blog-gallery__thumb:hover {
  border-color: #001d33;
  box-shadow: 0 10px 26px rgba(0, 29, 51, 0.16);
}

.uid-blog-gallery__thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 6px;
}

.uid-blog-video iframe,
.uid-blog-video video {
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  background: #001d33;
}

.uid-blog-post__content {
  color: #303846;
  font-size: 18px;
  line-height: 1.75;
}

.uid-blog-carousel,
.uid-blog-related__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 33%);
  gap: 22px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 6px 0 20px;
  scroll-snap-type: x mandatory;
}

.uid-blog-carousel img,
.uid-blog-related__rail > * {
  scroll-snap-align: start;
}

.uid-blog-carousel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.uid-blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0;
}

.uid-blog-tags a {
  background: #edf3fb;
  color: #485873;
}

.uid-blog-post__insight {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: -10px 0 28px;
  color: #7a8798;
  font-size: 13px;
  font-weight: 800;
}

.uid-blog-post__insight i {
  color: #9aa6b5;
}

.uid-blog-comments {
  margin-top: 46px;
  padding-top: 34px;
  border-top: 1px solid #e5ebf2;
}

.uid-blog-comments__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.uid-blog-comments__header h2,
.uid-blog-comment-form h3 {
  margin: 0;
  color: #101820;
  font-weight: 900;
}

.uid-blog-comments__header span {
  color: #667085;
  font-weight: 800;
}

.uid-blog-comments__success {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid #bfe6cf;
  border-radius: 8px;
  background: #eefaf3;
  color: #257043;
  font-weight: 800;
}

.uid-blog-comments__list {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
}

.uid-blog-comment,
.uid-blog-comment-form {
  padding: 22px;
  border: 1px solid #e5ebf2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(16, 24, 32, .05);
}

.uid-blog-comment strong,
.uid-blog-comment time {
  display: inline-flex;
  margin-right: 12px;
}

.uid-blog-comment time {
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.uid-blog-comment p {
  margin: 12px 0 0;
  color: #303846;
  line-height: 1.65;
}

.uid-blog-comment-form {
  display: grid;
  gap: 16px;
}

.uid-blog-comment-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.uid-blog-comment-form label {
  display: grid;
  gap: 8px;
  color: #101820;
  font-weight: 900;
}

.uid-blog-comment-form input,
.uid-blog-comment-form textarea {
  width: 100%;
  border: 1px solid #dce4ee;
  border-radius: 8px;
  padding: 13px 14px;
  color: #303846;
  font-weight: 700;
}

.uid-blog-comment-form textarea {
  resize: vertical;
}

.uid-blog-comment-form small {
  color: #b42318;
  font-weight: 800;
}

.uid-blog-comment-form button {
  justify-self: start;
  border: 0;
  border-radius: 8px;
  padding: 14px 22px;
  background: #001d33;
  color: #fff;
  font-weight: 900;
}

.uid-blog-related {
  margin-top: 64px;
}

.uid-blog-related__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.uid-blog-related__head h2 {
  margin: 0;
}

.uid-blog-related__head a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid #dce4ee;
  border-radius: 8px;
  color: #485873;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.uid-blog-related__head a:hover {
  border-color: #001d33;
  background: #001d33;
  color: #fff;
  text-decoration: none;
}

.uid-blog-related__rail--products {
  grid-auto-columns: minmax(260px, 25%);
}

.uid-blog-author-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  margin-top: 54px;
  padding: 34px;
  border: 1px solid #e7ebf0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(16, 24, 32, .06);
}

.uid-blog-author-card__image {
  margin: 0;
}

.uid-blog-author-card__image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.uid-blog-author-card__body > span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #506078;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.uid-blog-author-card h2 {
  margin: 0 0 16px;
  color: #101820;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.1;
}

.uid-blog-author-card__text {
  color: #667085;
  font-size: 17px;
  line-height: 1.75;
}

.uid-blog-author-card__text p {
  margin: 0 0 12px;
}

.uid-blog-author-card__text p:last-child {
  margin-bottom: 0;
}

.uid-blog-author-card__body > a {
  display: inline-flex;
  margin-top: 22px;
  border-radius: 8px;
  padding: 14px 22px;
  background: #485873;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.uid-blog-author-card__body > a:hover {
  background: #001d33;
  color: #fff;
  text-decoration: none;
}

.uid-blog-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 42px;
  background: rgba(0, 13, 24, 0.88);
}

.uid-blog-lightbox.is-open {
  display: flex;
}

body.uid-blog-lightbox-is-open {
  overflow: hidden;
}

.uid-blog-lightbox__stage {
  max-width: min(1120px, 86vw);
  max-height: 86vh;
}

.uid-blog-lightbox__stage img {
  max-width: 100%;
  max-height: 86vh;
  display: block;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}

.uid-blog-lightbox__close,
.uid-blog-lightbox__nav {
  border: 0;
  background: #fff;
  color: #001d33;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

.uid-blog-lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}

.uid-blog-lightbox__nav {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  transform: translateY(-50%);
  font-size: 42px;
  line-height: 46px;
}

.uid-blog-lightbox__nav--prev {
  left: 24px;
}

.uid-blog-lightbox__nav--next {
  right: 24px;
}

@media (max-width: 980px) {
  .uid-blog-layout {
    grid-template-columns: 1fr;
  }

  .uid-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .uid-blog-grid {
    grid-template-columns: 1fr;
  }

  .uid-blog-card__footer {
    flex-direction: column;
  }

  .uid-blog-related__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .uid-blog-comment-form__grid {
    grid-template-columns: 1fr;
  }

  .uid-blog-author-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .uid-blog-author-card__image {
    max-width: 220px;
  }

  .uid-blog-title {
    display: block;
  }

  .uid-blog-title__image {
    max-width: 180px;
    margin-top: 22px;
  }

  .uid-blog-lightbox {
    padding: 24px 16px;
  }

  .uid-blog-lightbox__nav {
    width: 44px;
    height: 44px;
    font-size: 34px;
  }

  .uid-blog-lightbox__nav--prev {
    left: 12px;
  }

  .uid-blog-lightbox__nav--next {
    right: 12px;
  }
}

/* Chamons: respiro final da pagina do blog e URLs amigaveis em categorias. */
.uid-blog-page .uid-blog-breadcrumbs,
.uid-blog-post-page .uid-blog-breadcrumbs {
  margin-top: 64px;
  margin-bottom: 44px;
}

.uid-blog-layout {
  gap: clamp(48px, 5vw, 86px);
}

.uid-blog-content {
  padding-top: 8px;
}

.uid-blog-title {
  margin-bottom: 38px;
}

.uid-blog-title h1 {
  margin-bottom: 12px;
}

.uid-blog-empty {
  margin-top: 26px;
  min-height: 110px;
  display: flex;
  align-items: center;
}

.uid-blog-search,
.uid-blog-categories {
  padding: 28px;
}

.uid-blog-search {
  margin-bottom: 6px;
}

.uid-blog-categories a + a {
  margin-top: 8px;
}