/* WMCourts CourtReserve — schedule + card styling (v0.2.0)
 * Day-grouped schedule layout. Cards are stacked (not horizontal grid), with
 * an accent strip at the top whose color encodes the event type. Image-free
 * by design — works without any photos. */

:root {
  --wmc-green:     #00C36B;
  --wmc-green-d:   #00A85B;
  --wmc-green-lt:  #D7F5E3;
  --wmc-green-tx:  #00633A;
  --wmc-purple:    #7C3AED;
  --wmc-purple-d:  #6D28D9;
  --wmc-purple-lt: #EDE4FF;
  --wmc-purple-tx: #4C1D95;
  --wmc-yellow:    #FFE600;
  --wmc-yellow-d:  #FFD400;
  --wmc-yellow-lt: #FFF8B8;
  --wmc-yellow-tx: #5A4400;
  --wmc-coral:     #FF6B6B;
  --wmc-coral-d:   #E04545;
  --wmc-coral-lt:  #FFE0E0;
  --wmc-coral-tx:  #A02020;
  --wmc-ink:       #0F0F1E;
  --wmc-mid:       #555550;
  --wmc-border:    #E8E8E2;
  --wmc-white:     #FFFFFF;
  --wmc-r:         14px;
}

/* ── FILTER PILLS ── */
.wmc-filters {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.wmc-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--wmc-border);
  background: var(--wmc-white);
  border-radius: 30px;
  padding: 9px 18px;
  cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--wmc-mid);
  text-transform: uppercase; letter-spacing: 0.05em;
  transition: all 0.12s;
}
.wmc-pill:hover { border-color: var(--wmc-purple); color: var(--wmc-purple); background: var(--wmc-purple-lt); }
.wmc-pill.on { background: var(--wmc-purple); border-color: var(--wmc-purple); color: #fff; }
.wmc-pill.on:hover { background: var(--wmc-purple-d); border-color: var(--wmc-purple-d); color: #fff; }
.wmc-pill .i { font-size: 16px; }

/* ── SCHEDULE (day-grouped) ── */
.wmc-schedule { display: flex; flex-direction: column; gap: 2.5rem; }

/* Horizontal-scroll variant: cards within each day scroll horizontally
 * (used on home page where we want a quick glance, not a full grid). */
.wmc-schedule--scroll .wmc-day-cards {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 12px;
  margin-right: -1rem; padding-right: 1rem; /* let the right edge bleed past the section */
}
.wmc-schedule--scroll .wmc-day-cards::-webkit-scrollbar { height: 6px; }
.wmc-schedule--scroll .wmc-day-cards::-webkit-scrollbar-thumb { background: var(--wmc-border); border-radius: 3px; }
.wmc-schedule--scroll .wmc-card {
  min-width: 300px;
  max-width: 340px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.wmc-day { }
.wmc-day-h {
  display: flex; align-items: baseline; gap: 0.75rem;
  padding: 0 0 1rem;
  border-bottom: 2px solid var(--wmc-ink);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.wmc-day-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: 0.02em;
  color: var(--wmc-ink);
  line-height: 1;
}
.wmc-day-sub {
  font-size: 14px;
  color: var(--wmc-mid);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.wmc-day-count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wmc-mid);
  background: var(--wmc-white);
  border: 1px solid var(--wmc-border);
  padding: 4px 10px;
  border-radius: 20px;
}

.wmc-day-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

/* ── FLAT GRID (when group="none") ── */
.wmc-ev--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.wmc-ev--carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  scrollbar-width: thin;
}
.wmc-ev--carousel .wmc-card {
  min-width: 300px;
  max-width: 360px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* ── CARD ── */
.wmc-card {
  background: var(--wmc-white);
  border: 1px solid var(--wmc-border);
  border-radius: var(--wmc-r);
  padding: 1rem 1.1rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 0.12s, box-shadow 0.12s, border-color 0.12s;
  /* Accent strip at the very top, color set per type below */
  border-top-width: 4px;
  border-top-style: solid;
  border-top-color: var(--wmc-border);
}
.wmc-card--open-play { border-top-color: var(--wmc-green); }
.wmc-card--clinic    { border-top-color: var(--wmc-purple); }
.wmc-card--social    { border-top-color: var(--wmc-yellow); }
.wmc-card--dupr      { border-top-color: var(--wmc-coral); }

a.wmc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(124,58,237,0.14);
  border-color: var(--wmc-purple-lt);
}
a.wmc-card--open-play:hover { border-top-color: var(--wmc-green); }
a.wmc-card--clinic:hover    { border-top-color: var(--wmc-purple); }
a.wmc-card--social:hover    { border-top-color: var(--wmc-yellow); }
a.wmc-card--dupr:hover      { border-top-color: var(--wmc-coral); }
.wmc-card--off { opacity: 0.7; }

/* ── CARD TOP ROW: type pill + optional urgency badge ── */
.wmc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.wmc-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  padding: 2px 9px;
  border-radius: 20px;
  width: fit-content;
}
.wmc-tag.tag-o { background: var(--wmc-green-lt);  color: var(--wmc-green-tx); }
.wmc-tag.tag-c { background: var(--wmc-purple-lt); color: var(--wmc-purple-tx); }
.wmc-tag.tag-s { background: var(--wmc-yellow-lt); color: var(--wmc-yellow-tx); }
.wmc-tag.tag-d { background: var(--wmc-coral-lt);  color: var(--wmc-coral-tx); }

.wmc-urgency {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--wmc-yellow);
  color: var(--wmc-ink);
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

/* ── FEATURED EVENT BADGE + CARD ── */
.wmc-featured-badge {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--wmc-purple);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.wmc-card--featured {
  /* subtle purple tint on the card border so featured stands out in any grid */
  border-color: var(--wmc-purple-lt);
  box-shadow: 0 4px 14px rgba(124,58,237,0.10);
}
a.wmc-card--featured:hover {
  box-shadow: 0 14px 32px rgba(124,58,237,0.22);
}

/* ── TIME (prominent) ── */
.wmc-time {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--wmc-ink);
  margin-top: 2px;
}
.wmc-time-end { color: var(--wmc-mid); font-weight: normal; }
.wmc-time-dur {
  font-family: 'Inter', sans-serif;
  font-size: 0.65em;
  font-weight: 500;
  color: var(--wmc-mid);
  letter-spacing: 0;
  text-transform: lowercase;
}

/* ── EVENT NAME ── */
.wmc-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--wmc-ink);
  font-weight: 400;
  margin: 0;
  /* clamp to 2 lines so long titles don't blow up the card */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wmc-skill {
  display: inline-block;
  background: var(--wmc-green-lt);
  color: var(--wmc-green-tx);
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 20px;
  width: fit-content;
}
.wmc-card--clinic .wmc-skill { background: var(--wmc-purple-lt); color: var(--wmc-purple-tx); }
.wmc-card--social .wmc-skill { background: var(--wmc-yellow-lt); color: var(--wmc-yellow-tx); }
.wmc-card--dupr   .wmc-skill { background: var(--wmc-coral-lt);  color: var(--wmc-coral-tx); }

/* Short per-event description (clinics/social/DUPR) — pulled from the text after the
   first "|" in the CourtReserve event name. Clamped so cards stay uniform. */
.wmc-card-desc {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--wmc-mid);
  margin: 2px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── FOOTER ROW ── */
.wmc-foot {
  margin-top: auto;
  padding-top: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--wmc-border);
}
.wmc-pricing {
  display: flex; flex-direction: column; gap: 1px;
  line-height: 1.15;
  min-width: 0;
}
.wmc-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  color: var(--wmc-ink);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.wmc-price small {
  font-family: 'Inter', sans-serif;
  font-size: 0.55em;
  color: var(--wmc-mid);
  font-weight: 400;
  letter-spacing: 0;
}
.wmc-spots {
  font-size: 11px;
  color: var(--wmc-mid);
  font-weight: 500;
  white-space: nowrap;
}
.wmc-spots.low {
  color: var(--wmc-coral-tx);
  font-weight: 700;
}
.wmc-btn {
  background: var(--wmc-green);
  color: var(--wmc-ink);
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 11.5px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  display: inline-block;
  text-decoration: none;
  transition: background 0.12s;
}
a.wmc-card:hover .wmc-btn { background: var(--wmc-green-d); }
.wmc-btn.off { background: var(--wmc-border); color: var(--wmc-mid); }

/* ── SINGLE-BUTTON CTA HELPER ── */
.wmc-cta-green {
  background: var(--wmc-green); color: var(--wmc-ink);
  display: inline-block;
  padding: 15px 32px; border-radius: 8px;
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  transition: background 0.12s, transform 0.12s;
}
.wmc-cta-green:hover { background: var(--wmc-green-d); transform: translateY(-1px); color: var(--wmc-ink); }

/* ── FAQ SECTION HEADINGS (plugin renders these via [wmcourts_faqs]) ── */
.wmc-faq-section { margin-top: 4rem; }
.wmc-faq-section:first-child { margin-top: 0; }
.wmc-faq-h {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--wmc-ink);
  margin: 0 0 1.5rem;
}

/* ── QUICKBOOK TIME PICKER ── */
.wmc-quickbook {
  background: var(--wmc-white);
  border: 1px solid var(--wmc-border);
  border-radius: 18px;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 6px 24px rgba(0,0,0,0.04);
}
.wmc-quickbook-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.wmc-quickbook-h {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--wmc-ink);
  margin: 0 0 .25rem;
}
.wmc-quickbook-sub {
  font-size: 13.5px;
  color: var(--wmc-mid);
  margin: 0;
  font-weight: 500;
}
.wmc-quickbook-when {
  display: flex;
  gap: 0;
  background: var(--wmc-border);
  border-radius: 999px;
  padding: 3px;
}
.wmc-quickbook-day {
  background: transparent;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--wmc-mid);
  transition: background 0.12s, color 0.12s;
}
.wmc-quickbook-day.on { background: var(--wmc-ink); color: var(--wmc-white); }

.wmc-quickbook-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}
.wmc-quickbook-slot {
  background: var(--wmc-cream);
  border: 2px solid var(--wmc-border);
  border-radius: 12px;
  padding: 14px 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--wmc-ink);
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s, transform 0.12s;
}
.wmc-quickbook-slot:hover {
  background: var(--wmc-green-lt);
  border-color: var(--wmc-green);
  color: var(--wmc-green-tx);
  transform: translateY(-1px);
}
.wmc-quickbook-slot--other {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--wmc-ink);
  color: var(--wmc-white);
  border-color: var(--wmc-ink);
}
.wmc-quickbook-slot--other:hover {
  background: var(--wmc-purple);
  border-color: var(--wmc-purple);
  color: var(--wmc-white);
}
.wmc-quickbook-foot {
  margin: 1.25rem 0 0;
  font-size: 12.5px;
  color: var(--wmc-mid);
  font-style: italic;
}

/* ── IFRAME WRAPPER ── */
.wmc-iframe {
  width: 100%; min-height: 720px;
  border: 1px solid var(--wmc-border);
  border-radius: var(--wmc-r);
  background: var(--wmc-white);
}

/* ── EMPTY STATE ── */
.wmc-ev-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--wmc-mid);
  font-size: 15px; font-weight: 300;
  background: var(--wmc-white);
  border: 1px dashed var(--wmc-border);
  border-radius: var(--wmc-r);
}

/* ── EVENT DETAIL PAGE ── */
.wmc-detail {
  max-width: 1100px;
  margin: 0 auto;
}
.wmc-detail-head { margin-bottom: 2.5rem; }
.wmc-detail-eyebrow {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  margin-bottom: 1rem;
}
.wmc-detail-h {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--wmc-ink);
  margin: 0 0 0.75rem;
}
.wmc-detail-when {
  font-size: 17px;
  color: var(--wmc-mid);
  line-height: 1.5;
  margin: 0 0 0.75rem;
}
.wmc-detail-when strong { color: var(--wmc-ink); }
.wmc-detail-skill {
  display: inline-block;
  background: var(--wmc-green-lt);
  color: var(--wmc-green-tx);
  font-size: 12.5px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px;
  letter-spacing: 0.04em;
}
.wmc-detail--clinic .wmc-detail-skill { background: var(--wmc-purple-lt); color: var(--wmc-purple-tx); }
.wmc-detail--social .wmc-detail-skill { background: var(--wmc-yellow-lt); color: var(--wmc-yellow-tx); }
.wmc-detail--dupr   .wmc-detail-skill { background: var(--wmc-coral-lt);  color: var(--wmc-coral-tx); }

.wmc-detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  align-items: start;
}
.wmc-detail-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--wmc-ink);
}
.wmc-detail-h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.02em;
  margin: 2rem 0 0.75rem;
  color: var(--wmc-ink);
}
.wmc-detail-h2:first-child { margin-top: 0; }
.wmc-detail-p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--wmc-ink);
  margin: 0 0 1rem;
}
.wmc-detail-list { margin: 0 0 1rem; padding: 0; list-style: none; }
.wmc-detail-list li {
  font-size: 15.5px; line-height: 1.6;
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px solid var(--wmc-border);
  color: var(--wmc-ink);
}
.wmc-detail-list li:last-child { border-bottom: none; }
.wmc-detail-list li::before {
  content: '✓';
  position: absolute;
  left: 4px;
  color: var(--wmc-green);
  font-weight: 700;
}
.wmc-detail-warn {
  background: var(--wmc-yellow-lt);
  border-left: 4px solid var(--wmc-yellow);
  padding: 1rem 1.25rem;
  border-radius: 6px;
  color: var(--wmc-yellow-tx);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 1.25rem 0;
}
.wmc-detail-warn strong { color: var(--wmc-ink); }

/* CTA panel (right column on desktop, stacks below on mobile) */
.wmc-detail-cta {
  background: var(--wmc-white);
  border: 1px solid var(--wmc-border);
  border-radius: var(--wmc-r);
  padding: 1.75rem;
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 6px 24px rgba(0,0,0,0.04);
}
.wmc-detail-cta-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: var(--wmc-ink);
  letter-spacing: 0.02em;
  line-height: 1;
}
.wmc-detail-cta-price small {
  font-family: 'Inter', sans-serif;
  font-size: 0.4em;
  color: var(--wmc-mid);
  font-weight: 400;
  letter-spacing: 0;
}
.wmc-detail-cta-spots {
  font-size: 13px;
  color: var(--wmc-mid);
  font-weight: 500;
  margin-top: -0.5rem;
}
.wmc-detail-cta-spots.low {
  display: inline-block;
  width: fit-content;
  background: var(--wmc-yellow);
  color: var(--wmc-ink);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
}
.wmc-detail-cta-primary {
  background: var(--wmc-green);
  color: var(--wmc-ink);
  border: none;
  border-radius: 8px;
  padding: 16px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.12s, transform 0.12s;
  text-align: center;
}
.wmc-detail-cta-primary:hover {
  background: var(--wmc-green-d);
  transform: translateY(-1px);
}
.wmc-detail-cta-primary.off {
  background: var(--wmc-border);
  color: var(--wmc-mid);
  cursor: not-allowed;
}
.wmc-detail-cta-secondary {
  text-align: center;
  font-size: 13px;
  color: var(--wmc-purple);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.12s;
}
.wmc-detail-cta-secondary:hover { color: var(--wmc-purple-d); }
.wmc-detail-cta-foot {
  font-size: 11.5px;
  color: var(--wmc-mid);
  text-align: center;
  line-height: 1.5;
  margin: 0;
  padding-top: 0.5rem;
  border-top: 1px solid var(--wmc-border);
}

.wmc-detail-facility {
  background: var(--wmc-white);
  border: 1px solid var(--wmc-border);
  border-left: 3px solid var(--wmc-purple);
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--wmc-ink);
}
.wmc-detail-facility p { margin: 0 0 .75rem; }
.wmc-detail-facility p:last-child { margin-bottom: 0; }

/* Mobile floating bottom CTA — only visible on small screens */
.wmc-detail-floating-cta {
  display: none;
}
.wmc-detail-floating-meta {
  display: flex; flex-direction: column; gap: 1px;
  line-height: 1.1;
  flex-shrink: 0;
}
.wmc-detail-floating-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: var(--wmc-ink);
}
.wmc-detail-floating-spots {
  font-size: 10.5px;
  color: var(--wmc-mid);
  font-weight: 600;
}
.wmc-detail-floating-spots.low {
  color: var(--wmc-coral-tx);
  font-weight: 700;
}
.wmc-detail-floating-btn { flex: 1; }

.wmc-detail-empty {
  text-align: center;
  padding: 4rem 1rem;
  max-width: 600px;
  margin: 0 auto;
}
.wmc-detail-empty h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
  color: var(--wmc-ink);
}
.wmc-detail-empty p {
  font-size: 16px;
  color: var(--wmc-mid);
  line-height: 1.6;
}
.wmc-detail-empty a {
  color: var(--wmc-purple);
  text-decoration: underline;
  font-weight: 600;
}

/* ── IFRAME MODAL ── */
.wmc-modal {
  position: fixed; inset: 0;
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.wmc-modal[hidden] { display: none; }
.wmc-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 15, 30, 0.85);
  cursor: pointer;
}
.wmc-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 960px;
  height: 88vh;
  max-height: 880px;
  background: var(--wmc-white);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.wmc-modal-head {
  display: flex; align-items: center; gap: 1rem;
  padding: 10px 14px;
  background: var(--wmc-ink);
  color: var(--wmc-white);
  flex-shrink: 0;
}
.wmc-modal-close {
  /* Primary exit — positioned on the LEFT where users instinctively look for "back" */
  background: var(--wmc-green);
  border: none;
  color: var(--wmc-ink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 9px 16px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.12s, transform 0.12s;
}
.wmc-modal-close:hover { background: var(--wmc-green-d); transform: translateY(-1px); }
.wmc-modal-title {
  font-size: 12px; font-weight: 600;
  margin: 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.wmc-modal-newtab {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.12s;
  flex-shrink: 0;
}
.wmc-modal-newtab:hover { color: var(--wmc-yellow); }
.wmc-modal-body {
  flex: 1;
  background: var(--wmc-white);
  position: relative;
  overflow: hidden;
}
.wmc-modal-frame {
  width: 100%; height: 100%;
  border: 0;
  display: block;
}

/* ── MOBILE ── */
@media (max-width: 700px) {
  .wmc-day-cards { grid-template-columns: 1fr; }
  .wmc-ev--grid  { grid-template-columns: 1fr; }
  .wmc-ev--carousel .wmc-card { min-width: 280px; }
  .wmc-schedule--scroll .wmc-card { min-width: 270px; max-width: 290px; }
  .wmc-day-h { gap: 0.5rem; padding-bottom: .75rem; }
  .wmc-day-name { font-size: 1.6rem; }
  .wmc-day-sub { font-size: 13px; }
  .wmc-day-count { margin-left: 0; }
  .wmc-quickbook { padding: 1.25rem; }
  .wmc-quickbook-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .wmc-quickbook-when { align-self: stretch; }
  .wmc-quickbook-day { flex: 1; padding: 8px 12px; }
  .wmc-quickbook-slots { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .wmc-quickbook-slot { padding: 12px 8px; font-size: 1.1rem; }
  .wmc-faq-section { margin-top: 3rem; }

  .wmc-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .wmc-detail-cta { position: static; }
  /* Hide the sidebar CTA on mobile — the floating bottom bar takes over */
  .wmc-detail-cta { padding-bottom: 1rem; }

  /* Floating CTA visible only on mobile */
  .wmc-detail-floating-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 20px rgba(0,0,0,0.10);
    border-top: 1px solid var(--wmc-border);
    z-index: 100;
  }
  /* Page needs bottom padding so the floating CTA doesn't cover content */
  .wmc-detail { padding-bottom: 96px; }

  .wmc-modal { padding: 0; }
  .wmc-modal-dialog {
    height: 100vh;
    max-height: none;
    max-width: 100vw;
    border-radius: 0;
  }
  .wmc-modal-newtab-label { display: none; }
  .wmc-modal-title {
    font-size: 11px;
    text-align: left;
  }
  .wmc-modal-close {
    font-size: 11.5px;
    padding: 8px 12px;
  }
}
