/* =========================================================
   PREVIEW ONLY — faded pink lotus background design system
   Shared across index.html, about.html, etc.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&display=swap');

/* Move the cream canvas color from body to html so the
   fixed lotus background isn't covered. */
html { background: #faf7f2; }
body { background: transparent !important; }

/* Strip page-specific gradient backgrounds so the pink lotus
   shows through behind the headlines. */
.hero { background: transparent !important; }
.page-header { background: transparent !important; }

/* ---------- Faded pink lotus full-page background ---------- */
.bg-pink-lotus {
  position: fixed;
  inset: 0;
  background-image: url('pinklotus.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  /* Rectangular vignette: two linear gradients (H + V) intersected so the
     visible region is a soft-edged rectangle rather than an oval */
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, black 15%, black 85%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
          mask-image:
    linear-gradient(to right,  transparent 0%, black 15%, black 85%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
  animation: pinkLotusFadeIn 3s ease-out 0.3s forwards;
}
@keyframes pinkLotusFadeIn {
  from { opacity: 0; }
  to   { opacity: 0.95; }
}
/* Skip the fade-in on inner pages (which use .page-header) — only the home page animates */
body:has(.page-header) .bg-pink-lotus {
  opacity: 0.95 !important;
  animation: none !important;
}
/* Mobile: show a featured portion of the lotus + leaves (experiment — easy to revert) */
@media (max-width: 768px) {
  .bg-pink-lotus {
    display: block !important;
    opacity: 0.55;
    background-size: cover;
    background-position: 90% center;     /* features the lotus on the right + leaf shadows */
    /* Lock the background size so it doesn't resize with the address bar
       showing/hiding (which would otherwise cause a zoom effect on scroll) */
    bottom: auto !important;
    height: 100vh !important;            /* fallback */
    height: 100lvh !important;           /* large viewport — stays put as URL bar collapses */
    /* Replace the rectangular vignette with a single soft radial fade */
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 85%) !important;
            mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 85%) !important;
    -webkit-mask-composite: source-over !important;
            mask-composite: add !important;
  }
}

/* ---------- Elegant divider (replaces wave dividers) ---------- */
.elegant-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 1rem;
  max-width: 500px;
  margin: 0 auto;
}
.elegant-divider__line { flex: 1; height: 1px; }
.elegant-divider__line:first-child {
  background: linear-gradient(90deg, transparent, rgba(196,168,130,0.55));
}
.elegant-divider__line:last-child {
  background: linear-gradient(90deg, rgba(196,168,130,0.55), transparent);
}
.elegant-divider__lotus {
  width: 22px; height: 22px; opacity: 0.85; flex-shrink: 0;
}

/* ---------- "What to Expect" section glow + frosted cards ---------- */
.section--alt {
  background: transparent !important;
  position: relative;
}
.section--alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 40%, rgba(196,168,130,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 60%, rgba(122,139,111,0.12) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.section--alt > * { position: relative; z-index: 1; }
.section--alt .feature-card {
  background: rgba(255, 250, 244, 0.72) !important;
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid rgba(196,168,130,0.25);
  box-shadow:
    0 12px 40px rgba(122,139,111,0.10),
    0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.section--alt .feature-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 48px rgba(122,139,111,0.18),
    0 4px 12px rgba(0,0,0,0.06);
}

/* ---------- Hero typographic accent ---------- */
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(120deg, #c4a882 0%, #b89668 60%, #d4b893 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  letter-spacing: 0.01em;
}

/* ---------- Script accent (Allura) ---------- */
.script-accent {
  font-family: 'Allura', cursive;
  font-weight: 400;
  color: #7a5a28;          /* deeper gold/bronze — stands out from the cream + lotus */
  line-height: 1;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.12),
    0 1px 2px rgba(196, 168, 130, 0.45);
}
.welcome-section__accent {
  font-size: clamp(3.5rem, 7vw, 5rem);
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}

/* Match the welcome paragraph size to the hero paragraph at every breakpoint */
.welcome-section .container > p { font-size: 1.1rem !important; }
@media (max-width: 768px) {
  .welcome-section .container > p { font-size: 1rem !important; }
}
@media (max-width: 480px) {
  .welcome-section .container > p { font-size: 0.92rem !important; }
}

/* ---------- Page-header titles in Allura script (every page except home) ---------- */
.page-header h1 {
  font-family: 'Allura', cursive !important;
  font-size: clamp(3rem, 5.5vw, 4.5rem) !important;
  font-weight: 400 !important;
  color: #7a5a28 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em;
  margin: 0 0 0.3rem !important;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.13),
    0 1px 2px rgba(196, 168, 130, 0.45);
}

/* ---------- Tighten spacing BELOW the fold only ---------- */
.welcome-section { padding: 2rem 1rem !important; }
.section--alt    { padding: 2.5rem 1rem !important; }
.quote-section   { padding: 2.5rem 1rem !important; }

/* ---------- Quote on background (no card frame) ---------- */
.quote-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 3rem 3rem;
  background: transparent;
  border: none;
  box-shadow: none;
  position: relative;
  text-align: center;
}
.quote-card::before,
.quote-card::after {
  font-family: 'Cormorant Garamond', serif;
  position: absolute;
  font-size: 7rem;
  line-height: 1;
  color: rgba(196,168,130,0.45);
  pointer-events: none;
}
.quote-card::before { content: '\201C'; top: 0.3rem; left: 1.5rem; }
.quote-card::after  { content: '\201D'; bottom: -2.2rem; right: 1.5rem; }
.quote-card__text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.55;
  color: #3a3f38;
  margin: 0 0 1.5rem;
}

/* ---------- About page: hide decorative artwork ---------- */
.bg-art { display: none !important; }
.decor-mandala { display: none !important; }

/* ---------- About page: gallery cards as frosted glass ---------- */
.gallery-grid > div {
  background: rgba(255, 250, 244, 0.72) !important;
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid rgba(196,168,130,0.25);
  box-shadow: 0 12px 40px rgba(122,139,111,0.10) !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gallery-grid > div:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 48px rgba(122,139,111,0.18) !important,
    0 4px 12px rgba(0,0,0,0.06) !important;
}

/* ---------- About page: tighter gap between photo and paragraph (desktop only) ---------- */
@media (min-width: 769px) {
  .about-layout { gap: 1.5rem !important; }
}

/* ---------- About page: profile photo frame matches gallery, slightly wider ---------- */
.about-photo {
  justify-self: center;
  width: fit-content;
  margin: 0 auto;
  padding: 14px;                                            /* gallery uses 8px — this is wider */
  background: rgba(255, 250, 244, 0.72);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid rgba(196, 168, 130, 0.25);
  border-radius: 14px;                                      /* gallery uses 12px */
  box-shadow: 0 12px 40px rgba(122, 139, 111, 0.10);
}
.about-photo img {
  display: block !important;
  border-radius: 10px !important;                           /* gallery uses 8px */
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  /* Subtle warm overcast — gently pulls the blue tones toward the page palette */
  filter:
    sepia(0.20)
    saturate(0.92)
    contrast(1.12)
    brightness(1.10) !important;
}

/* ---------- Hide wave dividers globally (pink lotus gives continuity) ---------- */
.wave-divider { display: none !important; }

/* ---------- Frosted glass on every base card (schedule, prop, privates, contact) ---------- */
.card {
  background: rgba(255, 250, 244, 0.72) !important;
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid rgba(196,168,130,0.25) !important;
  box-shadow:
    0 12px 40px rgba(122,139,111,0.10),
    0 2px 8px rgba(0,0,0,0.04) !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 48px rgba(122,139,111,0.18),
    0 4px 12px rgba(0,0,0,0.06) !important;
}

/* ---------- Donation block: keep its bg readable but soften ---------- */
.donate-section {
  background: transparent !important;
}

/* ---------- Pullquote: show on lotus background cleanly ---------- */
.pullquote {
  background: transparent;
}

/* ---------- Remove the default focus ring (black/blue browser outline) ---------- */
.btn:focus,
.btn:focus-visible,
a.btn:focus,
a.btn:focus-visible {
  outline: none !important;
}

/* ---------- Remove the default <button> border that shows around solid btns ---------- */
.btn:not(.btn--outline) { border: 0 !important; }

/* ---------- Sign-up form: bump font sizes for readability ---------- */
.form-group input,
.form-group select             { font-size: 1.1rem  !important; }
.form-hint                     { font-size: 0.95rem !important; }
.class-option-info strong      { font-size: 1.0rem  !important; }
.class-option-info span        { font-size: 0.92rem !important; }
.class-option .tag-badge       { font-size: 0.75rem !important; padding: 0.15rem 0.5rem !important; }
.guest-name-wrap input         { font-size: 1.05rem !important; }
.guest-hint                    { font-size: 0.92rem !important; }

/* ---------- Slightly widen the sign-up form so text wraps less ---------- */
.signup-form-wrap { max-width: 760px !important; }

/* ---------- First name + Last name on one row ---------- */
.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.form-row > .form-group {
  flex: 1;
  margin-bottom: 0 !important;
}
@media (max-width: 600px) {
  .form-row { flex-direction: column; gap: 0; }
  .form-row > .form-group { margin-bottom: 1.25rem !important; }
}

/* ---------- Class options: no checkbox, click anywhere on the info box to select ---------- */
.class-option-wrap {
  border: none !important;
  background: transparent !important;
  overflow: visible !important;
  margin-bottom: 0.5rem;
}
/* Hide the checkbox — label still toggles it on click for multi-select to work */
.class-option input[type="checkbox"] {
  display: none !important;
}
/* Label becomes the click target (full width) */
.class-option {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  display: block !important;
}
/* Class info box: pure white background, click target */
.class-option-info {
  background: #ffffff !important;
  border: 1px solid rgba(196, 168, 130, 0.35);
  border-radius: 8px;
  padding: 0.8rem 1.1rem;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center;
  gap: 0.5rem;
  row-gap: 0.3rem;
  min-width: 0;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.class-option-info strong { white-space: nowrap; }
/* Hover state */
.class-option:hover .class-option-info {
  border-color: rgba(122, 139, 111, 0.5);
  background: #fdfdfb !important;
}
/* Selected state: olive border + soft ring + faint sage wash */
.class-option.selected .class-option-info {
  border-color: var(--olive) !important;
  box-shadow: 0 0 0 1px var(--olive), 0 4px 12px rgba(122, 139, 111, 0.12);
  background: rgba(122, 139, 111, 0.06) !important;
}
/* Override the wrap's old highlight rule */
.class-option-wrap:has(.class-option.selected) {
  background: transparent !important;
  border-color: transparent !important;
}

/* ---------- Caveat font on top-level form labels only (First Name / Last Name / Email / Select Classes) ---------- */
.form-group > label {
  font-family: 'Caveat', cursive !important;
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  color: #4a4d46 !important;
  letter-spacing: 0.02em;
  margin-bottom: 0.3rem !important;
}

/* ---------- Mobile only: prop card titles in playful Caveat ---------- */
@media (max-width: 768px) {
  .prop-card__body h3 {
    font-family: 'Caveat', cursive !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em;
    line-height: 1.1;
    margin-bottom: 0.6rem !important;
  }
}

/* Validation popup reuses the working dup-overlay/dup-modal CSS from signup.html
   (defined inline at signup.html, so no extra CSS needed here). */
@keyframes validationModalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.validation-modal__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  background: rgba(196, 120, 90, 0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c47d5a;     /* terracotta — matches the "in person" tag */
}
.validation-modal__icon svg { width: 30px; height: 30px; }

.validation-modal__title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.65rem !important;
  font-weight: 500 !important;
  color: #5c3a1f !important;
  margin: 0 0 0.5rem !important;
  letter-spacing: 0.005em;
}
.validation-modal__text {
  color: #5a5d56;
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0 0 1.6rem;
}
.validation-modal__close {
  background: #7a8b6f;
  color: #fff;
  border: 0;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  font-family: var(--font-body);
}
.validation-modal__close:hover {
  background: #5c6b52;
  box-shadow: 0 6px 16px rgba(122, 139, 111, 0.3);
}
.validation-modal__close:focus,
.validation-modal__close:focus-visible { outline: none; }

/* Mobile sizing tweaks */
@media (max-width: 480px) {
  .validation-modal {
    padding: 1.75rem 1.25rem 1.4rem;
    border-radius: 12px;
  }
  .validation-modal__title { font-size: 1.45rem !important; }
  .validation-modal__text { font-size: 0.92rem; }
  .validation-modal__icon { width: 48px; height: 48px; margin-bottom: 0.7rem; }
  .validation-modal__icon svg { width: 26px; height: 26px; }
}

/* ---------- Mobile only: subtle elegant glow on the donations heart ---------- */
@media (max-width: 768px) {
  .donate-heart {
    width: 52px !important;
    height: 52px !important;
    fill: #c4a882 !important;        /* warm tan from site palette */
    stroke: #8a6d3a !important;
    stroke-width: 1 !important;
    opacity: 0.9 !important;
    margin-bottom: 1.2rem !important;
    animation: heartSoftGlow 4s ease-in-out infinite;
  }
}
@keyframes heartSoftGlow {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(196, 168, 130, 0.25)); }
  50%      { filter: drop-shadow(0 0 14px rgba(196, 168, 130, 0.65)); }
}

/* ---------- Schedule cards: "In Person" tag in terracotta (matches sign-up page) ---------- */
.schedule-card__tag--inperson {
  background: rgba(196, 120, 90, 0.12) !important;
  color: #a0603e !important;
  border-color: rgba(196, 120, 90, 0.25) !important;
}

/* ---------- Schedule cards: bump font sizes for readability ---------- */
.schedule-card__details h3 { font-size: 1.35rem !important; }
.schedule-card__details p  { font-size: 1.0rem  !important; }
.schedule-card__tag        { font-size: 0.85rem !important; padding: 0.25rem 0.7rem !important; }
.schedule-card__props h4   { font-size: 0.95rem !important; }
.schedule-card__props li   { font-size: 0.92rem !important; }
.schedule-card__action .btn { font-size: 0.85rem !important; padding: 0.6rem 1.4rem !important; }

/* ---------- Tighten page-header → content gap (non-home pages) ---------- */
.page-header { padding: 3rem 0 0.5rem !important; }
.page-header + .section,
.page-header + section { padding-top: 1.5rem !important; }

/* ---------- Fluid nav logo sizing — smoothly scales with viewport ---------- */
.nav__logo {
  font-size: clamp(1.2rem, 1.6vw + 0.5rem, 1.8rem) !important;
  gap: clamp(0.4rem, 0.6vw + 0.2rem, 0.7rem) !important;
  white-space: nowrap !important;          /* keep "Yoga with Jessica" on one line */
  flex-shrink: 0;                           /* logo never squeezes */
}
.nav__logo svg,
.nav__logo-img {
  width: clamp(32px, 3.5vw + 8px, 50px) !important;
  height: clamp(32px, 3.5vw + 8px, 50px) !important;
}

/* Always keep breathing room between the logo and the nav links */
.nav .container { gap: 1.5rem; }

/* On mobile, bump the logo larger — there's only the hamburger next to it.
   Tighter vertical padding to keep the header from feeling bulky. */
@media (max-width: 768px) {
  .nav .container { padding: 0.5rem 0 !important; }
  .nav__logo {
    font-size: clamp(1.4rem, 5vw, 1.75rem) !important;
    gap: 0.55rem !important;
  }
  .nav__logo svg,
  .nav__logo-img {
    width: clamp(46px, 12vw, 60px) !important;
    height: clamp(46px, 12vw, 60px) !important;
  }
  /* Stronger hero headline as a mobile statement */
  .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem) !important; }
  /* Center the home-page hero in the viewport so it fits without scrolling */
  .hero {
    min-height: calc(100vh - 80px) !important;       /* fallback */
    min-height: calc(100dvh - 80px) !important;      /* accounts for mobile address bar */
    padding: 1rem 1rem !important;
  }
  /* Roomier spacing between the hero elements on mobile */
  .hero__tagline { margin-bottom: 1.6rem !important; }
  .hero h1       { margin-bottom: 1.5rem !important; }
  .hero p        { margin-bottom: 2.5rem !important; }

  /* Unify About-Me and Private Sessions boxes on mobile (same width, padding, text size) */
  .about-text,
  .privates-card {
    background: rgba(255, 250, 244, 0.78) !important;
    padding: 1.5rem 1.25rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  .about-text p,
  .privates-card p {
    font-size: 1rem !important;
    line-height: 1.65 !important;
    margin-bottom: 1rem !important;
  }
}

/* Prevent individual nav link text from breaking mid-word */
.nav__links a { white-space: nowrap; }

/* Tighten nav links at the cramped middle desktop range (960-1199px) */
@media (min-width: 960px) and (max-width: 1199px) {
  .nav__links { gap: 1rem !important; }
  .nav__links a { font-size: 0.78rem !important; letter-spacing: 0.04em !important; }
}

/* Move hamburger breakpoint up to 960px — kills the cramped 769-959px state */
@media (max-width: 959px) {
  .nav__toggle { display: block !important; position: relative; z-index: 10000; }
  .nav__links {
    position: fixed !important; top: 0; left: 0;
    width: 100%; height: 100vh; height: 100dvh;
    background: #f8f6f1;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 2rem; transform: translateX(100%); transition: transform 0.35s;
    z-index: 9999;
    margin: 0; padding: 0;
    box-sizing: border-box;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a {
    font-family: 'Caveat', cursive !important;
    font-size: 1.7rem !important;
    font-weight: 600 !important;
    color: #6b4423 !important;             /* warm brown */
    text-transform: none !important;        /* override uppercase from base styles */
    letter-spacing: normal !important;
  }
}

/* Punchier lotus icon: richer color, layered white glow */
.nav__logo-img {
  filter:
    saturate(1.55)
    brightness(1.04)
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 14px rgba(255, 255, 255, 0.75))
    drop-shadow(0 0 24px rgba(255, 255, 255, 0.45));
}

/* ---------- Frosted text containers for About + Donations readability ---------- */
.about-text,
.donate-intro {
  background: rgba(255, 250, 244, 0.80);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid rgba(196, 168, 130, 0.22);
  border-radius: 10px;
  padding: 2.25rem 2.5rem !important;
  box-shadow: 0 12px 40px rgba(122, 139, 111, 0.10);
}

/* "To donate, please Venmo me at..." — bold, no backdrop */
.donate-intro + div,
.donate-intro + div p {
  font-weight: 700 !important;
}

/* "Any amount is appreciated..." — bold, no backdrop */
.donate-note {
  font-weight: 700 !important;
}

/* ---------- Mobile-only: shrink donations + How It Works paragraph text ---------- */
@media (max-width: 768px) {
  /* Donations intro paragraphs */
  .donate-intro p { font-size: 0.92rem !important; line-height: 1.6 !important; }
  /* "How It Works" card on schedule page (matched by its inline border-left style) */
  .card[style*="border-left"] h3 { font-size: 1.25rem !important; }
  .card[style*="border-left"] p  { font-size: 0.9rem  !important; line-height: 1.6 !important; }
}

/* ---------- Gallery lightbox (about page) ---------- */
.gallery-grid img { cursor: pointer; }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox-overlay.active { opacity: 1; pointer-events: auto; }

/* Frame matches the gallery thumbnail style (cream mat + gold border) */
.lightbox-frame {
  background: rgba(255, 250, 244, 0.95);
  border: 1px solid rgba(196, 168, 130, 0.4);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  cursor: default;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
}
.lightbox-frame img {
  display: block;
  max-width: calc(90vw - 28px);
  max-height: calc(90vh - 28px);
  border-radius: 10px;
  object-fit: contain;
}

/* Close button */
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.25); }

/* Disable lightbox + clickability on mobile */
@media (max-width: 768px) {
  .gallery-grid img { cursor: default; }
  .lightbox-overlay { display: none !important; }
}

/* ---------- Remove redundant hover-lift across every box/card/button site-wide
              (gallery photos kept — lift signals they're clickable) ---------- */
.btn:hover,
.card:hover,
.feature-card:hover,
.section--alt .feature-card:hover,
.donate-btn:hover {
  transform: none !important;
}
