/*
Theme Name:  Bidaiatzen
Theme URI:   https://bidaiatzen.com
Author:      Ander Bilbao — @vidaiatzen
Description: Tema editorial de fotografía de viaje. Mobile-first. Cormorant Garamond + Inter. Cream/Navy/Gold.
Version:     1.0.0
License:     GNU General Public License v2 or later
Text Domain: bidaiatzen
Tags:        photography, travel, editorial, mobile-first
*/

/* ═══════════════════════════════════════════════════════════
   ÍNDICE
   0. Tokens & Variables
   1. Reset & Base (mobile-first: 375px base)
   2. Tipografía
   3. Layout Utilities
   4. Header & Nav (hamburger mobile)
   5. WanderPass Drawer + FAB
   6. Hero
   7. Buttons
   8. Post Cards
   9. Section Headers
   10. Stats Bar
   11. About Strip
   12. Single Post
   13. Related Posts
   14. Archive
   15. Portfolio (Dark Gallery + Leaflet Map + Carousel)
   16. Stock Photos
   17. WanderPass Page
   18. Footer
   19. 404
   20. WanderPass Teaser
   21. Photo Modal / Carousel
   22. Leaflet Map Overrides
   23. Pagination
   24. Accessibility & Print
═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   0. TOKENS & VARIABLES
═══════════════════════════════════════════════════════════ */
:root {
  --cream:        #F0EAD6;
  --cream-dark:   #E2D8C0;
  --navy:         #0C0A06;
  --navy-mid:     #1A1408;
  --navy-light:   #2A200A;
  --gold:         #D4A843;
  --gold-light:   #F0D898;
  --gold-dark:    #A07830;
  --charcoal:     #2A2018;
  --gray:         #7A7060;
  --gray-light:   #B0A898;
  --border:       #D8CEB8;

  --portfolio-bg:     #0C0A06;
  --portfolio-card:   #110E08;
  --portfolio-border: #1E1810;

  --wp-purple:      #381d92;
  --wp-purple-dark: #1a0d47;
  --wp-lavender:    #d4c5ff;

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width:    1200px;
  --max-article:  760px;

  --shadow-sm:  0 2px 8px rgba(12,10,6,.08);
  --shadow-md:  0 8px 32px rgba(12,10,6,.14);
  --shadow-lg:  0 20px 60px rgba(12,10,6,.22);
  --shadow-gold:0 8px 32px rgba(212,168,67,.28);

  --ease:       cubic-bezier(.25,.46,.45,.94);
  --t:          .3s var(--ease);

  /* Touch target minimum */
  --touch: 48px;
}

/* ═══════════════════════════════════════════════════════════
   1. RESET & BASE — mobile-first (375px base)
═══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}

body.drawer-open,
body.modal-open { overflow: hidden; }

img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* Touch targets — scoped to nav/button elements, not inline content links */
nav a, nav button, button, [role="button"],
.site-header a, .site-footer a, .wp-drawer a,
.mobile-nav-overlay a { min-height: var(--touch); display: inline-flex; align-items: center; }

/* Restore inline display for links inside post/article content */
.post-content a,
.prose a,
.entry-content a,
article a:not([class]),
.single-post .content-area a:not([class]) {
  display: inline;
  min-height: auto;
}

::selection { background: var(--gold); color: var(--navy); }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ═══════════════════════════════════════════════════════════
   2. TIPOGRAFÍA
═══════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--navy);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ═══════════════════════════════════════════════════════════
   3. LAYOUT UTILITIES — mobile-first grids
═══════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem; /* 375px */
}

@media (min-width: 600px) {
  .container { padding: 0 1.75rem; }
}
@media (min-width: 1024px) {
  .container { padding: 0 3rem; }
}

.section { padding: clamp(3rem, 8vw, 6rem) 0; }

/* Mobile-first grids: 1 col → 2 col → 3 col */
.grid-auto {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 600px) {
  .grid-auto { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
}
@media (min-width: 900px) {
  .grid-auto { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ═══════════════════════════════════════════════════════════
   4. HEADER & NAV — mobile hamburger first
═══════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(13,13,26,.0);
  transition: background var(--t), box-shadow var(--t), height var(--t);
}

@media (min-width: 768px) {
  .site-header { height: 72px; }
}

.site-header.scrolled {
  background: rgba(13,13,26,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}

.site-header.solid {
  background: var(--navy);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  gap: 1rem;
}

@media (min-width: 600px) {
  .header-inner { padding: 0 1.75rem; }
}
@media (min-width: 1024px) {
  .header-inner { padding: 0 3rem; }
}

.site-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
  min-height: auto;
  align-items: flex-start;
}
.site-logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  transition: transform .3s ease;
}
.site-logo-img:hover {
  transform: rotate(8deg) scale(1.05);
}
.site-logo .logo-main {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1;
}
.site-logo .logo-sub {
  font-size: .58rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 500;
}

/* Desktop nav — hidden on mobile */
.main-nav {
  display: none;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
@media (min-width: 768px) {
  .main-nav { display: flex; }
}

.main-nav a,
.main-nav button.nav-link {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(247,245,240,.75);
  transition: color var(--t);
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  min-height: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.main-nav a:hover,
.main-nav button.nav-link:hover { color: var(--gold); }

/* WanderPass pill */
.nav-wanderpass {
  padding: 8px 16px !important;
  border: 1px solid rgba(201,169,110,.35) !important;
  border-radius: 100px;
  color: var(--gold) !important;
  transition: background var(--t), border-color var(--t) !important;
  min-height: auto !important;
}
.nav-wanderpass:hover {
  background: rgba(201,169,110,.1) !important;
  border-color: var(--gold) !important;
}

/* Hamburger button */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  min-height: auto;
  z-index: 1001;
  position: relative;
}
@media (min-width: 768px) {
  .nav-hamburger { display: none; }
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 1px;
  transition: transform var(--t), opacity var(--t), background var(--t);
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay nav */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
}
.mobile-nav-overlay.open { transform: translateX(0); }

.mobile-nav-overlay a,
.mobile-nav-overlay button.nav-link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 600;
  color: rgba(247,245,240,.7);
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .6rem 2rem;
  border: none;
  background: none;
  transition: color var(--t);
  min-height: auto;
  display: block;
  text-align: center;
  width: 100%;
}
.mobile-nav-overlay a:hover,
.mobile-nav-overlay button.nav-link:hover { color: var(--gold); }

.mobile-nav-overlay .mobile-nav-footer {
  position: absolute;
  bottom: 2.5rem;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.mobile-nav-overlay .mobile-nav-footer a {
  font-family: var(--font-body);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(247,245,240,.35);
  padding: 0;
  min-height: auto;
}
.mobile-nav-overlay .mobile-nav-footer a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   5. WANDERPASS DRAWER + FAB
═══════════════════════════════════════════════════════════ */
.wp-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t), visibility 0s var(--t);
}
.wp-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transition: opacity var(--t), visibility 0s 0s;
}

.wp-drawer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: var(--navy);
  z-index: 1001;
  transform: translateY(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .4s var(--ease), visibility 0s .4s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@media (min-width: 480px) {
  .wp-drawer { width: min(440px, 100vw); }
}

.wp-drawer.active {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform .4s var(--ease), visibility 0s 0s;
}

.wp-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
  min-height: 64px;
}
.wp-drawer-header .drawer-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--cream);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: auto;
}

.wp-drawer-close {
  width: 40px;
  height: 40px;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  border: none;
  border-radius: 50%;
  color: var(--cream);
  font-size: 1.1rem;
  transition: background var(--t);
  flex-shrink: 0;
}
.wp-drawer-close:hover { background: rgba(255,255,255,.15); }

.wp-drawer-destinations {
  display: flex;
  gap: 6px;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.wp-drawer-destinations::-webkit-scrollbar { display: none; }

.dest-tab {
  flex-shrink: 0;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .05em;
  border: 1px solid rgba(255,255,255,.15);
  background: transparent;
  color: rgba(247,245,240,.55);
  transition: all var(--t);
  font-family: var(--font-body);
}
.dest-tab.active,
.dest-tab:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.wp-drawer-iframe-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.wp-drawer-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.wp-drawer-footer {
  padding: 10px 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  min-height: 48px;
}
.wp-drawer-footer a {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: auto;
  transition: opacity var(--t);
}
.wp-drawer-footer a:hover { opacity: .7; }

/* FAB — mobile-first */
.wanderpass-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 990;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wp-purple-dark), var(--wp-purple));
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 28px rgba(56,29,146,.45), 0 2px 8px rgba(0,0,0,.2);
  transition: transform var(--t), box-shadow var(--t);
  cursor: pointer;
  min-height: auto;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 768px) {
  .wanderpass-fab {
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }
}

.wanderpass-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 36px rgba(56,29,146,.55), 0 4px 12px rgba(0,0,0,.2);
}

.wanderpass-fab .fab-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  background: var(--navy);
  color: var(--cream);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .06em;
  padding: 6px 12px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity var(--t), transform var(--t);
  display: none; /* hide on mobile */
}
@media (min-width: 768px) {
  .wanderpass-fab .fab-tooltip { display: block; }
  .wanderpass-fab:hover .fab-tooltip { opacity: 1; transform: translateX(0); }
}

/* ═══════════════════════════════════════════════════════════
   6. HERO
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  max-height: 900px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy) center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,13,26,.2) 0%,
    rgba(13,13,26,.0) 25%,
    rgba(13,13,26,.5) 65%,
    rgba(13,13,26,.92) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 10vw, 6.5rem);
  font-weight: 600;
  color: var(--cream);
  line-height: .95;
  letter-spacing: -.03em;
  text-align: center;
}
@media (min-width: 768px) {
  .hero-title { text-align: left; }
}

.hero-title em { font-style: italic; color: var(--gold); }

.hero-subtitle {
  font-size: clamp(.95rem, 2.5vw, 1.15rem);
  color: rgba(247,245,240,.72);
  max-width: 520px;
  line-height: 1.6;
  text-align: center;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .hero-subtitle { text-align: left; margin: 0; }
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
@media (min-width: 768px) {
  .hero-meta { justify-content: flex-start; }
}

.hero-meta .meta-item {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: auto;
}

.hero-ctas {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: .5rem;
}
@media (min-width: 768px) {
  .hero-ctas { justify-content: flex-start; }
}

.hero-content .container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(247,245,240,.35);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  z-index: 3;
  min-height: auto;
}
.hero-scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(247,245,240,.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .4; transform: scaleY(1); }
  50% { opacity: .8; transform: scaleY(.65); }
}

/* Post hero */
.post-hero {
  position: relative;
  height: 65vw;
  min-height: 300px;
  max-height: 680px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
@media (min-width: 768px) {
  .post-hero { height: 70vh; }
}

.post-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy) center/cover no-repeat;
}
.post-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 15%, rgba(13,13,26,.92) 100%);
}
.post-hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 0;
  width: 100%;
}
@media (min-width: 768px) {
  .post-hero-content { padding: 3.5rem 0; }
}

/* ═══════════════════════════════════════════════════════════
   7. BUTTONS
═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  min-height: var(--touch);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: none;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { background: var(--gold-dark); }

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(247,245,240,.3);
}
.btn-outline:hover { background: rgba(247,245,240,.08); border-color: rgba(247,245,240,.6); }

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(13,13,26,.25);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--cream); }

.btn-sm { padding: 10px 18px; font-size: .68rem; min-height: 40px; }
.btn-lg { padding: 18px 36px; font-size: .8rem; }

/* ═══════════════════════════════════════════════════════════
   8. POST CARDS — mobile-first
═══════════════════════════════════════════════════════════ */
.post-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
  text-decoration: none;
  color: inherit;
  min-height: auto;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.post-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--cream-dark);
}
.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
  display: block;
}
.post-card:hover .post-card-image img { transform: scale(1.04); }

.post-card-image .card-cat {
  position: absolute;
  top: .85rem;
  left: .85rem;
  background: var(--gold);
  color: var(--navy);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  min-height: auto;
}

.post-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  flex: 1;
}
@media (min-width: 600px) {
  .post-card-body { padding: 1.5rem; }
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .7rem;
  color: var(--gray-light);
  letter-spacing: .04em;
  flex-wrap: wrap;
  min-height: auto;
}

.post-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  transition: color var(--t);
  min-height: auto;
}
.post-card:hover .post-card-title { color: var(--gold-dark); }

.post-card-excerpt {
  font-size: .88rem;
  color: var(--gray);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-footer {
  padding: .85rem 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .7rem;
  color: var(--gray-light);
  min-height: auto;
}
@media (min-width: 600px) {
  .post-card-footer { padding: .85rem 1.5rem; }
}
.post-card-footer .read-more {
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: .04em;
  min-height: auto;
}

/* Featured post — stacked on mobile, side-by-side on tablet */
.post-card-featured {
  display: grid;
  grid-template-columns: 1fr;
  background: white;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--t), box-shadow var(--t);
  text-decoration: none;
  color: inherit;
}
@media (min-width: 600px) {
  .post-card-featured { grid-template-columns: 1fr 1fr; }
}
.post-card-featured:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card-featured .post-card-image { aspect-ratio: 4/3; }
@media (min-width: 600px) {
  .post-card-featured .post-card-image { aspect-ratio: auto; }
  .post-card-featured .post-card-body { padding: 2.5rem; justify-content: center; }
}
.post-card-featured .post-card-title { font-size: clamp(1.3rem, 3vw, 1.85rem); }

/* ═══════════════════════════════════════════════════════════
   9. SECTION HEADERS
═══════════════════════════════════════════════════════════ */
.section-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 600px) {
  .section-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 1.5rem;
  }
}

.section-header-left { display: flex; flex-direction: column; gap: 6px; }

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.05;
}
.section-header p {
  font-size: .95rem;
  color: var(--gray);
  max-width: 440px;
}

/* ═══════════════════════════════════════════════════════════
   10. STATS BAR
═══════════════════════════════════════════════════════════ */
.stats-bar { background: var(--navy); padding: 3rem 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (min-width: 600px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (min-width: 600px) {
  .stat-item { padding: 0 2rem; border-bottom: none; }
  .stat-item:last-child { border-right: none; }
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .3rem;
}
.stat-label {
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(247,245,240,.45);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   11. ABOUT STRIP
═══════════════════════════════════════════════════════════ */
.about-strip { background: var(--cream-dark); padding: clamp(3rem, 8vw, 6rem) 0; }

.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .about-inner { grid-template-columns: 320px 1fr; gap: 4rem; }
}
@media (min-width: 1024px) {
  .about-inner { grid-template-columns: 380px 1fr; gap: 6rem; }
}

.about-photo {
  position: relative;
  max-width: 280px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .about-photo { max-width: none; margin: 0; }
}

.about-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.about-photo::before {
  content: '';
  position: absolute;
  inset: -10px -10px 10px 10px;
  border: 1px solid var(--gold);
  z-index: -1;
  opacity: .35;
}
@media (min-width: 768px) {
  .about-photo::before { inset: -14px -14px 14px 14px; }
}

.about-text { display: flex; flex-direction: column; gap: 1.25rem; }

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.1;
}
.about-text h2 em { font-style: italic; color: var(--gold-dark); }

.about-text p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.75;
  max-width: 500px;
}
.about-text .about-handle {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--gold-dark);
  min-height: auto;
}

/* ═══════════════════════════════════════════════════════════
   12. SINGLE POST
═══════════════════════════════════════════════════════════ */
.single-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1060px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}
@media (min-width: 768px) {
  .single-layout { padding: 3.5rem 1.75rem; }
}
@media (min-width: 1024px) {
  .single-layout {
    grid-template-columns: 1fr 270px;
    gap: 4rem;
    padding: 4rem 3rem;
    align-items: start;
  }
}

.post-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.post-meta-item { display: flex; flex-direction: column; gap: 2px; }
.post-meta-item .meta-key {
  font-size: .62rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gray-light);
  font-weight: 600;
}
.post-meta-item .meta-val { font-size: .88rem; color: var(--charcoal); font-weight: 500; }

/* Article typography */
.post-content {
  font-family: var(--font-body);
  font-size: clamp(.95rem, 2vw, 1.05rem);
  line-height: 1.8;
  color: var(--charcoal);
}
.post-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  margin: 2.5rem 0 .9rem;
  color: var(--navy);
}
.post-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  margin: 1.75rem 0 .65rem;
  color: var(--navy);
}
.post-content p { margin-bottom: 1.5rem; }
.post-content p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.8em;
  font-weight: 700;
  float: left;
  line-height: .78;
  margin: .08em .1em 0 0;
  color: var(--gold-dark);
}
.post-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 0 1rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.4;
}
@media (min-width: 600px) {
  .post-content blockquote { padding-left: 2rem; }
}
.post-content img {
  width: 100%;
  height: auto;
  margin: 2rem 0;
  display: block;
  object-fit: cover;
}
.post-content a { color: var(--gold-dark); border-bottom: 1px solid rgba(160,120,64,.3); transition: border-color var(--t); }
.post-content a:hover { border-color: var(--gold-dark); }
.post-content ul, .post-content ol { margin: 1rem 0 1.5rem 1.5rem; display: block; }
.post-content li { margin-bottom: .5rem; list-style: disc; min-height: auto; }

/* Sticky sidebar */
.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .post-sidebar { position: sticky; top: 90px; }
}

.sidebar-card {
  background: white;
  border-radius: 2px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-card > h3 {
  font-family: var(--font-body);
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gray-light);
  font-weight: 600;
  margin-bottom: .85rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--border);
  min-height: auto;
}

/* TOC */
.toc-list { display: flex; flex-direction: column; gap: 2px; }
.toc-list li a {
  font-size: .82rem;
  color: var(--gray);
  padding: 4px 0 4px 10px;
  display: block;
  border-left: 2px solid transparent;
  transition: all var(--t);
  line-height: 1.4;
  min-height: auto;
}
.toc-list li a:hover,
.toc-list li a.toc-active {
  color: var(--navy);
  border-left-color: var(--gold);
  padding-left: 14px;
}
.toc-list li.toc-h3 a { font-size: .78rem; padding-left: 20px; }
.toc-list li.toc-h3 a.toc-active { padding-left: 24px; }

/* WanderPass sidebar card */
.sidebar-wanderpass {
  background: linear-gradient(135deg, var(--wp-purple-dark), var(--wp-purple));
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.sidebar-wanderpass .swp-globe { font-size: 2.2rem; margin-bottom: .4rem; }
.sidebar-wanderpass h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: white;
  font-weight: 600;
  margin-bottom: .35rem;
  border: none;
  padding: 0;
  letter-spacing: 0;
  text-transform: none;
  min-height: auto;
}
.sidebar-wanderpass p {
  font-size: .78rem;
  color: var(--wp-lavender);
  line-height: 1.5;
  margin-bottom: .85rem;
}
.sidebar-wanderpass .btn-wp {
  display: block;
  padding: 10px;
  min-height: 40px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 2px;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  color: white;
  transition: background var(--t);
  cursor: pointer;
  width: 100%;
  font-family: var(--font-body);
}
.sidebar-wanderpass .btn-wp:hover { background: rgba(255,255,255,.18); }

/* ═══════════════════════════════════════════════════════════
   13. RELATED POSTS
═══════════════════════════════════════════════════════════ */
.related-posts {
  background: var(--cream-dark);
  padding: clamp(3rem, 7vw, 5rem) 0;
  border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════════
   14. ARCHIVE
═══════════════════════════════════════════════════════════ */
.archive-hero {
  background: var(--navy);
  padding: clamp(7rem, 14vw, 10rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.archive-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 5rem);
  color: var(--cream);
  margin-bottom: .65rem;
}
.archive-hero p { color: rgba(247,245,240,.55); font-size: .95rem; }

.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.filter-bar::-webkit-scrollbar { display: none; }

.filter-btn {
  flex-shrink: 0;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 100px;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .08em;
  border: 1px solid var(--border);
  background: white;
  color: var(--gray);
  transition: all var(--t);
  font-family: var(--font-body);
  -webkit-tap-highlight-color: transparent;
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--cream); }

/* Mobile: 1 col; tablet: 2; desktop: 3 */
.posts-masonry {
  columns: 1;
  column-gap: 1.5rem;
}
@media (min-width: 600px) {
  .posts-masonry { columns: 2; }
}
@media (min-width: 900px) {
  .posts-masonry { columns: 3; column-gap: 1.75rem; }
}

.posts-masonry .post-card {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  display: block;
}
@media (min-width: 900px) {
  .posts-masonry .post-card { margin-bottom: 1.75rem; }
}

/* ═══════════════════════════════════════════════════════════
   15. PORTFOLIO — Dark Gallery + Map
═══════════════════════════════════════════════════════════ */
.portfolio-page { background: var(--portfolio-bg); min-height: 100vh; color: var(--cream); }

.portfolio-hero {
  background: var(--portfolio-bg);
  padding: clamp(6rem, 14vw, 11rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--portfolio-border);
  text-align: center;
}
@media (min-width: 768px) {
  .portfolio-hero { text-align: left; }
}
.portfolio-hero .eyebrow { margin-bottom: .75rem; display: block; }
.portfolio-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 6rem);
  color: var(--cream);
  line-height: .93;
  margin-bottom: 1.1rem;
  letter-spacing: -.03em;
}
.portfolio-hero h1 em { font-style: italic; color: var(--gold); }
.portfolio-hero p {
  color: rgba(247,245,240,.4);
  font-size: clamp(.88rem, 2vw, 1rem);
  max-width: 460px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .portfolio-hero p { margin: 0; }
}

/* Sticky filters */
.portfolio-filters {
  display: flex;
  gap: 6px;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--portfolio-border);
  position: sticky;
  top: 64px;
  background: rgba(10,10,10,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 50;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) {
  .portfolio-filters { top: 72px; flex-wrap: wrap; }
}
.portfolio-filters::-webkit-scrollbar { display: none; }

.pf-btn {
  flex-shrink: 0;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 100px;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid var(--portfolio-border);
  background: transparent;
  color: rgba(247,245,240,.38);
  transition: all var(--t);
  font-family: var(--font-body);
  -webkit-tap-highlight-color: transparent;
}
.pf-btn:hover { border-color: rgba(201,169,110,.4); color: var(--gold-light); }
.pf-btn.active { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* Masonry gallery — 1 col mobile, 2 tablet, 3 desktop */
.portfolio-grid {
  columns: 1;
  column-gap: 2px;
  padding: 2px;
}
@media (min-width: 540px) {
  .portfolio-grid { columns: 2; }
}
@media (min-width: 900px) {
  .portfolio-grid { columns: 3; }
}

.portfolio-item {
  break-inside: avoid;
  margin-bottom: 2px;
  position: relative;
  overflow: hidden;
  display: block;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .55s var(--ease), filter .5s;
  filter: brightness(.88) contrast(1.04) saturate(.92);
}
.portfolio-item:hover img {
  transform: scale(1.04);
  filter: brightness(.6) contrast(1.1) saturate(1.1);
}

.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.portfolio-item:hover .portfolio-item-overlay { opacity: 1; }
/* On mobile, show overlay on tap */
.portfolio-item.tapped .portfolio-item-overlay { opacity: 1; }

.portfolio-item-name {
  font-family: var(--font-display);
  font-size: clamp(.95rem, 2.5vw, 1.3rem);
  color: white;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 3px;
  min-height: auto;
}
.portfolio-item-meta {
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 500;
  min-height: auto;
}

.portfolio-item-arrow {
  position: absolute;
  top: .85rem;
  right: .85rem;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .68rem;
  color: white;
  opacity: 0;
  transform: translateY(4px);
  transition: all .3s var(--ease);
  min-height: auto;
}
.portfolio-item:hover .portfolio-item-arrow,
.portfolio-item.tapped .portfolio-item-arrow { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════
   15b. LEAFLET MAP
═══════════════════════════════════════════════════════════ */
.map-section {
  background: var(--portfolio-bg);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  border-top: 1px solid var(--portfolio-border);
  border-bottom: 1px solid var(--portfolio-border);
}
.map-section .section-header h2 { color: var(--cream); }
.map-section .section-header p { color: rgba(247,245,240,.4); }

#map-world {
  width: 100%;
  height: 320px;
  border-radius: 2px;
  overflow: hidden;
  background: #111;
}
@media (min-width: 600px) { #map-world { height: 420px; } }
@media (min-width: 1024px) { #map-world { height: 520px; } }

/* Custom Leaflet marker */
.map-pin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid rgba(201,169,110,.4);
  box-shadow: 0 0 0 0 rgba(201,169,110,.6);
  animation: mapPulse 2.4s ease-out infinite;
  cursor: pointer;
}
@keyframes mapPulse {
  0%   { box-shadow: 0 0 0 0 rgba(201,169,110,.6); }
  70%  { box-shadow: 0 0 0 12px rgba(201,169,110,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,169,110,0); }
}

/* Leaflet popup overrides */
.leaflet-popup-content-wrapper {
  background: var(--navy-mid) !important;
  border: 1px solid rgba(201,169,110,.2) !important;
  border-radius: 2px !important;
  box-shadow: var(--shadow-lg) !important;
  color: var(--cream) !important;
}
.leaflet-popup-tip { background: var(--navy-mid) !important; }
.leaflet-popup-close-button { color: var(--gold) !important; font-size: 16px !important; top: 6px !important; right: 8px !important; }

.map-popup-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 160px;
}
.map-popup-inner img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 1px;
  display: block;
}
.map-popup-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
}
.map-popup-meta {
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}
.map-popup-cta {
  display: inline-block;
  margin-top: 4px;
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  border-bottom: 1px solid rgba(201,169,110,.3);
  padding-bottom: 1px;
  transition: color var(--t);
  min-height: auto;
}
.map-popup-cta:hover { color: var(--gold-light); }

/* ═══════════════════════════════════════════════════════════
   15c. PHOTO CAROUSEL MODAL
═══════════════════════════════════════════════════════════ */
.photo-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.96);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.photo-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.photo-modal {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.photo-modal-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: linear-gradient(to bottom, rgba(0,0,0,.7) 0%, transparent 100%);
}
@media (min-width: 768px) {
  .photo-modal-header { padding: 1.5rem 2rem; }
}

.photo-modal-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.photo-modal-title .dest-name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: white;
  font-weight: 600;
  line-height: 1;
  min-height: auto;
}
.photo-modal-title .dest-meta {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

.photo-modal-close {
  width: 44px;
  height: 44px;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  color: white;
  font-size: 1.1rem;
  transition: background var(--t);
  flex-shrink: 0;
}
.photo-modal-close:hover { background: rgba(255,255,255,.2); }

/* Carousel track */
.photo-carousel {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform .4s var(--ease);
  will-change: transform;
}

.carousel-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 1rem 80px;
}
@media (min-width: 768px) {
  .carousel-slide { padding: 80px 5rem; }
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Nav arrows */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  min-height: auto;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  transition: background var(--t);
  z-index: 10;
  -webkit-tap-highlight-color: transparent;
}
.carousel-btn:hover { background: rgba(255,255,255,.2); }
.carousel-btn-prev { left: .75rem; }
.carousel-btn-next { right: .75rem; }
@media (min-width: 768px) {
  .carousel-btn { width: 52px; height: 52px; }
  .carousel-btn-prev { left: 1.5rem; }
  .carousel-btn-next { right: 1.5rem; }
}

/* Counter */
.carousel-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,.55);
  color: rgba(255,255,255,.7);
  font-size: .7rem;
  letter-spacing: .1em;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.1);
  white-space: nowrap;
  z-index: 10;
  min-height: auto;
}

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 10;
  min-height: auto;
}
.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  transition: background var(--t), transform var(--t);
  min-height: auto;
}
.carousel-dot.active { background: var(--gold); transform: scale(1.3); }

/* ═══════════════════════════════════════════════════════════
   16. STOCK PHOTOS SECTION
═══════════════════════════════════════════════════════════ */
.stock-photos-section {
  background: #0f0f0f;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  border-top: 1px solid var(--portfolio-border);
}

.stock-intro {
  text-align: center;
  margin-bottom: 3rem;
}
.stock-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--cream);
  margin-bottom: .75rem;
}
.stock-intro h2 em { font-style: italic; color: var(--gold); }
.stock-intro p {
  color: rgba(247,245,240,.4);
  font-size: .95rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

.stock-platforms {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--portfolio-border);
  border: 1px solid var(--portfolio-border);
  margin-bottom: 2.5rem;
}
@media (min-width: 600px) {
  .stock-platforms { grid-template-columns: repeat(3, 1fr); }
}

.stock-platform {
  background: var(--portfolio-card);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  text-align: center;
  text-decoration: none;
  transition: background var(--t);
  min-height: auto;
  -webkit-tap-highlight-color: transparent;
}
.stock-platform:hover { background: #181818; }
.stock-platform .platform-icon { font-size: 2.2rem; }
.stock-platform .platform-name {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream);
}
.stock-platform .platform-desc {
  font-size: .78rem;
  color: rgba(247,245,240,.35);
  line-height: 1.5;
}
.stock-platform .platform-cta {
  margin-top: .25rem;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: auto;
}

.stock-preview-grid {
  columns: 2;
  column-gap: 2px;
  margin-bottom: 2rem;
}
@media (min-width: 600px) {
  .stock-preview-grid { columns: 3; }
}
@media (min-width: 900px) {
  .stock-preview-grid { columns: 4; }
}

.stock-preview-item {
  break-inside: avoid;
  margin-bottom: 2px;
  position: relative;
  overflow: hidden;
}
.stock-preview-item img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(.85) saturate(.8);
  transition: filter .4s;
}
.stock-preview-item:hover img {
  filter: brightness(1) saturate(1);
}

.stock-cta-bar {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 600px) {
  .stock-cta-bar { flex-direction: row; justify-content: center; }
}
.stock-cta-bar p {
  font-size: .85rem;
  color: rgba(247,245,240,.35);
}

/* ═══════════════════════════════════════════════════════════
   17. WANDERPASS PAGE (embedded)
═══════════════════════════════════════════════════════════ */
.wp-embed-page { background: var(--navy); min-height: 100vh; }

.wp-embed-hero {
  background: linear-gradient(160deg, var(--wp-purple-dark) 0%, var(--wp-purple) 60%, #4c1d95 100%);
  padding: clamp(6rem, 14vw, 11rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
  text-align: center;
}
@media (min-width: 768px) {
  .wp-embed-hero { text-align: left; }
}
.wp-embed-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(212,197,255,.12) 0%, transparent 65%);
}
.wp-embed-hero .container { position: relative; }
.wp-embed-hero .eyebrow { margin-bottom: .85rem; display: block; color: var(--wp-lavender); }
.wp-embed-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 5rem);
  color: white;
  line-height: .98;
  margin-bottom: .9rem;
  letter-spacing: -.03em;
}
.wp-embed-hero p { color: var(--wp-lavender); font-size: clamp(.88rem, 2vw, 1rem); max-width: 460px; margin: 0 auto; }
@media (min-width: 768px) { .wp-embed-hero p { margin: 0; } }

.wp-dest-switcher {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  justify-content: center;
}
@media (min-width: 768px) { .wp-dest-switcher { justify-content: flex-start; } }

.wp-dest-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.65);
  transition: all var(--t);
  font-family: var(--font-body);
  backdrop-filter: blur(4px);
  -webkit-tap-highlight-color: transparent;
}
.wp-dest-btn:hover { border-color: rgba(255,255,255,.5); color: white; }
.wp-dest-btn.active { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); color: white; }

.wp-features {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
@media (min-width: 600px) {
  .wp-features { grid-template-columns: repeat(3, 1fr); }
}

.wp-feature {
  padding: 2rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
@media (min-width: 600px) {
  .wp-feature {
    border-bottom: none;
    border-right: 1px solid rgba(255,255,255,.06);
    padding: 2.5rem;
  }
  .wp-feature:last-child { border-right: none; }
}

.wp-feature .feat-icon { font-size: 1.75rem; }
.wp-feature h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cream);
  font-weight: 600;
  min-height: auto;
}
.wp-feature p { font-size: .82rem; color: rgba(247,245,240,.4); line-height: 1.6; }

.wp-iframe-container {
  width: 100%;
  height: calc(100svh - 64px);
  min-height: 500px;
  position: relative;
}
@media (min-width: 768px) {
  .wp-iframe-container { height: calc(100vh - 72px); }
}
.wp-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ═══════════════════════════════════════════════════════════
   18. FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.05);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
@media (min-width: 600px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
@media (min-width: 900px) {
  .footer-main { grid-template-columns: 1.6fr 1fr 1fr; gap: 4rem; }
}

.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: .35rem;
  min-height: auto;
}
.footer-brand .footer-tagline {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  display: block;
}
.footer-brand p {
  font-size: .85rem;
  color: rgba(247,245,240,.35);
  line-height: 1.7;
  max-width: 270px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(247,245,240,.28);
  font-weight: 600;
  margin-bottom: 1.1rem;
  min-height: auto;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: .85rem;
  color: rgba(247,245,240,.48);
  transition: color var(--t);
  letter-spacing: .02em;
  min-height: auto;
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  text-align: center;
}
@media (min-width: 600px) {
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }
}
.footer-bottom p, .footer-bottom a {
  font-size: .75rem;
  color: rgba(247,245,240,.22);
  letter-spacing: .04em;
  min-height: auto;
}
.footer-bottom a { transition: color var(--t); }
.footer-bottom a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   19. 404
═══════════════════════════════════════════════════════════ */
.error-404-page {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem;
}
.error-404-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 480px;
}
.error-404-number {
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 14rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 2px rgba(201,169,110,.25);
  letter-spacing: -.05em;
  line-height: .85;
}
.error-404-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.5vw, 2.8rem);
  color: var(--cream);
  font-weight: 600;
}
.error-404-inner p {
  font-size: .92rem;
  color: rgba(247,245,240,.38);
  line-height: 1.7;
}
.error-404-destinations {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: .75rem;
}
.error-404-destinations a {
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid rgba(201,169,110,.22);
  border-radius: 100px;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(247,245,240,.42);
  transition: all var(--t);
}
.error-404-destinations a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ═══════════════════════════════════════════════════════════
   20. WanderPass TEASER
═══════════════════════════════════════════════════════════ */
.wanderpass-teaser {
  background: linear-gradient(135deg, var(--wp-purple-dark) 0%, var(--wp-purple) 100%);
  border-radius: 2px;
  padding: 2rem 1.5rem;
  margin: 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 600px) {
  .wanderpass-teaser {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 2.5rem 2rem;
  }
}
.wp-teaser-text { display: flex; flex-direction: column; gap: .65rem; }
.wp-teaser-text .eyebrow { color: var(--wp-lavender); }
.wp-teaser-text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.5vw, 1.85rem);
  color: white;
  font-weight: 600;
  min-height: auto;
}
.wp-teaser-text p { font-size: .88rem; color: var(--wp-lavender); line-height: 1.6; }
.wp-teaser-globe { font-size: 3.5rem; opacity: .75; display: none; }
@media (min-width: 600px) { .wp-teaser-globe { display: block; } }

/* ═══════════════════════════════════════════════════════════
   21. PAGINATION
═══════════════════════════════════════════════════════════ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 2.5rem 0;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  min-width: 40px;
  height: 40px;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--gray);
  transition: all var(--t);
  padding: 0 8px;
}
.pagination a:hover { border-color: var(--navy); color: var(--navy); }
.pagination .current { background: var(--navy); border-color: var(--navy); color: white; }

/* ═══════════════════════════════════════════════════════════
   22. ACCESSIBILITY & PRINT
═══════════════════════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 16px;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 3px 3px;
  min-height: auto;
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .site-header, .wanderpass-fab, .wp-drawer,
  .wp-drawer-overlay, .post-sidebar, .photo-modal-overlay,
  .mobile-nav-overlay { display: none !important; }
  body { background: white; color: black; }
  .post-content p:first-of-type::first-letter { font-size: 2.5em; }
}

/* ═══════════════════════════════════════════════════════════
   25. EDITORIAL POLAROID AESTHETIC — by @vidaiatzen
   Palette: cream #F5F0E6 · ink #1A1814 · gold-yellow #F0C830 · sky-blue #A8C8E0
═══════════════════════════════════════════════════════════ */

:root {
  --polar-bg:       #F5F0E6;
  --polar-card:     #FFFDF7;
  --polar-ink:      #1A1814;
  --polar-yellow:   #F0C830;
  --polar-yellow2:  #E8B820;
  --polar-sky:      #A8C8E0;
  --polar-gray:     #8C887E;
  --font-script:    'Dancing Script', cursive;
}

/* ── Post hero: full-bleed with yellow badge ── */
.post-hero-editorial {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--navy);
}
.post-hero-editorial .phe-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  transition: transform 8s ease;
}
.post-hero-editorial:hover .phe-bg { transform: scale(1.03); }
.post-hero-editorial .phe-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,24,20,.08) 0%,
    rgba(26,24,20,.0) 25%,
    rgba(26,24,20,.55) 65%,
    rgba(26,24,20,.97) 100%
  );
}
/* Grain texture */
.post-hero-editorial::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .025;
  pointer-events: none;
}
.phe-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1.25rem,5vw,4rem) clamp(3rem,7vw,5rem);
  max-width: 900px;
}
/* Yellow pill badge — "Through the lens · Tanzania" */
.phe-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--polar-yellow);
  color: var(--polar-ink);
  padding: 6px 18px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(.75rem,1.5vw,.9rem);
  letter-spacing: .04em;
  margin-bottom: 1.1rem;
  font-weight: 500;
}
.phe-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem,8vw,7rem);
  font-weight: 600;
  line-height: .93;
  letter-spacing: -.03em;
  color: #FFFDF7;
  margin: 0 0 1.25rem;
}
.phe-title em { font-style: italic; color: var(--polar-yellow); }
.phe-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,253,247,.5);
}
.phe-meta-sep { color: rgba(240,200,48,.3); }

/* Scroll indicator */
.phe-scroll {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.phe-scroll span {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,253,247,.3);
  writing-mode: vertical-rl;
}
.phe-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(240,200,48,.5), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .4; transform: scaleY(.7); transform-origin: top; }
  50%      { opacity: 1;  transform: scaleY(1); }
}

/* ── Yellow geometric decorators ── */
.deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.deco-circle {
  border-radius: 50%;
  border: 2.5px solid var(--polar-yellow);
  background: transparent;
}
.deco-arc {
  border-radius: 50%;
  border: 2.5px solid var(--polar-yellow);
  background: transparent;
  clip-path: polygon(50% 0%, 100% 0%, 100% 50%, 50% 50%);
}
.deco-line {
  height: 2.5px;
  background: var(--polar-yellow);
  border-radius: 2px;
  transform-origin: left center;
}
.deco-dash {
  width: 32px;
  height: 3px;
  background: var(--polar-yellow);
  border-radius: 2px;
}

/* ── Polaroid card ── */
.polaroid-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin: 3rem 0;
}
@media(min-width:600px) { .polaroid-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width:900px) { .polaroid-grid { grid-template-columns: repeat(3,1fr); gap: 2.5rem; } }

.polaroid-card {
  background: var(--polar-card);
  padding: 14px 14px 52px;
  box-shadow:
    0 2px 8px rgba(26,24,20,.08),
    0 8px 32px rgba(26,24,20,.1),
    inset 0 1px 0 rgba(255,255,255,.8);
  position: relative;
  transform: rotate(-1.2deg);
  transition: transform .35s cubic-bezier(.25,.46,.45,.94), box-shadow .35s;
  cursor: default;
}
.polaroid-card:nth-child(even) { transform: rotate(1.4deg); }
.polaroid-card:nth-child(3n)   { transform: rotate(-.6deg); }
.polaroid-card:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.02) !important;
  box-shadow:
    0 4px 16px rgba(26,24,20,.1),
    0 20px 48px rgba(26,24,20,.14);
  z-index: 10;
}
.polaroid-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  filter: contrast(1.04) saturate(.92);
  transition: filter .4s;
}
.polaroid-card:hover .polaroid-img { filter: contrast(1.06) saturate(1); }
.polaroid-caption {
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  padding: 8px 0 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.polaroid-script {
  font-family: var(--font-script);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--polar-ink);
  line-height: 1.2;
}
.polaroid-latin {
  font-family: var(--font-display);
  font-size: .7rem;
  color: var(--polar-gray);
  font-style: italic;
  letter-spacing: .04em;
  text-align: right;
}
/* Tape strip decoration on polaroid */
.polaroid-card::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 48px;
  height: 18px;
  background: rgba(240,200,48,.35);
  border-radius: 2px;
}

/* ── Full-bleed photo strip (Tanzania style) ── */
.photo-strip {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 2.5rem 0;
  border-radius: 3px;
}
.photo-strip img {
  width: 100%;
  height: clamp(260px, 45vw, 520px);
  object-fit: cover;
  display: block;
}
.photo-strip-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.photo-strip-label {
  display: inline-block;
  background: var(--polar-yellow);
  color: var(--polar-ink);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(.8rem,2vw,1rem);
  padding: 7px 22px;
  border-radius: 100px;
  margin-bottom: .75rem;
  font-weight: 500;
  letter-spacing: .04em;
}
.photo-strip-title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem,6vw,4.5rem);
  font-weight: 700;
  color: #FFFDF7;
  text-shadow: 0 2px 24px rgba(26,24,20,.5);
  line-height: 1;
  letter-spacing: -.02em;
}

/* ── Post body — cream background editorial ── */
.post-editorial {
  background: var(--polar-bg);
  min-height: 50vh;
}
.post-editorial .container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem,5vw,4rem);
}

/* ── Info band (meta bar) ── */
.post-info-band {
  background: var(--polar-card);
  border-bottom: 1px solid rgba(26,24,20,.07);
  padding: .75rem 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.post-info-band::-webkit-scrollbar { display: none; }
.post-info-band .container {
  display: flex;
  gap: 0;
  align-items: stretch;
  white-space: nowrap;
}
.pib-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: .6rem 1.5rem;
  border-right: 1px solid rgba(26,24,20,.07);
  flex-shrink: 0;
}
.pib-item:last-child { border-right: none; }
.pib-key {
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--polar-yellow2);
  font-weight: 600;
}
.pib-val {
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--polar-ink);
  font-weight: 500;
}

/* ── Editorial content area ── */
.post-editorial-content {
  padding: clamp(2.5rem,5vw,4rem) 0 clamp(3rem,6vw,5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media(min-width:1024px) {
  .post-editorial-content {
    grid-template-columns: 1fr 320px;
    align-items: start;
    gap: 4rem;
  }
}
.post-editorial-body { min-width: 0; }

/* ── Prose content typography ── */
.prose {
  font-family: var(--font-body);
  font-size: clamp(.92rem,1.6vw,1rem);
  line-height: 1.85;
  color: rgba(26,24,20,.78);
}
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem,3.5vw,2.2rem);
  font-weight: 600;
  color: var(--polar-ink);
  line-height: 1.1;
  margin: 2.5rem 0 .9rem;
  letter-spacing: -.02em;
}
.prose h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem,2.5vw,1.5rem);
  font-weight: 600;
  color: var(--polar-ink);
  margin: 2rem 0 .6rem;
}
.prose p { margin-bottom: 1.4rem; }
.prose p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 600;
  line-height: .8;
  float: left;
  margin: .12em .12em 0 0;
  color: var(--polar-yellow2);
}
.prose strong { color: var(--polar-ink); font-weight: 600; }
.prose em { font-style: italic; }
.prose a { color: var(--polar-yellow2); text-decoration: underline; text-decoration-color: rgba(232,184,32,.35); }
.prose a:hover { color: var(--polar-ink); }
.prose blockquote {
  border-left: 3px solid var(--polar-yellow);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: rgba(240,200,48,.06);
  border-radius: 0 4px 4px 0;
}
.prose blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--polar-ink);
  margin: 0;
}
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1.4rem; }
.prose li { margin-bottom: .4rem; }
.prose img {
  width: 100%;
  border-radius: 2px;
  margin: 1.5rem 0;
}
.prose figure { margin: 2rem 0; }
.prose figcaption {
  font-family: var(--font-script);
  font-size: 1rem;
  color: var(--polar-gray);
  text-align: center;
  margin-top: .4rem;
}

/* ── Sidebar — sticky editorial info ── */
.post-editorial-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 80px;
}
.sidebar-widget {
  background: var(--polar-card);
  border: 1px solid rgba(26,24,20,.07);
  padding: 1.25rem;
  border-radius: 2px;
  position: relative;
}
.sidebar-widget-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--polar-ink);
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--polar-yellow);
}
.sidebar-widget p {
  font-size: .82rem;
  color: rgba(26,24,20,.55);
  line-height: 1.65;
}

/* ── Sky-blue accent (camera lens) ── */
.sky-accent {
  color: var(--polar-sky) !important;
}
.sky-bg {
  background: linear-gradient(135deg, #A8C8E0 0%, #C4DCEE 100%);
}
/* Photo with blue-sky vignette overlay */
.photo-sky-lens {
  position: relative;
}
.photo-sky-lens::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(168,200,224,.25) 100%);
  pointer-events: none;
}

/* ── Tag pills (editorial style) ── */
.editorial-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(26,24,20,.07);
}
.editorial-tag {
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border: 1px solid rgba(26,24,20,.15);
  border-radius: 100px;
  color: rgba(26,24,20,.5);
  transition: all .2s;
}
.editorial-tag:hover {
  border-color: var(--polar-yellow);
  color: var(--polar-yellow2);
  background: rgba(240,200,48,.05);
}

/* ── Related posts (editorial grid) ── */
.related-editorial {
  background: var(--polar-bg);
  border-top: 1px solid rgba(26,24,20,.07);
  padding: clamp(2rem,5vw,4rem) 0;
}
.related-editorial .container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem,5vw,4rem);
}
.related-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
}
.related-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem,3vw,2rem);
  font-weight: 600;
  color: var(--polar-ink);
  line-height: 1.05;
}
.related-title em { font-style: italic; color: rgba(26,24,20,.4); }
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media(min-width:600px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width:900px) { .related-grid { grid-template-columns: repeat(3,1fr); } }
.related-card {
  background: var(--polar-card);
  display: block;
  text-decoration: none;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  border: 1px solid rgba(26,24,20,.06);
}
.related-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(26,24,20,.1); }
.related-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.related-card:hover .related-card-img { transform: scale(1.04); }
.related-card-body { padding: 1rem 1.1rem 1.1rem; }
.related-card-tag {
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--polar-yellow2);
  font-weight: 600;
  margin-bottom: .35rem;
}
.related-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--polar-ink);
  line-height: 1.2;
}
.related-card-meta {
  font-size: .72rem;
  color: rgba(26,24,20,.35);
  margin-top: .35rem;
  letter-spacing: .04em;
}

/* ── Single post nav  ── */
.post-nav-editorial {
  background: var(--polar-card);
  border-top: 1px solid rgba(26,24,20,.07);
  padding: 1.5rem 0;
}
.post-nav-editorial .container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem,5vw,4rem);
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}
.post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 45%;
  text-decoration: none;
}
.post-nav-item.next { text-align: right; margin-left: auto; }
.post-nav-dir {
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(26,24,20,.35);
}
.post-nav-title {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  color: var(--polar-ink);
  line-height: 1.2;
  transition: color .2s;
}
.post-nav-item:hover .post-nav-title { color: var(--polar-yellow2); }

/* ═══════════════════════════════════════════════════════════
   MOBILE RESPONSIVE OVERRIDES (max-width: 768px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Header */
  .header-inner { padding: 12px 16px; }
  .site-logo-img { height: 32px; width: 32px; }
  .logo-main { font-size: 1rem; }

  /* Navigation */
  .main-nav { display: none; }
  .nav-hamburger { display: flex; }

  /* Container */
  .container { padding-left: 16px; padding-right: 16px; }

  /* Single post */
  .single-hero { min-height: 50vh; }
  .single-header { padding: 0 16px; }
  .single-header h1 { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  .article-content { padding: 0 16px; }
  .article-content p { font-size: .95rem; }
  .article-content h2 { font-size: 1.4rem; }
  .article-content img { border-radius: 2px; }

  /* Author follow CTA */
  .follow-cta { padding: 2.5rem 1.25rem; }

  /* Footer (site-footer from footer.php) */
  .footer-main { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 0; }
  .footer-brand p { max-width: none; }
  .footer-bottom { text-align: center; }

  /* WanderPass drawer — full screen on mobile */
  .wp-drawer { inset: 0; width: 100vw; height: 100vh; border-radius: 0; }
  .wp-drawer-header { padding: 12px 16px; min-height: 52px; }
  .wp-drawer-destinations { padding: 0 12px; gap: 6px; }
  .dest-tab { font-size: .7rem; padding: 6px 12px; }

  /* WanderPass teaser */
  .wanderpass-teaser { padding: 1.5rem 1rem; }
}

@media (max-width: 480px) {
  /* Extra small screens */
  .site-logo-img { height: 28px; width: 28px; }
  .single-header h1 { font-size: clamp(1.5rem, 8vw, 2rem); }
  .article-content { font-size: .9rem; }

  /* Photo modal */
  .carousel-slide { padding: 40px .5rem 60px; }
  .carousel-btn { width: 36px; height: 36px; font-size: .9rem; }
  .carousel-btn-prev { left: .5rem; }
  .carousel-btn-next { right: .5rem; }
}
