/* Blog da home — composição editorial 1 + 2. */

body.biograph-theme.page-home .page-section--blog_destaque .blog-highlight {
  overflow: hidden;
  background: var(--surface);
}

body.biograph-theme.page-home .page-section--blog_destaque .blog-highlight__head {
  align-items: start;
  margin-bottom: clamp(2.75rem, 6vw, 5rem);
}

body.biograph-theme.page-home .page-section--blog_destaque .blog-highlight__head h2 {
  max-width: 15ch;
  font-size: clamp(2.5rem, 8vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

body.biograph-theme.page-home .page-section--blog_destaque .blog-highlight__intro {
  display: grid;
  max-width: 27rem;
  justify-items: start;
  gap: 1.125rem;
}

body.biograph-theme.page-home .page-section--blog_destaque .blog-highlight__all {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

body.biograph-theme.page-home .page-section--blog_destaque .blog-highlight__all span {
  padding-bottom: 0.2rem;
  border-bottom: 0.0625rem solid currentColor;
}

body.biograph-theme.page-home .page-section--blog_destaque .blog-highlight__all svg,
body.biograph-theme.page-home .page-section--blog_destaque .editorial-post__cta svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.biograph-theme.page-home .page-section--blog_destaque .blog-editorial {
  display: grid;
  min-width: 0;
  gap: 2.75rem;
}

body.biograph-theme.page-home .page-section--blog_destaque .editorial-post {
  min-width: 0;
}

body.biograph-theme.page-home .page-section--blog_destaque .editorial-post__link {
  display: grid;
  min-width: 0;
  align-content: start;
  color: var(--ink);
  text-decoration: none;
  gap: 1.25rem;
}

body.biograph-theme.page-home .page-section--blog_destaque .editorial-post__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0.5rem;
  background: var(--line);
}

body.biograph-theme.page-home .page-section--blog_destaque .editorial-post__media :where(img, picture),
body.biograph-theme.page-home .page-section--blog_destaque .editorial-post__media picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 320ms var(--ease);
}

body.biograph-theme.page-home .page-section--blog_destaque .editorial-post__media .ubx-empty-state {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--muted);
}

body.biograph-theme.page-home .page-section--blog_destaque .editorial-post__body {
  display: grid;
  min-width: 0;
  align-content: start;
  justify-items: start;
  gap: 0.75rem;
}

body.biograph-theme.page-home .page-section--blog_destaque .editorial-post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.45;
}

body.biograph-theme.page-home .page-section--blog_destaque .editorial-post__category {
  color: var(--ink);
  font-weight: 650;
}

body.biograph-theme.page-home .page-section--blog_destaque .editorial-post__separator {
  color: var(--brand);
}

body.biograph-theme.page-home .page-section--blog_destaque .editorial-post h3 {
  max-width: 24ch;
  color: var(--ink);
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.16em;
  text-wrap: balance;
  transition:
    color var(--duration-short) var(--ease),
    text-decoration-color var(--duration-short) var(--ease);
}

body.biograph-theme.page-home .page-section--blog_destaque .editorial-post__excerpt {
  display: -webkit-box;
  max-width: 44rem;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

body.biograph-theme.page-home .page-section--blog_destaque .editorial-post__cta {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.125rem;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
}

body.biograph-theme.page-home .page-section--blog_destaque .editorial-post--compact {
  padding-top: 1.5rem;
  border-top: 0.0625rem solid var(--line);
}

body.biograph-theme.page-home .page-section--blog_destaque .editorial-post--compact .editorial-post__link {
  grid-template-columns: minmax(7.5rem, 36%) minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
}

body.biograph-theme.page-home .page-section--blog_destaque .editorial-post--compact .editorial-post__media {
  aspect-ratio: 1;
  border-radius: 0.375rem;
}

body.biograph-theme.page-home .page-section--blog_destaque .editorial-post--compact .editorial-post__body {
  gap: 0.5rem;
}

body.biograph-theme.page-home .page-section--blog_destaque .editorial-post--compact h3 {
  font-size: clamp(1.0625rem, 4.7vw, 1.375rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
}

body.biograph-theme.page-home .page-section--blog_destaque .editorial-post--compact .editorial-post__excerpt {
  display: none;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

body.biograph-theme.page-home .page-section--blog_destaque .editorial-post--compact .editorial-post__cta {
  display: none;
}

body.biograph-theme.page-home .page-section--blog_destaque .editorial-post__link:focus-visible,
body.biograph-theme.page-home .page-section--blog_destaque .blog-highlight__all:focus-visible {
  border-radius: 0.375rem;
  outline: 0.1875rem solid var(--brand);
  outline-offset: 0.375rem;
}

@media (min-width: 43.75rem) and (max-width: 63.99rem) {
  body.biograph-theme.page-home .page-section--blog_destaque .blog-editorial {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 1.5rem;
  }

  body.biograph-theme.page-home .page-section--blog_destaque .editorial-post--feature {
    grid-column: 1 / -1;
  }

  body.biograph-theme.page-home .page-section--blog_destaque .blog-editorial--2 .editorial-post--compact {
    grid-column: 1 / -1;
  }

  body.biograph-theme.page-home .page-section--blog_destaque .blog-editorial--2 .editorial-post--compact .editorial-post__link {
    grid-template-columns: minmax(14rem, 0.55fr) minmax(0, 0.45fr);
    align-items: center;
  }

  body.biograph-theme.page-home .page-section--blog_destaque .editorial-post--compact {
    padding-top: 1.25rem;
  }

  body.biograph-theme.page-home .page-section--blog_destaque .editorial-post--compact .editorial-post__link {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  body.biograph-theme.page-home .page-section--blog_destaque .editorial-post--compact .editorial-post__media {
    aspect-ratio: 16 / 10;
  }

  body.biograph-theme.page-home .page-section--blog_destaque .editorial-post--compact .editorial-post__excerpt {
    display: -webkit-box;
  }
}

@media (min-width: 64rem) {
  body.biograph-theme.page-home .page-section--blog_destaque .blog-highlight__head {
    width: min(100%, 48rem);
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    justify-content: start;
    gap: 1.5rem;
    margin-bottom: clamp(3.25rem, 5vw, 4.5rem);
  }

  body.biograph-theme.page-home .page-section--blog_destaque .blog-highlight__intro {
    max-width: 34rem;
    gap: 0.875rem;
    padding-left: 0;
    border-left: 0;
  }

  body.biograph-theme.page-home .page-section--blog_destaque .blog-editorial {
    grid-template-columns: minmax(0, 1.42fr) minmax(21rem, 0.78fr);
    grid-template-rows: repeat(2, minmax(0, auto));
    column-gap: clamp(2rem, 4vw, 4.5rem);
    row-gap: 0;
  }

  body.biograph-theme.page-home .page-section--blog_destaque .editorial-post--feature {
    grid-row: 1 / 3;
    padding-right: clamp(2rem, 4vw, 4.5rem);
    border-right: 0.0625rem solid var(--line);
  }

  body.biograph-theme.page-home .page-section--blog_destaque .editorial-post--feature .editorial-post__media {
    aspect-ratio: 16 / 10;
  }

  body.biograph-theme.page-home .page-section--blog_destaque .editorial-post--compact {
    display: grid;
    align-content: center;
    padding-block: 1.75rem;
  }

  body.biograph-theme.page-home .page-section--blog_destaque .editorial-post--compact:nth-child(2) {
    padding-top: 0;
    border-top: 0;
    border-bottom: 0.0625rem solid var(--line);
  }

  body.biograph-theme.page-home .page-section--blog_destaque .editorial-post--compact:nth-child(3) {
    padding-bottom: 0;
    border-top: 0;
  }

  body.biograph-theme.page-home .page-section--blog_destaque .editorial-post--compact .editorial-post__link {
    grid-template-columns: minmax(9rem, 0.42fr) minmax(0, 0.58fr);
    align-items: center;
    gap: 1.375rem;
  }

  body.biograph-theme.page-home .page-section--blog_destaque .editorial-post--compact .editorial-post__excerpt {
    display: -webkit-box;
  }

  body.biograph-theme.page-home .page-section--blog_destaque .blog-editorial--1 {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }

  body.biograph-theme.page-home .page-section--blog_destaque .blog-editorial--1 .editorial-post--feature {
    width: min(100%, 70rem);
    grid-row: auto;
    padding-right: 0;
    border-right: 0;
  }

  body.biograph-theme.page-home .page-section--blog_destaque .blog-editorial--2 {
    grid-template-rows: minmax(0, auto);
  }

  body.biograph-theme.page-home .page-section--blog_destaque .blog-editorial--2 .editorial-post--feature {
    grid-row: auto;
  }

  body.biograph-theme.page-home .page-section--blog_destaque .blog-editorial--2 .editorial-post--compact {
    align-content: start;
    padding-block: 0;
    border-top: 0;
    border-bottom: 0;
  }
}

@media (hover: hover) and (pointer: fine) {
  body.biograph-theme.page-home .page-section--blog_destaque .editorial-post__link:hover .editorial-post__media img {
    transform: scale(1.018);
  }

  body.biograph-theme.page-home .page-section--blog_destaque .editorial-post__link:hover h3 {
    color: var(--brand-deep);
    text-decoration-color: var(--brand);
  }

  body.biograph-theme.page-home .page-section--blog_destaque .blog-highlight__all:hover,
  body.biograph-theme.page-home .page-section--blog_destaque .editorial-post__link:hover .editorial-post__cta {
    color: var(--brand-deep);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.biograph-theme.page-home .page-section--blog_destaque .editorial-post__media img {
    transform: none !important;
    transition: none !important;
  }
}

@media (forced-colors: active) {
  body.biograph-theme.page-home .page-section--blog_destaque .editorial-post__link:focus-visible,
  body.biograph-theme.page-home .page-section--blog_destaque .blog-highlight__all:focus-visible {
    outline-color: Highlight;
  }
}
