/* BSFL-SY — inner pages, booking page and shared fixes */

.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 200; background: var(--gold); color: var(--deep); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* Leave room for the WordPress toolbar when logged in. */
body.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nav { top: 46px; } }

.nav.solid { background: color-mix(in srgb, var(--deep) 92%, transparent); border-bottom-color: var(--line); }
.links a[aria-current="page"] { color: var(--gold); }

/* ---------- Regular pages ---------- */
.page-main { min-height: 70vh; }
.page-hero {
  padding: clamp(140px, 20vh, 200px) 0 clamp(40px, 6vh, 72px);
  background: radial-gradient(70% 90% at 85% 0%, color-mix(in srgb, var(--gold) 16%, var(--loam)) 0%, var(--loam) 55%, var(--deep) 100%);
  border-bottom: 1px solid var(--line);
}
.page-title {
  margin: 0; font-size: clamp(40px, 6.4vw, 92px); line-height: .98; font-weight: 800; font-stretch: 68%;
  text-transform: uppercase; letter-spacing: -.01em; max-width: 18ch;
}
html[lang="ar"] .page-title { font-family: 'Changa', 'IBM Plex Sans Arabic', sans-serif; font-stretch: 100%; text-transform: none; line-height: 1.2; }
.page-404 .lede { margin-top: 18px; }
.page-404 .ctas { margin-top: 32px; }
.page-body { padding: clamp(48px, 8vh, 96px) 0 clamp(72px, 12vh, 140px); }
.prose { max-width: 760px; font-size: 18px; line-height: 1.75; }
.prose > * { margin-block: 0 1.1em; }
.prose h2, .prose h3 { font-weight: 800; line-height: 1.15; margin-top: 1.6em; color: var(--bone); }
.prose h2 { font-size: clamp(28px, 3.4vw, 40px); font-stretch: 75%; text-transform: uppercase; }
html[lang="ar"] .prose h2 { font-family: 'Changa', 'IBM Plex Sans Arabic', sans-serif; font-stretch: 100%; text-transform: none; }
.prose a { color: var(--gold); text-underline-offset: 3px; }
.prose img { max-width: 100%; height: auto; border-radius: 14px; }
.prose ul, .prose ol { padding-inline-start: 1.2em; }
.post-list { list-style: none; padding: 0; }
.post-list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.post-list a { color: var(--bone); text-decoration: none; font-weight: 600; }
.post-list a:hover { color: var(--gold); }
.post-list span { color: var(--dim); font-size: 14px; }

/* ---------- Booking page ---------- */
.booking-page {
  position: relative; overflow: hidden; min-height: 100vh;
  padding: clamp(110px, 16vh, 150px) 0 clamp(64px, 10vh, 120px);
  background:
    radial-gradient(60% 50% at 50% 0%, color-mix(in srgb, var(--gold) 14%, var(--loam)) 0%, transparent 70%),
    linear-gradient(180deg, var(--loam), var(--deep) 70%);
}
.booking-glow {
  position: absolute; inset: auto -10% -30% -10%; height: 60%; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 100%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 70%);
}
.booking-wrap { position: relative; }
.booking-wrap > *:not(.bsfl-bk):not(script) { max-width: 760px; margin-inline: auto; }

/* ---------- Booking form in brand colours ---------- */
body.bsfl-theme .bsfl-bk {
  --g-900: #1F1E1B;
  --g-800: #2B2A27;
  --g-700: #2B2A27;
  --g-600: #B98420;
  --g-100: #EBD9B0;
  --g-50: #F7EFDC;
  --sun: #D9A441;
  --sun-50: #FBF2DC;
  --ink: #1F1E1B;
  --muted: #6E675A;
  --line: #DDD4C2;
  --card: #FBF8F1;
  --err: #A44A3F;
  --font: 'Archivo', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  margin-top: 0 !important;
}
html[lang="ar"] body.bsfl-theme .bsfl-bk { --font: 'IBM Plex Sans Arabic', system-ui, Tahoma, sans-serif; }
body.bsfl-theme .bk-shell { background: var(--card); border-color: rgba(236, 229, 214, .1); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(217, 164, 65, .08); }
body.bsfl-theme .bk-shell::before { background: radial-gradient(600px 200px at 90% -60px, rgba(217, 164, 65, .18), transparent 70%); }
body.bsfl-theme .bk-shell.is-welcome {
  background:
    radial-gradient(circle at 1px 1px, rgba(236, 229, 214, .07) 1px, transparent 0) 0 0 / 22px 22px,
    radial-gradient(700px 380px at 100% 0%, rgba(217, 164, 65, .28) 0%, transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(164, 74, 63, .25) 0%, transparent 60%),
    linear-gradient(160deg, #34322E, #1F1E1B);
  border: 1px solid #46433D; color: var(--bone, #ECE5D6);
}
body.bsfl-theme .is-welcome .bk-brand,
body.bsfl-theme .bk-welcome .bk-kicker { color: #D9A441; }
body.bsfl-theme .bk-welcome .bk-kicker { background: rgba(217, 164, 65, .1); border-color: rgba(217, 164, 65, .3); }
body.bsfl-theme .bk-hero { font-weight: 800; font-stretch: 75%; letter-spacing: -.01em; }
html[lang="ar"] body.bsfl-theme .bk-hero,
html[lang="ar"] body.bsfl-theme .bk-title { font-family: 'Changa', 'IBM Plex Sans Arabic', sans-serif; font-stretch: 100%; font-weight: 700; }
body.bsfl-theme .bk-lead, body.bsfl-theme .bk-path { color: #CFC7B6; }
body.bsfl-theme .bk-facts li { background: rgba(236, 229, 214, .06); border-color: rgba(236, 229, 214, .12); }
body.bsfl-theme .bk-facts small, body.bsfl-theme .is-welcome .bk-hint { color: #A8A193; }
body.bsfl-theme .bk-path li span { background: #D9A441; color: #1F1E1B; }
body.bsfl-theme .bk-title { font-stretch: 85%; font-weight: 800; }

/* Gold primary action, like the site's buttons. */
body.bsfl-theme .bk-btn,
body.bsfl-theme .is-welcome .bk-btn { background: #D9A441; color: #1F1E1B; box-shadow: 0 12px 26px -14px rgba(185, 132, 32, .9); letter-spacing: .02em; }
body.bsfl-theme .bk-btn:hover { background: #E6B556; }
body.bsfl-theme .bk-btn-ghost { background: transparent; color: #1F1E1B; border: 1.5px solid #DDD4C2; box-shadow: none; }
body.bsfl-theme .bk-bar { background: #ECE4D2; }
body.bsfl-theme .bk-bar span, [dir="rtl"] body.bsfl-theme .bk-bar span { background: linear-gradient(90deg, #B98420, #D9A441); }
body.bsfl-theme .bk-counter { color: #8A6418; background: #F7EFDC; border-color: #EBD9B0; }
body.bsfl-theme .bk-opt { background: #fff; }
body.bsfl-theme .bk-opt-icon { background: #F5EEDD; }
body.bsfl-theme .bk-opt.is-on { background: #FBF3DF; border-color: #B98420; box-shadow: inset 0 0 0 1px #B98420; }
body.bsfl-theme .bk-opt.is-on .bk-opt-mark { background: #B98420; border-color: #B98420; }
body.bsfl-theme .bk-day.is-on, body.bsfl-theme .bk-time.is-on { background: #2B2A27; border-color: #2B2A27; color: #ECE5D6; }
body.bsfl-theme .bk-day.is-on .bk-day-w { color: #D9A441; }
body.bsfl-theme .bk-ticket { background: #F7EFDC; border-color: #EBD9B0; }
body.bsfl-theme .bk-ticket-time, body.bsfl-theme .bk-amount { color: #2B2A27; }
body.bsfl-theme .bk-ticket-side { background: #2B2A27; }
body.bsfl-theme .bk-ticket-side small { color: #D9A441; }
body.bsfl-theme .bk-paystep-n { background: #2B2A27; color: #D9A441; }
body.bsfl-theme .bk-done-badge { background: radial-gradient(circle at 30% 30%, #E6B556, #B98420); box-shadow: 0 0 0 10px #F7EFDC, 0 18px 40px -14px rgba(185, 132, 32, .9); }
body.bsfl-theme .bk-link { color: #8A6418; }
body.bsfl-theme .bk-back:hover { background: #F7EFDC; color: #1F1E1B; }
body.bsfl-theme .bsfl-bk .bk-input:focus { border-color: #B98420; box-shadow: 0 0 0 4px rgba(217, 164, 65, .2); }
body.bsfl-theme .bk-consent input:checked + .bk-check { background: #B98420; border-color: #B98420; }
body.bsfl-theme .bk-seg-btn.is-on { color: #1F1E1B; }
/* The site header has the language switch, so the form's own one is hidden. */
html[data-bsfl-site] .bsfl-bk .bk-lang { display: none; }
html[data-bsfl-site] .bsfl-bk .bk-top { grid-template-columns: auto 1fr; }
