/*
Theme Name: Casa Valeria
Theme URI: https://casavaleria-jalon.com
Author: Casa Valeria
Description: Custom theme for Casa Valeria, a holiday house in the Jalon Valley, Costa Blanca. Built for direct (WhatsApp) bookings, multilingual content via Polylang, and a read-only Airbnb-synced availability calendar.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: casa-valeria
License: GNU General Public License v2 or later
License URI: LICENSE
*/

/* ==========================================================================
   DESIGN TOKENS
   Palette drawn directly from the property's own photos:
   - paper/ink: limewashed walls + warm timber tones
   - olive: monstera + vineyard greenery + sage terrace furniture (primary accent)
   - terracotta: roof tiles (reserved ONLY for the WhatsApp CTA)
   - gold: awning + brass lamp (rare, small accents only)
   - sky: the pale Mediterranean sky in the terrace/valley photos
   ========================================================================== */

:root {
  /* color */
  --paper: #FBF7EF;
  --paper-alt: #F3ECDE;
  --ink: #2B2A24;
  --ink-soft: #5A5748;
  --olive: #5B6B4E;
  --olive-dark: #414D38;
  --terracotta: #BD5B37;
  --terracotta-dark: #9C4A2C;
  --gold: #C79A42;
  --sky: #C9DDE0;
  --paper-rgb: 251, 247, 239;
  --ink-rgb: 43, 42, 36;

  /* type — a single clean sans-serif throughout, like the original site's Avenir */
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-display: var(--font-body);

  /* scale — sized to match the original site (48px hero / 30px section headings) */
  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1: clamp(1.1rem, 1.05rem + 0.35vw, 1.25rem);
  --step-2: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-3: clamp(1.5rem, 1.3rem + 1vw, 1.9rem);
  --step-4: clamp(2rem, 1.7rem + 2vw, 3rem);

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;

  --container: 1180px;
  --container-narrow: 780px;

  --radius-photo: 1rem;
  --radius-lg: 1.25rem;

  --shadow-soft: 0 1.5rem 3rem -2rem rgba(43, 42, 36, 0.35);
  --shadow-card: 0 0.75rem 2rem -1rem rgba(43, 42, 36, 0.25);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   FONT FACES (self-hosted — no third-party font requests, GDPR-friendly)
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-Variable.ttf') format('truetype-variations'),
       url('assets/fonts/Inter-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   RESET + BASE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--olive-dark); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--terracotta-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 800; }
h3 { font-size: var(--step-2); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul { padding-left: 1.2em; }

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

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-md);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--space-xl); }
.section--alt { background: var(--paper-alt); }
.section-head { max-width: 640px; margin-bottom: var(--space-md); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--wide { max-width: 860px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive-dark);
  margin-bottom: var(--space-xs);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.9em 1.6em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }

.btn--whatsapp {
  background: var(--terracotta);
  color: #fff;
  box-shadow: var(--shadow-card);
}
.btn--whatsapp:hover { background: var(--terracotta-dark); color: #fff; }

.btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--ghost-light {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.9); color: var(--ink); }

/* ==========================================================================
   PHOTOS
   ========================================================================== */

.photo {
  border-radius: var(--radius-photo);
  overflow: hidden;
  position: relative;
  background: var(--sky);
}
.photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.photo--lg { border-radius: var(--radius-lg); }

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(var(--paper-rgb), 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.site-logo:hover { color: var(--ink); }
.site-logo em {
  font-style: normal;
  color: var(--terracotta);
}

.main-nav { display: flex; align-items: center; gap: var(--space-md); }
.main-nav__list {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav__list a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96rem;
}
.main-nav__list a:hover { color: var(--terracotta); }

.lang-switch {
  display: flex;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
}
.lang-switch a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}
.lang-switch a.is-active, .lang-switch a:hover { color: var(--paper); background: var(--olive-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-md);
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav__list { flex-direction: column; gap: 1.25rem; font-size: 1.2rem; }
  .lang-switch { margin-top: var(--space-md); }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: min(86vh, 820px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,22,15,0.15) 0%, rgba(20,22,15,0.15) 40%, rgba(20,22,15,0.78) 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-block: var(--space-xl) var(--space-lg);
  max-width: 1050px;
}
.hero .eyebrow { color: var(--sky); }
.hero h1 { color: #fff; margin-bottom: 0.35em; }
.hero__lede { font-size: var(--step-1); max-width: 46ch; color: rgba(255,255,255,0.92); margin-bottom: var(--space-sm); }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: var(--space-sm); }

/* ==========================================================================
   TRUST STRIP ("why book direct")
   ========================================================================== */

.trust-strip {
  background: var(--olive-dark);
  color: var(--paper);
  padding-block: var(--space-md);
}
.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}
.trust-strip h3 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25em;
}
.trust-strip p { color: rgba(255,255,255,0.8); font-size: 0.92rem; }
.trust-strip__icon { color: var(--gold); margin-bottom: 0.5rem; }

/* ==========================================================================
   TWO COLUMN (House section)
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: var(--space-md); }
  .split--reverse .split__media { order: 0; }
}
.split__media .photo { aspect-ratio: 4/5; }

.full-photo {
  width: 100%;
  aspect-ratio: 21/9;
  border-radius: var(--radius-photo);
  overflow: hidden;
}
.full-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 700px) {
  .full-photo { aspect-ratio: 4/3; }
}

/* ==========================================================================
   PHOTO CAROUSEL (House section)
   ========================================================================== */

.photo-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
}
.photo-carousel__track {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  flex: 1;
  scrollbar-width: none;
  height: 460px;
}
.photo-carousel__track::-webkit-scrollbar { display: none; }
/* Each photo keeps its own natural aspect ratio at this shared height —
   nothing gets cropped, so portrait and landscape photos both look right
   sitting side by side (same approach Airbnb's own photo galleries use). */
.photo-carousel__track .photo {
  scroll-snap-align: start;
  flex: 0 0 auto;
  height: 100%;
  background: var(--paper-alt);
}
.photo-carousel__track .photo img {
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
@media (max-width: 700px) {
  .photo-carousel__track { height: 320px; }
}
.photo-carousel__nav {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1.5px solid rgba(43,42,36,0.2);
  background: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
}
.photo-carousel__nav:hover { background: var(--olive-dark); color: #fff; border-color: var(--olive-dark); }
.photo-carousel__nav--prev { left: 0.6rem; }
.photo-carousel__nav--next { right: 0.6rem; }

.feature-list {
  list-style: none;
  padding: 0;
  margin: var(--space-sm) 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.6rem 1.5rem;
}
.feature-list li {
  display: flex;
  gap: 0.6em;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.feature-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  margin-top: 0.6em;
  flex-shrink: 0;
}

/* ==========================================================================
   AVAILABILITY CALENDAR
   ========================================================================== */

.availability {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md) var(--space-md);
  position: relative;
  overflow: hidden;
}
.availability::before {
  content: '';
  position: absolute; inset: 0 0 auto 0;
  height: 40%;
  background: radial-gradient(120% 100% at 50% 0%, var(--sky) 0%, transparent 70%);
  opacity: 0.18;
}
.availability__head { position: relative; text-align: center; max-width: 520px; margin-inline: auto; margin-bottom: var(--space-md); }
.availability .eyebrow { color: var(--gold); }
.availability h2 { color: #fff; }
.availability p { color: rgba(251,247,239,0.75); }

.cv-calendar {
  position: relative;
  max-width: 420px;
  margin: 0 auto var(--space-md);
  background: rgba(251,247,239,0.05);
  border: 1px solid rgba(251,247,239,0.14);
  border-radius: 1rem;
  padding: 1.25rem;
}
.cv-calendar__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.cv-calendar__nav button {
  background: none; border: 1px solid rgba(251,247,239,0.3); color: var(--paper);
  border-radius: 50%; width: 2rem; height: 2rem; cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.cv-calendar__nav button:hover { background: rgba(251,247,239,0.15); }
.cv-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
  font-size: 0.85rem;
}
.cv-calendar__dow { color: rgba(251,247,239,0.5); font-size: 0.72rem; padding-bottom: 4px; }
.cv-calendar__day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
}
.cv-calendar__day--available { background: rgba(91,107,78,0.35); }
.cv-calendar__day--booked { background: rgba(189,91,55,0.28); color: rgba(251,247,239,0.45); text-decoration: line-through; }
.cv-calendar__day--empty { visibility: hidden; }
.cv-calendar__legend { display: flex; gap: 1.25rem; justify-content: center; font-size: 0.8rem; margin-top: 0.75rem; color: rgba(251,247,239,0.7); }
.cv-calendar__legend span { display: inline-flex; align-items: center; gap: 0.4em; }
.cv-calendar__legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.cv-calendar__legend i.available { background: var(--olive); }
.cv-calendar__legend i.booked { background: var(--terracotta); }
.cv-calendar__note { text-align: center; font-size: 0.85rem; color: rgba(251,247,239,0.55); margin-top: 0.5rem; }

.availability__cta { text-align: center; position: relative; }

/* ==========================================================================
   CARDS (activities, local guide, testimonials)
   ========================================================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}
.card {
  display: flex;
  flex-direction: column;
}
.card .photo { aspect-ratio: 4/5; margin-bottom: var(--space-sm); box-shadow: var(--shadow-card); }
.card h3 { font-size: 1.3rem; margin-bottom: 0.3em; }
.card p { color: var(--ink-soft); font-size: 0.94rem; }
.card__link {
  margin-top: 0.6em;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--terracotta-dark);
  text-decoration: none;
}
.card__link:hover { color: var(--terracotta); }

.testimonial-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-carousel__track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem;
  flex: 1;
  scrollbar-width: none;
}
.testimonial-carousel__track::-webkit-scrollbar { display: none; }
.testimonial-carousel__nav {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1.5px solid rgba(43,42,36,0.2);
  background: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}
.testimonial-carousel__nav:hover { background: var(--olive-dark); color: #fff; border-color: var(--olive-dark); }
@media (max-width: 700px) {
  /* Arrow buttons eat into the track's width on narrow screens, shrinking
     the cards; touch users swipe instead, so just hide them. */
  .testimonial-carousel__nav { display: none; }
}

.testimonial-card {
  background: #fff;
  border-radius: 1rem;
  padding: var(--space-md);
  box-shadow: var(--shadow-card);
  scroll-snap-align: start;
  flex: 0 0 min(380px, 88%);
}
.testimonial-card__stars { color: var(--gold); letter-spacing: 0.1em; margin-bottom: 0.6rem; }
.testimonial-card__meta { margin-top: 1rem; font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; }

/* ==========================================================================
   ACTIVITY BLOCKS (Activities page — one activity, one full description)
   ========================================================================== */

.activity-block { padding-block: var(--space-md); }
.activity-block + .activity-block { border-top: 1px solid rgba(43,42,36,0.08); }
.activity-block .split__media .photo { aspect-ratio: 3/2; }
.activity-block .prose { max-width: none; padding-block: 0; margin: 0; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: rgba(251,247,239,0.75);
  padding-block: var(--space-lg) var(--space-md);
}
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--gold); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  font-family: var(--font-body);
  color: var(--paper);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8em;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5em; font-size: 0.92rem; }
.footer-bottom {
  border-top: 1px solid rgba(251,247,239,0.15);
  padding-top: var(--space-sm);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(251,247,239,0.5);
}

/* ==========================================================================
   STICKY WHATSAPP (mobile)
   ========================================================================== */

.sticky-cta {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  box-shadow: 0 0.75rem 1.75rem -0.5rem rgba(43,42,36,0.4);
}

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */

/* Left side, opposite the WhatsApp button. Sits well above the bottom edge
   so it clears the CookieYes cookie-preferences badge (also bottom-left) —
   the two never overlap regardless of that plugin's exact size/position. */
.back-to-top {
  position: fixed;
  left: 1.1rem;
  bottom: 4.75rem;
  z-index: 89;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1.5px solid rgba(43,42,36,0.15);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(0.5rem);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), background 0.2s, color 0.2s;
}
.back-to-top svg { width: 1.2rem; height: 1.2rem; }
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: var(--olive-dark); color: #fff; border-color: var(--olive-dark); }
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity 0.01ms, background 0.01ms, color 0.01ms; }
}

/* ==========================================================================
   PAGE HERO (interior pages) + PROSE (Gutenberg content)
   ========================================================================== */

.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,22,15,0.1) 30%, rgba(20,22,15,0.72) 100%);
}
.page-hero__content { position: relative; z-index: 2; padding-block: var(--space-lg) var(--space-md); }
.page-hero h1 { color: #fff; }

.prose {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-block: var(--space-lg);
}
.prose--tight { max-width: none; padding-block: 0; margin: 0; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; font-size: 1.4rem; }
.prose ul, .prose ol { color: var(--ink-soft); }
.prose li { margin-bottom: 0.35em; }
.prose figure { margin: 1.5em 0; }
.prose .wp-block-image img,
.prose .wp-block-gallery img { border-radius: 0.75rem; }
.prose .wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}
.prose figcaption { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.4em; }
.prose .wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
  margin: 1.5em 0;
}
.prose .wp-block-column { flex: 1 1 180px; min-width: 0; }
.prose .wp-block-column h3 { margin-top: 0; }
.prose blockquote {
  border-left: 3px solid var(--terracotta);
  margin: 1.5em 0;
  padding-left: 1.2em;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
}
.prose a { color: var(--olive-dark); }

.cta-banner {
  background: var(--olive-dark);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
  margin-top: var(--space-lg);
}
.cta-banner h3 { color: #fff; margin-bottom: 0.4em; }
.cta-banner p { color: rgba(251,247,239,0.8); margin-bottom: var(--space-sm); }

.map-embed {
  aspect-ratio: 16/9;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  background: var(--paper-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.map-embed__prompt {
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  text-align: center; padding: var(--space-md);
}
.map-embed__prompt img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0.35; }
.map-embed__prompt button { position: relative; z-index: 1; }
.map-embed__prompt p { position: relative; z-index: 1; font-weight: 600; }

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
