/* ==========================================================================
   Página de post do blog — layout editorial em duas colunas
   Carregado apenas em /blog/<slug>/ (ver gerarPaginasPost em consolidar.js)
   ========================================================================== */

/* ------------------------------------------------------------------ base */
.post-page .aux-main {
  padding: clamp(150px, 12vw, 182px) clamp(20px, 5vw, 56px) clamp(64px, 8vw, 110px);
}

.post-page article.post {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

/* ------------------------------------------------------------------ hero */
.post-page .post-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5.5vw, 72px);
  align-items: center;
}

.post-page .post-hero-copy {
  min-width: 0;
}

.post-page .post-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(14px, 2vw, 22px);
  padding: 6px 14px;
  border: 1px solid rgba(181, 135, 81, .45);
  border-radius: 999px;
  color: #d8a95f;
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1;
  text-transform: uppercase;
}

.post-page .post-kicker::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d8a95f;
}

.post-page .post-hero .entry-header {
  margin: 0;
  padding: 0;
  border: 0;
}

.post-page .post-hero .entry-title {
  margin: 0 0 clamp(16px, 2vw, 24px);
  padding: 0;
  color: #FFF2D8;
  font-family: 'Averia Sans Libre', 'Nunito Sans', sans-serif;
  font-size: clamp(1.95rem, 3.6vw, 3.55rem);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.06;
  text-align: left;
  text-wrap: balance;
}

.post-page .post-hero .entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  margin: 0;
  padding: 0;
  border: 0;
  color: rgba(255, 242, 216, .62);
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: clamp(.8rem, .95vw, .9rem);
  line-height: 1.5;
}

.post-page .post-hero .entry-meta > span {
  display: inline-flex;
  align-items: center;
}

.post-page .post-hero .entry-meta > span + span::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  margin: 0 14px;
  background: rgba(181, 135, 81, .55);
}

.post-page .post-hero .entry-meta a {
  color: #d8a95f;
  text-decoration: none;
}

.post-page .post-hero .entry-meta a:hover {
  text-decoration: underline;
}

.post-page .post-lead {
  margin: clamp(20px, 2.4vw, 30px) 0 0;
  padding-left: clamp(14px, 1.6vw, 20px);
  border-left: 2px solid #B58751;
  color: rgba(255, 242, 216, .8);
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: clamp(.98rem, 1.15vw, 1.08rem);
  line-height: 1.7;
}

/* ------------------------------------------------------- imagem de destaque */
.post-page .post-hero-media {
  min-width: 0;
  margin: 0;
}

.post-page .post-hero-media .aux-media-frame.aux-media-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(181, 135, 81, .35);
  border-radius: 26px;
  background: #0d1712;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .85);
}

.post-page .post-hero-media .aux-media-frame.aux-media-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(19, 32, 26, 0) 55%, rgba(19, 32, 26, .35) 100%);
  pointer-events: none;
}

.post-page .post-hero-media .aux-media-frame.aux-media-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}

/* --------------------------------------------------------- texto do artigo */
.post-page article.post .entry-content {
  max-width: 720px;
  margin: clamp(48px, 6.5vw, 76px) auto 0;
  padding: 0;
  color: rgba(255, 242, 216, .9);
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: clamp(1.06rem, 1.22vw, 1.16rem);
  line-height: 1.85;
  text-align: left;
}

.post-page article.post .entry-content > p {
  max-width: none;
  margin: 0 0 1.45em;
  font-size: inherit;
  line-height: inherit;
}

.post-page article.post .entry-content > p:first-child {
  color: #FFF2D8;
  font-size: clamp(1.1rem, 1.3vw, 1.22rem);
}

.post-page article.post .entry-content a {
  color: #d8a95f;
  text-decoration: underline;
  text-decoration-thickness: .06em;
  text-underline-offset: .18em;
}

.post-page article.post .entry-content a:hover {
  color: #FFF2D8;
}

/* ------------------------------------------------------------- responsivo */
@media (max-width: 900px) {
  .post-page .aux-main {
    padding-top: clamp(150px, 20vw, 165px);
  }

  .post-page .post-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(26px, 6vw, 40px);
  }

  .post-page .post-hero-copy,
  .post-page .post-hero-media {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
  }

  .post-page .post-hero .entry-title {
    font-size: clamp(2rem, 5.2vw, 2.9rem);
  }
}

@media (max-width: 480px) {
  .post-page .aux-main {
    padding-right: 20px;
    padding-left: 20px;
    padding-top: clamp(150px, 38vw, 168px);
  }

  .post-page .post-hero .entry-title {
    letter-spacing: -.01em;
  }

  .post-page .post-hero .entry-meta {
    font-size: .78rem;
  }

  .post-page .post-hero .entry-meta > span + span::before {
    width: 14px;
    margin: 0 10px;
  }

  .post-page .post-hero-media .aux-media-frame.aux-media-image {
    border-radius: 20px;
  }
}

/* ------------------------------------------------------------- animação */
@keyframes post-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.post-page .post-kicker,
.post-page .post-hero .entry-title,
.post-page .post-hero .entry-meta,
.post-page .post-lead,
.post-page .post-hero-media,
.post-page article.post .entry-content {
  animation: post-rise .72s cubic-bezier(.22, .78, .3, 1) both;
}

.post-page .post-kicker {
  animation-delay: .04s;
}

.post-page .post-hero .entry-title {
  animation-delay: .1s;
}

.post-page .post-hero .entry-meta {
  animation-delay: .16s;
}

.post-page .post-lead {
  animation-delay: .22s;
}

.post-page .post-hero-media {
  animation-delay: .18s;
}

.post-page article.post .entry-content {
  animation-delay: .3s;
}

@media (prefers-reduced-motion: reduce) {
  .post-page .post-kicker,
  .post-page .post-hero .entry-title,
  .post-page .post-hero .entry-meta,
  .post-page .post-lead,
  .post-page .post-hero-media,
  .post-page article.post .entry-content {
    animation: none !important;
  }
}
