/*
Theme Name: Cabarete Kite Point
Theme URI: https://cabaretekitepoint.com
Author: Bizi Digital
Author URI: https://bizidigital.com
Description: Custom theme for Cabarete Kite Point kiteboarding school, Kite Beach, Cabarete. Booking-led layout, no page builder.
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: ckp
*/

/* ---------- Tokens (from the CKP logo) ---------- */
:root {
	--navy: #1c3577;
	--navy-deep: #0f1f4d;
	--blue: #1860a0;
	--sky: #0084b8;
	--sun: #f2e14c;
	--sun-deep: #f6bd00;
	--sand: #f7f4ec;
	--ink: #0e1a33;
	--muted: #56617a;
	--line: #e3e6ee;
	--white: #fff;

	--font-display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 10px 30px rgba(15, 31, 77, .12);
	--shadow-sm: 0 2px 10px rgba(15, 31, 77, .08);
	--wrap: 1200px;
	--header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: .005em;
	color: var(--navy);
	margin: 0 0 .5em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.screen-reader-text, .skip-link:not(:focus) {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--sun); padding: 8px 14px; color: var(--ink); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.wrap-content { max-width: 780px; }
.center { text-align: center; }

.kicker {
	font-family: var(--font-body);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--sky);
	margin: 0 0 .6em;
}
.kicker-sun { color: var(--sun); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	padding: .8em 1.4em;
	border-radius: 999px;
	border: 2px solid transparent;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sun { background: var(--sun); color: var(--navy-deep); box-shadow: 0 6px 18px rgba(246, 189, 0, .35); }
.btn-sun:hover { background: var(--sun-deep); color: var(--navy-deep); }
.btn-light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-light:hover { color: var(--navy); background: var(--sand); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: .55em 1.05em; font-size: .92rem; }
.btn-lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--blue); text-decoration: none; }
.link-arrow .icon { transition: transform .15s ease; }
a:hover .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .97);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid transparent;
	transition: box-shadow .2s ease, border-color .2s ease;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex: none; }
.brand img { width: 46px; height: auto; }
.brand__text { font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: .95; text-transform: uppercase; letter-spacing: .04em; }
.brand__text strong { font-size: 1.35rem; font-weight: 800; }
.nav { margin-left: auto; }
.nav__list, .nav__list ul { list-style: none; margin: 0; padding: 0; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__list > li { position: relative; }
.nav__list > li > a {
	display: block;
	padding: 10px 12px;
	font-weight: 600;
	font-size: .97rem;
	color: var(--ink);
	text-decoration: none;
	border-radius: var(--radius-sm);
}
.nav__list > li > a:hover, .nav__list > li.current-menu-item > a, .nav__list > li.current-menu-ancestor > a { color: var(--blue); background: var(--sand); }
.nav__list .menu-item-has-children > a::after {
	content: '';
	display: inline-block;
	width: 6px; height: 6px;
	margin-left: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
}
.sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 250px;
	padding: 8px !important;
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all .15s ease;
}
.nav__list > li:hover > .sub-menu, .nav__list > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-size: .95rem; }
.sub-menu a:hover { background: var(--sand); color: var(--blue); }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .icon-close, .nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav__mobile-cta { display: none; }

@media (max-width: 1023px) {
	/* backdrop-filter would make the fixed menu panel position relative to the header */
	.site-header { backdrop-filter: none; background: var(--white); }
	.nav-toggle { display: block; }
	.site-header__actions { margin-left: auto; }
	.nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		background: var(--white);
		padding: 16px 20px 40px;
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform .25s ease;
	}
	.admin-bar .nav { top: calc(var(--header-h) + 46px); }
	.nav-open .nav { transform: none; }
	.nav-open { overflow: hidden; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__list > li { border-bottom: 1px solid var(--line); }
	.nav__list > li > a { padding: 14px 4px; font-size: 1.1rem; }
	.nav__list > li > a:hover { background: none; }
	.sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding: 0 0 10px 10px !important; }
	.menu-item-has-children.is-open > .sub-menu { display: block; }
	.nav__mobile-cta { display: block; margin-top: 24px; }
	.nav__mobile-cta .btn { width: 100%; }
}
@media (max-width: 560px) {
	:root { --header-h: 66px; }
	.site-header__actions .btn { display: none; }
	.brand img { width: 38px; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	overflow: hidden;
	color: var(--white);
	background: var(--navy-deep);
	min-height: min(82vh, 760px);
	display: flex;
	align-items: center;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero::before {
	content: '';
	position: absolute;
	z-index: 1;
	inset: 0;
	/* Light touch so the turquoise water stays Caribbean; shade only where the text sits. */
	background: linear-gradient(90deg, rgba(8, 28, 60, .55) 0%, rgba(8, 28, 60, .32) 40%, rgba(8, 28, 60, 0) 68%),
		linear-gradient(0deg, rgba(8, 28, 60, .35) 0%, transparent 30%);
}
.hero__inner { position: relative; z-index: 2; padding-block: 56px 104px; }
.hero__copy { max-width: 700px; }
.hero h1 { color: var(--white); }
.hero .lead { color: rgba(255, 255, 255, .9); }
.hero__rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--white); text-decoration: none; font-weight: 600; font-size: .95rem; }
.stars { display: inline-flex; color: var(--sun-deep); gap: 1px; }
.hero .stars { color: var(--sun); }

.facts-bar { background: var(--navy); color: var(--white); }
.facts { display: grid; grid-template-columns: repeat(5, 1fr); }
.fact { padding: 22px 16px; border-right: 1px solid rgba(255, 255, 255, .12); display: flex; flex-direction: column; justify-content: center; }
.fact strong { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--sun); }
.fact span { font-size: .85rem; color: rgba(255, 255, 255, .8); }
.fact-link { flex-direction: row; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 700; border-right: 0; }
.fact-link:hover { color: var(--sun); }
.fact-link span { font-size: .95rem; color: inherit; }
@media (max-width: 860px) {
	.facts { grid-template-columns: repeat(2, 1fr); }
	.fact { border-bottom: 1px solid rgba(255, 255, 255, .12); }
	.fact-link { grid-column: 1 / -1; justify-content: center; }
}

/* ---------- Page hero ---------- */
.page-hero { background: var(--navy); color: var(--white); padding: 64px 0 56px; position: relative; }
.page-hero.has-image { background: var(--navy-deep) var(--hero) center / cover no-repeat; padding: 120px 0 64px; }
.page-hero.has-image::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 31, 77, .9), rgba(15, 31, 77, .45)); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: var(--white); max-width: 900px; }
.page-hero .lead { color: rgba(255, 255, 255, .9); }
.crumbs { font-size: .85rem; margin-bottom: 14px; color: rgba(255, 255, 255, .7); }
.crumbs a { color: rgba(255, 255, 255, .85); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-sand { background: var(--sand); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.on-dark .kicker { color: var(--sun); }
.section-head.on-dark .lead { color: rgba(255, 255, 255, .8); }

/* Lesson cards */
.lesson-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.lesson-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.lesson-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.lesson-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.lesson-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.lesson-card:hover .lesson-card__media img { transform: scale(1.04); }
.badge { position: absolute; left: 14px; top: 14px; background: var(--sun); color: var(--navy-deep); font-weight: 700; font-size: .78rem; padding: 5px 11px; border-radius: 999px; }
.lesson-card__body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.lesson-card__body h3 { margin-bottom: .35em; }
.lesson-card__body p { color: var(--muted); font-size: .98rem; flex: 1; }
.lesson-card__foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; }
.from { color: var(--muted); font-size: .95rem; }
.from strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--navy); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); font-size: .95rem; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.split-reverse .split__media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-reverse .split__media { order: 0; } }
.feature-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 18px; }
.feature-list h3 { font-size: 1.35rem; margin-bottom: .2em; }
.feature-list p { color: var(--muted); margin: 0; }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.link-list a { font-weight: 600; }
.video-thumb a { position: relative; display: block; }
.play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--sun); box-shadow: var(--shadow); }
.play::after { content: ''; position: absolute; left: 31px; top: 24px; border-left: 20px solid var(--navy-deep); border-top: 14px solid transparent; border-bottom: 14px solid transparent; }

/* How it works */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 28px; }
.how__num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--sun); color: var(--navy-deep); font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; margin-bottom: 14px; }
.how p { color: rgba(255, 255, 255, .82); margin: 0; }
@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; } }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 32px; }
.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.review blockquote { margin: 12px 0 16px; font-size: .98rem; flex: 1; }
.review figcaption { font-weight: 700; color: var(--navy); }

/* Extras */
.extra-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.extra { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.extra:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.extra img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.extra__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.extra__body p { color: var(--muted); font-size: .95rem; flex: 1; }
@media (max-width: 1023px) { .extra-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .extra-grid { grid-template-columns: 1fr; } }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 20px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card__body h3 { font-size: 1.4rem; }
.post-card__body p { color: var(--muted); font-size: .95rem; flex: 1; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); text-decoration: none; }
.pagination .current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Brands */
.section-brands { padding: 48px 0; border-top: 1px solid var(--line); }
.brands { text-align: center; }
.brands ul { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 56px; }
.brands img { height: 64px; width: auto; filter: grayscale(1); opacity: .75; transition: all .2s ease; }
.brands a:hover img { filter: none; opacity: 1; }

/* Booking band */
.section-book { background: linear-gradient(135deg, var(--navy-deep), var(--blue)); color: var(--white); }
.book-band { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.book-band h2 { color: var(--white); }
.book-band .kicker { color: var(--sun); }
.book-band .lead { color: rgba(255, 255, 255, .85); }
.steps { margin: 24px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: baseline; color: rgba(255, 255, 255, .88); }
.steps li > span { flex: 1; }
.steps li::before { content: counter(s); flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sun); color: var(--navy-deep); font-weight: 800; font-size: .9rem; }
.steps strong { color: var(--white); }
@media (max-width: 860px) { .book-band { grid-template-columns: 1fr; } }

.booker { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: 0 20px 50px rgba(0, 0, 0, .25); display: grid; gap: 14px; }
.booker__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.booker label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--navy); }
.booker .optional { font-weight: 400; color: var(--muted); }
.booker select, .booker input, .booker textarea {
	width: 100%;
	font: inherit;
	font-weight: 400;
	font-size: 1rem;
	color: var(--ink);
	padding: 11px 12px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--white);
}
.booker select:focus, .booker input:focus, .booker textarea:focus { border-color: var(--sky); outline: none; box-shadow: 0 0 0 3px rgba(0, 132, 184, .18); }
.booker__small { font-size: .85rem; color: var(--muted); margin: 0; text-align: center; }

/* ---------- Lesson template ---------- */
.lesson-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; padding-block: 56px 72px; align-items: start; }
.lesson-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.book-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: grid; gap: 12px; background: var(--white); }
.book-card__from { margin: 0; color: var(--muted); }
.book-card__from strong { font-family: var(--font-display); font-size: 2.6rem; color: var(--navy); line-height: 1; }
.book-card__level { margin: 0; display: inline-block; justify-self: start; background: var(--sand); padding: 4px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--navy); }
.book-card .ticks { font-size: .92rem; }
.lesson-prices { margin-bottom: 48px; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 20px 0 12px; }
.price-card { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px; }
.price-card.is-featured { border-color: var(--sun-deep); background: #fffbea; }
.price-card h3 { font-size: 1.2rem; margin-bottom: .7em; }
.price-card ul { list-style: none; margin: 0; padding: 0; }
.price-card li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.price-card li:last-child { border-bottom: 0; }
.price-card strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); }
.price-note { font-size: .9rem; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--sky); margin-top: .25em; }
@media (max-width: 1023px) {
	.lesson-layout { grid-template-columns: 1fr; gap: 40px; }
	.lesson-aside { position: static; order: -1; }
}

/* ---------- Content ---------- */
.wrap-content { padding-block: 56px 72px; }
.entry-content > * + * { margin-top: 0; }
.entry-content h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content h2:first-child, .entry-content h3:first-child { margin-top: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .35em; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content figure { margin: 1.8em 0; }
.entry-content figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.entry-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--sun-deep); font-size: 1.1rem; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--sand); color: var(--navy); }
.entry-content iframe { width: 100%; border: 0; border-radius: var(--radius-sm); }
.entry-content .wp-block-button__link { background: var(--sun); color: var(--navy-deep); border-radius: 999px; font-weight: 700; padding: .8em 1.4em; text-decoration: none; }
.entry-content .wp-block-button__link:hover { background: var(--sun-deep); }
.entry-content .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; border: 2px solid var(--navy); color: var(--navy); }
.entry-content .wp-block-columns { gap: 28px; margin: 1.6em 0; }
.entry-content .wp-block-embed { margin: 1.8em 0; }
.entry-content .has-sand-background-color { background: var(--sand); }
.entry-content .wp-block-group.has-background { padding: 28px; border-radius: var(--radius); }
.entry-content-wide { padding-block: 48px 24px; }
.entry-content-wide > * { max-width: 780px; margin-inline: auto; padding-inline: 20px; }
.entry-content-wide > .alignwide { max-width: var(--wrap); }
.entry-content-wide > .alignfull { max-width: none; padding-inline: 0; }
.callout { background: var(--sand); border-left: 4px solid var(--sun-deep); border-radius: var(--radius-sm); padding: 18px 22px; margin: 1.5em 0; }

/* Posts */
.post-hero { background: var(--sand); padding: 48px 0 0; }
.post-hero .wrap-content { padding-block: 0 32px; }
.post-hero .crumbs, .post-hero .crumbs a { color: var(--muted); }
.post-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.post-meta { color: var(--muted); font-size: .92rem; margin: 0; }
.post-hero__media { max-width: 1000px; }
.post-hero__media img { border-radius: var(--radius) var(--radius) 0 0; width: 100%; max-height: 520px; object-fit: cover; }
.post-cta { margin-top: 48px; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 28px; display: grid; gap: 18px; }
.post-cta h2 { color: var(--white); font-size: 2rem; margin-bottom: .2em; }
.post-cta p { color: rgba(255, 255, 255, .85); margin: 0; }
.post-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Search / 404 */
.search-form { display: flex; gap: 8px; max-width: 520px; margin: 0 auto 40px; }
.search-form label { flex: 1; }
.search-field { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 999px; }
.search-submit { font: inherit; font-weight: 700; padding: 12px 20px; border: 0; border-radius: 999px; background: var(--navy); color: var(--white); cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .8); padding: 64px 0 0; font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { width: 72px; margin-bottom: 16px; }
.site-footer h3 { color: var(--white); font-size: 1.25rem; letter-spacing: .04em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .icon { color: var(--sun); margin-top: .2em; }
.footer-small-links { margin-top: 20px !important; font-size: .88rem; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.social a:hover { background: var(--sun); color: var(--navy-deep); }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-block: 20px; font-size: .85rem; color: rgba(255, 255, 255, .6); }
.footer-base p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile sticky book bar */
.mobile-book { display: none; }
@media (max-width: 860px) {
	.mobile-book {
		position: fixed;
		left: 12px; right: 12px; bottom: 12px;
		z-index: 40;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		padding: 14px;
		border-radius: 999px;
		background: var(--sun);
		color: var(--navy-deep);
		font-weight: 800;
		text-decoration: none;
		box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
		transition: transform .25s ease, opacity .25s ease;
	}
	.mobile-book.is-hidden, .nav-open .mobile-book { transform: translateY(140%); opacity: 0; }
	.site-footer { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* PayPal box */
.paypal-box { background: var(--sand); border-radius: var(--radius); padding: 28px; margin: 1.5em 0; }
.paypal-box label { font-weight: 600; margin-right: 8px; }
.paypal-box input { font: inherit; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); margin: 6px 0; }


/* =========================================================
   v1.1 design pass (2026-09-24)
   ========================================================= */

/* Triangle motif from the logo: a small inverted triangle before every kicker. */
.kicker { display: inline-flex; align-items: center; gap: .6em; }
.kicker::before {
	content: '';
	width: .8em;
	height: .7em;
	flex: none;
	background: var(--sun-deep);
	clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.kicker-sun::before { background: var(--sun); }
.section-head.center .kicker { justify-content: center; }

/* Hero rating */
.hero__rating { gap: 8px; }
.hero__score { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1; color: var(--sun); }

/* Book band facts */
.book-facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.book-facts li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255, 255, 255, .88); font-size: .98rem; }
.book-facts .icon { color: var(--sun); margin-top: .25em; }
.book-facts strong { color: var(--white); }
.book-band .steps { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .15); }

/* Booking form: never let the date fields collide */
.booker__row > label, .booker label { min-width: 0; }
.booker input[type="date"] { min-width: 0; width: 100%; }
@media (max-width: 560px) {
	.booker__row { grid-template-columns: 1fr 1fr; }
	.booker__row:first-child > label:first-child { grid-column: 1 / -1; }
	.booker__row:nth-child(2) > label:last-child { grid-column: 1 / -1; }
	.booker input[type="date"] { font-size: .95rem; padding-inline: 8px; }
}

/* Wind season strip */
.section-wind { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.section-wind::after {
	content: '';
	position: absolute;
	right: -120px;
	top: -60px;
	width: 520px;
	height: 460px;
	background: rgba(255, 255, 255, .04);
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	pointer-events: none;
}
.section-wind .wrap { position: relative; z-index: 1; }
.section-wind h2 { color: var(--white); }
.section-wind .lead { color: rgba(255, 255, 255, .82); }
.wind-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.wind-head > div { max-width: 640px; }
.wind-chart { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wind-season { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 22px 22px 18px; }
.wind-months { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; height: 170px; }
.wind-month { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.wind-bar-track { position: relative; flex: 1; width: 100%; max-width: 44px; background: rgba(255, 255, 255, .08); border-radius: 8px; }
.wind-bar {
	position: absolute;
	left: 0; right: 0;
	bottom: var(--lo);
	top: calc(100% - var(--hi));
	border-radius: 8px;
	background: linear-gradient(0deg, var(--sky), var(--sun));
}
.wind-label { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.wind-range { margin: 16px 0 0; font-size: .95rem; color: rgba(255, 255, 255, .8); }
.wind-range strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--sun); line-height: 1.1; }
.wind-source { margin: 22px 0 0; font-size: .88rem; color: rgba(255, 255, 255, .65); }
.wind-source a { color: var(--white); }
@media (max-width: 860px) {
	.wind-chart { grid-template-columns: 1fr; }
	.wind-months { height: 120px; }
}

/* Crew */
.section-crew { padding-bottom: clamp(56px, 8vw, 96px); background: var(--sand); }
.crew-banner { position: relative; color: var(--white); }
.crew-banner img { width: 100%; height: clamp(340px, 42vw, 560px); object-fit: cover; object-position: 50% 30%; }
.crew-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 31, 77, .85) 0%, rgba(15, 31, 77, .15) 55%, transparent 100%); }
.crew-banner__copy { position: absolute; left: 0; right: 0; bottom: 96px; z-index: 1; }
.crew-banner__copy h2 { color: var(--white); margin: 0; max-width: 760px; }
.crew-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: -48px; position: relative; z-index: 2; }
.crew-card { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border-top: 4px solid var(--sun-deep); }
.crew-card__title { margin: 0 0 4px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.crew-card h3 { font-size: 1.8rem; margin-bottom: .3em; }
.crew-card p:last-child { margin: 0; color: var(--muted); }
.crew-more { margin-top: 28px; }
@media (max-width: 860px) {
	.crew-grid { grid-template-columns: 1fr; margin-top: 20px; }
	.crew-banner__copy { bottom: 24px; }
	.crew-banner__copy h2 { font-size: 1.9rem; }
}

/* Swipe rows on phones: lessons, reviews, extras and blog cards scroll sideways */
.scroller-hint { display: none; }
@media (max-width: 700px) {
	.scroller {
		display: grid;
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 82%;
		gap: 14px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		overscroll-behavior-x: contain;
		margin-inline: -20px;
		padding: 4px 20px 16px;
		scroll-padding-inline: 20px;
		scrollbar-width: none;
	}
	.scroller::-webkit-scrollbar { display: none; }
	.scroller > * { scroll-snap-align: start; }
	.scroller-hint { display: block; margin: 4px 0 0; font-size: .85rem; font-weight: 600; color: var(--muted); }
	.scroller-hint::after { content: ' \2192'; }
	.review-grid.scroller { margin-bottom: 20px; }
}

/* Brands: give the strip a bit more presence */
.section-brands { padding: 56px 0; background: var(--white); }
.brands img { height: 72px; }

/* Lesson pages: photo strip, course timeline, end-of-page booking */
.lesson-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 48px; }
.lesson-gallery.count-2 { grid-template-columns: repeat(2, 1fr); }
.lesson-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
@media (max-width: 560px) {
	.lesson-gallery { grid-template-columns: 1fr 1fr; }
	.lesson-gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
	.lesson-gallery.count-2 img:first-child { grid-column: auto; aspect-ratio: 4 / 3; }
}

.entry-content .timeline { position: relative; margin: 1.5em 0 2em; padding-left: 34px; counter-reset: step; }
.entry-content .timeline::before { content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--sun-deep), var(--sky)); }
.entry-content .timeline h3 { position: relative; counter-increment: step; margin-top: 1.4em; }
.entry-content .timeline h3:first-child { margin-top: 0; }
.entry-content .timeline h3::before {
	content: counter(step);
	position: absolute;
	left: -34px;
	top: -2px;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--sun);
	color: var(--navy-deep);
	font-family: var(--font-body);
	font-size: .8rem;
	font-weight: 800;
	box-shadow: 0 0 0 4px var(--white);
}

.lesson-end {
	margin-top: 48px;
	background: linear-gradient(135deg, var(--navy-deep), var(--blue));
	color: var(--white);
	border-radius: var(--radius);
	padding: clamp(24px, 4vw, 36px);
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 24px;
	align-items: center;
}
.lesson-end h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: .3em; }
.lesson-end p { margin: 0; color: rgba(255, 255, 255, .85); }
.lesson-end__actions { display: grid; gap: 10px; justify-items: start; }
.lesson-end__from strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--sun); }
@media (max-width: 700px) { .lesson-end { grid-template-columns: 1fr; } }

@media (max-width: 560px) {
	.booker__row:first-child { grid-template-columns: 1fr; }
	.brands ul { gap: 18px 28px; }
	.brands img { height: 44px; }
	.wind-season { padding: 16px; }
	.wind-months { height: 90px; }
}

/* Hero video */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }

/* Swipe rows: dots and arrows on phones so the row reads as a carousel, not a cut-off card */
.scroller-nav { display: none; }
@media (max-width: 700px) {
	.scroller { grid-auto-columns: 86%; align-items: stretch; }
	.scroller-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 6px 0 8px; }
	.scroller-dots { display: flex; gap: 8px; }
	.scroller-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: width .2s ease, background-color .2s ease; }
	.scroller-dots button[aria-current="true"] { width: 22px; background: var(--navy); }
	.scroller-arrow { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; }
	.scroller-arrow:disabled { opacity: .35; cursor: default; }
	.scroller-arrow .icon { width: 18px; height: 18px; }
	.scroller-arrow.prev .icon { transform: rotate(180deg); }
	.review-grid.scroller { margin-bottom: 0; }
	.section-reviews .center { margin-top: 12px; }
}

/* Hero: keep the water vivid, carry legibility with shadow rather than a heavy tint */
.hero__video, .hero__img { filter: saturate(1.2) contrast(1.05); }
.hero h1 { text-shadow: 0 2px 24px rgba(4, 18, 44, .45); }
.hero .lead, .hero__rating, .hero .kicker { text-shadow: 0 1px 12px rgba(4, 18, 44, .6); }
.hero .lead { color: var(--white); }

@media (max-width: 700px) { .hero__inner { padding-block: 48px 64px; } }

/* Instagram fallback grid (used when the live feed can't load) */
.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.insta-grid a { display: block; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 1; background: var(--sand); }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.insta-grid a:hover img { transform: scale(1.05); }
.insta-follow { margin-top: 24px; }
.insta-follow .btn { gap: .5em; }
@media (max-width: 700px) {
	.insta-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
	.insta-grid a:nth-child(n+7) { display: none; }
}
