/* ==========================================================================
   Casanita Editorial — shared base
   --------------------------------------------------------------------------
   Universal tokens and component classes that every editorial module inherits.
   Romance ships its own additional stylesheet that overrides only the
   Romance-specific header band + pillar tablist; all other components live
   here so Wellness, Girlfriend Getaway, and Culinary Escape can lean on them.

   Extracted from romance.css on 2026-04-24 when the second pillar shipped.
   See wiki /marketing/casanita-romance-weddings/architecture §9.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* palette */
  --paper: #FAF7F2;
  --paper-deep: #F3EEE4;
  --ink: #1A1814;
  --ink-soft: #3A352D;
  --muted: #847E72;
  --rule: #E4DFD3;
  --accent: #0074B4;
  --accent-ink: #003E61;

  /* seasonal tints — used on body + hero wash */
  --tint-spring: #EFF2E4;
  --tint-summer: #F7EFE1;
  --tint-fall:   #F1E7D9;
  --tint-winter: #E9EEF2;

  /* typography */
  --font-display: "Fraunces", "Bellagia Display", "Playfair Display", Georgia, serif;
  --font-body:    "Fraunces", "EB Garamond", Georgia, serif;
  --font-ui:      "DM Sans", "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;

  /* scale */
  --fs-xl-hero: clamp(3.5rem, 7.5vw, 7rem);
  --fs-lg-hero: clamp(2.5rem, 5vw, 4.5rem);
  --fs-display: clamp(2rem, 3.5vw, 3rem);
  --fs-lead:    clamp(1.15rem, 1.4vw, 1.35rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.875rem;
  --fs-micro:   0.75rem;

  --lh-tight: 1.05;
  --lh-snug:  1.25;
  --lh-body:  1.65;

  /* layout */
  --col: minmax(0, 1fr);
  --gutter: clamp(1rem, 2.5vw, 2.5rem);
  --page-pad: clamp(1.25rem, 4vw, 3rem);
  --max-narrow: 640px;
  --max-reading: 68ch;
  --max-page: 1440px;

  /* motion */
  --ease-editorial: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-crossfade: 420ms;
}

body[data-season="spring"] { --season-tint: var(--tint-spring); --season-name: "Spring"; }
body[data-season="summer"] { --season-tint: var(--tint-summer); --season-name: "Summer"; }
body[data-season="fall"]   { --season-tint: var(--tint-fall);   --season-name: "Fall"; }
body[data-season="winter"] { --season-tint: var(--tint-winter); --season-name: "Winter"; }

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-feature-settings: "liga", "kern", "onum";
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50, "WONK" 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 800ms var(--ease-editorial);
  background-image: linear-gradient(180deg, var(--season-tint, transparent) 0%, transparent 600px);
}

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

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

hr.rule {
  border: 0;
  height: 1px;
  background: var(--rule);
  margin: 4rem auto;
  max-width: var(--max-page);
}

::selection { background: var(--accent); color: var(--paper); }

/* ---------- Tablist (pillar tabs) ----------
   Shared layout for the pillar tab row that sits under the theme header.
   Romance currently wraps this in .romance-pillars; new pillars should use
   the generic .pillar-tabs wrapper. */
.tabs {
  display: flex;
  gap: 0;
  justify-content: center;
  justify-self: center;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 4px;
  background: var(--paper-deep);
}

.tab {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  color: var(--muted);
  transition: color 250ms var(--ease-editorial), background 250ms var(--ease-editorial);
  white-space: nowrap;
}

.tab[aria-selected="true"] {
  color: var(--paper);
  background: var(--ink);
}

.tab:hover:not([aria-selected="true"]) { color: var(--ink); }

/* Generic pillar tab row wrapper (sits below theme header, above content) */
.pillar-tabs {
  display: flex;
  justify-content: center;
  padding: 1.25rem 1rem;
  background: var(--paper);
  width: 100%;
}

/* Generic header band — each pillar sets its own background-image via
   .{pillar}-header-band { background-image: url(...); } in its pillar CSS. */
.pillar-header-band {
  position: relative;
  min-height: clamp(240px, 32vh, 300px);
  background-size: cover;
  background-position: center 45%;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 0;
}
.pillar-header-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.25) 45%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* ---------- Standalone editorial header ----------
   For prototype pages rendered without the Cozystay theme header, the module
   can render its own .header with brand + tabs + cta. Romance uses the theme
   header instead, but this is kept for template flexibility. */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--rule);
}

.header__inner {
  max-width: var(--max-page);
  margin: 0 auto;
  padding: 0.9rem var(--page-pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--gutter);
}

.brand {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  font-variation-settings: "SOFT" 100, "WONK" 0;
}

.brand em {
  font-style: italic;
  color: var(--muted);
  font-weight: 300;
}

.cta {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  text-decoration: none;
  transition: color 200ms, border-color 200ms, background 200ms;
}

.cta:hover { color: var(--paper); background: var(--ink); border-color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: var(--max-page);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) var(--page-pad) clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.hero__meta {
  font-family: var(--font-ui);
  font-size: var(--fs-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.hero__meta::before {
  content: "";
  display: inline-block;
  width: 2.5rem;
  height: 1px;
  background: var(--ink);
}

.hero__h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-xl-hero);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  font-variation-settings: "SOFT" 50, "WONK" 0, "opsz" 120;
}

/* Defensive override for Elementor Kit's global h1 rule (forces color +
   Marcellus font). Doubling the class lifts specificity above Kit's. */
.hero .hero__h1,
.hero__h1.hero__h1 {
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--fs-xl-hero);
  font-weight: 300;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 50, "WONK" 0, "opsz" 120;
}

.hero .hero__h1 em,
.hero__h1.hero__h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-ink);
  -webkit-text-fill-color: var(--accent-ink);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}

.hero__kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  max-width: 36ch;
  margin: 0;
  line-height: 1.4;
  font-variation-settings: "SOFT" 100;
}

.hero__image {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--paper-deep);
  border-radius: 10px;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
}

.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 100px rgba(26, 24, 20, 0.08);
  pointer-events: none;
}

/* ---------- Season pills ---------- */
.seasons {
  max-width: var(--max-page);
  margin: 0 auto;
  padding: 1.5rem var(--page-pad) 0;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: baseline;
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
}

.seasons__label {
  font-family: var(--font-ui);
  font-size: var(--fs-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: auto;
}

.season {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--muted);
  padding: 0.15rem 0;
  border-bottom: 1px solid transparent;
  transition: color 250ms var(--ease-editorial), border-color 250ms var(--ease-editorial);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

.season[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.season:hover:not([aria-selected="true"]) { color: var(--ink-soft); }

/* ---------- Itinerary container (crossfade) ---------- */
.itinerary-stage {
  position: relative;
  max-width: var(--max-page);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) var(--page-pad) 0;
}

.variant {
  opacity: 1;
  transition: opacity var(--dur-crossfade) var(--ease-editorial);
}

.variant[hidden] {
  display: none !important;
}

.variant.is-fading { opacity: 0; }

/* ---------- Variant hero (per-variant intro) ---------- */
.variant__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.variant__hero h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-lg-hero);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  font-variation-settings: "SOFT" 50, "opsz" 120;
}

.variant__hero h2 em {
  font-style: italic;
  color: var(--accent-ink);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

.variant__hero-image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper-deep);
  border-radius: 10px;
}

.variant__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.variant__kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 1.75vw, 1.75rem);
  line-height: 1.35;
  color: var(--ink-soft);
  max-width: 34ch;
  margin-bottom: 2rem;
  font-variation-settings: "SOFT" 100;
}

.variant__intro {
  font-size: var(--fs-lead);
  line-height: 1.55;
  max-width: 42ch;
  color: var(--ink-soft);
}

/* ---------- Day sections ---------- */
.day {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(3rem, 6vw, 6rem) 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}

.day:nth-of-type(even) {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.day:nth-of-type(even) .day__header { order: 2; }
.day:nth-of-type(even) .day__content { order: 1; }

.day__header {
  position: sticky;
  top: 6rem;
  align-self: start;
}

.day__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 200;
  font-size: clamp(5rem, 10vw, 9rem);
  line-height: 1;
  color: var(--accent);
  display: block;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  margin-bottom: 0.5rem;
}

.day__label {
  font-family: var(--font-ui);
  font-size: var(--fs-micro);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.75rem;
}

.day__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.day__title em {
  font-style: italic;
  color: var(--accent-ink);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

.day__lead {
  max-width: 34ch;
  color: var(--ink-soft);
  font-size: var(--fs-body);
}

.day__content {
  max-width: var(--max-reading);
}

.day__content > p:first-child {
  font-size: 1.125rem;
  color: var(--ink-soft);
}

.day__content p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.day__content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.day__content li {
  padding: 0.9rem 0 0.9rem 2rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
  font-size: var(--fs-body);
  line-height: 1.55;
}

.day__content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(0.9rem + (1.55em / 2));
  width: 1.25rem;
  height: 1px;
  background: var(--accent);
  transform: translateY(-0.5px);
}

.day__content li strong {
  font-weight: 500;
  color: var(--ink);
}

.day__content li em {
  font-style: italic;
  color: var(--muted);
}

.day__content figure {
  margin: 2rem 0 2.5rem;
}

.day__content figure img,
.day__content figure svg {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--paper-deep);
  border-radius: 10px;
}

.day__content figcaption {
  font-family: var(--font-ui);
  font-size: var(--fs-small);
  color: var(--muted);
  margin-top: 0.75rem;
  padding-left: 1rem;
  border-left: 1px solid var(--accent);
  letter-spacing: 0.01em;
}

.tease {
  font-style: italic;
  color: var(--muted);
  padding: 1rem 0 0;
  font-size: var(--fs-body);
  border-top: 1px solid var(--rule);
  margin-top: 1rem;
}

.tease a {
  color: var(--accent-ink);
  text-decoration-color: var(--accent);
}

/* ---------- Book-direct block ---------- */
.book-direct {
  margin: clamp(3rem, 6vw, 5rem) 0;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.75rem, 4vw, 3.5rem);
  background: var(--paper-deep);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.book-direct h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.1;
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}

.book-direct h3 em {
  font-style: italic;
  color: var(--accent-ink);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

.book-direct ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.55;
}

.book-direct li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
}

.book-direct li:first-child { padding-top: 0; }
.book-direct li:last-child { border-bottom: 0; }

.book-direct__image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
}

.book-direct__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-direct__cta,
.book-direct__cta.book-direct__cta {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 1.75rem;
  background: var(--ink);
  color: var(--paper);
  -webkit-text-fill-color: var(--paper);
  border-radius: 999px;
  text-decoration: none;
  transition: background 200ms, color 200ms;
}

.book-direct__cta:hover,
.book-direct__cta.book-direct__cta:hover {
  background: var(--accent);
  color: var(--paper);
  -webkit-text-fill-color: var(--paper);
}

/* ---------- Why [season] closer ---------- */
.closer {
  max-width: var(--max-page);
  margin: clamp(2rem, 5vw, 4rem) auto 0;
  padding: clamp(4rem, 8vw, 8rem) var(--page-pad);
  background: var(--season-tint, var(--paper-deep));
  text-align: left;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  transition: background 800ms var(--ease-editorial);
}

.closer h3 {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0;
  font-variation-settings: "SOFT" 50, "opsz" 144;
}

.closer h3 em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  color: var(--accent-ink);
  display: block;
}

.closer p {
  font-size: clamp(1.125rem, 1.35vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 48ch;
  margin: 0;
}

/* ---------- Cross-pillar nav (related editorials) ---------- */
.pillar-related {
  max-width: var(--max-page);
  margin: clamp(2rem, 5vw, 4rem) auto 0;
  padding: clamp(2rem, 4vw, 3.5rem) var(--page-pad);
  border-top: 1px solid var(--rule, rgba(0, 0, 0, 0.1));
  text-align: center;
}

.pillar-related__intro {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
}

.pillar-related__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}

.pillar-related__list a {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.125rem, 1.4vw, 1.35rem);
  letter-spacing: -0.01em;
  color: var(--accent-ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 200ms var(--ease-editorial);
}

.pillar-related__list a:hover {
  opacity: 0.7;
}

@media (max-width: 720px) {
  .pillar-related__list {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* ---------- Footer ---------- */
.footer {
  max-width: var(--max-page);
  margin: 0 auto;
  padding: 3rem var(--page-pad) 4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
  border-top: 1px solid var(--rule);
  margin-top: 5rem;
  font-family: var(--font-ui);
  font-size: var(--fs-small);
  color: var(--muted);
}

.footer h4 {
  font-family: var(--font-ui);
  font-size: var(--fs-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 1rem;
}

/* ---------- Editorial link ----------
   Inline link style for authoritative institutional destinations (Brookgreen,
   SC State Parks, MarshWalk). Inherits body color with no default underline
   so it doesn't break editorial flow; hover/focus slides an underline in. */
.editorial-link,
.editorial-link:visited,
.day__content a.editorial-link,
.day__content a.editorial-link:visited {
  color: inherit;
  -webkit-text-fill-color: inherit;
  font-family: inherit;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: color 200ms ease, background-size 220ms ease;
}
.editorial-link:hover,
.editorial-link:focus-visible,
.day__content a.editorial-link:hover,
.day__content a.editorial-link:focus-visible {
  color: var(--accent-ink);
  -webkit-text-fill-color: var(--accent-ink);
  background-size: 100% 1px;
  outline: none;
}
.editorial-link:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
  border-radius: 1px;
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .header__inner {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }
  .tabs {
    grid-column: 1 / -1;
    order: 3;
    justify-self: stretch;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }

  .hero {
    grid-template-columns: 1fr;
  }
  .hero__image {
    aspect-ratio: 16 / 11;
    order: -1;
  }

  .variant__hero {
    grid-template-columns: 1fr;
  }
  .variant__hero-image {
    aspect-ratio: 16 / 11;
    order: -1;
  }

  .day {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 3rem 0;
  }
  .day:nth-of-type(even) {
    grid-template-columns: 1fr;
  }
  .day:nth-of-type(even) .day__header,
  .day:nth-of-type(even) .day__content {
    order: unset;
  }
  .day__header {
    position: static;
  }
  .day__num {
    font-size: 4.5rem;
  }

  .book-direct {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .book-direct__image {
    aspect-ratio: 16 / 11;
  }

  .closer {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 3rem var(--page-pad);
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .pillar-header-band {
    min-height: clamp(200px, 28vh, 260px);
  }
  .pillar-tabs {
    padding: 1rem 1rem;
  }
}

@media (max-width: 400px) {
  .pillar-tabs .tabs {
    gap: 0;
    padding: 3px;
  }
  .pillar-tabs .tab {
    font-size: 0.72rem;
    padding: 0.45rem 0.65rem;
    letter-spacing: 0;
  }
  .seasons {
    gap: 0.75rem 1rem;
    padding-left: var(--page-pad);
    padding-right: var(--page-pad);
  }
  .seasons__label {
    flex-basis: 100%;
    margin-right: 0;
  }
  .season {
    font-size: 1.2rem;
  }
}

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

/* ---------- Print ---------- */
@media print {
  .header, .footer { display: none; }
  .variant[hidden] { display: block !important; }
  .day { break-inside: avoid; }
}

/* ---------- Theme header overlap restoration ----------
   Cozystay's .cn-property-page-body rule forces .site-header.overlap-header to
   position: relative, which stacks the opaque header above the pillar header
   band and pushes tabs ~260px down. Scoped to body.cn-property-page-body so it
   only applies on pillar pages that set the body class. */
body.cn-property-page-body #page { position: relative; z-index: 10; }
body.cn-property-page-body .site-header.overlap-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
}
body.cn-property-page-body .site-header .elementor-section,
body.cn-property-page-body .site-header .elementor-top-section {
  background-color: transparent !important;
}
body.cn-property-page-body .site-header .elementor {
  background-color: transparent !important;
}

/* ---------- White nav + logo over photograph ----------
   Theme's body.light-color class defeats the column-level dark-color scheme,
   so nav links render in dark blue over the photograph. Force white on any
   pillar page that carries the .cn-property-page-body class. */
body.cn-property-page-body .site-header .cs-menu .primary-menu > li > a,
body.cn-property-page-body .site-header .cs-menu .primary-menu > li > a:link,
body.cn-property-page-body .site-header .cs-menu .primary-menu > li > a:visited,
body.cn-property-page-body .site-header .cs-menu .sub-menu li a,
body.cn-property-page-body .site-header a[href^="tel:"],
body.cn-property-page-body .site-header .elementor-widget-text-editor,
body.cn-property-page-body .site-header .elementor-widget-text-editor p,
body.cn-property-page-body .site-header .elementor-widget-text-editor a { color: #FFFFFF !important; }

body.cn-property-page-body .site-header .cs-menu .primary-menu > li > a:hover,
body.cn-property-page-body .site-header .cs-menu .primary-menu > li.current-menu-item > a,
body.cn-property-page-body .site-header a[href^="tel:"]:hover { color: #F5E9D0 !important; }

body.cn-property-page-body .site-header .cs-menu .primary-menu > li > a::after,
body.cn-property-page-body .site-header .cs-menu .cs-menu-dropdown-icon { color: #FFFFFF !important; fill: #FFFFFF !important; }

body.cn-property-page-body .site-header .cs-btn-outline,
body.cn-property-page-body .site-header .elementor-button.cs-btn-outline {
  color: #FFFFFF !important;
  border-color: #FFFFFF !important;
  background-color: transparent !important;
}
body.cn-property-page-body .site-header .cs-btn-outline:hover,
body.cn-property-page-body .site-header .elementor-button.cs-btn-outline:hover {
  color: #1B3A4B !important;
  background-color: #FFFFFF !important;
  border-color: #FFFFFF !important;
}

body.cn-property-page-body .site-header .cs-menu-toggle,
body.cn-property-page-body .site-header .cs-menu-toggle * { color: #FFFFFF !important; fill: #FFFFFF !important; }

body.cn-property-page-body .site-header .elementor-widget-image img,
body.cn-property-page-body .site-header img.wp-image-2413,
body.cn-property-page-body .site-header a[href$="casanitaproperties.com"] img,
body.cn-property-page-body .site-header a[href$="casanitaproperties.com/"] img {
  filter: brightness(0) invert(1) !important;
  -webkit-filter: brightness(0) invert(1) !important;
}
