/* ==============================
   TOKENS (from index.css)
============================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --background: #fafafa;
  --foreground: #141414;
  --card: #ffffff;
  --primary: #d93025;
  --primary-fg: #fafafa;
  --secondary: #f0ede8;
  --muted: #f0f0f0;
  --muted-fg: #666666;
  --border: #e6e6e6;
  --cream: #f7f4f0;
  --dark-bar: #0f0f0f;
  --dark-bar-fg: #f2f2f2;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --radius: 0;
}

/* ==============================
   BASE
============================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

/* ==============================
   UTILITIES
============================== */
.container { max-width: 1280px; width: 100%; margin-inline: auto; }
.section-padding { padding-inline: 1.25rem; display: block;}
@media (min-width: 768px) { .section-padding { padding-inline: 2.5rem; } }
@media (min-width: 1024px) { .section-padding { padding-inline: 4rem; } }

.section-block { padding-block: 3rem; max-width: 1280px; width: 100%; margin: 0 auto}
@media (min-width: 768px) { .section-block { padding-block: 5rem; } }

.tag-pill {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.tag-primary { background: var(--primary); color: var(--primary-fg); }
.tag-card { background: rgba(255,255,255,0.8); color: var(--foreground); }
.tag-text {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  font-weight: 600;
}

.editorial-rule { width: 3rem; height: 2px; background: var(--foreground); margin-bottom: 1rem; }
.section-title { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; font-style: italic; }

.section-header { margin-bottom: 2rem; }
@media (min-width: 768px) { .section-header { margin-bottom: 3rem; } }

.img-wrap { overflow: hidden; }
.img-wrap img { transition: transform 0.7s ease; }
.group:hover .img-wrap img { transform: scale(1.02); }

.aspect-34 img { aspect-ratio: 3/4; object-fit: cover; }

/* ==============================
   NAVBAR
============================== */
/* ==============================
   NAVBAR
============================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--dark-bar);
  color: var(--dark-bar-fg);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  align-items: stretch;
}

/* Logo — image overflows the bar vertically */
.navbar-logo {
  display: flex;
  align-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.navbar-logo img {
  display: block;
  width: auto;
  max-width: 152px;   /* match what devtools shows */
  max-height: 6rem;   /* taller than the bar so it bleeds */
  object-fit: contain;
  /* do NOT set overflow:hidden here — the navbar-inner clips it naturally */
}

/* Desktop nav links — vertically centred via the flex parent */
.nav-links {
  display: none;
  list-style: none;
  align-items: center; /* centre within the 5rem bar */
  gap: 3rem;
   height: 100%;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}
.nav-links li {
  padding: 0;
margin: 0;
line-height: 5rem;
}
.nav-links a {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }

/* Mobile toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--dark-bar-fg);
}
@media (min-width: 768px) { .nav-toggle { display: none; } }
.hamburger {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.is-open .hamburger:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .hamburger:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .hamburger:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-mobile {
  display: none;
  background: var(--dark-bar);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.nav-mobile.is-open { display: block; }
.nav-mobile ul {
  list-style: none;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.nav-mobile-link {
  display: block;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.nav-mobile-link:hover { opacity: 1; }


/* ==============================
   HERO
============================== */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 70vh;
}
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 7fr 5fr;
    min-height: 85vh;
  }
}

.hero-main, .hero-side-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.hero-main img, .hero-side-item img {
  width: 100%;
  height: 100%;
  min-height: 50vh;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.hero-main:hover img, .hero-side-item:hover img { transform: scale(1.02); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,20,20,0.8) 0%, rgba(20,20,20,0.2) 50%, transparent 100%);
}
.hero-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
}
@media (min-width: 768px) { .hero-caption { padding: 2.5rem 3.5rem; } }

.hero-title {
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.1;
  margin-block: 0.75rem;
  font-style: italic;
}
.hero-desc { color: rgba(247,244,240,0.7); font-size: 0.875rem; max-width: 32rem; font-weight: 300; line-height: 1.6; }

.hero-side { display: grid; grid-rows: 1fr 1fr; }
.hero-side-item { min-height: 25vh; }
.hero-side-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem 2rem;
}
.hero-side-caption h2 {
  font-size: clamp(1rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--cream);
  font-style: italic;
  line-height: 1.2;
}

/* ==============================
   EDITORIAL SECTION
============================== */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .editorial-grid { grid-template-columns: 7fr 5fr; gap: 2rem; }
}

.editorial-featured img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 0.7s; }
.editorial-featured:hover img { transform: scale(1.02); }
.editorial-featured-title {
  font-size: clamp(1.25rem, 2.5vw, 2.25rem);
  font-weight: 700;
  font-style: italic;
  margin-block: 0.75rem;
  line-height: 1.2;
}
.editorial-featured-title:hover { color: rgba(217,48,37,0.8); }
.editorial-featured-desc { color: var(--muted-fg); font-size: 0.875rem; line-height: 1.6; font-weight: 300; }

.editorial-sidebar { display: flex; flex-direction: column; divide-color: var(--border); }
.editorial-row {
  display: flex;
  gap: 1rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.editorial-row:first-child { padding-top: 0; }
.editorial-thumb { width: 7rem; height: 7rem; flex-shrink: 0; overflow: hidden; }
.editorial-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.editorial-row:hover .editorial-thumb img { transform: scale(1.05); }
.editorial-row h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.3;
  margin-top: 0.375rem;
}
.editorial-row h4 a { transition: color 0.2s; }
.editorial-row:hover h4 a { color: rgba(217,48,37,0.8); }

/* ==============================
   BRAND GRID
============================== */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .brand-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.brand-card { cursor: pointer; }
.brand-card .img-wrap img { aspect-ratio: 3/4; object-fit: cover; }
.brand-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  font-style: italic;
  margin-top: 0.75rem;
}
.brand-title a { transition: color 0.2s; }
.brand-card:hover .brand-title a { color: var(--primary); }
.brand-tags { display: flex; gap: 0.5rem; margin-top: 0.25rem; }
.brand-tags span { font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted-fg); }

/* ==============================
   NEWSLETTER CTA
============================== */
.newsletter-cta {
  background: var(--secondary);
  padding-block: 3rem;
}
.newsletter-inner { max-width: 1280px; margin-inline: auto;text-align: center; }
.newsletter-title { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; font-style: italic; margin-block: 0.5rem 0.75rem; }
.newsletter-desc { color: var(--muted-fg); font-size: 0.875rem; margin-bottom: 1.5rem; }
.newsletter-form { display: flex; gap: 0; max-width: 28rem; margin-inline: auto;}
.newsletter-form input {
  flex: 1;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  background: var(--card);
  outline: none;
  font-family: var(--font-body);
}
.newsletter-form input:focus { border-color: var(--primary); }
.newsletter-form button, .button {
  padding: 0.65rem 1.25rem;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: opacity 0.2s;
}
.newsletter-form button:hover { opacity: 0.85; }

/* ==============================
   FOOTER
============================== */
.footer {
  background: var(--dark-bar);
  color: var(--dark-bar-fg);
  padding-block: 2.5rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; } }

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.footer p { font-size: 0.875rem; opacity: 0.6; line-height: 1.6; font-weight: 300; max-width: 28rem; }
.footer-heading { font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600; opacity: 0.4; margin-bottom: 1rem; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer ul a { font-size: 0.875rem; opacity: 0.6; font-weight: 300; transition: opacity 0.2s; }
.footer ul a:hover { opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2rem; padding-block: 1.25rem; }
.footer-bottom p { font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; opacity: 0.3; }

/* ==============================
   POST PAGE
============================== */
.post-article { padding-block: 3rem 5rem; }
.post-container { max-width: 56rem; margin-inline: auto; }
.post-meta-top { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.post-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.post-dek { font-size: 1.125rem; color: var(--muted-fg); line-height: 1.6; margin-bottom: 1.25rem; font-weight: 300; }
.post-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.8125rem; color: var(--muted-fg); margin-bottom: 2rem; }
.post-hero-img { margin-bottom: 2.5rem; }
.post-hero-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.post-body { font-size: 1rem; line-height: 1.8; }
.post-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-block: 2.5rem 1rem; font-style: italic; }
.post-body h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); margin-block: 2rem 0.75rem; }
.post-body p { margin-bottom: 1.5rem; }
.post-body ul, .post-body ol { margin: 0 0 1.5rem 1.5rem; }
.post-body li { margin-bottom: 0.5rem; }
.post-body blockquote {
  border-left: 3px solid var(--primary);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--muted-fg);
}
.post-body img { margin-block: 2rem; aspect-ratio: 16/9; object-fit: cover; }
.post-body a { text-decoration: underline; color: var(--primary); }

/* ==============================
   DISCLAIMER
============================== */
.disclaimer-block {
  background: var(--secondary);
  border-left: 3px solid var(--primary);
  padding: 1rem 1.5rem;
  margin-block: 2rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--muted-fg);
}


/* ==============================
   POST NAV DUPLET
============================== */
.post-nav-duplet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 40vh;
}
@media (max-width: 639px) {
  .post-nav-duplet {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

.post-nav-card {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--foreground);
  cursor: pointer;
}
.post-nav-card--empty {
  background: var(--muted);
  cursor: default;
}

.post-nav-card-img {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 40vh;
}
.post-nav-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: transform 0.7s ease, opacity 0.4s ease;
  margin: 0;
}
.post-nav-card:hover .post-nav-card-img img {
  transform: scale(1.04);
  opacity: 0.65;
}

.post-nav-card-placeholder {
  width: 100%;
  min-height: 40vh;
  background: var(--muted);
}

.post-nav-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(14,14,14,0.85) 0%,
    rgba(14,14,14,0.3)  50%,
    rgba(14,14,14,0.05) 100%
  );
}

.post-nav-card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .post-nav-card-caption { padding: 2rem 2.5rem; }
}

.post-nav-dir {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: rgba(247,244,240,0.5);
}

/* second card flips the direction label right */
.post-nav-card:last-child .post-nav-card-caption {
  align-items: flex-end;
  text-align: right;
}

.post-nav-card-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 700;
  font-style: italic;
  color: var(--cream);
  line-height: 1.2;
  transition: color 0.2s;
}
.post-nav-card:hover .post-nav-card-title {
  color: #fff;
}

/* thin divider between the two cards */
.post-nav-duplet .post-nav-card:first-child {
  border-right: 1px solid rgba(255,255,255,0.08);
}


/* ==============================
   PAGE LAYOUT
============================== */
.page-container { max-width: 56rem; margin-inline: auto; padding-block: 3rem 5rem; }
.page-title { font-size: clamp(2rem, 4vw, 3rem); font-style: italic; margin-bottom: 2rem; }
.page-body { font-size: 1rem; line-height: 1.8; }
.page-body p { margin-bottom: 1.5rem; }
.page-body h2 { font-size: 1.5rem; margin-block: 2rem 0.75rem; font-style: italic; }

/* ==============================
   SEARCH BAR
============================== */
.searchbar-section {
  background: var(--cream);
  padding-block: 2rem 2.5rem;
}
.searchbar-inner {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}
.searchbar-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 600;
  color: var(--muted-fg);
  margin-bottom: 1rem;
}
.searchbar-wrap {
  position: relative;
}
.searchbar-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-fg);
  pointer-events: none;
}
.searchbar-input {
  width: 100%;
  background: var(--background);
  border: 1px solid var(--border);
  padding: 0.875rem 1rem 0.875rem 2.75rem;
  font-size: 0.875rem;
  font-weight: 300;
  font-family: var(--font-body);
  color: var(--foreground);
  outline: none;
  transition: box-shadow 0.2s;
}
.searchbar-input::placeholder { color: var(--muted-fg); }
.searchbar-input:focus { box-shadow: 0 0 0 1px rgba(20,20,20,0.2); }

.search-label {
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin-bottom: 2rem;
}
.search-label strong { color: var(--foreground); }

.cat-card-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--muted);
}


/* ==============================
   CATEGORY PAGE
============================== */
.cat-header {
  padding-block: 3rem 2rem;
  background: var(--secondary);
}
.cat-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.05;
  margin-bottom: 0.5rem;
}
.cat-subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 600;
  color: var(--muted-fg);
  margin-bottom: 1rem;
}
.cat-desc {
  font-size: 1rem;
  color: var(--muted-fg);
  max-width: 42rem;
  line-height: 1.7;
  font-weight: 300;
  margin-top: 0.75rem;
}

/* 4-col grid, matches screenshot */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

.cat-card { cursor: pointer; }
.cat-card-link { display: block; }

.cat-card-img {
  position: relative;
  overflow: hidden;
}
.cat-card-img img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.cat-card:hover .cat-card-img img { transform: scale(1.04); }

/* tag overlaid on image, bottom-left — matches screenshot */
.cat-card-tag {
  position: absolute;
  bottom: 0.875rem;
  left: 0.875rem;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(247,244,240,0.75);
}

.cat-card-body {
  padding-top: 0.875rem;
}
.cat-card-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.25;
  color: var(--foreground);
  transition: color 0.2s;
}
.cat-card:hover .cat-card-title { color: var(--primary); }

.cat-card-desc {
  font-size: 0.8125rem;
  color: var(--muted-fg);
  line-height: 1.5;
  margin-top: 0.375rem;
  font-weight: 300;
  /* clamp to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cat-card-date {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-fg);
  margin-top: 0.5rem;
}

.cat-empty {
  color: var(--muted-fg);
  font-size: 0.875rem;
  padding-block: 3rem;
  text-align: center;
}


/* ==============================
   POST — HERO
============================== */
.post-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--foreground);
}
@media (min-width: 768px) { .post-hero { min-height: 80vh; } }

.post-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}
.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(14,14,14,0.92) 0%,
    rgba(14,14,14,0.45) 55%,
    rgba(14,14,14,0.15) 100%
  );
}
.post-hero-caption {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 3rem;
  padding-top: 6rem;
}
.post-hero-meta-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.post-hero-pillar {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(247,244,240,0.55);
  font-weight: 500;
}
.post-hero-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.08;
  color: var(--cream);
  max-width: 52rem;
  margin-bottom: 1rem;
}
.post-hero-dek {
  font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
  color: rgba(247,244,240,0.7);
  max-width: 40rem;
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 1.25rem;
}

/* post-meta inside hero */
.post-hero-caption .post-meta {
  color: rgba(247,244,240,0.5);
}

/* ==============================
   POST — BODY + SIDEBAR LAYOUT
============================== */
.post-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-block: 3rem 4rem;
  max-width: 1280px;
  margin-inline: auto;
}
@media (min-width: 1024px) {
  .post-layout {
    grid-template-columns: minmax(0, 1fr) 18rem;
    gap: 4rem;
    padding-block: 4rem 5rem;
  }
}

/* ==============================
   POST — BODY
============================== */
.post-body-wrap { min-width: 0; }

.post-body { font-size: 1.0625rem; line-height: 1.85; color: var(--foreground); }

.post-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-style: italic;
  font-weight: 700;
  margin-block: 2.5rem 0.875rem;
  line-height: 1.15;
}
.post-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2vw, 1.625rem);
  font-style: italic;
  font-weight: 700;
  margin-block: 2rem 0.75rem;
}
.post-body p { margin-bottom: 1.625rem; }
.post-body ul,
.post-body ol { margin: 0 0 1.625rem 1.375rem; }
.post-body li { margin-bottom: 0.5rem; line-height: 1.7; }

.post-body blockquote {
  border-left: 3px solid var(--primary);
  margin: 2.5rem 0;
  padding: 1rem 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.1875rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--muted-fg);
  line-height: 1.5;
  background: var(--secondary);
}
.post-body blockquote cite {
  display: block;
  font-size: 0.8125rem;
  font-style: normal;
  font-family: var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.75rem;
  color: var(--muted-fg);
  opacity: 0.7;
}

.post-body img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-block: 2rem;
}
.post-body figure { margin-block: 2rem; }
.post-body figcaption {
  font-size: 0.8125rem;
  color: var(--muted-fg);
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}
.post-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-body strong { font-weight: 600; }
.post-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin-block: 2.5rem;
}

/* ==============================
   POST — SIDEBAR
============================== */
.post-sidebar { display: none; }
@media (min-width: 1024px) { .post-sidebar { display: block; } }

.sidebar-block { margin-bottom: 2.5rem; }
.sidebar-heading {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.sidebar-related { list-style: none; display: flex; flex-direction: column; gap: 0; }
.sidebar-related-item { border-bottom: 1px solid var(--border); }
.sidebar-related-link {
  display: flex;
  gap: 0.75rem;
  padding-block: 1rem;
  align-items: flex-start;
}
.sidebar-thumb {
  width: 4.5rem;
  height: 4.5rem;
  flex-shrink: 0;
  overflow: hidden;
}
.sidebar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.sidebar-related-link:hover .sidebar-thumb img { transform: scale(1.06); }
.sidebar-related-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0.25rem;
  color: var(--foreground);
  transition: color 0.2s;
}
.sidebar-related-link:hover .sidebar-related-title { color: var(--primary); }

.sidebar-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sidebar-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--border);
  color: var(--muted-fg);
  font-weight: 500;
}

/* ==============================
   POST — NAV (prev/next)
============================== */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem 3rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  max-width: 1280px;
  margin-inline: auto;
}
.post-nav a { opacity: 0.65; transition: opacity 0.2s; max-width: 45%; line-height: 1.4; }
.post-nav a:hover { opacity: 1; }
.post-nav-next { margin-left: auto; text-align: right; }


.nav-link-guia {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-guia-badge {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.15rem 0.4rem;
  background: var(--primary);
  color: var(--primary-fg);
  line-height: 1.4;
  vertical-align: middle;
}
.nav-mobile-link--guia {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==============================
   NEWSLETTER POPUP
============================== */
.nl-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14,14,14,0.55);
  z-index: 99;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nl-popup-backdrop.is-visible {
  opacity: 1;
}

.nl-popup {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(1.5rem);
  z-index: 100;
  width: calc(100% - 2.5rem);
  max-width: 28rem;
  background: var(--background);
  border-top: 3px solid var(--primary);
  box-shadow: 0 8px 40px rgba(14,14,14,0.18);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.nl-popup.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.nl-popup-inner {
  padding: 2rem;
  position: relative;
}

.nl-popup-close {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--muted-fg);
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s;
}
.nl-popup-close:hover { color: var(--foreground); }

.nl-popup-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-style: italic;
  font-weight: 700;
  margin-bottom: 0.625rem;
  line-height: 1.2;
}

.nl-popup-desc {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 1.25rem;
}

/* ==============================
   O ÍNDICE PAGE
============================== */
.indice-hero {
  background: var(--dark-bar);
  color: var(--dark-bar-fg);
  padding-block: 5rem 4rem;
}
.editorial-rule--light {
  background: rgba(247,244,240,0.3);
}
.indice-eyebrow {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}
.indice-title {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  color: var(--cream);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.indice-dek {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(247,244,240,0.6);
  max-width: 36rem;
  line-height: 1.6;
  font-weight: 300;
}

/* What section */
.indice-what {
  padding-block: 4rem 3rem;
  border-bottom: 1px solid var(--border);
}
.indice-what-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .indice-what-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}
.indice-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-style: italic;
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.indice-what p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted-fg);
  margin-bottom: 1rem;
}

/* Feature list */
.indice-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.indice-features li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.indice-feature-icon {
  color: var(--primary);
  font-size: 0.5rem;
  margin-top: 0.45rem;
  flex-shrink: 0;
}
.indice-features strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.indice-features p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.55;
  margin: 0;
}

/* Waitlist */
.indice-waitlist {
  padding-block: 4rem 5rem;
  background: var(--secondary);
}
.indice-waitlist-inner {
  max-width: 36rem;
}
.indice-waitlist-desc {
  font-size: 1rem;
  color: var(--muted-fg);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.indice-embed iframe {
  display: block;
  margin-inline: auto;
  width: 100%;
  max-width: 28rem;
}
.indice-waitlist-note {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-fg);
  margin-top: 0.875rem;
  opacity: 0.6;
}
