/*
 * CLUE Academy public website. Hand-written CSS with no build step; it follows the Wix design (docs/website/reference).
 * Color tokens come from Website → Site Settings → Appearance (an inline :root block in layout.blade.php overrides these).
 */
:root {
  --c-dark: #2b2b2b;
  --c-gold: #d28a1e;
  --c-cream: #fbe8c2;
  --c-peach: #f8d287;
  --c-sand: #ebeaea;
  --c-ink: #111;
  --c-text: #2f2f2f;
  --c-muted: #6b6b6b;
  --c-line: #e3e1dc;
  /* Fonts as on the Wix site: Roboto titles, Questrial text, Anton menu, Avenir Heavy cards (→ Nunito Sans 800). */
  --f-body: Questrial, "Helvetica Neue", Arial, Vazirmatn, sans-serif;
  --f-title: Roboto, "Helvetica Neue", Arial, Vazirmatn, sans-serif;
  --f-display: Poppins, Roboto, Arial, Vazirmatn, sans-serif;
  --f-nav: Anton, Oswald, "Arial Narrow", Arial, Vazirmatn, sans-serif;
  --f-card: "Nunito Sans", Avenir, "Helvetica Neue", Arial, Vazirmatn, sans-serif;
  --f-fa: Vazirmatn, Tahoma, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 2.8vw, 40px);
  --topbar-h: 52px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .06);
  --shadow-md: 0 14px 40px rgba(0, 0, 0, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--c-text); font: 16px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--c-ink); line-height: 1.15; }
p { margin: 0 0 1em; }
address { font-style: normal; }
button { font: inherit; }
:dir(rtl) { font-family: var(--f-fa); }
[dir="auto"]:dir(rtl) { text-align: right; }
.text-center { text-align: center; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 8px 14px; background: #fff; color: var(--c-ink); }
:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 760px; }
.wrap--wide { max-width: none; } /* edge to edge with the gutter, like the Wix site */
.wrap--full { max-width: none; padding: 0; }

/* Typography */
.display { font: 900 clamp(34px, 5.4vw, 64px)/1.05 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; color: var(--c-ink); }
.display--sm { font-size: clamp(28px, 4vw, 44px); }
.title { font: 700 clamp(28px, 3.4vw, 46px)/1.15 var(--f-title); color: var(--c-ink); letter-spacing: -.005em; }
.lead { font-size: 18px; color: var(--c-text); max-width: 760px; }
.text-center .lead, .heading--center .lead, .cta--center .lead { margin-left: auto; margin-right: auto; }
.eyebrow { font: 600 13px/1.4 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--c-gold); margin-bottom: .6em; }
.caption { margin-top: 10px; font-size: 13px; color: var(--c-muted); text-align: center; }
.accent-line { display: block; width: 36px; height: 2px; margin: 4px auto 18px; background: var(--c-gold); }
.heading--left .accent-line { margin-left: 0; }
.prose { font-size: 16px; }
.prose h2 { font: 700 28px/1.2 var(--f-title); margin-top: 1.4em; }
.prose h3 { font: 700 22px/1.25 var(--f-title); margin-top: 1.3em; }
.prose h4 { font: 700 18px/1.3 var(--f-title); margin-top: 1.2em; }
.prose > :first-child { margin-top: 0; }
.prose :is(p, h2, h3, h4, li, blockquote) { unicode-bidi: plaintext; }
.prose a { color: var(--c-gold); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-inline-start: 1.4em; margin: 0 0 1em; }
.prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-inline-start: 3px solid var(--c-gold); color: var(--c-muted); font-style: italic; }
.prose hr { border: 0; border-top: 1px solid var(--c-line); margin: 2em 0; }

/* Buttons */
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.buttons--center { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 30px; border: 1px solid var(--c-gold);
  background: var(--c-gold); color: #fff; font: 16px/1.2 var(--f-body); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { background: #b9761a; border-color: #b9761a; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(210, 138, 30, .3); }
.btn:active { transform: none; box-shadow: none; }
.btn--outline { background: transparent; color: var(--c-gold); }
.btn--outline:hover { background: var(--c-gold); color: #fff; }
.btn--light { background: #fff; color: var(--c-ink); border-color: #fff; }
.btn--light:hover { background: var(--c-cream); border-color: var(--c-cream); }

/* Section backgrounds and spacing */
.sec { position: relative; }
.bg--white { background: #fff; }
.bg--cream { background: var(--c-cream); }
.bg--peach { background: var(--c-peach); }
.bg--sand { background: var(--c-sand); }
.bg--gold { background: var(--c-gold); color: #fff; }
.bg--dark { background: var(--c-dark); color: #eee; }
.bg--dark h1, .bg--dark h2, .bg--dark h3, .bg--dark .display, .bg--dark .title, .bg--dark .lead,
.bg--gold h1, .bg--gold h2, .bg--gold h3, .bg--gold .display, .bg--gold .title, .bg--gold .lead { color: #fff; }
.bg--gold .btn { background: var(--c-dark); border-color: var(--c-dark); }
.pad--none { padding: 0; }
.pad--small { padding: 24px 0; }
.pad--normal { padding: clamp(40px, 5vw, 72px) 0; }
.pad--large { padding: clamp(64px, 8vw, 112px) 0; }

/* Preview banner */
.preview-bar { position: sticky; top: 0; z-index: 60; padding: 8px 16px; background: #0072ee; color: #fff; font-size: 13px; text-align: center; }

/* Header: dark contact bar + nav row (dark brand block, cream menu bar). The whole header is sticky with the contact bar
   scrolled away (top: -topbar height), so the menu stays on screen; .is-stuck adds a shadow. */
.site-header { position: sticky; top: calc(-1 * var(--topbar-h)); z-index: 40; }
.no-topbar .site-header { top: 0; }
.site-header.is-stuck .navbar { box-shadow: 0 6px 24px rgba(0, 0, 0, .12); }
.topbar { height: var(--topbar-h); background: var(--c-dark); color: #fff; font: 700 14px/1.3 var(--f-title); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; max-width: 1340px; margin: 0 auto; padding: 0 var(--gutter); }
.topbar__info { display: flex; flex-wrap: wrap; gap: 8px 44px; margin: 0; padding: 0; list-style: none; }
.topbar__info a, .topbar__plain { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.topbar__info a { transition: color .2s; }
.topbar__info a:hover { color: var(--c-peach); }
.topbar .icon { color: var(--c-gold); flex: none; }
.social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; text-decoration: none;
  transition: transform .2s var(--ease), background .2s, color .2s; }
.social a:hover { transform: translateY(-2px); }
.social--topbar a { background: #b3b3b3; color: #1d1d1d; }
.topbar .social .icon { color: #1d1d1d; stroke-width: 2.2; }
.topbar .social a:hover .icon { color: #fff; }
.social--topbar a:hover { background: var(--c-gold); color: #fff; }
.social--footer a { background: rgba(255, 255, 255, .1); color: #fff; }
.social--footer a:hover { background: var(--c-gold); color: #fff; }
.social--inline a { background: var(--c-dark); color: #fff; }
.social--inline a:hover { background: var(--c-gold); }
.social .icon { width: 17px; height: 17px; }

.navbar { display: flex; align-items: stretch; min-height: 80px; background: var(--c-cream); transition: box-shadow .25s; }
.navbar__brand { display: flex; align-items: center; justify-content: center; flex: none; min-width: 236px; padding: 0 28px; background: var(--c-dark); color: #fff;
  font: 700 22px/1 var(--f-title); letter-spacing: .01em; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.navbar__brand:hover { color: var(--c-peach); }
.navbar__brand img { max-height: 54px; width: auto; }
.navbar__nav { flex: 1; display: flex; align-items: center; justify-content: center; padding: 0 var(--gutter); }
.navbar__toggle { display: none; margin-left: auto; padding: 10px; border: 0; background: transparent; color: var(--c-gold); cursor: pointer; }
.navbar__toggle .icon { width: 28px; height: 28px; }
.menu { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 0 clamp(16px, 2vw, 36px); margin: 0; padding: 0; list-style: none; }
.menu__item { position: relative; display: flex; align-items: center; }
.menu__item > a, .menu__label { position: relative; display: block; padding: 28px 0; color: var(--c-gold); font: 400 19px/1.1 var(--f-nav); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: color .2s; }
.menu__item > a::after, .menu__label::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 3px; background: var(--c-gold);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.menu__item > a:hover, .menu__item.is-active > a, .menu__label:hover { color: #9b6413; }
.menu__item > a:hover::after, .menu__item.is-active > a::after { transform: scaleX(1); }
.menu__caret { display: none; padding: 6px; border: 0; background: transparent; color: var(--c-gold); cursor: pointer; }
.submenu { position: absolute; top: calc(100% - 10px); left: -20px; min-width: 250px; margin: 0; padding: 10px 0; list-style: none; background: #fff;
  border-radius: 6px; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
.submenu::before { content: ""; position: absolute; top: -6px; left: 28px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); }
.menu__item.has-children:hover > .submenu, .menu__item.has-children:focus-within > .submenu, .menu__item.is-open > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { position: relative; display: block; padding: 9px 22px; color: var(--c-text); font: 15px/1.35 var(--f-body); text-decoration: none; transition: background .15s, color .15s, padding .15s; }
.submenu a:hover { background: var(--c-cream); color: var(--c-ink); padding-inline-start: 28px; }
.menu__cta { margin-left: auto; }
.menu__cta .btn { min-height: 40px; padding: 8px 22px; }

/* Footer: dark area (brand, links, visit us) + gold contact column + legal line */
.site-footer { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(280px, 1fr); color: #e9e9e9; font: 15px/1.7 var(--f-body); }
.site-footer__main { display: grid; grid-template-columns: minmax(200px, 1.2fr) minmax(140px, 1fr) minmax(180px, 1fr); gap: 32px 48px; padding: 64px var(--gutter) 56px; background: var(--c-dark); }
.site-footer__brand a.site-footer__logo { font: 700 22px/1 var(--f-title); letter-spacing: .02em; color: #fff; text-decoration: none; }
.site-footer__brand p { margin: 14px 0 18px; max-width: 320px; color: #bdbdbd; font-size: 14px; }
.site-footer h2 { margin: 0 0 14px; color: var(--c-gold); font: 400 17px/1.2 var(--f-nav); letter-spacing: .04em; text-transform: uppercase; }
.site-footer__links { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.site-footer__links a, .site-footer__visit a { color: #e9e9e9; text-decoration: none; transition: color .2s; }
.site-footer__links a:hover, .site-footer__visit a:hover { color: var(--c-peach); }
.site-footer__visit p { margin: 0 0 10px; }
.site-footer__visit .muted { color: #bdbdbd; font-size: 14px; }
.site-footer__contact { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 56px var(--gutter); background: var(--c-gold); color: var(--c-ink); }
.site-footer__contact h2 { color: var(--c-ink); }
.site-footer__contact p { margin: 0; }
.site-footer__contact a { color: var(--c-ink); text-decoration: none; font-size: 17px; }
.site-footer__contact a:hover { text-decoration: underline; }
.site-footer__contact .btn { align-self: flex-start; margin-top: 16px; background: var(--c-dark); border-color: var(--c-dark); color: #fff; font-size: 16px; }
.site-footer__contact .btn:hover { color: #fff; text-decoration: none; }
.site-footer__contact .btn:hover { background: #000; border-color: #000; }
.site-footer__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 14px var(--gutter); background: #1f1f1f; color: #9a9a9a; font-size: 13px; }

/* Back to top */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--c-gold); color: #fff; box-shadow: var(--shadow-md); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, transform .25s var(--ease), visibility .25s, background .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: #b9761a; }
.to-top .icon { width: 22px; height: 22px; transform: rotate(-90deg); }

/* Reveal on scroll (JS adds .js to <html>; sections fade up once) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Hero */
.hero { position: relative; display: flex; align-items: center; overflow: hidden; }
.hero--small { min-height: 280px; }
.hero--medium { min-height: 440px; }
.hero--large { min-height: 600px; }
.hero--full { min-height: calc(100vh - 140px); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: #000; }
.hero__content { position: relative; max-width: none; padding: 8px clamp(16px, 4.8vw, 69px); }
.hero h1.title { font-size: clamp(36px, 4.2vw, 58px); margin-bottom: .45em; }
.hero--center .hero__content { text-align: center; }
.hero--center .buttons { justify-content: center; }
.hero--center .hero__text { margin-left: auto; margin-right: auto; }
.hero--media .hero__content, .hero--media h1, .hero--media .hero__subtitle { color: #fff; }
.hero--media { padding: 48px 0; }
.hero__subtitle { font: 24px/1.35 var(--f-body); color: var(--c-ink); margin-bottom: .35em; }
.hero__text { max-width: 980px; font-size: 18px; line-height: 1.6; }

.heading--center { text-align: center; }

/* Text + image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--image-left .split__media { order: -1; }
.split--no-image { grid-template-columns: 1fr; }
.split__media img, .split__media video { width: 100%; height: 100%; max-height: 560px; }
.split__media--cover img { object-fit: cover; aspect-ratio: 4 / 3; }
.split__media--contain img { object-fit: contain; }

/* Image cards */
.cards__title { margin-bottom: 24px; }
.cards { display: grid; gap: 20px; }
.cards--grid.cards--cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards--grid.cards--cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards--grid.cards--cols-4 { grid-template-columns: repeat(4, 1fr); }
.cards--mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 17vw, 340px); grid-auto-flow: dense; }
.cards--mosaic .card--wide { grid-column: span 2; }
.cards--mosaic .card--tall { grid-row: span 2; }
.cards--mosaic .card--large { grid-column: span 2; grid-row: span 2; }
.card { position: relative; display: flex; flex-direction: column; overflow: hidden; color: inherit; text-decoration: none; background: #f4f4f4; }
.card__media { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .8s var(--ease), filter .4s; }
.card__placeholder { display: block; width: 100%; height: 100%; min-height: 200px; background: linear-gradient(135deg, #3a3a3a, #1d1d1d); }
.cards--grid .card__media { aspect-ratio: 4 / 5; flex: none; }
a.card:hover .card__media img { transform: scale(1.06); }
.cards--grayscale .card__media img { filter: grayscale(1); }
.cards--grayscale a.card:hover .card__media img { filter: grayscale(0); }
.cards--overlay .card__body { position: absolute; inset: auto 0 0 0; padding: 72px 30px 26px; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.62)); color: #fff;
  transition: padding .4s var(--ease); }
.cards--overlay a.card:hover .card__body { padding-bottom: 32px; }
.cards--overlay .card__title { color: #fff; }
.cards--below .card { background: transparent; }
.cards--below .card__body { padding: 14px 2px 4px; }
.card__title { margin: 0; font: 800 clamp(20px, 1.6vw, 28px)/1.15 var(--f-card); letter-spacing: .01em; }
.card--large .card__title { font-size: clamp(22px, 2vw, 32px); }
.card__subtitle { margin: 4px 0 0; font: 15px/1.3 var(--f-body); opacity: .92; }

/* Gallery + lightbox */
.gallery { display: grid; gap: 10px; }
.gallery--cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery--cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery--cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery--cols-5 { grid-template-columns: repeat(5, 1fr); }
.gallery__item { display: block; overflow: hidden; aspect-ratio: 1; background: #eee; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.92); }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox button { position: absolute; display: flex; padding: 12px; border: 0; background: transparent; color: #fff; cursor: pointer; }
.lightbox .lb-close { top: 12px; right: 12px; }
.lightbox .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .icon { width: 32px; height: 32px; }

/* Video / audio / map */
.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.audio-card { display: flex; align-items: center; gap: 18px; padding: 16px; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.audio-card__cover { width: 72px; height: 72px; object-fit: cover; flex: none; }
.audio-card__body { flex: 1; min-width: 0; }
.audio-card__title { margin: 0 0 8px; font: 600 15px/1.3 var(--f-title); color: var(--c-ink); }
.audio-card__title span { color: var(--c-muted); font-weight: 400; }
.audio-card audio { width: 100%; }
.map iframe, .contact__map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Call to action */
.cta--center { text-align: center; }
.cta .lead { margin-top: 8px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact--no-map { grid-template-columns: 1fr; max-width: 760px; }
.contact__list { margin: 0 0 24px; padding: 0; list-style: none; }
.contact__list li { display: flex; gap: 12px; padding: 6px 0; }
.contact__list .icon { color: var(--c-gold); flex: none; margin-top: 3px; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
.contact__map { min-height: 380px; height: 100%; }
.hours { border-collapse: collapse; margin-bottom: 24px; font-size: 14px; }
.hours caption { text-align: left; font: 700 15px/1.4 var(--f-title); color: var(--c-ink); padding-bottom: 6px; }
.hours th, .hours td { padding: 4px 24px 4px 0; text-align: left; font-weight: 400; border-bottom: 1px solid var(--c-line); }
.hours th { color: var(--c-muted); }

/* Spacer */
.spacer--small { height: 16px; }
.spacer--medium { height: 40px; }
.spacer--large { height: 80px; }
.spacer { display: flex; align-items: center; }
.spacer hr { width: 100%; border: 0; border-top: 1px solid var(--c-line); margin: 0; }

/* Responsive */
/* ---- Phase 2: content sections and detail pages ---- */
.empty-note { padding: 24px 0; color: var(--c-muted); text-align: center; list-style: none; }
.muted { color: var(--c-muted); }
.back-link { margin: 0 0 18px; font-size: 13px; }
.back-link a { display: inline-flex; align-items: center; gap: 4px; color: var(--c-muted); text-decoration: none; }
.back-link a:hover { color: var(--c-gold); }
.back-link svg { width: 14px; height: 14px; }
.display--shadow { text-shadow: 2px 2px 0 #fff, 4px 4px 0 rgba(0,0,0,.18); text-transform: none; }
.btn--small { min-height: 34px; padding: 6px 18px; font-size: 13px; }
.btn--block { width: 100%; }
.pill { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; padding: 3px 12px; border: 1px solid var(--c-line); border-radius: 999px; font-size: 12px; color: var(--c-text); }
.pill svg { width: 13px; height: 13px; }
.pill--upcoming { border-color: var(--c-gold); color: var(--c-gold); }
.pill--ongoing { border-color: #2f8f4e; color: #2f8f4e; }

/* Section title with the gold block + arrow ("Upcoming Events") */
.arrow-title { display: flex; align-items: center; gap: 56px; margin: 0 0 36px; font: 700 clamp(26px, 3.2vw, 40px)/1.15 var(--f-title); }
.arrow-title__mark { position: relative; flex: none; width: 80px; height: 110px; margin-left: calc(-1 * var(--gutter)); background: var(--c-gold); }
.arrow-title__mark::after { content: ""; position: absolute; left: 46px; top: 50%; width: 66px; height: 2px; background: var(--c-ink); }
.arrow-title__mark::before { content: ""; position: absolute; left: 104px; top: calc(50% - 5px); border: 6px solid transparent; border-left: 9px solid var(--c-ink); }

/* Event card */
.event-list { display: grid; gap: 32px; }
.event-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid #d9d6cf; background: #fff; max-width: 1080px; margin: 0 auto;
  box-shadow: var(--shadow-sm); transition: box-shadow .3s; }
.event-card:hover { box-shadow: var(--shadow-md); }
.event-card__media img { transition: transform .8s var(--ease); }
.event-card:hover .event-card__media img { transform: scale(1.04); }
.event-card__media { display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; }
.event-card__body { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 28px; text-align: center; color: var(--c-ink); }
.event-card__title { margin: 0 0 6px; font: 600 22px/1.3 var(--f-title); }
.event-card__title a { text-decoration: none; }
.event-card__meta { margin: 0 0 14px; font-size: 14px; }
.event-card__meta .sep { margin: 0 8px; }
.event-card__summary { font-size: 14px; }

/* Workshop rows */
.rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--c-line); }
.row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 190px 160px; gap: 32px; padding: 32px 16px 48px; border-bottom: 1px solid var(--c-line); align-items: start;
  transition: background .25s; }
.row:hover { background: #fcfaf6; }
.row__thumb img { transition: transform .6s var(--ease); }
.row:hover .row__thumb img { transform: scale(1.06); }
.row__thumb { display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.row__thumb .card__placeholder { min-height: 84px; }
.row__main [dir="auto"]:dir(rtl) { text-align: left; }
.row__title { margin: 0 0 4px; font: 700 20px/1.35 var(--f-title); }
.row__title a { text-decoration: none; }
.row__subtitle { margin: 0 0 4px; font-size: 13px; }
.row__more { font-size: 13px; color: var(--c-ink); }
.row__status { font-size: 13px; }
.row__status p { margin: 0 0 6px; }
.row__action .btn { width: 100%; }

/* People (instructors) */
.people { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 32px 24px; }
.people--cols-2 { --cols: 2; } .people--cols-3 { --cols: 3; } .people--cols-4 { --cols: 4; } .people--cols-5 { --cols: 5; }
.people--center { justify-content: center; grid-template-columns: repeat(auto-fit, minmax(180px, 240px)); }
.person { display: block; text-align: center; text-decoration: none; color: inherit; }
.person__photo { aspect-ratio: 4 / 5; overflow: hidden; background: #ddd; margin-bottom: 14px; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.person:hover .person__photo img { transform: scale(1.05); }
.person__name { transition: color .2s; }
.person:hover .person__name { color: var(--c-gold); }
.person__initials { display: flex; align-items: center; justify-content: center; height: 100%; font: 800 56px var(--f-display); color: #fff; background: linear-gradient(135deg, #3a3a3a, #1d1d1d); }
.person__name { margin: 0; font: 800 20px/1.3 var(--f-card); }
.person__role { margin: 2px 0 0; font-size: 13px; color: var(--c-muted); }

/* News */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.post-card { display: block; text-decoration: none; color: inherit; }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 14px; border-radius: 4px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__date { margin: 0 0 4px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-gold); }
.post-card__title { margin: 0 0 6px; font: 600 20px/1.3 var(--f-title); }
.post-card__excerpt { font-size: 14px; color: var(--c-muted); }
.post-cover { margin-top: 24px; }

/* Detail pages (event, workshop) and instructor profile */
.media-hero { position: relative; max-height: 78vh; overflow: hidden; background: #111; }
.media-hero img, .media-hero video { width: 100%; max-height: 78vh; object-fit: cover; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.detail--no-media { grid-template-columns: minmax(0, 760px); }
.detail__media img { width: 100%; height: auto; }
.facts { margin: 0 0 18px; padding: 0; list-style: none; }
.facts li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.facts svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--c-gold); }
.profile { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 48px; align-items: start; }
.profile--no-photo { grid-template-columns: minmax(0, 1fr); }
.profile__photo img { width: 100%; height: auto; }

/* FAQ */
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__item summary { position: relative; padding: 18px 36px 18px 0; cursor: pointer; list-style: none; font: 600 17px/1.4 var(--f-title); color: var(--c-ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; color: var(--c-gold); }
.faq__item[open] summary::after { content: "–"; }
.faq__item .prose { padding: 0 0 18px; }

/* Builder forms (white card on the section colour, like the Wix interest form) */
.form-card { max-width: 760px; margin: 0 auto; padding: 40px clamp(20px, 6vw, 96px) 48px; background: #fff; color: var(--c-ink); border-radius: 6px; box-shadow: var(--shadow-md); }
.form-card__title { margin: 0 0 4px; text-align: center; font: 500 clamp(22px, 2.6vw, 30px)/1.25 var(--f-title); }
.form-card__intro { margin: 0 0 22px; text-align: center; font-size: 14px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 28px; }
.field, .field--full { grid-column: span 2; }
.field--half { grid-column: span 1; }
.field > label, .field legend { display: block; margin-bottom: 6px; font-size: 14px; color: #444; }
.field abbr { margin-left: 2px; text-decoration: none; color: var(--c-gold); }
.field fieldset { margin: 0; padding: 0; border: 0; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
    width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #c9c6bf; border-radius: 4px; background: #fff; font: inherit; font-size: 16px; color: var(--c-ink);
    transition: border-color .2s, box-shadow .2s; }
.field input:not([type="checkbox"]):not([type="radio"]):hover, .field select:hover, .field textarea:hover { border-color: #9a968d; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-gold); box-shadow: 0 0 0 3px rgba(210, 138, 30, .22); }
.field input[type="file"] { padding: 6px; }
.check { display: flex; align-items: flex-start; gap: 8px; margin: 4px 0; font-size: 14px; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--c-gold); }
.field__help { margin: 4px 0 0; font-size: 12px; color: var(--c-muted); }
.field__error { margin: 4px 0 0; font-size: 12px; color: #b42318; }
.field--error input, .field--error select, .field--error textarea { border-color: #b42318 !important; }
.form__heading { grid-column: span 2; margin: 10px 0 0; font: 600 17px/1.3 var(--f-title); }
.form__text { grid-column: span 2; margin: 0; font-size: 14px; }
.form-alert { margin-bottom: 16px; padding: 10px 14px; background: #fdecea; color: #8a1c13; font-size: 14px; }
.form-success { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 0; text-align: center; font-size: 16px; }
.form-success svg { width: 44px; height: 44px; color: #2f8f4e; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Phase 3: checkout, gift cards, order page ---- */
.checkout { max-width: 780px; margin: 0 auto; padding: 40px clamp(20px, 5vw, 56px) 44px; background: #fff; color: var(--c-ink); border-radius: 6px; box-shadow: var(--shadow-md); }
.ticket-list { margin: 8px 0 24px; padding: 0; list-style: none; border-top: 1px solid var(--c-line); }
.ticket { display: grid; grid-template-columns: minmax(0, 1fr) auto 72px; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.ticket--off { opacity: .55; }
.ticket__name { margin: 0; font: 600 16px/1.35 var(--f-title); }
.ticket__desc, .ticket__meta { margin: 2px 0 0; font-size: 13px; color: var(--c-muted); }
.ticket__meta:empty { display: none; }
.ticket__price { margin: 0; font-weight: 600; white-space: nowrap; }
.ticket__qty select { width: 72px; min-height: 44px; padding: 6px 8px; border: 1px solid #c9c6bf; border-radius: 4px; background: #fff; font: inherit; }
.checkout__note { margin: 10px 0 0; font-size: 12px; color: var(--c-muted); text-align: center; }
.giftcard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.giftcard__media img { width: 100%; height: auto; }
.amounts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; border: 0; }
.amounts legend { margin-bottom: 6px; font-size: 12px; }
.amount input { position: absolute; opacity: 0; }
.amount span { display: inline-flex; align-items: center; justify-content: center; min-width: 78px; min-height: 46px; padding: 6px 16px; border: 1px solid #c9c6bf; border-radius: 4px;
  cursor: pointer; font-weight: 600; transition: border-color .2s, background .2s, color .2s; }
.amount span:hover { border-color: var(--c-gold); }
.amount input:checked + span { background: var(--c-gold); border-color: var(--c-gold); color: #fff; }
.amount input:focus-visible + span { outline: 2px solid var(--c-gold); outline-offset: 2px; }
.amount__input { width: 170px; min-height: 46px; padding: 6px 12px; border: 1px solid #c9c6bf; border-radius: 4px; font: inherit; }
.order__items { width: 100%; margin: 24px 0; border-collapse: collapse; }
.order__items td { padding: 10px 0; border-top: 1px solid var(--c-line); }
.order__items td:last-child { text-align: right; white-space: nowrap; }
.order__total td { border-top: 2px solid var(--c-ink); font-weight: 700; }
.order__h { margin-top: 28px; font: 700 20px/1.3 var(--f-title); }
.codes { display: flex; flex-wrap: wrap; gap: 8px; }
.code { display: inline-block; padding: 6px 12px; border: 1px dashed var(--c-gold); font: 700 16px/1.4 ui-monospace, Menlo, monospace; letter-spacing: .08em; }
.code--void { text-decoration: line-through; opacity: .5; }
.fake-pay { margin: 24px 0; padding: 18px; border: 2px dashed var(--c-gold); background: var(--c-cream); }
.order__pay { margin: 24px 0; }
.notice { margin-bottom: 16px; padding: 10px 14px; background: var(--c-cream); font-size: 14px; }

/* ---- Page builder v2: rows, columns, widgets, style controls ---- */
.row-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
.row-grid--gap-none { gap: 0; } .row-grid--gap-small { gap: 16px; } .row-grid--gap-large { gap: clamp(32px, 4vw, 64px); }
.row-grid--v-center { align-items: center; } .row-grid--v-bottom { align-items: end; } .row-grid--v-stretch { align-items: stretch; }
.row-col { position: relative; grid-column: span var(--span, 12); min-width: 0; display: flex; flex-direction: column; }
.row-col--v-center { justify-content: center; } .row-col--v-bottom { justify-content: flex-end; }
.widget { position: relative; margin-bottom: 24px; }
.widget:last-child { margin-bottom: 0; }
.s-gap-none { margin-bottom: 0; } .s-gap-small { margin-bottom: 12px; } .s-gap-large { margin-bottom: 48px; }
.s-pad-small { padding: 16px; } .s-pad-normal { padding: clamp(20px, 3vw, 32px); } .s-pad-large { padding: clamp(28px, 5vw, 56px); }
.s-radius-small { border-radius: 4px; } .s-radius-medium { border-radius: 10px; } .s-radius-large { border-radius: 20px; }
.s-radius-small, .s-radius-medium, .s-radius-large { overflow: hidden; }
.s-shadow-soft { box-shadow: var(--shadow-sm); } .s-shadow-strong { box-shadow: var(--shadow-md); }
.s-border-line { border: 1px solid var(--c-line); } .s-border-gold { border: 2px solid var(--c-gold); }
.s-align-left { text-align: left; } .s-align-center { text-align: center; } .s-align-right { text-align: right; }
.s-align-center .buttons, .s-align-center .w-iconbox--top { justify-content: center; align-items: center; }
.s-align-center .accent-line, .s-align-center .w-heading__line { margin-left: auto; margin-right: auto; }
.s-tone-light, .s-tone-light :is(h1, h2, h3, h4, .title, .display, .lead, .person__name, .w-heading) { color: #fff; }
.s-tone-dark, .s-tone-dark :is(h1, h2, h3, h4, .title, .display, .lead, .w-heading) { color: var(--c-ink); }
.s-has-bg { isolation: isolate; }
.bg-layer { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.bg-layer img, .bg-layer video { width: 100%; height: 100%; object-fit: cover; }
.bg-layer__overlay { position: absolute; inset: 0; background: #000; }
.sec.s-has-bg { overflow: hidden; }
/* Entrance animations (JS adds .is-in when visible; plain show without JS) */
.js .anim { opacity: 0; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .anim--fade-up { transform: translateY(32px); } .js .anim--zoom-in { transform: scale(.92); }
.js .anim--slide-left { transform: translateX(48px); } .js .anim--slide-right { transform: translateX(-48px); }
.js .anim.is-in { opacity: 1; transform: none; }
/* Hide per device */
@media (min-width: 1101px) { .hide-on-desktop { display: none !important; } }
@media (min-width: 641px) and (max-width: 1100px) { .hide-on-tablet { display: none !important; } }
@media (max-width: 640px) { .hide-on-mobile { display: none !important; } }

/* Widgets */
.w-heading { margin: 0; font-family: var(--f-title); font-weight: 700; color: var(--c-ink); line-height: 1.15; }
.w-heading--s { font-size: clamp(18px, 1.6vw, 22px); } .w-heading--m { font-size: clamp(22px, 2.2vw, 30px); }
.w-heading--l { font-size: clamp(28px, 3.4vw, 44px); } .w-heading--xl { font-size: clamp(34px, 4.6vw, 60px); }
.w-heading--display { font: 900 clamp(36px, 5.4vw, 72px)/1.02 var(--f-display); text-transform: uppercase; }
.w-color--gold { color: var(--c-gold) !important; } .w-color--dark { color: var(--c-ink) !important; } .w-color--light { color: #fff !important; }
.w-heading__line { margin: 12px 0 0; }
.w-heading__sub { margin: 12px 0 0; font-size: 18px; color: var(--c-muted); }
.w-text--s { font-size: 14px; } .w-text--l { font-size: 19px; }
.btn--dark { background: var(--c-dark); border-color: var(--c-dark); color: #fff; } .btn--dark:hover { background: #000; border-color: #000; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.btn--size-s { min-height: 36px; padding: 7px 18px; font-size: 14px; } .btn--size-l { min-height: 56px; padding: 14px 40px; font-size: 18px; }
.btn .wicon { flex: none; }
.w-image { margin: 0; }
.w-image img { width: 100%; height: auto; }
.w-image--auto img { width: auto; max-width: 100%; display: inline-block; }
.w-ratio > a, .w-ratio > img, .w-ratio > .card__placeholder { display: block; aspect-ratio: var(--ratio); }
.w-ratio img { width: 100%; height: 100%; aspect-ratio: var(--ratio); object-fit: cover; }
.w-image a { display: block; overflow: hidden; } .w-image a img { transition: transform .8s var(--ease); } .w-image a:hover img { transform: scale(1.04); }
.w-divider { margin: 8px 0; border: 0; border-top: 1px solid var(--c-line); }
.w-divider--dashed { border-top-style: dashed; } .w-divider--dotted { border-top-style: dotted; border-top-width: 2px; }
.w-divider--gold { border-top-color: var(--c-gold); border-top-width: 2px; } .w-divider--dark { border-top-color: var(--c-ink); }
.s-align-center .w-divider { margin-left: auto; margin-right: auto; } .s-align-right .w-divider { margin-left: auto; }
.w-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; }
.w-icon--gold { color: var(--c-gold); } .w-icon--dark { color: var(--c-ink); } .w-icon--light { color: #fff; }
.w-icon--circle, .w-icon--square { width: 64px; height: 64px; background: rgba(210, 138, 30, .12); }
.w-icon--circle { border-radius: 50%; } .w-icon--square { border-radius: 10px; }
.w-icon--light.w-icon--circle, .w-icon--light.w-icon--square { background: rgba(255, 255, 255, .14); }
.w-iconbox { display: flex; flex-direction: column; gap: 14px; color: inherit; text-decoration: none; }
.w-iconbox--left { flex-direction: row; align-items: flex-start; }
.w-iconbox__body { display: flex; flex-direction: column; gap: 6px; }
.w-iconbox__title { font: 800 20px/1.3 var(--f-card); color: var(--c-ink); }
.s-tone-light .w-iconbox__title { color: #fff; }
a.w-iconbox:hover .w-iconbox__title { color: var(--c-gold); }
.w-iconbox__text p:last-child { margin-bottom: 0; }
.w-iconlist { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.w-iconlist li { display: flex; align-items: flex-start; gap: 12px; }
.w-iconlist--dividers li { padding-bottom: 10px; border-bottom: 1px solid var(--c-line); }
.w-iconlist__icon { margin-top: 2px; }
.w-iconlist a { text-decoration: none; } .w-iconlist a:hover { color: var(--c-gold); }
.w-counter__number { margin: 0; font: 900 clamp(40px, 5vw, 64px)/1 var(--f-display); color: var(--c-gold); }
.w-counter__label { margin: 8px 0 0; font-size: 16px; color: var(--c-muted); }
.s-tone-light .w-counter__label { color: #ddd; }
.w-testimonial { margin: 0; padding: clamp(24px, 3vw, 36px); background: #fff; border-radius: 10px; box-shadow: var(--shadow-sm); }
.w-testimonial blockquote { margin: 0 0 18px; font-size: 18px; line-height: 1.6; color: var(--c-ink); }
.w-testimonial blockquote::before { content: "\201C"; display: block; height: 30px; font: 700 72px/1 Georgia, "Times New Roman", serif; color: var(--c-gold); }
.w-testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.w-testimonial figcaption > span { display: flex; flex-direction: column; }
.w-testimonial__photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.w-stars { margin: 0 0 10px; color: #ddd; letter-spacing: 2px; } .w-stars .on { color: var(--c-gold); }
.w-member__text { margin: 8px 0 0; font-size: 14px; color: var(--c-muted); }
.w-member__social { justify-content: center; margin-top: 10px; }
.w-pricing { position: relative; display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 32px 28px; background: #fff; border: 1px solid var(--c-line); border-radius: 10px; }
.w-pricing--hl { border: 2px solid var(--c-gold); box-shadow: var(--shadow-md); }
.w-pricing__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 3px 14px; border-radius: 999px; background: var(--c-gold); color: #fff; font-size: 13px; white-space: nowrap; }
.w-pricing__title { margin: 0; font: 800 22px/1.2 var(--f-card); }
.w-pricing__price { margin: 0; font: 900 44px/1 var(--f-display); color: var(--c-ink); }
.w-pricing__price small { margin-left: 6px; font: 15px var(--f-body); color: var(--c-muted); }
.w-pricing__features { flex: 1; margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; align-content: start; }
.w-pricing__features li { display: flex; gap: 10px; text-align: start; } .w-pricing__features .wicon { flex: none; color: var(--c-gold); margin-top: 3px; }
.w-tabs__list { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid var(--c-line); margin-bottom: 18px; }
.w-tabs__list button { padding: 12px 20px; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; background: transparent; font: 16px var(--f-body); color: var(--c-muted); cursor: pointer; }
.w-tabs__list button[aria-selected="true"] { color: var(--c-ink); border-bottom-color: var(--c-gold); }
.w-slider { position: relative; overflow: hidden; border-radius: inherit; }
.w-slider__track { position: relative; aspect-ratio: var(--ratio); }
.w-slider__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s var(--ease); }
.w-slider__slide.is-active { opacity: 1; z-index: 1; }
.w-slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.w-slider__slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 24px 18px; background: linear-gradient(transparent, rgba(0,0,0,.6)); color: #fff; }
.w-slider__nav { position: absolute; top: 50%; z-index: 2; display: flex; padding: 10px; border: 0; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--c-ink); cursor: pointer; transform: translateY(-50%); transition: background .2s; }
.w-slider__nav:hover { background: #fff; } .w-slider__nav--prev { left: 14px; } .w-slider__nav--next { right: 14px; }
.w-slider__dots { position: absolute; bottom: 14px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.w-slider__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; }
.w-slider__dots button.is-active { background: #fff; transform: scale(1.25); }
.w-logos { display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); gap: 24px; align-items: center; }
.w-logos__item img { width: 100%; height: 72px; object-fit: contain; transition: filter .3s, opacity .3s; }
.w-logos--gray img { filter: grayscale(1); opacity: .7; } .w-logos--gray .w-logos__item:hover img { filter: none; opacity: 1; }
.w-video { width: 100%; height: auto; }
.w-embed iframe, .w-map iframe { width: 100%; border: 0; display: block; border-radius: inherit; }
.w-countdown__title { margin: 0 0 14px; font: 700 20px/1.3 var(--f-title); }
.w-countdown__boxes { display: flex; flex-wrap: wrap; gap: 12px; }
.s-align-center .w-countdown__boxes { justify-content: center; }
.w-countdown__box { display: flex; flex-direction: column; align-items: center; min-width: 84px; padding: 14px 10px; background: var(--c-dark); color: #fff; border-radius: 8px; }
.w-countdown__box strong { font: 900 34px/1 var(--f-display); }
.w-countdown__box small { margin-top: 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-peach); }
.w-social--s .social a { width: 30px; height: 30px; } .w-social--l .social a { width: 46px; height: 46px; } .w-social--l .social .icon { width: 22px; height: 22px; }
.s-align-center .w-social .social { justify-content: center; }
.widget .form-card { box-shadow: none; padding: 0; background: transparent; max-width: none; }

@media (max-width: 1600px) {
  .menu { gap: 0 22px; }
  .menu__item > a, .menu__label { font-size: 18px; }
}
@media (max-width: 1360px) {
  .navbar__brand { min-width: 200px; }
  .menu { gap: 0 15px; }
  .menu__item > a, .menu__label { font-size: 16.5px; }
}
@media (max-width: 1100px) {
  .hide-md { display: none; }
  .navbar { min-height: 64px; }
  .navbar__brand { min-width: 0; padding: 0 18px; font-size: 18px; }
  .navbar__nav { justify-content: flex-end; padding: 0 8px; }
  .navbar__toggle { display: flex; }
  .menu { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 16px;
    background: var(--c-cream); box-shadow: 0 12px 24px rgba(0,0,0,.12); max-height: calc(100vh - 120px); overflow-y: auto; }
  .navbar.is-open .menu { display: flex; }
  .menu__item { flex-wrap: wrap; justify-content: space-between; padding: 0 var(--gutter); border-bottom: 1px solid rgba(0,0,0,.06); }
  .menu__item > a, .menu__label { padding: 14px 0; font-size: 18px; }
  .menu__item > a::after, .menu__label::after { display: none; }
  .menu__item.is-active > a { text-decoration: underline; text-underline-offset: 5px; }
  .menu__caret { display: flex; }
  .submenu { position: static; flex-basis: 100%; min-width: 0; padding: 0 0 8px; box-shadow: none; border: 0; border-radius: 0; background: transparent; display: none;
    opacity: 1; visibility: visible; transform: none; transition: none; }
  .submenu::before { display: none; }
  .menu__item.has-children:hover > .submenu, .menu__item.has-children:focus-within > .submenu { display: none; }
  .menu__item.is-open > .submenu { display: block; }
  .submenu a { padding: 8px 12px; }
  .submenu a:hover { padding-inline-start: 12px; }
  .menu__cta { margin: 12px var(--gutter) 0; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer__main { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  :root { --gutter: 16px; }
  .row-grid--stack-tablet > .row-col { grid-column: span 12; }
  .w-logos { grid-template-columns: repeat(min(var(--cols, 5), 4), minmax(0, 1fr)); }
  .split, .contact { grid-template-columns: 1fr; gap: 28px; }
  .detail, .profile, .event-card, .giftcard { grid-template-columns: 1fr; gap: 28px; }
  .event-card { gap: 0; }
  .people { --cols: 3 !important; }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: 72px minmax(0, 1fr); gap: 8px 20px; padding: 24px 0 32px; }
  .row__status, .row__action { grid-column: 2; }
  .row__action .btn { width: auto; }
  .arrow-title__mark { width: 48px; height: 72px; }
  .arrow-title__mark::after { left: 24px; width: 40px; }
  .arrow-title__mark::before { left: 58px; }
  .arrow-title { gap: 30px; }
  .split--image-left .split__media { order: 0; }
  .cards--grid.cards--cols-3, .cards--grid.cards--cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cards--mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery--cols-4, .gallery--cols-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  :root { --topbar-h: 46px; }
  .row-grid > .row-col { grid-column: span 12; }
  .row-grid--reverse { display: flex; flex-direction: column-reverse; }
  .w-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .w-iconbox--left { flex-direction: column; }
  .site-footer__main { grid-template-columns: 1fr; padding-top: 48px; }
  .hide-sm { display: none; }
  .cards--grid.cards--cols-2, .cards--grid.cards--cols-3, .cards--grid.cards--cols-4 { grid-template-columns: 1fr; }
  .cards--mosaic { grid-template-columns: 1fr; grid-auto-rows: 340px; }
  .cards--mosaic .card--wide, .cards--mosaic .card--large { grid-column: span 1; }
  .cards--mosaic .card--large { grid-row: span 1; }
  .gallery--cols-3, .gallery--cols-4, .gallery--cols-5 { grid-template-columns: repeat(2, 1fr); }
  .hero--large, .hero--full { min-height: 420px; }
  .btn { width: 100%; }
  .people { --cols: 2 !important; gap: 24px 16px; }
  .posts { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .field, .field--half, .form__heading, .form__text { grid-column: span 1; }
  .form-card, .checkout { padding: 24px 18px 32px; }
  .ticket { grid-template-columns: minmax(0, 1fr) 72px; }
  .ticket__price { grid-column: 1; grid-row: 2; }
  .buttons { flex-direction: column; }
}
/* ---------------------------------------------------------------- page builder: design controls (StyleRules "design") */
/* Text inside a block follows the block's own color/font when one is set. */
.has-color :is(h1, h2, h3, h4, h5, h6, p, li, span, blockquote, figcaption, small, .w-heading, .w-heading__sub, .caption, .muted, .w-link) { color: inherit; }
.has-ff :is(h1, h2, h3, h4, h5, h6, p, li, span, a, blockquote, button, .w-heading, .btn) { font-family: inherit; }
.has-fs :is(.w-heading, .w-text, .w-text p, .w-text li, .prose, .prose p, .prose li, .w-link, .w-quote blockquote, .w-iconbox__title, .w-card__title) { font-size: inherit; }
.has-fw :is(.w-heading, .w-text, .w-link, .w-iconbox__title, .w-card__title) { font-weight: inherit; }
.has-lh :is(.w-heading, .w-text, .prose, .prose p, .w-quote blockquote) { line-height: inherit; }
.has-ls :is(.w-heading, .w-text, .btn, .w-link) { letter-spacing: inherit; }
.has-tt :is(.w-heading, .w-text, .btn, .w-link) { text-transform: inherit; }
.has-radius { overflow: hidden; }
.has-height { overflow: hidden; }
.place-left { margin-right: auto !important; } .place-center { margin-left: auto !important; margin-right: auto !important; } .place-right { margin-left: auto !important; }
/* Hover */
.h-color, .h-bg, .h-border, [class*="hfx-"] { transition: color .25s, background-color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s, opacity .25s; }
.h-color:hover { color: var(--h-color) !important; }
.h-bg:hover { background-color: var(--h-bg) !important; }
.h-border:hover { border-color: var(--h-border) !important; }
.hfx-lift:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0, 0, 0, .14); }
.hfx-grow:hover { transform: scale(1.04); } .hfx-shrink:hover { transform: scale(.97); }
.hfx-glow:hover { box-shadow: 0 0 0 4px rgba(210, 138, 30, .25), 0 10px 30px rgba(210, 138, 30, .3); }
.hfx-dim:hover { opacity: .75; }
/* Tablet / phone overrides (values in CSS variables set inline). */
@media (max-width: 1100px) {
  .rt-fs { font-size: var(--t-fs) !important; } .rt-w { width: var(--t-w) !important; }
  .rt-al-left { text-align: left !important; } .rt-al-center { text-align: center !important; } .rt-al-right { text-align: right !important; }
  .rt-pt { padding-top: var(--t-pt) !important; } .rt-pr { padding-right: var(--t-pr) !important; } .rt-pb { padding-bottom: var(--t-pb) !important; } .rt-pl { padding-left: var(--t-pl) !important; }
  .rt-mt { margin-top: var(--t-mt) !important; } .rt-mr { margin-right: var(--t-mr) !important; } .rt-mb { margin-bottom: var(--t-mb) !important; } .rt-ml { margin-left: var(--t-ml) !important; }
}
@media (max-width: 640px) {
  .rm-fs { font-size: var(--m-fs) !important; } .rm-w { width: var(--m-w) !important; }
  .rm-al-left { text-align: left !important; } .rm-al-center { text-align: center !important; } .rm-al-right { text-align: right !important; }
  .rm-pt { padding-top: var(--m-pt) !important; } .rm-pr { padding-right: var(--m-pr) !important; } .rm-pb { padding-bottom: var(--m-pb) !important; } .rm-pl { padding-left: var(--m-pl) !important; }
  .rm-mt { margin-top: var(--m-mt) !important; } .rm-mr { margin-right: var(--m-mr) !important; } .rm-mb { margin-bottom: var(--m-mb) !important; } .rm-ml { margin-left: var(--m-ml) !important; }
}

/* Custom button colors (WidgetRegistry::buttonDesign) */
.btn.b-bg { background: var(--b-bg); border-color: var(--b-bg); }
.btn.b-color { color: var(--b-color); }
.btn.b-border { border-color: var(--b-border); }
.btn.b-hbg:hover { background: var(--b-hbg); border-color: var(--b-hbg); }
.btn.b-hcolor:hover { color: var(--b-hcolor); }
.btn.b-radius { border-radius: var(--b-radius); }
.btn.b-fs { font-size: var(--b-fs); }
.btn--icon-after { flex-direction: row-reverse; }

/* Button group */
.w-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.s-align-center > .w-buttons { justify-content: center; } .s-align-right > .w-buttons { justify-content: flex-end; }
@media (max-width: 640px) { .w-buttons--stack { flex-direction: column; } .w-buttons--stack .btn { width: 100%; } }

/* Link */
.w-link { display: inline-flex; align-items: center; gap: 6px; color: var(--l-color, var(--c-gold)); text-underline-offset: 4px; transition: color .2s, gap .2s; }
.w-link:hover { color: var(--l-hover, var(--l-color, #b9761a)); gap: 10px; }
.w-link--icon-before { flex-direction: row-reverse; }
.w-link--u-always { text-decoration: underline; } .w-link--u-hover, .w-link--u-none { text-decoration: none; } .w-link--u-hover:hover { text-decoration: underline; }
.w-link--bold { font-weight: 700; }
.w-link--s { font-size: 14px; } .w-link--m { font-size: 16px; } .w-link--l { font-size: 19px; } .w-link--xl { font-size: 24px; }

/* Icon */
.w-solo-icon { display: inline-flex; align-items: center; justify-content: center; color: var(--i-color, var(--c-gold)); transition: transform .25s var(--ease); }
.w-solo-icon .wicon { width: var(--i-size); height: var(--i-size); }
.w-solo-icon--circle, .w-solo-icon--square { padding: calc(var(--i-size) * .45); background: var(--i-bg, rgba(210, 138, 30, .12)); }
.w-solo-icon--circle { border-radius: 50%; } .w-solo-icon--square { border-radius: 12px; }
a.w-solo-icon:hover { transform: scale(1.08); }

/* Box (container of widgets) */
.w-box { display: flex; color: inherit; text-decoration: none; }
.w-box--column { flex-direction: column; } .w-box--row { flex-direction: row; } .w-box--wrap { flex-wrap: wrap; }
.w-box--gap-none { gap: 0; } .w-box--gap-small { gap: 10px; } .w-box--gap-normal { gap: 20px; } .w-box--gap-large { gap: 36px; }
.w-box--align-start { align-items: flex-start; } .w-box--align-center { align-items: center; } .w-box--align-end { align-items: flex-end; } .w-box--align-stretch { align-items: stretch; }
.w-box--justify-start { justify-content: flex-start; } .w-box--justify-center { justify-content: center; } .w-box--justify-end { justify-content: flex-end; }
.w-box--justify-between { justify-content: space-between; } .w-box--justify-around { justify-content: space-around; }
.w-box > .widget { margin-bottom: 0; min-width: 0; }
.w-box--row > .widget { flex: 0 1 auto; }
.has-height > .w-box { height: 100%; }
@media (max-width: 640px) { .w-box--stack.w-box--row { flex-direction: column; align-items: stretch; } }

/* Card */
.w-card { display: flex; flex-direction: column; height: 100%; background: #fff; color: var(--c-text); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 14px rgba(0, 0, 0, .07); transition: transform .3s var(--ease), box-shadow .3s; }
.w-card--left { flex-direction: row; } .w-card--right { flex-direction: row-reverse; }
.w-card--left .w-card__media, .w-card--right .w-card__media { flex: 0 0 42%; }
.w-card__media { position: relative; overflow: hidden; }
.w-card__media img { transition: transform .8s var(--ease); }
.w-card--hover-lift:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .13); }
.w-card--hover-zoom:hover .w-card__media img, .w-card--hover-lift:hover .w-card__media img { transform: scale(1.05); }
.w-card__badge { position: absolute; top: 12px; inset-inline-start: 12px; padding: 4px 12px; border-radius: 999px; background: var(--c-gold); color: #fff; font: 700 12px/1.4 var(--f-title); letter-spacing: .04em; text-transform: uppercase; }
.w-card__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 20px 22px 24px; }
.w-card__eyebrow { margin: 0; color: var(--c-gold); font: 700 12px/1.3 var(--f-title); letter-spacing: .08em; text-transform: uppercase; }
.w-card__title { margin: 0; font: 800 20px/1.3 var(--f-title); color: var(--c-ink); }
.w-card__title a { color: inherit; text-decoration: none; } .w-card__title a:hover { color: var(--c-gold); }
.w-card__text { font-size: 15px; } .w-card__text > :last-child { margin-bottom: 0; }
.w-card__btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 640px) { .w-card--left, .w-card--right { flex-direction: column; } }

/* Quote */
.w-quote { margin: 0; }
.w-quote blockquote { margin: 0; font: italic 400 20px/1.55 Georgia, 'Times New Roman', serif; }
.w-quote figcaption { margin-top: 10px; color: var(--c-muted); font-size: 14px; font-weight: 600; }
.w-quote--line { padding-inline-start: 22px; border-inline-start: 4px solid var(--c-gold); }
.w-quote--large blockquote { font-size: clamp(22px, 2.6vw, 32px); }
.w-quote--large blockquote::before { content: "\201C"; display: block; height: .55em; color: var(--c-gold); font-size: 2.6em; line-height: 1; }
.w-quote--boxed { padding: 28px 32px; border-radius: 10px; background: var(--c-cream); }

/* Notice */
.w-notice { display: flex; gap: 14px; padding: 16px 18px; border-radius: 8px; border: 1px solid; }
.w-notice__icon { flex: none; padding-top: 1px; }
.w-notice__title { margin: 0 0 4px; font: 700 16px/1.35 var(--f-title); }
.w-notice .prose { font-size: 15px; } .w-notice .prose > :last-child { margin-bottom: 0; }
.w-notice--info { background: #eef5ff; border-color: #c7dcfb; color: #123a6b; }
.w-notice--success { background: #edf8f0; border-color: #bfe3ca; color: #1d5a32; }
.w-notice--warning { background: #fff7e6; border-color: #f6dc9c; color: #6b4a07; }
.w-notice--danger { background: #fdecea; border-color: #f5c2bd; color: #8a1c13; }
.w-notice--gold { background: var(--c-cream); border-color: var(--c-peach); color: var(--c-ink); }

/* Badge */
.w-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; background: var(--bd-bg, var(--c-gold)); color: var(--bd-color, #fff); font: 700 13px/1.4 var(--f-title); letter-spacing: .03em; }
.w-badge--pill { border-radius: 999px; } .w-badge--square { border-radius: 4px; }
.w-badge--s { padding: 2px 9px; font-size: 11px; } .w-badge--l { padding: 7px 16px; font-size: 15px; }

/* Progress bars */
.w-progress { display: flex; flex-direction: column; gap: 16px; }
.w-progress__label { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 6px; font-weight: 600; font-size: 15px; }
.w-progress__track { height: 10px; border-radius: 999px; background: rgba(0, 0, 0, .08); overflow: hidden; }
.w-progress--thin .w-progress__track { height: 5px; } .w-progress--thick .w-progress__track { height: 18px; }
.w-progress__bar { display: block; width: var(--pct); height: 100%; border-radius: inherit; background: var(--bar, var(--c-gold)); }

/* Star rating */
.w-rating { display: inline-flex; align-items: center; gap: 10px; }
.w-rating__stars { position: relative; display: inline-block; color: rgba(0, 0, 0, .15); font-size: 22px; line-height: 1; letter-spacing: 2px; }
.w-rating__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: var(--star, #f5a623); }
.w-rating--s .w-rating__stars { font-size: 16px; } .w-rating--l .w-rating__stars { font-size: 32px; }
.w-rating__label { font-weight: 600; font-size: 15px; }

/* Table */
.w-table-wrap { overflow-x: auto; }
.w-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.w-table th, .w-table td { padding: 11px 14px; text-align: start; border-bottom: 1px solid var(--c-line); }
.w-table th { background: var(--c-dark); color: #fff; font: 600 14px/1.3 var(--f-title); letter-spacing: .02em; }
.w-table--striped tbody tr:nth-child(even) { background: rgba(0, 0, 0, .035); }
.w-table--borders th, .w-table--borders td { border: 1px solid var(--c-line); }

/* Photo gallery */
.w-gallery { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.w-gallery--gap-none { gap: 0; } .w-gallery--gap-small { gap: 6px; } .w-gallery--gap-normal { gap: 14px; } .w-gallery--gap-large { gap: 24px; }
.w-gallery__item { margin: 0; overflow: hidden; border-radius: var(--radius, 0); }
.w-gallery__item img { width: 100%; height: auto; display: block; transition: transform .8s var(--ease); }
.w-gallery__item a { display: block; overflow: hidden; } .w-gallery__item a:hover img { transform: scale(1.05); }
@media (max-width: 960px) { .w-gallery { grid-template-columns: repeat(min(var(--cols, 3), 3), minmax(0, 1fr)); } }
@media (max-width: 640px) { .w-gallery { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); } }

/* Image options */
.w-image--fixed-h img, .w-image--fixed-h .card__placeholder { height: var(--img-h); aspect-ratio: auto; object-fit: cover; }
.w-image--fixed-h a { height: var(--img-h); }
.w-image--fit-contain img { object-fit: contain; }
.w-image--max { max-width: var(--img-max); }
.w-image--align-center.w-image--max, .w-image--auto.w-image--align-center { margin-inline: auto; text-align: center; }
.w-image--align-right.w-image--max { margin-inline-start: auto; } .w-image--auto.w-image--align-right { text-align: end; }
.w-image--rounded img, .w-image--rounded a { border-radius: 14px; } .w-image--circle img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.w-image img { transition: transform .8s var(--ease), filter .5s, opacity .3s, box-shadow .3s; }
.w-image--gray img { filter: grayscale(1); }
.w-image--hover-zoom { overflow: hidden; } .w-image--hover-zoom:hover img { transform: scale(1.06); }
.w-image--hover-color img { filter: grayscale(1); } .w-image--hover-color:hover img { filter: none; }
.w-image--hover-lift:hover img { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0, 0, 0, .18); }
.w-image--hover-dim:hover img { opacity: .8; }

/* Form widget design */
.form__actions { display: flex; } .form__actions--center { justify-content: center; } .form__actions--right { justify-content: flex-end; }
.form-card--one-col .form__grid { grid-template-columns: 1fr; } .form-card--one-col :is(.field, .form__heading, .form__text) { grid-column: span 1; }
.form-card :is(.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea):focus { border-color: var(--field-accent, var(--c-gold)); }
.form-card--underline :is(.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea) { border-width: 0 0 2px; border-radius: 0; background: transparent; padding-inline: 2px; }
.form-card--filled :is(.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea) { border-color: transparent; background: rgba(0, 0, 0, .05); }
.form-card--rounded :is(.field input:not([type="checkbox"]):not([type="radio"]), .field select) { border-radius: 999px; padding-inline: 18px; }
.form-card--rounded .field textarea { border-radius: 16px; }
.form-card--rounded .btn { border-radius: 999px; }

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