/*
Theme Name: Palm Beach & Seashore
Theme URI: https://www.palmbeachparkheacham.co.uk/
Author: Pearson Caravans Ltd
Description: Website theme for Palm Beach and Seashore Holiday Parks, Heacham. Includes a "Stock for sale" section for static caravans and lodges with park, price and bedroom filters, starter pages, and built-in SEO (titles, meta descriptions, canonical URLs, Open Graph sharing tags and schema.org structured data). Works alongside Yoast SEO or Rank Math if you prefer a plugin.
Version: 1.4.0
Requires at least: 6.4
Tested up to: 7.0
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: heacham-parks
*/

/* ------------------------------------------------------------------
   Fonts (self-hosted: no Google Fonts calls, no cookie consent needed)
   ------------------------------------------------------------------ */
@font-face { font-family: "Cormorant Garamond"; src: url(assets/fonts/Cormorant.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(assets/fonts/Cormorant-Italic.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url(assets/fonts/Jost.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ------------------------------------------------------------------
   Tokens: night sea, brass, ivory
   ------------------------------------------------------------------ */
:root {
	--navy: #13202d;
	--navy-2: #1b2b3b;
	--navy-3: #0e1822;
	--ink: #1b2530;
	--muted: #5a6470;
	--brass: #c99a2e;
	--brass-light: #e6c068;
	--brass-ink: #86621a;      /* gold dark enough for text on light backgrounds */
	--ivory: #f7f4ef;
	--stone: #ede7dd;
	--line: #ddd5c8;
	--white: #fff;

	--serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
	--sans: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;

	--step--1: .82rem;
	--step-0: 1rem;
	--step-1: 1.3rem;
	--step-2: 1.7rem;
	--step-3: clamp(1.9rem, 1.5rem + 1.4vw, 2.4rem);
	--step-4: clamp(2.3rem, 1.6rem + 2.6vw, 3.3rem);
	--step-5: clamp(2.8rem, 1.6rem + 4.6vw, 5.4rem);

	--wrap: 1240px;
	--gutter: clamp(1.25rem, 4.5vw, 3rem);
	--section: clamp(4rem, 9vw, 7.5rem);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ------------------------------------------------------------------
   Base
   ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 106.25%; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: var(--step-0); font-weight: 400; line-height: 1.75; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brass-ink); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0 0 .45em; color: inherit; letter-spacing: -.005em; }
h1 { font-size: var(--step-5); font-weight: 400; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
p { margin: 0 0 1.1em; }
strong { font-weight: 500; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--white); padding: .6rem 1rem; }
.skip-link:focus { top: 1rem; }
.icon { flex: none; }

/* Buttons: square, tracked, quiet */
.btn { background: transparent; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: 1.05em 2.1em; border: 1px solid transparent; border-radius: 0; font: 500 .78rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.btn--brass { background: linear-gradient(135deg, #d9ac3f 0%, #c99a2e 45%, #b0821f 100%); color: var(--navy-3); }
.btn--brass:hover { background: var(--brass-light); color: var(--navy-3); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.55); background: rgba(14,24,34,.2); }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--line { color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--line-light { color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--line-light:hover { background: var(--white); color: var(--navy); }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-2); color: var(--white); }
.btn--outline { color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--brass-light); color: var(--navy); }
.btn--outline-light { color: var(--white); border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.06); }
.btn--small { padding: .85em 1.5em; }
.text-link { font-weight: 500; }

/* ------------------------------------------------------------------
   Offer banner + header
   ------------------------------------------------------------------ */
.promo { background: var(--brass); color: var(--navy-3); text-align: center; font-size: var(--step--1); letter-spacing: .08em; padding: .55rem 0; }
.promo a { color: inherit; text-decoration: none; }
.promo a:hover { text-decoration: underline; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease); }
.site-header__inner { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); min-height: 86px; }
.brand { margin-right: auto; }
.brand__name { display: flex; flex-direction: column; text-decoration: none; color: var(--navy); line-height: 1; }
.brand__main { white-space: nowrap; font-family: var(--serif); font-size: 1.65rem; font-weight: 500; letter-spacing: .01em; }
.brand__place { white-space: nowrap; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; margin-top: .45rem; color: var(--brass-ink); }
.brand .custom-logo { max-height: 60px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav .menu { display: flex; gap: clamp(1rem, 1.6vw, 1.8rem); list-style: none; margin: 0; padding: 0; }
.site-nav .menu a { white-space: nowrap; color: inherit; text-decoration: none; font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding: .5rem 0; border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.site-nav .menu a:hover { border-bottom-color: currentColor; }
.site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a, .site-nav .current_page_item > a { border-bottom-color: var(--brass); }
.site-nav .sub-menu { display: none; }
.site-nav__phone { display: none; }
.site-header__actions { display: flex; align-items: center; gap: .6rem; }
.menu-toggle { display: none; background: none; border: 0; padding: .5rem; color: inherit; cursor: pointer; }
.menu-toggle__close { display: none; }

/* Homepage: header sits over the banner until you scroll */
.home .site-header { background: transparent; border-bottom-color: rgba(255,255,255,.18); color: var(--white); }
.home .site-header .brand__name { color: var(--white); }
.home .site-header .brand__place { color: var(--brass-light); }
.home.header-solid .site-header, .home.nav-open .site-header { background: var(--navy); border-bottom-color: transparent; }
.home .hero { margin-top: -87px; }

@media (max-width: 1280px) {
	.menu-toggle { display: block; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); color: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 1rem var(--gutter) 2rem; max-height: calc(100vh - 86px); overflow: auto; }
	.nav-open .site-nav { display: flex; }
	.nav-open .menu-toggle__open { display: none; }
	.nav-open .menu-toggle__close { display: block; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { display: block; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.12); font-family: var(--serif); font-size: 1.6rem; letter-spacing: 0; text-transform: none; font-weight: 500; }
	.site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a, .site-nav .current_page_item > a { color: var(--brass-light); border-bottom-color: rgba(255,255,255,.12); }
	.site-nav__phone { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 1.5rem; padding: 1rem; border: 1px solid rgba(255,255,255,.4); color: var(--white); text-decoration: none; letter-spacing: .08em; }
}
@media (max-width: 520px) {
	.header-cta { display: none; }
	.brand__main { font-size: 1.35rem; }
	.brand__place { font-size: .6rem; letter-spacing: .2em; }
}

/* ------------------------------------------------------------------
   Banner
   ------------------------------------------------------------------ */
.hero { position: relative; background: var(--navy-3); color: var(--white); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100vh; min-height: 100svh; }
.hero__art { position: absolute; inset: 0; }
.hero__art svg, .hero__art img, .hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero--photo .hero__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,24,34,.78) 0%, rgba(14,24,34,.55) 38%, rgba(14,24,34,.1) 70%, rgba(14,24,34,0) 100%), linear-gradient(180deg, rgba(14,24,34,.5) 0%, rgba(14,24,34,0) 22%, rgba(14,24,34,0) 70%, rgba(14,24,34,.6) 100%); }
@media (max-width: 760px) { .hero--photo .hero__art::after { background: linear-gradient(180deg, rgba(14,24,34,.7) 0%, rgba(14,24,34,.55) 50%, rgba(14,24,34,.85) 100%); } }
.hero__text { position: relative; padding-top: 9rem; padding-bottom: 2.5rem; }
.hero h1 { color: var(--white); max-width: 14ch; text-shadow: 0 2px 24px rgba(14,24,34,.35); margin-bottom: .35em; text-wrap: balance; }
.hero h1::before { content: ""; display: block; width: 64px; height: 1px; background: var(--brass-light); margin-bottom: 1.6rem; }
.hero p { font-size: var(--step-1); font-weight: 300; max-width: 38ch; color: rgba(255,255,255,.9); line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__facts { position: relative; border-top: 1px solid rgba(255,255,255,.2); background: rgba(14,24,34,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero__facts ul { list-style: none; margin-block: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.hero__facts li { padding: 1.3rem 1.5rem 1.4rem 0; font-size: var(--step--1); color: rgba(255,255,255,.75); letter-spacing: .02em; }
.hero__facts li + li { padding-left: 1.5rem; border-left: 1px solid rgba(255,255,255,.18); }
.hero__facts strong { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; color: var(--white); letter-spacing: 0; }

.sunset__sun { animation: hp-sink 4s var(--ease) both; }
.sunset__glints { animation: hp-glint 4s ease-out both; }
@keyframes hp-sink { from { transform: translateY(-60px); } to { transform: translateY(0); } }
@keyframes hp-glint { from { opacity: 0; } 45% { opacity: 0; } to { opacity: 1; } }

@media (max-width: 760px) {
	.hero { min-height: 92svh; }
	.hero__text { padding-top: 8rem; }
	.hero p { font-size: var(--step-0); }
	.hero__facts ul { grid-template-columns: 1fr; padding-block: .5rem; }
	.hero__facts li, .hero__facts li + li { padding: .7rem 0; border-left: 0; }
	.hero__facts li + li { border-top: 1px solid rgba(255,255,255,.14); }
	.hero__facts strong { display: inline; font-size: 1.2rem; margin-right: .4rem; }
	.hero__actions .btn { flex: 1 1 100%; }
}

/* ------------------------------------------------------------------
   Section intros
   ------------------------------------------------------------------ */
.section-intro { max-width: 640px; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section-intro h2 { margin-bottom: .35em; }
.section-intro p { color: var(--muted); font-size: 1.08rem; font-weight: 300; }
.section-intro--light p { color: rgba(255,255,255,.72); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head .section-intro { margin-bottom: 0; }

/* ------------------------------------------------------------------
   The two parks
   ------------------------------------------------------------------ */
.parks { padding: var(--section) 0; background: var(--ivory); }
.park-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); }
.park-card { position: relative; overflow: hidden; color: var(--white); min-height: clamp(560px, 66vw, 760px); display: flex; align-items: flex-end; background: var(--navy); }
.park-card__photo { position: absolute; inset: 0; }
.park-card__photo img, .park-card__photo svg { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.park-card:hover .park-card__photo img, .park-card:hover .park-card__photo svg { transform: scale(1.04); }
.park-card__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,24,34,0) 25%, rgba(14,24,34,.55) 50%, rgba(14,24,34,.92) 100%); }
.park-card__text { position: relative; padding: clamp(1.6rem, 4vw, 2.8rem); max-width: 34rem; }
.park-card h3 { font-size: var(--step-3); margin-bottom: .3em; }
.park-card p { color: rgba(255,255,255,.85); font-weight: 300; }
.park-card__note { font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--brass-light) !important; font-weight: 500 !important; margin-bottom: .8rem; }
.park-card__address { font-size: var(--step--1); margin-bottom: 1.5rem; }
@media (max-width: 860px) { .park-cards { grid-template-columns: 1fr; } .park-card { min-height: 480px; } }

/* ------------------------------------------------------------------
   Editable page content
   ------------------------------------------------------------------ */
.home-content { padding: var(--section) 0; background: var(--white); }
.prose > * { max-width: 68ch; }
.prose > .alignwide, .prose > .wp-block-columns, .prose > .wp-block-gallery, .prose > .wp-block-image, .prose > .wp-block-table { max-width: none; }
.prose h2 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-2); margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--brass); }
.prose blockquote { margin: 2em 0; padding-left: 1.4em; border-left: 1px solid var(--brass); font-family: var(--serif); font-size: var(--step-2); font-style: italic; line-height: 1.3; }
.page-body { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: var(--section); }

.wp-block-columns.reasons { gap: clamp(1.5rem, 4vw, 3.5rem); margin: 2rem 0 3.5rem; }
.reasons .wp-block-column { border-top: 1px solid var(--brass); padding-top: 1.4rem; }
.reasons h3 { margin-top: 0; font-size: var(--step-2); }
.reasons p { color: var(--muted); }

ol.steps { list-style: none; counter-reset: step; padding: 0; margin: 2rem 0 2.5rem; }
ol.steps li { counter-increment: step; position: relative; padding: 0 0 1.6rem 4rem; margin: 0; min-height: 3rem; }
ol.steps li::before { content: counter(step); position: absolute; left: 0; top: -.3rem; width: 2.6rem; height: 2.6rem; border: 1px solid var(--brass); border-radius: 50%; color: var(--brass-ink); font-family: var(--serif); font-size: 1.35rem; display: grid; place-items: center; }
ol.steps li:not(:last-child)::after { content: ""; position: absolute; left: 1.3rem; top: 2.6rem; bottom: .3rem; width: 1px; background: var(--line); }

/* Questions (Details blocks) */
.wp-block-details { border-bottom: 1px solid var(--line); padding: 0; margin: 0; }
.wp-block-details:first-of-type { border-top: 1px solid var(--line); }
.wp-block-details summary { list-style: none; cursor: pointer; padding: 1.35rem 3rem 1.35rem 0; position: relative; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; line-height: 1.25; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::before, .wp-block-details summary::after { content: ""; position: absolute; right: .3rem; top: 50%; width: 16px; height: 1px; background: var(--brass-ink); transition: transform .35s var(--ease); }
.wp-block-details summary::after { transform: rotate(90deg); }
.wp-block-details[open] summary::after { transform: rotate(0deg); }
.wp-block-details > :not(summary) { margin: 0 0 1.5rem; max-width: 62ch; color: var(--muted); }

/* Gallery */
.wp-block-gallery.has-nested-images { gap: .5rem; }
.wp-block-gallery.has-nested-images figure.wp-block-image img { cursor: zoom-in; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
.lightbox::backdrop { background: rgba(10, 17, 25, .94); }
.lightbox img { max-width: 96vw; max-height: 86vh; width: auto; margin: 0 auto; }
.lightbox__caption { color: var(--white); text-align: center; margin: .8rem 0 0; font-family: var(--serif); font-size: 1.2rem; }
.lightbox__close { position: fixed; top: 1rem; right: 1rem; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: transparent; color: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* ------------------------------------------------------------------
   Facilities
   ------------------------------------------------------------------ */
.facilities { padding: var(--section) 0; background: var(--navy); color: var(--white); }
.facility-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); }
.facility-list li { padding: 2rem 1.5rem 2rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.facility-list li:not(:nth-child(4n+1)) { padding-left: 1.5rem; border-left: 1px solid rgba(255,255,255,.14); }
.facility-list .line-icon { color: var(--brass-light); margin-bottom: 1.2rem; width: 44px; height: 44px; }
.facility-list h3 { font-size: 1.45rem; margin-bottom: .3rem; }
.facility-list p { font-size: var(--step--1); color: rgba(255,255,255,.6); margin: 0; letter-spacing: .04em; }
@media (max-width: 960px) {
	.facility-list { grid-template-columns: 1fr 1fr; }
	.facility-list li:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
	.facility-list li:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid rgba(255,255,255,.14); }
}
@media (max-width: 480px) { .facility-list h3 { font-size: 1.2rem; } .facility-list li:nth-child(even) { padding-left: 1rem; } }

/* ------------------------------------------------------------------
   Page heading + breadcrumbs
   ------------------------------------------------------------------ */
.page-head { padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem); background: var(--navy); color: var(--white); }
.page-head h1 { max-width: 18ch; margin-bottom: .3em; }
.page-head__lede { font-size: var(--step-1); font-weight: 300; color: rgba(255,255,255,.78); max-width: 50ch; margin: 0; }
.page-head .btn { margin: 1.8rem .6rem 0 0; }
.page-head .btn--primary { background: var(--brass); color: var(--navy-3); }
.page-head .btn--outline { color: var(--white); border-color: rgba(255,255,255,.5); }
.page-head--photo { padding-bottom: 0; }
.page-head__photo { margin-top: 2.5rem; }
.page-head__photo img { width: 100%; max-height: 560px; object-fit: cover; }
.breadcrumbs ol { list-style: none; margin: 0 0 1.6rem; padding: 0; display: flex; flex-wrap: wrap; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin: 0 .7em; opacity: .5; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.page-head .breadcrumbs ol { color: rgba(255,255,255,.6); }
.listing .breadcrumbs { padding-top: 2rem; }

/* ------------------------------------------------------------------
   Stock list
   ------------------------------------------------------------------ */
.stock { padding-top: 2.5rem; padding-bottom: var(--section); }
.stock-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem 1.2rem; align-items: end; padding: 1.5rem 0 1.8rem; border-bottom: 1px solid var(--line); }
.stock-filters label span { display: block; font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; }
.stock-filters select { width: 100%; font: inherit; padding: .75rem 2.2rem .75rem .9rem; border: 1px solid var(--line); border-radius: 0; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2386621a' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right .9rem center; appearance: none; color: var(--ink); }
.stock-filters select:hover { border-color: var(--brass); }
.stock-filters.js-auto .stock-filters__go { display: none; }
.stock__count { margin: 1.6rem 0 1.6rem; color: var(--muted); font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; }
.stock__count a { margin-left: .8rem; text-transform: none; letter-spacing: 0; }
.empty-note { padding: 2.5rem; background: var(--ivory); max-width: 62ch; }
.park-description { margin-top: 3.5rem; }

.home-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.home-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; background: var(--white); }
.home-card__photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.home-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.home-card__link:hover .home-card__photo img { transform: scale(1.04); }
.home-card__nophoto { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: var(--step--1); }
.home-card__tags { position: absolute; left: 1rem; top: 1rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.tag { padding: .35rem .7rem; font-size: .66rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; background: rgba(255,255,255,.94); color: var(--navy); }
.tag--new { background: var(--navy); color: var(--white); }
.tag--stock { background: var(--brass); color: var(--navy-3); }
.tag--under_offer { background: var(--white); color: var(--brass-ink); }
.tag--sold { background: var(--navy-3); color: var(--white); }
.home-card__body { padding: 1.5rem 0 0; display: flex; flex-direction: column; flex: 1; }
.home-card__title { font-size: 1.85rem; margin: 0 0 .3rem; }
.home-card__highlight { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--brass-ink); margin: 0 0 .6rem; }
.home-card__facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: .6rem 1rem; margin: .6rem 0 1.4rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-card__facts dt { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.home-card__facts dd { margin: 0; font-size: .95rem; }
.home-card__foot { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.home-card__price { margin: 0; font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--ink); line-height: 1; }
.home-card__more { font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); border-bottom: 1px solid currentColor; padding-bottom: .15rem; }
.home-card__link:hover .home-card__title { color: var(--brass-ink); }
.status-sold .home-card__photo img { filter: grayscale(.7); }

.latest { padding: var(--section) 0; background: var(--ivory); }
.latest .home-card__link { background: transparent; }
.latest--related { background: var(--ivory); }

.nav-links { display: flex; gap: .4rem; margin-top: 3rem; flex-wrap: wrap; }
.nav-links .page-numbers { padding: .6rem 1rem; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.nav-links .current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ------------------------------------------------------------------
   Feature block
   ------------------------------------------------------------------ */
.feature { display: grid; grid-template-columns: 1fr 1fr; background: var(--stone); }
.feature__photo { position: relative; min-height: 520px; overflow: hidden; }
.feature__photo img, .feature__photo svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__text { padding: clamp(3rem, 8vw, 7rem) clamp(1.5rem, 6vw, 6rem); align-self: center; max-width: 640px; }
.feature__text h2 { margin-bottom: .5em; }
.feature__text p { color: var(--muted); font-size: 1.08rem; font-weight: 300; }
.feature__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature__photo { min-height: 340px; } }

/* Homepage questions */
.home-faqs { padding: var(--section) 0; background: var(--white); }
.home-faqs__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 860px) { .home-faqs__inner { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------
   Single holiday home
   ------------------------------------------------------------------ */
.listing { background: var(--white); }
.listing__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(1.5rem, 4.5vw, 4.5rem); align-items: start; padding-bottom: 3rem; }
.home-photos__main { position: relative; margin: 0; overflow: hidden; background: var(--stone); aspect-ratio: 3 / 2; }
.home-photos__main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.home-photos__count { position: absolute; right: 1rem; bottom: 1rem; background: rgba(14,24,34,.75); color: var(--white); font-size: .72rem; letter-spacing: .12em; padding: .35rem .7rem; }
.home-photos__thumbs { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .6rem; }
.home-photos__thumbs button { display: block; padding: 0; border: 0; outline-offset: 2px; overflow: hidden; cursor: pointer; background: none; width: 100%; aspect-ratio: 1; opacity: .6; transition: opacity .3s; }
.home-photos__thumbs button:hover, .home-photos__thumbs button[aria-current="true"] { opacity: 1; box-shadow: inset 0 -2px 0 var(--brass); }
.home-photos__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.home-photos--empty { aspect-ratio: 3 / 2; display: grid; place-items: center; text-align: center; padding: 2rem; background: var(--ivory); color: var(--muted); }

.listing__summary { position: sticky; top: 110px; }
.listing__park { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .9rem; }
.listing__park a { color: var(--brass-ink); text-decoration: none; }
.listing__title { font-size: var(--step-4); margin-bottom: .3em; }
.listing__specs { font-size: 1.08rem; font-weight: 300; color: var(--muted); margin-bottom: 1.4rem; }
.listing__price { font-family: var(--serif); font-size: clamp(2.4rem, 1.8rem + 2vw, 3.2rem); font-weight: 500; line-height: 1; margin: 0 0 .5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.listing__price-note { color: var(--muted); font-size: var(--step--1); margin: 0 0 1rem; }
.badge--inline { display: inline-block; margin: .4rem 0 1rem; padding: .35rem .7rem; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.badge--under_offer { background: var(--brass); color: var(--navy-3); }
.badge--sold, .badge--sold_hidden { background: var(--navy-3); color: var(--white); }
.status-sold .home-card__price { color: var(--navy-3); letter-spacing: .12em; text-transform: uppercase; }
.listing__actions { display: flex; flex-direction: column; gap: .7rem; margin: 1.6rem 0 1.2rem; }
.listing__hint { font-size: var(--step--1); color: var(--muted); }

.listing__detail { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(1.5rem, 4.5vw, 4.5rem); padding-top: 3rem; padding-bottom: var(--section); border-top: 1px solid var(--line); }
.listing__detail h2 { font-size: var(--step-3); }
.features { list-style: none; padding: 0; columns: 2 240px; column-gap: 2.5rem; }
.features li { padding: .55rem 0 .55rem 1.6rem; position: relative; break-inside: avoid; border-bottom: 1px solid var(--line); }
.features li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: .8rem; height: 1px; background: var(--brass); }
.specs { margin: 0; }
.specs > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }
.specs dd { margin: 0; }
.small-print { font-size: var(--step--1); color: var(--muted); margin-top: 1.4rem; }

.hide-sm { display: inline; }
@media (max-width: 900px) {
	.listing__top, .listing__detail { grid-template-columns: 1fr; }
	.listing__summary { position: static; }
	.listing__actions { position: sticky; bottom: 0; z-index: 5; background: var(--white); padding: .8rem var(--gutter); margin-inline: calc(var(--gutter) * -1); border-top: 1px solid var(--line); flex-direction: row; }
	.listing__actions .btn { flex: 1; padding-inline: .6rem; }
	.hide-sm { display: none; }
}

/* ------------------------------------------------------------------
   Contact band + footer
   ------------------------------------------------------------------ */
.contact-band { background: var(--navy-2); color: var(--white); padding: clamp(3.5rem, 8vw, 6rem) 0; border-top: 1px solid var(--brass); }
.contact-band__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.contact-band h2 { color: var(--white); }
.contact-band p { color: rgba(255,255,255,.78); max-width: 50ch; font-weight: 300; }
.contact-band__season { color: var(--brass-light) !important; margin: 0 0 .3rem; font-weight: 400 !important; }
.contact-band__hours { margin: 0; font-size: var(--step--1); }
.contact-band__actions { display: flex; flex-direction: column; gap: .9rem; align-items: stretch; max-width: 380px; }
@media (max-width: 760px) { .contact-band__inner { grid-template-columns: 1fr; } }

.site-footer { background: var(--navy-3); color: rgba(255,255,255,.7); padding: 4rem 0 2rem; font-size: var(--step--1); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--brass-light); }
.site-footer h2 { color: var(--white); font-size: 1.5rem; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2.5rem; }
.footer-menu, .site-footer__nav .menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li, .site-footer__nav .menu li { margin-bottom: .55rem; }
.footer-menu a, .site-footer__nav .menu a { letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }
.site-footer__base { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.site-footer__base p { margin: 0; }

.post-list { list-style: none; padding: 0; }
.post-list li { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }

/* ------------------------------------------------------------------
   Motion and print
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.hero__video { display: none; }
}
@media print {
	.site-header, .promo, .contact-band, .site-footer, .stock-filters, .home-photos__thumbs, .listing__actions { display: none !important; }
	.listing__top, .listing__detail { grid-template-columns: 1fr; }
}

/* Small screens: let long buttons wrap; show the email address in normal case */
.contact-band .btn--outline-light { text-transform: none; letter-spacing: .03em; font-size: .92rem; }
@media (max-width: 520px) {
	.btn { white-space: normal; text-align: center; padding-inline: 1.2em; }
	.contact-band .btn { word-break: break-word; }
}
@media (max-width: 860px) {
	.park-card__photo::after { background: linear-gradient(180deg, rgba(14,24,34,.15) 0%, rgba(14,24,34,.88) 55%); }
}

/* Homes grid placed inside page content with [holiday_homes] */
.prose > .home-grid--inline { max-width: none; margin: 2rem 0 1.5rem; padding: 0; }
.prose .home-grid--inline li { margin: 0; }
.prose .home-card__title { margin-top: 0; }
.footer-guides { list-style: none; margin: 0; padding: 0; }
.footer-guides li { margin-bottom: .55rem; }
@media (max-width: 760px) { .hero--photo .hero__art img { object-position: 12% 50%; } }

/* ------------------------------------------------------------------
   Gallery carousel (Gallery block with the "Carousel" style)
   ------------------------------------------------------------------ */
.prose > .carousel { max-width: none; margin: 2rem 0 3rem; }
.carousel { position: relative; }
.carousel__stage { position: relative; }
.wp-block-gallery.has-nested-images.is-style-carousel { display: flex; flex-wrap: nowrap; gap: 0; margin: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; background: var(--navy-3); }
.wp-block-gallery.is-style-carousel::-webkit-scrollbar { display: none; }
.wp-block-gallery.has-nested-images.is-style-carousel figure.wp-block-image:not(#individual-image) { flex: 0 0 100%; width: 100%; margin: 0; scroll-snap-align: center; aspect-ratio: 16 / 9; max-height: 74vh; }
.wp-block-gallery.has-nested-images.is-style-carousel figure.wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.carousel__btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: rgba(14,24,34,.45); color: var(--white); display: grid; place-items: center; cursor: pointer; transition: background-color .3s var(--ease); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.carousel__btn:hover { background: var(--brass); border-color: var(--brass); color: var(--navy-3); }
.carousel__btn[disabled] { opacity: .35; cursor: default; background: rgba(14,24,34,.45); color: var(--white); border-color: rgba(255,255,255,.6); }
.carousel__btn--prev { left: 1rem; }
.carousel__btn--next { right: 1rem; }
.carousel__btn svg { width: 22px; height: 22px; }
.carousel__bar { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: 1rem 0 1.1rem; border-bottom: 1px solid var(--line); }
.carousel__caption { margin: 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; }
.carousel__count { flex: none; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.carousel__thumbs { list-style: none; margin: 1rem 0 0; padding: 0 0 .4rem; display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: thin; }
.carousel__thumbs li { flex: 0 0 auto; margin: 0; }
.carousel__thumbs button { display: block; width: 96px; aspect-ratio: 3 / 2; padding: 0; border: 0; cursor: pointer; background: none; opacity: .5; transition: opacity .3s; }
.carousel__thumbs button:hover, .carousel__thumbs button[aria-current="true"] { opacity: 1; box-shadow: inset 0 -3px 0 var(--brass); }
.carousel__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) {
	.prose > .carousel, .carousel { margin-inline: calc(var(--gutter) * -1); }
	.wp-block-gallery.has-nested-images.is-style-carousel figure.wp-block-image:not(#individual-image) { aspect-ratio: 4 / 3; }
	.carousel__bar, .carousel__thumbs { padding-inline: var(--gutter); }
	.carousel__btn { width: 42px; height: 42px; }
	.carousel__btn--prev { left: .6rem; }
	.carousel__btn--next { right: .6rem; }
	.carousel__caption { font-size: 1.1rem; }
	.carousel__thumbs button { width: 72px; }
}

/* Cookie banner and footer link-button */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60; max-width: 560px; padding: 1.3rem 1.4rem; background: var(--navy-3); color: rgba(255,255,255,.88); border-top: 2px solid var(--brass); box-shadow: 0 10px 40px rgba(0,0,0,.35); font-size: var(--step--1); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 1rem; }
.cookie-banner a { color: var(--brass-light); }
.cookie-banner__actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--white); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
