/*
Theme Name: Visit Merced
Theme URI: https://visitmerced.org
Author: Visit Merced
Author URI: https://visitmerced.org
Description: Custom theme for Visit Merced — Rooted in Community, Open to Possibility. A tourism website for Merced, California.
Version: 1.0 (Staging Version)
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: visit-merced
Tags: custom, tourism, travel
*/

/* ========================================
   Visit Merced — Global Styles
   Brand Colors & Typography
   ======================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;700;900&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Brand Colors */
  --dark-navy: #262154;
  --purple: #543884;
  --orange: #ec692d;
  --teal: #4290a8;
  --light-orange: #f8a260;
  --cream: #ffce94;
  --white: #ffffff;
  --off-white: #f9f7f4;
  --light-gray: #f0ece6;
  --dark-text: #2c2c2c;
  --medium-gray: #282626;

  /* Gradients */
  --gradient-purple: linear-gradient(135deg, #262154 0%, #543884 100%);
  --gradient-sunset: linear-gradient(135deg, #ec692d 0%, #f8a260 100%);
  --gradient-teal-purple: linear-gradient(135deg, #4290a8 0%, #543884 100%);
  --gradient-hero: linear-gradient(135deg, #262154 0%, #543884 50%, #4290a8 100%);

  /* Typography */
  --font-script: 'Dancing Script', cursive;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --container-max: 1200px;
  --nav-height: 110px;

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  color: var(--dark-text);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
}

/* ── Typography Classes ── */
.font-script {
  font-family: var(--font-script);
}

.font-serif {
  font-family: var(--font-serif);
}

.section-label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--dark-navy);
  margin-bottom: 20px;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--medium-gray);
  max-width: 600px;
  margin-bottom: 40px;
}

/* ── Intro Section (image + text, two columns) ── */
.intro-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-image img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.intro-content {
  text-align: left;
}

.intro-content .section-title {
  color: var(--white);
}

.intro-content .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  max-width: 100%;
  margin-bottom: 0;
}

.intro-script {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: var(--cream);
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .intro-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .intro-script {
    font-size: 2.4rem;
  }
}


/* ── Container ── */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-sunset);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(236, 105, 45, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(236, 105, 45, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--dark-navy);
}

.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}

.btn-outline:hover {
  background: var(--purple);
  color: var(--white);
}

/* ── Getting Here / Getting Around: outline buttons on colored rows ── */
.gh-row__actions .btn-outline {
  color: var(--white);
  border-color: var(--white);
}

.gh-row__actions .btn-outline:hover {
  background: var(--white);
  color: var(--purple);
}

.btn-small {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 1000;
  transition: var(--transition);
  background: rgba(38, 33, 84);
  box-sizing: border-box;
}

.navbar.scrolled {
  background: rgba(38, 33, 84, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* WordPress Admin Bar compensation */
.admin-bar .navbar {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .navbar {
    top: 46px;
  }
}

.nav-logo img {
  height: 70px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* WordPress wp_nav_menu wraps in a <ul> — normalize it */
.nav-links ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links ul li {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

/* If a button class is added to the LI in WP Admin, style the inner A */
.nav-links ul li.btn a,
.nav-links ul li.btn-primary a {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
  background: var(--gradient-sunset);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(236, 105, 45, 0.35);
}

.nav-links ul li.btn a:hover,
.nav-links ul li.btn-primary a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(236, 105, 45, 0.5);
}

.nav-links ul li.btn a::after,
.nav-links ul li.btn-primary a::after {
  display: none;
}

.nav-links a {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.5px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after,
.nav-links .current-menu-item a::after,
.nav-links .current_page_item a::after {
  width: 100%;
}

/* Suppress underline on the button nav item */
.nav-links .btn::after {
  display: none;
}

.nav-links .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero Sections ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-overlay {
  display: none;
}


.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  /* Sits above video (0), overlay (1), and shapes (1) */
  z-index: 3;
  color: var(--white);
  max-width: 800px;
  padding: 0 20px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

/* ════════ HERO CONTENT OVERLAY ════════ */
.hero-content {
  /* Purple background with 85% opacity so the video still subtly shows through */
  background-color: rgba(84, 56, 132, 0.80); 
  
  /* White border */
  border: 3px solid #ffffff; 
  
  /* Rounded border radius */
  border-radius: 24px; 
  
  /* Padding keeps the text from touching the new visible edges */
  padding: 40px 50px; 
  
  /* Optional: Add a subtle shadow to lift it off the video background */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* For mobile devices, you might want slightly less padding */
@media (max-width: 768px) {
  .hero-content {
    padding: 30px 20px;
    border-width: 2px;
  }
}
.hero-content .hero-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 4rem;
  margin-bottom: 10px;
  line-height: 1;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.6);
}

.hero-content h1 .script-accent {
  font-family: var(--font-script);
  font-weight: 700;
  color: var(--light-orange);
  font-size: 4.8rem;
  display: block;
  margin-top: -5px;
  margin-bottom: 15px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-weight: 300;
  font-size: 1.2rem;
  margin-bottom: 36px;
  opacity: 0.95;
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page Hero (shorter for inner pages) */
.page-hero {
  min-height: 50vh;
  padding-top: var(--nav-height);
}

.page-hero .hero-content h1 {
  font-size: 3rem;
}

/* Animated shapes in hero — purely decorative, must not block clicks */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

.hero-shape-1 {
  width: 400px;
  height: 400px;
  background: var(--orange);
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
  width: 300px;
  height: 300px;
  background: var(--teal);
  bottom: -80px;
  left: -80px;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
  width: 200px;
  height: 200px;
  background: var(--light-orange);
  top: 40%;
  left: 10%;
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

/* ════════ HOMEPAGE HERO — unified above-the-fold block ════════ */
/* Video on top, all hero content (label, heading, subtext, CTAs)
   in a purple text-band below, all fitting within the viewport. */
.hero-home {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100vh;
  height: auto;
}

/* ── Hero Video Wrapper (video only, no text) ── */
.hero-video-wrapper {
  position: relative;
  flex: 1;
  min-height: 70vh;
  overflow: hidden;
}

.hero-video-wrapper .hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* ── Hero Text Band — purple background, all hero content ── */
.hero-text-band {
  background-color: #543884;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='486' height='405' viewBox='0 0 1080 900'%3E%3Cg fill-opacity='0.05'%3E%3Cpolygon fill='%23444' points='90 150 0 300 180 300'/%3E%3Cpolygon points='90 150 180 0 0 0'/%3E%3Cpolygon fill='%23AAA' points='270 150 360 0 180 0'/%3E%3Cpolygon fill='%23DDD' points='450 150 360 300 540 300'/%3E%3Cpolygon fill='%23999' points='450 150 540 0 360 0'/%3E%3Cpolygon points='630 150 540 300 720 300'/%3E%3Cpolygon fill='%23DDD' points='630 150 720 0 540 0'/%3E%3Cpolygon fill='%23444' points='810 150 720 300 900 300'/%3E%3Cpolygon fill='%23FFF' points='810 150 900 0 720 0'/%3E%3Cpolygon fill='%23DDD' points='990 150 900 300 1080 300'/%3E%3Cpolygon fill='%23444' points='990 150 1080 0 900 0'/%3E%3Cpolygon fill='%23DDD' points='90 450 0 600 180 600'/%3E%3Cpolygon points='90 450 180 300 0 300'/%3E%3Cpolygon fill='%23666' points='270 450 180 600 360 600'/%3E%3Cpolygon fill='%23AAA' points='270 450 360 300 180 300'/%3E%3Cpolygon fill='%23DDD' points='450 450 360 600 540 600'/%3E%3Cpolygon fill='%23999' points='450 450 540 300 360 300'/%3E%3Cpolygon fill='%23999' points='630 450 540 600 720 600'/%3E%3Cpolygon fill='%23FFF' points='630 450 720 300 540 300'/%3E%3Cpolygon points='810 450 720 600 900 600'/%3E%3Cpolygon fill='%23DDD' points='810 450 900 300 720 300'/%3E%3Cpolygon fill='%23AAA' points='990 450 900 600 1080 600'/%3E%3Cpolygon fill='%23444' points='990 450 1080 300 900 300'/%3E%3Cpolygon fill='%23222' points='90 750 0 900 180 900'/%3E%3Cpolygon points='270 750 180 900 360 900'/%3E%3Cpolygon fill='%23DDD' points='270 750 360 600 180 600'/%3E%3Cpolygon points='450 750 540 600 360 600'/%3E%3Cpolygon points='630 750 540 900 720 900'/%3E%3Cpolygon fill='%23444' points='630 750 720 600 540 600'/%3E%3Cpolygon fill='%23AAA' points='810 750 720 900 900 900'/%3E%3Cpolygon fill='%23666' points='810 750 900 600 720 600'/%3E%3Cpolygon fill='%23999' points='990 750 900 900 1080 900'/%3E%3Cpolygon fill='%23999' points='180 0 90 150 270 150'/%3E%3Cpolygon fill='%23444' points='360 0 270 150 450 150'/%3E%3Cpolygon fill='%23FFF' points='540 0 450 150 630 150'/%3E%3Cpolygon points='900 0 810 150 990 150'/%3E%3Cpolygon fill='%23222' points='0 300 -90 450 90 450'/%3E%3Cpolygon fill='%23FFF' points='0 300 90 150 -90 150'/%3E%3Cpolygon fill='%23FFF' points='180 300 90 450 270 450'/%3E%3Cpolygon fill='%23666' points='180 300 270 150 90 150'/%3E%3Cpolygon fill='%23222' points='360 300 270 450 450 450'/%3E%3Cpolygon fill='%23FFF' points='360 300 450 150 270 150'/%3E%3Cpolygon fill='%23444' points='540 300 450 450 630 450'/%3E%3Cpolygon fill='%23222' points='540 300 630 150 450 150'/%3E%3Cpolygon fill='%23AAA' points='720 300 630 450 810 450'/%3E%3Cpolygon fill='%23666' points='720 300 810 150 630 150'/%3E%3Cpolygon fill='%23FFF' points='900 300 810 450 990 450'/%3E%3Cpolygon fill='%23999' points='900 300 990 150 810 150'/%3E%3Cpolygon points='0 600 -90 750 90 750'/%3E%3Cpolygon fill='%23666' points='0 600 90 450 -90 450'/%3E%3Cpolygon fill='%23AAA' points='180 600 90 750 270 750'/%3E%3Cpolygon fill='%23444' points='180 600 270 450 90 450'/%3E%3Cpolygon fill='%23444' points='360 600 270 750 450 750'/%3E%3Cpolygon fill='%23999' points='360 600 450 450 270 450'/%3E%3Cpolygon fill='%23666' points='540 600 630 450 450 450'/%3E%3Cpolygon fill='%23222' points='720 600 630 750 810 750'/%3E%3Cpolygon fill='%23FFF' points='900 600 810 750 990 750'/%3E%3Cpolygon fill='%23222' points='900 600 990 450 810 450'/%3E%3Cpolygon fill='%23DDD' points='0 900 90 750 -90 750'/%3E%3Cpolygon fill='%23444' points='180 900 270 750 90 750'/%3E%3Cpolygon fill='%23FFF' points='360 900 450 750 270 750'/%3E%3Cpolygon fill='%23AAA' points='540 900 630 750 450 750'/%3E%3Cpolygon fill='%23FFF' points='720 900 810 750 630 750'/%3E%3Cpolygon fill='%23222' points='900 900 990 750 810 750'/%3E%3Cpolygon fill='%23222' points='1080 300 990 450 1170 450'/%3E%3Cpolygon fill='%23FFF' points='1080 300 1170 150 990 150'/%3E%3Cpolygon points='1080 600 990 750 1170 750'/%3E%3Cpolygon fill='%23666' points='1080 600 1170 450 990 450'/%3E%3Cpolygon fill='%23DDD' points='1080 900 1170 750 990 750'/%3E%3C/g%3E%3C/svg%3E");
  text-align: left;
  padding: 48px 0;
}

/* Two-column layout: text on the left, photo slideshow on the right */
.hero-text-band .container.hero-band-columns {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
}

.hero-band-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ── Hero Slideshow (right column) ── */
.hero-band-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.hero-band-slideshow .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-band-slideshow .hero-slide.is-active {
  opacity: 1;
}

/* Label inside the purple band — cream color works well on purple */
.hero-text-band .hero-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 12px;
}

/* Heading inside the purple band */
.hero-text-band h1 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.1;
}

.hero-text-band h1 .script-accent {
  font-family: var(--font-script);
  font-weight: 700;
  color: var(--light-orange);
  font-size: 4.2rem;
  display: block;
  margin-top: -6px;
  margin-bottom: 16px;
}

/* Scribble line underneath "Open to Possibility" */
.hero-scribble {
  display: block;
  width: 280px;
  max-width: 80%;
  margin: -8px 0 12px;
  opacity: 0.7;
}

/* Subtext inside the purple band */
.hero-text-band .hero-info-text {
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--white);
  max-width: 720px;
  margin: 0 0 28px;
}

/* Buttons inside the purple band — secondary stays white-on-purple */
.hero-text-band .btn-secondary {
  color: var(--white);
  border-color: var(--white);
}

.hero-text-band .btn-secondary:hover {
  background: var(--white);
  color: var(--purple);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-video-wrapper {
    min-height: 35vh;
  }

  .hero-text-band {
    padding: 36px 0;
    text-align: center;
  }

  /* Stack the two columns on mobile: text above, slideshow below */
  .hero-text-band .container.hero-band-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-band-text {
    align-items: center;
  }

  .hero-text-band .hero-info-text {
    margin: 0 auto 28px;
  }

  .hero-text-band h1 {
    font-size: 2.2rem;
  }

  .hero-text-band h1 .script-accent {
    font-size: 2.8rem;
  }

  .hero-scribble {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-text-band .hero-info-text {
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .hero-text-band h1 {
    font-size: 1.8rem;
  }

  .hero-text-band h1 .script-accent {
    font-size: 2.2rem;
  }
}

/* ════════ SUPPORTIVE PAGE HERO — photo on top, centered text band below ════════ */
/* Mirrors the homepage's stacked layout: the hero photo stands on its own,
   with the label/heading/subtext in a centered, single-column purple band
   (reusing the same #543884 + geometric SVG-pattern background). */
.page-hero {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 0;
  height: auto;
  text-align: left;
  background: none;
  overflow: visible;
  padding-top: 0;
}

/* The hero photo stands on its own, sitting just below the fixed nav */
.page-hero .hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 48vh;
  min-height: 320px;
  margin-top: 90px; /* matches the fixed navbar height so there's no white gap */
  overflow: hidden;
}

.page-hero .hero-image-wrapper .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

/* Centered single-column text band */
.page-hero .hero-text-band {
  text-align: center;
}

.hero-band-single {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Override the homepage band's left-aligned subtext so it centers */
.hero-band-single .hero-info-text {
  margin: 0 auto;
  max-width: 720px;
}

@media (max-width: 768px) {
  .page-hero .hero-image-wrapper {
    height: 32vh;
    min-height: 220px;
  }
}

/* ── Section Styles ── */

.section {
  padding: var(--section-padding);
  background: linear-gradient(to right, #262154, #482154);
  color: var(--white);
}

.section .section-label {
  color: var(--cream);
}

.section .section-title {
  color: var(--white);
}

.section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.section-light {
  background: linear-gradient(to right, #262154, #482154);
  color: var(--white);
}

.section-light .section-label {
  color: var(--cream);
}

.section-light .section-title {
  color: var(--white);
}

.section-light .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.section-dark {
  background: var(--gradient-purple);
  color: var(--white);
}

.section-dark .section-title {
  color: var(--white);
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.section-center {
  text-align: center;
  background: transparent;
  color: var(--white);
}

.section-center .section-label {
  color: var(--cream);
}

.section-center .section-title {
  color: var(--white);
}

.section-center .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  margin-left: auto;
  margin-right: auto;
}

/* Transparent section — inherits parent gradient, white text */
.section-transparent {
  background: transparent;
  color: var(--white);
}

.section-transparent .section-label {
  color: var(--cream);
}

.section-transparent .section-title {
  color: var(--white);
}

.section-transparent .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* ── Static Wave Background (Things to Do page) ── */
.animated-purple-waves {
  background-color: #262154;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2000' height='240' viewBox='0 0 1000 120'%3E%3Cg fill='none' stroke='%23543884' stroke-width='10.1' stroke-opacity='0.11'%3E%3Cpath d='M-500 75c0 0 125-30 250-30S0 75 0 75s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 45c0 0 125-30 250-30S0 45 0 45s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 105c0 0 125-30 250-30S0 105 0 105s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 15c0 0 125-30 250-30S0 15 0 15s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500-15c0 0 125-30 250-30S0-15 0-15s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 135c0 0 125-30 250-30S0 135 0 135s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3C/g%3E%3C/svg%3E");
}

/* Keep inner sections transparent so the wave background shows through */
.animated-purple-waves .section,
.animated-purple-waves .section-light,
.animated-purple-waves .quick-links-bg,
.animated-purple-waves .cta-section-bg {
  background: transparent;
}

/* ── Card Grid ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

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

/* ── Card Component ── */
.card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  width: fit-content;
}

.tag-purple {
  background: rgba(84, 56, 132, 0.1);
  color: var(--purple);
}

.tag-orange {
  background: rgba(236, 105, 45, 0.1);
  color: var(--orange);
}

.tag-teal {
  background: rgba(66, 144, 168, 0.1);
  color: var(--teal);
}

.card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--dark-navy);
  margin-bottom: 10px;
}

.card-body p {
  font-size: 0.95rem;
  color: var(--medium-gray);
  line-height: 1.6;
  flex: 1;
}

.card-body .btn {
  margin-top: 16px;
  align-self: flex-start;
}

.card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.mini-tag {
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 500;
  background: var(--light-gray);
  color: var(--medium-gray);
}

/* ── Feature Cards (Image Overlay) ── */
.feature-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 320px;
  cursor: pointer;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.feature-card:hover img {
  transform: scale(1.08);
}

.feature-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(38, 33, 84, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: var(--white);
}

.feature-card-overlay h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.feature-card-overlay p {
  font-size: 0.9rem;
  opacity: 0.85;
  font-weight: 300;
}

/* ── Tile Links ── */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.tile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  border: 1px solid transparent;
}

.tile:hover {
  border-color: var(--purple);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(84, 56, 132, 0.15);
}

.tile-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.tile-icon-purple {
  background: rgba(84, 56, 132, 0.1);
  color: var(--purple);
}

.tile-icon-orange {
  background: rgba(236, 105, 45, 0.1);
  color: var(--orange);
}

.tile-icon-teal {
  background: rgba(66, 144, 168, 0.1);
  color: var(--teal);
}

@media (min-width: 1025px) {
  .tile-icon {
    width: 72px;
    height: 72px;
  }
}

.tile h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-navy);
  margin-bottom: 4px;
}

.tile p {
  font-size: 0.85rem;
  color: var(--medium-gray);
}

/* ── Photo Tiles (Quick Links) — Asymmetric Bento‑Box / Editorial Collage Grid ── */
.photo-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 200px 200px 200px 240px;
  gap: 24px;
}

.photo-tile {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.photo-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(84, 56, 132, 0.22);
  z-index: 2;
}

/* ── Editorial Grid Placement (nth-child) ── */
/* 1 — Where to Stay: 2 cols × 2 rows (anchor hero) */
.photo-tile:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

/* 2 — Getting Here: 1 col × 1 row */
.photo-tile:nth-child(2) {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

/* 3 — Getting Around: 1 col × 1 row */
.photo-tile:nth-child(3) {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}

/* 4 — Things to Do: 2 cols × 1 row */
.photo-tile:nth-child(4) {
  grid-column: 1 / 3;
  grid-row: 3 / 4;
}

/* 5 — Downtown Merced: 1 col × 1 row */
.photo-tile:nth-child(5) {
  grid-column: 3 / 4;
  grid-row: 3 / 4;
}

/* 6 — Signature Events: full-width banner (3 cols × 1 row) */
.photo-tile--full {
  grid-column: 1 / -1;
}
.photo-tile:nth-child(6) {
  grid-column: 1 / -1;
  grid-row: 4 / 5;
}

/* ── Size Modifiers (kept for potential reuse elsewhere) ── */
.photo-tile--wide {
  grid-column: span 2;
}

.photo-tile--tall {
  grid-row: span 2;
}

.photo-tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-tile:hover .photo-tile-img {
  transform: scale(1.06);
}

.photo-tile-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 22px;
  background: linear-gradient(
    to top,
    rgba(38, 33, 84, 0.85) 0%,
    rgba(38, 33, 84, 0.45) 40%,
    rgba(38, 33, 84, 0) 75%
  );
  color: var(--white);
  z-index: 1;
}

/* Orange hover overlay — covers bottom half of the tile on hover */
.photo-tile-overlay::before {
  content: '';
  position: absolute;
  inset: 50% 0 0 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(236, 105, 45, 0.85) 0%,
    rgba(236, 105, 45, 0.45) 60%,
    rgba(236, 105, 45, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.photo-tile:hover .photo-tile-overlay::before {
  opacity: 1;
}

.photo-tile-overlay h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s ease, text-shadow 0.35s ease;
}

.photo-tile:hover .photo-tile-overlay h3 {
  transform: scale(1.06) translateY(-2px);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 255, 255, 0.25);
}

.photo-tile-overlay p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.photo-tile:hover .photo-tile-overlay p {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile: always show subtext, keep the orange overlay subtly visible */
@media (hover: none) and (max-width: 768px),
       (pointer: coarse) {
  .photo-tile-overlay p {
    opacity: 1;
    transform: none;
  }

  .photo-tile-overlay::before {
    opacity: 0.28;
  }

  .photo-tile:hover .photo-tile-overlay::before {
    opacity: 0.28;
  }

  .photo-tile:hover .photo-tile-overlay h3 {
    transform: none;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  }
}

/* Bump heading size on the hero tile (2×2 anchor) */
.photo-tile:nth-child(1) .photo-tile-overlay h3 {
  font-size: 1.55rem;
}

/* Bump heading size on the two-wide tiles */
.photo-tile:nth-child(4) .photo-tile-overlay h3 {
  font-size: 1.4rem;
}

/* Bump heading size on the full-width banner tile */
.photo-tile--full .photo-tile-overlay h3 {
  font-size: 1.5rem;
}

/* Keep old modifiers working too */
.photo-tile--tall .photo-tile-overlay h3 {
  font-size: 1.45rem;
}

.photo-tile--wide .photo-tile-overlay h3 {
  font-size: 1.4rem;
}

@media (max-width: 1024px) {
  .photo-tile-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 220px 220px 200px 200px 240px;
    gap: 20px;
  }

  /* Reset all nth-child placements for 2-column layout */
  .photo-tile:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }
  .photo-tile:nth-child(2) {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }
  .photo-tile:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }
  .photo-tile:nth-child(4) {
    grid-column: 1 / 3;
    grid-row: 4 / 5;
  }
  .photo-tile:nth-child(5) {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
  }
  .photo-tile:nth-child(6) {
    grid-column: 1 / 3;
    grid-row: 5 / 6;
  }
}

@media (max-width: 600px) {
  .photo-tile-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 200px);
    gap: 16px;
  }

  /* Stack everything single-column */
  .photo-tile:nth-child(1),
  .photo-tile:nth-child(2),
  .photo-tile:nth-child(3),
  .photo-tile:nth-child(4),
  .photo-tile:nth-child(5),
  .photo-tile:nth-child(6) {
    grid-column: 1 / 2;
    grid-row: auto;
  }
}

/* ── Map Section ── */
.map-section {
  padding: 80px 0;
  background: linear-gradient(to right, #262154, #482154);
  color: var(--white);
}

.map-section .section-label {
  color: var(--cream);
}

.map-section .section-title {
  color: var(--white);
}

.map-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.map-container {
  position: relative;
  background: var(--gradient-purple);
  border-radius: 20px;
  padding: 60px;
  color: var(--white);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.map-content {
  max-width: 400px;
  z-index: 1;
}

.map-content h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 16px;
}

.map-content p {
  font-weight: 300;
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 24px;
}

.map-visual {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  z-index: 1;
}

.map-point {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.map-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(236, 105, 45, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.map-dot-merced {
  width: 24px;
  height: 24px;
  background: var(--cream);
  box-shadow: 0 0 0 6px rgba(255, 206, 148, 0.4);
}

.map-label {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 6px;
  white-space: nowrap;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(236, 105, 45, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(236, 105, 45, 0.1); }
}

/* ── Split Layout (Where to Stay) ── */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-height));
}

.split-left {
  padding: 40px;
  overflow-y: auto;
  max-height: calc(100vh - var(--nav-height));
}

.split-right {
  background: var(--light-gray);
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Info Cards (Getting Here / Around) ── */
.info-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
  border-left: 4px solid var(--purple);
}

.info-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--dark-navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card p {
  color: var(--medium-gray);
  line-height: 1.7;
}

.info-card-orange {
  border-left-color: var(--orange);
}

.info-card-teal {
  border-left-color: var(--teal);
}

/* ── Event Card ── */
.event-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.event-card .card-image {
  height: 200px;
}

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

.event-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--white);
  color: var(--purple);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  width: fit-content;
}

.event-date-icon {
  width: 26px;
  height: auto;
  vertical-align: middle;
}

.event-card .card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--dark-navy);
  margin-bottom: 8px;
}

.event-card .card-body p {
  font-size: 0.9rem;
  color: var(--medium-gray);
}

/* ── Seasonal Highlight ── */
.seasonal-highlight {
  background: var(--gradient-purple);
  border-radius: 20px;
  padding: 60px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  color: var(--white);
  overflow: hidden;
  position: relative;
}

/* Homepage-only: side-by-side layout (image left, text right) */
.seasonal-highlight--featured {
  flex-direction: row;
  align-items: center;
}

.seasonal-highlight-row {
  display: flex;
  align-items: center;
  gap: 48px;
}

.spotlight-banner {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 0 auto;
}

/* ── Corner SVG Decorations ── */
.corner-svg {
  position: absolute;
  width: 40px;
  height: auto;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
}

.corner-svg.top-left {
  top: 24px;
  left: 24px;
}

.corner-svg.top-right {
  top: 24px;
  right: 24px;
  transform: scaleX(-1);
}

.corner-svg.bottom-left {
  bottom: 24px;
  left: 24px;
  transform: scaleY(-1);
}

.corner-svg.bottom-right {
  bottom: 24px;
  right: 24px;
  transform: scale(-1, -1);
}

.seasonal-highlight-image {
  width: 45%;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.seasonal-highlight-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.seasonal-highlight-content h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 12px;
}

.seasonal-highlight-content .event-date {
  margin-bottom: 16px;
}

.seasonal-highlight-content p {
  font-weight: 300;
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ── Filter Buttons ── */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 50px;
  border: 2px solid var(--light-gray);
  background: var(--white);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--medium-gray);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* ── Newsletter Section ── */
.newsletter {
  background-color: #FFCE94;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 90 90'%3E%3Ccircle fill-opacity='0.41' fill='%23F8A260' cx='45' cy='45' r='53'/%3E%3Cg fill='%23FFCE94' fill-opacity='0.41'%3E%3Ccircle cx='0' cy='90' r='69'/%3E%3Ccircle cx='90' cy='90' r='69'/%3E%3Ccircle cx='90' cy='0' r='69'/%3E%3Ccircle cx='0' cy='0' r='69'/%3E%3C/g%3E%3C/svg%3E");
  padding: 60px 0;
  text-align: center;
  color: var(--dark-navy);
}

.newsletter h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--dark-navy);
  font-weight: 700;
}

.newsletter p {
  font-weight: 600;
  color: var(--dark-navy);
  opacity: 0.85;
  margin-bottom: 30px;
}

.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 24px;
  border: 2px solid var(--purple);
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
}

.newsletter-form button {
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  background: var(--dark-navy);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--purple);
  transform: translateY(-2px);
}

/* ── Instagram Grid ── */
/* Acts as a simple full-width wrapper. The Smash Balloon plugin
   (#sb_instagram) outputs a single container, so the wrapper must
   NOT be a multi-column grid or the feed gets squeezed into one
   column. The grid columns live on #sbi_images instead — see the
   "Smash Balloon Instagram Feed Overrides" section at the bottom
   of this file. */
.instagram-grid {
  display: block;
  width: 100%;
}

.instagram-grid .insta-item {
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.instagram-grid .insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.instagram-grid .insta-item:hover img {
  transform: scale(1.1);
  filter: brightness(0.8);
}

/* ── Contact Form (Contact Us page) ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-field label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--dark-navy);
  letter-spacing: 0.3px;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--light-gray);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--dark-text);
  outline: none;
  transition: var(--transition);
  background: var(--off-white);
}

.contact-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--purple);
  background: var(--white);
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 6px;
}

/* On the Contact page the form + details columns should align to the top */
.contact-form-wrapper,
.contact-details {
  align-self: start;
}

/* Make linked text inside info cards match the brand */
.info-card a {
  color: var(--purple);
  font-weight: 600;
}

.info-card a:hover {
  color: var(--orange);
}

/* ── Footer ── */
.footer {
  background: var(--dark-navy);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 85px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  font-weight: 300;
  opacity: 0.7;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--light-orange);
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  font-weight: 300;
  opacity: 0.7;
  margin-bottom: 10px;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--light-orange);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 1;
}

.footer-social a:hover {
  background: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.5;
}

/* ── Downtown Highlights Grid ── */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.highlight-item {
  text-align: center;
  padding: 40px 24px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.highlight-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: rgba(84, 56, 132, 0.08);
  color: var(--purple);
}

.highlight-item h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--dark-navy);
  margin-bottom: 8px;
}

.highlight-item p {
  font-size: 0.9rem;
  color: var(--medium-gray);
  line-height: 1.6;
}

/* ── CTA Banner ── */
.cta-banner {
  background-color: #EC692D;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1200 800'%3E%3Cdefs%3E%3CradialGradient id='a' cx='0' cy='800' r='800' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23f8a05e'/%3E%3Cstop offset='1' stop-color='%23f8a05e' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='b' cx='1200' cy='800' r='800' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23be2d8c'/%3E%3Cstop offset='1' stop-color='%23be2d8c' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='c' cx='600' cy='0' r='600' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23df489a'/%3E%3Cstop offset='1' stop-color='%23df489a' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='d' cx='600' cy='800' r='600' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23EC692D'/%3E%3Cstop offset='1' stop-color='%23EC692D' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='e' cx='0' cy='0' r='800' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23FFCE94'/%3E%3Cstop offset='1' stop-color='%23FFCE94' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='f' cx='1200' cy='0' r='800' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23543884'/%3E%3Cstop offset='1' stop-color='%23543884' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect fill='url(%23a)' width='1200' height='800'/%3E%3Crect fill='url(%23b)' width='1200' height='800'/%3E%3Crect fill='url(%23c)' width='1200' height='800'/%3E%3Crect fill='url(%23d)' width='1200' height='800'/%3E%3Crect fill='url(%23e)' width='1200' height='800'/%3E%3Crect fill='url(%23f)' width='1200' height='800'/%3E%3C/svg%3E");
  background-attachment: fixed;
  background-size: cover;
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  color: var(--white);
}

.quick-links-bg {
  background: linear-gradient(to right, #262154, #482154);
  color: var(--white);
}

.quick-links-bg .section-label {
  color: var(--cream);
}

.quick-links-bg .section-title {
  color: var(--white);
}

.quick-links-bg .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.cta-section-bg {
  background: linear-gradient(to right, #262154, #482154);
}

.cta-section-bg .cta-banner {
  background-color: #EC692D;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1200 800'%3E%3Cdefs%3E%3CradialGradient id='a' cx='0' cy='800' r='800' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23f8a05e'/%3E%3Cstop offset='1' stop-color='%23f8a05e' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='b' cx='1200' cy='800' r='800' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23be2d8c'/%3E%3Cstop offset='1' stop-color='%23be2d8c' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='c' cx='600' cy='0' r='600' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23df489a'/%3E%3Cstop offset='1' stop-color='%23df489a' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='d' cx='600' cy='800' r='600' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23EC692D'/%3E%3Cstop offset='1' stop-color='%23EC692D' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='e' cx='0' cy='0' r='800' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23FFCE94'/%3E%3Cstop offset='1' stop-color='%23FFCE94' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='f' cx='1200' cy='0' r='800' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23543884'/%3E%3Cstop offset='1' stop-color='%23543884' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect fill='url(%23a)' width='1200' height='800'/%3E%3Crect fill='url(%23b)' width='1200' height='800'/%3E%3Crect fill='url(%23c)' width='1200' height='800'/%3E%3Crect fill='url(%23d)' width='1200' height='800'/%3E%3Crect fill='url(%23e)' width='1200' height='800'/%3E%3Crect fill='url(%23f)' width='1200' height='800'/%3E%3C/svg%3E");
  background-attachment: fixed;
  background-size: cover;
}

.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-banner p {
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn {
  background: var(--dark-navy);
  color: var(--white);
}

.cta-banner .btn:hover {
  background: var(--purple);
}

/* ── Itinerary Teaser ── */
.itinerary-card {
  display: flex;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.itinerary-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.itinerary-card .card-image {
  width: 40%;
  height: auto;
  min-height: 200px;
}

.itinerary-card .card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.coming-soon-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(66, 144, 168, 0.1);
  color: var(--teal);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
  width: fit-content;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .seasonal-highlight,
  .seasonal-highlight--featured {
    flex-direction: column;
    padding: 40px;
  }

  .seasonal-highlight-row {
    flex-direction: column;
  }

  .seasonal-highlight-image {
    width: 100%;
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .split-right {
    display: none;
  }

  .split-left {
    max-height: none;
    overflow-y: visible;
  }

  .map-visual {
    display: none;
  }

  .map-container {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(38, 33, 84, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 20px;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content h1 .script-accent {
    font-size: 3.5rem;
    margin-top: 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .card-grid-3,
  .card-grid-4,
  .card-grid-2 {
    grid-template-columns: 1fr;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

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

  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .newsletter-form {
    flex-direction: column;
  }

  .feature-card {
    height: 240px;
  }

  .itinerary-card {
    flex-direction: column;
  }

  .itinerary-card .card-image {
    width: 100%;
    height: 200px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content h1 .script-accent {
    font-size: 2.5rem;
  }

  .container {
    width: 92%;
  }
}

/* ════════════════════════════════════════════════════════
   WHERE TO STAY — Texture, Shapes & Visual Interest
   (scoped to .wts-* classes so other pages are unaffected)
   ════════════════════════════════════════════════════════ */

/* ── Wave Dividers between sections ── */
.wts-divider {
  line-height: 0;
  font-size: 0;
  position: relative;
  z-index: 1;
}

.wts-divider svg {
  display: block;
  width: 100%;
  height: 70px;
}

/* ── Textured directory section (blobs + pattern) ── */

.wts-textured {
  position: relative;
  overflow: hidden;
}

.wts-textured > .container {
  position: relative;
  z-index: 2;
}

/* Subtle cross-hatch pattern overlay */
.wts-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image:
    repeating-linear-gradient(45deg, #ffffff 0, #ffffff 1px, transparent 1px, transparent 24px),
    repeating-linear-gradient(-45deg, #ffffff 0, #ffffff 1px, transparent 1px, transparent 24px);
}

/* Floating organic blobs */
.wts-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.13;
  z-index: 0;
  pointer-events: none;
  filter: blur(2px);
}

.wts-blob-1 {
  width: 380px;
  height: 380px;
  background: var(--orange);
  top: -120px;
  right: -90px;
  animation: float 9s ease-in-out infinite;
}

.wts-blob-2 {
  width: 300px;
  height: 300px;
  background: var(--teal);
  bottom: -100px;
  left: -80px;
  animation: float 11s ease-in-out infinite reverse;
}

.wts-blob-3 {
  width: 220px;
  height: 220px;
  background: var(--light-orange);
  top: 38%;
  left: 3%;
  animation: float 13s ease-in-out infinite;
}

/* ── Featured Stay spotlight ── */
.wts-featured {
  position: relative;
  margin-bottom: 48px;
  background-color: #262154;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='65' height='65' viewBox='0 0 100 100'%3E%3Cg stroke='%23262154' stroke-width='24.5' stroke-opacity='0.5'%3E%3Crect fill='%23543884' x='-60' y='-60' width='97' height='240'/%3E%3C/g%3E%3C/svg%3E");
}

.wts-featured-label {
  display: inline-block;
  font-family: var(--font-script);
  font-weight: 600;
  font-size: 2rem;
  color: var(--light-orange);
  margin-bottom: 8px;
}

/* One continuous translucent-navy overlay spanning both the image and the
   text, so they share the same height and tint, while the square pattern
   still peeks out around the card's outer padding. */
.wts-featured::after {
  content: '';
  position: absolute;
  inset: 24px;
  background: rgba(38, 33, 84, 0.95);
  backdrop-filter: blur(2px);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 1;
  pointer-events: none;
}

/* Image sits in front of the overlay so it shows in full color */
.wts-featured .seasonal-highlight-image {
  position: relative;
  z-index: 2;
}

/* Text sits above the overlay so it stays crisp and readable */
.wts-featured .seasonal-highlight-content {
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  /* Stacked layout — keep a tighter frame */
  .wts-featured::after {
    inset: 16px;
  }
}

@media (max-width: 768px) {
  /* Calm the card down on phones: tighter spacing, no decorative frame */
  .wts-featured {
    padding: 24px;
    gap: 24px;
    border-radius: 16px;
  }

  /* Collapse the inset overlay so the busy striped pattern no longer
     peeks around the edges, and skip the blur (cheaper to render too) */
  .wts-featured::after {
    inset: 0;
    border-radius: 16px;
    backdrop-filter: none;
    box-shadow: none;
  }

  /* Smaller, phone-friendly image */
  .wts-featured .seasonal-highlight-image img {
    height: 200px;
  }

  /* Scale the type down */
  .wts-featured-label {
    font-size: 1.15rem;
    margin-bottom: 4px;
  }

  .wts-featured .seasonal-highlight-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }

  .wts-featured .seasonal-highlight-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  /* Tighter tag row + full-width tap target for the CTA */
  .wts-featured .card-tags {
    margin-bottom: 16px !important;
  }

  .wts-featured .btn {
    display: block;
    width: 100%;
    text-align: center;
  }
}





/* Lighter mini-tags so they read on the purple featured card */
.wts-mini-tag-light {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

/* ── Filter bar tweak for purple background ── */
.wts-filter-bar {
  margin-bottom: 40px;
}

/* ── Rich hotel cards ── */
.wts-card .card-image {
  position: relative;
}

.wts-card-ribbon {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--gradient-sunset);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(236, 105, 45, 0.4);
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .wts-divider svg {
    height: 45px;
  }
}

/* ════════════════════════════════════════
   Downtown Page (dt-) — scoped styles
   ════════════════════════════════════════ */

/* ── Hero band (merged intro): purple gradient + decorative shapes ── */
.dt-hero .hero-text-band {
  background: linear-gradient(to right, #262154, #482154);
  position: relative;
  overflow: hidden;
  padding: 44px 0;
}

.dt-hero .hero-text-band .container {
  position: relative;
  z-index: 2;
}

.dt-hero .hero-text-band h1 .script-accent {
  font-size: 2.4rem;
  margin-top: 6px;
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .dt-hero .hero-text-band h1 .script-accent {
    font-size: 1.9rem;
  }
}

.dt-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.dt-shape-1 {
  width: 340px;
  height: 340px;
  background: var(--teal);
  top: -140px;
  left: -100px;
  opacity: 0.35;
}

.dt-shape-2 {
  width: 400px;
  height: 400px;
  background: var(--orange);
  bottom: -180px;
  right: -120px;
  opacity: 0.28;
}

.dt-shape-3 {
  width: 200px;
  height: 200px;
  background: var(--cream);
  top: 24%;
  right: 16%;
  opacity: 0.14;
}

/* ── Wavy section dividers ── */
.dt-divider {
  line-height: 0;
}

.dt-divider svg {
  display: block;
  width: 100%;
  height: 70px;
}

.dt-divider-purple {
  background: linear-gradient(to right, #262154, #482154);
}

.dt-divider-cream {
  background: var(--off-white);
}

@media (max-width: 600px) {
  .dt-divider svg {
    height: 40px;
  }
}

/* ── Highlights: cream color-block with crosshatch texture ── */
.dt-highlights {
  background-color: var(--off-white);
  background-image:
    repeating-linear-gradient(45deg, rgba(84, 56, 132, 0.04) 0, rgba(84, 56, 132, 0.04) 1px, transparent 1px, transparent 26px),
    repeating-linear-gradient(-45deg, rgba(84, 56, 132, 0.04) 0, rgba(84, 56, 132, 0.04) 1px, transparent 1px, transparent 26px);
  color: var(--dark-text);
  position: relative;
  overflow: hidden;
}

.dt-highlights .section-label {
  color: var(--orange);
}

.dt-highlights .section-title {
  color: var(--dark-navy);
}

/* ── Highlight cards: photo-topped ── */
.dt-highlights .highlight-item {
  padding: 0;
  text-align: left;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.dt-highlights .highlight-image {
  height: 190px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  position: relative;
}

.dt-highlights .highlight-image::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--gradient-sunset);
}

.dt-highlights .highlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.dt-highlights .highlight-item:hover .highlight-image img {
  transform: scale(1.06);
}

.dt-highlights .highlight-body {
  padding: 24px 26px 30px;
}

.dt-highlights .highlight-item h3 {
  color: var(--dark-navy);
}

/* Staggered grid rhythm on desktop — transform keeps card heights equal */
@media (min-width: 1025px) {
  .dt-highlights .highlights-grid {
    padding-bottom: 32px;
  }

  .dt-highlights .highlight-item:nth-child(3n + 2) {
    transform: translateY(32px);
  }

  .dt-highlights .highlight-item:nth-child(3n + 2):hover {
    transform: translateY(28px);
  }
}

/* ── Must-See Spots: arched feature cards ── */
.dt-spots .feature-card {
  border-radius: 150px 150px 18px 18px;
  overflow: hidden;
}

.dt-spots .feature-card:nth-child(2) {
  border-radius: 18px;
}

.dt-spots .feature-card {
  cursor: default;
}

.dt-spots .feature-card:hover {
  transform: none;
  box-shadow: none;
}

.dt-spots .feature-card:hover img {
  transform: none;
}

/* ── Main Street: tilted, framed image ── */
.dt-mainstreet .seasonal-highlight-image {
  position: relative;
}

.dt-mainstreet .seasonal-highlight-image::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: rotate(-3deg) translate(-12px, 12px);
  border: 2px dashed rgba(255, 206, 148, 0.55);
  border-radius: 16px;
  pointer-events: none;
}

.dt-mainstreet .seasonal-highlight-image img {
  position: relative;
  transform: rotate(1.5deg);
}

@media (max-width: 768px) {
  .dt-mainstreet .seasonal-highlight-image::before {
    display: none;
  }

  .dt-mainstreet .seasonal-highlight-image img {
    transform: none;
  }
}

/* ── Info Card Icon Circles ── */
.info-card-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

.info-card-icon-circle--purple {
  background: rgba(84, 56, 132, 0.1);
  color: var(--purple);
}

.info-card-icon-circle--orange {
  background: rgba(236, 105, 45, 0.1);
  color: var(--orange);
}

.info-card-icon-circle--teal {
  background: rgba(66, 144, 168, 0.1);
  color: var(--teal);
}

/* ── Info Card heading alignment with icon circle ── */
.info-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Card Grid Responsive (ensure 3-col grid doesn't break) ── */
@media (max-width: 768px) {
  .card-grid-3 {
    grid-template-columns: 1fr;
  }
}


/* ════════════════════════════════════════════════════════════
   GETTING HERE — Redesigned transport rows (.gh- namespace)
   Alternating photo + overlapping glass content card for depth.
   Scoped so it does not affect other templates.
   ════════════════════════════════════════════════════════════ */

.gh-rows {
  display: flex;
  flex-direction: column;
  gap: 88px;
  margin-top: 56px;
}

.gh-row {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
}

/* Photo */
.gh-row__media {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.45);
}

.gh-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.gh-row:hover .gh-row__media img {
  transform: scale(1.05);
}

/* Overlapping solid content card — opaque so it never clashes with the photo */
.gh-row__content {
  position: relative;
  z-index: 2;
  margin-left: -72px;
  padding: 48px;
  border-radius: 22px;
  background: #1c1740;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

/* Colored accent bar along the top edge, keyed to the travel mode */
.gh-row__content::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--purple);
}

.gh-row--orange .gh-row__content::before { background: var(--orange); }
.gh-row--teal .gh-row__content::before   { background: var(--teal); }

/* Reverse rows: photo on the right, card overlaps from the left side */
.gh-row--reverse .gh-row__media {
  order: 2;
}

.gh-row--reverse .gh-row__content {
  order: 1;
  margin-left: 0;
  margin-right: -72px;
}

/* Icon chip */
.gh-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 18px;
}

.gh-row__icon--purple { background: rgba(132, 99, 184, 0.22); color: #cbb6ec; }
.gh-row__icon--orange { background: rgba(236, 105, 45, 0.22); color: #f8a260; }
.gh-row__icon--teal   { background: rgba(66, 144, 168, 0.24); color: #8fcfe0; }

.gh-row__eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 6px;
}

.gh-row__content h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 14px;
}

.gh-row__content > p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  font-weight: 300;
}

.gh-row__actions {
  margin-top: 22px;
}

/* Stat strip (replaces floating drive-time pills) */
.gh-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 26px 34px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.gh-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gh-stat__num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.1;
}

.gh-stat__label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}

/* Airport sub-cards inside the By Air row */
.gh-air-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.gh-air-card {
  padding: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.gh-air-card h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 8px;
}

.gh-air-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

/* Responsive — stack the row, drop the overlap */
@media (max-width: 900px) {
  .gh-rows { gap: 48px; }
  .gh-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .gh-row__media { aspect-ratio: 16 / 10; }
  .gh-row__content,
  .gh-row--reverse .gh-row__content {
    order: 2;
    margin: -36px 16px 0;
    padding: 32px;
  }
  .gh-row--reverse .gh-row__media { order: 1; }
}

@media (max-width: 560px) {
  .gh-air-cards { grid-template-columns: 1fr; }
  .gh-row__content,
  .gh-row--reverse .gh-row__content { padding: 26px; }
}

/* ════════ Getting Here — Travel Smart tips ════════ */
.gh-tips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 52px;
}

.gh-tip {
  position: relative;
  overflow: hidden;
  padding: 40px 34px 34px;
  border-radius: 18px;
  background: #1c1740;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gh-tip:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}

/* Top accent bar, keyed per tip */
.gh-tip::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
}
.gh-tip--purple::before { background: var(--purple); }
.gh-tip--orange::before { background: var(--orange); }
.gh-tip--teal::before   { background: var(--teal); }

/* Oversized faded step number */
.gh-tip__num {
  position: absolute;
  top: 14px;
  right: 22px;
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.gh-tip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  margin-bottom: 22px;
}
.gh-tip--purple .gh-tip__icon { background: rgba(132, 99, 184, 0.22); color: #cbb6ec; }
.gh-tip--orange .gh-tip__icon { background: rgba(236, 105, 45, 0.22); color: #f8a260; }
.gh-tip--teal .gh-tip__icon   { background: rgba(66, 144, 168, 0.24); color: #8fcfe0; }

.gh-tip h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 10px;
}

.gh-tip p {
  font-size: 0.92rem;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 900px) {
  .gh-tips { grid-template-columns: 1fr; gap: 18px; }
}

/* ════════ Getting Around — brand pills (reuses .gh- row system) ════════ */
.gh-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.gh-tag {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 7px 16px;
  border-radius: 30px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

/* Hide step numbers on Travel Smart / Choose Your Mode tip cards */
.gh-tip__num { display: none; }

/* ════════════════════════════════════════════════════════════
   HOMEPAGE DEPTH & LAYERING (scoped to body.home only)
   Goal: break up the flat purple wall from the intro section
   down to the Instagram section with alternating backgrounds,
   wave dividers, glows, overlaps, and layered shadows.
   ════════════════════════════════════════════════════════════ */

/* ── Purple sections: richer 135° gradient + soft teal/orange glows ── */
.home .home-section-purple {
  position: relative;
  background:
    radial-gradient(60% 90% at 88% 0%, rgba(66, 144, 168, 0.20), transparent 65%),
    radial-gradient(50% 80% at 5% 100%, rgba(236, 105, 45, 0.14), transparent 60%),
    linear-gradient(135deg, #262154 0%, #3a2a6e 55%, #543884 100%);
  color: var(--white);
}

/* ── Cream sections: warm light break so purple cards pop ── */
.home .home-section-cream {
  position: relative;
  background: #fdf4e7;
}

/* Keep section content above watermarks & waves */
.home .home-section-purple > .container,
.home .home-section-cream > .container {
  position: relative;
  z-index: 2;
}

/* ── Wave dividers (cream-filled SVG curves at section seams) ── */
.home .home-wave-bottom {
  padding-bottom: 170px;
}

.home .home-wave-bottom::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23fdf4e7' d='M0,48 C240,80 480,8 720,32 C960,56 1200,16 1440,52 L1440,80 L0,80 Z'/%3E%3C/svg%3E") bottom center / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 1;
}

.home .home-wave-top {
  padding-top: 170px;
}

.home .home-wave-top::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23fdf4e7' d='M0,32 C240,0 480,72 720,44 C960,16 1200,64 1440,24 L1440,0 L0,0 Z'/%3E%3C/svg%3E") top center / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 1;
}

/* ── Oversized script watermark words behind section content ── */
.home .home-watermark {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  font-family: var(--font-script);
  font-weight: 700;
  font-size: clamp(5rem, 13vw, 10rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.home .home-section-cream .home-watermark {
  color: rgba(84, 56, 132, 0.07);
}

/* Watermark text moved to CSS to avoid accessibility contrast flags */
.home .home-map .home-watermark::after     { content: "Gateway"; }
.home .home-explore .home-watermark::after { content: "Explore"; }
.home .home-social .home-watermark::after  { content: "Share"; }

/* Push the watermark below the top wave when one is present */
.home .home-wave-top .home-watermark {
  top: 110px;
}

/* ── Orange accent underline beneath section titles ── */
.home .home-intro .section-title::after,
.home .home-explore .section-title::after,
.home .home-social .section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: var(--gradient-sunset);
  margin-top: 16px;
}

.home .home-social .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

/* ── Intro: tilted photo with offset frame + glow (layered look) ── */
.home .home-intro .intro-image {
  position: relative;
}

.home .home-intro .intro-image::before {
  content: "";
  position: absolute;
  top: 22px;
  left: -22px;
  right: 22px;
  bottom: -22px;
  border: 3px solid rgba(248, 162, 96, 0.65);
  border-radius: 16px;
  z-index: 0;
}

.home .home-intro .intro-image::after {
  content: "";
  position: absolute;
  top: -36px;
  right: -36px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 206, 148, 0.30), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.home .home-intro .intro-image img {
  position: relative;
  z-index: 1;
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
  box-shadow: 0 24px 50px rgba(16, 12, 46, 0.45);
}

.home .home-intro .intro-image:hover img {
  transform: rotate(0deg) scale(1.01);
}

/* ── Map: purple card floats on the cream break ── */
.home .home-map {
  padding: 110px 0;
}

.home .home-map .map-container {
  background:
    radial-gradient(70% 100% at 90% 10%, rgba(66, 144, 168, 0.25), transparent 60%),
    linear-gradient(135deg, #262154 0%, #543884 100%);
  box-shadow:
    0 30px 60px rgba(38, 33, 84, 0.28),
    0 10px 24px rgba(38, 33, 84, 0.16);
}

/* ── Explore: staggered feature cards with deeper, colored shadows ── */
.home .home-explore .feature-card {
  box-shadow: 0 16px 36px rgba(16, 12, 46, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home .home-explore .feature-card:hover {
  box-shadow: 0 24px 50px rgba(16, 12, 46, 0.55);
}

@media (min-width: 1025px) {
  .home .home-explore .card-grid-4 .feature-card:nth-child(even) {
    margin-top: 44px;
  }

  .home .home-explore .card-grid-4 {
    padding-bottom: 44px;
  }
}

/* ── Featured event: card floats on cream, image breaks out of its frame ── */
.home .home-featured .seasonal-highlight {
  box-shadow:
    0 30px 60px rgba(38, 33, 84, 0.28),
    0 10px 24px rgba(38, 33, 84, 0.16);
}

.home .home-featured .seasonal-highlight-image {
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transform: rotate(-1.5deg);
  transition: transform 0.4s ease;
}

.home .home-featured .seasonal-highlight-image:hover {
  transform: rotate(0deg);
}

/* ── Instagram: flat strip → floating collage tiles ── */
.home .home-social .instagram-grid {
  gap: 16px;
  padding: 12px 32px 0;
}

.home .home-social .insta-item {
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(16, 12, 46, 0.45);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.home .home-social .insta-item:hover {
  transform: translateY(-6px) rotate(-1.5deg);
  box-shadow: 0 22px 44px rgba(16, 12, 46, 0.6);
}

@media (min-width: 769px) {
  /* Checkerboard stagger: every other tile sits lower */
  .home .home-social .insta-item:nth-child(even) {
    transform: translateY(26px);
  }

  .home .home-social .insta-item:nth-child(even):hover {
    transform: translateY(20px) rotate(1.5deg);
  }

  .home .home-social .instagram-grid {
    padding-bottom: 46px;
  }
}

/* ── Mobile adjustments ── */
@media (max-width: 768px) {
  .home .home-wave-bottom {
    padding-bottom: 120px;
  }

  .home .home-wave-top {
    padding-top: 120px;
  }

  .home .home-wave-bottom::after,
  .home .home-wave-top::before {
    height: 50px;
  }

  .home .home-wave-top .home-watermark {
    top: 70px;
  }

  /* Tone down the intro photo treatment on small screens */
  .home .home-intro .intro-image::before,
  .home .home-intro .intro-image::after {
    display: none;
  }

  .home .home-intro .intro-image img {
    transform: none;
  }

  .home .home-map {
    padding: 80px 0;
  }
}

/* ════════════════════════════════════════════════════════════
   SMASH BALLOON INSTAGRAM FEED OVERRIDES (homepage)
   Makes the [instagram-feed] shortcode output match the
   floating-collage tile design of the .home-social section.
   ════════════════════════════════════════════════════════════ */

/* ── Outer plugin container: full width, no plugin padding ── */
.home .home-social #sb_instagram {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  float: none !important;
  background: transparent !important;
}

/* ── The photo list becomes the centered collage grid ── */
.home .home-social #sb_instagram #sbi_images {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 16px !important;
  padding: 0 !important;
  padding-bottom: 46px !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: var(--container-max) !important; /* center to match page content (1200px) */
  float: none !important;
}

/* ── Hide Smash Balloon's default header ── */
.home .home-social #sb_instagram .sb_instagram_header {
  display: none !important;
}

/* ── Center the Load More / Follow buttons under the grid ── */
.home .home-social #sb_instagram #sbi_load {
  text-align: center !important;
  margin-top: 16px !important;
  float: none !important;
  width: 100% !important;
}

/* ── Make each .sbi_item behave like an .insta-item tile ── */
.home .home-social #sb_instagram .sbi_item {
  aspect-ratio: 1 !important;
  overflow: hidden !important;
  border-radius: 14px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(16, 12, 46, 0.45);
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: none !important;
}

/* ── Image fills the tile, scales on hover ── */
.home .home-social #sb_instagram .sbi_item img,
.home .home-social #sb_instagram .sbi_item .sbi_photo,
.home .home-social #sb_instagram .sbi_item .sbi_photo_wrap {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s ease !important;
  border-radius: 14px !important;
  display: block !important;
}

.home .home-social #sb_instagram .sbi_item:hover {
  transform: translateY(-6px) rotate(-1.5deg) !important;
  box-shadow: 0 22px 44px rgba(16, 12, 46, 0.6);
}

.home .home-social #sb_instagram .sbi_item:hover img {
  transform: scale(1.1) !important;
}

/* ── Checkerboard stagger: every other tile sits lower (desktop) ── */
@media (min-width: 769px) {
  .home .home-social #sb_instagram .sbi_item:nth-child(even) {
    transform: translateY(26px);
  }

  .home .home-social #sb_instagram .sbi_item:nth-child(even):hover {
    transform: translateY(20px) rotate(1.5deg) !important;
  }
}

/* ── Tablets: 3 columns ── */
@media (max-width: 1024px) {
  .home .home-social #sb_instagram #sbi_images {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .home .home-social #sb_instagram .sbi_item:nth-child(even) {
    transform: translateY(16px);
  }

  .home .home-social #sb_instagram .sbi_item:nth-child(even):hover {
    transform: translateY(12px) rotate(1.5deg) !important;
  }
}

/* ── Mobile: 2 columns ── */
@media (max-width: 600px) {
  .home .home-social #sb_instagram #sbi_images {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding-bottom: 26px !important;
  }

  .home .home-social #sb_instagram .sbi_item:nth-child(even) {
    transform: translateY(0);
  }

  .home .home-social #sb_instagram .sbi_item:nth-child(even):hover {
    transform: translateY(-6px) rotate(-1.5deg) !important;
  }
}

/* ── Hide the caption/likes hover overlay if present ── */
.home .home-social #sb_instagram .sbi_photo .sbi_hover_overlay {
  display: none !important;
}

/* ── Make the link fill the tile ── */
.home .home-social #sb_instagram .sbi_photo a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

* ════════════════════════════════════════════════════════════
   FLUENT FORMS — Contact Page Style Overrides
   Maps Fluent Forms' HTML output to match the original
   contact-form design. Scoped to .contact-form-wrapper so
   it does not affect any other Fluent Forms on the site.
   ════════════════════════════════════════════════════════════ */

.contact-form-wrapper .ff-form-wrap,
.contact-form-wrapper .ff-form-wrap form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Remove default FF bottom margins on field groups */
.contact-form-wrapper .ff-el-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0 !important;
}

/* Label styling to match original */
.contact-form-wrapper .ff-el-input--label label,
.contact-form-wrapper .ff-el-input--label .ff-el-is-required {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

/* Input & textarea — matches original .contact-field input/textarea */
.contact-form-wrapper .ff-form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: #fff;
  color: var(--dark-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: none;
}

.contact-form-wrapper .ff-form-control:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(84, 56, 132, 0.12);
}

.contact-form-wrapper textarea.ff-form-control {
  resize: vertical;
  min-height: 130px;
}

/* Submit button — matches original .btn .btn-primary pill style */
.contact-form-wrapper .ff-btn-submit,
.contact-form-wrapper .ff_submit_btn_container .ff-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--gradient-purple);
  color: var(--white) !important;
  border: none;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  width: auto !important;
}

.contact-form-wrapper .ff-btn-submit:hover,
.contact-form-wrapper .ff_submit_btn_container .ff-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* Validation error — use brand orange instead of FF default red */
.contact-form-wrapper .ff-el-form-control--error .ff-form-control {
  border-color: var(--orange) !important;
}

.contact-form-wrapper .error-message,
.contact-form-wrapper .ff-el-is-error {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--orange);
}

/* Success message — force dark text so it reads on the white info-card */
.contact-form-wrapper .ff-message-success,
.contact-form-wrapper .ff-message-success p,
.contact-form-wrapper .ff-success-message {
  color: var(--dark-navy) !important;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  background: rgba(66, 144, 168, 0.08);
  border: 1.5px solid var(--teal);
  border-radius: 10px;
  padding: 16px 20px;
}

/* Name field — force internal first/last sub-columns to stack full-width
   so it matches the single-column layout of all other fields */
.contact-form-wrapper .ff-el-group .ff-name-fields,
.contact-form-wrapper .ff-el-group .ff-name-field-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-wrapper .ff-el-group .ff-name-fields > div,
.contact-form-wrapper .ff-el-group .ff-name-field-group > div {
  width: 100% !important;
  flex: none !important;
  padding: 0 !important;
}

/* ════════ PRIVACY POLICY PAGE ════════ */

.policy-page-wrapper {
  background: linear-gradient(135deg, #262154 0%, #3a2a6e 55%, #543884 100%);
  padding: 120px 0 80px; /* top padding clears fixed navbar */
  min-height: 80vh;
}

.policy-page-inner {
  max-width: 820px;
}

/* ── Header block ── */
.policy-header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 3px solid var(--orange);
}

.policy-header .section-label {
  color: var(--cream);
  margin-bottom: 8px;
}

.policy-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.1;
}

.policy-meta {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ── Policy body copy ── */
.policy-content {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.policy-content strong {
  color: var(--white);
  font-weight: 600;
}

.policy-content p {
  margin-bottom: 1.1em;
}

.policy-content h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  margin: 0 0 12px;
}

.policy-content h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  color: var(--cream);
  letter-spacing: 0.3px;
  margin: 20px 0 6px;
}

.policy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 1.1em;
}

.policy-content ul li {
  margin-bottom: 6px;
}

.policy-content a {
  color: var(--light-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-content a:hover {
  color: var(--cream);
}

.policy-content address {
  font-style: normal;
  background: rgba(255, 255, 255, 0.07);
  border-left: 4px solid var(--orange);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 12px 0 20px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
}

.policy-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 36px 0;
}

/* ── Footer bottom privacy link ── */
.footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--cream);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .policy-page-wrapper {
    padding: 100px 0 60px;
  }

  .policy-title {
    font-size: 2rem;
  }

  .policy-content h2 {
    font-size: 1.3rem;
  }
}
