/*
Theme Name: Polish 26
Description: Block theme (Full Site Editing) for onlinepolishclasses.com (Online Polish Classes with Marta). Home landing, Videos and Blog. Built from the Claude Design handoff.
Author: Meraki Loop
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: polish26
*/

:root {
	--ink: #2F2A24;
	--ink-soft: #4A4239;
	--muted: #7A6A55;
	--sand-dark: #8A7558;
	--sand: #CDB99C;
	--sand-hover: #C3AD8E;
	--sand-footer: #C4AE91;
	--sand-light: #D9C9B2;
	--line: #E9E0D2;
	--cream: #F7F3EC;
	--field-bg: #FDFBF8;
	--white: #fff;
	--red: #C8102E;
	--red-hover: #A00D25;
	--red-text: #B3001A;
	--red-text-hover: #7E0012;
	--player-dark: #1E1A16;
	--font-display: 'Barlow Condensed', sans-serif;
	--font-body: Figtree, system-ui, sans-serif;
	--font-friendly: Quicksand, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; line-height: 1.5; }
img { max-width: 100%; }
a { color: var(--red-text); transition: color .13s ease; }
a:hover { color: var(--red-text-hover); }
input, select, textarea, button { font-family: inherit; }
p { text-wrap: pretty; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; left: 8px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; width: auto; height: auto; clip: auto; }

/* Layout */
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 24px; }
.wrap--narrow { max-width: 1000px; }
.section { padding: 96px 0; }
.section--white { background: var(--white); }
.section--intro, .section--about { padding: 88px 0; }

/* Type */
.h-display { margin: 0; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; color: var(--ink); }
h1.h-display { font-size: clamp(44px, 6vw, 72px); line-height: .95; letter-spacing: .03em; }
h2.h-display { font-size: clamp(32px, 4vw, 44px); letter-spacing: .04em; }
h2.h-display--lg { font-size: clamp(34px, 4.4vw, 48px); line-height: 1.02; letter-spacing: .02em; }
h2.h-display--band { font-size: clamp(28px, 3.4vw, 38px); }
h3.h-display { font-size: 22px; line-height: 1.1; letter-spacing: .04em; }
.eyebrow { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--sand-dark); }
.eyebrow--red { color: var(--red-text); }
.friendly { font-family: var(--font-friendly); font-weight: 500; color: var(--sand-dark); margin: 0; }

/* Buttons */
.btn { display: inline-block; border: 1.5px solid transparent; border-radius: 999px; padding: 14px 26px; font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; background: none; transition: background-color .13s ease, color .13s ease; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; padding: 15px 26px; }
.btn--primary:hover { background: var(--red-hover); color: #fff; }
.btn--sm { padding: 11px 20px; font-size: 15px; }
.btn--photo { border-color: #fff; color: #fff; padding: 13px 24px; }
.btn--photo:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn--light { border-color: var(--sand); color: var(--ink); padding: 13px 22px; }
.btn--light:hover { background: var(--cream); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Hero */
.hero { position: relative; min-height: 560px; background: #5A4634 center 42% / cover no-repeat; display: flex; align-items: flex-end; justify-content: center; padding: 0 24px 64px; }
.hero__inner { max-width: 640px; text-align: center; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 330px; }
.hero__title { margin: 0; font-family: var(--font-friendly); font-weight: 500; font-size: clamp(20px, 2.6vw, 26px); line-height: 1.4; letter-spacing: .02em; text-wrap: pretty; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Intro + About */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 48px; align-items: center; }
.split--about { gap: 56px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.split--top { align-items: start; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack--20 { gap: 20px; }
.photo { display: flex; justify-content: center; }
.photo__frame { overflow: hidden; background: var(--line); }
.photo__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo--intro .photo__frame { width: min(100%, 320px); aspect-ratio: 2/3; border-radius: 999px 999px 28px 28px; box-shadow: 16px 16px 0 var(--sand-light); }
.photo--intro img { transform: scale(1.12); transform-origin: center 40%; }
.photo--about .photo__frame { width: min(100%, 340px); aspect-ratio: 3/4; border-radius: 28px 28px 999px 999px; box-shadow: -16px 16px 0 var(--sand-light); }
.photo--about img { transform: scale(1.12); }
.lead { margin: 0; font-size: 18px; line-height: 1.65; color: var(--ink-soft); }
.body-text { margin: 0; font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.cta-link { font-weight: 600; font-size: 17px; text-underline-offset: 4px; }
.intro-video { max-width: 1000px; margin: 72px auto 0; }
.intro-video__box { position: relative; aspect-ratio: 16/9; border-radius: 20px; overflow: hidden; background: var(--sand); display: flex; align-items: center; justify-content: center; border: 0; width: 100%; padding: 0; cursor: pointer; transition: background-color .13s ease; }
.intro-video__box:hover { background: var(--sand-hover); }
.intro-video__box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.intro-video__caption { position: absolute; left: 24px; bottom: 20px; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: .1em; text-transform: uppercase; }
.play { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.play::before { content: ""; width: 0; height: 0; border-left: 18px solid var(--red); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 4px; }
.play--lg { width: 84px; height: 84px; box-shadow: 0 8px 24px rgba(60,40,20,.18); }
.play--lg::before { border-left-width: 26px; border-top-width: 16px; border-bottom-width: 16px; margin-left: 6px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 0; margin: 0; list-style: none; }
.facts li { border: 1.5px solid var(--sand); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 500; color: #5E4F3C; }

/* Reasons + steps */
.stack-48 { display: flex; flex-direction: column; gap: 48px; }
.center { text-align: center; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.reason { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.reason img { width: 96px; height: 96px; margin: -14px 0 -6px -14px; }
.reason p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); }
.steps { background: var(--sand); border-radius: 28px; padding: 44px clamp(24px, 4vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; align-items: start; }
.steps__intro h3 { margin: 0 0 8px; font-size: 30px; line-height: 1; letter-spacing: .04em; }
.steps__intro p { margin: 0; font-size: 15px; line-height: 1.55; color: #3A3128; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step__n { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--red); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.step strong { display: block; font-size: 17px; margin-bottom: 4px; }
.step span.t { font-size: 15px; line-height: 1.5; color: #3A3128; }

/* Section headers + grids */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.section-head p { margin: 8px 0 0; font-size: 17px; color: var(--ink-soft); }
.section-head a { font-weight: 600; font-size: 16px; }
.stack-36 { display: flex; flex-direction: column; gap: 36px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.grid--videos { gap: 32px 24px; }

/* Video card */
.video-card { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 14px; color: var(--ink); text-decoration: none; }
.video-card:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 16px; }
.video-card__thumb { position: relative; aspect-ratio: 16/9; border-radius: 16px; background: var(--sand-light) center / cover no-repeat; display: flex; align-items: center; justify-content: center; overflow: hidden; transition: background-color .13s ease; }
.video-card:hover .video-card__thumb { background-color: var(--sand); }
.video-card__len { position: absolute; right: 12px; bottom: 10px; background: rgba(47,42,36,.82); color: #fff; font-size: 13px; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.video-card__meta { display: flex; flex-direction: column; gap: 4px; }
.video-card__title { font-size: 18px; line-height: 1.35; font-weight: 600; }

/* Post card */
.post-card { text-decoration: none; color: var(--ink); background: var(--cream); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid transparent; transition: background-color .13s ease, border-color .13s ease; }
.post-card:hover { background: #F1EADF; color: var(--ink); }
.post-card--bordered { background: #fff; border-color: var(--line); }
.post-card--bordered:hover { background: #fff; border-color: var(--sand); }
.post-card__img { aspect-ratio: 16/10; background: var(--line); display: flex; align-items: center; justify-content: center; color: var(--sand-dark); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.post-card__title { font-size: 20px; line-height: 1.3; font-weight: 600; }
.post-card__excerpt { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.post-card__meta { font-size: 14px; color: var(--muted); }
.featured { text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); transition: border-color .13s ease; }
.featured:hover { border-color: var(--sand); color: var(--ink); }
.featured__img { min-height: 300px; background: var(--line); display: flex; align-items: center; justify-content: center; color: var(--sand-dark); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; overflow: hidden; }
.featured__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured__body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.featured__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; }
.featured__excerpt { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.featured__more { font-weight: 600; font-size: 16px; color: var(--red-text); }

/* Contact */
.contact-info { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; font-size: 16px; }
.contact-info a { font-weight: 600; }
.contact-info span { color: var(--ink-soft); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: 0 10px 30px rgba(90,70,52,.08); }
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { border: 1.5px solid var(--sand-light); border-radius: 10px; padding: 12px 14px; font-size: 16px; font-weight: 400; background: var(--field-bg); color: var(--ink); outline-color: var(--red); }
.field textarea { resize: vertical; }
.field.has-error input, .field.has-error textarea { border-color: var(--red-text); }
.field__error { font-size: 13px; font-weight: 500; color: var(--red-text); min-height: 0; }
.form__alert { margin: 0; font-size: 15px; color: var(--red-text); }
.form .btn { margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks { display: flex; flex-direction: column; gap: 12px; padding: 24px 0; text-align: center; align-items: center; }
.thanks .friendly { font-size: 26px; }
.thanks p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.thanks .btn { margin-top: 8px; padding: 10px 20px; font-size: 15px; border-color: var(--sand); color: var(--ink); }
.thanks .btn:hover { background: var(--cream); }

/* Page headers, chips, bands */
.page-head { padding: 72px 0 64px; }
.page-head--sand { background: var(--sand); }
.page-head--white { background: #fff; border-bottom: 1px solid var(--line); padding-bottom: 56px; }
.page-head .wrap { display: flex; flex-direction: column; gap: 14px; }
.page-head p { margin: 0; max-width: 560px; font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.page-head--sand p, .page-head--sand .back { color: var(--ink); }
.back { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-soft); }
.back:hover { text-decoration: underline; color: var(--ink-soft); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.page-head .chips { padding-top: 12px; }
.chip { border: 1.5px solid var(--sand-light); background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 18px; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .13s ease; }
.chip:hover { background: var(--cream); color: var(--ink); }
.chip.is-on, .chip.is-on:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.list-section { padding: 48px 0 96px; }
.list-section--blog { padding-top: 56px; }
.list-section .wrap { display: flex; flex-direction: column; gap: 32px; }
.list-section--blog .wrap { gap: 40px; }
.empty { color: var(--ink-soft); font-size: 17px; }
.band { padding: 72px 0; background: #fff; }
.band--sand { background: var(--sand); }
.band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.band__text { display: flex; flex-direction: column; gap: 8px; max-width: 620px; }
.band__text p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.band--sand .band__text p { color: var(--ink); }
.band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pagination { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers { padding: 8px 14px; border: 1.5px solid var(--sand-light); border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--ink); background: #fff; }
.pagination .current { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Video player panel */
.player { background: var(--ink); border-radius: 20px; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.player[hidden] { display: none; }
.player__media { aspect-ratio: 16/9; background: var(--player-dark); display: flex; align-items: center; justify-content: center; color: var(--sand); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.player__media iframe { width: 100%; height: 100%; border: 0; }
.player__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; justify-content: center; color: #fff; }
.player__body .eyebrow { color: var(--sand); }
.player__title { font-size: 24px; line-height: 1.25; font-weight: 700; }
.player__desc { font-size: 16px; line-height: 1.55; color: var(--line); margin: 0; }
.player__actions { display: flex; gap: 16px; flex-wrap: wrap; padding-top: 6px; }
.player__actions .btn--primary { padding: 11px 20px; font-size: 15px; }
.player__close { border-color: var(--sand); color: #fff; padding: 10px 18px; font-size: 15px; }

/* Posts / pages */
.entry { padding: 64px 0 96px; }
.entry__inner { max-width: 760px; margin: 0 auto; padding-inline: 24px; }
.entry__meta { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.entry__thumb { margin: 32px 0 0; border-radius: 20px; overflow: hidden; }
.entry__thumb img { width: 100%; height: auto; display: block; }
.entry__content { font-size: 18px; line-height: 1.7; color: var(--ink-soft); margin-top: 32px; }
.entry__content h2, .entry__content h3 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; color: var(--ink); line-height: 1.1; margin: 1.6em 0 .5em; }
.entry__content h2 { font-size: 34px; }
.entry__content h3 { font-size: 26px; }
.entry__content img { height: auto; border-radius: 16px; }
.entry__content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--sand); color: var(--ink); }

/* ===== Block theme layer ===== */
.wp-site-blocks :where(p, h1, h2, h3, ul, figure) { margin-block: 0; }
.wp-site-blocks .wp-block-group { max-width: none; }
.wp-site-blocks .wrap { max-width: 1160px; margin-inline: auto !important; }
.wp-site-blocks .wrap--narrow { max-width: 1000px; }
.wp-block-image img { height: auto; }

/* Buttons (core/button) */
.wp-block-buttons.hero__actions, .band__actions { gap: 12px; }
.wp-block-button .wp-block-button__link { transition: background-color .13s ease, color .13s ease; text-decoration: none; }
.wp-block-button .wp-block-button__link:active { transform: translateY(1px); }
.btn-primary .wp-block-button__link { padding: 14px 26px; }
.btn-photo .wp-block-button__link { background: transparent; color: #fff; border: 1.5px solid #fff; padding: 13px 24px; }
.btn-photo .wp-block-button__link:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-light .wp-block-button__link { background: transparent; color: var(--ink); border: 1.5px solid var(--sand); padding: 13px 22px; }
.btn-light .wp-block-button__link:hover { background: var(--cream); color: var(--ink); }

/* Header */
header.wp-block-template-part { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.admin-bar header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar header.wp-block-template-part { top: 46px; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 24px; }
.site-logo { margin: 0; }
.site-logo img { height: 44px; width: auto; display: block; }
.site-nav { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.site-nav .wp-block-navigation__container { gap: 22px; }
.site-nav .wp-block-navigation-item__content { color: var(--ink); text-decoration: none; }
.site-nav .wp-block-navigation-item__content:hover { color: var(--red-text); }
.site-nav .is-current > .wp-block-navigation-item__content { color: var(--red-text); text-decoration: underline; text-underline-offset: 6px; }
.site-nav .nav-cta .wp-block-navigation-item__content { background: var(--red); color: #fff; padding: 9px 16px; border-radius: 999px; transition: background-color .13s ease; text-decoration: none; }
.site-nav .nav-cta .wp-block-navigation-item__content:hover { background: var(--red-hover); color: #fff; }
.wp-block-navigation__responsive-container.is-menu-open { background: #fff; color: var(--ink); padding: 24px; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 18px; font-size: 22px; }
.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close { color: var(--ink); }

/* Hero */
.hero .hero__title { font-family: var(--font-friendly); font-weight: 500; text-transform: none; font-size: clamp(20px, 2.6vw, 26px); line-height: 1.4; letter-spacing: .02em; color: #fff; }
.hero .hero__actions { justify-content: center; }

/* Home sections */
.intro-hi { font-size: 22px; letter-spacing: .04em; }
.photo__frame .wp-block-image { margin: 0; height: 100%; }
.photo__frame .wp-block-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo--intro img { transform: scale(1.12); transform-origin: center 40%; }
.photo--about img { transform: scale(1.12); }
.cta-link a { text-underline-offset: 4px; }
.lead--sm { font-size: 17px; }
.reason .wp-block-image { width: 96px; margin: -14px 0 -6px -14px; }
.reason .wp-block-image img { width: 96px; height: 96px; }
.reason h3.h-display { font-size: 22px; line-height: 1.1; letter-spacing: .04em; }
.center { text-align: center; }
.steps__intro h3 { margin: 0 0 8px; }
.step__n { margin: 0; }
.step__t { margin: 0 0 4px; font-size: 17px; }
.step__x { margin: 0; font-size: 15px; line-height: 1.5; color: #3A3128; }
.step__body { display: block; }
.intro-video__box { cursor: default; }
.intro-video__caption { margin: 0; }
.intro-video__box > .wp-block-embed, .intro-video__box > .wp-block-video { position: absolute; inset: 0; margin: 0; }
.section-head__text p { margin: 8px 0 0; font-size: 17px; color: var(--ink-soft); }
.section-head__link { margin: 0; font-weight: 600; font-size: 16px; }
.contact-info__mail { margin: 0; font-weight: 600; }
.contact-info__note { margin: 0; color: var(--ink-soft); }
.p26-post-cards, .p26-video-grid { display: flex; flex-direction: column; gap: 40px; }
.p26-video-grid { gap: 32px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers { padding: 8px 14px; border: 1.5px solid var(--sand-light); border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--ink); background: #fff; }
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .screen-reader-text { display: none; }

/* Page heads + bands */
.page-head .wrap { display: flex; flex-direction: column; gap: 14px; }
.page-head .back, .entry .back { margin: 0; }
.back a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-soft); }
.back a:hover { text-decoration: underline; }
.page-head--sand .back a { color: var(--ink); }
.band__text p { margin: 0; }

/* Entries */
.entry__meta { margin: 14px 0 12px; }
.entry__meta a { text-decoration: none; }
.entry__inner .h-display { font-size: clamp(44px, 6vw, 72px); line-height: .95; letter-spacing: .03em; }
.entry__content > * + * { margin-block-start: 1.1em; }
.entry__content > :where(p, ul, ol) { margin-block-end: 0; }

/* Footer */
.site-footer { background: var(--sand-footer); padding: 40px 0; }
.site-footer__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-logo { margin: 0; }
.footer-logo img { height: 48px; width: auto; display: block; }
.footer-nav { font-size: 15px; font-weight: 500; }
.footer-nav .wp-block-navigation__container { gap: 20px; }
.footer-nav .wp-block-navigation-item__content { color: #fff; text-decoration: none; }
.footer-nav .wp-block-navigation-item__content:hover { color: #fff; text-decoration: underline; }
.social.wp-block-social-links { gap: 10px; }
.social .wp-social-link { background: none !important; }
.social .wp-social-link a { width: 40px; height: 40px; padding: 0; border: 1.5px solid #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; transition: background-color .13s ease; }
.social .wp-social-link a:hover { background: rgba(255,255,255,.15); }
.social .wp-social-link svg { width: 18px; height: 18px; fill: #fff; }
.site-footer__copy { margin: 24px 0 0; font-size: 13px; color: #fff; }
.site-footer .wrap { max-width: 1160px; }

.intro-video__box::before { content: ""; width: 84px; height: 84px; border-radius: 50%; box-shadow: 0 8px 24px rgba(60,40,20,.18); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 84'%3E%3Cpath d='M36 26l26 16-26 16z' fill='%23C8102E'/%3E%3C/svg%3E") center / 100% no-repeat; }
.intro-video__box:has(> iframe)::before, .intro-video__box:has(> figure)::before { display: none; }
.wp-block-social-links.social .wp-social-link.wp-social-link { color: #fff !important; }
.wp-block-social-links.social .wp-social-link svg { fill: currentColor; }
[hidden] { display: none !important; }
.footer-nav.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content { color: #fff; }

/* The banner image has the logo baked in; keep the hero tall enough that the text always sits below it. */
.hero { min-height: clamp(640px, 54vw, 920px); padding-bottom: 56px; }
.hero__inner { margin-top: 0; gap: 24px; }

/* Mobile hero: show the whole banner (logo included) and put the text on a matching wood tone below it. */
@media (max-width: 760px) {
	.hero { min-height: 0; background-color: #7e644d; background-size: 100% auto !important; background-position: top center !important; background-repeat: no-repeat !important; align-items: flex-start; padding: calc(64.8vw + 20px) 24px 48px; }
	.hero::after { content: ""; position: absolute; left: 0; right: 0; top: calc(64.8vw - 70px); height: 70px; background: linear-gradient(to bottom, rgba(126,100,77,0), #7e644d); pointer-events: none; }
	.hero__inner { position: relative; z-index: 1; gap: 20px; }
}

/* Mobile menu overlay */
.wp-block-navigation__responsive-container.is-menu-open { padding: 0; background: #fff; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding: 76px 24px 32px; align-items: stretch; justify-content: flex-start; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: stretch; gap: 0; width: 100%; font-size: 26px; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--line); align-items: stretch; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { display: block; width: 100%; padding: 16px 0; text-align: left; }
.wp-block-navigation__responsive-container.is-menu-open .nav-cta { border-bottom: 0; padding-top: 24px; }
.wp-block-navigation__responsive-container.is-menu-open .nav-cta .wp-block-navigation-item__content { text-align: center; font-size: 20px; padding: 14px 16px; }
.wp-block-navigation__responsive-container-close { top: 14px; right: 18px; padding: 8px; }
.wp-block-navigation__responsive-container-open { padding: 8px; }
