/* =============================================================
   ANDOR BIOLETA — Single Post / Artigo
   Depende de: styles.css (tokens, header, footer, reset)
   Layout inspirado em finduslost.com — editorial, full-size
============================================================= */

/* -------------------------------------------------------------
   POST HERO — full-viewport cover com overlay gradiente
------------------------------------------------------------- */
.post-hero {
  position: relative;
  width: 100%;
  min-height: 92dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-image: var(--hero-bg, none);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.post-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.22) 0%,
    rgba(0,0,0,0.12) 30%,
    rgba(0,0,0,0.55) 65%,
    rgba(0,0,0,0.82) 100%
  );
  pointer-events: none;
}

.post-hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 clamp(1.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem);
  animation: heroFadeUp 0.9s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.post-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--brand-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.1rem;
}

.post-hero__eyebrow a {
  color: inherit;
  transition: color 0.2s;
}
.post-hero__eyebrow a:hover { color: var(--palette-rose); }

.post-hero__eyebrow-sep {
  opacity: 0.45;
}

.post-hero__title {
  font-family: var(--brand-serif);
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.01;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.6rem;
}

.post-hero__title em {
  font-style: italic;
  font-weight: 300;
}

.post-hero__meta {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.post-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--brand-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}

.post-hero__meta-item i {
  font-size: 0.66rem;
  opacity: 0.7;
}

/* Scroll hint arrow */
.post-hero__scroll {
  position: absolute;
  bottom: 2.2rem;
  right: clamp(1.5rem, 5vw, 4rem);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.5);
  font-family: var(--brand-sans);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: scrollBounce 2s 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* -------------------------------------------------------------
   POST SHARE BAR — linha fixa abaixo do hero
------------------------------------------------------------- */
.post-sharebar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.post-sharebar__inner {
  width: min(1240px, calc(100% - 2.4rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 50px;
}

.post-sharebar__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--brand-sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.post-sharebar__breadcrumb a {
  color: var(--text-2);
  transition: color 0.2s;
}
.post-sharebar__breadcrumb a:hover { color: var(--link-hover); }

.post-sharebar__breadcrumb-sep {
  font-size: 0.6rem;
  opacity: 0.4;
}

.post-sharebar__title {
  font-family: var(--brand-serif);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}

.post-sharebar__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.post-sharebar__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--brand-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.post-sharebar__btn:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

.post-sharebar__btn i { font-size: 0.75rem; }

/* -------------------------------------------------------------
   POST LAYOUT — grid: TOC sidebar + conteúdo
------------------------------------------------------------- */
.post-layout {
  width: min(1280px, calc(100% - 2.4rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  align-items: start;
}

/* -------------------------------------------------------------
   TABLE OF CONTENTS — coluna esquerda, sticky
------------------------------------------------------------- */
.post-toc {
  position: sticky;
  top: 70px; /* abaixo do sharebar */
  max-height: calc(100dvh - 90px);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 1rem;
}

.post-toc::-webkit-scrollbar { display: none; }

.post-toc__label {
  font-family: var(--brand-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.post-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.post-toc__item a {
  display: block;
  font-family: var(--brand-sans);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-2);
  padding: 0.32rem 0 0.32rem 1rem;
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition: color 0.18s, border-color 0.18s;
}

.post-toc__item a:hover,
.post-toc__item--active a {
  color: var(--text);
  border-left-color: var(--palette-purple);
}

.post-toc__item--sub a {
  font-size: 0.74rem;
  padding-left: 1.6rem;
  color: var(--text-muted);
}
.post-toc__item--sub a:hover { color: var(--text-2); }

/* -------------------------------------------------------------
   POST CONTENT — coluna principal (prose)
------------------------------------------------------------- */
.post-content {
  min-width: 0;
}

/* Intro / lead paragraph */
.post-intro {
  font-family: var(--brand-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 300;
  line-height: 1.62;
  color: var(--text);
  margin-bottom: 2.2rem;
  max-width: 68ch;
}

/* Quick facts panel */
.post-quickfacts {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 1.6rem 2rem;
  margin-bottom: 2.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem 2rem;
  position: relative;
}

.post-quickfacts::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--palette-purple);
}

.fact-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.fact-label {
  font-family: var(--brand-sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.fact-value {
  font-family: var(--brand-sans);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.4;
}

.fact-value strong {
  font-weight: 600;
  color: var(--text);
}

/* Section separator — linha decorativa */
.post-section-sep {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.8rem 0 2rem;
  color: var(--palette-purple);
  opacity: 0.35;
}

.post-section-sep::before,
.post-section-sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
}

.post-section-sep i {
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Article section */
.post-section {
  margin-bottom: 3.2rem;
  scroll-margin-top: 80px;
}

/* H2 — grande secção */
.post-content h2 {
  font-family: var(--brand-serif);
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.4rem;
  position: relative;
}

.post-content h2::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 1.5px;
  background: var(--palette-purple);
  margin-top: 0.7rem;
  margin-bottom: 1.3rem;
}

/* H3 — subsecção */
.post-content h3 {
  font-family: var(--brand-sans);
  font-size: clamp(0.72rem, 1.1vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--palette-purple);
  margin-top: 2rem;
  margin-bottom: 0.9rem;
}

/* H4 — detalhe dentro de sub-secção */
.post-content h4 {
  font-family: var(--brand-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  margin-top: 1.6rem;
  margin-bottom: 0.5rem;
}

/* Paragraphs */
.post-content p {
  font-family: var(--brand-sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.78;
  color: var(--text);
  margin-bottom: 1.3rem;
  max-width: 72ch;
}

/* Inline links */
.post-content a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--palette-purple);
  text-decoration-thickness: 1px;
  transition: color 0.18s, text-decoration-color 0.18s;
}

.post-content a:hover {
  color: var(--link-hover);
  text-decoration-color: currentColor;
}

/* Lists */
.post-content ul,
.post-content ol {
  font-family: var(--brand-sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.78;
  color: var(--text);
  margin-bottom: 1.3rem;
  max-width: 68ch;
  padding-left: 1.6rem;
}

.post-content ul { list-style: none; padding-left: 0; }

.post-content ul li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
}

.post-content ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--palette-purple);
  font-weight: 400;
}

.post-content ol {
  list-style: decimal;
}

.post-content ol li { margin-bottom: 0.5rem; }

/* Blockquote */
.post-content blockquote {
  margin: 2.2rem 0;
  padding: 1.6rem 2rem 1.6rem 2.4rem;
  border-left: 3px solid var(--palette-purple);
  background: var(--bg-surface);
  position: relative;
}

.post-content blockquote p {
  font-family: var(--brand-serif);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 0;
  max-width: none;
}

.post-content blockquote cite {
  display: block;
  margin-top: 0.8rem;
  font-family: var(--brand-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-style: normal;
}

/* Callout box (promo / CTA interna) */
.post-callout {
  margin: 2.4rem 0;
  padding: 1.5rem 1.8rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--palette-rose);
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.post-callout__icon {
  font-size: 1.4rem;
  color: var(--palette-purple);
  flex-shrink: 0;
}

.post-callout__text {
  flex: 1;
}

.post-callout__text p {
  font-family: var(--brand-sans);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
  max-width: none;
}

.post-callout__text strong {
  color: var(--text);
  font-weight: 600;
}

.post-callout__text a {
  text-decoration: none;
  font-weight: 600;
  color: var(--palette-purple);
}
.post-callout__text a:hover { color: var(--link-hover); }

/* Info tip box */
.post-tip {
  margin: 1.8rem 0;
  padding: 1.2rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--palette-tan);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.post-tip i {
  color: var(--palette-tan);
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.post-tip p {
  font-size: 0.88rem;
  color: var(--text-2);
  margin: 0;
  line-height: 1.65;
  max-width: none;
}

/* -------------------------------------------------------------
   IMAGES dentro do conteúdo
------------------------------------------------------------- */
/* WordPress block images — spacing between consecutive images */
.post-content .wp-block-image,
.post-content .wp-block-gallery {
  margin-top: 1.8rem;
  margin-bottom: 1.8rem;
}

/* Gap between items inside a gallery */
.post-content .wp-block-gallery {
  gap: 1.2rem !important;
}

/* Full-width single image */
.post-figure {
  margin: 2.2rem 0;
}

.post-figure img {
  width: 100%;
  display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.post-figure figcaption {
  font-family: var(--brand-sans);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 0.55rem;
  padding-left: 0.2rem;
}

/* 2-col photo grid */
.post-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin: 2.2rem 0;
}

.post-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 5;
}

.post-photo-grid figcaption {
  grid-column: 1 / -1;
  font-family: var(--brand-sans);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 0.3rem;
}

/* Full-bleed breakout image (mais larga que o texto) */
.post-figure--wide {
  margin-left: -4rem;
  margin-right: -4rem;
}

/* Mosaic: 3 images — 1 tall left + 2 stacked right */
.post-photo-mosaic {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.2rem;
  margin: 2.2rem 0;
}

.post-photo-mosaic img:first-child {
  grid-row: 1 / 3;
  aspect-ratio: 3 / 4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-photo-mosaic img:not(:first-child) {
  aspect-ratio: 5 / 4;
  width: 100%;
  object-fit: cover;
  display: block;
}

/* -------------------------------------------------------------
   IN-ARTICLE RELATED POST LINK
------------------------------------------------------------- */
.post-related-inline {
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  transition: border-color 0.18s;
  text-decoration: none;
}

.post-related-inline:hover {
  border-color: var(--border-hover);
  text-decoration: none;
}

.post-related-inline__label {
  font-family: var(--brand-sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--palette-purple);
  display: block;
  margin-bottom: 0.25rem;
}

.post-related-inline__title {
  font-family: var(--brand-serif);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  color: var(--text);
  line-height: 1.3;
}

.post-related-inline i {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.post-related-inline:hover i { transform: translateX(4px); }

/* -------------------------------------------------------------
   TAGS
------------------------------------------------------------- */
.post-tags-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--palette-purple);
  opacity: 0.72;
  margin: 2.8rem 0 1.1rem;
}

.post-tags-divider .divider-rule {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.post-tags-divider .divider-rule--fade-left {
  background: linear-gradient(to left, transparent, var(--border));
}

.post-tags-divider .divider-viola-icon {
  flex-shrink: 0;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2.8rem;
  padding-top: 0;
  border-top: 0;
}

.post-tag {
  font-family: var(--brand-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--border);
  transition: border-color 0.18s, color 0.18s;
}

.post-tag:hover {
  border-color: var(--palette-purple);
  color: var(--palette-purple);
}

/* -------------------------------------------------------------
   COMMENTS
------------------------------------------------------------- */
.post-comments {
  margin: 3rem 0 0;
}

.post-comments .comments-area {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.post-comments .comments-title,
.post-comments #reply-title {
  font-family: var(--brand-serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-style: italic;
  font-weight: 300;
  color: var(--text);
  margin: 0 0 1.5rem;
}

.post-comments #reply-title small {
  font-family: var(--brand-sans);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-style: normal;
  margin-left: 0.75rem;
}

.post-comments #reply-title small a {
  color: var(--text-muted);
  text-decoration: none;
}

.post-comments .comment-notes,
.post-comments .logged-in-as {
  font-family: var(--brand-sans);
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* ── Comment list ────────────────────────────── */
.post-comments .comment-list,
.post-comments .children {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Comment card */
.post-comments .comment-body {
  padding: 1.4rem 1.5rem;
  background: rgba(255, 248, 245, 0.06);
  border: 1px solid rgba(255, 248, 245, 0.12);
  border-radius: 12px;
  margin-bottom: 0.75rem;
}

/* Avatar + name/date two-row grid */
.post-comments .comment-meta {
  margin-bottom: 0.875rem;
}

.post-comments .comment-author.vcard {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.875rem;
  align-items: center;
}

.post-comments .comment-author .avatar {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--palette-purple);
  object-fit: cover;
}

.post-comments .comment-author .fn {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--brand-sans);
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}

.post-comments .comment-date {
  grid-column: 2;
  grid-row: 2;
  display: block;
  font-family: var(--brand-sans);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}

.post-comments .comment-content p {
  font-family: var(--brand-sans);
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-2);
}

.post-comments .comment-actions {
  margin-top: 0.75rem;
}

.post-comments .comment-reply-link {
  display: inline-block;
  font-family: var(--brand-sans);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.post-comments .comment-reply-link:hover {
  color: var(--palette-purple);
}

/* Nested replies */
.post-comments .children {
  margin: 0.5rem 0 0 1.5rem;
}

/* ── Form ─────────────────────────────────────── */
.post-comments .comment-respond {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.post-comments .comment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.post-comments .comment-form > p { margin: 0; }

/* Author + email side by side; everything else full width */
.post-comments .comment-form .comment-form-author,
.post-comments .comment-form .comment-form-email {
  grid-column: span 1;
}

.post-comments .comment-form .comment-notes,
.post-comments .comment-form .logged-in-as,
.post-comments .comment-form .comment-form-comment,
.post-comments .comment-form .comment-form-url,
.post-comments .comment-form .comment-form-cookies-consent,
.post-comments .comment-form .form-submit {
  grid-column: 1 / -1;
}

.post-comments .comment-form label {
  display: block;
  font-family: var(--brand-sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.post-comments .comment-form .required { color: var(--palette-purple); }

.post-comments .comment-form input[type="text"],
.post-comments .comment-form input[type="email"],
.post-comments .comment-form input[type="url"] {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-family: var(--brand-sans);
  font-size: 0.9rem;
  padding: 0.45rem 0;
  transition: border-color 0.2s;
  border-radius: 0;
}

.post-comments .comment-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-family: var(--brand-sans);
  font-size: 0.9rem;
  padding: 0.6rem 0.75rem;
  min-height: 8rem;
  resize: vertical;
  transition: border-color 0.2s;
  border-radius: 4px;
}

.post-comments .comment-form input:focus,
.post-comments .comment-form textarea:focus {
  outline: none;
  border-color: var(--palette-purple);
}

.post-comments .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.post-comments .comment-form-cookies-consent input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 0.2rem;
  accent-color: var(--palette-purple);
}

.post-comments .comment-form-cookies-consent label {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.01em;
  text-transform: none;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.55;
}

.post-comments .form-submit {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.5rem;
}

.post-comments .form-submit .submit-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--palette-purple);
  background: var(--palette-purple);
  color: #ffffff;
  font-family: var(--brand-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.post-comments .form-submit .submit-btn:hover {
  background: transparent;
  color: var(--palette-purple);
}

.post-comments .form-submit .submit-btn:focus {
  outline: 2px solid var(--palette-purple);
  outline-offset: 2px;
}

/* ── Comment awaiting moderation ─────────────── */
.post-comments .comment-awaiting-moderation {
  display: block;
  font-family: var(--brand-sans);
  font-size: 0.7rem;
  color: var(--palette-purple);
  margin-bottom: 0.35rem;
}

/* -------------------------------------------------------------
   AUTHOR BOX — final do artigo
------------------------------------------------------------- */
.post-author {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.4rem;
  align-items: center;
  padding: 1.8rem 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  margin: 2rem 0 3rem;
}

.post-author__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.post-author__name {
  font-family: var(--brand-serif);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.post-author__role {
  font-family: var(--brand-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--palette-purple);
  margin-bottom: 0.5rem;
}

.post-author__bio {
  font-family: var(--brand-sans);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-2);
}

/* -------------------------------------------------------------
   RELATED POSTS — grelha no fundo da página
------------------------------------------------------------- */
.post-related {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.post-related__inner {
  width: min(1240px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.post-related__heading {
  font-family: var(--brand-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.post-related__heading::after {
  content: '';
  display: block;
  width: 2rem;
  height: 1.5px;
  background: var(--palette-purple);
  margin-top: 0.55rem;
  margin-bottom: 1.8rem;
}

.post-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.related-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.related-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

.related-card__media-wrap {
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.related-card__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.related-card:hover .related-card__media {
  transform: scale(1.03);
}

.related-card__body {
  padding: 1.1rem 1.2rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.related-card__kicker {
  font-family: var(--brand-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--palette-purple);
  margin-bottom: 0.5rem;
}

.related-card__title {
  font-family: var(--brand-serif);
  font-size: 1.2rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  color: var(--text);
  flex: 1;
}

.related-card__link {
  margin-top: 0.9rem;
  font-family: var(--brand-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.related-card:hover .related-card__link {
  color: var(--palette-purple);
}

/* -------------------------------------------------------------
   RESPONSIVO
------------------------------------------------------------- */
@media (max-width: 1060px) {
  .post-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 2rem;
  }

  .post-figure--wide {
    margin-left: -2rem;
    margin-right: -2rem;
  }
}

@media (max-width: 860px) {
  /* TOC colapsa para toggle no mobile */
  .post-layout {
    grid-template-columns: 1fr;
  }

  .post-toc {
    position: static;
    max-height: none;
    border: 1px solid var(--border);
    padding: 1.2rem 1.4rem;
    margin-bottom: 2rem;
    overflow: visible;
  }

  .post-toc__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .post-figure--wide {
    margin-left: 0;
    margin-right: 0;
  }

  .post-related__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .post-quickfacts {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.3rem 1.3rem;
  }

  .post-author {
    grid-template-columns: 56px 1fr;
    gap: 1rem;
    padding: 1.3rem 1.3rem;
  }

}


@media (max-width: 600px) {
  .post-hero__title {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .post-sharebar__title { display: none; }

  .post-related__grid {
    grid-template-columns: 1fr;
  }

  .post-photo-grid {
    grid-template-columns: 1fr;
  }

  .post-photo-grid img {
    aspect-ratio: 3 / 2;
  }

  .post-photo-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .post-photo-mosaic img:first-child {
    grid-row: auto;
    aspect-ratio: 3 / 2;
  }

  .post-callout {
    flex-direction: column;
    gap: 0.8rem;
  }

  .post-toc__list {
    grid-template-columns: 1fr;
  }

  .post-author {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .post-comments .form-submit .submit-btn {
    width: 100%;
  }
}

/* O header usa os estilos do estado 'has-scrolled' (aplicado via classe no <body>) */

/* newsletter footer inline no post */
.travel-footer__newsletter-controls {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.travel-footer__newsletter-controls input[type="email"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--footer-border);
  border-right: none;
  border-radius: 0;
  background: rgba(255,255,255,0.06);
  color: var(--footer-text);
  font-family: var(--brand-sans);
  font-size: 0.88rem;
  outline: none;
}

.travel-footer__newsletter-controls input[type="email"]::placeholder {
  color: rgba(255,248,245,0.38);
}

.travel-footer__newsletter-controls .travel-footer__cta {
  border-radius: 0;
  white-space: nowrap;
}

.travel-footer__newsletter-note {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--footer-text-2);
  font-family: var(--brand-sans);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .travel-footer__newsletter-controls {
    flex-direction: column;
  }
  .travel-footer__newsletter-controls input[type="email"] {
    border-right: 1px solid var(--footer-border);
    border-bottom: none;
  }
  .travel-footer__newsletter-controls .travel-footer__cta {
    width: 100%;
    justify-content: center;
  }
}
