/*
Theme Name: OLV High
Theme URI: https://olvhigh.in/
Author: Alumn-Us
Description: Modern, mobile-first block theme for Our Lady of Vailankanni High School, Borivali West. Keeps every existing page and address; adds a new home page, header, footer and alumni section.
Version: 1.0.1
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: olvhigh
*/

/* ---------- Base ---------- */
:root {
	--olv-radius: 14px;
	--olv-shadow: 0 18px 40px -22px rgba(79, 18, 32, 0.45);
	--olv-shadow-sm: 0 6px 18px -10px rgba(43, 35, 38, 0.35);
	--olv-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	/* Colour names used by the older page content, mapped onto the new palette. */
	--wp--preset--color--vivid-red: var(--wp--preset--color--maroon);
	--wp--preset--color--vivid-green-cyan: var(--wp--preset--color--gold-light);
	--wp--preset--gradient--blush-bordeaux: var(--wp--preset--gradient--maroon-sheen);
}

.has-vivid-red-color { color: var(--wp--preset--color--maroon) !important; }
.has-vivid-red-background-color { background-color: var(--wp--preset--color--maroon) !important; }
.has-vivid-green-cyan-background-color { background-color: var(--wp--preset--color--gold-light) !important; }
.has-blush-bordeaux-gradient-background { background: var(--wp--preset--gradient--maroon-sheen) !important; }

img { height: auto; }

:where(a, button, summary, input, select, textarea):focus-visible {
	outline: 3px solid var(--wp--preset--color--gold);
	outline-offset: 2px;
	border-radius: 4px;
}

.wp-site-blocks > * { margin-block: 0; }
.olv-main.is-layout-flow > * + * { margin-block-start: 0; }

/* Buttons */
.wp-element-button,
.wp-block-button__link {
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--olv-ease);
	line-height: 1.25;
	text-align: center;
}
.wp-block-button__link:hover { transform: translateY(-1px); }
.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 2px solid currentColor;
	background: transparent;
	color: var(--wp--preset--color--maroon);
	padding: calc(0.8rem - 2px) calc(1.5rem - 2px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--maroon);
	border-color: var(--wp--preset--color--maroon);
	color: #fff;
}
.olv-btn-gold > .wp-block-button__link {
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--maroon-dark);
}
.olv-btn-gold > .wp-block-button__link:hover {
	background: #dcae4f;
	color: var(--wp--preset--color--maroon-dark);
}
.olv-btn-light.is-style-outline > .wp-block-button__link { color: #fff; }
.olv-btn-light.is-style-outline > .wp-block-button__link:hover {
	background: #fff;
	border-color: #fff;
	color: var(--wp--preset--color--maroon-dark);
}

/* Shared bits */
.olv-eyebrow {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--maroon);
	margin-bottom: 0.4rem !important;
}
.olv-lead {
	font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
	color: var(--wp--preset--color--muted);
}
.olv-section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.olv-section--cream { background: var(--wp--preset--color--cream); }
.olv-section__head { text-align: center; margin-bottom: clamp(1.75rem, 4vw, 2.75rem) !important; }
.olv-section h2 { margin-top: 0; }
.olv-card {
	background: #fff;
	border-radius: var(--olv-radius);
	box-shadow: var(--olv-shadow);
	padding: clamp(1.5rem, 3vw, 2.25rem);
}
.olv-photo img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--olv-radius);
	box-shadow: var(--olv-shadow);
}
.olv-photo--wide img { aspect-ratio: 3 / 2; }
.olv-split { gap: clamp(1.75rem, 5vw, 4rem) !important; }
@media (max-width: 781px) {
	.olv-split--reverse { flex-direction: column-reverse; }
}

/* ---------- Top bar ---------- */
.olv-topbar { font-size: 0.85rem; }
.olv-topbar__row { padding-block: 0.4rem; gap: 0.35rem 1rem !important; }
.olv-topbar p { margin: 0; }
.olv-topbar a { color: inherit; text-decoration: none; }
.olv-topbar a:hover { color: var(--wp--preset--color--gold-light); text-decoration: underline; }
.olv-topbar__right { gap: 1rem !important; }
.olv-topbar__pay a {
	font-weight: 600;
	color: var(--wp--preset--color--gold-light);
}
@media (max-width: 781px) {
	.olv-hide-sm { display: none !important; }
	.olv-topbar__row { justify-content: space-between !important; }
}

.olv-social { gap: 0.6rem !important; margin: 0; }
.olv-social .wp-social-link { color: currentColor !important; background: none !important; }
.olv-social .wp-social-link a { padding: 0.15rem !important; color: currentColor !important; }
.olv-social .wp-social-link svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.olv-social .wp-social-link:hover { transform: none; opacity: 0.8; }

/* ---------- Header ---------- */
.olv-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #fff;
	border-bottom: 1px solid var(--wp--preset--color--border);
	box-shadow: 0 6px 18px -16px rgba(43, 35, 38, 0.5);
}
.admin-bar .olv-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .olv-site-header { top: 0; } }
.olv-header__inner { padding-block: 0.65rem; gap: 0.5rem 1.5rem !important; }
.olv-brand { gap: 0.75rem !important; min-width: 0; }
.olv-brand .wp-block-site-logo img { width: 56px; height: auto; border-radius: 10px; }
.olv-brand__text > * { margin: 0 !important; }
.olv-brand__name {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-size: clamp(1rem, 0.82rem + 0.7vw, 1.28rem);
	line-height: 1.15;
	color: var(--wp--preset--color--maroon-dark);
}
.olv-brand__name a { color: inherit; text-decoration: none; }
.olv-brand__sub {
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	margin-top: 0.2rem !important;
}
.olv-header__nav { gap: 1rem !important; }
.olv-nav { font-size: 0.95rem; font-weight: 500; }
.olv-nav a { text-decoration: none; }
.olv-nav .wp-block-navigation-item__content { color: var(--wp--preset--color--ink); padding-block: 0.35rem; }
.olv-nav .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--maroon); }
.olv-nav .wp-block-navigation__submenu-container {
	border: 1px solid var(--wp--preset--color--border) !important;
	border-radius: 12px;
	box-shadow: var(--olv-shadow);
	padding: 0.4rem !important;
	min-width: 270px !important;
	background: #fff !important;
}
.olv-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0.55rem 0.8rem !important;
	border-radius: 8px;
	font-size: 0.92rem;
}
.olv-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--cream); }
/* "OLV High Alumni" sits in the menu like the other items, with a small "New" badge. */
.olv-nav .olv-nav-alumni > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--maroon);
	font-weight: 600;
}
.olv-nav .olv-nav-alumni > .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--maroon-dark); }
.olv-nav .olv-nav-alumni .wp-block-navigation-item__label {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	white-space: nowrap;
}
.olv-nav .olv-nav-alumni .wp-block-navigation-item__label::after {
	content: "New";
	position: relative;
	top: -1px;
	padding: 0.24rem 0.46rem 0.2rem;
	border-radius: 999px;
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--maroon-dark);
	font-size: 0.6rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	line-height: 1;
	text-transform: uppercase;
}

.olv-nav .wp-block-navigation__container { gap: 0.35rem 1.15rem; }

/* Wide screens: name on two lines so everything fits on one row. */
@media (min-width: 1280px) {
	.olv-brand__name { max-width: 13em; }
}

/* Tablets: school name on the first row, the menu centred below. Not sticky. */
@media (min-width: 600px) and (max-width: 1279px) {
	.olv-site-header { position: relative; }
	.admin-bar .olv-site-header { top: 0; }
	.olv-header__inner { flex-wrap: wrap !important; justify-content: center !important; padding-bottom: 0.35rem; }
	.olv-header .olv-header__nav.is-layout-flex { display: contents; }
	.olv-brand { flex-basis: 100%; justify-content: center; }
	.olv-nav { flex-basis: 100%; justify-content: center !important; border-top: 1px solid var(--wp--preset--color--border); padding-top: 0.35rem; font-size: 0.92rem; }
	.olv-nav .wp-block-navigation__container { gap: 0.25rem 1rem; }
	.olv-nav .wp-block-navigation__responsive-container-content,
	.olv-nav .wp-block-navigation__container { justify-content: center !important; }
}

/* Phones: hamburger menu in a maroon overlay. */
.olv-brand .wp-block-site-logo { flex: 0 0 auto; }
@media (max-width: 599px) {
	.olv-header__inner { flex-wrap: nowrap !important; }
	.olv-brand .wp-block-site-logo img { width: 46px; }
	.olv-brand__name { font-size: 1.02rem; }
	.olv-brand__sub { font-size: 0.64rem; letter-spacing: 0.08em; }
	.olv-topbar .olv-social { display: none !important; }
	.olv-topbar__row { justify-content: center !important; }
}
.olv-nav .wp-block-navigation__responsive-container-open {
	padding: 0.55rem;
	border-radius: 10px;
	background: var(--wp--preset--color--cream);
	color: var(--wp--preset--color--maroon-dark);
}
.olv-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--maroon-dark) !important;
	color: #fff !important;
	padding: 1.25rem 1.5rem 2rem;
}
.olv-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 2.75rem; gap: 0 !important; align-items: stretch !important; }
.olv-nav .is-menu-open .wp-block-navigation__container,
.olv-nav .is-menu-open .wp-block-navigation-item,
.olv-nav .is-menu-open .wp-block-navigation__submenu-container { align-items: flex-start !important; text-align: left; }
.olv-nav .is-menu-open .wp-block-navigation__container { gap: 0 !important; width: 100%; }
.olv-nav .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.olv-nav .is-menu-open .wp-block-navigation-item__content {
	color: #fff !important;
	font-size: 1.1rem;
	padding: 0.7rem 0 !important;
}
.olv-nav .is-menu-open .wp-block-navigation__submenu-container {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none;
	padding: 0 0 0.6rem 1rem !important;
	min-width: 0 !important;
}
.olv-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { border: 0; }
.olv-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-size: 0.98rem;
	padding: 0.4rem 0 !important;
	color: rgba(255, 255, 255, 0.82) !important;
}
.olv-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: none; }
/* Phone menu: Alumni comes first so it is seen without scrolling. */
.olv-nav .is-menu-open .olv-nav-alumni { order: -1; }
.olv-nav .is-menu-open .olv-nav-alumni > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--gold-light) !important;
	font-weight: 600;
}

/* ---------- Home: hero ---------- */
.olv-hero {
	min-height: min(82vh, 640px) !important;
	padding-top: clamp(4rem, 9vw, 7rem) !important;
	padding-bottom: clamp(5rem, 9vw, 7.5rem) !important;
	align-items: flex-end !important;
}
.olv-hero .wp-block-cover__background {
	background: linear-gradient(100deg, rgba(52, 10, 19, 0.94) 0%, rgba(79, 18, 32, 0.78) 42%, rgba(79, 18, 32, 0.12) 100%) !important;
	opacity: 1 !important;
}
.olv-hero .wp-block-cover__image-background { object-position: 60% 45%; }
.olv-hero .wp-block-cover__inner-container { color: #fff; }
.olv-hero__content > .olv-hero__meta { margin-top: 0.6rem !important; }
.olv-hero__eyebrow {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-light);
	border: 1px solid rgba(246, 235, 210, 0.45);
	border-radius: 999px;
	padding: 0.35rem 0.9rem;
	margin-bottom: 0 !important;
}
.olv-hero__title {
	color: #fff !important;
	font-size: clamp(2.2rem, 1.2rem + 4vw, 4.25rem) !important;
	line-height: 1.04 !important;
	max-width: 14ch;
	margin-top: 1rem !important;
}
.olv-hero__meta {
	font-size: clamp(1rem, 0.92rem + 0.4vw, 1.2rem);
	color: rgba(255, 255, 255, 0.92);
	max-width: 44ch;
}
.olv-hero__motto {
	font-family: var(--wp--preset--font-family--heading);
	font-style: italic;
	font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
	color: var(--wp--preset--color--gold-light);
	margin-top: 0.4rem !important;
}
.olv-hero__actions { margin-top: 1.75rem !important; gap: 0.75rem !important; }
@media (max-width: 781px) {
	.olv-hero { min-height: 560px !important; }
	.olv-hero .wp-block-cover__background {
		background: linear-gradient(0deg, rgba(52, 10, 19, 0.96) 0%, rgba(79, 18, 32, 0.8) 55%, rgba(79, 18, 32, 0.35) 100%) !important;
	}
	.olv-hero__actions .wp-block-button { flex: 1 1 100%; }
	.olv-hero__actions .wp-block-button__link { width: 100%; }
}

/* ---------- Home: notice + quick links ---------- */
.olv-quick { position: relative; z-index: 2; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.olv-notice {
	margin-top: -2.75rem !important;
	background: #fff;
	border-radius: var(--olv-radius);
	box-shadow: var(--olv-shadow);
	border-left: 5px solid var(--wp--preset--color--gold);
	padding: 1.1rem 1.4rem;
	gap: 0.5rem 1.5rem !important;
	align-items: center !important;
}
.olv-notice p { margin: 0; }
.olv-notice__text { flex: 1 1 420px; font-size: 0.98rem; }
.olv-notice__link a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.olv-quicklinks { margin-top: clamp(1.5rem, 3vw, 2.25rem) !important; gap: 1rem !important; }
.olv-ql {
	position: relative;
	background: #fff;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--olv-radius);
	padding: 1.3rem 1.25rem;
	transition: transform 0.25s var(--olv-ease), box-shadow 0.25s, border-color 0.25s;
}
.olv-ql:hover { transform: translateY(-4px); box-shadow: var(--olv-shadow); border-color: var(--wp--preset--color--gold); }
.olv-ql > * { margin: 0 !important; }
.olv-ql h3 { font-size: 1.12rem !important; margin-bottom: 0.3rem !important; }
.olv-ql h3 a { color: var(--wp--preset--color--maroon-dark); text-decoration: none; }
.olv-ql h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.olv-ql p { font-size: 0.92rem; color: var(--wp--preset--color--muted); line-height: 1.5; }
.olv-ql::before {
	content: "";
	display: block;
	width: 44px;
	height: 44px;
	margin-bottom: 0.9rem;
	border-radius: 12px;
	background: var(--wp--preset--color--gold-light) center / 22px 22px no-repeat;
}
.olv-ql--admissions::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A1F2E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'/%3E%3Cpath d='M14 3v6h6M8 13h8M8 17h5'/%3E%3C/svg%3E"); }
.olv-ql--fees::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A1F2E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4h12M6 9h12M9 4c3.5 0 5.5 2 5.5 5S12.5 14 9 14H6l8 7'/%3E%3C/svg%3E"); }
.olv-ql--pay::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A1F2E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2'/%3E%3Cpath d='M2.5 10h19M6.5 15h4'/%3E%3C/svg%3E"); }
.olv-ql--rules::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A1F2E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5V5a2 2 0 0 1 2-2h14v15H6a2 2 0 0 0-2 2 2 2 0 0 0 2 2h14'/%3E%3Cpath d='M8 7h8M8 11h6'/%3E%3C/svg%3E"); }
.olv-ql--contact::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A1F2E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.8 2z'/%3E%3C/svg%3E"); }

/* ---------- Home: sections ---------- */
.olv-inline-quote {
	border-left: 4px solid var(--wp--preset--color--gold) !important;
	padding: 0.25rem 0 0.25rem 1.1rem !important;
	margin-block: 1.5rem !important;
}
.olv-inline-quote p {
	font-family: var(--wp--preset--font-family--heading);
	font-style: italic;
	font-size: 1.15rem;
	color: var(--wp--preset--color--maroon-dark);
}
.olv-inline-quote cite { font-size: 0.85rem; font-style: normal; color: var(--wp--preset--color--muted); }

.olv-features { gap: 1.1rem !important; }
.olv-feature {
	background: #fff;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--olv-radius);
	padding: 1.5rem;
}
.olv-feature > * { margin: 0 !important; }
.olv-feature h3 {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	font-size: 1.15rem !important;
	margin-bottom: 0.45rem !important;
}
.olv-feature h3::before {
	content: "";
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--wp--preset--color--gold);
	box-shadow: 0 0 0 4px var(--wp--preset--color--gold-light);
}
.olv-feature p { color: var(--wp--preset--color--muted); font-size: 0.97rem; line-height: 1.6; }

.olv-checks { list-style: none; padding-left: 0 !important; }
.olv-checks li { position: relative; padding-left: 2rem; margin: 0.65rem 0; }
.olv-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.3rem;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 50%;
	background: var(--wp--preset--color--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 0.75rem no-repeat;
}

.olv-gallery { gap: 1rem !important; }
.olv-tile { position: relative; margin: 0 !important; border-radius: var(--olv-radius); overflow: hidden; box-shadow: var(--olv-shadow-sm); }
.olv-tile img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s var(--olv-ease); }
.olv-tile:hover img { transform: scale(1.05); }
.olv-tile figcaption {
	position: absolute;
	inset: auto 0 0 0;
	margin: 0 !important;
	padding: 2.75rem 1rem 0.9rem;
	color: #fff;
	font-weight: 600;
	text-align: left;
	background: linear-gradient(0deg, rgba(43, 10, 18, 0.88), rgba(43, 10, 18, 0));
}

.olv-message { background: var(--wp--preset--gradient--maroon-sheen); color: #fff; text-align: center; }
.olv-message .olv-eyebrow { color: var(--wp--preset--color--gold-light); }
.olv-quote { border: 0 !important; padding: 0 !important; margin: 1rem auto 0 !important; }
.olv-quote::before {
	content: "“";
	display: block;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 5.5rem;
	line-height: 0.6;
	height: 2.6rem;
	color: var(--wp--preset--color--gold);
}
.olv-quote p {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.25rem, 1rem + 1.1vw, 1.8rem);
	line-height: 1.5;
	font-style: italic;
	color: #fff;
}
.olv-quote cite {
	display: block;
	margin-top: 1.25rem;
	font-size: 0.85rem;
	font-style: normal;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-light);
}

.olv-alumni { background: var(--wp--preset--color--navy); color: #fff; overflow: hidden; }
.olv-alumni h2 { color: #fff; }
.olv-alumni .olv-eyebrow { color: var(--wp--preset--color--gold-light); }
.olv-alumni p { color: rgba(255, 255, 255, 0.88); }
.olv-alumni .olv-lead { color: #fff; }
.olv-polaroids { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 1.1rem !important; }
.olv-polaroid {
	margin: 0 !important;
	background: #fff;
	padding: 0.55rem 0.55rem 0;
	border-radius: 4px;
	box-shadow: 0 22px 40px -22px rgba(0, 0, 0, 0.7);
	transform: rotate(-2.2deg);
	transition: transform 0.35s var(--olv-ease);
}
.olv-polaroid:nth-child(2) { transform: rotate(2.4deg) translateY(10px); }
.olv-polaroid:nth-child(3) { transform: rotate(1.6deg); }
.olv-polaroid:nth-child(4) { transform: rotate(-1.4deg) translateY(8px); }
.olv-polaroid:hover { transform: rotate(0) scale(1.03); z-index: 1; }
.olv-polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; filter: sepia(0.12) saturate(0.95); }
.olv-polaroid figcaption {
	margin: 0.45rem 0 0.6rem !important;
	text-align: center;
	font-family: var(--wp--preset--font-family--heading);
	font-style: italic;
	font-size: 0.9rem;
	color: var(--wp--preset--color--ink);
}

.olv-visit { background: var(--wp--preset--color--cream); }
.olv-contact-card h3 { margin-top: 0; }
.olv-contact-list { list-style: none; padding: 0 !important; margin: 1rem 0 1.5rem !important; }
.olv-contact-list li {
	position: relative;
	padding: 0.75rem 0 0.75rem 2.4rem;
	border-bottom: 1px dashed var(--wp--preset--color--border);
	line-height: 1.55;
	margin: 0;
}
.olv-contact-list li:last-child { border-bottom: 0; }
.olv-contact-list strong { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.olv-contact-list a { font-weight: 600; text-decoration: none; }
.olv-contact-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.85rem;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 8px;
	background: var(--wp--preset--color--gold-light) center / 0.95rem no-repeat;
}
.olv-contact-list .ci-address::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A1F2E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-6.2 7-12a7 7 0 0 0-14 0c0 5.8 7 12 7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.olv-contact-list .ci-phone::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A1F2E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.8 2z'/%3E%3C/svg%3E"); }
.olv-contact-list .ci-email::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A1F2E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.olv-contact-list .ci-time::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A1F2E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }

/* ---------- Inner pages ---------- */
.olv-pagehead {
	background:
		radial-gradient(circle at 92% 0%, rgba(201, 153, 58, 0.18), transparent 45%),
		var(--wp--preset--color--cream);
	border-bottom: 1px solid var(--wp--preset--color--border);
	padding-block: clamp(2.25rem, 5vw, 3.75rem);
}
.olv-pagehead h1 {
	margin: 0;
	font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem);
	color: var(--wp--preset--color--maroon-dark);
}
.olv-pagehead h1::after {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	margin-top: 0.9rem;
	border-radius: 2px;
	background: var(--wp--preset--color--gold);
}

.entry-content { padding-block: clamp(2rem, 5vw, 3.5rem); }
.entry-content li { margin-block: 0.4em; }
.entry-content li::marker { color: var(--wp--preset--color--maroon); }
.entry-content ul ul { margin-top: 0.5em; }
.entry-content h2.has-background,
.entry-content h3.has-background {
	border-radius: 12px;
	border-left: 5px solid var(--wp--preset--color--gold);
	padding: 1rem 1.25rem !important;
	font-family: var(--wp--preset--font-family--body);
	font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem) !important;
	line-height: 1.5;
}
.entry-content .wp-block-image img { border-radius: 10px; }
.entry-content .wp-block-separator {
	border: 0 !important;
	border-top: 1px solid var(--wp--preset--color--border) !important;
	background: none !important;
	opacity: 1;
	margin-block: 1.75rem;
	width: 100%;
	max-width: 100%;
}
.entry-content .wp-block-separator.has-background { border-top: 2px solid var(--wp--preset--color--maroon) !important; }
.entry-content .wp-block-spacer { max-height: 24px; }
/* Older pages set very large font sizes inline; keep them readable on phones. */
.entry-content p[style*="font-size:40px"] { font-size: clamp(1.15rem, 0.95rem + 1.2vw, 1.75rem) !important; line-height: 1.45; }
.entry-content p[style*="font-size:30px"] { font-size: clamp(1rem, 0.9rem + 0.8vw, 1.35rem) !important; }
.entry-content .wp-block-buttons { justify-content: center; }
.entry-content .wp-block-button__link {
	padding: 0.95rem 1.6rem;
	min-width: min(100%, 340px);
	box-shadow: var(--olv-shadow-sm);
}
.entry-content .wp-block-button.is-style-3d .wp-block-button__link { box-shadow: var(--olv-shadow-sm); border: 0; }

/* Rules & Regulations: the six links become cards. */
.page-id-169 .entry-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
	max-width: 940px;
	margin-inline: auto;
	padding-inline: var(--wp--style--root--padding-right);
}
.page-id-169 .entry-content > * { margin: 0 !important; max-width: none !important; }
.page-id-169 .entry-content .wp-block-button,
.page-id-169 .entry-content .wp-block-button__link { width: 100%; }
.page-id-169 .entry-content .wp-block-button__link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	min-height: 84px;
	padding: 1.25rem 1.4rem !important;
	border-radius: var(--olv-radius) !important;
	background: #fff !important;
	color: var(--wp--preset--color--maroon-dark) !important;
	border: 1px solid var(--wp--preset--color--border);
	font-size: 1.05rem;
	text-align: left;
}
.page-id-169 .entry-content .wp-block-button__link::after { content: "→"; color: var(--wp--preset--color--gold); font-size: 1.3rem; }
.page-id-169 .entry-content .wp-block-button__link:hover { border-color: var(--wp--preset--color--gold); box-shadow: var(--olv-shadow); }

/* Fee tables */
.olv-fee-title { margin-top: 2.5rem !important; }
.entry-content > .olv-fee-title:first-child { margin-top: 0 !important; }
.olv-fee-summary {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.25rem 1rem;
	background: var(--wp--preset--color--gold-light);
	border-radius: 12px;
	padding: 1rem 1.25rem;
}
.olv-fee-summary strong {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.6rem;
	color: var(--wp--preset--color--maroon-dark);
}
.wp-block-table.olv-fee-table { margin-block: 1.25rem; overflow-x: auto; }
.wp-block-table.olv-fee-table table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 12px;
	overflow: hidden;
	font-size: 0.98rem;
}
.wp-block-table.olv-fee-table th,
.wp-block-table.olv-fee-table td { border: 0; padding: 0.7rem 1rem; text-align: left; }
.wp-block-table.olv-fee-table thead { border: 0; }
.wp-block-table.olv-fee-table th { background: var(--wp--preset--color--maroon); color: #fff; font-weight: 600; }
.wp-block-table.olv-fee-table td { border-top: 1px solid var(--wp--preset--color--border); }
.wp-block-table.olv-fee-table tbody tr:nth-child(even) td { background: var(--wp--preset--color--cream); }
.wp-block-table.olv-fee-table th:last-child,
.wp-block-table.olv-fee-table td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.olv-fee-notes { font-size: 0.95rem; color: var(--wp--preset--color--muted); }
.olv-fee-notes li::marker { color: var(--wp--preset--color--gold); }
.olv-fee-source { font-size: 0.9rem; }

/* Contact page */
.olv-contact__cols { gap: clamp(1.5rem, 4vw, 3rem) !important; }
.olv-contact__content { padding-block: 0; }
.olv-contact__content > * { margin-inline: 0 !important; }
.olv-contact__content p { text-align: left !important; }

/* Help strip at the end of inner pages */
.olv-help { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.olv-help__inner {
	background: var(--wp--preset--color--cream);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--olv-radius);
	padding: 1.1rem 1.4rem;
	gap: 0.75rem 1.5rem !important;
	align-items: center !important;
}
.olv-help__text { margin: 0; flex: 1 1 420px; font-size: 0.97rem; }
.olv-help .wp-block-buttons { margin: 0; }

/* ---------- Footer ---------- */
.olv-footer {
	background: var(--wp--preset--color--maroon-dark);
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.95rem;
	padding-top: clamp(3rem, 6vw, 4.5rem);
	padding-bottom: 1.5rem;
}
.olv-footer a { color: rgba(255, 255, 255, 0.92); text-decoration: none; }
.olv-footer a:hover { color: var(--wp--preset--color--gold-light); text-decoration: underline; }
.olv-footer__cols { gap: 2rem !important; }
.olv-footer .wp-block-site-logo img { border-radius: 12px; }
.olv-footer__name {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.25rem;
	color: #fff;
	margin-top: 1rem !important;
}
.olv-footer__motto { font-family: var(--wp--preset--font-family--heading); font-style: italic; color: var(--wp--preset--color--gold-light); }
.olv-footer__heading {
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 0.8rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-light) !important;
	margin-bottom: 1rem !important;
}
.olv-footer__links { list-style: none; padding: 0 !important; margin: 0 !important; }
.olv-footer__links li { margin: 0.45rem 0; }
.olv-footer__contact { line-height: 1.65; }
.olv-footer .olv-social { margin-top: 1rem; }
.olv-footer__bottom {
	margin-top: clamp(2rem, 4vw, 3rem) !important;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.6);
}

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