/*
Theme Name: צבעים בטבע
Theme URI: https://rg.c1006.ww1cloudservers.com
Author: Siglers
Description: מיני סייט לאירוע "צבעים בטבע" – פתיחת שנת הפעילות לילדי צהרוני בית עמנואל בספארי רמת גן.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: tzvaim
*/

@font-face { font-family: "Katlav"; src: url("fonts/katlav-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Katlav"; src: url("fonts/katlav-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Katlav"; src: url("fonts/katlav-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Katlav"; src: url("fonts/katlav-extrabold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Katamon"; src: url("fonts/katamon-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Katamon"; src: url("fonts/katamon-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Katamon"; src: url("fonts/katamon-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Katamon"; src: url("fonts/katamon-extrabold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
	--brown: #3a1d12;
	--brown-2: #5b2f1b;
	--orange: #f07a22;
	--orange-2: #e0631a;
	--orange-text: #a8420b; /* orange for small text – 4.5:1 on white/cream */
	--green: #1d7a3c;
	--forest: #1f4a2c;
	--lime: #8cc63f;
	--pdf-orange: #dc6f3c;
	--cream: #f9e8a9;
	--paper: #f7f1e4;
	--sky: #9cc8ea;
	--ink: #2b170e;
	--muted: #6b4a3a;
	--radius: 18px;
	--shadow: 6px 6px 0 var(--brown);
	--shadow-sm: 4px 4px 0 var(--brown);
	--wrap: 1160px;
	--text: 760px;
	--font: "Katamon", "Arial Hebrew", Arial, sans-serif;
	--display: "Katlav", "Katamon", "Arial Hebrew", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--ink);
	background: var(--paper);
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { color: var(--orange-text); text-underline-offset: 3px; }
a:hover { color: var(--brown); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.tb-skip {
	position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 100;
	background: var(--brown); color: #fff; padding: .6rem 1rem; border-radius: 10px; text-decoration: none;
}
.tb-skip:focus { top: 1rem; }

/* ---------- Header ---------- */
.tb-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--forest);
	color: var(--cream);
	padding-top: env(safe-area-inset-top, 0px);
	transition: box-shadow .2s;
}
.tb-header.is-scrolled { box-shadow: 0 6px 18px rgba(30, 12, 4, .25); }
.tb-header__inner {
	max-width: var(--wrap); margin: 0 auto;
	display: flex; align-items: center; gap: 1rem;
	padding: .55rem 1rem;
}
.tb-brand {
	display: flex; align-items: center; gap: .5rem;
	flex: none;
}
.tb-brand img { height: 50px; width: auto; display: block; }
.tb-nav { flex: 1; min-width: 0; }
.tb-nav__list {
	list-style: none; margin: 0; padding: 0;
	display: flex; gap: .25rem; justify-content: center;
}
.tb-nav__list a {
	display: block; padding: .45rem .9rem; border-radius: 999px;
	color: var(--cream); text-decoration: none; font-weight: 700; white-space: nowrap;
	transition: background .15s, color .15s;
}
.tb-nav__list a:hover { background: rgba(249, 232, 169, .14); color: #fff; }
.tb-nav__list .current-menu-item > a,
.tb-nav__list a[aria-current="page"] { background: var(--cream); color: var(--brown); }

.tb-btn {
	display: inline-flex; align-items: center; justify-content: center;
	font-weight: 800; text-decoration: none; border-radius: 999px;
	background: var(--cream); color: var(--brown);
	border: 3px solid var(--brown); padding: .45rem 1.1rem; white-space: nowrap;
	transition: transform .15s, background .15s;
}
.tb-btn:hover { background: #fff3c7; color: var(--brown); transform: translateY(-1px); }

@media (max-width: 860px) {
	.tb-header__inner { flex-wrap: wrap; gap: .4rem .75rem; padding: .5rem .75rem; }
	.tb-brand img { height: 38px; }
	.tb-btn--header { margin-inline-start: auto; font-size: .95rem; padding: .35rem .9rem; }
	.tb-nav { order: 3; flex-basis: 100%; }
	.tb-nav__list { justify-content: space-between; gap: .15rem; }
	.tb-nav__list li { flex: 1 1 auto; min-width: 0; }
	.tb-nav__list a { padding: .35rem .35rem; font-size: clamp(.82rem, 3.9vw, 1rem); text-align: center; }
}

/* ---------- Hero (shared) ---------- */
.tb-hero {
	position: relative;
	background: var(--sky);
	isolation: isolate;
	overflow-x: clip;
}
/* Sky layer drifts slowly so the clouds look like they are moving */
.tb-hero::before {
	content: ""; position: absolute; z-index: -1;
	top: 0; bottom: 0; left: -12%; right: -12%;
	background: url("assets/sky.webp") center 30% / cover no-repeat;
	animation: tb-clouds 60s ease-in-out infinite alternate;
	will-change: transform;
}
@keyframes tb-clouds {
	from { transform: translateX(-8%); }
	to   { transform: translateX(8%); }
}
@media (prefers-reduced-motion: reduce) { .tb-hero::before { animation: none; } }
.tb-hero__bird {
	position: absolute; width: clamp(54px, 7vw, 96px); z-index: 1;
	animation: tb-fly 7s ease-in-out infinite;
}
@keyframes tb-fly {
	0%, 100% { transform: translate(0, 0) rotate(-4deg); }
	50% { transform: translate(-14px, -10px) rotate(3deg); }
}
@media (prefers-reduced-motion: reduce) { .tb-hero__bird { animation: none; } }

/* Home hero */
.tb-hero--home {
	--aw: min(760px, 88vw);
	display: flex; flex-direction: column; align-items: center;
	padding: clamp(1.5rem, 4vw, 3rem) 1rem 0;
	text-align: center;
}
.tb-hero--home .tb-hero__bird { top: 8%; inset-inline-end: 12%; }
.tb-hero__title { margin: 0; width: min(940px, 96vw); line-height: 0; position: relative; z-index: 2; }
.tb-hero__title img { width: 100%; filter: drop-shadow(0 8px 14px rgba(40, 20, 8, .25)); }
.tb-hero__animals {
	position: relative; z-index: 3;
	width: var(--aw);
	margin-top: clamp(-1rem, -2vw, 0rem);
	margin-bottom: calc(var(--aw) * -0.1982 - 3px); /* body cut line sits on the wall top */
	pointer-events: none;
}

/* Concrete wall */
.tb-wall {
	position: relative; z-index: 1;
	background: #c9c6c0 url("assets/wall.webp") center / cover;
	border-top: 6px solid var(--orange);
}
.tb-wall--home {
	padding: calc(min(760px, 88vw) * 0.2 + 1.25rem) 1rem clamp(2rem, 5vw, 3.25rem);
	text-align: center;
}
.tb-wall__inner { max-width: 920px; margin: 0 auto; }
.tb-wall__title {
	margin: 0;
	font-weight: 800; line-height: 1.1;
	font-size: clamp(2.2rem, 7vw, 4.4rem);
	color: var(--orange);
	text-shadow: 3px 3px 0 var(--brown), 6px 6px 0 rgba(58, 29, 18, .25);
	-webkit-text-stroke: 1px var(--brown);
}
.tb-wall__sub {
	margin: .6rem 0 0;
	font-weight: 800; font-size: clamp(1.15rem, 3.2vw, 1.8rem); line-height: 1.35;
	color: var(--brown);
}
.tb-wall--strip { height: 46px; }

/* Inner hero */
.tb-hero--page {
	min-height: clamp(260px, 36vw, 420px);
	display: flex; align-items: flex-end;
	padding: 2.5rem 1rem 2.25rem;
	overflow: hidden;
}
.tb-hero--page .tb-hero__bird { top: 14%; left: 38%; }
.tb-hero__giraffe {
	position: absolute; z-index: 1;
	right: -4%; top: 4%;
	width: clamp(240px, 40vw, 560px);
	pointer-events: none;
}
.tb-banner {
	position: relative; z-index: 2;
	width: min(640px, 52%);
	margin-inline-start: auto;
	margin-inline-end: max(0rem, calc((100% - var(--wrap)) / 2 + 9%));
	text-align: center;
	background: var(--cream);
	border: 4px solid var(--brown);
	border-radius: 14px;
	box-shadow: 8px 8px 0 var(--orange), 12px 12px 0 var(--brown);
	padding: 1.1rem 1.5rem 1.2rem;
	transform: rotate(-1.5deg);
}
.tb-banner__title {
	margin: 0; font-weight: 800; line-height: 1.15;
	font-size: clamp(1.6rem, 4vw, 2.75rem);
	color: var(--brown);
}
.tb-banner__sub { margin: .35rem 0 0; font-weight: 700; font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--muted); }

@media (max-width: 720px) {
	.tb-hero--page { min-height: 0; padding: 0 1rem 1.75rem; flex-direction: column; align-items: stretch; }
	.tb-hero__giraffe { position: relative; right: auto; top: auto; width: 62%; margin: .75rem -1rem 0 auto; display: block; align-self: flex-end; }
	.tb-hero--page .tb-hero__bird { top: 18%; left: 12%; }
	.tb-banner { width: auto; max-width: none; margin: -1.25rem 0 0; transform: rotate(-1deg); padding: .9rem 1.1rem 1rem; }
}

/* ---------- Main content ---------- */
.tb-main {
	padding: clamp(2.5rem, 6vw, 4.5rem) 1rem clamp(3rem, 7vw, 5.5rem);
	background:
		radial-gradient(circle at 10% 0%, rgba(240, 122, 34, .08), transparent 40%),
		radial-gradient(circle at 95% 60%, rgba(29, 122, 60, .07), transparent 45%),
		var(--paper);
}
.tb-main--plain { min-height: 50vh; }
.tb-content > * { max-width: var(--text); margin-inline: auto; }
.tb-content > .tb-wide,
.tb-content > .tb-grid,
.tb-content > .tb-tickets,
.tb-content > .tb-navcards,
.tb-content > .tb-facts,
.tb-content > .tb-map,
.tb-content > .tb-schedules { max-width: var(--wrap); }

.tb-content h2 {
	font-weight: 800; line-height: 1.2;
	font-size: clamp(1.75rem, 4.2vw, 2.6rem);
	color: var(--brown);
	margin: 0 auto .75rem;
}
.tb-content h2 + p { margin-top: 0; }
.tb-content h2.tb-center, .tb-content p.tb-center { text-align: center; }
.tb-content h3 { font-weight: 800; line-height: 1.25; color: var(--brown); font-size: 1.35rem; margin: 0 0 .35rem; }
.tb-content p { margin: 0 auto 1rem; }
.tb-lead { font-size: clamp(1.15rem, 2.4vw, 1.35rem); line-height: 1.65; color: var(--ink); }
.tb-section-title { margin-top: clamp(2.5rem, 6vw, 4rem) !important; text-align: center; }
.tb-section-title + p { text-align: center; }

/* Buttons (core) */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0 0; }
.wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	background: var(--cream); color: var(--brown) !important;
	border: 3px solid var(--brown); border-radius: 999px;
	padding: .75rem 1.5rem; font-weight: 800; font-size: 1.1rem; line-height: 1.2;
	text-decoration: none; box-shadow: var(--shadow-sm);
	transition: transform .15s, box-shadow .15s, background .15s;
}
.wp-block-button__link:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--brown); background: #fff3c7; }
.wp-block-button__link:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--brown); }
.wp-block-button.is-style-outline .wp-block-button__link { background: var(--cream); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: #fff3c7; }

/* Facts (home) */
.tb-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin: 2rem auto 0; max-width: var(--text) !important; }
.tb-facts > p.tb-fact {
	margin: 0; background: var(--cream); border: 3px solid var(--brown); border-radius: var(--radius);
	box-shadow: var(--shadow-sm); padding: 1rem 1.15rem; font-weight: 700; font-size: 1.1rem; line-height: 1.45;
}
.tb-fact strong { display: block; color: var(--orange-2); font-weight: 800; font-size: 1.35rem; }
@media (max-width: 560px) { .tb-facts { grid-template-columns: 1fr; } }

/* Nav cards (home) */
.tb-navcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 1.5rem auto 0; }
.tb-navcard {
	position: relative; display: flex; flex-direction: column;
	background: #fff; border: 3px solid var(--brown); border-radius: var(--radius);
	box-shadow: var(--shadow); padding: 1.5rem 1.4rem 1.4rem;
	border-top-width: 12px;
}
.tb-navcard:nth-child(3n+1) { border-top-color: var(--orange); }
.tb-navcard:nth-child(3n+2) { border-top-color: var(--green); }
.tb-navcard:nth-child(3n+3) { border-top-color: var(--pdf-orange); }
.tb-navcard p { margin: 0 0 .5rem; color: var(--muted); }
.tb-navcard .wp-block-buttons { margin-top: auto; padding-top: .75rem; }
@media (max-width: 860px) { .tb-navcards { grid-template-columns: 1fr; gap: 1.25rem; } }

/* Tickets */
.tb-tickets { display: grid; grid-template-columns: 1fr; gap: 2rem; margin: 2rem auto 0; max-width: 860px !important; }
.tb-plus { font: 900 1.6em/1 Arial, sans-serif; color: var(--orange-2); vertical-align: -.1em; margin-inline: .15em; }
.tb-ticket ul.tb-steps { margin: .75rem 0 1rem; }
.tb-ticket ul.tb-steps li { margin-bottom: .45rem; }
.tb-ticket {
	position: relative; background: #fff; border: 3px solid var(--brown); border-radius: 22px;
	box-shadow: 8px 8px 0 var(--brown); padding: 1.6rem 1.6rem 1.75rem;
}
.tb-ticket--main { background: var(--cream); box-shadow: 8px 8px 0 var(--orange), 12px 12px 0 var(--brown); }
.tb-ticket h3 { font-size: clamp(1.4rem, 3vw, 1.75rem); }
.tb-prices { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin: 1rem 0 1.1rem; }
.tb-prices > p.tb-price {
	margin: 0; text-align: center; background: #fff; border: 3px dashed var(--brown); border-radius: 16px;
	padding: .8rem .5rem .9rem; font-weight: 700; line-height: 1.3; color: var(--muted);
}
.tb-price strong {
	display: block; font-size: clamp(2.2rem, 6vw, 3rem); font-weight: 800; line-height: 1.05;
	color: var(--orange-2); text-shadow: 2px 2px 0 var(--brown);
}
.tb-note-title { font-weight: 800; margin: 1rem 0 .25rem !important; color: var(--brown); }
.tb-ticket ul { margin: 0 0 .5rem; padding-inline-start: 1.25rem; }
.tb-ticket li::marker { color: var(--orange-2); }
.tb-small { font-size: .95rem; color: var(--muted); }
@media (max-width: 860px) { .tb-tickets { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .tb-prices { grid-template-columns: 1fr; } }

/* Map */
.tb-map { margin: 2rem auto 0; }
.tb-map img {
	display: block; width: 100%; background: #fff;
	border: 4px solid var(--brown); border-radius: 22px; box-shadow: 8px 8px 0 var(--brown);
}
.tb-map a { display: block; cursor: zoom-in; }
.tb-map figcaption, .tb-content .wp-element-caption { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 1rem; }

/* Activity cards */
.tb-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
	gap: 1.5rem; margin: 2rem auto 0;
}
.tb-card {
	position: relative; display: flex; flex-direction: column;
	background: #fff; border: 3px solid var(--brown); border-radius: var(--radius);
	box-shadow: var(--shadow); padding: 1.35rem 1.35rem 1.4rem;
	border-top-width: 12px;
}
.tb-card:nth-child(4n+1) { border-top-color: var(--orange); }
.tb-card:nth-child(4n+2) { border-top-color: var(--green); }
.tb-card:nth-child(4n+3) { border-top-color: var(--pdf-orange); }
.tb-card:nth-child(4n+4) { border-top-color: var(--brown-2); }
.tb-card h3 { margin-bottom: .1rem; }
.tb-card p { margin: 0 0 .6rem; }
.tb-card p:last-child { margin-bottom: 0; }
.tb-content p.tb-kicker { color: var(--orange-text); font-weight: 800; font-size: 1.02rem; line-height: 1.35; margin-bottom: .55rem; }
.tb-card:nth-child(4n+2) p.tb-kicker { color: var(--green); }

ul.tb-chips { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: .4rem; padding-top: .5rem; }
ul.tb-chips li {
	background: var(--cream); border: 2px solid var(--brown); border-radius: 999px;
	padding: .1rem .65rem; font-weight: 800; font-size: .95rem; direction: ltr;
}

/* Schedules (feedings / enrichment) */
.tb-schedules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; margin: 2rem auto 0; }
.tb-schedules .tb-card { border-top-width: 12px; }
.tb-schedules .tb-card:nth-child(1) { border-top-color: var(--orange); }
.tb-schedules .tb-card:nth-child(2) { border-top-color: var(--green); }
ul.tb-times { list-style: none; padding: 0; margin: .5rem 0 0; border-top: 2px dashed rgba(58, 29, 18, .25); }
ul.tb-times li {
	display: flex; gap: .9rem; align-items: baseline;
	padding: .55rem 0; border-bottom: 2px dashed rgba(58, 29, 18, .25); font-weight: 500;
}
ul.tb-times li strong {
	flex: none; min-width: 4.2rem; text-align: center;
	background: var(--brown); color: var(--cream); border-radius: 8px; padding: .05rem .45rem; font-weight: 800;
}
@media (max-width: 860px) { .tb-schedules { grid-template-columns: 1fr; } }

/* Reveal on scroll */
.tb-reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease var(--d, 0ms), transform .7s cubic-bezier(.2, .8, .25, 1.15) var(--d, 0ms); }
.tb-reveal.is-in { opacity: 1; transform: none; }
.tb-card.tb-reveal, .tb-navcard.tb-reveal, .tb-ticket.tb-reveal, .tb-fact.tb-reveal, .tb-price.tb-reveal { transform: translateY(34px) scale(.96); }
.tb-card.tb-reveal.is-in, .tb-navcard.tb-reveal.is-in, .tb-ticket.tb-reveal.is-in, .tb-fact.tb-reveal.is-in, .tb-price.tb-reveal.is-in { transform: none; }
.tb-imap__list li.tb-reveal { transform: scale(.85); }
.tb-imap__list li.tb-reveal.is-in { transform: none; }

/* ---------- Footer ---------- */
.tb-footer {
	background: var(--forest); color: var(--cream);
	padding: 2.25rem 1rem calc(2.25rem + env(safe-area-inset-bottom, 0px));
	border-top: 6px solid var(--pdf-orange);
}
.tb-footer__inner { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 1.5rem 2rem; flex-wrap: wrap; }
.tb-footer__logos { display: flex; gap: 1rem; }
.tb-footer__logos img { height: 72px; width: auto; display: block; }
.tb-footer__info { flex: 1; min-width: 240px; }
.tb-footer__info p { margin: 0 0 .25rem; }
.tb-footer__title { font-weight: 800; font-size: 1.1rem; color: #fff; }
.tb-footer a { color: var(--cream); font-weight: 700; }
.tb-footer a:hover { color: #fff; }

/* End-of-page tickets CTA */
.tb-endcta { text-align: center; padding: 0 1rem clamp(2.5rem, 6vw, 4rem); }
.tb-endcta .tb-btn { font-size: 1.25rem; padding: .75rem 2rem; box-shadow: var(--shadow-sm); }
@media (max-width: 860px) { .tb-btn--header { display: none; } }

/* WP core bits */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.wp-block-group.is-layout-flow > * { margin-block-start: 0; }

/* Classic-theme groups wrap children in an inner container – let the grid see the children */
.tb-content .wp-block-group__inner-container { display: contents; }
.tb-hero--home { z-index: 2; }

/* Display font (Katlav) for headings, banners, buttons and labels */
.tb-content h2, .tb-content h3, .tb-wall__title, .tb-wall__sub, .tb-banner__title,
.wp-block-button__link, .tb-btn, .tb-nav__list a,
.tb-price strong, .tb-fact strong, .tb-footer__title, ul.tb-chips li, ul.tb-times li strong {
	font-family: var(--display);
}
.tb-content h3 { font-weight: 700; }
/* Katamon is condensed – larger base sizes */
body { font-size: 1.22rem; line-height: 1.6; }
.tb-lead { font-size: clamp(1.3rem, 2.6vw, 1.55rem); }
.tb-content p.tb-kicker { font-size: 1.12rem; }
.tb-small, .tb-map figcaption, .tb-content .wp-element-caption { font-size: 1.05rem; }

/* ---------- Interactive map ---------- */
.tb-content > .tb-imap { max-width: var(--wrap); margin-top: 2rem; }
.tb-imap { --k-guide: var(--green); --k-paint: var(--orange); --k-photo: var(--cream); --k-fun: var(--brown-2); }
.tb-imap__legend { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.25rem; font-weight: 700; }
.tb-imap__legend li { display: flex; align-items: center; gap: .4rem; }
.tb-imap__legend i { width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid var(--brown); background: var(--k); }
.k-guide { --k: var(--k-guide); --kc: #fff; } .k-paint { --k: var(--k-paint); --kc: var(--brown); }
.k-photo { --k: var(--k-photo); --kc: var(--brown); } .k-fun { --k: var(--k-fun); --kc: #fff; }
.tb-imap__frame {
	background: #fff; border: 4px solid var(--brown); border-radius: 22px; box-shadow: 8px 8px 0 var(--brown);
	overflow: hidden;
}
.tb-imap__canvas { position: relative; line-height: 1.4; }
.tb-imap__img { display: block; width: 100%; height: auto; }
.tb-imap__pin {
	position: absolute; transform: translate(-50%, -50%);
	width: 3.1%; height: 6.6%; padding: 0; border: 0; border-radius: 8px;
	background: transparent; cursor: pointer;
	transition: background .15s, box-shadow .15s;
}
.tb-imap__pin.k-popcorn { width: 4.6%; height: 9.4%; }
.tb-imap__pin:hover, .tb-imap__pin:focus-visible, .tb-imap__pin.is-active {
	background: rgba(255, 243, 199, .35); box-shadow: 0 0 0 2px rgba(58, 29, 18, .55); z-index: 3;
}

.tb-tip {
	position: absolute; z-index: 5; width: min(290px, 78vw);
	background: var(--paper); border: 3px solid var(--brown); border-radius: 14px;
	box-shadow: 4px 4px 0 var(--brown); padding: .55rem .8rem .65rem; pointer-events: none;
}
.tb-tip::after {
	content: ""; position: absolute; left: calc(var(--arrow, 50%) - 8px); bottom: -10px;
	width: 14px; height: 14px; background: var(--paper);
	border-right: 3px solid var(--brown); border-bottom: 3px solid var(--brown); transform: rotate(45deg);
}
.tb-tip.is-below::after { bottom: auto; top: -10px; transform: rotate(-135deg); }
.tb-content .tb-tip p { margin: 0; }
.tb-content .tb-tip__title { font: 800 1.15rem/1.25 var(--display); color: var(--brown); }
.tb-content .tb-tip__text { font-size: 1.02rem; line-height: 1.4; margin-top: .2rem; color: var(--ink); }
.tb-imap__hint { text-align: center; color: var(--muted); margin: 1rem auto 0 !important; }

.tb-imap__list {
	list-style: none; padding: 0; margin: 1.25rem 0 0;
	display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem;
}
.tb-imap__list button {
	width: 100%; height: 100%; display: flex; align-items: center; gap: .4rem; text-align: start;
	background: #fff; border: 2px solid var(--brown); border-radius: 10px; padding: .45rem .55rem;
	font: 700 .95rem/1.2 var(--display); color: var(--brown); cursor: pointer; min-width: 0; overflow-wrap: anywhere;
	transition: background .15s, transform .15s;
}
.tb-imap__list button:hover { background: var(--cream); transform: translateY(-1px); }
.tb-imap__list b {
	flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center;
	background: var(--k); color: var(--kc); border: 2px solid var(--brown); font-weight: 800; font-size: .85rem;
}

/* Wavy divider: the wall (or the sky on the map page) is cut in a wave shape,
   and the page content slides under it so its own background shows through */
.tb-wall--home, .tb-wall--strip { padding-bottom: calc(var(--wave-pad, 0px) + 28px); }
.tb-wall--home { --wave-pad: clamp(2rem, 5vw, 3.25rem); }
.tb-wall--home, .tb-wall--strip, .tb-hero--wave {
	-webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 39px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='40' viewBox='0 0 160 40'%3E%3Cpath d='M-40 22 Q0 8 40 22 T120 22 T200 22 L200 0 L-40 0Z' fill='%23000'/%3E%3C/svg%3E") left bottom / 160px 40px repeat-x;
	        mask: linear-gradient(#000 0 0) top / 100% calc(100% - 39px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='40' viewBox='0 0 160 40'%3E%3Cpath d='M-40 22 Q0 8 40 22 T120 22 T200 22 L200 0 L-40 0Z' fill='%23000'/%3E%3C/svg%3E") left bottom / 160px 40px repeat-x;
}
.tb-wall--home::after, .tb-wall--strip::after, .tb-hero--wave::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='40' viewBox='0 0 160 40'%3E%3Cpath d='M-40 18 Q0 4 40 18 T120 18 T200 18' fill='none' stroke='%233a1d12' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x left bottom / 160px 40px;
	pointer-events: none;
}
.tb-wall + .tb-main, .tb-hero--wave + .tb-main {
	margin-top: -40px;
	padding-top: calc(clamp(2.5rem, 6vw, 4.5rem) + 40px);
}

/* Hero without the concrete strip (map page): the wave sits on the sky */
.tb-hero--wave { padding-bottom: calc(2.25rem + 30px); }
.tb-hero--wave::after { z-index: 3; }
@media (max-width: 720px) { .tb-hero--wave { padding-bottom: calc(1.75rem + 30px); } }
@media (max-width: 1000px) { .tb-imap__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .tb-imap__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Facts: centered, with line icons instead of emoji */
.tb-facts > p.tb-fact { text-align: center; }
.tb-fact strong { display: flex; align-items: center; justify-content: center; gap: .45rem; }
.tb-fact--where strong::before, .tb-fact--when strong::before, .tb-fact--how strong::before {
	content: ""; flex: none; width: 1.6rem; height: 1.6rem; background: currentColor;
	-webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
.tb-fact--where { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.6'/%3E%3C/svg%3E"); }
.tb-fact--how { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 17H3.5v-4.5L5.5 7a2 2 0 0 1 1.9-1.4h9.2A2 2 0 0 1 18.5 7l2 5.5V17H19'/%3E%3Cpath d='M3.5 12.5h17M9 17h6'/%3E%3Ccircle cx='7' cy='17' r='2'/%3E%3Ccircle cx='17' cy='17' r='2'/%3E%3C/svg%3E"); }
.tb-fact--when { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.tb-price .tb-cur { font-size: .58em; margin-inline-start: .08em; }

/* Inner hero: banner sits a bit higher */
@media (min-width: 721px) { .tb-banner { margin-bottom: 2.75rem; } }

/* Tickets hero: zebra + parrot */
.tb-hero__giraffe--zebra { top: auto; bottom: 0; right: -1%; width: clamp(220px, 30vw, 420px); }
.tb-hero--page .tb-hero__bird--parrot { width: clamp(110px, 12vw, 180px); top: 10%; left: 34%; }
@media (max-width: 720px) {
	.tb-hero__giraffe--zebra { width: 52%; margin: .75rem -1rem -1.75rem auto; }
	.tb-hero--page .tb-hero__bird--parrot { width: 30%; top: 14%; left: 8%; }
}
.tb-content .wp-block-buttons { justify-content: center; }

.tb-content > .wp-block-buttons { margin-inline: auto; }

/* Program hero: lion + blue macaw */
.tb-hero__giraffe--lion { top: auto; bottom: -3%; right: 0; width: clamp(230px, 29vw, 410px); }
@media (max-width: 720px) { .tb-hero__giraffe--lion { width: 46%; margin: .75rem 0 -1.75rem auto; } }
@media (max-width: 720px) { .tb-wall__title { font-size: clamp(2.6rem, 12vw, 3.6rem); } }

/* ---------- Entrance animations (page load) ---------- */
@keyframes tb-drop { from { opacity: 0; transform: translateY(-40px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes tb-rise { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@keyframes tb-slide-in { from { opacity: 0; transform: translateX(18%); } to { opacity: 1; transform: none; } }
@keyframes tb-banner-in { from { opacity: 0; transform: translateY(30px) rotate(-6deg) scale(.9); } to { opacity: 1; transform: rotate(-1.5deg); } }
@keyframes tb-fade { from { opacity: 0; } to { opacity: 1; } }
.tb-hero__title, .tb-hero__kicker { animation: tb-drop .8s cubic-bezier(.2, .8, .25, 1.2) both; }
.tb-hero__animals, .tb-hero__video { animation: tb-rise .9s cubic-bezier(.2, .8, .25, 1) .25s both; }
.tb-hero__giraffe { animation: tb-slide-in .9s cubic-bezier(.2, .8, .25, 1) .2s both; }
.tb-banner { animation: tb-banner-in .7s cubic-bezier(.2, .8, .25, 1.25) .1s both; }
.tb-hero__bird { animation: tb-fade .8s ease .5s both, tb-fly 7s ease-in-out 1.3s infinite; }
@media (max-width: 720px) {
	@keyframes tb-banner-in-m { from { opacity: 0; transform: translateY(30px) rotate(-5deg) scale(.9); } to { opacity: 1; transform: rotate(-1deg); } }
	.tb-banner { animation-name: tb-banner-in-m; }
}
@media (prefers-reduced-motion: reduce) {
	.tb-hero__title, .tb-hero__kicker, .tb-hero__animals, .tb-hero__video, .tb-hero__giraffe, .tb-banner, .tb-hero__bird { animation: none; }
}

/* Mobile header: collapses to the nav only while scrolling */
@media (max-width: 860px) {
	.tb-brand { overflow: hidden; max-height: 60px; transition: max-height .25s ease, opacity .2s ease; }
	.tb-header.is-scrolled .tb-brand { max-height: 0; opacity: 0; }
	.tb-header.is-scrolled .tb-header__inner { row-gap: 0; padding-top: .3rem; padding-bottom: .3rem; }
	.tb-header.is-scrolled .tb-btn--header { display: none; }
}

.tb-footnote { font-size: .92rem; color: var(--muted); }

/* Activity icons (program page) */
.tb-card[class*="tb-ico--"]::before {
	content: ""; width: 3.1rem; height: 3.1rem; margin-bottom: .6rem; flex: none;
	border-radius: 50%; border: 2.5px solid var(--brown); box-shadow: 2px 2px 0 var(--brown);
	background: var(--cream); align-self: flex-start;
}
.tb-card[class*="tb-ico--"]::after {
	content: ""; position: absolute; top: calc(1.35rem + .55rem); inset-inline-start: calc(1.35rem + .55rem);
	width: 2rem; height: 2rem; background: var(--brown);
	-webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
.tb-card[class*="tb-ico--"]:nth-child(4n+1)::after { background: var(--orange-2); }
.tb-card[class*="tb-ico--"]:nth-child(4n+2)::after { background: var(--green); }
.tb-card[class*="tb-ico--"]:nth-child(4n+3)::after { background: #4f7f1f; }
.tb-ico--train { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='14' rx='3'/%3E%3Cpath d='M5 10h14M9 21l2-4M15 21l-2-4'/%3E%3Ccircle cx='8.5' cy='13.5' r='.8'/%3E%3Ccircle cx='15.5' cy='13.5' r='.8'/%3E%3Cpath d='M9 6.5h6'/%3E%3C/svg%3E"); }
.tb-ico--camera { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l1.5-2.5h7L17 8h3a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E"); }
.tb-ico--vet { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.5-4.6-7.5-10A4.2 4.2 0 0 1 12 7.5 4.2 4.2 0 0 1 19.5 10c0 5.4-7.5 10-7.5 10z'/%3E%3Cpath d='M12 10.5v5M9.5 13h5'/%3E%3C/svg%3E"); }
.tb-ico--paint { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18c1.2 0 1.8-.8 1.8-1.7 0-1.2-1-1.6-1-2.6 0-1 .8-1.7 1.8-1.7H17a4 4 0 0 0 4-4C21 6.6 17 3 12 3z'/%3E%3Ccircle cx='7.5' cy='11' r='1.1'/%3E%3Ccircle cx='10' cy='7' r='1.1'/%3E%3Ccircle cx='14.5' cy='7' r='1.1'/%3E%3C/svg%3E"); }
.tb-ico--reptile { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 15.5a7.5 7 0 0 1 15 0z'/%3E%3Cpath d='M7 15.5 8.5 10M14 15.5 12.5 10M5 11.5h11'/%3E%3Cpath d='M18 14h1.5a2 2 0 0 0 0-4H18.5'/%3E%3Cpath d='M5.5 15.5v3M15.5 15.5v3M3 15.5l-1 1.5'/%3E%3C/svg%3E"); }
.tb-ico--statue { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Cpath d='M12 7v6M8 9.5l4 1.5 4-1.5M10 17l2-4 2 4'/%3E%3Cpath d='M6 21h12M7.5 17h9v4h-9z'/%3E%3C/svg%3E"); }
.tb-ico--sound { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9.5v5h3.5L12 18V6L7.5 9.5z'/%3E%3Cpath d='M15.5 9a4 4 0 0 1 0 6M18 6.5a7.5 7.5 0 0 1 0 11'/%3E%3C/svg%3E"); }
.tb-ico--bounce { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V9l2.5-2L9 9v-3l3-2.5L15 6v3l2.5-2L20 9v11z'/%3E%3Cpath d='M10 20v-4a2 2 0 0 1 4 0v4M3 20h18'/%3E%3C/svg%3E"); }
.tb-ico--circus { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 3.5 11h17z'/%3E%3Cpath d='M5 11v9h14v-9M12 3v-1M10 20v-4a2 2 0 0 1 4 0v4'/%3E%3Cpath d='M8.5 11v9M15.5 11v9'/%3E%3C/svg%3E"); }
.tb-ico--popcorn { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 10 8 21h8l1.5-11z'/%3E%3Cpath d='M10 10l.5 11M14 10l-.5 11'/%3E%3Cpath d='M6 10a2.3 2.3 0 0 1 1-4.3 2.6 2.6 0 0 1 5-1.2 2.6 2.6 0 0 1 5 1.2A2.3 2.3 0 0 1 18 10'/%3E%3C/svg%3E"); }
.tb-ico--mirror { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='10' rx='5.5' ry='7'/%3E%3Cpath d='M12 17v4M8.5 21h7M10 7.5a2.5 3 0 0 1 2-1.5'/%3E%3C/svg%3E"); }
.tb-ico--dj { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15v-3a8 8 0 0 1 16 0v3'/%3E%3Crect x='3' y='14' width='4' height='6' rx='1.5'/%3E%3Crect x='17' y='14' width='4' height='6' rx='1.5'/%3E%3C/svg%3E"); }
.tb-ico--warn { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5 2.5 20h19z'/%3E%3Cpath d='M12 10v4.5'/%3E%3Ccircle cx='12' cy='17.3' r='.7'/%3E%3C/svg%3E"); }
.tb-ico--hide { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M4 20 20 4'/%3E%3C/svg%3E"); }
.tb-ico--feed { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 11h17a8.5 8.5 0 0 1-17 0z'/%3E%3Cpath d='M9 11c0-3 1.5-5 3-6.5M14.5 11c0-2.5 1-4 2.5-5'/%3E%3C/svg%3E"); }
.tb-ico--enrich { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M3.8 9.5c3 1.5 6 1.5 8.2-2.5 1.5-2.6 3.5-3.7 5.5-3.2M5 17.5c2.5-2.5 6-3 9-1 2.2 1.5 4.3 1.3 6-.5'/%3E%3C/svg%3E"); }

/* Home: kicker above the event graphic + date/place on the wall */
.tb-hero__kicker {
	position: relative; z-index: 2; margin: 0 0 .35rem;
	font: 800 clamp(1.55rem, 7.4vw, 4rem)/1.1 var(--display);
	color: var(--orange); -webkit-text-stroke: 2px var(--forest); paint-order: stroke fill;
	text-shadow: 3px 3px 0 var(--forest), 6px 6px 0 rgba(31, 74, 44, .3);
}
.tb-wall__info {
	margin: 0; font: 800 clamp(1.3rem, 5.6vw, 3.2rem)/1.2 var(--display); text-wrap: balance;
	color: var(--pdf-orange); -webkit-text-stroke: 2px var(--forest); paint-order: stroke fill;
	text-shadow: 3px 3px 0 var(--forest);
}
.tb-wall__info + .tb-wall__info { color: var(--brown); -webkit-text-stroke: 0; text-shadow: none; margin-top: .2rem; }
.tb-wall__note { margin: .75rem 0 0; font: 700 clamp(1.05rem, 2.6vw, 1.35rem)/1.3 var(--display); color: var(--brown); }

/* Pages without a hero (map, tickets) */
.tb-header + .screen-reader-text + .tb-main { padding-top: clamp(1.5rem, 4vw, 2.75rem); }
.tb-ico--food { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='8.5' width='19' height='6' rx='3'/%3E%3Cpath d='M3.5 13.5c.3 2.6 2.2 4.5 4.8 4.5h7.4c2.6 0 4.5-1.9 4.8-4.5'/%3E%3Cpath d='M6.5 11.5l1.5-1 1.5 1 1.5-1 1.5 1 1.5-1 1.5 1 1.5-1'/%3E%3C/svg%3E"); }

/* Program: gates opening */
.tb-content > .tb-opening {
	max-width: 760px; text-align: center; background: var(--cream);
	border: 3px solid var(--brown); border-radius: var(--radius); box-shadow: var(--shadow);
	padding: 1.4rem 1.5rem 1.5rem;
}
.tb-opening h2 { margin: 0 0 .25rem; }
.tb-content p.tb-opening__note { font: 800 1.3rem/1.3 var(--display); color: var(--orange-text); margin: 0 0 .5rem; }
.tb-opening p:last-child { margin-bottom: 0; }

/* Tickets: headline price + grouped bullet lists */
.tb-content p.tb-bigprice {
	font: 800 clamp(1.35rem, 3.6vw, 1.85rem)/1.35 var(--display); color: var(--brown);
	background: #fff; border: 3px dashed var(--brown); border-radius: 16px; padding: .8rem 1rem; margin: .75rem 0 1.1rem; text-align: center;
}
.tb-bigprice strong { display: inline-block; color: var(--orange-2); font-size: 1.45em; text-shadow: 2px 2px 0 var(--brown); white-space: nowrap; }
.tb-ticket ul.tb-steps + ul.tb-steps { border-top: 2px dashed rgba(58, 29, 18, .25); padding-top: 1rem; }

/* Map: zoom button + full-screen viewer */
.tb-imap__img { cursor: zoom-in; }
.tb-content p.tb-imap__zoom { text-align: center; margin: .9rem 0 0; }
.tb-mapbox { position: fixed; inset: 0; z-index: 200; background: #16241a; display: flex; flex-direction: column; }
.tb-mapbox[hidden] { display: none; }
.tb-mapbox__scroll { direction: ltr; flex: 1; overflow: auto; display: grid; place-items: center; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.tb-mapbox__scroll img { display: block; max-width: 100vw; max-height: calc(100dvh - 3.5rem); width: auto; height: auto; cursor: zoom-in; user-select: none; }
.tb-mapbox.is-zoomed .tb-mapbox__scroll { place-items: start; }
.tb-mapbox.is-zoomed .tb-mapbox__scroll img { max-width: none; max-height: none; width: max(1800px, 260vw); cursor: grab; }
.tb-mapbox__close {
	position: absolute; top: calc(.75rem + env(safe-area-inset-top, 0px)); inset-inline-start: .75rem; z-index: 2;
	width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 3px solid var(--brown);
	background: var(--cream); color: var(--brown); font: 800 1.2rem/1 var(--font); cursor: pointer; box-shadow: var(--shadow-sm);
}
.tb-mapbox__hint { margin: 0; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom, 0px)); text-align: center; color: var(--cream); font-weight: 700; }
.tb-content p.tb-opening__wrist {
	margin: .9rem 0 0; padding-top: .8rem; border-top: 2px dashed rgba(58, 29, 18, .25);
	font-weight: 700; color: var(--brown);
}

/* Map legend list (new event map) */
.tb-imap__list b { background: var(--brown); color: var(--cream); }
.tb-imap__list li.k-popcorn b { background: var(--cream); }
.tb-imap__list li.k-popcorn b::after { content: ""; width: 80%; height: 80%; background: var(--orange-2); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.tb-imap__list li.k-popcorn { grid-column: 1 / -1; justify-self: center; min-width: min(100%, 300px); }
.tb-imap__list li.k-food button { background: var(--orange); border-width: 3px; box-shadow: 3px 3px 0 var(--brown); font-weight: 800; font-size: 1.02rem; }
.tb-imap__list li.k-food b { background: var(--forest); color: #fff; }
.tb-imap__list li.k-food button:hover { background: #f68a3a; }

/* Home hero video (replaces the animals cut-out); it sits partly over the wall */
.tb-hero--home { --vw: min(900px, 92vw); --vr: .5625; }
.tb-hero__video {
	position: relative; z-index: 3; width: var(--vw); aspect-ratio: 16 / 9; margin-top: clamp(.75rem, 2.5vw, 1.5rem);
	margin-bottom: calc(var(--vw) * var(--vr) * -0.28);
	border: 4px solid var(--brown); border-radius: 22px; overflow: hidden;
	box-shadow: 8px 8px 0 var(--pdf-orange), 12px 12px 0 var(--brown); background: var(--brown);
}
.tb-hero__video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.tb-wall--home { padding-top: calc(var(--vw, min(900px, 92vw)) * var(--vr, .5625) * 0.28 + 2rem); }
@media (max-width: 720px) {
	.tb-hero--home { --vr: 1; }
	.tb-hero__video { aspect-ratio: 1 / 1; border-radius: 18px; box-shadow: 6px 6px 0 var(--pdf-orange), 9px 9px 0 var(--brown); }
}
.tb-wall--home { --vw: min(900px, 92vw); --vr: .5625; }
@media (max-width: 720px) { .tb-wall--home { --vr: 1; } }
button.wp-block-button__link { cursor: pointer; line-height: inherit; }

/* Card headings are h2 for a correct outline (h1 → h2), styled like the old h3 */
.tb-content .tb-navcard h2, .tb-content .tb-ticket h2 { font-weight: 800; line-height: 1.25; color: var(--brown); font-size: 1.35rem; margin: 0 0 .35rem; }
.tb-content .tb-ticket h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); }
