/*
 * Ostend City Guide — global styles.
 * Tokens and ol- utilities follow the design system v1.1
 * (Oostende-Lokaal-designpakket-Claude/oostende-lokaal-design-tokens.css), which is leading.
 * Do not target undocumented Voxel selectors here; map Voxel markup only after inspection.
 */

@font-face {
	font-family: 'Manrope';
	src: url('../fonts/manrope-latin-var.woff2') format('woff2');
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
}

/* Metric-matched fallback (computed from Manrope 400 vs Arial) so the swap to Manrope does not
   reflow text and shift layout (CLS). */
@font-face {
	font-family: 'Manrope Fallback';
	src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Helvetica');
	size-adjust: 101.83%;
	ascent-override: 104.69%;
	descent-override: 29.46%;
	line-gap-override: 0%;
}

:root {
	--ol-navy: #062c54;
	--ol-yellow: #ffd000;
	--ol-yellow-hover: #e8bd00;
	--ol-turquoise: #00abc3;      /* decorative only, never small text on white */
	--ol-teal-text: #006b7a;
	--ol-aqua-light: #e8f7fa;
	--ol-white: #fff;
	--ol-surface: #f5f7f9;
	--ol-text-muted: #526274;
	--ol-border: #d8e1e8;
	--ol-control-border: #7a8b9c;
	--ol-success: #176b47;
	--ol-error: #b42318;
	--ol-font: 'Manrope', 'Manrope Fallback', Arial, sans-serif;
	--ol-container: 1200px;
	--ol-space-1: 4px;
	--ol-space-2: 8px;
	--ol-space-3: 12px;
	--ol-space-4: 16px;
	--ol-space-6: 24px;
	--ol-space-8: 32px;
	--ol-space-12: 48px;
	--ol-space-16: 64px;
	--ol-space-20: 80px;
	--ol-radius-control: 8px;
	--ol-radius-card: 12px;
	--ol-radius-image: 16px;
}

/* Voxel UI variables mapped to design tokens (Voxel's default greys fail AA for small text). */
.ol-site {
	--ts-accent-1: var(--ol-navy);
	--ts-accent-2: #04213f;
	--ts-shade-1: var(--ol-navy);
	--ts-shade-2: var(--ol-text-muted);
	--ts-shade-3: var(--ol-control-border);
	--ts-shade-4: var(--ol-border);
	--ts-shade-5: var(--ol-surface);
}

body {
	font-family: var(--ol-font);
	color: var(--ol-navy);
	background: var(--ol-white);
}

.ol-container { width: min(calc(100% - 64px), var(--ol-container)); margin-inline: auto; }
.ol-section { padding-block: clamp(40px, 6vw, 80px); }
.ol-hero-title { font: 800 clamp(36px, 4vw, 56px)/1.08 var(--ol-font); color: var(--ol-navy); }
.ol-page-title { font: 700 clamp(32px, 3.2vw, 44px)/1.15 var(--ol-font); color: var(--ol-navy); }
.ol-section-title { font: 700 clamp(26px, 2.4vw, 32px)/1.2 var(--ol-font); color: var(--ol-navy); }
.ol-copy { font: 400 1.0625rem/1.6 var(--ol-font); color: var(--ol-navy); max-width: 65ch; }
.ol-card { background: var(--ol-white); border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card); }
.ol-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; box-sizing: border-box; border: 1px solid transparent; border-radius: var(--ol-radius-control); font: 700 1rem/1.2 var(--ol-font); text-decoration: none; cursor: pointer; }
.ol-button-primary { background: var(--ol-yellow); color: var(--ol-navy); }
.ol-button-primary:hover { background: var(--ol-yellow-hover); }
.ol-button-secondary { background: var(--ol-white); border-color: var(--ol-navy); color: var(--ol-navy); }
.ol-button:focus-visible, .ol-site a:focus-visible, .ol-site input:focus-visible, .ol-site select:focus-visible, .ol-site textarea:focus-visible, .ol-site button:focus-visible { outline: 3px solid var(--ol-navy); outline-offset: 3px; box-shadow: 0 0 0 3px white; }
.ol-dark a:focus-visible, .ol-dark button:focus-visible { outline-color: var(--ol-yellow); box-shadow: none; }
.ol-button:disabled, .ol-button[aria-disabled='true'] { opacity: .55; cursor: not-allowed; }
.ol-logo { display: block; width: 210px; max-width: 100%; height: auto; }

.ol-skip-link { position: fixed; left: 8px; top: 8px; z-index: 1000; padding: 12px 16px; background: var(--ol-yellow); color: var(--ol-navy); font-weight: 700; border-radius: var(--ol-radius-control); transform: translateY(-200%); }
.ol-skip-link:focus { transform: none; }
/* The skip link's widget wrapper must not take part in the header's flex layout. */
.elementor-widget-html:has(.ol-skip-link) { position: absolute; width: 1px; height: 1px; }

/* Typography inside Elementor widgets ------------------------------------ */
body.ol-site .elementor-heading-title { font-family: var(--ol-font); color: var(--ol-navy); }
body.ol-site .ol-page-title .elementor-heading-title { font: 700 clamp(32px, 3.2vw, 44px)/1.15 var(--ol-font); }
body.ol-site .ol-section-title .elementor-heading-title { font: 700 clamp(26px, 2.4vw, 32px)/1.2 var(--ol-font); }
body.ol-site .ol-h3 .elementor-heading-title { font: 700 clamp(19px, 1.8vw, 24px)/1.3 var(--ol-font); }
.ol-lead { font-size: 1.125rem; line-height: 1.55; color: var(--ol-text-muted); max-width: 65ch; }
.ol-copy, .ol-copy p { font: 400 1.0625rem/1.6 var(--ol-font); color: var(--ol-navy); max-width: 65ch; }
.ol-copy a { color: var(--ol-teal-text); text-decoration: underline; }
.ol-muted { color: var(--ol-text-muted); font-size: 0.9375rem; }
.ol-site p:last-child { margin-bottom: 0; }
.ol-eyebrow p { margin: 0; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ol-teal-text); }

/* Buttons (Elementor button widget with ol-btn classes) ----------------- */
.ol-btn .elementor-button { display: flex; width: 100%; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border: 1px solid transparent; border-radius: var(--ol-radius-control); font: 700 1rem/1.2 var(--ol-font); text-decoration: none; }
.ol-btn-primary .elementor-button { background: var(--ol-yellow); color: var(--ol-navy); }
.ol-btn-primary .elementor-button:hover { background: var(--ol-yellow-hover); color: var(--ol-navy); }
.ol-btn-secondary .elementor-button { background: var(--ol-white); border-color: var(--ol-navy); color: var(--ol-navy); }
.ol-btn-secondary .elementor-button:hover { background: var(--ol-aqua-light); color: var(--ol-navy); }
.ol-btn .elementor-button:focus-visible { outline: 3px solid var(--ol-navy); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }

/* Header ------------------------------------------------------------------ */
.ol-header { background: var(--ol-white); border-bottom: 1px solid var(--ol-border); min-height: 88px; padding-block: 12px; position: relative; }
.ol-header > .e-con-inner { padding-inline: 32px; }
.ol-logo-link { display: inline-block; padding: 4px 0; }
/* Primary navigation (ocg-core [ocg_primary_nav]) */
/* The mobile panel is positioned against .ol-header, so the wrappers in between stay static. */
.ol-primary-nav, .ol-header > .e-con-inner, .ol-header .elementor-element.ol-nav { position: static; }
.ol-menu, .ol-menu ul { list-style: none; margin: 0; padding: 0; }
.ol-menu a { display: block; color: var(--ol-navy); font: 600 1rem/1.2 var(--ol-font); text-decoration: none; padding: 12px 0; }
.ol-menu a:hover { color: var(--ol-teal-text); }
.ol-menu > .current-menu-item > a { box-shadow: inset 0 -3px 0 var(--ol-yellow); }
.ol-nav-toggle { display: none; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 8px 12px; background: transparent; border: 1px solid var(--ol-border); border-radius: var(--ol-radius-control); color: var(--ol-navy); font: 700 1rem/1 var(--ol-font); cursor: pointer; }
.ol-burger, .ol-burger::before, .ol-burger::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; content: ''; position: relative; }
.ol-burger::before { position: absolute; top: -6px; }
.ol-burger::after { position: absolute; top: 6px; }
.ol-primary-nav.is-open .ol-burger { background: transparent; }
.ol-primary-nav.is-open .ol-burger::before { top: 0; transform: rotate(45deg); }
.ol-primary-nav.is-open .ol-burger::after { top: 0; transform: rotate(-45deg); }

@media (min-width: 1024px) {
	.ol-menu { display: flex; gap: 24px; align-items: center; }
	.ol-menu > li { position: relative; }
	.ol-menu .sub-menu { position: absolute; top: 100%; left: -16px; min-width: 220px; padding: 8px 16px; background: #fff; border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card); box-shadow: 0 8px 24px rgba(6, 44, 84, 0.08); visibility: hidden; opacity: 0; z-index: 50; }
	.ol-menu li:hover > .sub-menu, .ol-menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; }
	/* Last item opens to the left: a hidden left-aligned panel still widened the page (horizontal scroll at 1024–1300px). */
	.ol-menu > li:last-child > .sub-menu { left: auto; right: -16px; }
	.ol-menu .menu-item-has-children > a::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
}
@media (max-width: 1023px) {
	.ol-nav-toggle { display: inline-flex; }
	.ol-nav-panel { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 60; padding: 8px 24px 24px; background: #fff; border-bottom: 1px solid var(--ol-border); box-shadow: 0 12px 24px rgba(6, 44, 84, 0.1); }
	.ol-primary-nav.is-open .ol-nav-panel { display: block; }
	.ol-menu > li { border-bottom: 1px solid var(--ol-border); }
	.ol-menu a { padding: 14px 0; }
	.ol-menu .sub-menu { padding-left: 16px; }
	.ol-menu .sub-menu a { font-weight: 400; }
}

/* Footer ------------------------------------------------------------------ */
.ol-footer { background: var(--ol-navy); color: #fff; padding-block: 48px 32px; margin-top: 80px; }
.ol-footer > .e-con-inner { padding-inline: 32px; }
.ol-footer a { color: #fff; }
.ol-footer a:hover { color: var(--ol-yellow); }
.ol-footer-about p { color: #fff; max-width: 40ch; margin: 0; }
body.ol-site .ol-footer-heading .elementor-heading-title { color: #fff; font-size: 1rem; font-weight: 700; }
.ol-footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ol-footer-menus { flex: 0 1 auto; }
.ol-footer-nav { min-width: 160px; }
.ol-footer-info .ol-link-button { padding: 0; border: 0; background: none; color: #fff; font: inherit; text-align: left; cursor: pointer; }
.ol-footer-info .ol-link-button:hover { color: var(--ol-yellow); }
.ol-footer-info a:focus-visible, .ol-footer-info .ol-link-button:focus-visible { outline: 3px solid var(--ol-yellow); outline-offset: 2px; }
/* The Information block has 6–8 links; lay it out in two columns on desktop (one column below). */
@media (min-width: 1024px) {
	.ol-footer-nav:has(ul.ol-footer-info) { flex-shrink: 0; }
	.ol-footer-nav ul.ol-footer-info { grid-template-columns: repeat(2, max-content); column-gap: 28px; align-content: start; }
}
.ol-footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 24px; }
.ol-footer-legal p { color: #fff; font-size: 0.875rem; margin: 0; }
.ol-footer-legal-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
.ol-footer-legal .ol-footer-credit { margin-left: auto; text-align: right; }
.ol-footer-credit a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ol-footer-credit a:hover { color: var(--ol-yellow); }

/* Newsletter signup (ocg-core newsletter.php → MailPoet form; footer + homepage) */
.ol-footer-newsletter { border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 24px; }
.ol-newsletter .ol-section-title { margin: 0 0 4px; }
.ol-newsletter-intro { margin: 0 0 16px; max-width: 52ch; }
.ol-footer-newsletter .ol-newsletter-intro { color: #fff; }
.ol-newsletter .mailpoet_form { max-width: 560px; }
.ol-home-newsletter .ol-newsletter { max-width: 640px; margin-inline: auto; text-align: center; }
.ol-home-newsletter .ol-newsletter-intro { margin-inline: auto; }
.ol-home-newsletter .mailpoet_form { margin-inline: auto; }

/* Flexa breadcrumbs (on single pages): render the bare <ol> as a horizontal trail */
.flexa-breadcrumbs__list { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0; margin: 0; padding: 0; font-size: 0.875rem; line-height: 1.5; }
.flexa-breadcrumbs__item { display: inline-flex; align-items: center; color: var(--ol-text-muted); }
.flexa-breadcrumbs__item + .flexa-breadcrumbs__item::before { content: "\203A"; margin: 0 8px; color: var(--ol-text-muted); }
.flexa-breadcrumbs__item a { color: var(--ol-navy); text-decoration: none; }
.flexa-breadcrumbs__item a:hover { text-decoration: underline; text-underline-offset: 2px; }
.flexa-breadcrumbs__item [aria-current="page"] { color: var(--ol-text-muted); }
.ol-footer-links { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.ol-footer-links a, .ol-footer-links .ol-link-button { color: #fff; font: 400 0.875rem/1.4 var(--ol-font); text-decoration: underline; text-underline-offset: 2px; display: inline-flex; align-items: center; min-height: 32px; }
/* "Cookie settings" is a button (it opens the consent banner) styled as a footer link. */
.ol-link-button { background: none; border: 0; padding: 0; cursor: pointer; }
.ol-footer-links a:focus-visible, .ol-footer-links .ol-link-button:focus-visible { outline: 3px solid var(--ol-yellow); outline-offset: 2px; }

/* Archives ---------------------------------------------------------------- */
.ol-archive { padding-block: 32px 0; }
.ol-archive > .e-con-inner { padding-inline: 32px; }
.ol-archive-title { margin: 0; font: 700 clamp(32px, 3.2vw, 44px)/1.15 var(--ol-font); color: var(--ol-navy); }
.ol-archive-intro p { font-size: 1.0625rem; line-height: 1.6; max-width: 65ch; margin: 0 0 12px; }
/* Specific enough to beat the widget's own .elementor-N .elementor-element-X .ts-search-btn { color:#fff } (contrast 1.47:1). */
body.ol-site .ol-search .ts-btn-2.ts-btn, body.ol-site .ol-search .ts-btn-2.ts-search-btn { background: var(--ol-yellow); color: var(--ol-navy); --ts-icon-color: var(--ol-navy); font-weight: 700; }
body.ol-site .ol-search .ts-btn-2.ts-btn:hover, body.ol-site .ol-search .ts-btn-2.ts-search-btn:hover { background: var(--ol-yellow-hover); color: var(--ol-navy); }
body.ol-site .ol-search .ts-btn-2 svg { fill: var(--ol-navy); }
.ol-date { position: absolute; top: 12px; left: 12px; margin: 0; }
.ol-date .ol-date-badge { position: static; }

/* Breadcrumb -------------------------------------------------------------- */
.ol-breadcrumb .rank-math-breadcrumb p { margin: 0; font-size: 0.875rem; color: var(--ol-text-muted); }
.ol-breadcrumb .rank-math-breadcrumb a { color: var(--ol-text-muted); }
.ol-breadcrumb .separator { margin-inline: 6px; }

/* Chips --------------------------------------------------------------------- */
.ol-chip p { display: inline-block; margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--ol-aqua-light); color: var(--ol-navy); font-size: 0.875rem; font-weight: 600; }

/* Cards ------------------------------------------------------------------- */
.ol-card { background: var(--ol-white); border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card); overflow: hidden; }
a.ol-card { display: flex; color: inherit; text-decoration: none; height: 100%; }
body.ol-site a.ol-card:hover .ol-card-title .elementor-heading-title { text-decoration: underline; }
a.ol-card:focus-visible { outline: 3px solid var(--ol-navy); outline-offset: 3px; }
.ol-card-top { position: relative; }
/* The card is a flex column with height 100%: never let the photo shrink while the grid lays out (CLS). */
/* Photo box: block layout with the ratio on the wrapper. As nested flex columns, Chrome sized the
   box from the image's natural size, so it collapsed until the image had loaded (CLS). */
.ol-card > .ol-card-top { display: block; width: 100%; flex-shrink: 0; }
.ol-card-media:has(img) { aspect-ratio: 3 / 2; overflow: hidden; }
.ol-card-event .ol-card-media:has(img) { aspect-ratio: 16 / 9; }
.ol-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ol-card-body { padding: 16px 20px 20px; }
body.ol-site .ol-card-title .elementor-heading-title { font: 700 clamp(19px, 1.6vw, 20px)/1.3 var(--ol-font); }
.ol-card-meta p { margin: 0; font-size: 0.875rem; color: var(--ol-text-muted); }
.ol-card-summary p { margin: 4px 0 0; font-size: 0.9375rem; color: var(--ol-text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ol-card-labels { position: absolute; top: 12px; left: 12px; right: 12px; align-items: flex-start; pointer-events: none; }
.ol-card-label p { display: inline-block; margin: 0; padding: 4px 10px; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; line-height: 1.3; box-shadow: 0 1px 3px rgb(0 0 0 / 0.2); }
.ol-card-label-pick p { background: var(--ol-yellow); color: var(--ol-navy); }
.ol-card-label-sponsored p { background: var(--ol-white); color: var(--ol-navy); }
.ol-date-badge { display: grid; margin: 0; justify-items: center; min-width: 52px; padding: 6px 8px; background: #fff; border-radius: var(--ol-radius-control); color: var(--ol-navy); line-height: 1; }
.ol-date-day { font-size: 1.5rem; font-weight: 800; }
.ol-date-month { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-top: 2px; }

/* Business profile -------------------------------------------------------- */
.ol-profile { padding-block: 24px 0; }
.ol-profile > .e-con-inner { padding-inline: 32px; }
.ol-profile-media { align-items: stretch; }
.ol-hero-image { flex: 2 1 0; }
.ol-hero-image img { display: block; width: 100%; height: 100%; max-height: 460px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--ol-radius-image); }
/* Hero photo widget sits in a flex column: without a definite width Chrome sizes it from the image's
   natural size, i.e. 0 px while the photo is still loading, and the page jumps when it arrives (CLS). */
.ol-hero-image { width: 100%; flex-shrink: 0; }
.ol-profile .ol-gallery { flex: 1 1 0; }
.ol-profile .ol-gallery .ts-gallery { display: block; height: 100%; }
.ol-profile .ol-gallery .ts-gallery-grid { grid-gap: 12px; }
.ol-profile .ol-gallery .ts-gallery-grid li { list-style: none; min-height: 0; }
.ol-profile .ol-gallery .ts-gallery-grid a { display: block; height: 100%; border-radius: var(--ol-radius-image); overflow: hidden; }
.ol-profile .ol-gallery .ts-gallery-grid img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
/* Photo credit overlay (ocg-core images.php): small label in the bottom-right corner of the photo. */
:has(> .ol-photo-credit) { position: relative; }
.ol-photo-credit { position: absolute; right: 8px; bottom: 8px; z-index: 1; max-width: calc(100% - 16px); padding: 2px 6px; border-radius: 4px; background: rgb(6 44 84 / 0.72); color: var(--ol-white); font: 600 0.6875rem/1.4 var(--ol-font); white-space: normal; text-align: right; overflow-wrap: anywhere; pointer-events: none; }
.ol-profile-aside { padding: 24px; align-self: flex-start; }
.ol-aside-block { border-top: 1px solid var(--ol-border); padding-top: 16px; margin-top: 8px; }
body.ol-site .ol-aside-title .elementor-heading-title { font: 700 1.0625rem/1.3 var(--ol-font); }
.ol-contact-line p { margin: 0; }
.ol-contact-line a { color: var(--ol-navy); text-decoration: underline; overflow-wrap: anywhere; }
.ol-feature-list p { margin: 0; }

@media (max-width: 1023px) {
	.ol-header > .e-con-inner, .ol-footer > .e-con-inner, .ol-profile > .e-con-inner, .ol-archive > .e-con-inner { padding-inline: 24px; }
}
@media (max-width: 767px) {
	.ol-header { min-height: 72px; }
	.ol-header > .e-con-inner, .ol-footer > .e-con-inner, .ol-profile > .e-con-inner, .ol-archive > .e-con-inner { padding-inline: 20px; }
	/* height:auto so aspect-ratio reserves the space before the image loads (height:100% of an
	   auto-height column collapsed until load and shifted the contact panel: CLS). */
	.ol-hero-image img { max-height: none; height: auto; }
	.ol-profile .ol-gallery .ts-gallery-grid img { aspect-ratio: 3 / 2; height: auto; }
	.ol-profile-aside { padding: 20px; order: -1; } /* design system: main contact action right after intro + gallery on mobile */
	.ol-footer { margin-top: 48px; }
}

@media (max-width: 1023px) { .ol-container { width: calc(100% - 48px); } }
@media (max-width: 767px) { .ol-container { width: calc(100% - 40px); } .ol-logo { width: 170px; } .ol-copy { font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) { .ol-site *, .ol-site *::before, .ol-site *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Agenda date presets (mockup-agenda): one "Date" label, pill buttons.
   5784d7c = ocg_id( 'archive/event/filter/date' ) in scripts/templates/build-templates.php. */
.ol-search .elementor-repeater-item-5784d7c + .elementor-repeater-item-5784d7c > label { visibility: hidden; }
.ol-search .elementor-repeater-item-5784d7c .ts-filter { border-radius: 999px; padding-inline: 18px; }
.ol-search .elementor-repeater-item-5784d7c .ts-filter.ts-filled { background: var(--ol-navy); border-color: var(--ol-navy); color: #fff; }

/* Homepage ------------------------------------------------------------------ */
.ol-hero { background: var(--ol-aqua-light); padding-block: clamp(40px, 6vw, 72px); }
.ol-hero > .e-con-inner { padding-inline: 32px; }
body.ol-site .ol-hero-title .elementor-heading-title { font: 800 clamp(36px, 4vw, 56px)/1.08 var(--ol-font); max-width: 18ch; }
.ol-hero .ol-lead p { color: var(--ol-navy); }
.ol-hero-search { max-width: 860px; }
.ol-home-tiles { padding-block: 32px; border-bottom: 1px solid var(--ol-border); }
.ol-home-tiles > .e-con-inner { padding-inline: 32px; }
.ol-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.ol-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 8px; border-radius: var(--ol-radius-card); color: var(--ol-navy); font-weight: 700; text-align: center; text-decoration: none; }
.ol-tile:hover { background: var(--ol-surface); }
.ol-tile-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ol-aqua-light); color: var(--ol-teal-text); }
.ol-home-section { padding-block: clamp(40px, 5vw, 64px) 0; }
.ol-home-section > .e-con-inner { padding-inline: 32px; }
.ol-see-all { color: var(--ol-teal-text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023px) {
	.ol-hero > .e-con-inner, .ol-home-tiles > .e-con-inner, .ol-home-section > .e-con-inner { padding-inline: 24px; }
	.ol-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.ol-hero > .e-con-inner, .ol-home-tiles > .e-con-inner, .ol-home-section > .e-con-inner { padding-inline: 20px; }
	.ol-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.ol-tile-icon { width: 52px; height: 52px; }
}

/* Single event */
.ol-event-hero img { aspect-ratio: 16 / 9; max-height: 520px; }

/* Visually hidden, still announced by screen readers */
.ol-sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Guides: 1200px container like the listings, body text at reading width */
.ol-guide-updated p, .ol-byline { font-size: 0.875rem; color: var(--ol-text-muted); margin: 0; }
.ol-guide-hero { width: 100%; }
/* Elementor sets .e-con > .elementor-widget { max-width: 100% }, so be more specific. */
body.ol-site .ol-guide .elementor-element.ol-guide-content,
body.ol-site .ol-guide .elementor-element.ol-guide-head { max-width: min(760px, 100%); min-width: 0; }
.ol-guide-content p, .ol-guide-content li { font: 400 1.0625rem/1.65 var(--ol-font); color: var(--ol-navy); }
.ol-guide-content h2 { font: 700 clamp(24px, 2.2vw, 28px)/1.25 var(--ol-font); color: var(--ol-navy); margin: 40px 0 12px; }
.ol-guide-content h3 { font: 700 1.25rem/1.3 var(--ol-font); color: var(--ol-navy); margin: 28px 0 8px; }
.ol-guide-content a { color: var(--ol-teal-text); text-decoration: underline; text-underline-offset: 2px; }
.ol-guide-content ul, .ol-guide-content ol { padding-left: 1.25em; margin: 0 0 16px; }
.ol-guide-content li { margin-bottom: 6px; }
.ol-guide-content figure { margin: 24px 0; }
.ol-guide-content .wp-block-table { overflow-x: auto; }
.ol-guide-content table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.ol-guide-content table th, .ol-guide-content table td { text-align: left; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--ol-border); vertical-align: top; }
.ol-guide-content table thead th { border-bottom: 2px solid var(--ol-navy); }
.ol-guide-content thead th { background: var(--ol-surface); font-weight: 700; }
.ol-guide-content img { max-width: 100%; height: auto; border-radius: var(--ol-radius-image); }

/* Location map: fixed aspect ratio so loading the map never shifts the page */
.ol-map { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--ol-radius-image); overflow: hidden; background: var(--ol-aqua-light); border: 1px solid var(--ol-border); }
.ol-map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center;
	background-image: linear-gradient(var(--ol-border) 1px, transparent 1px), linear-gradient(90deg, var(--ol-border) 1px, transparent 1px); background-size: 48px 48px; background-position: center; }
.ol-map-pin { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--ol-navy); box-shadow: 0 2px 8px rgba(6, 44, 84, 0.12); }
.ol-map-address { margin: 0; font-weight: 600; color: var(--ol-navy); background: rgba(255, 255, 255, 0.9); padding: 4px 10px; border-radius: var(--ol-radius-control); }
.ol-map-button { min-height: 48px; padding: 12px 24px; border: 1px solid var(--ol-navy); border-radius: var(--ol-radius-control); background: #fff; color: var(--ol-navy); font: 700 1rem/1.2 var(--ol-font); cursor: pointer; }
.ol-map-button:hover { background: var(--ol-aqua-light); }
.ol-map-button:focus-visible { outline: 3px solid var(--ol-navy); outline-offset: 3px; }
.ol-map-button[disabled] { opacity: 0.6; cursor: progress; }
.ol-map-note { margin: 0; font-size: 0.8125rem; color: var(--ol-text-muted); background: rgba(255, 255, 255, 0.9); padding: 2px 8px; border-radius: 6px; }
.ol-map.is-loaded:focus-visible { outline: 3px solid var(--ol-navy); outline-offset: 3px; }
@media (max-width: 767px) { .ol-map { aspect-ratio: 4 / 3; } }
.ol-map-marker { background: none; border: 0; }

/* Practical cards have no image */
.ol-card-practical .ol-card-body { padding: 20px 24px 24px; border-top: 4px solid var(--ol-yellow); }

/* Add to the guide (/add-to-the-guide/) */
.ol-steps { counter-reset: none; padding-left: 1.25em; }
.ol-choices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 900px; }
.ol-choice { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 24px; border: 1px solid var(--ol-border); border-top: 4px solid var(--ol-yellow); border-radius: var(--ol-radius-card); background: #fff; color: var(--ol-navy); text-decoration: none; }
.ol-choice:hover .ol-choice-title { text-decoration: underline; }
.ol-choice:focus-visible { outline: 3px solid var(--ol-navy); outline-offset: 3px; }
.ol-choice-title { font: 700 1.125rem/1.3 var(--ol-font); }
.ol-choice-desc { color: var(--ol-text-muted); font-size: 0.9375rem; }
body.ol-site .ol-form-page .elementor-element.ol-create-post, body.ol-site .ol-auth .elementor-element.ol-login { max-width: 760px; }
@media (max-width: 767px) { .ol-choices { grid-template-columns: 1fr; } }

/* Add to the guide: FAQ (/add-to-the-guide/faq/) */
.ol-faq-toc { max-width: 760px; margin: 0; padding: 20px 24px; border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card); background: var(--ol-surface); }
.ol-faq-toc-h { margin: 0 0 12px; font: 700 1.0625rem/1.3 var(--ol-font); color: var(--ol-navy); }
.ol-faq-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ol-faq-toc a { color: var(--ol-teal-text); text-decoration: none; }
.ol-faq-toc a:hover { text-decoration: underline; text-underline-offset: 2px; }
.ol-faq .ol-faq-section { padding-top: 8px; }
.ol-faq .ol-faq-section + .ol-faq-section { margin-top: 16px; border-top: 1px solid var(--ol-border); }
.ol-faq .ol-faq-section > h2:first-child { margin-top: 20px; scroll-margin-top: 24px; }
.ol-faq h3 { scroll-margin-top: 24px; }
.ol-faq code { font-size: 0.9375em; background: var(--ol-surface); padding: 1px 5px; border-radius: 6px; }

/* "Already on the guide" sidebar card (ocg-core recent-listings.php) */
.ol-recent-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ol-recent-item { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 6px; color: var(--ol-navy); text-decoration: none; border-radius: 8px; }
.ol-recent-item:hover { background: var(--ol-white); }
.ol-recent-item:hover .ol-recent-name { text-decoration: underline; text-underline-offset: 2px; }
.ol-recent-item:focus-visible { outline: 3px solid var(--ol-navy); outline-offset: 2px; }
.ol-recent-media { flex: none; width: 56px; height: 56px; border-radius: var(--ol-radius-control); overflow: hidden; background: var(--ol-aqua-light); display: grid; place-items: center; }
.ol-recent-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ol-recent-mono { font: 800 1.375rem/1 var(--ol-font); color: var(--ol-teal-text); }
.ol-recent-text { display: flex; flex-direction: column; min-width: 0; }
.ol-recent-name { font: 700 0.9375rem/1.3 var(--ol-font); }
.ol-recent-meta { font-size: 0.8125rem; line-height: 1.4; color: var(--ol-text-muted); }
.ol-recent-cta { margin: 14px 0 0; }
.ol-recent-cta a { color: var(--ol-teal-text); font-weight: 600; text-decoration: underline; }
@media (min-width: 1024px) { body.ol-site .ol-guide-aside .ol-recent { position: sticky; top: 24px; } }

/* Header call to action (design system: modest business action on the right) */
.ol-header-cta a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: var(--ol-radius-control); background: var(--ol-yellow); color: var(--ol-navy); font: 700 0.9375rem/1.2 var(--ol-font); text-decoration: none; white-space: nowrap; }
.ol-header-cta a:hover { background: var(--ol-yellow-hover); }
@media (max-width: 1023px) { .ol-header-cta { display: none; } }
.ol-header .elementor-element:has(> .ol-logo-link), .ol-logo-link { flex-shrink: 0; }
.ol-header-right { flex-shrink: 1; min-width: 0; }
/* Logo left, menu toggle right on one row at every width (Elementor wraps containers and makes them full width on mobile). */
body.ol-site .ol-header > .e-con-inner { flex-wrap: nowrap; justify-content: space-between; }
body.ol-site .ol-header .elementor-element.ol-header-right { --width: auto; width: auto; margin-left: auto; justify-content: flex-end; flex-wrap: nowrap; position: static; }
/* Six main items + CTA on one row from 1024px: slightly smaller logo, text and spacing up to 1279px. */
@media (min-width: 1024px) and (max-width: 1279px) {
	.ol-menu { gap: 14px; }
	.ol-menu a { font-size: 0.9375rem; white-space: nowrap; }
	.ol-header .ol-logo { width: 160px; }
	body.ol-site .ol-header > .e-con-inner, body.ol-site .ol-topbar > .e-con-inner { padding-inline: 20px; }
	body.ol-site .ol-header .elementor-element.ol-header-right { gap: 16px; }
}
.ol-signin-box { padding: 24px; max-width: 760px; }
/* "Add your event" call below the events feed */
.ol-submit-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px; border: 1px solid var(--ol-border); border-top: 4px solid var(--ol-yellow); border-radius: var(--ol-radius-card); background: var(--ol-white); }
.ol-submit-cta h2, .ol-submit-cta p { margin: 0; }
.ol-submit-cta .ol-cta-link { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: var(--ol-radius-control); background: var(--ol-yellow); color: var(--ol-navy); font: 700 0.9375rem/1.2 var(--ol-font); text-decoration: none; white-space: nowrap; }
.ol-submit-cta .ol-cta-link:hover { background: var(--ol-yellow-hover); }
.ol-submit-cta .ol-cta-link:focus-visible { outline: 3px solid var(--ol-navy); outline-offset: 3px; }

/* Forms (design system: labels above fields, >= 48px controls, visible focus) */
.ol-form label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--ol-navy); }
.ol-form input[type="text"], .ol-form input[type="email"], .ol-form textarea { width: 100%; max-width: 560px; min-height: 48px; padding: 12px 14px; border: 1px solid var(--ol-control-border); border-radius: var(--ol-radius-control); font: 400 1rem/1.4 var(--ol-font); color: var(--ol-navy); background: #fff; box-sizing: border-box; }
.ol-form input:focus-visible, .ol-form textarea:focus-visible { outline: 3px solid var(--ol-navy); outline-offset: 2px; }
.ol-form .ol-check { display: flex; gap: 10px; align-items: flex-start; max-width: 640px; }
.ol-form .ol-check input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; }
.ol-form .ol-check label { font-weight: 400; }
.ol-optional { font-weight: 400; color: var(--ol-text-muted); }
.ol-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.ol-notice { padding: 14px 18px; border-left: 4px solid var(--ol-teal-text); background: var(--ol-aqua-light); border-radius: var(--ol-radius-control); }
.ol-notice p { margin: 0; }
.ol-claim-link { margin: 8px 0 0; padding-top: 16px; border-top: 1px solid var(--ol-border); font-size: 0.9375rem; color: var(--ol-text-muted); }
.ol-claim-link a { color: var(--ol-teal-text); font-weight: 600; text-decoration: underline; }
.ol-guide-content a.ol-button { text-decoration: none; }
.ol-button-primary, .ol-button-primary:hover { color: var(--ol-navy); }

/* Guide sidebar (ocg-core guide-sidebar.php): article left, places + ad slot right from 1024px;
   below the article on smaller screens. */
body.ol-site .e-con.ol-guide-body { width: 100%; }
.ol-guide-aside { min-width: 0; }
@media (min-width: 1024px) {
	body.ol-site .e-con.ol-guide-body { display: grid; grid-template-columns: minmax(0, 760px) minmax(280px, 340px); justify-content: space-between; align-items: start; }
	/* Stretch the column to the article's height so the ad can stay in view while reading. */
	body.ol-site .e-con.ol-guide-aside { align-self: stretch; }
	body.ol-site .ol-guide-aside .elementor-element.ol-guide-ad { position: sticky; top: 24px; }
}
.ol-places-title { font: 700 1.0625rem/1.3 var(--ol-font); color: var(--ol-navy); margin: 0 0 8px; }
.ol-places-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ol-border); }
.ol-places-list li { border-bottom: 1px solid var(--ol-border); }
.ol-place { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 4px; color: var(--ol-navy); text-decoration: none; }
.ol-place:hover .ol-place-name { text-decoration: underline; text-underline-offset: 2px; }
.ol-place:focus-visible { outline: 3px solid var(--ol-navy); outline-offset: 2px; border-radius: 4px; }
.ol-place-no { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ol-aqua-light); font: 700 0.8125rem/1 var(--ol-font); }
.ol-place-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ol-place-name { font: 700 0.9375rem/1.3 var(--ol-font); }
.ol-place-meta { font-size: 0.8125rem; line-height: 1.4; color: var(--ol-text-muted); }
.ol-place-price { flex: none; font-size: 0.875rem; font-weight: 700; }
/* Ad slot: fixed minimum height so a different creative never shifts the page. */
.ol-ad { min-height: 280px; display: flex; flex-direction: column; gap: 6px; }
.ol-ad-label { margin: 0; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ol-text-muted); }
.ol-ad-house { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--ol-radius-card); background: var(--ol-navy); color: var(--ol-white); }
.ol-ad-house p { margin: 0; }
.ol-ad-eyebrow { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ol-yellow); }
.ol-ad-title { font: 800 1.375rem/1.25 var(--ol-font); }
.ol-ad-text { font-size: 0.9375rem; line-height: 1.5; }
.ol-ad-cta { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border-radius: var(--ol-radius-control); background: var(--ol-yellow); color: var(--ol-navy); font: 700 1rem/1.2 var(--ol-font); text-decoration: none; }
.ol-ad-cta:hover { background: var(--ol-yellow-hover); }
.ol-ad-cta:focus-visible { outline: 3px solid var(--ol-yellow); outline-offset: 3px; }
.ol-guide-content address { font: 400 1.0625rem/1.65 var(--ol-font); font-style: normal; color: var(--ol-navy); margin: 0 0 16px; }

/* Top bar (ocg-core [ocg_utility_nav]): News · Contact · Advertise on desktop; below 1024px the
   links move into the menu panel (.ol-nav-utility) and the bar keeps only the skip link. */
.ol-topbar { background: var(--ol-surface); border-bottom: 1px solid var(--ol-border); }
.ol-topbar > .e-con-inner { padding-inline: 32px; min-height: 36px; }
.ol-utility-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.ol-utility-nav a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ol-navy); font: 600 0.875rem/1.2 var(--ol-font); text-decoration: none; }
.ol-utility-nav a:hover, .ol-utility-nav a[aria-current] { text-decoration: underline; text-underline-offset: 3px; }
.ol-topbar .elementor-element.ol-topbar-nav { margin-left: auto; }
.ol-nav-utility { display: none; }
@media (max-width: 1023px) {
	.ol-topbar { border-bottom: 0; }
	.ol-topbar > .e-con-inner { min-height: 0; }
	.ol-topbar .ol-topbar-nav { display: none; }
	.ol-nav-utility { display: block; list-style: none; margin: 16px 0 0; padding: 0; }
	.ol-nav-utility a { display: block; padding: 10px 0; color: var(--ol-navy); font: 400 1rem/1.2 var(--ol-font); text-decoration: none; }
	.ol-nav-utility li:last-child a { margin-top: 8px; display: inline-flex; min-height: 44px; align-items: center; padding: 10px 16px; border-radius: var(--ol-radius-control); background: var(--ol-yellow); font-weight: 700; }
}

/* News cards (ocg-core news.php) */
.ol-news-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ol-news-card { flex-direction: column; }
.ol-news-image { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.ol-news-date { margin: 0 0 4px; font-size: 0.8125rem; font-weight: 600; color: var(--ol-teal-text); }
.ol-news-title { margin: 0; font: 700 clamp(19px, 1.6vw, 20px)/1.3 var(--ol-font); color: var(--ol-navy); }
a.ol-news-card:hover .ol-news-title { text-decoration: underline; }
.ol-news-summary { margin: 6px 0 0; font-size: 0.9375rem; line-height: 1.5; color: var(--ol-text-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ol-news-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.ol-news-section-title { margin: 0; font: 800 clamp(26px, 2.6vw, 32px)/1.2 var(--ol-font); color: var(--ol-navy); }
/* Homepage block hides itself until there is news. */
.ol-home-news:not(:has(.ol-news-grid)) { display: none; }
.ol-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; padding: 0; }
.ol-pagination a, .ol-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--ol-border); border-radius: var(--ol-radius-control); color: var(--ol-navy); text-decoration: none; font-weight: 600; }
.ol-pagination .current { background: var(--ol-navy); border-color: var(--ol-navy); color: #fff; }
@media (max-width: 1023px) { .ol-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ol-topbar > .e-con-inner { padding-inline: 24px; } }
@media (max-width: 767px) { .ol-news-grid { grid-template-columns: 1fr; } .ol-topbar > .e-con-inner { padding-inline: 20px; } }

/* Contact page (ocg-core contact.php) */
.ol-form select { width: 100%; max-width: 560px; min-height: 48px; padding: 12px 14px; border: 1px solid var(--ol-control-border); border-radius: var(--ol-radius-control); font: 400 1rem/1.4 var(--ol-font); color: var(--ol-navy); background: #fff; box-sizing: border-box; }
.ol-form p { margin: 0 0 18px; }
.ol-required { color: var(--ol-error); }
.ol-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ol-notice-error { border-left-color: var(--ol-error); background: #fdf1f0; }
.ol-notice-success { border-left-color: var(--ol-success); background: #eef7f2; }
.ol-aside-card { padding: 24px; border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card); background: var(--ol-surface); }
.ol-aside-card p, .ol-aside-card address { margin: 0 0 8px; font-style: normal; line-height: 1.5; }
.ol-aside-card a { color: var(--ol-teal-text); text-decoration: underline; }
.ol-shortcuts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

/* Photo lightbox (ocg-core inc/lightbox.php) ------------------------------- */
.ol-hero-image { position: relative; }
.ol-lightbox-open { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--ol-radius-image); background: none; cursor: zoom-in; }
.ol-gallery a { cursor: zoom-in; }
html:has(.ol-lightbox[open]) { overflow: hidden; }
.ol-lightbox { box-sizing: border-box; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 56px 64px 24px; border: 0; background: rgb(3 22 42 / 0.96); color: var(--ol-white); touch-action: pan-y; }
.ol-lightbox::backdrop { background: rgb(3 22 42 / 0.96); }
.ol-lightbox-figure { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 100%; margin: 0; pointer-events: none; }
.ol-lightbox-img { display: block; max-width: 100%; max-height: calc(100% - 64px); width: auto; height: auto; object-fit: contain; border-radius: 8px; user-select: none; pointer-events: auto; }
.ol-lightbox-caption { max-width: 70ch; color: var(--ol-white); font: 500 0.9375rem/1.5 var(--ol-font); text-align: center; }
.ol-lightbox-credit { opacity: 0.75; font-size: 0.8125rem; }
.ol-lightbox-count { position: absolute; top: 16px; left: 20px; margin: 0; font: 700 0.9375rem/1.5 var(--ol-font); }
.ol-lightbox-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 999px; background: rgb(255 255 255 / 0.14); color: var(--ol-white); font: 400 2rem/1 var(--ol-font); cursor: pointer; }
.ol-lightbox-btn:hover { background: rgb(255 255 255 / 0.26); }
.ol-site .ol-lightbox-btn:focus-visible { outline: 3px solid var(--ol-yellow); outline-offset: 2px; box-shadow: none; }
.ol-lightbox-close { top: 8px; right: 12px; }
.ol-lightbox-prev, .ol-lightbox-next { top: 50%; transform: translateY(-50%); }
.ol-lightbox-prev { left: 8px; }
.ol-lightbox-next { right: 8px; }
@media (max-width: 767px) {
	.ol-lightbox { padding: 56px 8px 16px; }
	.ol-lightbox-prev, .ol-lightbox-next { top: auto; bottom: 12px; transform: none; }
	.ol-lightbox-img { max-height: calc(100% - 120px); }
}

/* Share button (ocg-core [ocg_share]) */
.ol-title-row { flex-wrap: nowrap; }
.ol-title-row > .ol-page-title { flex: 1 1 auto; min-width: 0; }
.ol-share-widget { flex: 0 0 auto; }
.ol-share { position: relative; }
.ol-share-button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--ol-navy); border-radius: var(--ol-radius-control); background: #fff; color: var(--ol-navy); font: 700 0.9375rem/1.2 var(--ol-font); cursor: pointer; }
.ol-share-button:hover { background: var(--ol-aqua-light); }
.ol-share-button:focus-visible, .ol-share-panel a:focus-visible, .ol-share-panel button:focus-visible { outline: 3px solid var(--ol-navy); outline-offset: 2px; }
.ol-share-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; min-width: 220px; padding: 12px; background: #fff; border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card); box-shadow: 0 8px 24px rgba(6, 44, 84, 0.12); }
.ol-share-panel[hidden] { display: none; }
.ol-share-heading { margin: 0 0 6px; padding: 0 8px; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ol-teal-text); }
.ol-share-panel ul { list-style: none; margin: 0; padding: 0; }
.ol-share-panel a, .ol-share-panel button { display: block; width: 100%; min-height: 44px; padding: 10px 8px; border: 0; border-radius: 6px; background: none; color: var(--ol-navy); font: 600 0.9375rem/1.4 var(--ol-font); text-align: left; text-decoration: none; cursor: pointer; box-sizing: border-box; }
.ol-share-panel a:hover, .ol-share-panel button:hover { background: var(--ol-surface); }
/* Byline + Share span the full content width; Share sits at the right edge, aligned with the hero. */
.ol-byline-row { width: 100%; }
@media (max-width: 767px) {
	.ol-title-row { flex-wrap: wrap; }
	.ol-share-panel { right: auto; left: 0; }
}
@media (max-width: 767px) { .ol-footer .ol-footer-menus.e-con { gap: 32px; --gap: 32px; --row-gap: 32px; } }

/* Search bar on one row (desktop; below 1024px Voxel shows the "Filter results" toggle) */
@media (min-width: 1024px) {
	.ol-search .ts-filter-wrapper { flex-wrap: wrap; align-items: flex-end; column-gap: 10px; row-gap: 12px; }
	.ol-search .ts-filter-wrapper > .ts-form-group { flex: 0 0 auto; width: auto; margin: 0; padding: 0; }
	.ol-search .ts-filter-wrapper > .ts-form-group:first-child { flex: 1 1 140px; min-width: 140px; }
	.ol-search .ts-filter-wrapper > .ts-form-group:first-child .ts-filter { width: 100%; }
	.ol-search .ts-filter-wrapper > .ts-form-group:first-child .ts-filter-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.ol-search .ts-filter-wrapper > .ts-inline-filter { display: flex; min-height: 44px; }
	.ol-search .ts-filter-wrapper > .ts-inline-filter > label { margin-block: auto; }
	/* Clear filters: icon button; the text stays available to screen readers. */
	.ol-search .ts-form-reset .ts-filter { min-width: 48px; padding-inline: 12px; justify-content: center; }
	.ol-search .ts-form-reset .ts-filter-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}

/* Results line: Voxel's sort label (#7a8b9c, 3.5:1) below WCAG AA; disabled pager buttons say nothing. */
.ol-feed .vxf-sort, .ol-feed .vxf-sort .ts-filter-text { color: var(--ol-text-muted); }
.ol-feed .ts-load-prev.disabled, .ol-feed .ts-load-next.disabled { visibility: hidden; }

/* Account dashboard (/account/) ------------------------------------------- */
/* The template carries a sign-in heading and an account heading; show whichever fits the state. */
.ol-auth .ol-auth-in { display: none; }
body.logged-in .ol-auth .ol-auth-out { display: none; }
body.logged-in .ol-auth .ol-auth-in { display: block; }

/* One comfortable column width for the whole account page. */
body.ol-site .ol-auth > .e-con-inner { max-width: 1040px; }
body.logged-in.ol-site .ol-auth .elementor-element.ol-login { max-width: none; }

/* Account navigation (Voxel ts-login, logged in): a row of pills, not full-width buttons. */
body.logged-in.ol-site .ol-login .login-section {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
	margin: 0; padding: 14px 16px;
	background: var(--ol-surface); border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card);
}
body.logged-in.ol-site .ol-login .login-section .ts-form-group { width: auto; margin: 0; }
body.logged-in.ol-site .ol-login .login-section .ts-btn {
	display: inline-flex; align-items: center; gap: 8px;
	width: auto; min-height: 0; padding: 9px 16px;
	background: var(--ol-white); border: 1px solid var(--ol-border); border-radius: 999px;
	color: var(--ol-navy); font: 700 0.9375rem/1 var(--ol-font); box-shadow: none;
}
body.logged-in.ol-site .ol-login .login-section .ts-btn:hover { border-color: var(--ol-navy); }
body.logged-in.ol-site .ol-login .login-section .ts-btn svg { width: 18px; height: 18px; flex: none; }
body.logged-in.ol-site .ol-login .login-section .ts-account--logout { margin-left: auto; }

/* Account sections (listings, saved places, analytics): a shared card rhythm. */
body.logged-in .ol-auth .ol-dash-head { margin-bottom: 14px; }
body.logged-in .ol-auth .ol-dash .ol-section-title { font: 700 clamp(20px, 1.8vw, 24px)/1.25 var(--ol-font); }
body.logged-in .ol-auth .ol-analytics { margin-top: 4px; }

@media (max-width: 767px) {
	body.logged-in.ol-site .ol-login .login-section .ts-account--logout { margin-left: 0; }
}

/* Header "Log in" / "My account" link to /account/ (ocg-core navigation.php) -------- */
/* Desktop: a pill in the top bar, next to Guides/Contact/Advertise. */
.ol-utility-nav { display: flex; align-items: center; gap: 16px; }
.ol-utility-nav .ol-topbar-account {
	display: none; align-items: center; gap: 6px; min-height: 30px; padding: 5px 14px;
	border: 1.5px solid var(--ol-navy); border-radius: 999px; color: var(--ol-navy);
	font: 700 0.875rem/1 var(--ol-font); text-decoration: none; white-space: nowrap;
}
body:not(.logged-in) .ol-utility-nav .ol-topbar-account.ol-acc-guest,
body.logged-in .ol-utility-nav .ol-topbar-account.ol-acc-user { display: inline-flex; }
.ol-utility-nav .ol-topbar-account:hover { background: var(--ol-navy); color: #fff; text-decoration: none; }
.ol-acc-ic { flex: none; }

/* Mobile: an item at the foot of the open menu panel (top bar is hidden there). */
.ol-nav-account { display: none; }
.ol-nav-account .ol-nav-account-link {
	display: none; align-items: center; gap: 8px; padding: 10px 0;
	color: var(--ol-navy); font: 700 1rem/1.2 var(--ol-font); text-decoration: none;
}
body:not(.logged-in) .ol-nav-account .ol-nav-account-link.ol-acc-guest,
body.logged-in .ol-nav-account .ol-nav-account-link.ol-acc-user { display: flex; }
@media (max-width: 1023px) {
	.ol-nav-account { display: block; margin-top: 8px; border-top: 1px solid var(--ol-border); padding-top: 4px; }
}

/* Saved Search (Voxel Toolkit): the Save/Load Search triggers only work for logged-in users, and
   their template renders raw for guests — hide the whole saved-search UI when not logged in. */
body:not(.logged-in) .ol-search [class*="vtk-"] { display: none !important; }

/* Compare Posts (Voxel Toolkit) ------------------------------------------------------------
   The Toolkit ships its own compare-posts.js + .css and renders the floating badge/popup; we add
   the "Add to compare" button ([ocg_compare_button], inc/compare.php) and keep it on-brand. The
   JS toggles the `active` class on .vt-compare-action-btn; the badge/popup colours come from the
   Toolkit settings (build-pages.php) because the Toolkit injects those with !important. */
.ol-compare-ic { width: 16px; height: 16px; flex: none; background: currentColor;
	-webkit-mask: center/contain no-repeat; mask: center/contain no-repeat;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='17 1 21 5 17 9'/%3E%3Cpath d='M3 11V9a4 4 0 0 1 4-4h14'/%3E%3Cpolyline points='7 23 3 19 7 15'/%3E%3Cpath d='M21 13v2a4 4 0 0 1-4 4H3'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='17 1 21 5 17 9'/%3E%3Cpath d='M3 11V9a4 4 0 0 1 4-4h14'/%3E%3Cpolyline points='7 23 3 19 7 15'/%3E%3Cpath d='M21 13v2a4 4 0 0 1-4 4H3'/%3E%3C/svg%3E"); }

/* Full button on the listing single (sits under the Save pill in the aside). */
body.ol-site a.vt-compare-action-btn.ol-compare { display: inline-flex; align-items: center; gap: 8px;
	border: 1.5px solid var(--ol-border); background: #fff; color: var(--ol-navy); border-radius: 10px;
	padding: 8px 14px; font: 700 14px/1 var(--ol-font); text-decoration: none; cursor: pointer; }
body.ol-site a.vt-compare-action-btn.ol-compare:hover { border-color: var(--ol-navy); }
.vt-compare-action-btn.ol-compare .ts-initial,
.vt-compare-action-btn.ol-compare .ts-reveal { display: inline-flex; align-items: center; gap: 8px; }
.vt-compare-action-btn.ol-compare .ts-reveal { display: none; }
body.ol-site a.vt-compare-action-btn.ol-compare.active { background: var(--ol-yellow); border-color: var(--ol-yellow); color: var(--ol-navy); }
.vt-compare-action-btn.ol-compare.active .ts-initial { display: none; }
.vt-compare-action-btn.ol-compare.active .ts-reveal { display: inline-flex; }

/* Listing single: Compare + Save sit on one row (Compare first), each filling half the row. */
.ol-listing-actions > .ol-compare-wrap, .ol-listing-actions > .ol-save-wrap { flex: 1 1 0; min-width: 0; }
body.ol-site .ol-listing-actions a.vt-compare-action-btn.ol-compare { width: 100%; justify-content: center; }
.ol-listing-actions .ol-fav { width: 100%; justify-content: center; }

/* Icon-only overlay on preview cards, to the left of the Save heart (.ol-card-save, right:12px). */
.ol-card-compare { position: absolute; top: 12px; right: 56px; z-index: 2; }
.vt-compare-action-btn.ol-compare-card { display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ol-navy);
	box-shadow: 0 1px 4px rgb(6 44 84 / .28); cursor: pointer; pointer-events: auto; }
.vt-compare-action-btn.ol-compare-card:hover { background: #fff; }
.vt-compare-action-btn.ol-compare-card .ol-compare-ic { width: 20px; height: 20px; }
.vt-compare-action-btn.ol-compare-card.active, .vt-compare-action-btn.ol-compare-card.active:hover { background: var(--ol-yellow); color: var(--ol-navy); }
.vt-compare-action-btn.ol-compare-card:focus-visible { outline: 3px solid var(--ol-navy); outline-offset: 2px; }

/* Floating badge/popup: colours come from the Toolkit settings; just match the brand font. */
.vt-compare-badge, .vt-compare-popup { font-family: var(--ol-font); }
.vt-compare-badge { font-weight: 700; }

/* Comparison pages (/compare/...): keep the Toolkit table legible and on-brand, minimal overrides. */
.ol-compare-page .vt-compare-table-container { overflow-x: auto; }
.ol-compare-page .vt-compare-empty, .ol-compare-page .vt-compare-min-posts { background: var(--ol-surface);
	color: var(--ol-text-muted); border-radius: var(--ol-radius-card); padding: 40px 24px; text-align: center; font-weight: 600; }
.ol-compare-page .vt-compare-table { font-family: var(--ol-font); color: var(--ol-navy); }
.ol-compare-page .vt-compare-table th, .ol-compare-page .vt-compare-table td { border-color: var(--ol-border); }
.ol-compare-page .vt-compare-table thead th { background: var(--ol-surface); }
.ol-compare-page .vt-compare-header-title { color: var(--ol-navy); font-weight: 700; }
.ol-compare-hub-links .ol-shortcuts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ol-compare-hub-links a { color: var(--ol-teal-text); font-weight: 600; }

/* Plan your route (/plan-your-route/, ocg-core route.php) ----------------------------------- */
.ol-route-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.ol-route-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--ol-white); border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card); }
.ol-route-num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 999px; background: var(--ol-navy); color: #fff; font-weight: 700; font-size: 0.875rem; }
.ol-route-main { display: flex; flex-direction: column; min-width: 0; }
.ol-route-name { color: var(--ol-navy); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.ol-route-name:hover { text-decoration: underline; }
.ol-route-type { font-size: 0.8125rem; color: var(--ol-text-muted); }
.ol-route-remove { margin-left: auto; flex: none; border: none; background: none; color: var(--ol-error); font: 600 0.875rem var(--ol-font); cursor: pointer; padding: 4px; }
.ol-route-remove:hover { text-decoration: underline; }
.ol-route-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.ol-route-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid var(--ol-navy); background: var(--ol-white); color: var(--ol-navy); border-radius: 10px; padding: 10px 16px; font: 700 0.9375rem/1 var(--ol-font); text-decoration: none; cursor: pointer; }
.ol-route-btn:hover { background: var(--ol-aqua-light); }
.ol-route-btn-primary { background: var(--ol-yellow); border-color: var(--ol-yellow); }
.ol-route-btn-primary:hover { background: var(--ol-yellow-hover); }
.ol-route-note { margin: 12px 0 0; font-size: 0.875rem; color: var(--ol-text-muted); max-width: 65ch; }
.ol-route-apps { border-top: 1px solid var(--ol-border); margin-top: 24px; padding-top: 16px; }
.ol-route-apps h2 { margin: 0 0 4px; }
.ol-route-applist { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.ol-route-applist li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card); }
.ol-route-appname { font-weight: 700; color: var(--ol-navy); }
.ol-route-appmeta { font-size: 0.8125rem; color: var(--ol-text-muted); }
.ol-route-applist .ol-route-btn { margin-left: auto; padding: 8px 14px; }
/* Logged-out prompt + the "Plan a walking route" link in the account saved-places header. */
.ol-route-gate .ol-route-actions { margin-top: 16px; }
.ol-dash-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.ol-route-cta { color: var(--ol-teal-text); font-weight: 700; text-decoration: none; white-space: nowrap; }
.ol-route-cta:hover { text-decoration: underline; }

/* FAQ (/faq/) ------------------------------------------------------------------------------ */
.ol-faq { max-width: 75ch; display: grid; gap: 8px; }
.ol-faq h2 { margin: 24px 0 4px; }
.ol-faq h2:first-child { margin-top: 0; }
.ol-faq-item { border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card); background: var(--ol-white); }
.ol-faq-item summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; color: var(--ol-navy); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ol-faq-item summary::-webkit-details-marker { display: none; }
.ol-faq-item summary::after { content: "+"; font-size: 1.375rem; line-height: 1; color: var(--ol-teal-text); flex: none; }
.ol-faq-item[open] summary::after { content: "\2212"; }
.ol-faq-item summary:focus-visible { outline: 3px solid var(--ol-navy); outline-offset: 2px; }
.ol-faq-a { padding: 0 20px 16px; }
.ol-faq-a p { margin: 0 0 8px; color: var(--ol-navy); }
.ol-faq-a p:last-child { margin-bottom: 0; }
.ol-faq-a a { color: var(--ol-teal-text); text-decoration: underline; }

/* Legal pages use the guide 2-column layout; their content leads with an h1 (guides put it in the
   head), so trim its top margin and keep the "last updated" line muted. */
.ol-guide-content > .ol-page-title:first-child { margin-top: 0; margin-bottom: 8px; }
.ol-guide-content em { color: var(--ol-text-muted); }
