/* ============================================================
   Kalahari Wildlife Park: shared styles
   Colors live in :root below. Change them there to re-theme.
   ============================================================ */
:root {
  --green-900: #0f3b2c;
  --green-700: #1c5a43;
  --green-500: #2f7d5b;
  --sand-50: #fbf7ef;
  --sand-100: #f4ecdc;
  --sand-300: #e3d3b3;
  --sun: #f0892c;
  --sun-dark: #c9651a;
  --gold: #f5c04e;
  --ink: #1f2a24;
  --ink-soft: #55615a;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 6px 24px rgb(15 59 44 / 0.12);
  --maxw: 1200px;
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand-50);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--green-900); }
p { text-wrap: pretty; }

.container { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section-alt { background: var(--sand-100); }
.section-dark { background: var(--green-900); color: var(--sand-50); }
.section-dark h2 { color: var(--white); }
.eyebrow {
  font-family: var(--font-head); font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; font-size: .8rem; color: var(--sun-dark); margin-bottom: .5rem;
}
.section-dark .eyebrow { color: var(--gold); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head p { margin: 0; max-width: 60ch; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: .8em 1.5em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sun { background: var(--sun); color: var(--white); }
.btn-sun:hover { background: var(--sun-dark); }
.btn-outline { border-color: currentColor; color: var(--white); background: transparent; }
.btn-outline:hover { background: rgb(255 255 255 / .15); }
.btn-green { background: var(--green-700); color: var(--white); }
.btn-green:hover { background: var(--green-900); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Header ---------- */
.utility-bar { background: var(--green-900); color: var(--sand-100); font-size: .85rem; }
.utility-bar .container { display: flex; justify-content: space-between; gap: 12px; padding-block: 6px; flex-wrap: wrap; }
.utility-bar a { color: var(--sand-100); text-decoration: none; }
.utility-bar .open-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; margin-right: 6px; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 2px 10px rgb(0 0 0 / .06); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-900); }
.logo-mark {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 70%, var(--sun), var(--sun-dark)); font-size: 1.5rem;
}
.logo-text { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; line-height: 1; }
.logo-text small { display: block; font-weight: 500; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sun-dark); margin-top: 3px; }

.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.main-nav a {
  display: block; padding: .6em 1em; border-radius: 999px; text-decoration: none;
  font-family: var(--font-head); font-weight: 600; color: var(--green-900);
}
.main-nav a:hover { background: var(--sand-100); }
.main-nav a[aria-current="page"] { color: var(--sun-dark); }
.main-nav .btn { margin-left: 8px; }
.main-nav .btn:hover { background: var(--sun-dark); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.8rem; cursor: pointer; color: var(--green-900); padding: 6px 10px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; inset: 100% 0 auto; background: var(--white); box-shadow: var(--shadow); display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 12px 16px 20px; }
  .main-nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-art svg, .hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(15 30 20 / .65), rgb(15 30 20 / .1) 70%); }
.hero .container { min-height: clamp(460px, 70vh, 640px); display: flex; flex-direction: column; justify-content: center; padding-block: 64px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 14ch; font-weight: 800; }
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 46ch; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.page-hero { background: var(--green-900); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.page-hero .container { padding-block: clamp(48px, 8vw, 96px); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.page-hero p { max-width: 55ch; font-size: 1.15rem; margin: 0; opacity: .9; }
.page-hero .hero-art { opacity: .35; }

/* ---------- Quick links bar ---------- */
.quick-links { margin-top: -48px; position: relative; z-index: 2; }
.quick-links .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.quick-link { display: flex; gap: 14px; align-items: center; padding: 22px; text-decoration: none; color: var(--ink); border-right: 1px solid var(--sand-100); transition: background .15s; }
.quick-link:hover { background: var(--sand-50); }
.quick-link .ql-icon { font-size: 2rem; }
.quick-link strong { font-family: var(--font-head); display: block; color: var(--green-900); font-size: 1.1rem; }
.quick-link span { font-size: .88rem; color: var(--ink-soft); }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; text-align: left;
  border: 0; padding: 0; font: inherit; color: inherit; text-decoration: none;
}
button.card { cursor: pointer; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgb(15 59 44 / .18); }
.card-media { aspect-ratio: 4 / 3; position: relative; display: grid; place-items: center; overflow: hidden; }
.card-media .emoji { font-size: clamp(3.5rem, 7vw, 5rem); filter: drop-shadow(0 6px 10px rgb(0 0 0 / .25)); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.2rem; color: var(--green-900); }
.card-body p { margin: 0; color: var(--ink-soft); font-size: .93rem; }
.land-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--ink-soft); }
.land-tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--land, var(--green-500)); }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--sand-100); color: var(--ink); width: fit-content; }
.badge.CR { background: #fde2e1; color: #9f1d1a; }
.badge.EN { background: #ffe7d1; color: #9a4a0b; }
.badge.VU { background: #fff3c4; color: #7a5b00; }
.badge.NT { background: #e4f2dc; color: #3b6b1f; }
.badge.LC { background: #dff1ec; color: #1d5f4f; }

/* Land-tinted placeholder: set --land on the element */
.tint { background:
  radial-gradient(circle at 30% 20%, rgb(255 255 255 / .35), transparent 55%),
  linear-gradient(135deg, var(--land, var(--green-500)), color-mix(in srgb, var(--land, var(--green-500)) 60%, #000)); }

/* ---------- Schedule ---------- */
.schedule { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.show { display: flex; gap: 16px; align-items: center; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .12); border-radius: var(--radius); padding: 16px 18px; }
.show time { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--gold); min-width: 80px; }
.show strong { display: block; font-family: var(--font-head); }
.show span { font-size: .85rem; opacity: .8; }
.show.past { opacity: .45; }

/* ---------- Lands tiles ---------- */
.land-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.land-tile { position: relative; border-radius: var(--radius); overflow: hidden; color: var(--white); text-decoration: none; min-height: 190px; padding: 22px; display: flex; flex-direction: column; justify-content: end; box-shadow: var(--shadow); transition: transform .2s; }
.land-tile:hover { transform: translateY(-4px); }
.land-tile .big { position: absolute; right: 14px; top: 8px; font-size: 4.5rem; opacity: .9; }
.land-tile h3 { margin: 0 0 4px; font-size: 1.35rem; }
.land-tile p { margin: 0; font-size: .9rem; opacity: .92; }

/* ---------- Promo banner ---------- */
.promo { border-radius: calc(var(--radius) * 1.5); background: linear-gradient(120deg, var(--sun), #e0522b); color: var(--white); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.promo h2 { color: var(--white); margin-bottom: .3em; }
.promo p { margin: 0; max-width: 55ch; }
.promo .btn { background: var(--white); color: var(--sun-dark); }
@media (max-width: 700px) { .promo { grid-template-columns: 1fr; } }

/* ---------- Filters ---------- */
.filters { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.search { width: 100%; max-width: 420px; padding: .85em 1.2em; border-radius: 999px; border: 2px solid var(--sand-300); font: inherit; background: var(--white); }
.search:focus { border-color: var(--green-500); outline: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: .88rem; font-weight: 600; padding: .45em 1em; border-radius: 999px; border: 2px solid var(--sand-300); background: var(--white); cursor: pointer; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.chip[aria-pressed="true"] { background: var(--green-700); border-color: var(--green-700); color: var(--white); }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; }
.result-count { color: var(--ink-soft); font-size: .9rem; margin: 0 0 16px; }
.empty { padding: 48px; text-align: center; color: var(--ink-soft); }

/* ---------- Dialog (animal detail) ---------- */
dialog.animal-dialog { border: 0; padding: 0; border-radius: calc(var(--radius) * 1.25); width: min(560px, 100% - 32px); box-shadow: 0 30px 80px rgb(0 0 0 / .35); }
dialog.animal-dialog::backdrop { background: rgb(10 25 18 / .6); }
.dialog-media { aspect-ratio: 16 / 9; display: grid; place-items: center; position: relative; }
.dialog-media .emoji { font-size: 6rem; }
.dialog-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dialog-body { padding: 24px 28px 28px; }
.dialog-body h3 { font-size: 1.7rem; color: var(--green-900); }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .9); font-size: 1.3rem; cursor: pointer; z-index: 1; }
.meta-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 14px; }

/* ---------- Map ---------- */
.map-wrap { background: var(--white); border-radius: calc(var(--radius) * 1.5); box-shadow: var(--shadow); padding: clamp(12px, 2vw, 24px); }
.park-map { width: 100%; height: auto; display: block; }
.park-map .zone { cursor: pointer; transition: filter .15s, transform .15s; transform-box: fill-box; transform-origin: center; }
.park-map .zone:hover, .park-map .zone:focus { filter: brightness(1.12); transform: scale(1.04); outline: none; }
.park-map text { font-family: var(--font-head); pointer-events: none; }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: .85rem; }
.map-legend span { display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Land sections ---------- */
.land-section { padding-block: 48px; border-top: 1px solid var(--sand-300); }
.land-header { display: flex; gap: 18px; align-items: center; margin-bottom: 24px; }
.land-badge { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; font-size: 2.4rem; flex: none; }
.land-header h2 { margin: 0; }
.land-header p { margin: 4px 0 0; color: var(--ink-soft); }
.land-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.land-col { background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.land-col h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--sun-dark); margin-bottom: 12px; }
.land-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.land-col li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.land-col li .ico { font-size: 1.2rem; line-height: 1.3; }
.land-col li small { display: block; color: var(--ink-soft); font-size: .82rem; }
.id-pill { font-size: .7rem; font-weight: 700; background: var(--sand-100); border-radius: 6px; padding: 1px 6px; margin-left: 4px; color: var(--ink-soft); }

/* ---------- Visit page ---------- */
.ticket-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.ticket { background: var(--white); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; border-top: 6px solid var(--green-500); }
.ticket.featured { border-top-color: var(--sun); background: linear-gradient(180deg, #fff7ee, var(--white)); }
.ticket h3 { margin: 0; color: var(--green-900); }
.ticket .price { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--green-900); }
.ticket .price sup { font-size: 1.2rem; }
.ticket p { margin: 0 0 12px; color: var(--ink-soft); font-size: .92rem; flex: 1; }
.hours-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hours-table td { padding: 16px 20px; border-bottom: 1px solid var(--sand-100); }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; align-items: start; }
.listing { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.listing-item { background: var(--white); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); display: flex; gap: 14px; border-left: 6px solid var(--land); }
.listing-item .ico { font-size: 1.8rem; }
.listing-item h3 { font-size: 1.1rem; margin: 0 0 2px; color: var(--green-900); }
.listing-item p { margin: 4px 0 0; font-size: .9rem; color: var(--ink-soft); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: var(--sand-100); padding-block: 56px 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--sand-100); text-decoration: none; font-size: .92rem; }
.site-footer a:hover { color: var(--gold); }
.site-footer .logo { color: var(--white); margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .12); margin-top: 40px; padding-top: 20px; font-size: .82rem; opacity: .75; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

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

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; text-align: center; }
.stats strong { display: block; font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--sun-dark); line-height: 1; }
.stats span { color: var(--ink-soft); font-weight: 600; }

/* ---------- Tweaks ---------- */
.land-tile { min-height: 220px; }
.land-tile h3, .land-tile p { position: relative; }
@media (max-width: 600px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .chip { flex: none; }
}

/* ---------- Nav dropdown ---------- */
.has-dropdown { position: relative; }
.dropdown-toggle {
  display: flex; align-items: center; gap: 6px; padding: .6em 1em; border-radius: 999px; border: 0; background: none;
  font: 600 1rem var(--font-head); color: var(--green-900); cursor: pointer;
}
.dropdown-toggle:hover, .dropdown-toggle[aria-expanded="true"] { background: var(--sand-100); }
.dropdown-toggle.is-current { color: var(--sun-dark); }
.caret { font-size: .8em; transition: transform .2s; }
.dropdown-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }
.main-nav .dropdown {
  display: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  flex-direction: column; align-items: stretch; gap: 2px; padding: 8px;
  background: var(--white); border-radius: 14px; box-shadow: 0 12px 32px rgb(15 59 44 / .18);
}
.dropdown-toggle[aria-expanded="true"] + .dropdown { display: flex; }
.main-nav .dropdown a { border-radius: 10px; }
.dropdown-soon {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: .6em 1em;
  font-family: var(--font-head); font-weight: 600; color: var(--ink-soft); cursor: default;
}
.soon-pill { font-family: var(--font-body); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 999px; background: var(--sand-100); color: var(--sun-dark); }
@media (hover: hover) and (min-width: 861px) {
  .has-dropdown:hover .dropdown { display: flex; }
  .has-dropdown:hover .caret { transform: rotate(180deg); }
}
@media (max-width: 860px) {
  .dropdown-toggle { width: 100%; justify-content: space-between; border-radius: 12px; }
  .main-nav .dropdown { position: static; box-shadow: none; padding: 0 0 4px 16px; min-width: 0; }
}
.dropdown-soon, .main-nav .dropdown a { white-space: nowrap; }
.main-nav .dropdown { min-width: 280px; }
.main-nav a.btn { display: inline-flex; color: var(--white); }

/* ---------- Image park map ---------- */
.map-frame { position: relative; border-radius: var(--radius); overflow: hidden; }
.map-frame img { width: 100%; height: auto; }
.map-hotspots { position: absolute; inset: 0; width: 100%; height: 100%; }
.hotspot ellipse { fill: rgb(255 255 255 / 0); stroke: rgb(255 255 255 / 0); stroke-width: 6; transition: fill .15s, stroke .15s; cursor: pointer; }
.hotspot:hover ellipse, .hotspot:focus-visible ellipse { fill: rgb(255 255 255 / .28); stroke: var(--sun); }
.hotspot:focus { outline: none; }
.map-tip {
  position: absolute; transform: translate(-50%, calc(-100% - 14px)); pointer-events: none; white-space: nowrap;
  background: var(--green-900); color: var(--white); font: 600 .9rem var(--font-head); padding: 6px 12px; border-radius: 999px;
  box-shadow: 0 6px 18px rgb(0 0 0 / .25);
}
.map-tip::after { content: "View habitat →"; font-weight: 500; opacity: .75; margin-left: 8px; font-size: .8em; }
.map-hint { color: var(--ink-soft); font-size: .9rem; text-align: center; margin: 14px 0 0; }

/* Land tile photo (images/lands/<slug>.jpg|png) */
.land-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.land-tile:has(> img)::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(transparent 30%, rgb(0 0 0 / .65)); }
.land-tile:has(> img) .big { display: none; }

/* ---------- Single land page ---------- */
.land-hero { color: var(--white); }
.land-hero .hero-art { opacity: 1; }
.land-hero .hero-art img { width: 100%; height: 100%; object-fit: cover; }
.land-hero:has(.hero-art img)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(0 0 0 / .6), rgb(0 0 0 / .15)); }
.crumbs { font-size: .9rem; margin-bottom: 18px; opacity: .9; }
.crumbs a { color: var(--white); }
.land-hero-row { display: flex; gap: 22px; align-items: center; }
.land-hero-emoji { font-size: clamp(3.5rem, 8vw, 5.5rem); filter: drop-shadow(0 6px 12px rgb(0 0 0 / .3)); }
.land-hero .aka { font-size: .95rem; margin-top: 6px; opacity: .85; }
.land-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.land-stats span { background: rgb(255 255 255 / .18); border: 1px solid rgb(255 255 255 / .3); padding: 6px 14px; border-radius: 999px; font-size: .92rem; }
.land-pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.btn-outline-dark { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn-outline-dark:hover { background: var(--sand-100); }

/* Fix: custom banner photo (images/hero.jpg|png) sits on top of the illustration */
.hero-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero h1, .hero p, .page-hero h1, .page-hero p { text-shadow: 0 2px 12px rgb(0 0 0 / .45); }

/* ---------- Upgraded Experiences ---------- */
.exp-section { background: #f3f1ea; }
.exp-intro { text-align: center; margin-bottom: 40px; }
.exp-heading { color: #6aa83f; font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin: 0 0 4px; }
.exp-sub { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.5rem); color: #3d3d3d; margin: 0; }
.exp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.exp-card {
  position: relative; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink);
  background: linear-gradient(180deg, color-mix(in srgb, var(--exp) 70%, #000) 40%, var(--exp));
  box-shadow: 0 10px 28px rgb(0 0 0 / .14); transition: transform .2s, box-shadow .2s;
}
.exp-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgb(0 0 0 / .2); }
.exp-media { aspect-ratio: 5 / 4; position: relative; display: grid; place-items: center; }
.exp-media .emoji { font-size: 5.5rem; filter: drop-shadow(0 8px 14px rgb(0 0 0 / .3)); }
.exp-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.exp-panel { position: relative; margin: -56px 20px 24px; background: #f6f4ee; border-radius: 12px; padding: 30px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.exp-panel h3 { color: var(--exp); font-size: 1.7rem; margin-bottom: 14px; }
.exp-panel p { margin: 0 0 18px; color: #3d3d3d; font-size: 1.02rem; }
.exp-panel .exp-price { margin-top: auto; color: #a3a52a; font-family: var(--font-head); font-weight: 700; }
.exp-btn { display: block; text-align: center; padding: .9em; border: 2px solid var(--exp); border-radius: 10px; color: var(--exp); font-family: var(--font-head); font-weight: 700; transition: background .15s, color .15s; }
.exp-card:hover .exp-btn { background: var(--exp); color: var(--white); }

.crumbs-dark { color: var(--ink-soft); }
.crumbs-dark a { color: var(--green-700); }
.exp-switch { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.exp-switch .chip { text-decoration: none; }
.exp-switch .chip[aria-pressed="true"] { background: var(--exp); border-color: var(--exp); }

.tour-list { display: grid; gap: 40px; }
.tour { display: grid; grid-template-columns: 300px 1fr; gap: 40px; background: #f6f4ee; padding: 40px 48px; border-bottom: 8px solid var(--exp); border-radius: 6px; box-shadow: 0 4px 16px rgb(0 0 0 / .06); }
.tour-media { aspect-ratio: 3 / 4.3; border-radius: 6px; position: relative; display: grid; place-items: center; overflow: hidden; align-self: start; }
.tour-media .emoji { font-size: 5rem; }
.tour-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour-body h2 { color: var(--exp); font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 10px; }
.tour-price { color: #a3a52a; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; margin: 0 0 14px; }
.tour-meta { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .95rem; color: #444; }
.tour-meta li { display: flex; align-items: center; gap: 8px; }
.tour-meta svg { width: 20px; height: 20px; fill: none; stroke: #555; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tour-meta a { color: #a3a52a; font-weight: 600; }
.tour-body > p { color: #3d3d3d; font-size: 1.05rem; margin: 0 0 18px; }
.tour-more { background: var(--white); border-radius: 10px; padding: 18px 22px; margin-bottom: 20px; }
.tour-more h3 { font-size: 1.05rem; color: var(--exp); margin-bottom: 8px; }
.tour-more ul { margin: 0 0 10px; padding-left: 20px; }
.tour-more p { margin: 0; }
.tour-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 28px; margin-top: 4px; }
.btn-solid, .btn-line { font: 700 1.05rem var(--font-head); padding: .95em 1.2em; border-radius: 8px; cursor: pointer; border: 2px solid var(--exp); transition: filter .15s, background .15s; }
.btn-solid { background: var(--exp); color: var(--white); }
.btn-solid:hover { filter: brightness(1.08); }
.btn-line { background: transparent; color: var(--exp); }
.btn-line:hover { background: var(--white); }
.fine { font-size: .82rem; color: #555; margin: 14px 0 0; }
@media (max-width: 760px) {
  .tour { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
  .tour-media { aspect-ratio: 16 / 9; }
  .tour-actions { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* Booking dialog */
dialog.book-dialog { border: 0; padding: 0; border-radius: 16px; width: min(440px, 100% - 32px); box-shadow: 0 30px 80px rgb(0 0 0 / .35); }
dialog.book-dialog::backdrop { background: rgb(10 25 18 / .6); }
.book-form { padding: 32px 30px 28px; display: grid; gap: 16px; }
.book-form h3 { color: var(--exp); font-size: 1.6rem; margin: 0; }
.book-form .eyebrow { margin: 0; }
.book-meta { margin: -6px 0 0; color: var(--ink-soft); font-size: .92rem; }
.book-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.book-form input[type=date] { font: inherit; padding: .7em .9em; border: 2px solid var(--sand-300); border-radius: 10px; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--exp); background: var(--white); color: var(--exp); font-size: 1.3rem; cursor: pointer; }
.qty input { width: 70px; text-align: center; font: inherit; padding: .6em; border: 2px solid var(--sand-300); border-radius: 10px; }
.book-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--sand-300); padding-top: 14px; font-family: var(--font-head); }
.book-total strong { font-size: 1.8rem; color: var(--green-900); }
.book-done-icon { font-size: 3rem; margin: 0; text-align: center; }
.book-form:has(.book-done-icon) { text-align: center; }

/* Nav: switch to the menu button a bit earlier now there are more items */
@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; inset: 100% 0 auto; background: var(--white); box-shadow: var(--shadow); display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 12px 16px 20px; }
  .main-nav .btn { margin: 8px 0 0; justify-content: center; }
  .dropdown-toggle { width: 100%; justify-content: space-between; border-radius: 12px; }
  .main-nav .dropdown { position: static; box-shadow: none; padding: 0 0 4px 16px; min-width: 0; }
}
@media (hover: hover) and (min-width: 941px) {
  .has-dropdown:hover .dropdown { display: flex; }
}
@media (hover: hover) and (min-width: 861px) and (max-width: 940px) {
  .has-dropdown:hover .dropdown { display: none; }
  .dropdown-toggle[aria-expanded="true"] + .dropdown { display: flex; }
}
.tour-body .tour-price { color: #a3a52a; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; margin: 0 0 14px; }
.tour-body .fine { font-size: .82rem; color: #555; margin: 14px 0 0; }
.exp-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, color-mix(in srgb, var(--exp) 70%, #000)); pointer-events: none; }

/* ---------- Park logo ---------- */
.logo-img { height: 60px; width: auto; display: block; }
.logo-fallback { display: none; align-items: center; gap: 10px; }
.logo.no-logo .logo-fallback { display: flex; }
.site-header .container { min-height: 84px; }
.logo-footer { background: var(--sand-50); padding: 10px 16px; border-radius: 14px; width: fit-content; }
.logo-footer .logo-img { height: 64px; }
.logo-footer.no-logo { background: none; padding: 0; }
@media (max-width: 1100px) { .logo-img { height: 50px; } .site-header .container { min-height: 72px; } }
@media (max-width: 400px) { .logo-img { height: 42px; } }

/* Habitat photos: stronger fade for readable text, hide the emoji when a photo is present */
.land-hero:has(.hero-art img)::after { background: linear-gradient(90deg, rgb(0 0 0 / .72), rgb(0 0 0 / .35) 55%, rgb(0 0 0 / .05)); }
.land-hero:has(.hero-art img) .land-hero-emoji { display: none; }
.land-tile:has(> img)::before { display: none; }
.land-tile:has(> img)::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(transparent 25%, rgb(0 0 0 / .78)); }
.land-tile h3, .land-tile p { z-index: 1; }
.land-hero.tall { display: flex; align-items: center; }

/* ---------- Shows & Theatres ---------- */
.theatre-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; margin-bottom: 40px; }
.theatre-photo { aspect-ratio: 16 / 9; border-radius: calc(var(--radius) * 1.25); overflow: hidden; position: relative; display: grid; place-items: center; box-shadow: var(--shadow); }
.theatre-photo .emoji { font-size: 5rem; }
.theatre-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theatre-info h2 { margin-bottom: 6px; }
.theatre-where { margin: 0 0 14px; font-weight: 600; }
.theatre-features { display: flex; flex-wrap: wrap; gap: 8px; }
.theatre-sub { font-size: 1.4rem; color: var(--green-900); margin: 0 0 16px; }
.show-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 40px; }
.show-card { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.show-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.show-card-head { display: flex; gap: 14px; align-items: center; }
.show-card h4 { margin: 0; font-size: 1.2rem; color: var(--green-900); }
.show-card .show-meta { font-size: .85rem; }
.show-emoji { font-size: 2.2rem; }
.show-times { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.time-chip { font: 700 .9rem var(--font-head); padding: 6px 12px; border-radius: 999px; background: var(--green-700); color: var(--white); }
.time-chip.past { background: var(--sand-300); color: var(--ink-soft); text-decoration: line-through; }
.seat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.seat { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border-top: 6px solid var(--green-500); display: flex; flex-direction: column; gap: 8px; }
.seat.featured { border-top-color: var(--sun); background: linear-gradient(180deg, #fff7ee, var(--white)); }
.seat h4 { margin: 0; font-size: 1.15rem; color: var(--green-900); }
.seat-price { font: 800 2rem var(--font-head); color: var(--green-900); }
.seat-price small { font-size: .85rem; font-weight: 500; color: var(--ink-soft); }
.seat p { margin: 0 0 8px; color: var(--ink-soft); font-size: .92rem; flex: 1; }
.seat .btn { justify-content: center; }
.book-select { font: inherit; padding: .7em .9em; border: 2px solid var(--sand-300); border-radius: 10px; background: var(--white); }
a.show-link { text-decoration: none; color: inherit; transition: background .15s; }
a.show-link:hover { background: rgb(255 255 255 / .14); }
#theatre-jump .chip { text-decoration: none; }
@media (max-width: 860px) { .theatre-top { grid-template-columns: 1fr; gap: 24px; } }


/* ---------- Optional background prints ----------
   Turned on/off with SITE_OPTIONS.background in js/data.js.
   To change the print's strength, edit the stroke/fill color (%23efe4cc) below:
   a darker color = bolder spots, closer to the sand color = fainter. */
body.bg-leopard {
  background-color: var(--sand-50);
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22180%22%20height%3D%22180%22%20viewBox%3D%220%200%20180%20180%22%20fill%3D%22none%22%20stroke%3D%22%23efe4cc%22%20stroke-width%3D%227%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22M20%2030%20q10%20-14%2024%20-4%20M50%2034%20q4%2016%20-10%2020%20M18%2044%20q-4%2012%208%2018%22/%3E%3Cpath%20d%3D%22M110%2020%20q14%20-8%2022%206%20M136%2034%20q2%2014%20-12%2016%20M104%2032%20q-6%2012%204%2020%22/%3E%3Cpath%20d%3D%22M70%20100%20q12%20-12%2024%20-2%20M98%20110%20q0%2016%20-14%2018%20M66%20114%20q-2%2012%2010%2016%22/%3E%3Cpath%20d%3D%22M140%20120%20q12%20-10%2022%202%20M164%20134%20q0%2012%20-12%2014%20M136%20132%20q-4%2010%206%2016%22/%3E%3Cpath%20d%3D%22M20%20140%20q10%20-10%2020%200%20M44%20150%20q-2%2012%20-14%2012%22/%3E%3Cg%20fill%3D%22%23efe4cc%22%20stroke%3D%22none%22%3E%3Ccircle%20cx%3D%22160%22%20cy%3D%2270%22%20r%3D%226%22/%3E%3Ccircle%20cx%3D%2240%22%20cy%3D%2295%22%20r%3D%225%22/%3E%3Ccircle%20cx%3D%22110%22%20cy%3D%22165%22%20r%3D%225%22/%3E%3Ccircle%20cx%3D%2285%22%20cy%3D%2255%22%20r%3D%224%22/%3E%3C/g%3E%3C/svg%3E");
}
body.bg-leopard .section-alt { background-color: rgb(244 236 220 / .75); }

/* ---------- Conservation section (Conservation Center page) ---------- */
.conservation .cons-figure { margin: 0 0 36px; border-radius: calc(var(--radius) * 1.25); overflow: hidden; box-shadow: var(--shadow); }
.conservation .cons-figure img { width: 100%; height: auto; }
.cons-text { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.cons-text h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cons-text p { color: var(--ink); font-size: 1.05rem; line-height: 1.7; margin: 0; }
/* Framed text panels under the conservation hubs map */
.cons-text > div { background: var(--white); border-radius: var(--radius); padding: 28px 32px; box-shadow: var(--shadow); border-top: 6px solid #16A34A; }
@media (max-width: 600px) { .cons-text > div { padding: 22px 20px; } }

/* ---------- Shop products ---------- */
.product-card .card-body { gap: 8px; }
.product-price { font: 800 1.35rem var(--font-head); color: var(--green-900); margin-top: auto; }

/* ---------- Shop admin ---------- */
.admin-title { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--green-900); }
.admin-status { padding: 14px 18px; border-radius: 12px; margin-bottom: 28px; font-size: .95rem; }
.admin-status.ok { background: #dff1ec; color: #1d5f4f; }
.admin-status.off { background: #fff3c4; color: #6b5100; }
.admin-grid { display: grid; grid-template-columns: minmax(300px, 420px) 1fr; gap: 28px; align-items: start; }
.admin-card { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.admin-card h2 { font-size: 1.4rem; margin-bottom: 16px; }
#product-form { display: grid; gap: 14px; position: sticky; top: 100px; }
#product-form label, .admin-label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
#product-form input:not([type=file]), #product-form textarea { font: inherit; padding: .7em .9em; border: 2px solid var(--sand-300); border-radius: 10px; background: var(--white); }
#product-form input:focus, #product-form textarea:focus { border-color: var(--green-500); outline: none; }
.admin-photo { display: grid; gap: 8px; }
.admin-preview { aspect-ratio: 4 / 3; border-radius: 12px; background: var(--sand-100); display: grid; place-items: center; color: var(--ink-soft); overflow: hidden; }
.admin-preview img { width: 100%; height: 100%; object-fit: cover; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-msg { margin: 0; font-size: .9rem; min-height: 1.2em; }
.admin-msg.good { color: #1d5f4f; } .admin-msg.bad { color: #9f1d1a; font-weight: 600; }
.admin-list-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.admin-list-head h2 { margin: 0; }
.admin-group { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--sun-dark); margin: 20px 0 8px; }
.admin-row { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 12px; border: 1px solid var(--sand-100); margin-bottom: 8px; }
.admin-row.editing { border-color: var(--sun); background: #fff7ee; }
.admin-thumb { width: 64px; height: 48px; border-radius: 8px; background: var(--sand-100); display: grid; place-items: center; font-size: 1.5rem; overflow: hidden; flex: none; }
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-row-text { flex: 1; display: grid; }
.admin-row-text span { color: var(--ink-soft); font-size: .9rem; }
.admin-row-btns { display: flex; gap: 6px; }
.btn-line.small { font-size: .85rem; padding: .45em .9em; --exp: var(--green-700); }
.btn-line.danger { --exp: #b42318; }
button:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 860px) { .admin-grid { grid-template-columns: 1fr; } #product-form { position: static; } }
/* Product photos are square */
.product-card .card-media { aspect-ratio: 1 / 1; }

/* Dropdown: invisible bridge over the gap so moving the mouse down doesn't close it */
.main-nav .dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
@media (min-width: 861px) { .has-dropdown:hover .dropdown { display: none; } .dropdown-toggle[aria-expanded="true"] + .dropdown { display: flex; } }
.utility-bar a .open-dot { vertical-align: middle; }

/* ---------- Today at the Zoo ---------- */
.today-hero .container { min-height: clamp(260px, 36vw, 420px); align-items: center; justify-content: center; text-align: center; padding-block: 40px; }
.today-hero::after { background: linear-gradient(rgb(0 30 40 / .35), rgb(0 30 40 / .2)); }
.today-banner-title { font-size: clamp(2.4rem, 6vw, 4.4rem); max-width: none; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.today-links { background: #e8f1ef; border-bottom: 1px solid #d6e5e1; }
.today-links .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; padding-block: 12px; }
.today-links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #1f4f6b; font: 600 1.05rem var(--font-head); padding: 8px 6px; border-radius: 8px; }
.today-links a:hover { background: rgb(255 255 255 / .7); }
.today-links span { font-size: 1.2rem; }
.today-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.today-main { background: var(--white); border-radius: var(--radius); padding: 32px 36px; box-shadow: var(--shadow); }
.today-title { color: #6aa83f; font-size: clamp(2rem, 4vw, 3rem); }
.today-notes { margin: 0; padding-left: 22px; display: grid; gap: 10px; font-size: 1.05rem; line-height: 1.6; }
.today-notes ul { list-style: circle; padding-left: 22px; margin: 8px 0 0; display: grid; gap: 6px; }
.today-notes a { color: #2f6fb0; font-weight: 600; }
.today-side { display: grid; gap: 28px; }
.info-card { position: relative; background: #efefef; border-radius: 6px; padding: 30px 110px 30px 34px; box-shadow: 0 2px 10px rgb(0 0 0 / .05); }
.info-card h3 { font-size: 1.6rem; color: #222; margin-bottom: 14px; }
.info-card p { margin: 0 0 6px; font-size: 1.05rem; }
.info-card .strong { font-weight: 700; }
.info-card .muted a { color: #2f6fb0; font-weight: 600; font-size: .95rem; }
.info-icon { position: absolute; right: -24px; top: 50%; transform: translateY(-50%); width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; font-size: 2.6rem; box-shadow: 0 6px 18px rgb(0 0 0 / .15); }
.info-icon.green { background: #6f9a37; } .info-icon.blue { background: #3f7fc7; } .info-icon.red { background: #b8412a; }
.today-feature { max-width: 820px; margin-inline: auto; text-align: center; background: var(--white); border-radius: var(--radius); padding: 36px 40px; box-shadow: var(--shadow); }
.today-feature h2 { color: var(--green-900); }
.today-feature p { font-size: 1.1rem; line-height: 1.7; margin: 0 0 14px; }
@media (max-width: 900px) {
  .today-grid { grid-template-columns: 1fr; }
  .info-icon { right: 16px; width: 72px; height: 72px; font-size: 1.9rem; }
  .info-card { padding-right: 104px; }
  .today-main, .today-feature { padding: 24px 22px; }
}

@media (min-width: 941px) and (max-width: 1100px) { .main-nav a, .dropdown-toggle { padding: .6em .7em; } .main-nav .btn { margin-left: 4px; padding: .7em 1.1em; } }
.hero .today-banner-title { max-width: none; }
.info-icon svg { width: 46px; height: 46px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .info-icon svg { width: 32px; height: 32px; } }

/* ---------- Daily schedule (Today at the Zoo) ---------- */
html { scroll-padding-top: 100px; }
.day-chips { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.day-chip { flex: none; display: grid; gap: 2px; text-align: center; min-width: 82px; padding: 10px 14px; border-radius: 14px; border: 2px solid var(--sand-300); background: var(--white); cursor: pointer; font: inherit; color: var(--ink); }
.day-chip span { font-size: .8rem; color: var(--ink-soft); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.day-chip strong { font-family: var(--font-head); font-size: 1.05rem; }
.day-chip[aria-pressed="true"] { background: var(--green-700); border-color: var(--green-700); color: var(--white); }
.day-chip[aria-pressed="true"] span { color: var(--sand-100); }
.chip-count { background: rgb(0 0 0 / .08); border-radius: 999px; padding: 0 7px; font-size: .78rem; }
.chip[aria-pressed="true"] .chip-count { background: rgb(255 255 255 / .25); }
.next-up { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; background: var(--green-900); color: var(--white); border-radius: var(--radius); padding: 16px 22px; margin-bottom: 24px; }
.next-up strong { font-family: var(--font-head); font-size: 1.15rem; }
.next-up span { opacity: .85; }
.next-up .next-label { background: var(--sun); color: var(--white); opacity: 1; font: 700 .75rem var(--font-head); text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; }
.next-up.done { background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.sched-sub { font-size: 1.25rem; color: var(--green-900); margin: 8px 0 12px; }
.sched-sub small { font: 500 .85rem var(--font-body); color: var(--ink-soft); margin-left: 8px; }
.allday-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-bottom: 28px; }
.allday { display: flex; gap: 12px; align-items: center; background: var(--white); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.allday > span { font-size: 1.8rem; }
.allday strong { display: block; font-family: var(--font-head); color: var(--green-900); }
.allday small { color: var(--ink-soft); }
.event-list { display: grid; gap: 10px; }
.event { display: grid; grid-template-columns: 92px 44px 1fr auto 170px; align-items: center; gap: 14px; background: var(--white); border-radius: 12px; padding: 14px 18px; box-shadow: 0 3px 12px rgb(15 59 44 / .08); border-left: 6px solid var(--type); }
.event time { font: 800 1.05rem var(--font-head); color: var(--green-900); }
.event-icon { font-size: 1.7rem; text-align: center; }
.event-main strong { display: block; font-family: var(--font-head); font-size: 1.08rem; color: var(--green-900); }
.event-main span { font-size: .9rem; color: var(--ink-soft); }
.event-main a { color: var(--green-700); font-weight: 600; }
.event-type { font: 700 .75rem var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--type); background: color-mix(in srgb, var(--type) 12%, #fff); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.event-link { font-weight: 700; font-size: .9rem; color: var(--sun-dark); text-align: right; text-decoration: none; }
.event-link:hover { text-decoration: underline; }
.event-link.free { color: var(--ink-soft); font-weight: 500; }
.event.past { opacity: .5; }
.event.past time { text-decoration: line-through; }
.event.next { outline: 3px solid var(--sun); outline-offset: 2px; }
@media (max-width: 760px) {
  .event { grid-template-columns: 70px 1fr; gap: 6px 12px; }
  .event-icon { display: none; }
  .event-type, .event-link { grid-column: 2; justify-self: start; text-align: left; }
}
.news-wrap { max-width: 900px; }
.hero .today-banner-sub { margin: 10px auto 0; font: 600 clamp(1rem, 1.8vw, 1.3rem) var(--font-head); background: rgb(0 0 0 / .35); padding: 8px 18px; border-radius: 999px; max-width: none; width: fit-content; }
.hours-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; background: var(--white); border-radius: var(--radius); padding: 16px 22px; box-shadow: var(--shadow); margin: 18px 0 0; border-left: 6px solid #6f9a37; }
.hours-icon { font-size: 1.8rem; }
.hours-label { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.hours-strip strong { font: 800 1.4rem var(--font-head); color: var(--green-900); }
.hours-status { font: 700 .8rem var(--font-head); padding: 5px 12px; border-radius: 999px; }
.hours-status.open { background: #dcfce7; color: #166534; } .hours-status.closed { background: #fee2e2; color: #991b1b; }
.hours-strip a { margin-left: auto; font-weight: 700; color: var(--green-700); }

/* Scheduled events v2: solid rows, separate "Where" column, narrower list */
.sched-events { max-width: 1040px; margin: 0 auto; }
.event-list { gap: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.event, .event-head { grid-template-columns: 84px 34px minmax(0, 1.25fr) minmax(0, 1fr) 104px 150px; gap: 12px; }
.event { background: var(--white); border-radius: 0; box-shadow: none; padding: 12px 18px; border-left: 5px solid var(--type); border-bottom: 1px solid var(--sand-100); }
.event:nth-child(even) { background: #fbf9f4; }
.event:last-child { border-bottom: 0; }
.event-name { font-family: var(--font-head); font-size: 1.05rem; color: var(--green-900); }
.event-where { display: grid; line-height: 1.3; font-size: .9rem; color: var(--ink); }
.event-where a { color: var(--green-700); font-weight: 600; font-size: .85rem; }
.event-icon { font-size: 1.45rem; }
.event-type { justify-self: start; }
.event-head { display: grid; padding: 0 18px 8px 23px; font: 700 .75rem var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
/* Past events: keep the row solid, just soften the text */
.event.past { opacity: 1; background: #f3f1ec; }
.event.past > * { color: #9aa29d; }
.event.past .event-name, .event.past time { color: #8c948f; }
.event.past .event-type { background: #e7e4dd; color: #8c948f; }
.event.past .event-icon { filter: grayscale(1); opacity: .6; }
.event.next { outline: none; background: #fff7ee; box-shadow: inset 0 0 0 2px var(--sun); }
@media (max-width: 860px) {
  .event-head { display: none; }
  .event { grid-template-columns: 70px 1fr; gap: 4px 12px; }
  .event-icon { display: none; }
  .event-where, .event-type, .event-link { grid-column: 2; justify-self: start; text-align: left; }
}
/* Open all day tiles: title / frequency / hours on fixed lines */
.allday-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.allday > div { display: grid; gap: 2px; min-width: 0; }
.allday strong, .allday small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.allday .ad-freq { color: var(--ink-soft); }
.allday .ad-hours { color: var(--green-700); font-weight: 600; }

/* ---------- Places to Stay ---------- */
.stay-hero::after { background: linear-gradient(transparent 55%, rgb(0 0 0 / .45)); }
.stay-hero .container.stay-hero-inner { min-height: clamp(420px, 56vw, 760px); justify-content: flex-end; align-items: flex-end; padding-block: 32px; }
.stay-badge { background: rgb(255 255 255 / .94); color: var(--ink); border-radius: calc(var(--radius) * 1.25); padding: 20px 24px; display: grid; gap: 8px; justify-items: start; box-shadow: 0 16px 40px rgb(0 0 0 / .3); }
.stay-badge > span { font: 700 .8rem var(--font-head); text-transform: uppercase; letter-spacing: .1em; color: var(--sun-dark); }
.stay-badge strong { font: 800 2.6rem var(--font-head); color: var(--green-900); line-height: 1; }
.stay-badge strong small { font-size: 1rem; font-weight: 600; color: var(--ink-soft); }
.stay-pk { font-weight: 700; color: var(--green-700); font-size: .95rem; }
.stay-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.stay-intro-text { background: var(--white); border-radius: var(--radius); padding: 34px 36px; box-shadow: var(--shadow); }
.stay-intro-text p { font-size: 1.06rem; line-height: 1.7; }
.stay-highlights { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stay-highlights li { display: flex; gap: 8px; align-items: center; font-weight: 600; color: var(--green-900); }
.stay-highlights li::before { content: "✓"; color: var(--white); background: var(--green-500); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; flex: none; }
.stay-key { margin: 0; text-align: center; }
.stay-key img { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 24px 50px rgb(0 0 0 / .25); transform: rotate(-2deg); }
.stay-key figcaption { margin-top: 16px; font: 700 1rem var(--font-head); color: var(--sun-dark); letter-spacing: .06em; text-transform: uppercase; }
.room-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.room { position: relative; background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; border-top: 6px solid var(--green-500); }
.room.featured { border-top-color: var(--sun); background: linear-gradient(180deg, #fff7ee, var(--white) 40%); }
.room-flag { position: absolute; top: -14px; right: 18px; background: var(--sun); color: var(--white); font: 700 .75rem var(--font-head); padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.room-top { display: flex; gap: 12px; align-items: center; }
.room-emoji { font-size: 2.2rem; }
.room h3 { margin: 0; font-size: 1.2rem; color: var(--green-900); }
.room-meta { margin: 2px 0 0; font-size: .85rem; color: var(--ink-soft); }
.room > p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.room ul { margin: 0; padding-left: 18px; font-size: .9rem; display: grid; gap: 4px; flex: 1; }
.room-foot { display: flex; justify-content: space-between; align-items: end; gap: 10px; margin-top: 8px; }
.room-price { font: 800 1.9rem var(--font-head); color: var(--green-900); display: grid; line-height: 1.1; }
.room-price small { font-size: .78rem; font-weight: 600; color: var(--ink-soft); }
.package-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.package { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.pk-emoji { font-size: 2rem; }
.package h3 { margin: 0; color: var(--green-900); }
.package p { margin: 0; color: var(--ink-soft); font-size: .95rem; flex: 1; }
.pk-price { font-size: .95rem; } .pk-price strong { font: 800 1.4rem var(--font-head); color: var(--green-900); }
.package .btn-line { --exp: var(--green-700); justify-self: start; width: fit-content; text-decoration: none; }
.amenity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.amenity { display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow); font-weight: 600; color: var(--green-900); }
.amenity span { font-size: 1.6rem; }
.stay-book { background: var(--white); border-radius: calc(var(--radius) * 1.25); padding: 32px 36px; box-shadow: var(--shadow); display: grid; gap: 20px; border-top: 6px solid var(--sun); }
.stay-book h2 { margin-bottom: 4px; } .stay-book p { margin: 0; color: var(--ink-soft); }
.stay-form { display: grid; grid-template-columns: repeat(3, 1fr) 2fr auto; gap: 14px; align-items: end; }
.stay-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.stay-form input, .stay-form select { font: inherit; padding: .75em .9em; border: 2px solid var(--sand-300); border-radius: 10px; background: var(--white); }
.stay-form .btn { justify-content: center; height: fit-content; }
.stay-ok { display: grid; gap: 4px; background: #dff1ec; color: #1d5f4f; border-radius: 12px; padding: 16px 20px; }
@media (max-width: 960px) {
  .stay-intro { grid-template-columns: 1fr; }
  .stay-form { grid-template-columns: 1fr 1fr; }
  .stay-form .wide, .stay-form .btn { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .stay-hero .container.stay-hero-inner { min-height: 300px; justify-content: flex-end; }
  .stay-highlights { grid-template-columns: 1fr; }
  .stay-intro-text, .stay-book { padding: 24px 20px; }
}
.room ul { align-content: start; }
.amenity-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .amenity-grid { grid-template-columns: 1fr 1fr; } }
.stay-form input, .stay-form select { height: 48px; box-sizing: border-box; }

/* ---------- Happening at Kalahari (home carousel) ---------- */
.container-wide { width: min(100% - 32px, 1500px); margin-inline: auto; }
.happening-section { padding-bottom: 24px; }
.happening { display: grid; gap: 18px; }
.hc-stage { position: relative; overflow: hidden; border-radius: calc(var(--radius) * 1.25); box-shadow: 0 18px 44px rgb(0 0 0 / .22); background: #111; }
.hc-track { display: flex; transition: transform .6s ease; }
.hc-slide { flex: 0 0 100%; display: block; aspect-ratio: 2071 / 737; }
.hc-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hc-arrow { position: absolute; top: 50%; translate: 0 -50%; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .9); font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 16px rgb(0 0 0 / .3); }
.hc-arrow.prev { left: 14px; } .hc-arrow.next { right: 14px; }
.hc-dots { display: flex; justify-content: center; gap: 8px; }
.hc-dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; background: var(--sand-300); cursor: pointer; padding: 0; }
.hc-dots button[aria-current="true"] { background: var(--sun); width: 28px; border-radius: 999px; }
.hc-caption { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 26px 32px; box-shadow: var(--shadow); border-left: 6px solid var(--sun); }
.hc-caption h3 { margin: 0 0 6px; font-size: 1.7rem; color: var(--green-900); }
.hc-caption p { margin: 0 0 8px; color: var(--ink-soft); max-width: 85ch; line-height: 1.6; }
.hc-caption .eyebrow { margin-bottom: 4px; }
.hc-caption .hc-when { font-weight: 700; color: var(--ink); }
@media (max-width: 760px) {
  .hc-caption { grid-template-columns: 1fr; padding: 22px 20px; gap: 12px; }
  .hc-arrow { width: 36px; height: 36px; font-size: 1.4rem; }
}

/* ---------- Special Events page ---------- */
.event-hero { background: radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--ev-glow) 35%, transparent), transparent 55%), linear-gradient(135deg, var(--ev-dark), #120a1e); color: var(--white); padding-block: 56px; }
.event-hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.event-hero .eyebrow { color: var(--ev-accent); }
.event-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 0 0 14px; color: var(--white); }
.event-hero p { color: rgb(255 255 255 / .88); font-size: 1.05rem; line-height: 1.7; }
.event-when { font-weight: 700; color: var(--white) !important; font-size: 1.15rem !important; background: rgb(255 255 255 / .08); border-left: 4px solid var(--ev-accent); padding: 10px 16px; border-radius: 8px; }
.event-hero-photo .event-art { aspect-ratio: 604 / 737; max-height: 620px; margin-inline: auto; border-radius: 22px; box-shadow: 0 24px 60px rgb(0 0 0 / .5), 0 0 0 4px color-mix(in srgb, var(--ev-accent) 60%, transparent); }
.event-info-wrap { padding-block: 40px; }
.event-info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.event-info > div { background: var(--white); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); border-top: 5px solid var(--ev-accent); }
.event-info span { font-size: 1.8rem; }
.event-info strong { display: block; font: 700 .8rem var(--font-head); text-transform: uppercase; letter-spacing: .1em; color: var(--ev-dark); margin: 6px 0 4px; }
.event-info p { margin: 0; font-weight: 600; color: var(--ink); }
.event-highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.event-hl { background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.event-hl span { font-size: 2rem; }
.event-hl h3 { margin: 8px 0 6px; font-size: 1.1rem; color: var(--ev-dark); }
.event-hl p { margin: 0; font-size: .93rem; color: var(--ink-soft); line-height: 1.55; }
.event-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.event-gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.event-gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.event-gallery figcaption { position: absolute; inset: auto 0 0; padding: 30px 16px 14px; background: linear-gradient(transparent, rgb(0 0 0 / .75)); color: var(--white); font: 700 1rem var(--font-head); }
.event-two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.event-panel { background: var(--white); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow); }
.event-schedule { list-style: none; margin: 12px 0 0; padding: 0; }
.event-schedule li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--sand-300); }
.event-schedule li:last-child { border-bottom: 0; }
.event-schedule time { font: 700 1rem var(--font-head); color: var(--ev-accent); }
.event-schedule span { display: block; font-size: .88rem; color: var(--ink-soft); }
.event-faq details { border-bottom: 1px solid var(--sand-300); padding: 12px 0; }
.event-faq details:last-child { border-bottom: 0; }
.event-faq summary { cursor: pointer; font-weight: 700; color: var(--ev-dark); }
.event-faq details p { margin: 8px 0 0; color: var(--ink-soft); line-height: 1.6; }
.event-tickets .ticket { border-top-color: var(--ev-dark); }
.event-tickets .ticket.featured { border-top-color: var(--ev-accent); }
.event-tickets .ages { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.event-tickets .price { margin: 4px 0; }
.event-book { margin-top: 28px; border-top-color: var(--ev-accent); }
.event-form { grid-template-columns: 1.8fr repeat(var(--cols, 4), 1fr) auto; }
.stay-ok.bad { background: #fde8e4; color: #8a2b1a; }
@media (max-width: 1000px) {
  .event-info, .event-highlights { grid-template-columns: 1fr 1fr; }
  .event-form { grid-template-columns: 1fr 1fr; }
  .event-form .wide, .event-form .btn { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .event-hero-grid, .event-two { grid-template-columns: 1fr; }
  .event-hero-photo { order: -1; }
  .event-hero-photo .event-art { max-height: 360px; aspect-ratio: 4 / 3; width: 100%; }
  .event-gallery { grid-template-columns: 1fr; }
  .event-panel { padding: 22px 20px; }
}
@media (max-width: 480px) { .event-info, .event-highlights { grid-template-columns: 1fr; } }

/* Special Events: emoji tile under photos, event cards, lineup */
.event-art { position: relative; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 70% 25%, color-mix(in srgb, var(--ev-glow) 55%, transparent), transparent 60%), linear-gradient(135deg, var(--ev-dark), color-mix(in srgb, var(--ev-dark) 60%, #000)); }
.event-art > span { font-size: clamp(4rem, 9vw, 7rem); filter: drop-shadow(0 8px 20px rgb(0 0 0 / .4)); }
.event-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.event-back { display: inline-block; margin-bottom: 18px; color: rgb(255 255 255 / .85); font-weight: 700; text-decoration: none; }
.event-back:hover { color: var(--ev-accent); }
.event-age { position: absolute; top: 14px; right: 14px; background: var(--white); color: var(--ev-dark); font: 800 .85rem var(--font-head); padding: 5px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgb(0 0 0 / .25); }
.event-age.inline { position: static; box-shadow: none; padding: 2px 10px; margin-left: 4px; }
.event-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.event-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; border-top: 6px solid var(--ev-accent); }
.event-card-media { position: relative; display: block; }
.event-card-media .event-art { aspect-ratio: 4 / 3; }
.event-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.event-card-body .eyebrow { margin: 0; color: var(--ev-accent); filter: brightness(.8); }
.event-card-body h2 { margin: 0; font-size: 1.6rem; }
.event-card-body h2 a { color: var(--ev-dark); text-decoration: none; }
.event-card-body h2 a:hover { text-decoration: underline; }
.event-card-body p { margin: 0; color: var(--ink-soft); line-height: 1.6; }
.event-card-body .event-card-when { font-weight: 700; color: var(--ink); }
.event-card-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.event-card-foot strong { font: 800 1.4rem var(--font-head); color: var(--ev-dark); }
.event-lineup-title { margin: 22px 0 6px; font-size: 1.15rem; color: var(--ev-dark); }
.event-lineup { list-style: none; margin: 0; padding: 0; }
.event-lineup li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--sand-300); }
.event-lineup li:last-child { border-bottom: 0; }
.event-lineup time { font: 700 .95rem var(--font-head); color: var(--ev-accent); filter: brightness(.85); }
.event-lineup span { font-weight: 600; }
.event-lineup li.past { color: #9a9a9a; } .event-lineup li.past time { color: #9a9a9a; filter: none; }
.stay-form label { min-width: 0; } .stay-form select, .stay-form input { width: 100%; min-width: 0; }
.event-card-media { text-decoration: none; }
/* 4+ events: two per row with the photo beside the text (no lone card at the end) */
@media (min-width: 900px) {
  .event-cards:has(> :nth-child(4)) { grid-template-columns: repeat(2, 1fr); }
  .event-cards:has(> :nth-child(4)) .event-card { flex-direction: row; border-top: 0; border-left: 6px solid var(--ev-accent); }
  .event-cards:has(> :nth-child(4)) .event-card-media { flex: 0 0 40%; }
  .event-cards:has(> :nth-child(4)) .event-card-media .event-art { aspect-ratio: auto; height: 100%; min-height: 100%; }
  .event-cards:has(> :nth-child(4)) .event-card-body h2 { font-size: 1.45rem; }
}
/* Experience cards: show the whole photo, panel just overlaps its bottom edge (matches the mockup) */
.exp-media { aspect-ratio: 7 / 5; }
.exp-panel { margin-top: -20px; }
.exp-media::after { background: linear-gradient(transparent 82%, color-mix(in srgb, var(--exp) 70%, #000)); }

/* ---------- Dining page ---------- */
.dine-list { display: grid; gap: 40px; }
.dine { display: grid; grid-template-columns: 1.05fr 1fr; background: var(--white); border-radius: calc(var(--radius) * 1.25); overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: 110px; }
.dine.flip .dine-photo { order: 2; }
.dine-photo { position: relative; min-height: 380px; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--land) 55%, #fff), var(--land) 55%, color-mix(in srgb, var(--land) 65%, #000)); }
.dine-emoji { font-size: clamp(5rem, 10vw, 8rem); filter: drop-shadow(0 10px 22px rgb(0 0 0 / .3)); }
.dine-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dine-ribbon { position: absolute; top: 18px; left: 18px; background: var(--sun); color: var(--white); font: 700 .78rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; box-shadow: 0 6px 16px rgb(0 0 0 / .3); }
.dine-body { padding: 32px 36px; display: flex; flex-direction: column; gap: 10px; }
.dine-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dine-type { font: 700 .75rem var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--sun-dark); background: #fff3e4; padding: 4px 10px; border-radius: 999px; }
.dine h2 { margin: 2px 0 0; font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--green-900); }
.dine-tagline { font: 600 1.12rem var(--font-head); color: var(--ink) !important; margin: 0; }
.dine-body > p { margin: 0; color: var(--ink-soft); line-height: 1.65; }
.dine-meta { list-style: none; padding: 12px 0; margin: 4px 0; display: flex; flex-wrap: wrap; gap: 8px 22px; border-block: 1px solid var(--sand-300); font-size: .92rem; font-weight: 600; color: var(--ink); }
.dine-meta a { color: var(--green-700); }
.dine-price { color: var(--green-700); letter-spacing: .05em; margin-right: 2px; }
.dine-price span { color: var(--sand-300); }
.dine-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-top: 4px; }
.dine-cols h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--sun-dark); margin: 0 0 8px; }
.dine-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.dine-menu strong { display: block; color: var(--green-900); font-size: .98rem; }
.dine-menu span { font-size: .88rem; color: var(--ink-soft); }
.dine-drinks { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: .93rem; color: var(--ink); }
.dine-drinks li::before { content: "🥤"; margin-right: 8px; font-size: .9rem; }
.dine-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.dine-tags span { font-size: .8rem; font-weight: 600; color: var(--green-900); background: color-mix(in srgb, var(--land) 14%, #fff); border: 1px solid color-mix(in srgb, var(--land) 35%, #fff); padding: 5px 11px; border-radius: 999px; }
.dine.featured { box-shadow: 0 18px 44px rgb(0 0 0 / .18), 0 0 0 3px var(--sun); }
.dine.featured .dine-photo { min-height: 460px; }
@media (max-width: 900px) {
  .dine { grid-template-columns: 1fr; }
  .dine.flip .dine-photo { order: 0; }
  .dine-photo, .dine.featured .dine-photo { min-height: 240px; aspect-ratio: 16 / 9; }
  .dine-body { padding: 24px 20px; }
}
@media (max-width: 560px) { .dine-cols { grid-template-columns: 1fr; } }
/* Plan Your Visit: dining promo */
.dine-promo { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--white); border-radius: calc(var(--radius) * 1.25); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.dine-promo:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgb(0 0 0 / .18); }
.dine-promo-photo { position: relative; min-height: 300px; display: grid; place-items: center; background: var(--green-700); font-size: 5rem; }
.dine-promo-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dine-promo-text { padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 10px; align-items: flex-start; }
.dine-promo-text h2 { margin: 0; } .dine-promo-text p { margin: 0; color: var(--ink-soft); line-height: 1.65; }
@media (max-width: 760px) { .dine-promo { grid-template-columns: 1fr; } .dine-promo-photo { min-height: 220px; } .dine-promo-text { padding: 24px 20px; } }
.dine-drinks li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--land); margin: 0 10px 2px 0; vertical-align: middle; }
.main-nav a, .main-nav button { white-space: nowrap; }

/* ============================================================
   Mobile welcome (home page, phones only)
   On screens 600px wide or less, the home page shows this
   flamingo welcome screen instead of the regular home page.
   Desktop and tablet are unchanged.
   ============================================================ */
.m-welcome { display: none; }
@media (max-width: 600px) {
  body[data-page="home"] .utility-bar,
  body[data-page="home"] .site-header,
  body[data-page="home"] main { display: none; }
  body[data-page="home"] { background: #1a1210; }
  body[data-page="home"] .m-welcome {
    display: flex; flex-direction: column; position: relative; isolation: isolate;
    min-height: 100vh; min-height: 100svh;
    padding: max(28px, env(safe-area-inset-top)) 20px max(28px, env(safe-area-inset-bottom));
  }
  /* Fixed photo behind the screen (works on iPhone, unlike background-attachment: fixed) */
  .m-welcome::before {
    content: ""; position: fixed; inset: 0; z-index: -2;
    background: url("../images/animals/flamingo.jpg") 58% 30% / cover no-repeat;
  }
  .m-welcome::after {
    content: ""; position: fixed; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgb(0 0 0 / .05) 0%, rgb(0 0 0 / .10) 35%, rgb(0 0 0 / .45) 100%);
  }
  .m-welcome-top { text-align: center; color: #fff; }
  .m-welcome-logo {
    width: min(78%, 280px); height: auto; display: block; margin: 0 auto;
    background: rgb(255 255 255 / .92); padding: 10px 16px; border-radius: 18px;
    box-shadow: 0 6px 20px rgb(0 0 0 / .18);
  }
  .m-welcome h1 {
    font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, 13vw, 3.6rem);
    margin: 30vh 0 4px; margin: 30svh 0 4px; line-height: 1; letter-spacing: -.01em;
    text-shadow: 0 2px 14px rgb(0 0 0 / .35);
  }
  .m-welcome-open {
    margin: 0 0 22px; font-weight: 600; font-size: .95rem;
    display: inline-flex; align-items: center; gap: 8px;
    text-shadow: 0 1px 8px rgb(0 0 0 / .45);
  }
  .m-welcome-open .open-dot {
    width: 9px; height: 9px; border-radius: 50%; background: #4ade80; display: inline-block;
    box-shadow: 0 0 0 3px rgb(74 222 128 / .3);
  }
  .m-welcome-menu { display: grid; gap: 12px; }
  .m-welcome-menu a {
    display: grid; grid-template-columns: 28px 1fr 28px; align-items: center;
    min-height: 62px; padding: 0 18px; border-radius: 16px;
    background: rgb(255 255 255 / .96); color: var(--ink); text-decoration: none;
    font-family: var(--font-body); font-weight: 600; font-size: 1.08rem;
    box-shadow: 0 4px 14px rgb(0 0 0 / .15);
    -webkit-tap-highlight-color: transparent; transition: transform .12s ease, background .12s ease;
  }
  .m-welcome-menu a span { text-align: center; }
  .m-welcome-menu a:active { transform: scale(.98); background: #fff; }
  .m-welcome-menu svg {
    width: 26px; height: 26px; fill: none; stroke: var(--green-900);
    stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  }
  body[data-page="home"] .site-footer { position: relative; }
}
