/*
Theme Name: Oravský hrad
Theme URI: https://oravskemuzeum.sk/
Author: AnorWeb
Author URI: https://anorweb.com/
Description: A lightweight, mobile-first, translation-ready WordPress theme for the Oravský hrad (Orava Castle) tourist website. Premium editorial styling (sharp corners, left-aligned), smooth scroll-reveal motion, admin-editable page texts, an editable Tours/Tickets system, a "Nearby Attraction" custom post type, GTranslate-ready language slot, and site-wide "Buy tickets" calls-to-action. Plain PHP / no page builder.
Version: 2.3.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oravsky-hrad
Tags: custom-menu, featured-images, translation-ready, custom-logo, custom-colors, threaded-comments, block-styles, wide-blocks
*/

/* =========================================================================
   1. Design tokens
   ========================================================================= */
:root {
	--oh-color-primary: #3f5063;
	--oh-color-primary-dark: #2b3949;
	--oh-color-accent: #b8862b;
	--oh-color-accent-dark: #96691c;
	--oh-color-ink: #23272e;
	--oh-color-muted: #5d6673;
	--oh-color-line: #e3e1db;
	--oh-color-line-dark: rgba(255,255,255,0.16);
	--oh-color-bg: #ffffff;
	--oh-color-bg-alt: #f5f3ee;
	--oh-color-bg-dark: #1c232c;
	--oh-color-on-dark: #eceae4;

	--oh-font-heading: "Georgia", "Iowan Old Style", "Times New Roman", serif;
	--oh-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--oh-fs-base: clamp(1rem, 0.955rem + 0.22vw, 1.09rem);
	--oh-lh-base: 1.75;

	--oh-maxw: 1240px;
	--oh-maxw-narrow: 780px;
	--oh-gap: clamp(1.5rem, 4vw, 3rem);
	--oh-section-y: clamp(3.5rem, 9vw, 7.5rem);

	/* Premium look: no rounded corners anywhere. */
	--oh-radius: 0px;
	--oh-radius-lg: 0px;

	--oh-shadow: 0 18px 50px -28px rgba(28, 35, 44, 0.5);
	--oh-shadow-lg: 0 40px 80px -30px rgba(28, 35, 44, 0.55);
	--oh-header-h: 76px;
	--oh-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =========================================================================
   2. Reset / base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--oh-font-body);
	font-size: var(--oh-fs-base);
	line-height: var(--oh-lh-base);
	color: var(--oh-color-ink);
	background: var(--oh-color-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
	.js .oh-reveal { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
	.js .oh-reveal[data-reveal="zoom"] > * { transform: none !important; }
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--oh-color-accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.2s var(--oh-ease); }
a:hover, a:focus { color: var(--oh-color-primary-dark); }

h1, h2, h3, h4 { font-family: var(--oh-font-heading); line-height: 1.12; color: var(--oh-color-primary-dark); font-weight: 700; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 1.5rem + 3.4vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 1.25rem + 2.1vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 1.08rem + 0.9vw, 1.7rem); }

p { margin: 0 0 1.15em; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.25em; }
li { margin-bottom: 0.5em; }
li::marker { color: var(--oh-color-accent-dark); }

blockquote {
	margin: 1.75em 0; padding: 0.4em 0 0.4em 1.5em;
	border-left: 3px solid var(--oh-color-accent);
	font-family: var(--oh-font-heading); font-style: italic; font-size: 1.25em;
	color: var(--oh-color-primary-dark); line-height: 1.4;
}
hr { border: 0; border-top: 1px solid var(--oh-color-line); margin: var(--oh-gap) 0; }

.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--oh-color-bg-dark); color: #fff; padding: 0.75em 1.25em; }
.skip-link:focus { left: 0; color: #fff; }
:focus-visible { outline: 2px solid var(--oh-color-accent); outline-offset: 3px; }

/* =========================================================================
   3. Layout helpers
   ========================================================================= */
.oh-container { width: 100%; max-width: var(--oh-maxw); margin-inline: auto; padding-inline: clamp(1.2rem, 5vw, 3rem); }
.oh-container--narrow { max-width: var(--oh-maxw-narrow); }

.oh-section { padding-block: var(--oh-section-y); }
.oh-section--alt { background: var(--oh-color-bg-alt); }
.oh-section--dark { background: var(--oh-color-bg-dark); color: var(--oh-color-on-dark); }
.oh-section--dark h1, .oh-section--dark h2, .oh-section--dark h3 { color: #fff; }
.oh-section--dark a { color: #e9c877; }
.oh-section--tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }

/* Section head — always left aligned, with an index + rule accent. */
.oh-section-head { max-width: var(--oh-maxw-narrow); margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.oh-eyebrow {
	display: inline-flex; align-items: center; gap: 0.7rem;
	font-family: var(--oh-font-body); font-size: 0.76rem; font-weight: 700;
	letter-spacing: 0.22em; text-transform: uppercase; color: var(--oh-color-accent-dark);
	margin-bottom: 1rem;
}
.oh-eyebrow::before { content: ""; width: 2.2rem; height: 1px; background: currentColor; display: inline-block; }
.oh-section--dark .oh-eyebrow { color: #d7ad5c; }
.oh-lead { font-size: 1.2em; color: var(--oh-color-muted); line-height: 1.65; }
.oh-section--dark .oh-lead { color: rgba(255,255,255,0.82); }

/* Prose */
.oh-prose { max-width: var(--oh-maxw-narrow); }
.oh-prose :where(h2, h3) { margin-top: 1.7em; }
.oh-prose img { margin-block: 1.75em; }
.oh-prose figure { margin: 1.75em 0; }
.oh-prose figcaption { font-size: 0.9em; color: var(--oh-color-muted); margin-top: 0.5em; }

/* =========================================================================
   4. Reveal-on-scroll motion (progressive enhancement)
   ========================================================================= */
/* Default: a soft "focus-in" — rise + de-blur + micro-scale (not just a fade). */
.js .oh-reveal {
	opacity: 0;
	transform: translateY(22px) scale(0.985);
	filter: blur(6px);
	transition: opacity 0.8s var(--oh-ease), transform 0.9s var(--oh-ease), filter 0.8s var(--oh-ease);
	will-change: opacity, transform, filter;
}
.js .oh-reveal.is-visible { opacity: 1; transform: none; filter: none; }

/* Directional variants for split copy. */
.js .oh-reveal[data-reveal="left"] { transform: translateX(-26px); filter: blur(4px); }
.js .oh-reveal[data-reveal="right"] { transform: translateX(26px); filter: blur(4px); }
.js .oh-reveal[data-reveal="left"].is-visible,
.js .oh-reveal[data-reveal="right"].is-visible { transform: none; filter: none; }

/* Media variant: a clip-path wipe with the image settling from a slight zoom. */
.js .oh-reveal[data-reveal="zoom"] { opacity: 1; filter: none; transform: none; clip-path: inset(0 0 100% 0); }
.js .oh-reveal[data-reveal="zoom"] > * { transform: scale(1.12); transition: transform 1.2s var(--oh-ease); will-change: transform; }
.js .oh-reveal[data-reveal="zoom"].is-visible { clip-path: inset(0 0 0 0); transition: clip-path 1s var(--oh-ease); }
.js .oh-reveal[data-reveal="zoom"].is-visible > * { transform: none; }

/* =========================================================================
   5. Buttons
   ========================================================================= */
.oh-btn {
	display: inline-flex; align-items: center; gap: 0.6em; position: relative;
	font-family: var(--oh-font-body); font-weight: 600; font-size: 0.82rem;
	letter-spacing: 0.12em; text-transform: uppercase; line-height: 1;
	text-decoration: none; cursor: pointer; padding: 1.05em 1.9em;
	border: 1px solid transparent; overflow: hidden;
	transition: color 0.3s var(--oh-ease), background-color 0.3s var(--oh-ease), border-color 0.3s var(--oh-ease);
}
.oh-btn svg { width: 1.1em; height: 1.1em; }
.oh-btn--primary { background: var(--oh-color-accent); color: #201c0c; border-color: var(--oh-color-accent); }
.oh-btn--primary:hover, .oh-btn--primary:focus { background: var(--oh-color-primary-dark); border-color: var(--oh-color-primary-dark); color: #fff; }
.oh-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.oh-btn--ghost:hover, .oh-btn--ghost:focus { background: #fff; color: var(--oh-color-primary-dark); border-color: #fff; }
.oh-btn--outline { background: transparent; color: var(--oh-color-primary-dark); border-color: var(--oh-color-primary-dark); }
.oh-btn--outline:hover, .oh-btn--outline:focus { background: var(--oh-color-primary-dark); color: #fff; }
.oh-btn--sm { padding: 0.7em 1.15em; font-size: 0.72rem; }
.oh-btn--block { width: 100%; justify-content: center; }

.oh-textlink { font-family: var(--oh-font-body); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--oh-color-accent-dark); display: inline-flex; align-items: center; gap: 0.5em; }
.oh-textlink::after { content: "→"; transition: transform 0.25s var(--oh-ease); }
.oh-textlink:hover::after, .oh-textlink:focus::after { transform: translateX(4px); }

/* =========================================================================
   6. Header / navigation
   ========================================================================= */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	transition: background-color 0.35s var(--oh-ease), box-shadow 0.35s var(--oh-ease), border-color 0.35s var(--oh-ease);
	background: transparent; border-bottom: 1px solid transparent;
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem 1.25rem; min-height: var(--oh-header-h); }
.site-branding { display: flex; align-items: center; gap: 0.7rem; }
.site-branding .custom-logo-link { display: block; line-height: 0; }
.site-branding .custom-logo { max-height: 52px; width: auto; }

/* Logo lockup (mark + wordmark) */
.oh-logo { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.oh-logo__mark { color: var(--oh-color-accent); flex: none; }
.oh-logo__word { font-family: var(--oh-font-heading); font-size: 1.3rem; line-height: 1.02; color: var(--oh-color-primary-dark); font-weight: 700; }
.oh-logo__word small { display: block; font-family: var(--oh-font-body); font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--oh-color-accent-dark); font-weight: 700; margin-top: 0.2rem; }

.site-header__actions { display: flex; align-items: center; gap: 0.6rem 0.9rem; }
.site-header__cta { display: inline-flex; }

/* Transparent-over-hero state (default at top) — light logo + toggle. */
.site-header:not(.is-scrolled) .oh-logo__word { color: #fff; }
.site-header:not(.is-scrolled) .menu-toggle { color: #fff; border-color: rgba(255,255,255,0.45); }
.site-header.is-scrolled { background: rgba(255,255,255,0.96); backdrop-filter: saturate(150%) blur(10px); border-bottom-color: var(--oh-color-line); box-shadow: 0 10px 30px -24px rgba(28,35,44,0.6); }

/* Menu toggle (always visible now) */
.menu-toggle { display: inline-flex; align-items: center; gap: 0.55rem; background: transparent; border: 1px solid var(--oh-color-line); padding: 0.62rem 0.95rem; cursor: pointer; font-family: var(--oh-font-body); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--oh-color-ink); transition: border-color 0.25s var(--oh-ease), color 0.25s var(--oh-ease); }
.menu-toggle:hover { border-color: var(--oh-color-accent); }
.menu-toggle__bars { width: 20px; height: 12px; position: relative; display: inline-block; }
.menu-toggle__bars::before, .menu-toggle__bars::after, .menu-toggle__bars span { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; }
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars span { top: 5px; }
.menu-toggle__bars::after { bottom: 0; }
@media (max-width: 560px) { .site-header__cta-label { display: none; } .menu-toggle__label { display: none; } .menu-toggle { padding: 0.62rem 0.7rem; } }

/* ---- Full-width overlay menu (drops from the top) -------------------- */
.oh-menu {
	position: fixed; inset: 0; z-index: 200; background: var(--oh-color-bg-dark); color: var(--oh-color-on-dark);
	transform: translateY(-100%); visibility: hidden;
	transition: transform 0.6s var(--oh-ease), visibility 0s linear 0.6s;
	overflow-y: auto; display: flex;
}
.oh-menu.is-open { transform: translateY(0); visibility: visible; transition: transform 0.6s var(--oh-ease), visibility 0s; }
.oh-menu__inner { width: 100%; display: flex; flex-direction: column; min-height: 100%; padding-block: clamp(1rem, 2vw, 1.5rem) clamp(2rem, 5vw, 3.5rem); }
.oh-menu__bar { display: flex; align-items: center; justify-content: space-between; min-height: var(--oh-header-h); gap: 1rem; }
.oh-menu__bar .oh-logo__word { color: #fff; }
.oh-menu__close { display: inline-flex; align-items: center; gap: 0.6rem; background: transparent; border: 0; color: rgba(255,255,255,0.85); cursor: pointer; font-family: var(--oh-font-body); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 0.5rem; transition: color 0.2s; }
.oh-menu__close:hover { color: #fff; }

.oh-menu__nav { flex: 1; display: flex; align-items: center; padding-block: clamp(1.5rem, 5vw, 3rem); }
.oh-menu__list { list-style: none; margin: 0; padding: 0; counter-reset: ohmenu; width: 100%; }
.oh-menu__list > li { margin: 0; border-top: 1px solid var(--oh-color-line-dark); }
.oh-menu__list > li:last-child { border-bottom: 1px solid var(--oh-color-line-dark); }
.oh-menu__list > li > a {
	display: flex; align-items: baseline; gap: 1.2rem;
	padding: clamp(0.7rem, 2vw, 1.15rem) 0;
	font-family: var(--oh-font-heading); font-size: clamp(1.75rem, 1rem + 3.5vw, 3.25rem);
	color: #fff; text-decoration: none; line-height: 1.05;
	transition: color 0.25s var(--oh-ease), padding-left 0.3s var(--oh-ease);
}
.oh-menu__list > li > a::before { counter-increment: ohmenu; content: counter(ohmenu, decimal-leading-zero); font-family: var(--oh-font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: var(--oh-color-accent); opacity: 0.8; align-self: center; }
.oh-menu__list > li > a:hover, .oh-menu__list > li > a:focus, .oh-menu__list .current-menu-item > a { color: var(--oh-color-accent); padding-left: 0.75rem; }
.oh-menu__list ul { list-style: none; margin: 0 0 0.75rem; padding: 0 0 0 3rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.75rem; }
.oh-menu__list ul a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.95rem; letter-spacing: 0.02em; }
.oh-menu__list ul a:hover { color: #fff; }

/* Staggered entrance of the links when the menu opens. */
.oh-menu__list > li { opacity: 0; transform: translateY(18px); }
.oh-menu.is-open .oh-menu__list > li { opacity: 1; transform: none; transition: opacity 0.5s var(--oh-ease), transform 0.5s var(--oh-ease); }
.oh-menu.is-open .oh-menu__list > li:nth-child(1) { transition-delay: 0.14s; }
.oh-menu.is-open .oh-menu__list > li:nth-child(2) { transition-delay: 0.2s; }
.oh-menu.is-open .oh-menu__list > li:nth-child(3) { transition-delay: 0.26s; }
.oh-menu.is-open .oh-menu__list > li:nth-child(4) { transition-delay: 0.32s; }
.oh-menu.is-open .oh-menu__list > li:nth-child(5) { transition-delay: 0.38s; }
.oh-menu.is-open .oh-menu__list > li:nth-child(6) { transition-delay: 0.44s; }
.oh-menu.is-open .oh-menu__list > li:nth-child(n+7) { transition-delay: 0.5s; }

.oh-menu__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.oh-menu__foot-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.oh-menu__contact { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.oh-menu__contact a { display: inline-flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; }
.oh-menu__contact a:hover { color: #fff; }
.oh-menu__contact svg { color: var(--oh-color-accent); }
.oh-menu__lang select, .oh-menu .gtranslate_wrapper select { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid var(--oh-color-line-dark); padding: 0.5rem 0.7rem; font-family: var(--oh-font-body); }

/* Lock body scroll while the menu is open. */
body.oh-menu-open { overflow: hidden; }

/* Toggle turns into an X while open. */
.oh-menu-open .menu-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.oh-menu-open .menu-toggle__bars span { opacity: 0; }
.oh-menu-open .menu-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }
.menu-toggle__bars::before, .menu-toggle__bars::after, .menu-toggle__bars span { transition: transform 0.3s var(--oh-ease), opacity 0.2s; }

@media (prefers-reduced-motion: reduce) {
	.oh-menu { transition: none; }
	.oh-menu__list > li { opacity: 1; transform: none; }
}

/* =========================================================================
   7. Hero
   ========================================================================= */
.oh-hero { position: relative; color: #fff; isolation: isolate; display: grid; align-items: end; min-height: clamp(560px, 92vh, 900px); background: var(--oh-color-primary-dark); overflow: hidden; }
.oh-hero__bg { position: absolute; inset: -8% 0 0 0; z-index: -2; background-size: cover; background-position: center; will-change: transform; }
/* Self-hosted hero background video (covers the hero; poster/image shows behind as fallback). */
.oh-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; pointer-events: none; background: transparent; }
@media (prefers-reduced-motion: reduce) { .oh-hero__video { display: none; } }
.oh-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,22,28,0.55) 0%, rgba(18,22,28,0.2) 32%, rgba(18,22,28,0.5) 68%, rgba(18,22,28,0.92) 100%); }
.oh-hero__inner { padding-block: clamp(3rem, 8vw, 6rem) clamp(3.5rem, 8vw, 6rem); padding-top: calc(var(--oh-header-h) + clamp(3rem, 8vw, 6rem)); max-width: 900px; }
.oh-hero__eyebrow { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: #e9c877; margin-bottom: 1.1rem; display: inline-flex; align-items: center; gap: 0.8rem; }
.oh-hero__eyebrow::before { content: ""; width: 2.5rem; height: 1px; background: currentColor; }
.oh-hero__title { color: #fff; font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5.2rem); line-height: 1.02; max-width: 18ch; margin-bottom: 0.35em; text-shadow: 0 2px 40px rgba(0,0,0,0.35); }
.oh-hero__subtitle { font-size: clamp(1.1rem, 1rem + 0.7vw, 1.5rem); max-width: 52ch; color: rgba(255,255,255,0.92); margin-bottom: 2em; line-height: 1.6; }
.oh-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Hero quick-links strip (Bojnice-style shortcuts) */
.oh-hero__quicklinks { position: relative; z-index: 2; margin-top: clamp(2.5rem, 6vw, 4rem); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.16); }
.oh-hero__quicklink { display: flex; align-items: center; gap: 0.75rem; padding: 1.1rem 1.3rem; background: rgba(20,26,34,0.55); color: #fff; text-decoration: none; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; transition: background-color 0.25s var(--oh-ease); }
.oh-hero__quicklink:hover, .oh-hero__quicklink:focus { background: var(--oh-color-accent); color: #201c0c; }
.oh-hero__quicklink svg { width: 22px; height: 22px; flex: none; }

/* Interior page header */
.oh-pagehead { position: relative; color: #fff; isolation: isolate; background: var(--oh-color-primary-dark); background-size: cover; background-position: center; padding-block: calc(var(--oh-header-h) + clamp(3rem, 8vw, 5.5rem)) clamp(3rem, 8vw, 5.5rem); overflow: hidden; }
.oh-pagehead::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,22,28,0.5), rgba(18,22,28,0.82)); }
.oh-pagehead__title { color: #fff; margin-bottom: 0.35em; max-width: 20ch; }
.oh-pagehead__lead { max-width: 62ch; color: rgba(255,255,255,0.9); font-size: 1.2rem; line-height: 1.6; }
.oh-breadcrumbs { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 1.1rem; }
.oh-breadcrumbs a { color: rgba(255,255,255,0.9); text-decoration: none; }
.oh-breadcrumbs a:hover { color: #fff; }

/* =========================================================================
   8. Grids, cards, editorial rows
   ========================================================================= */
.oh-grid { display: grid; gap: var(--oh-gap); }
.oh-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.oh-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.oh-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.oh-card { background: #fff; border: 1px solid var(--oh-color-line); display: flex; flex-direction: column; transition: transform 0.35s var(--oh-ease), box-shadow 0.35s var(--oh-ease), border-color 0.35s var(--oh-ease); }
.oh-card:hover { transform: translateY(-6px); box-shadow: var(--oh-shadow); border-color: var(--oh-color-accent); }
.oh-card__media { aspect-ratio: 3 / 2; background: var(--oh-color-bg-alt); overflow: hidden; }
.oh-card__media img, .oh-card__media .oh-media-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--oh-ease); }
.oh-card:hover .oh-card__media img { transform: scale(1.06); }
.oh-card__body { padding: 1.5rem 1.6rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.oh-card__title { margin-bottom: 0.4rem; font-size: 1.4rem; }
.oh-card__meta { font-size: 0.76rem; font-weight: 700; color: var(--oh-color-accent-dark); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.8rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.oh-card__meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.oh-card__excerpt { color: var(--oh-color-muted); flex: 1; }
.oh-card__excerpt p:last-child { margin-bottom: 0; }
.oh-card__link { margin-top: 1.25rem; font-family: var(--oh-font-body); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--oh-color-accent-dark); display: inline-flex; align-items: center; gap: 0.5em; }
.oh-card__link::after { content: "→"; transition: transform 0.25s var(--oh-ease); }
.oh-card:hover .oh-card__link::after { transform: translateX(4px); }

/* Teaser */
.oh-teaser { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.9rem 1.75rem; background: #fff; border: 1px solid var(--oh-color-line); text-decoration: none; color: inherit; position: relative; transition: transform 0.35s var(--oh-ease), box-shadow 0.35s var(--oh-ease), border-color 0.35s var(--oh-ease); }
.oh-teaser::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--oh-color-accent); transform: scaleY(0); transform-origin: top; transition: transform 0.35s var(--oh-ease); }
.oh-teaser:hover { transform: translateY(-6px); box-shadow: var(--oh-shadow); color: inherit; }
.oh-teaser:hover::before { transform: scaleY(1); }
.oh-teaser__index { font-family: var(--oh-font-heading); font-size: 0.95rem; color: var(--oh-color-accent-dark); letter-spacing: 0.1em; }
.oh-teaser__icon { width: 40px; height: 40px; color: var(--oh-color-accent-dark); }
.oh-teaser__title { font-size: 1.35rem; margin: 0.2rem 0 0; }
.oh-teaser p { color: var(--oh-color-muted); margin: 0; }
.oh-teaser__more { margin-top: auto; padding-top: 0.75rem; font-weight: 700; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--oh-color-accent-dark); }
.oh-teaser__more::after { content: " →"; }

/* Split feature (image + text) — always left-aligned copy */
.oh-split { display: grid; gap: var(--oh-gap); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 880px) { .oh-split { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); } .oh-split--reverse .oh-split__media { order: 2; } }
.oh-split + .oh-split { margin-top: var(--oh-section-y); }
.oh-split__media img, .oh-split__media .oh-ph { width: 100%; box-shadow: var(--oh-shadow); }
.oh-split__index { font-family: var(--oh-font-heading); font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); color: var(--oh-color-line); line-height: 1; margin-bottom: 0.4rem; }

/* Facts row */
.oh-facts { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: var(--oh-color-line); border: 1px solid var(--oh-color-line); }
.oh-fact { background: #fff; padding: clamp(1.5rem, 3vw, 2.25rem) 1.5rem; }
.oh-section--alt .oh-fact { background: var(--oh-color-bg-alt); }
.oh-fact__num { font-family: var(--oh-font-heading); font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.2rem); color: var(--oh-color-primary-dark); line-height: 1; }
.oh-fact__num span { color: var(--oh-color-accent-dark); }
.oh-fact__label { font-size: 0.86rem; color: var(--oh-color-muted); margin-top: 0.6rem; letter-spacing: 0.02em; }

/* Timeline */
.oh-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.oh-timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 1px; background: var(--oh-color-line); }
.oh-timeline li { position: relative; padding: 0 0 1.9rem 2.6rem; margin: 0; }
.oh-timeline li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 13px; height: 13px; background: var(--oh-color-accent); }
.oh-timeline__year { font-family: var(--oh-font-heading); font-weight: 700; color: var(--oh-color-primary-dark); font-size: 1.2rem; }
.oh-timeline__text { color: var(--oh-color-muted); margin: 0.25rem 0 0; }

/* Editable timeline: an ordinary rich-text <ul> styled as a timeline. */
.oh-richtimeline ul { list-style: none; margin: 0; padding: 0; position: relative; }
.oh-richtimeline ul::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--oh-color-line); }
.oh-richtimeline li { position: relative; padding: 0 0 1.4rem 2.4rem; margin: 0; color: var(--oh-color-muted); }
.oh-richtimeline li::before { content: ""; position: absolute; left: 0; top: 8px; width: 13px; height: 13px; background: var(--oh-color-accent); }
.oh-richtimeline li strong { color: var(--oh-color-primary-dark); }

/* Info tables */
.oh-info-table { width: 100%; border-collapse: collapse; }
.oh-info-table caption { text-align: left; font-family: var(--oh-font-heading); font-size: 1.35rem; color: var(--oh-color-primary-dark); margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
.oh-info-table th, .oh-info-table td { text-align: left; padding: 0.85rem 0.9rem; border-bottom: 1px solid var(--oh-color-line); vertical-align: top; }
.oh-info-table th { font-family: var(--oh-font-body); color: var(--oh-color-muted); font-weight: 600; width: 46%; }
.oh-info-table td { font-weight: 600; color: var(--oh-color-ink); }
.oh-table-wrap { overflow-x: auto; }

/* Info heading (hours / fees) */
.oh-info-heading { display: flex; align-items: center; gap: 0.6rem; font-size: 1.4rem; margin-bottom: 1.1rem; }
.oh-info-heading svg { color: var(--oh-color-accent-dark); }
/* Editable definition-style list (hours, fees, tips) */
.oh-deflist ul { list-style: none; margin: 0; padding: 0; }
.oh-deflist li { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--oh-color-line); color: var(--oh-color-ink); margin: 0; }
.oh-deflist li:last-child { border-bottom: 0; }
.oh-deflist li strong { color: var(--oh-color-primary-dark); }

/* Pricing cards */
.oh-price { border: 1px solid var(--oh-color-line); padding: 2rem 1.85rem; background: #fff; display: flex; flex-direction: column; position: relative; transition: transform 0.35s var(--oh-ease), box-shadow 0.35s var(--oh-ease); }
.oh-price:hover { transform: translateY(-6px); box-shadow: var(--oh-shadow); }
.oh-price--featured { border-color: var(--oh-color-accent); border-width: 2px; }
.oh-price__badge { position: absolute; top: 0; right: 0; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #201c0c; background: var(--oh-color-accent); padding: 0.4em 0.9em; }
.oh-price__name { font-size: 1.45rem; margin-bottom: 0.6rem; }
.oh-price__amount { font-family: var(--oh-font-heading); font-size: 2.6rem; color: var(--oh-color-primary-dark); line-height: 1; margin-bottom: 0.15rem; }
.oh-price__amount small { font-size: 0.9rem; color: var(--oh-color-muted); font-family: var(--oh-font-body); letter-spacing: 0; }
.oh-price__desc { color: var(--oh-color-muted); margin: 0.5rem 0 0; }
.oh-price ul { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.oh-price li { padding-left: 1.7em; position: relative; margin-bottom: 0.6em; color: var(--oh-color-muted); }
.oh-price li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.85em; height: 1px; background: var(--oh-color-accent-dark); }
.oh-price__foot { margin-top: auto; padding-top: 1.5rem; }

/* Callout */
.oh-callout { border-left: 3px solid var(--oh-color-accent); background: var(--oh-color-bg-alt); padding: 1.25rem 1.5rem; display: flex; gap: 0.85rem; align-items: flex-start; }
.oh-callout svg { flex: none; color: var(--oh-color-accent-dark); margin-top: 3px; }
.oh-callout strong { color: var(--oh-color-primary-dark); }

/* Placeholder art */
.oh-ph { position: relative; aspect-ratio: 3 / 2; width: 100%; overflow: hidden; background: linear-gradient(135deg, #47586c, #232b35); display: grid; place-items: center; color: rgba(255,255,255,0.6); }
.oh-ph svg { width: 38%; max-width: 130px; opacity: 0.5; }
.oh-ph__label { position: absolute; bottom: 0.75rem; left: 0.9rem; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); }

/* =========================================================================
   9. Ticket banner + booking (homepage, after hero)
   ========================================================================= */
.oh-ticketrow { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .oh-ticketrow { grid-template-columns: 1fr 1fr; } }
.oh-ticketbanner { position: relative; isolation: isolate; color: #fff; background: linear-gradient(135deg, var(--oh-color-primary) 0%, var(--oh-color-primary-dark) 100%); padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.75rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.oh-ticketbanner::after { content: ""; position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: 0.18; }
.oh-ticketbanner__eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #e9c877; margin-bottom: 1rem; }
.oh-ticketbanner h2 { color: #fff; margin-bottom: 0.5rem; }
.oh-ticketbanner p { color: rgba(255,255,255,0.9); max-width: 46ch; margin-bottom: 1.75rem; }
.oh-ticketbanner__price { font-family: var(--oh-font-heading); font-size: 1.15rem; color: #e9c877; margin-bottom: 1.5rem; }
.oh-ticketbanner__price strong { font-size: 1.9rem; }
.oh-booking { background: var(--oh-color-bg-alt); padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.75rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; }
.oh-booking__head { margin-bottom: 1.5rem; }
.oh-booking__head h2 { margin-bottom: 0.4rem; }
.oh-booking__head p { color: var(--oh-color-muted); margin: 0; }
.oh-booking__slot { min-height: 60px; }
.oh-booking__placeholder { border: 1px dashed var(--oh-color-line); background: #fff; padding: 2rem 1.5rem; text-align: center; color: var(--oh-color-muted); font-size: 0.95rem; }

/* =========================================================================
   10. Gallery + lightbox
   ========================================================================= */
.oh-gallery { display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.oh-gallery__item { margin: 0; position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: var(--oh-color-bg-alt); }
.oh-gallery__item.is-wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.oh-gallery__item button, .oh-gallery__item a { display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in; background: none; }
.oh-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--oh-ease); }
.oh-gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20,26,34,0.4)); opacity: 0; transition: opacity 0.3s var(--oh-ease); }
.oh-gallery__item:hover img { transform: scale(1.07); }
.oh-gallery__item:hover::after { opacity: 1; }

.oh-lightbox { position: fixed; inset: 0; z-index: 999; display: none; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem); background: rgba(14, 17, 22, 0.94); backdrop-filter: blur(6px); }
.oh-lightbox.is-open { display: flex; }
.oh-lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 0.85rem; }
.oh-lightbox__img { max-width: 100%; max-height: 80vh; box-shadow: var(--oh-shadow-lg); }
.oh-lightbox__caption { color: rgba(255,255,255,0.85); font-size: 0.95rem; text-align: center; }
.oh-lightbox__btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); width: 50px; height: 50px; font-size: 1.5rem; cursor: pointer; display: grid; place-items: center; transition: background-color 0.2s; }
.oh-lightbox__btn:hover { background: var(--oh-color-accent); border-color: var(--oh-color-accent); color: #201c0c; }
.oh-lightbox__btn--prev { left: clamp(0.5rem, 2vw, 1.5rem); }
.oh-lightbox__btn--next { right: clamp(0.5rem, 2vw, 1.5rem); }
.oh-lightbox__close { position: absolute; top: clamp(0.5rem, 2vw, 1.2rem); right: clamp(0.5rem, 2vw, 1.2rem); width: 46px; height: 46px; transform: none; }
@media (max-width: 600px) { .oh-lightbox__btn--prev, .oh-lightbox__btn--next { top: auto; bottom: 1rem; transform: none; } }

/* =========================================================================
   11. Map / contact
   ========================================================================= */
.oh-map-embed { position: relative; overflow: hidden; border: 1px solid var(--oh-color-line); }
.oh-map-embed iframe { display: block; width: 100%; height: clamp(340px, 50vw, 480px); border: 0; }
.oh-contact-grid { display: grid; gap: var(--oh-gap); grid-template-columns: 1fr; }
@media (min-width: 900px) { .oh-contact-grid { grid-template-columns: 1.15fr 0.85fr; } }
.oh-contact-list { list-style: none; padding: 0; margin: 0; }
.oh-contact-list li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--oh-color-line); }
.oh-contact-list li:last-child { border-bottom: 0; }
.oh-contact-list svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--oh-color-accent-dark); margin-top: 3px; }
.oh-contact-list strong { display: block; color: var(--oh-color-primary-dark); font-family: var(--oh-font-body); }

/* =========================================================================
   12. CTA bands (incl. global Buy-tickets)
   ========================================================================= */
.oh-cta { position: relative; isolation: isolate; color: #fff; text-align: left; background: linear-gradient(135deg, var(--oh-color-primary), var(--oh-color-primary-dark)); padding: clamp(2.75rem, 6vw, 4.5rem) clamp(1.75rem, 5vw, 3.5rem); }
.oh-cta h2 { color: #fff; max-width: 20ch; }
.oh-cta p { color: rgba(255,255,255,0.9); max-width: 56ch; }
.oh-cta__actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* Global pre-footer buy-tickets band */
.oh-buycta { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--oh-color-bg-dark); }
.oh-buycta__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: 0.28; }
.oh-buycta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(28,35,44,0.94) 40%, rgba(28,35,44,0.6)); }
.oh-buycta__inner { display: grid; gap: 1.75rem var(--oh-gap); align-items: center; padding-block: clamp(3rem, 7vw, 5rem); grid-template-columns: 1fr; }
@media (min-width: 860px) { .oh-buycta__inner { grid-template-columns: 1.4fr auto; } }
.oh-buycta__eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: #e9c877; margin-bottom: 0.9rem; }
.oh-buycta h2 { color: #fff; margin: 0 0 0.4rem; max-width: 22ch; }
.oh-buycta p { color: rgba(255,255,255,0.85); margin: 0; max-width: 52ch; }
.oh-buycta__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* =========================================================================
   13. Footer
   ========================================================================= */
.site-footer { background: var(--oh-color-bg-dark); color: var(--oh-color-on-dark); padding-block: clamp(3rem, 6vw, 4.5rem) 1.75rem; }
.site-footer a { color: #cfccc3; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus { color: #fff; }
.site-footer__cols { display: grid; gap: var(--oh-gap); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.site-footer__brand { font-family: var(--oh-font-heading); font-size: 1.4rem; color: #fff; margin-bottom: 0.6rem; }
.site-footer h2, .site-footer .widget-title { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.16em; color: #fff; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.6rem; }
.site-footer__bottom { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.4rem; border-top: 1px solid var(--oh-color-line-dark); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.site-footer .widget { margin-bottom: 1.5rem; }

/* =========================================================================
   14. WordPress core / blocks
   ========================================================================= */
.alignleft { float: left; margin: 0.4em 1.75em 1em 0; }
.alignright { float: right; margin: 0.4em 0 1em 1.75em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.9em; color: var(--oh-color-muted); }
.sticky, .gallery-caption, .bypostauthor { display: block; }
.entry-content { max-width: var(--oh-maxw-narrow); }
.oh-pagination { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 2.5rem; }
.oh-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 0.6rem; border: 1px solid var(--oh-color-line); text-decoration: none; color: var(--oh-color-ink); }
.oh-pagination .page-numbers.current { background: var(--oh-color-accent); border-color: var(--oh-color-accent); color: #201c0c; font-weight: 700; }

/* =========================================================================
   15. Reviews, footer legal, bookings page
   ========================================================================= */
.oh-review { background: rgba(255,255,255,0.045); border: 1px solid var(--oh-color-line-dark); padding: 2rem 1.85rem; display: flex; flex-direction: column; height: 100%; }
.oh-review__stars { color: var(--oh-color-accent); letter-spacing: 0.18em; font-size: 1.05rem; margin-bottom: 1.1rem; }
.oh-review__text { font-family: var(--oh-font-heading); font-style: italic; font-size: 1.14rem; line-height: 1.55; color: #fff; margin: 0 0 1.5rem; border: 0; padding: 0; }
.oh-review__author { margin-top: auto; }
.oh-review__author strong { display: block; color: #fff; font-family: var(--oh-font-body); font-weight: 700; }
.oh-review__author span { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

.site-footer__legal { margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.5rem; border-top: 1px solid var(--oh-color-line-dark); }
.site-footer__legal p { font-size: 0.75rem; line-height: 1.7; color: rgba(255,255,255,0.42); margin: 0 0 0.8em; max-width: none; }

.oh-booking-page { max-width: 960px; }

/* Utilities */
.oh-mt-0 { margin-top: 0; }
.oh-mb-0 { margin-bottom: 0; }
.oh-flex-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.oh-search-form input.search-field { padding: 0.85em 1em; border: 1px solid var(--oh-color-line); }
