/*
Theme Name: Sunrise Pediatrics
Theme URI: https://sunrisepediatricslasvegas.com
Description: Custom child-friendly responsive WordPress theme for Sunrise Pediatrics Las Vegas. Playful, warm, and welcoming design focused on services, providers, and patient communication.
Author: Sunrise Pediatrics
Version: 1.0.1
Requires at least: 5.2
Requires PHP: 5.6
License: Private
Text Domain: sunrise-pediatrics
*/

/* ===== FONTS =====
   Primary fonts: Fredoka (headings) + Quicksand (body) - loaded from Google Fonts

   Legacy: Big Limbo BT font-face is kept below for fallback if needed.
   To use Big Limbo BT, place font files in /fonts/ folder and update --font-heading.
*/
@font-face {
  font-family: 'Big Limbo BT';
  src: url('fonts/BigLimboBT.woff2') format('woff2'),
       url('fonts/BigLimboBT.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ===== ACCESSIBILITY ===== */
/* Skip link for keyboard navigation */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy, #1B2A4A);
  color: #fff;
  padding: 1rem 2rem;
  z-index: 100000;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.3s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--sunshine, #FFD93D);
  outline-offset: 2px;
}

/* Screen reader only text */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip: auto !important;
  clip-path: none;
  height: auto;
  width: auto;
  margin: 0;
  overflow: visible;
  position: static;
}

/* Focus indicators for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid var(--sky-blue, #4AADE8);
  outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --sunrise-red: #c00020;
    --sky-blue: #0066cc;
    --navy: #000033;
  }
}

:root {
  /* Primary palette - warm & playful */
  --sunrise-red: #DD183B;
  --sunrise-red-dark: #b81230;
  --sunrise-red-light: #FF4D6D;
  --sky-blue: #4AADE8;
  --sky-blue-light: #E8F4FD;
  --sunshine: #FFD93D;
  --sunshine-light: #FFF8DC;
  --mint: #6BCB77;
  --mint-light: #E8F8EA;
  --lavender: #B197FC;
  --lavender-light: #F0EBFF;
  --coral: #FF6B6B;
  --peach: #FFEDE6;
  --peach-light: #FFF7F4;
  --bubble-pink: #FFB5C2;

  /* Neutrals */
  --navy: #1B2A4A;
  --navy-light: #2D3F63;
  --white: #ffffff;
  --cream: #FFFDF7;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #1a1a2e;

  /* Typography */
  --font-body: 'Quicksand', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Fredoka', 'Quicksand', sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;
}

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

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  line-height: 1.7;
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-blue); text-decoration: none; transition: all 0.25s; }
a:hover { color: var(--sunrise-red); }

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--navy); line-height: 1.25; }
h1 { font-size: 2.75rem; font-weight: 800; }
h2 { font-size: 2.1rem; font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 700; }
p { margin-bottom: 1rem; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ===== DECORATIVE ELEMENTS ===== */
/* Floating bubble dots used as background accents */
.bubbles-bg {
  position: relative;
  overflow: hidden;
}
.bubbles-bg::before,
.bubbles-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  z-index: 0;
}
.bubbles-bg::before {
  width: 300px;
  height: 300px;
  background: var(--sky-blue);
  top: -80px;
  right: -60px;
}
.bubbles-bg::after {
  width: 200px;
  height: 200px;
  background: var(--sunshine);
  bottom: -50px;
  left: -40px;
}
.bubbles-bg > * { position: relative; z-index: 1; }

/* Wavy section dividers */
.wave-top,
.wave-bottom {
  display: block;
  width: 100%;
  height: auto;
  line-height: 0;
}
.wave-top svg,
.wave-bottom svg {
  display: block;
  width: 100%;
  height: 50px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
  text-align: center;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--sunrise-red);
  color: var(--white);
  border-color: var(--sunrise-red);
  box-shadow: 0 4px 14px rgba(221,24,59,0.25);
}
.btn-primary:hover {
  background: var(--sunrise-red-dark);
  border-color: var(--sunrise-red-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(221,24,59,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--sunrise-red);
  border-color: var(--sunrise-red);
}
.btn-outline:hover {
  background: var(--sunrise-red);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-fun {
  background: var(--sky-blue);
  color: var(--white);
  border-color: var(--sky-blue);
  box-shadow: 0 4px 14px rgba(74,173,232,0.3);
}
.btn-fun:hover {
  background: #3A9AD8;
  border-color: #3A9AD8;
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  height: var(--header-height);
  border-bottom: 3px solid var(--sunshine);
}
#main-content {
  padding-top: var(--header-height);
}
/* WordPress admin bar: push fixed header down so the bar remains visible */
.admin-bar .site-header { top: 32px; }
.admin-bar #main-content { padding-top: calc(var(--header-height) + 32px); }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar #main-content { padding-top: calc(var(--header-height) + 46px); }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
  font-weight: 700;
}
.site-logo:hover { color: var(--navy); }
.site-logo-img {
  max-height: 60px;
  width: auto;
  height: auto;
  display: block;
}
.logo-icon {
  font-size: 2.25rem;
  color: var(--sunrise-red);
  filter: drop-shadow(0 2px 4px rgba(221,24,59,0.2));
}
.logo-text .logo-name {
  display: block;
  font-size: 1.3rem;
  font-family: var(--font-heading);
  color: var(--navy);
}
.logo-text .logo-tagline {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--sky-blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 0.15rem; }
.main-nav a {
  padding: 0.5rem 0.9rem;
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius-pill);
  transition: all 0.25s;
}
.main-nav a:hover,
.main-nav .current-menu-item a,
.main-nav .current_page_item a {
  color: var(--white);
  background: var(--sky-blue);
}

.mobile-toggle {
  display: none;
  background: var(--sky-blue-light);
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--sky-blue);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  transition: all 0.2s;
}
.mobile-toggle:hover { background: var(--sky-blue); color: var(--white); }

/* ===== HERO CAROUSEL ===== */
.hero {
  background: linear-gradient(135deg, #1B2A4A 0%, #2D3F63 40%, #3A5A8C 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Decorative circles in hero */
.hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,217,61,0.08);
  top: -120px;
  right: -80px;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(74,173,232,0.1);
  bottom: -60px;
  left: -40px;
  z-index: 0;
}
.hero-carousel {
  position: relative;
}
.hero-slide {
  display: none;
  padding: 5rem 0 4rem;
  min-height: 420px;
  animation: heroFadeIn 0.8s ease;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.hero-slide.active {
  display: flex;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-slide > * { position: relative; z-index: 1; }
.hero-slide-has-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.hero-slide-has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(27,42,74,0.35), rgba(27,42,74,0.5));
  z-index: 0;
}
.hero h1,
.hero h2 {
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.hero-subtitle {
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  max-width: 700px;
  margin: 0 auto 2.25rem;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}
.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.hero-dot.active,
.hero-dot:hover {
  background: var(--sunshine);
  border-color: var(--sunshine);
}

/* ===== VIDEO SECTION ===== */
.video-wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.video-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
}
.video-placeholder {
  background: var(--white);
  border: 3px dashed var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--gray-500);
}
.video-placeholder-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
  opacity: 0.4;
}
.video-placeholder-hint {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: 0.5rem;
}

/* ===== SECTIONS ===== */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--sky-blue-light); }
.section-peach { background: var(--peach-light); }
.section-mint { background: var(--mint-light); }
.section-sunshine { background: var(--sunshine-light); }
.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--sunshine), var(--sunrise-red), var(--sky-blue));
  margin: 0.75rem auto 0;
  border-radius: 4px;
}

/* ===== PROVIDER SPOTLIGHT LAYOUT (large left + sidebar right) ===== */
.spotlight-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}
.spotlight-card-large {
  text-align: left;
  padding: 2.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  border: 2px solid var(--sky-blue-light);
}
.spotlight-card-large .spotlight-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.spotlight-card-large .provider-initials {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--peach), var(--sky-blue-light));
  color: var(--sunrise-red);
  font-size: 2.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  border: 4px solid var(--white);
  box-shadow: 0 4px 16px rgba(74,173,232,0.15);
  flex-shrink: 0;
}
.spotlight-card-large .provider-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: 0 4px 16px rgba(74,173,232,0.15);
  flex-shrink: 0;
}
.spotlight-card-large h3 { margin-bottom: 0.25rem; font-size: 1.5rem; }
.spotlight-card-large .provider-title { color: var(--sky-blue); font-weight: 700; font-size: 1rem; margin-bottom: 0; }
.spotlight-card-large .provider-bio { color: var(--gray-700); font-size: 0.95rem; line-height: 1.8; }
.spotlight-label {
  display: inline-block;
  background: var(--sunshine);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 1.15rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== PROVIDERS SPOTLIGHT ROW (left spotlight + right horizontal carousel) ===== */
.providers-spotlight-row {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 2rem;
  align-items: stretch;
}

/* ===== PROVIDER CAROUSEL (horizontal, right of spotlight) ===== */
.provider-carousel-right {
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}
/* Fade left and right edges */
.provider-carousel-right::before,
.provider-carousel-right::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 2;
  pointer-events: none;
}
.provider-carousel-right::before {
  left: 0;
  background: linear-gradient(to right, var(--peach-light), transparent);
}
.provider-carousel-right::after {
  right: 0;
  background: linear-gradient(to left, var(--peach-light), transparent);
}

.carousel-track-right {
  display: flex;
  gap: 1rem;
  animation: carousel-scroll-right 50s linear infinite;
  width: max-content;
}
.carousel-track-right:hover {
  animation-play-state: paused;
}

@keyframes carousel-scroll-right {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

.carousel-card-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  padding: 1rem 0.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-100);
  color: var(--gray-900);
  text-decoration: none;
  transition: all 0.3s;
  flex-shrink: 0;
  width: 140px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.carousel-card-right:hover {
  border-color: var(--sky-blue);
  box-shadow: 0 6px 20px rgba(74,173,232,0.12);
  transform: translateY(-3px);
  color: var(--gray-900);
}
.carousel-card-right-photo {
  flex-shrink: 0;
}
.carousel-card-right-photo .provider-initials {
  width: 60px;
  height: 60px;
  font-size: 1.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--peach), var(--sky-blue-light));
  color: var(--navy);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.carousel-card-right-photo .provider-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.carousel-card-right strong {
  font-size: 0.8rem;
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.3;
}
.carousel-card-right span {
  font-size: 0.68rem;
  color: var(--sky-blue);
  font-weight: 600;
  line-height: 1.3;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.service-card {
  display: block;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  transition: all 0.3s;
  color: var(--gray-900);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}
/* Colorful top accent bar on each card */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sky-blue), var(--mint));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.service-card:nth-child(2)::before { background: linear-gradient(90deg, var(--sunrise-red-light), var(--sunshine)); }
.service-card:nth-child(3)::before { background: linear-gradient(90deg, var(--mint), var(--sky-blue)); }
.service-card:nth-child(4)::before { background: linear-gradient(90deg, var(--lavender), var(--bubble-pink)); }
.service-card:nth-child(5)::before { background: linear-gradient(90deg, var(--sunshine), var(--mint)); }
.service-card:nth-child(6)::before { background: linear-gradient(90deg, var(--coral), var(--sunshine)); }
.service-card:nth-child(7)::before { background: linear-gradient(90deg, var(--sky-blue), var(--lavender)); }
.service-card:nth-child(8)::before { background: linear-gradient(90deg, var(--bubble-pink), var(--peach)); }
.service-card:nth-child(9)::before { background: linear-gradient(90deg, var(--mint), var(--sunshine)); }
.service-card:hover {
  border-color: var(--sky-blue);
  box-shadow: 0 12px 32px rgba(74,173,232,0.12);
  transform: translateY(-4px);
  color: var(--gray-900);
}
.service-icon {
  font-size: 2.5rem;
  margin-bottom: 0.85rem;
  display: inline-block;
  /* Gentle bounce on hover */
  transition: transform 0.3s;
}
.service-card:hover .service-icon { transform: scale(1.15) rotate(-5deg); }
.service-card h3 { margin-bottom: 0.5rem; font-family: var(--font-heading); font-size: 1.15rem; }
.service-card p { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 0; }
.center-link { text-align: center; margin-top: 2.5rem; }

/* ===== LOCATIONS GRID ===== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.location-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 2px solid var(--gray-100);
  transition: all 0.3s;
  overflow: hidden;
}
.location-card:hover {
  border-color: var(--sunshine);
  box-shadow: 0 8px 24px rgba(255,217,61,0.12);
  transform: translateY(-3px);
}
.location-card-photo {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sky-blue), var(--mint));
  display: flex;
  align-items: center;
  justify-content: center;
}
.location-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.location-card-photo .location-placeholder {
  font-size: 3rem;
  color: var(--white);
  opacity: 0.6;
}
.location-card-body {
  padding: 1.5rem;
}
.location-card h3 {
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  color: var(--sky-blue);
}
.location-card p { color: var(--gray-700); font-size: 0.9rem; margin-bottom: 0.75rem; }
.location-phone {
  display: inline-block;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}
.location-phone:hover { color: var(--sunrise-red); }
.location-tagline {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

/* --- Location Themes --- */

/* Maryland Pkwy — Jungle: lush tropical greens */
.loc-theme-jungle .location-card-photo {
  background: linear-gradient(135deg, #1A4731, #2D6A4F, #52B788, #95D5B2);
}
.loc-theme-jungle .location-tagline { color: #2D6A4F; }
.loc-theme-jungle:hover { border-color: #52B788; }
.loc-theme-jungle .location-card-photo .location-placeholder { font-size: 4rem; }

/* Rainbow Blvd — Nautical: ocean blues and sandy tones */
.loc-theme-nautical .location-card-photo {
  background: linear-gradient(135deg, #0077B6, #00B4D8, #90E0EF, #CAF0F8);
}
.loc-theme-nautical .location-tagline { color: #0077B6; }
.loc-theme-nautical:hover { border-color: #00B4D8; }
.loc-theme-nautical .location-card-photo .location-placeholder { font-size: 4rem; filter: saturate(1.5) hue-rotate(-30deg); }

/* Smoke Ranch — Space: deep purples and starry dark */
.loc-theme-space .location-card-photo {
  background: linear-gradient(135deg, #1B0A3C, #3D1D72, #6C3BAA, #A855F7);
}
.loc-theme-space .location-tagline { color: #7C3AED; }
.loc-theme-space:hover { border-color: #A855F7; }
.loc-theme-space .location-card-photo .location-placeholder { font-size: 4rem; }

/* Henderson — Dinosaurs: earthy greens and warm tones */
.loc-theme-dino .location-card-photo {
  background: linear-gradient(135deg, #4D7C0F, #65A30D, #A3E635, #FDE047);
}
.loc-theme-dino .location-tagline { color: #4D7C0F; }
.loc-theme-dino:hover { border-color: #65A30D; }
.loc-theme-dino .location-card-photo .location-placeholder { font-size: 4rem; }

/* Themed top accent bars on contact cards */
.contact-card.loc-theme-jungle { border-top: 4px solid #2D6A4F; }
.contact-card.loc-theme-nautical { border-top: 4px solid #00B4D8; }
.contact-card.loc-theme-space { border-top: 4px solid #A855F7; }
.contact-card.loc-theme-dino { border-top: 4px solid #65A30D; }

/* ===== PROVIDERS PAGE ===== */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}
.provider-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-100);
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.provider-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sky-blue), var(--lavender));
}
.provider-card:nth-child(2)::before { background: linear-gradient(90deg, var(--mint), var(--sky-blue)); }
.provider-card:nth-child(3)::before { background: linear-gradient(90deg, var(--sunshine), var(--coral)); }
.provider-card:nth-child(4)::before { background: linear-gradient(90deg, var(--lavender), var(--bubble-pink)); }
.provider-card:nth-child(5)::before { background: linear-gradient(90deg, var(--coral), var(--sunshine)); }
.provider-card:nth-child(odd):nth-child(n+6)::before { background: linear-gradient(90deg, var(--sky-blue), var(--mint)); }
.provider-card:nth-child(even):nth-child(n+6)::before { background: linear-gradient(90deg, var(--sunshine), var(--lavender)); }
.provider-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.provider-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.provider-card .provider-initials {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--peach), var(--sky-blue-light));
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-heading);
  border: 3px solid var(--white);
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}
.provider-card h3 { margin-bottom: 0.15rem; font-size: 1.15rem; }
.provider-card .provider-title { color: var(--sky-blue); font-weight: 700; font-size: 0.82rem; }
.provider-card .provider-bio { color: var(--gray-700); font-size: 0.9rem; line-height: 1.75; }

/* ===== SERVICES NAVIGATION ===== */
.services-nav {
  margin-bottom: 2.5rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.services-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}
.services-nav-list li a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  background: var(--gray-50, #F9FAFB);
  color: var(--navy);
  text-decoration: none;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
  border: 1px solid var(--gray-200, #E5E7EB);
}
.services-nav-list li a:hover {
  background: var(--sky-blue);
  color: var(--white);
  border-color: var(--sky-blue);
  transform: translateY(-2px);
}
.services-nav-list .nav-icon {
  font-size: 1.1rem;
}
@media (max-width: 768px) {
  .services-nav-list {
    justify-content: flex-start;
  }
  .services-nav-list li a {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
  }
}

/* ===== SERVICES CTA ===== */
.services-cta {
  margin-top: 3rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--sky-blue-light) 0%, var(--peach) 100%);
  border-radius: var(--radius-lg);
  text-align: center;
}
.services-cta h2 {
  font-family: var(--font-heading);
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-size: 1.75rem;
}
.services-cta p {
  color: var(--gray-700);
  max-width: 500px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}
.services-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.services-cta .btn-outline {
  background: var(--white);
}

/* ===== SERVICES DETAIL ===== */
.service-detail {
  margin-bottom: 3.5rem;
  scroll-margin-top: calc(var(--header-height) + 1rem);
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.service-detail-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.service-detail h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--sunshine);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.service-detail h3 {
  font-family: var(--font-heading);
  margin: 1.5rem 0 0.5rem;
  font-size: 1.15rem;
  color: var(--sky-blue);
}
.service-detail ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}
.service-detail li {
  margin-bottom: 0.5rem;
  color: var(--gray-700);
  padding-left: 1.75rem;
  position: relative;
}
.service-detail li::before {
  content: '\2B50';
  position: absolute;
  left: 0;
  font-size: 0.85rem;
}
.service-detail p { color: var(--gray-700); }

/* ===== INSURANCE LIST ===== */
.insurance-list {
  max-width: 700px;
  margin: 0 auto;
  list-style: none;
}
.insurance-list li {
  padding: 1rem;
  margin-bottom: 0.5rem;
  background: var(--white);
  border-radius: var(--radius);
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: all 0.2s;
}
.insurance-list li:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transform: translateX(4px);
}
.insurance-list li::before {
  content: '\2705';
  font-size: 1.1rem;
}

/* ===== PAGE CONTENT ===== */
.page-content { padding: 3rem 0 4rem; }
.page-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: var(--gray-700);
  font-size: 1.1rem;
  line-height: 1.7;
}
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 40%, #3A5A8C 100%);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255,217,61,0.06);
  top: -80px;
  right: -40px;
}
.page-header > * { position: relative; z-index: 1; }
.page-header h1 { color: var(--white); margin-bottom: 0; text-shadow: 0 2px 8px rgba(0,0,0,0.15); }

/* ===== CONTACT INFO ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-100);
  padding: 0;
  overflow: hidden;
  transition: all 0.3s;
  text-align: center;
}
.contact-card:hover {
  border-color: var(--sky-blue);
  box-shadow: 0 8px 24px rgba(74,173,232,0.1);
  transform: translateY(-3px);
}
.contact-card h3 {
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
  color: var(--sky-blue);
}
.contact-card p { color: var(--gray-700); font-size: 0.95rem; }
.contact-card .phone-link {
  display: inline-block;
  font-weight: 700;
  color: var(--navy);
  margin-top: 0.75rem;
  font-size: 1.05rem;
  background: var(--sunshine-light);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  transition: all 0.2s;
}
.contact-card .phone-link:hover {
  background: var(--sunshine);
  color: var(--navy);
}
.contact-emoji { font-size: 2.25rem; margin-bottom: 0.75rem; display: block; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  color: var(--gray-300);
  padding: 3.5rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(74,173,232,0.05);
  bottom: -100px;
  left: -60px;
}
.footer-inner { text-align: center; position: relative; z-index: 1; }
.footer-brand { margin-bottom: 1.5rem; }
.footer-logo-link { display: inline-block; text-decoration: none; }
.footer-logo-img { max-height: 60px; width: auto; display: block; }
.footer-brand .logo-icon { display: inline; font-size: 1.75rem; color: var(--sunrise-red); }
.footer-brand .logo-name {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-left: 0.5rem;
}
.footer-address { color: var(--gray-500); font-size: 0.9rem; margin-top: 0.5rem; }
.footer-links {
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--gray-300);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-pill);
  transition: all 0.2s;
}
.footer-links a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.footer-copy { font-size: 0.8rem; color: var(--gray-500); }
/* ===== SPOTLIGHT SIDEBAR ===== */
.spotlight-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  border: 2px solid var(--sky-blue-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.spotlight-sidebar h3 { margin-bottom: 0.75rem; }
.spotlight-sidebar p { color: var(--gray-700); font-size: 0.95rem; margin-bottom: 1.5rem; }

/* ===== PROVIDER PHOTO STYLES ===== */
.provider-photo-wrap {
  flex-shrink: 0;
}
.provider-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}
.provider-card .provider-photo {
  width: 68px;
  height: 68px;
}
/* Photo placeholder when no image exists - uses initials circle */
.provider-photo-wrap .provider-initials {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--peach), var(--sky-blue-light));
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  border: 3px solid var(--white);
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* ===== WEAVE CHAT BUTTON ===== */
.weave-placeholder {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
}
.weave-btn {
  background: linear-gradient(135deg, var(--sky-blue), #3A9AD8);
  color: var(--white);
  border: none;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(74,173,232,0.35);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: weave-pulse 2.5s ease-in-out infinite;
}
.weave-btn:hover {
  background: linear-gradient(135deg, #3A9AD8, var(--sky-blue));
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 28px rgba(74,173,232,0.45);
}
@keyframes weave-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(74,173,232,0.35); }
  50% { box-shadow: 0 6px 28px rgba(74,173,232,0.5); }
}

/* Weave Popup Modal */
.weave-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  animation: weaveOverlayIn 0.3s ease;
}
.weave-popup-overlay.open {
  display: flex;
}
@keyframes weaveOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.weave-popup {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 420px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: weavePopIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
/* When iframe is present, expand the popup */
.weave-popup:has(.weave-iframe) {
  max-width: 480px;
  padding: 0;
  overflow: hidden;
}
.weave-iframe {
  width: 100%;
  height: 75vh;
  max-height: 650px;
  min-height: 400px;
  border: none;
  border-radius: var(--radius-lg);
  display: block;
}
.weave-popup:has(.weave-iframe) .weave-popup-close {
  top: 0.5rem;
  right: 0.5rem;
  z-index: 10;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.weave-popup-header {
  padding: 1.25rem 2.5rem 0.75rem;
  text-align: center;
}
.weave-popup-header h3 {
  font-family: var(--font-heading);
  color: var(--sky-blue);
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
}
.weave-hours-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--sunshine);
  color: var(--gray-700);
  font-size: 0.82rem;
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
  line-height: 1.4;
}
.weave-hours-icon { font-size: 1rem; }
.weave-legal {
  padding: 0.75rem 1.25rem 1rem;
  background: var(--gray-50, #F9FAFB);
  border-top: 1px solid var(--gray-100, #F3F4F6);
  max-height: 120px;
  overflow-y: auto;
}
.weave-legal p {
  font-size: 0.72rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin: 0 0 0.4rem;
  text-align: left;
}
.weave-legal p:last-child {
  margin-bottom: 0;
  text-align: center;
}
.weave-legal a {
  color: var(--sky-blue);
  text-decoration: none;
}
.weave-legal a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .weave-popup-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .weave-popup {
    max-width: 100%;
    width: 100%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
  }
  .weave-popup:has(.weave-iframe) {
    max-width: 100%;
  }
  .weave-iframe {
    height: 55vh;
    max-height: 450px;
    min-height: 280px;
    flex-shrink: 1;
    border-radius: 0;
  }
  .weave-popup-header {
    padding: 1rem 1.5rem 0.5rem;
  }
  .weave-popup-header h3 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
  }
  .weave-hours-notice {
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
  }
  .weave-popup-close {
    top: 0.4rem;
    right: 0.4rem;
  }
  .weave-legal {
    padding: 0.5rem 1rem 0.75rem;
    max-height: 90px;
  }
  .weave-legal p { font-size: 0.68rem; }
}
@keyframes weavePopIn {
  from { opacity: 0; transform: scale(0.85) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.weave-popup-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--gray-400);
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  transition: color 0.2s;
}
.weave-popup-close:hover { color: var(--gray-700); }
.weave-popup-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}
.weave-popup h3 {
  font-family: var(--font-heading);
  color: var(--sky-blue);
  margin-bottom: 0.75rem;
}
.weave-popup p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.weave-popup-cta {
  display: inline-block;
  font-size: 1.1rem;
  padding: 0.85rem 2rem;
}
.weave-popup-disclaimer {
  font-size: 0.82rem;
  color: var(--gray-600);
  background: var(--gray-50, #F9FAFB);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
  border-left: 3px solid var(--sky-blue);
}
.weave-popup-hint {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* ===== LOCATION HOURS ===== */
.location-hours {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--gray-200, #E5E7EB);
  font-size: 0.85rem;
  color: var(--gray-600);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
}
.location-hours .hours-icon {
  font-size: 1rem;
}
.location-hours .hours-text {
  font-weight: 500;
}
.location-hours .hours-saturday {
  color: var(--gray-500);
}
.location-hours .hours-saturday::before {
  content: '|';
  margin-right: 0.5rem;
  color: var(--gray-300);
}

/* Locations Emergency Info */
.locations-emergency {
  margin-top: 3rem;
  padding: 2rem;
  background: #FEF3F2;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--sunrise-red);
  text-align: center;
}
.locations-emergency h3 {
  color: var(--sunrise-red);
  font-family: var(--font-heading);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}
.locations-emergency p {
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.locations-emergency p:last-child {
  margin-bottom: 0;
}
.locations-emergency a {
  color: var(--sunrise-red);
  font-weight: 700;
}

/* Location Hours Detail (Locations Page) */
.location-hours-detail {
  margin-top: 1.25rem;
  padding: 1rem;
  background: var(--gray-50, #F9FAFB);
  border-radius: var(--radius);
  border-left: 3px solid var(--sky-blue);
}
.location-hours-detail h4 {
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.location-hours-detail .hours-icon {
  font-size: 1.1rem;
}
.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}
.hours-list li {
  color: var(--gray-700);
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
}
.hours-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--sky-blue);
  border-radius: 50%;
  margin-right: 0.6rem;
  flex-shrink: 0;
}

/* ===== FUN BACKGROUND PATTERN (subtle) ===== */
.fun-pattern {
  background-image:
    radial-gradient(circle at 20% 50%, rgba(74,173,232,0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,217,61,0.04) 0%, transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(107,203,119,0.04) 0%, transparent 50%);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  :root { --header-height: 64px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero-slide { padding: 3rem 0 2.5rem; min-height: 320px; }
  .section { padding: 3rem 0; }

  .mobile-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    gap: 0;
    border-top: 3px solid var(--sunshine);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.85rem 1rem; width: 100%; border-radius: var(--radius); }

  .services-grid { grid-template-columns: 1fr; }
  .providers-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .service-detail { padding: 1.5rem; }
  .spotlight-layout { grid-template-columns: 1fr; }
  .providers-spotlight-row { grid-template-columns: 1fr; }
  .provider-carousel-right { max-height: 220px; }
  .spotlight-card-large { text-align: center; }
  .spotlight-card-large .spotlight-header { flex-direction: column; text-align: center; }
  .spotlight-card-large .provider-initials,
  .spotlight-card-large .provider-photo { margin: 0 auto; }
  .provider-carousel { max-height: 320px; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.65rem; }
  .hero-slide { padding: 2.5rem 0 2rem; min-height: 280px; }
  .spotlight-card-large { padding: 1.5rem; }
}

/* ===== LEGAL PAGES (Privacy Policy, Terms, HIPAA) ===== */
.legal-page .legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 2.5rem 3rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.legal-page h2 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--sky-blue-light);
}
.legal-page h3 {
  font-size: 1.15rem;
  color: var(--sky-blue);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}
.legal-page h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.legal-page p {
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.legal-page ul {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}
.legal-page li {
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.legal-page strong {
  color: var(--navy);
}
.legal-updated {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200, #E5E7EB);
}
.legal-notice-box {
  background: var(--sky-blue-light);
  border-left: 4px solid var(--sky-blue);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.legal-notice-box p {
  margin-bottom: 0.5rem;
}
.legal-notice-box p:last-child {
  margin-bottom: 0;
}
.legal-notice-box ul {
  margin-bottom: 0;
}
.legal-notice-critical {
  background: #FEF3F2;
  border-left-color: var(--sunrise-red);
}
.legal-notice-critical h3 {
  color: var(--sunrise-red);
  margin-top: 0;
  margin-bottom: 0.75rem;
}
.legal-notice-hipaa {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-left-color: var(--sunshine);
  color: var(--white);
}
.legal-notice-hipaa h3 {
  color: var(--white);
  margin-top: 0;
  font-size: 1rem;
  line-height: 1.6;
}
.contact-info-box {
  background: var(--gray-50, #F9FAFB);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  border: 1px solid var(--gray-200, #E5E7EB);
}
.contact-info-box p {
  margin-bottom: 0.35rem;
}
.contact-info-box p:last-child {
  margin-bottom: 0;
}
.legal-links {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--gray-200, #E5E7EB);
}
.legal-links ul {
  list-style: none;
  padding-left: 0;
}
.legal-links li {
  margin-bottom: 0.5rem;
}
.legal-links a {
  color: var(--sky-blue);
  text-decoration: none;
  font-weight: 600;
}
.legal-links a:hover {
  text-decoration: underline;
}
.legal-acknowledgment {
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--sunshine-light, #FFF9E6);
  border-radius: var(--radius);
  border: 1px solid var(--sunshine);
}
.legal-acknowledgment p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Footer Legal Links */
.footer-legal {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-legal a {
  color: var(--gray-400);
  font-size: 0.8rem;
  text-decoration: none;
  margin: 0 0.75rem;
  transition: color 0.2s;
}
.footer-legal a:hover {
  color: var(--white);
}

/* Legal Page Responsive */
@media (max-width: 768px) {
  .legal-page .legal-content {
    padding: 1.5rem;
  }
  .legal-page h2 {
    font-size: 1.3rem;
  }
}

/* ===== CHILD-FRIENDLY INNER PAGE STYLES ===== */

/* Page Hero (replaces plain page-header) */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 40%, #4A7AB8 100%);
  color: var(--white);
  padding: 4rem 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--sky-blue);
  opacity: 0.08;
  top: -150px;
  right: -100px;
}
.page-hero::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: var(--sunshine);
  opacity: 0.08;
  bottom: -80px;
  left: -50px;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.page-hero-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}
.page-hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto;
}

/* Page Intro Large */
.page-intro-large {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  color: var(--gray-700);
  line-height: 1.8;
}

/* Services Quick Nav */
.services-quick-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.quick-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.25s;
  text-decoration: none;
  color: var(--navy);
  min-width: 90px;
}
.quick-nav-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  color: var(--sunrise-red);
}
.quick-nav-icon {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}
.quick-nav-item span:last-child {
  font-size: 0.8rem;
  font-weight: 600;
}

/* Service Detail Cards */
.service-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}
.service-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sky-blue), var(--mint), var(--sunshine));
}
.service-detail-card .service-detail-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.service-detail-card h2 {
  color: var(--navy);
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
}
.service-detail-content {
  color: var(--gray-700);
  line-height: 1.8;
}
.service-detail-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.service-detail-content li {
  margin-bottom: 0.5rem;
}

/* Info Boxes (colorful callouts) */
.info-box {
  padding: 1.5rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}
.info-box h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.info-box ul {
  margin-bottom: 0.5rem;
}
.info-box p:last-child {
  margin-bottom: 0;
}
.info-box-blue {
  background: var(--sky-blue-light);
  border-left: 4px solid var(--sky-blue);
}
.info-box-blue h3 { color: var(--sky-blue); }
.info-box-mint {
  background: var(--mint-light);
  border-left: 4px solid var(--mint);
}
.info-box-mint h3 { color: #2D9941; }
.info-box-coral {
  background: #FFF0EE;
  border-left: 4px solid var(--coral);
}
.info-box-coral h3 { color: var(--coral); }
.info-box-lavender {
  background: var(--lavender-light);
  border-left: 4px solid var(--lavender);
}
.info-box-lavender h3 { color: #7C4DFF; }
.info-box-sunshine {
  background: var(--sunshine-light);
  border-left: 4px solid var(--sunshine);
}
.info-box-sunshine h3 { color: #D4A500; }

/* Checkmark List */
.checkmark-list {
  list-style: none;
  padding-left: 0;
}
.checkmark-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.6rem;
}
.checkmark-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--mint);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Screening Grid */
.screening-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.screening-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  font-weight: 500;
}
.screening-check {
  color: var(--mint);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ===== SERVICES PAGE V2 ===== */

/* Quick Nav Chips */
.services-quick-nav-v2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.quick-nav-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  background: var(--white);
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.3s;
  border: 2px solid transparent;
}
.quick-nav-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.quick-nav-chip-icon {
  font-size: 1.3rem;
  line-height: 1;
}
/* Chip theme hover colors */
.quick-nav-chip.svc-theme-blue:hover { border-color: var(--sky-blue); color: var(--sky-blue); }
.quick-nav-chip.svc-theme-coral:hover { border-color: var(--coral); color: var(--coral); }
.quick-nav-chip.svc-theme-mint:hover { border-color: var(--mint); color: #2D9941; }
.quick-nav-chip.svc-theme-lavender:hover { border-color: var(--lavender); color: #7C4DFF; }
.quick-nav-chip.svc-theme-peach:hover { border-color: var(--coral); color: var(--coral); }
.quick-nav-chip.svc-theme-sunshine:hover { border-color: var(--sunshine); color: #D4A500; }

/* Service Cards V2 */
.services-section-v2 { padding-bottom: 2rem; }
.svc-card-v2 {
  display: grid;
  grid-template-columns: auto 1fr;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  margin-bottom: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.svc-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.svc-card-v2:target {
  animation: svc-highlight 1s ease;
}
@keyframes svc-highlight {
  0% { box-shadow: 0 0 0 4px var(--sky-blue); }
  100% { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
}

/* Accent sidebar */
.svc-card-accent {
  width: 80px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 2.5rem;
  position: relative;
}
.svc-card-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  opacity: 0.12;
}

/* Icon badge */
.svc-card-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  position: relative;
  z-index: 1;
  transition: transform 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.svc-card-v2:hover .svc-card-icon-badge {
  transform: scale(1.15) rotate(-5deg);
}

/* Card body */
.svc-card-body {
  padding: 2rem 2.5rem;
}
.svc-card-body h2 {
  color: var(--navy);
  font-size: 1.65rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}
.svc-card-body h2::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 50px;
  height: 3px;
  border-radius: 3px;
}
.svc-card-content {
  color: var(--gray-700);
  line-height: 1.8;
}
.svc-card-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.svc-card-content li { margin-bottom: 0.5rem; }

/* Flipped layout (accent on right) */
.svc-card-flip {
  grid-template-columns: 1fr auto;
}
.svc-card-flip .svc-card-accent {
  order: 2;
}
.svc-card-flip .svc-card-body {
  order: 1;
}

/* ---- Theme: Blue ---- */
.svc-theme-blue .svc-card-accent::before { background: var(--sky-blue); }
.svc-theme-blue .svc-card-icon-badge { background: linear-gradient(135deg, var(--sky-blue), #6BC5F8); color: var(--white); }
.svc-theme-blue .svc-card-body h2::after { background: linear-gradient(90deg, var(--sky-blue), var(--mint)); }
.svc-theme-blue:hover { border-left: 4px solid var(--sky-blue); }
.svc-theme-blue.svc-card-flip:hover { border-left: none; border-right: 4px solid var(--sky-blue); }

/* ---- Theme: Coral ---- */
.svc-theme-coral .svc-card-accent::before { background: var(--coral); }
.svc-theme-coral .svc-card-icon-badge { background: linear-gradient(135deg, var(--coral), #FF8E8E); color: var(--white); }
.svc-theme-coral .svc-card-body h2::after { background: linear-gradient(90deg, var(--coral), var(--sunshine)); }
.svc-theme-coral:hover { border-left: 4px solid var(--coral); }
.svc-theme-coral.svc-card-flip:hover { border-left: none; border-right: 4px solid var(--coral); }

/* ---- Theme: Mint ---- */
.svc-theme-mint .svc-card-accent::before { background: var(--mint); }
.svc-theme-mint .svc-card-icon-badge { background: linear-gradient(135deg, var(--mint), #8EE89A); color: var(--white); }
.svc-theme-mint .svc-card-body h2::after { background: linear-gradient(90deg, var(--mint), var(--sky-blue)); }
.svc-theme-mint:hover { border-left: 4px solid var(--mint); }
.svc-theme-mint.svc-card-flip:hover { border-left: none; border-right: 4px solid var(--mint); }

/* ---- Theme: Lavender ---- */
.svc-theme-lavender .svc-card-accent::before { background: var(--lavender); }
.svc-theme-lavender .svc-card-icon-badge { background: linear-gradient(135deg, var(--lavender), #C9B4FF); color: var(--white); }
.svc-theme-lavender .svc-card-body h2::after { background: linear-gradient(90deg, var(--lavender), var(--bubble-pink)); }
.svc-theme-lavender:hover { border-left: 4px solid var(--lavender); }
.svc-theme-lavender.svc-card-flip:hover { border-left: none; border-right: 4px solid var(--lavender); }

/* ---- Theme: Peach ---- */
.svc-theme-peach .svc-card-accent::before { background: var(--coral); }
.svc-theme-peach .svc-card-icon-badge { background: linear-gradient(135deg, #FF8E8E, var(--bubble-pink)); color: var(--white); }
.svc-theme-peach .svc-card-body h2::after { background: linear-gradient(90deg, var(--bubble-pink), var(--lavender)); }
.svc-theme-peach:hover { border-left: 4px solid var(--bubble-pink); }
.svc-theme-peach.svc-card-flip:hover { border-left: none; border-right: 4px solid var(--bubble-pink); }

/* ---- Theme: Sunshine ---- */
.svc-theme-sunshine .svc-card-accent::before { background: var(--sunshine); }
.svc-theme-sunshine .svc-card-icon-badge { background: linear-gradient(135deg, var(--sunshine), #FFE873); color: var(--navy); }
.svc-theme-sunshine .svc-card-body h2::after { background: linear-gradient(90deg, var(--sunshine), var(--mint)); }
.svc-theme-sunshine:hover { border-left: 4px solid var(--sunshine); }
.svc-theme-sunshine.svc-card-flip:hover { border-left: none; border-right: 4px solid var(--sunshine); }

/* Services V2 Responsive */
@media (max-width: 768px) {
  .svc-card-v2 {
    grid-template-columns: 1fr;
  }
  .svc-card-accent {
    width: 100%;
    height: 60px;
    padding-top: 0;
    align-items: center;
  }
  .svc-card-flip {
    grid-template-columns: 1fr;
  }
  .svc-card-flip .svc-card-accent { order: 0; }
  .svc-card-flip .svc-card-body { order: 0; }
  .svc-card-body { padding: 1.5rem; }
  .svc-card-body h2 { font-size: 1.35rem; }
  .svc-theme-blue:hover,
  .svc-theme-coral:hover,
  .svc-theme-mint:hover,
  .svc-theme-lavender:hover,
  .svc-theme-peach:hover,
  .svc-theme-sunshine:hover {
    border-left: none;
    border-right: none;
    border-top: 4px solid currentColor;
  }
  .svc-theme-blue.svc-card-flip:hover,
  .svc-theme-coral.svc-card-flip:hover,
  .svc-theme-mint.svc-card-flip:hover,
  .svc-theme-lavender.svc-card-flip:hover,
  .svc-theme-peach.svc-card-flip:hover,
  .svc-theme-sunshine.svc-card-flip:hover {
    border-right: none;
  }
  .quick-nav-chip { font-size: 0.8rem; padding: 0.5rem 0.85rem; }
  .quick-nav-chip-icon { font-size: 1.1rem; }
}

/* ===== END SERVICES V2 ===== */

/* Page CTA Box */
.page-cta {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.page-cta-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}
.page-cta h2 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.page-cta p {
  color: var(--gray-700);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.page-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Providers Grid Fun */
.providers-grid-fun {
  display: grid;
  gap: 2rem;
}
.provider-card-fun {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  padding: 2rem;
}
.provider-card-photo-wrap {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}
.provider-photo-large {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: 0 4px 16px rgba(74,173,232,0.15);
}
.provider-initials-large {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-blue) 0%, var(--lavender) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
}
.provider-card-info h2 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.provider-title-fun {
  color: var(--sky-blue);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.provider-bio-text {
  color: var(--gray-700);
  line-height: 1.7;
}
.provider-bio-text p {
  margin-bottom: 0;
}

/* Locations Grid Fun */
.locations-grid-fun {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.location-card-fun {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.location-card-fun-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.location-theme-icon {
  font-size: 2rem;
}
.location-theme-badge {
  background: rgba(255,255,255,0.2);
  color: var(--white);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
}
.location-card-fun-photo {
  height: 180px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.location-card-fun-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.location-placeholder-large {
  font-size: 4rem;
  opacity: 0.4;
}
.location-card-fun-body {
  padding: 1.5rem;
}
.location-card-fun-body h2 {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.location-tagline-fun {
  color: var(--sky-blue);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.location-info-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.location-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.location-info-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}
.location-phone-fun {
  color: var(--sunrise-red);
  font-weight: 700;
  font-size: 1.1rem;
}
.location-hours-fun {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.25rem;
}
.location-hours-fun h3 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.hours-list-fun {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hours-list-fun li {
  color: var(--gray-700);
  font-size: 0.9rem;
  padding: 0.2rem 0;
}
.location-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.location-actions .btn {
  flex: 1;
  min-width: 130px;
  text-align: center;
  font-size: 0.9rem;
}

/* Location Theme Colors */
.loc-theme-jungle .location-card-fun-header { background: linear-gradient(135deg, #1A4731 0%, #52B788 100%); }
.loc-theme-nautical .location-card-fun-header { background: linear-gradient(135deg, #4AADE8 0%, #6BC5F8 100%); }
.loc-theme-space .location-card-fun-header { background: linear-gradient(135deg, #1B2A4A 0%, #3A5A8C 100%); }
.loc-theme-dino .location-card-fun-header { background: linear-gradient(135deg, #6BCB77 0%, #8EE89A 100%); }

/* ===== LOCATION GALLERY CAROUSEL ===== */
.loc-gallery-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.loc-gallery-slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.loc-gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.loc-gallery-slide.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}
.loc-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.loc-gallery-prev,
.loc-gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.25s, background 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.loc-gallery-carousel:hover .loc-gallery-prev,
.loc-gallery-carousel:hover .loc-gallery-next,
.loc-gallery-prev:focus,
.loc-gallery-next:focus {
  opacity: 1;
}
.loc-gallery-prev:hover,
.loc-gallery-next:hover {
  background: rgba(0, 0, 0, 0.7);
}
.loc-gallery-prev { left: 8px; }
.loc-gallery-next { right: 8px; }
.loc-gallery-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  padding: 5px 10px;
  border-radius: 20px;
  z-index: 3;
}
.loc-gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s;
}
.loc-gallery-dot.active,
.loc-gallery-dot:hover {
  background: var(--sunshine, #FFD93D);
  border-color: var(--sunshine, #FFD93D);
}

/* Mobile: always show carousel arrows */
@media (max-width: 768px) {
  .loc-gallery-prev,
  .loc-gallery-next {
    opacity: 1;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }
  .loc-gallery-dots {
    padding: 4px 8px;
    gap: 5px;
  }
  .loc-gallery-dot {
    width: 8px;
    height: 8px;
  }
}

/* Emergency Box */
.emergency-box {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.emergency-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.emergency-box h2 {
  color: var(--sunrise-red);
  margin-bottom: 1rem;
}
.emergency-box p {
  color: var(--gray-700);
  margin-bottom: 0.75rem;
}

/* Insurance Grid */
.insurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.insurance-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.insurance-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.insurance-card h2 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--sky-blue-light);
}
.insurance-list-fun {
  list-style: none;
  padding: 0;
  margin: 0;
}
.insurance-list-fun li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem;
}
.insurance-list-fun li:last-child {
  border-bottom: none;
}
.check-icon {
  color: var(--mint);
  font-weight: 700;
  flex-shrink: 0;
}
.insurance-note {
  display: block;
  width: 100%;
  font-size: 0.85rem;
  color: var(--gray-500);
  padding-left: 1.25rem;
}

/* About Page Styles */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.about-card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.about-card h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1rem;
}
.about-card p {
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.feature-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.feature-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.75rem;
}
.feature-item h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.feature-item p {
  color: var(--gray-700);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Contact Grid Fun */
.contact-grid-fun {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.contact-card-fun {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}
.contact-card-fun:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.contact-card-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}
.contact-card-fun h2 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.contact-card-tagline {
  color: var(--sky-blue);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.contact-card-address {
  color: var(--gray-700);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.contact-card-phone {
  display: inline-block;
  color: var(--sunrise-red);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}
.contact-card-phone:hover {
  color: var(--sunrise-red-dark);
}
.contact-card-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Inner Page Responsive */
@media (max-width: 768px) {
  .page-hero { padding: 3rem 0 2.5rem; }
  .page-hero-icon { font-size: 3rem; }
  .page-hero-subtitle { font-size: 1.1rem; }
  .page-intro-large { font-size: 1.05rem; }

  .quick-nav-item { min-width: 80px; padding: 0.6rem 0.75rem; }
  .quick-nav-icon { font-size: 1.5rem; }

  .service-detail-card { padding: 1.5rem; }
  .service-detail-card h2 { font-size: 1.4rem; }

  .provider-card-fun {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .provider-card-photo-wrap {
    margin: 0 auto;
  }

  .locations-grid-fun { grid-template-columns: 1fr; }

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

  .about-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .contact-grid-fun { grid-template-columns: 1fr; }

  .page-cta-buttons { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; max-width: 280px; }
}

/* ===== BREADCRUMBS ===== */
.breadcrumb-nav {
  background: #f5f7fa;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e2e6ea;
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  font-family: var(--font-body, 'Quicksand', sans-serif);
}
.breadcrumb-item + .breadcrumb-item::before {
  content: '\203A';
  margin: 0 0.5rem;
  color: #999;
}
.breadcrumb-item a {
  color: var(--sky-blue, #4AADE8);
  text-decoration: none;
}
.breadcrumb-item a:hover {
  text-decoration: underline;
}
.breadcrumb-item:last-child span {
  color: #555;
  font-weight: 600;
}

/* ===== 404 PAGE ===== */
.error-404-section {
  padding: 4rem 0;
  text-align: center;
}
.error-404-content {
  max-width: 600px;
  margin: 0 auto;
}
.error-404-illustration {
  display: block;
  margin: 0 auto 1.5rem;
  max-width: 280px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.12));
}
.error-404-content h1 {
  font-family: var(--font-heading, 'Fredoka', sans-serif);
  font-size: 2.2rem;
  color: var(--navy, #1B2A4A);
  margin-bottom: 1rem;
}
.error-404-content > p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}
.error-404-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.error-404-phone {
  font-size: 1.1rem;
  color: #333;
}
.error-404-phone a {
  color: var(--sunrise-red, #DD183B);
  font-weight: 700;
  text-decoration: none;
}
.error-404-phone a:hover {
  text-decoration: underline;
}

/* ===== FAQ ACCORDION ===== */
.faq-accordion-section {
  padding: 3rem 0 4rem;
  background: #f9fbfd;
}
.faq-accordion-section .section-title {
  margin-bottom: 2rem;
}
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.25rem 1.5rem;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-heading, 'Fredoka', sans-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy, #1B2A4A);
  text-align: left;
  gap: 1rem;
}
.faq-question:hover {
  background: #f0f6ff;
}
.faq-icon {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--sky-blue, #4AADE8);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: #555;
  line-height: 1.7;
}
.faq-answer p {
  margin: 0;
}

/* ===== SEARCH STYLES ===== */
.search-results-section {
  padding: 3rem 0 4rem;
}
.search-results-section h1 {
  font-family: var(--font-heading, 'Fredoka', sans-serif);
  color: var(--navy, #1B2A4A);
  margin-bottom: 1.5rem;
}
.search-results-form {
  margin-bottom: 2rem;
}
.search-form {
  display: flex;
  gap: 0.5rem;
  max-width: 500px;
}
.search-field {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-body, 'Quicksand', sans-serif);
}
.search-field:focus {
  border-color: var(--sky-blue, #4AADE8);
}
.search-submit {
  padding: 0.75rem 1.5rem;
  background: var(--sky-blue, #4AADE8);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body, 'Quicksand', sans-serif);
}
.search-submit:hover {
  background: #3899d4;
}
.search-result-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid #eee;
}
.search-result-item h2 {
  font-family: var(--font-heading, 'Fredoka', sans-serif);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.search-result-item h2 a {
  color: var(--navy, #1B2A4A);
  text-decoration: none;
}
.search-result-item h2 a:hover {
  color: var(--sky-blue, #4AADE8);
}
.search-result-excerpt {
  color: #555;
  margin-bottom: 0.5rem;
}
.search-result-link {
  color: var(--sky-blue, #4AADE8);
  font-weight: 600;
  text-decoration: none;
}
.search-result-link:hover {
  text-decoration: underline;
}
.search-no-results {
  text-align: center;
  padding: 3rem 0;
}
.search-no-results p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1.5rem;
}
.search-no-results-links {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== SINGLE LOCATION PAGE ===== */
.single-location-hero {
  color: var(--white);
  padding: 4rem 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.single-location-hero > * { position: relative; z-index: 1; }
.single-location-hero h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.single-location-theme-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.75rem;
}

/* Single Location Gallery */
.single-location-gallery {
  padding: 2rem 0;
  background: var(--gray-50);
}
.single-gallery-carousel {
  max-width: 800px;
  margin: 0 auto;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.single-gallery-single {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.single-gallery-single img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* Content + Sidebar Layout */
.single-location-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
}
.single-location-content .entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
}
.single-location-content .entry-content h2 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.single-location-content .entry-content p {
  margin-bottom: 1.25rem;
}

/* Contact Info Sidebar */
.single-location-info {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}
.single-location-info.loc-theme-jungle { border-top: 4px solid #2D6A4F; }
.single-location-info.loc-theme-nautical { border-top: 4px solid #00B4D8; }
.single-location-info.loc-theme-space { border-top: 4px solid #A855F7; }
.single-location-info.loc-theme-dino { border-top: 4px solid #65A30D; }
.single-location-info h2 {
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}
.single-location-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.single-location-info-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}
.single-location-info-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.single-location-info-actions .btn {
  text-align: center;
  width: 100%;
}

@media (max-width: 900px) {
  .single-location-layout {
    grid-template-columns: 1fr;
  }
  .single-location-info {
    position: static;
  }
}
@media (max-width: 768px) {
  .single-location-hero {
    padding: 3rem 0 2.5rem;
  }
  .single-gallery-carousel,
  .single-gallery-single img {
    height: 260px;
  }
}

/* ===== BLOG — SINGLE POST ===== */

/* Hero banner */
.blog-post-hero {
  position: relative;
  background: var(--navy);
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}
.blog-post-hero--has-image {
  background-size: cover;
  background-position: center;
  padding: 6rem 0 4rem;
}
.blog-post-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,42,74,0.88) 0%, rgba(27,42,74,0.70) 100%);
}
.blog-post-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.blog-post-hero__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.blog-post-hero__title {
  color: #fff;
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.blog-post-hero__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin: 0;
}
.blog-post-hero__date {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.blog-post-hero__divider { opacity: 0.5; }

/* Category badge */
.blog-cat-badge {
  display: inline-block;
  background: var(--sky-blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: background 0.2s;
}
.blog-cat-badge:hover { background: var(--sunrise-red); color: #fff; }
.blog-cat-badge--sm { font-size: 0.7rem; padding: 0.2rem 0.7rem; }

/* Two-column layout: content + sidebar */
.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
  padding: 3rem 0 4rem;
}

/* Post body typography */
.blog-post-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--gray-700);
}
.blog-post-body h2 {
  font-size: 1.55rem;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--sky-blue-light);
}
.blog-post-body h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin: 1.5rem 0 0.5rem;
}
.blog-post-body p { margin-bottom: 1.25rem; }
.blog-post-body ul,
.blog-post-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.blog-post-body li { margin-bottom: 0.4rem; }
.blog-post-body strong { color: var(--navy); }
.blog-post-body a { color: var(--sky-blue); text-decoration: underline; }
.blog-post-body a:hover { color: var(--sunrise-red); }

/* Medical disclaimer block (auto-appended by automation) */
.blog-post-body .medical-disclaimer {
  margin-top: 2.5rem;
  border-radius: var(--radius);
}
.blog-post-body .photo-credit {
  font-size: 0.78rem;
  color: var(--gray-500);
  text-align: right;
  margin-top: 0.5rem;
}

/* Tags */
.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}
.blog-post-tags__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.25rem;
}
.blog-tag-pill {
  display: inline-block;
  background: var(--sky-blue-light);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  transition: background 0.2s, color 0.2s;
}
.blog-tag-pill:hover { background: var(--sky-blue); color: #fff; }

/* Back to blog nav */
.blog-post-nav { margin-top: 2rem; }
.blog-post-nav__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Sidebar cards */
.blog-post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}
.blog-sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.blog-sidebar-card--cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: rgba(255,255,255,0.85);
  text-align: center;
}
.blog-sidebar-card--cta .blog-sidebar-card__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--sky-blue);
}
.blog-sidebar-card--cta h3 { color: #fff; margin-bottom: 0.5rem; font-size: 1.15rem; }
.blog-sidebar-card--cta p { font-size: 0.9rem; margin-bottom: 1.25rem; }
.blog-sidebar-card__heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--sky-blue-light);
}
.blog-sidebar-card p { font-size: 0.9rem; color: var(--gray-700); margin: 0; }
.blog-sidebar-cats {
  list-style: none;
  padding: 0;
  margin: 0;
}
.blog-sidebar-cats li { margin-bottom: 0.4rem; }
.blog-sidebar-cats a {
  font-size: 0.9rem;
  color: var(--sky-blue);
  font-weight: 600;
}
.blog-sidebar-cats a:hover { color: var(--sunrise-red); }
.btn--full { width: 100%; display: block; text-align: center; }

/* ===== BLOG — HOME PAGE SECTION ===== */

.section-blog-home {
  background: linear-gradient(160deg, var(--sky-blue-light) 0%, var(--mint-light) 100%);
  padding: 1rem 0;
}
.blog-home-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.blog-home-header .section-title { margin-bottom: 0.15rem; }
.blog-home-subtitle {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin: 0;
  max-width: 480px;
}
/* Desktop: show button in header row, hide the mobile one below grid */
.blog-home-all-btn { flex-shrink: 0; }
.blog-home-mobile-cta { display: none; }

@media (max-width: 768px) {
  .blog-home-header { flex-direction: column; align-items: flex-start; }
  .blog-home-all-btn { display: none; }
  .blog-home-mobile-cta { display: block; margin-top: 1.5rem; }
}

/* ===== BLOG — ARCHIVE / LISTING ===== */

.blog-archive-header { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); }
.blog-archive-header h1 { color: #fff; }
.blog-archive-header__sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  margin-top: 0.5rem;
  max-width: 560px;
}

/* Post card grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 0.5rem 0 0;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.blog-card__image-wrap { display: block; overflow: hidden; height: 110px; }
.blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card__image { transform: scale(1.04); }
.blog-card__image-placeholder {
  height: 110px;
  background: var(--sky-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-blue);
}
.blog-card__body {
  padding: 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.3rem;
}
.blog-card__title {
  font-size: 0.95rem;
  line-height: 1.3;
  margin: 0;
}
.blog-card__title a { color: var(--navy); }
.blog-card__title a:hover { color: var(--sunrise-red); }
.blog-card__date { font-size: 0.75rem; color: var(--gray-500); margin: 0; }
.blog-card__excerpt { font-size: 0.8rem; color: var(--gray-700); flex: 1; margin: 0; }
.blog-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sky-blue);
  margin-top: 0.25rem;
  align-self: flex-start;
}
.blog-card__read-more:hover { color: var(--sunrise-red); }

/* Pagination */
.blog-pagination {
  padding: 1rem 0 3rem;
  display: flex;
  justify-content: center;
}
.blog-pagination .page-numbers {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}
.blog-pagination .page-numbers li a,
.blog-pagination .page-numbers li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 2px solid var(--gray-200);
  transition: all 0.2s;
  padding: 0 0.85rem;
}
.blog-pagination .page-numbers li a:hover { border-color: var(--sky-blue); color: var(--sky-blue); }
.blog-pagination .page-numbers li .current {
  background: var(--sky-blue);
  border-color: var(--sky-blue);
  color: #fff;
}

.blog-empty {
  text-align: center;
  color: var(--gray-500);
  padding: 4rem 0;
  font-size: 1.05rem;
}

/* Responsive — blog */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-post-layout { grid-template-columns: 1fr; }
  .blog-post-sidebar { position: static; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-post-hero__title { font-size: 1.75rem; }
  .blog-post-hero--has-image { padding: 4rem 0 3rem; }
}

/* ===== PRINT STYLES ===== */
@media print {
  /* Hide non-essential elements */
  .site-header,
  .main-nav,
  .mobile-toggle,
  .skip-link,
  .breadcrumb-nav,
  .hero-section,
  .hero-carousel,
  .weave-placeholder,
  .weave-popup-overlay,
  #weave-chat,
  #weave-popup,
  .footer-main,
  .footer-bottom,
  footer,
  .page-cta-buttons,
  .error-404-buttons,
  .search-form,
  .search-submit,
  .search-no-results-links,
  .search-pagination,
  .video-section,
  .btn,
  button:not(.faq-question) {
    display: none !important;
  }

  /* Reset backgrounds and colors */
  body,
  main,
  section,
  .page-hero,
  .page-content,
  .faq-accordion-section,
  .service-detail-card,
  .provider-card-fun,
  .location-card-fun,
  .faq-item {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }

  /* Show URLs after links */
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555;
    word-break: break-all;
  }
  a[href^="#"]::after,
  a[href^="tel:"]::after,
  a[href^="sms:"]::after {
    content: none;
  }

  /* Expand all FAQ answers */
  .faq-answer {
    display: block !important;
  }
  .faq-answer[hidden] {
    display: block !important;
  }
  .faq-icon {
    display: none;
  }

  /* Prevent page breaks inside cards */
  .service-detail-card,
  .provider-card-fun,
  .location-card-fun,
  .faq-item,
  .insurance-item,
  .search-result-item {
    page-break-inside: avoid;
  }

  /* Page margins */
  @page {
    margin: 1.5cm;
  }

  /* Ensure text is readable */
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
  h1, h2, h3 {
    color: #000 !important;
    page-break-after: avoid;
  }
}
