/* ==========================================================================
   KeralaStayFinder — editorial stylesheet
   Calm, generous, serif-led design inspired by luxury travel editorial.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
	--ksf-forest: #1b362d;
	--ksf-forest-deep: #12251f;
	--ksf-forest-soft: #2c4a3f;
	--ksf-ivory: #faf9f6;
	--ksf-sand: #f2ede4;
	--ksf-sand-deep: #e7dfd1;
	--ksf-gold: #9a6b32;
	--ksf-gold-dark: #7d5525;
	--ksf-gold-soft: #c7a679;
	--ksf-charcoal: #2a2a28;
	--ksf-muted: #6d6a63;
	--ksf-line: #dcd4c6;
	--ksf-white: #ffffff;

	--ksf-serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
	--ksf-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--ksf-container: 1240px;
	--ksf-narrow: 760px;
	--ksf-gutter: clamp(20px, 4vw, 48px);
	--ksf-section: clamp(64px, 9vw, 128px);
	--ksf-header-h: 76px;
	--ksf-radius: 2px;
	--ksf-ease: cubic-bezier(.22, .61, .36, 1);
	--ksf-shadow: 0 18px 48px -24px rgba(18, 37, 31, .35);
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--ksf-header-h) + 16px); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

body {
	margin: 0;
	background: var(--ksf-ivory);
	color: var(--ksf-charcoal);
	font-family: var(--ksf-sans);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--ksf-forest); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s var(--ksf-ease); }
a:hover { color: var(--ksf-gold); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ksf-serif);
	font-weight: 400;
	line-height: 1.15;
	color: var(--ksf-forest);
	margin: 0 0 .5em;
	letter-spacing: -.005em;
}

p { margin: 0 0 1.2em; }

:focus-visible { outline: 2px solid var(--ksf-gold); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
	word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; width: auto; height: auto;
	top: 12px; left: 12px; z-index: 1000;
	background: var(--ksf-forest); color: #fff; padding: 10px 16px;
}

.ksf-icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: middle; }

/* ---------- 3. Layout primitives ---------- */
.ksf-container {
	width: 100%;
	max-width: calc(var(--ksf-container) + var(--ksf-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--ksf-gutter);
}
.ksf-container--narrow { max-width: calc(var(--ksf-narrow) + var(--ksf-gutter) * 2); }
.ksf-center { text-align: center; }

.ksf-section { padding-block: var(--ksf-section); }
.ksf-section--tight { padding-block: calc(var(--ksf-section) * .45); }
.ksf-section--flush-top { padding-top: 0; }
.ksf-section--sand { background: var(--ksf-sand); }
.ksf-section__heading { margin-bottom: 40px; }
.ksf-section__head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
	margin-bottom: 40px;
}
.ksf-section__head .ksf-h3 { margin: 0; }
.ksf-section-title {
	font-family: var(--ksf-serif);
	font-size: clamp(22px, 2.4vw, 30px);
	color: var(--ksf-forest);
	margin: calc(var(--ksf-section) * .4) 0 0;
	padding-inline: var(--ksf-gutter);
}

.ksf-grid { display: grid; gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px); }
.ksf-grid--3,
.ksf-grid--stays { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1000px) {
	.ksf-grid--3, .ksf-grid--stays { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.ksf-grid--3, .ksf-grid--stays { grid-template-columns: 1fr; }
}

/* ---------- 4. Typography helpers ---------- */
.ksf-h1 { font-size: clamp(38px, 5.2vw, 64px); font-weight: 300; line-height: 1.05; }
.ksf-h2 { font-size: clamp(32px, 3.8vw, 46px); font-weight: 300; }
.ksf-h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 400; }
.ksf-h4 { font-size: 22px; font-weight: 500; }

.ksf-lead {
	font-family: var(--ksf-serif);
	font-size: clamp(20px, 1.9vw, 24px);
	line-height: 1.5;
	color: var(--ksf-charcoal);
	font-weight: 400;
}

.ksf-eyebrow {
	font-family: var(--ksf-sans);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ksf-gold);
	margin: 0 0 12px;
	line-height: 1.5;
}
.ksf-eyebrow--light { color: var(--ksf-gold-soft); }

.ksf-link {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--ksf-forest); text-decoration: none;
}
.ksf-link .ksf-icon { width: 16px; height: 16px; transition: transform .3s var(--ksf-ease); }
.ksf-link:hover { color: var(--ksf-gold); }
.ksf-link:hover .ksf-icon { transform: translateX(4px); }
.ksf-link--sm { font-size: 11px; }
.ksf-link--underline span { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.ksf-link--underline .ksf-icon { display: none; }

.ksf-bullets { list-style: none; padding: 0; margin: 0 0 32px; }
.ksf-bullets li {
	position: relative; padding-left: 22px; margin-bottom: 10px;
	font-size: 15px; color: var(--ksf-charcoal);
}
.ksf-bullets li::before {
	content: ""; position: absolute; left: 0; top: .78em;
	width: 6px; height: 6px; border-radius: 50%; background: var(--ksf-gold);
}
.ksf-bullets--compact li { font-size: 14px; margin-bottom: 8px; }

/* ---------- 5. Buttons ---------- */
.ksf-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 28px;
	font-family: var(--ksf-sans); font-size: 11.5px; font-weight: 600;
	letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
	border: 1px solid transparent; border-radius: var(--ksf-radius);
	cursor: pointer; line-height: 1.2;
	transition: background-color .25s var(--ksf-ease), color .25s var(--ksf-ease), border-color .25s var(--ksf-ease);
}
.ksf-btn--gold { background: var(--ksf-gold); color: #fff; }
.ksf-btn--gold:hover { background: var(--ksf-gold-dark); color: #fff; }
.ksf-btn--dark { background: var(--ksf-forest); color: #fff; }
.ksf-btn--dark:hover { background: var(--ksf-forest-deep); color: #fff; }
.ksf-btn--outline { background: transparent; color: var(--ksf-forest); border-color: var(--ksf-forest); }
.ksf-btn--outline:hover { background: var(--ksf-forest); color: #fff; }
.ksf-btn--sm { min-height: 36px; padding: 8px 16px; font-size: 10.5px; }
.ksf-btn--block { width: 100%; }
.ksf-btn--icon .ksf-icon { width: 18px; height: 18px; }

.ksf-iconbtn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; padding: 0;
	background: none; border: 0; color: inherit; cursor: pointer; border-radius: 50%;
}
.ksf-iconbtn .ksf-icon { width: 20px; height: 20px; }
.ksf-iconbtn:hover { color: var(--ksf-gold); }
.ksf-iconbtn--ring { border: 1px solid var(--ksf-line); width: 44px; height: 44px; }
.ksf-iconbtn--ring:hover { border-color: var(--ksf-gold); }

/* ---------- 6. Header ---------- */
.ksf-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(250, 249, 246, .97);
	color: var(--ksf-forest);
	border-bottom: 1px solid rgba(220, 212, 198, .7);
	transition: background-color .35s var(--ksf-ease), color .35s var(--ksf-ease), border-color .35s var(--ksf-ease), box-shadow .35s;
}
.admin-bar .ksf-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ksf-header { top: 0; } }

.ksf-header__inner {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
	min-height: var(--ksf-header-h);
	max-width: calc(1440px + var(--ksf-gutter) * 2);
	margin-inline: auto; padding-inline: var(--ksf-gutter);
}

.ksf-wordmark {
	display: inline-flex; align-items: center; gap: 12px;
	color: inherit; text-decoration: none;
}
.ksf-wordmark:hover { color: inherit; }
.ksf-wordmark__text {
	font-family: var(--ksf-serif); font-size: 24px; font-weight: 500; letter-spacing: .01em; line-height: 1;
}
.ksf-brandmark { width: 34px; height: 34px; color: var(--ksf-gold); }
.custom-logo { max-height: 52px; width: auto; }

.ksf-header__nav { justify-self: center; }
.ksf-header__nav .ksf-menu { display: flex; gap: clamp(16px, 2.2vw, 36px); list-style: none; margin: 0; padding: 0; }
.ksf-header__nav .ksf-menu > li { position: relative; }
.ksf-header__nav a {
	display: block; padding: 8px 0;
	font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
	color: inherit; text-decoration: none;
	border-bottom: 1px solid transparent;
}
.ksf-header__nav a:hover,
.ksf-header__nav .current-menu-item > a { border-bottom-color: currentColor; color: inherit; }
.ksf-header__nav .sub-menu {
	position: absolute; top: 100%; left: -20px; min-width: 220px;
	list-style: none; margin: 0; padding: 12px 20px;
	background: var(--ksf-ivory); box-shadow: var(--ksf-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.ksf-header__nav li:hover > .sub-menu,
.ksf-header__nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ksf-header__nav .sub-menu a { color: var(--ksf-forest); }

.ksf-header__actions { display: flex; align-items: center; gap: 10px; }
.ksf-header__toggle { display: none; }

/* Overlay header (transparent over the hero) */
.has-overlay-header .ksf-header {
	position: fixed; left: 0; right: 0;
	background: transparent; color: #fff; border-bottom-color: rgba(255, 255, 255, .18);
}
.has-overlay-header .ksf-header .ksf-btn--outline { color: #fff; border-color: rgba(255, 255, 255, .8); }
.has-overlay-header .ksf-header .ksf-btn--outline:hover { background: #fff; color: var(--ksf-forest); }
.has-overlay-header .ksf-header .ksf-btn--dark { background: #fff; color: var(--ksf-forest); }
.has-overlay-header .ksf-header .ksf-brandmark { color: #fff; }
.has-overlay-header .ksf-header.is-scrolled,
.has-overlay-header .ksf-header.is-open {
	background: rgba(250, 249, 246, .97); color: var(--ksf-forest);
	border-bottom-color: var(--ksf-line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.4);
}
.has-overlay-header .ksf-header.is-scrolled .ksf-btn--outline,
.has-overlay-header .ksf-header.is-open .ksf-btn--outline { color: var(--ksf-forest); border-color: var(--ksf-forest); }
.has-overlay-header .ksf-header.is-scrolled .ksf-btn--outline:hover { background: var(--ksf-forest); color: #fff; }
.has-overlay-header .ksf-header.is-scrolled .ksf-btn--dark,
.has-overlay-header .ksf-header.is-open .ksf-btn--dark { background: var(--ksf-forest); color: #fff; }
.has-overlay-header .ksf-header.is-scrolled .ksf-brandmark,
.has-overlay-header .ksf-header.is-open .ksf-brandmark { color: var(--ksf-gold); }

@supports (backdrop-filter: blur(8px)) {
	.ksf-header, .has-overlay-header .ksf-header.is-scrolled { backdrop-filter: saturate(1.2) blur(8px); }
	.has-overlay-header .ksf-header:not(.is-scrolled):not(.is-open) { backdrop-filter: none; }
}

.ksf-search-panel {
	border-top: 1px solid var(--ksf-line);
	background: var(--ksf-ivory); padding: 24px 0; color: var(--ksf-charcoal);
}

@media (max-width: 1100px) {
	.ksf-header__nav { display: none; }
	.ksf-header__inner { grid-template-columns: 1fr auto; }
	.ksf-header__toggle { display: inline-flex; }
	.ksf-hide-md { display: none !important; }
}
@media (max-width: 560px) {
	.ksf-hide-sm { display: none !important; }
	.ksf-wordmark__text { font-size: 20px; }
	:root { --ksf-header-h: 64px; }
}

/* Drawer */
.ksf-drawer { position: fixed; inset: 0; z-index: 200; }
.ksf-drawer[hidden] { display: none; }
.ksf-drawer__backdrop { position: absolute; inset: 0; background: rgba(18, 37, 31, .5); animation: ksf-fade .3s var(--ksf-ease); }
.ksf-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw);
	background: var(--ksf-ivory); padding: 20px 28px 40px; overflow-y: auto;
	display: flex; flex-direction: column; gap: 32px;
	animation: ksf-slide .35s var(--ksf-ease);
}
.ksf-drawer__head { display: flex; align-items: center; justify-content: space-between; color: var(--ksf-forest); }
.ksf-menu--drawer { list-style: none; margin: 0; padding: 0; }
.ksf-menu--drawer a {
	display: block; padding: 14px 0; border-bottom: 1px solid var(--ksf-line);
	font-family: var(--ksf-serif); font-size: 26px; color: var(--ksf-forest); text-decoration: none;
}
.ksf-menu--drawer .sub-menu { list-style: none; padding-left: 16px; }
.ksf-menu--drawer .sub-menu a { font-size: 20px; }
.ksf-drawer__cta { display: grid; gap: 12px; margin-top: auto; }
@keyframes ksf-fade { from { opacity: 0; } }
@keyframes ksf-slide { from { transform: translateX(40px); opacity: 0; } }

/* ---------- 7. Hero ---------- */
.ksf-hero {
	position: relative;
	min-height: min(92vh, 860px);
	display: flex; flex-direction: column; justify-content: center; align-items: center;
	padding: calc(var(--ksf-header-h) + 60px) var(--ksf-gutter) 150px;
	color: #fff; text-align: center; isolation: isolate;
	background: radial-gradient(120% 90% at 70% 10%, #3c5d4f 0%, var(--ksf-forest) 45%, var(--ksf-forest-deep) 100%);
}
.ksf-hero--hub { min-height: min(72vh, 680px); padding-bottom: 90px; }
.ksf-hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.ksf-hero__media img { width: 100%; height: 100%; object-fit: cover; animation: ksf-kenburns 18s var(--ksf-ease) both; }
.ksf-hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(10, 22, 18, .45) 0%, rgba(10, 22, 18, .18) 40%, rgba(10, 22, 18, .5) 100%);
}
@keyframes ksf-kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }

.ksf-hero__content { max-width: 760px; }
.ksf-hero__eyebrow {
	font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
	margin-bottom: 18px; color: rgba(255, 255, 255, .85);
}
.ksf-hero__title {
	color: #fff; font-weight: 300; text-transform: uppercase;
	font-size: clamp(36px, 5.6vw, 72px); letter-spacing: .06em; line-height: 1.05; margin-bottom: 20px;
}
.ksf-hero__text { font-size: clamp(15px, 1.4vw, 17px); color: rgba(255, 255, 255, .9); max-width: 560px; margin: 0 auto 32px; }

.ksf-hero__search {
	position: absolute; left: 50%; bottom: 48px; transform: translateX(-50%);
	width: min(880px, calc(100% - var(--ksf-gutter) * 2));
}

.ksf-scrollcue {
	display: flex; flex-direction: column; align-items: center; gap: 4px;
	padding-top: 18px; color: var(--ksf-muted);
	font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
}
.ksf-scrollcue .ksf-icon { width: 16px; height: 16px; }

/* ---------- 8. Filter / search bar ---------- */
.ksf-filter { display: flex; align-items: stretch; gap: 0; text-align: left; }
.ksf-filter__field {
	flex: 1 1 0; display: flex; flex-direction: column; justify-content: center;
	min-width: 0; padding: 10px 18px;
	background: #fff; border: 1px solid var(--ksf-line); border-right-width: 0;
	cursor: pointer;
}
.ksf-filter__label {
	display: flex; align-items: center; gap: 8px;
	font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ksf-forest);
}
.ksf-filter__label .ksf-icon { width: 14px; height: 14px; color: var(--ksf-gold); }
.ksf-filter select {
	appearance: none; -webkit-appearance: none;
	width: 100%; border: 0; background: transparent; padding: 4px 22px 2px 0;
	font-family: var(--ksf-sans); font-size: 14px; color: var(--ksf-charcoal); cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%239a6b32' stroke-width='1.5' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right center;
}
.ksf-filter select:focus { outline: none; }
.ksf-filter__field:focus-within { box-shadow: inset 0 -2px 0 var(--ksf-gold); }
.ksf-filter__submit { border-radius: 0; min-height: 64px; padding-inline: 32px; flex: none; }
.ksf-filter__reset {
	align-self: center; margin-left: 18px;
	font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ksf-muted);
}
.ksf-filter--hero { box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .55); }
.ksf-filter--hero .ksf-filter__field { border: 0; border-right: 1px solid var(--ksf-line); }

@media (max-width: 760px) {
	.ksf-filter { flex-direction: column; }
	.ksf-filter__field { border-right-width: 1px; border-bottom-width: 0; }
	.ksf-filter--hero .ksf-filter__field { border-right: 0; border-bottom: 1px solid var(--ksf-line); }
	.ksf-filter__submit { min-height: 52px; }
	.ksf-filter__reset { margin: 12px 0 0; }
	.ksf-hero { padding-bottom: 40px; min-height: auto; }
	.ksf-hero__search { position: relative; left: auto; bottom: auto; transform: none; width: 100%; margin-top: 40px; }
}

/* ---------- 9. Placeholders ---------- */
.ksf-placeholder {
	display: flex; align-items: center; justify-content: center;
	width: 100%; height: 100%; min-height: 100%;
	background:
		radial-gradient(circle at 30% 20%, rgba(255,255,255,.08), transparent 60%),
		linear-gradient(150deg, #2f4f43 0%, var(--ksf-forest) 55%, #12251f 100%);
	color: rgba(199, 166, 121, .55);
}
.ksf-placeholder .ksf-icon { width: 44px; height: 44px; stroke-width: 1; }

/* ---------- 10. Home sections ---------- */
.ksf-invite__grid {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(40px, 7vw, 120px); align-items: center;
	max-width: 1080px;
}
.ksf-invite__text { border-top: 1px solid var(--ksf-line); padding-top: 28px; }

.ksf-stack-images { position: relative; aspect-ratio: 1 / 1.02; }
.ksf-stack-images > div { position: absolute; overflow: hidden; box-shadow: var(--ksf-shadow); }
.ksf-stack-images__back { left: 0; top: 0; width: 56%; aspect-ratio: 4 / 5; }
.ksf-stack-images__front { right: 0; bottom: 0; width: 58%; aspect-ratio: 4 / 5; }
.ksf-stack-images img, .ksf-stack-images .ksf-placeholder { width: 100%; height: 100%; object-fit: cover; }
.ksf-stack-images__front .ksf-placeholder { background: linear-gradient(150deg, #b48a57, var(--ksf-gold-dark)); color: rgba(255,255,255,.4); }

.ksf-intro .ksf-h2 { margin-bottom: 20px; }
.ksf-intro .ksf-lead { color: var(--ksf-muted); font-size: clamp(18px, 1.7vw, 21px); margin-bottom: 28px; }

/* Featured wide */
.ksf-feature { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; aspect-ratio: 16 / 7.5; background: var(--ksf-forest); }
.ksf-feature__media, .ksf-feature__media img, .ksf-feature__media .ksf-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ksf-feature__media img { transition: transform 1.2s var(--ksf-ease); }
.ksf-feature:hover .ksf-feature__media img { transform: scale(1.04); }
.ksf-feature__overlay {
	position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
	padding: clamp(28px, 5vw, 64px);
	background: linear-gradient(90deg, rgba(10, 22, 18, .72) 0%, rgba(10, 22, 18, .2) 60%, transparent 100%);
}
.ksf-feature__title { color: #fff; font-size: clamp(34px, 4.6vw, 60px); font-weight: 300; font-style: italic; margin-bottom: 12px; max-width: 14em; }
.ksf-feature__text { max-width: 480px; color: rgba(255,255,255,.88); font-size: 15px; }
.ksf-feature__cta { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.ksf-feature__cta .ksf-icon { width: 16px; }
.ksf-feature:hover { color: #fff; }

@media (max-width: 760px) {
	.ksf-feature { aspect-ratio: 4 / 5; }
	.ksf-feature__overlay { background: linear-gradient(0deg, rgba(10,22,18,.8) 0%, rgba(10,22,18,.1) 70%); }
	.ksf-invite__grid { grid-template-columns: 1fr; }
}

/* Destinations rail */
.ksf-rail-section__grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; max-width: none; padding-right: 0; }
.ksf-rail-section__intro p { font-size: 14px; color: var(--ksf-muted); }
.ksf-rail-nav { display: flex; gap: 10px; margin-top: 24px; }
.ksf-rail {
	display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 22vw, 290px); gap: 20px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	padding-right: var(--ksf-gutter); overscroll-behavior-x: contain;
}
.ksf-rail::-webkit-scrollbar { display: none; }
.ksf-rail__item { scroll-snap-align: start; text-decoration: none; color: var(--ksf-charcoal); }
.ksf-rail__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 14px; }
.ksf-rail__media img, .ksf-rail__media .ksf-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ksf-ease); }
.ksf-rail__item:hover img { transform: scale(1.05); }
.ksf-rail__title { display: block; font-family: var(--ksf-serif); font-size: 22px; color: var(--ksf-forest); }
.ksf-rail__text { display: block; font-size: 13px; color: var(--ksf-muted); line-height: 1.5; margin-top: 2px; }

@media (max-width: 860px) {
	.ksf-rail-section__grid { grid-template-columns: 1fr; padding-right: 0; }
	.ksf-rail-section__intro { padding-right: var(--ksf-gutter); }
}

/* Tiles (stay styles) */
.ksf-tile__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 20px; }
.ksf-tile__media img, .ksf-tile__media .ksf-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ksf-ease); }
.ksf-tile:hover .ksf-tile__media img { transform: scale(1.04); }
.ksf-tile__title { font-size: 24px; margin-bottom: 6px; }
.ksf-tile__text { font-size: 14px; color: var(--ksf-muted); margin-bottom: 14px; }

/* Includes box */
.ksf-includes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; max-width: 1080px; }
.ksf-includes__box {
	position: relative; background: #fff; border: 1px solid var(--ksf-line);
	padding: clamp(32px, 4vw, 56px); outline: 1px solid var(--ksf-line); outline-offset: -10px;
}
.ksf-includes__ornament {
	position: absolute; top: -9px; left: 50%; transform: translateX(-50%) rotate(45deg);
	width: 16px; height: 16px; background: var(--ksf-ivory); border: 1px solid var(--ksf-gold-soft);
}
.ksf-includes__box .ksf-h3 { font-size: 26px; margin-bottom: 22px; }
.ksf-includes__media { aspect-ratio: 5 / 4; overflow: hidden; }
.ksf-includes__media img, .ksf-includes__media .ksf-placeholder { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .ksf-includes { grid-template-columns: 1fr; } }

/* Journal panel */
.ksf-journal-panel { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); max-width: 1180px; }
.ksf-journal-panel__media { min-height: 420px; overflow: hidden; }
.ksf-journal-panel__media img, .ksf-journal-panel__media .ksf-placeholder { width: 100%; height: 100%; object-fit: cover; }
.ksf-journal-panel__body {
	background: var(--ksf-sand-deep); padding: clamp(32px, 5vw, 72px);
	display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center;
}
.ksf-journal-panel__intro { font-size: 14px; color: var(--ksf-muted); max-width: 320px; }
.ksf-journal-panel__post { display: block; width: min(260px, 100%); margin: 8px 0 24px; text-decoration: none; color: var(--ksf-forest); }
.ksf-journal-panel__thumb { display: block; aspect-ratio: 3 / 4; overflow: hidden; margin-bottom: 14px; box-shadow: var(--ksf-shadow); }
.ksf-journal-panel__thumb img, .ksf-journal-panel__thumb .ksf-placeholder { width: 100%; height: 100%; object-fit: cover; }
.ksf-journal-panel__title { font-family: var(--ksf-serif); font-style: italic; font-size: 19px; line-height: 1.3; display: block; }
@media (max-width: 860px) {
	.ksf-journal-panel { grid-template-columns: 1fr; }
	.ksf-journal-panel__media { min-height: 280px; aspect-ratio: 4 / 3; }
}

/* Owners */
.ksf-owners__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; max-width: 1080px; }
.ksf-owners__text { max-width: 400px; }
.ksf-owners__text p:not(.ksf-eyebrow) { font-size: 15px; color: var(--ksf-muted); }
.ksf-owners__media { position: relative; aspect-ratio: 1 / 1.05; }
.ksf-owners__img { position: absolute; overflow: hidden; box-shadow: var(--ksf-shadow); }
.ksf-owners__img img, .ksf-owners__img .ksf-placeholder { width: 100%; height: 100%; object-fit: cover; }
.ksf-owners__img--a { left: 0; top: 8%; width: 52%; aspect-ratio: 4 / 5; }
.ksf-owners__img--b { right: 0; top: 0; width: 46%; aspect-ratio: 3 / 5; }
@media (max-width: 760px) { .ksf-owners__grid { grid-template-columns: 1fr; } }

/* Promise badges (laurel style) */
.ksf-badges {
	display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(24px, 6vw, 80px);
	list-style: none; margin: 0; padding: 0 var(--ksf-gutter);
}
.ksf-badges li {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
	width: 150px; height: 74px; padding: 0 28px;
	font-size: 9.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ksf-forest); text-align: center;
}
.ksf-badges li span { font-family: var(--ksf-serif); font-size: 19px; letter-spacing: .02em; text-transform: none; font-weight: 500; font-style: italic; color: var(--ksf-gold); }
.ksf-badges li::before,
.ksf-badges li::after {
	content: ""; position: absolute; top: 6px; bottom: 6px; width: 22px;
	border: 1.5px solid var(--ksf-forest); border-radius: 50%;
	border-right-color: transparent; border-top-color: transparent; border-bottom-color: transparent;
}
.ksf-badges li::before { left: 0; }
.ksf-badges li::after { right: 0; transform: scaleX(-1); }

/* ---------- 11. Cards ---------- */
.ksf-card { display: flex; flex-direction: column; }
.ksf-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 18px; background: var(--ksf-sand); }
.ksf-card__media img, .ksf-card__media .ksf-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ksf-ease); }
.ksf-card:hover .ksf-card__media img { transform: scale(1.045); }
.ksf-card__body { display: flex; flex-direction: column; flex: 1; }
.ksf-card__title { font-size: 25px; line-height: 1.2; margin-bottom: 8px; }
.ksf-card__title a { color: inherit; text-decoration: none; }
.ksf-card__title a:hover { color: var(--ksf-gold); }
.ksf-card__text { font-size: 14.5px; color: var(--ksf-muted); line-height: 1.65; margin-bottom: 16px; }
.ksf-card__foot {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ksf-line);
}
.ksf-card__price { font-family: var(--ksf-serif); font-size: 18px; color: var(--ksf-forest); }

/* ---------- 12. Page heads, breadcrumbs ---------- */
.ksf-pagehead { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 56px); }
.ksf-pagehead .ksf-lead { color: var(--ksf-muted); max-width: 680px; }
.ksf-pagehead.ksf-center .ksf-lead { margin-inline: auto; }

.ksf-breadcrumbs ol {
	display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 24px; padding: 0;
	font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ksf-muted);
}
.ksf-breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--ksf-line); }
.ksf-breadcrumbs a { color: var(--ksf-muted); text-decoration: none; }
.ksf-breadcrumbs a:hover { color: var(--ksf-gold); }
.ksf-breadcrumbs--center ol { justify-content: center; }
.ksf-breadcrumbs--hub ol { margin: 24px 0 0; }

/* ---------- 13. Directory ---------- */
.ksf-directory { padding-bottom: var(--ksf-section); }
.ksf-directory__bar { margin-bottom: 28px; }
.ksf-directory__count { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ksf-muted); margin-bottom: 28px; }
.ksf-directory__results { transition: opacity .25s var(--ksf-ease); }
.ksf-directory__results.is-loading { opacity: .4; pointer-events: none; }
.ksf-empty { text-align: center; padding: 64px 20px; border: 1px solid var(--ksf-line); background: #fff; }
.ksf-empty p { color: var(--ksf-muted); }

.ksf-pagination { margin-top: 56px; }
.ksf-pagination ul { display: flex; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.ksf-pagination a, .ksf-pagination span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px;
	border: 1px solid var(--ksf-line); color: var(--ksf-forest); text-decoration: none; font-size: 14px;
}
.ksf-pagination .current { background: var(--ksf-forest); color: #fff; border-color: var(--ksf-forest); }
.ksf-pagination a:hover { border-color: var(--ksf-gold); color: var(--ksf-gold); }
.ksf-pagination .dots { border: 0; }

/* Hub guide */
.ksf-guide { padding-top: clamp(40px, 5vw, 72px); }
.ksf-guide__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.ksf-guide__main .ksf-lead { margin-bottom: 28px; }
.ksf-guide__body.is-collapsed { max-height: 520px; overflow: hidden; position: relative; }
.ksf-guide__body.is-collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(transparent, var(--ksf-ivory)); }
.ksf-guide__toggle { margin-top: 16px; }
@media (max-width: 900px) { .ksf-guide__grid { grid-template-columns: 1fr; } }

.ksf-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.ksf-chips a {
	display: inline-block; padding: 6px 14px; border: 1px solid var(--ksf-line); border-radius: 999px;
	font-size: 12px; color: var(--ksf-forest); text-decoration: none; background: #fff;
}
.ksf-chips a:hover { border-color: var(--ksf-gold); color: var(--ksf-gold); }

/* ---------- 14. Single stay ---------- */
.ksf-stay__header { padding: clamp(32px, 4vw, 56px) 0 32px; }
.ksf-stay__titlebar { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.ksf-stay__titlebar .ksf-h1 { margin-bottom: 14px; }
.ksf-stay__standfirst { font-family: var(--ksf-serif); font-size: clamp(19px, 1.8vw, 23px); line-height: 1.5; color: var(--ksf-muted); max-width: 720px; margin: 0; }
.ksf-stay__quick { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; flex: none; }
.ksf-stay__price, .ksf-factbox__price { margin: 0; font-family: var(--ksf-serif); font-size: 24px; color: var(--ksf-forest); text-align: right; line-height: 1.2; }
.ksf-stay__price span, .ksf-factbox__price span {
	display: block; font-family: var(--ksf-sans); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ksf-gold); margin-bottom: 4px;
}
@media (max-width: 860px) {
	.ksf-stay__titlebar { flex-direction: column; align-items: flex-start; }
	.ksf-stay__quick { align-items: flex-start; }
	.ksf-stay__price { text-align: left; }
}

/* Gallery mosaic */
.ksf-gallery { position: relative; display: grid; gap: 8px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 16 / 7.2; }
.ksf-gallery__item { position: relative; overflow: hidden; display: block; background: var(--ksf-sand); }
.ksf-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ksf-ease); }
.ksf-gallery__item:hover img { transform: scale(1.04); }
.ksf-gallery__item:first-child { grid-row: span 2; }
.ksf-gallery--1 { grid-template-columns: 1fr; }
.ksf-gallery--2 { grid-template-columns: 2fr 1fr; }
.ksf-gallery--2 .ksf-gallery__item:nth-child(2) { grid-row: span 2; }
.ksf-gallery--3 { grid-template-columns: 2fr 1fr; }
.ksf-gallery--4 { grid-template-columns: 2fr 1fr 1fr; }
.ksf-gallery--4 .ksf-gallery__item:nth-child(4) { grid-column: span 2; }
.ksf-gallery__more {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	background: rgba(18, 37, 31, .5); color: #fff; font-family: var(--ksf-serif); font-size: 32px;
}
.ksf-gallery__all {
	position: absolute; right: 16px; bottom: 16px;
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
	background: rgba(250, 249, 246, .95); border: 0; cursor: pointer; color: var(--ksf-forest);
	font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.ksf-gallery__all .ksf-icon { width: 15px; height: 15px; }
@media (max-width: 760px) {
	.ksf-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; aspect-ratio: auto; margin-inline: calc(var(--ksf-gutter) * -1); gap: 6px; scrollbar-width: none; }
	.ksf-gallery::-webkit-scrollbar { display: none; }
	.ksf-gallery__item { flex: 0 0 86%; aspect-ratio: 4 / 3; scroll-snap-align: center; }
	.ksf-gallery__all { right: calc(var(--ksf-gutter) + 8px); }
	.ksf-gallery__more { display: none; }
}

/* Two-column layout with sticky sidebar */
.ksf-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 96px); padding-block: clamp(40px, 5vw, 72px) var(--ksf-section); }
.ksf-layout__main { min-width: 0; max-width: var(--ksf-narrow); }
.ksf-sticky { position: sticky; top: calc(var(--ksf-header-h) + 24px); display: grid; gap: 32px; }
.admin-bar .ksf-sticky { top: calc(var(--ksf-header-h) + 56px); }
@media (max-width: 1000px) {
	.ksf-layout { grid-template-columns: 1fr; }
	.ksf-layout__aside { order: -1; }
	.ksf-layout__aside .ksf-sticky { position: static; }
	.ksf-hide-mobile { display: none !important; }
	.ksf-article .ksf-layout__aside { order: 0; }
}

.ksf-factbox { background: #fff; border: 1px solid var(--ksf-line); padding: 28px; }
.ksf-factbox dl { margin: 18px 0 22px; }
.ksf-factbox dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--ksf-line); font-size: 14px; }
.ksf-factbox dt { color: var(--ksf-muted); }
.ksf-factbox dd { margin: 0; text-align: right; }
.ksf-factbox dd a { text-decoration: none; }
.ksf-factbox__price { text-align: left; }
.ksf-factbox__note { font-size: 12px; color: var(--ksf-muted); margin: 14px 0 0; text-align: center; }
.ksf-factbox p { font-size: 14px; }
.ksf-guide__aside .ksf-factbox dl { margin-top: 0; }

.ksf-highlights { background: var(--ksf-sand); padding: 28px 32px; margin-bottom: 48px; }
.ksf-highlights ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.ksf-highlights li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.ksf-highlights .ksf-icon { color: var(--ksf-gold); width: 18px; height: 18px; margin-top: 2px; }
@media (max-width: 560px) { .ksf-highlights ul { grid-template-columns: 1fr; } }

.ksf-location { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--ksf-line); }
.ksf-facts { display: grid; gap: 0; margin: 0 0 24px; }
.ksf-facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ksf-line); font-size: 15px; }
.ksf-facts dt { display: flex; align-items: center; gap: 8px; color: var(--ksf-muted); font-size: 13px; letter-spacing: .04em; }
.ksf-facts dt .ksf-icon { color: var(--ksf-gold); width: 17px; height: 17px; }
.ksf-facts dd { margin: 0; }
.ksf-location__notes { font-size: 15px; color: var(--ksf-muted); }
.ksf-map { position: relative; aspect-ratio: 16 / 9; background: var(--ksf-sand); margin-bottom: 18px; overflow: hidden; }
.ksf-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ksf-map__load {
	position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	background:
		repeating-linear-gradient(45deg, transparent 0 22px, rgba(27,54,45,.04) 22px 23px),
		var(--ksf-sand);
	border: 0; cursor: pointer; color: var(--ksf-forest); font-family: var(--ksf-sans);
}
.ksf-map__load .ksf-icon { width: 30px; height: 30px; color: var(--ksf-gold); }
.ksf-map__load span { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.ksf-map__load small { font-size: 12px; color: var(--ksf-muted); }
@media (max-width: 560px) { .ksf-facts > div { grid-template-columns: 1fr; gap: 2px; } }

.ksf-contact-card {
	margin-top: 48px; background: var(--ksf-forest); color: #fff; padding: clamp(32px, 4vw, 52px);
	position: relative; outline: 1px solid rgba(199, 166, 121, .35); outline-offset: -12px;
}
.ksf-contact-card .ksf-h3 { color: #fff; margin-bottom: 6px; }
.ksf-contact-card .ksf-eyebrow { color: var(--ksf-gold-soft); }
.ksf-contact-card__price { font-family: var(--ksf-serif); font-size: 20px; color: rgba(255,255,255,.85); }
.ksf-contact-card__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.ksf-contact-card .ksf-btn--dark { background: var(--ksf-gold); }
.ksf-contact-card .ksf-btn--dark:hover { background: var(--ksf-gold-dark); }
.ksf-contact-card .ksf-btn--outline { color: #fff; border-color: rgba(255,255,255,.6); letter-spacing: .06em; }
.ksf-contact-card .ksf-btn--outline:hover { background: #fff; color: var(--ksf-forest); }
.ksf-contact-card__links { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; }
.ksf-contact-card__links li { display: flex; align-items: center; gap: 8px; }
.ksf-contact-card__links .ksf-icon { color: var(--ksf-gold-soft); width: 17px; }
.ksf-contact-card__links a { color: #fff; }
.ksf-contact-card__links a:hover { color: var(--ksf-gold-soft); }
.ksf-contact-card__note { font-size: 12px; color: rgba(255,255,255,.6); margin: 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }

/* ---------- 15. Prose (post content) ---------- */
.ksf-prose { font-size: 17.5px; line-height: 1.8; }
.ksf-prose > *:first-child { margin-top: 0; }
.ksf-prose h2 { font-size: clamp(28px, 2.8vw, 36px); margin: 1.6em 0 .5em; }
.ksf-prose h3 { font-size: 26px; margin: 1.5em 0 .5em; }
.ksf-prose h4 { font-size: 21px; margin: 1.4em 0 .4em; font-weight: 500; }
.ksf-prose ul, .ksf-prose ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.ksf-prose li { margin-bottom: .4em; }
.ksf-prose li::marker { color: var(--ksf-gold); }
.ksf-prose blockquote, .ksf-prose .wp-block-quote {
	margin: 2em 0; padding: 0 0 0 28px; border-left: 2px solid var(--ksf-gold);
	font-family: var(--ksf-serif); font-size: 26px; font-style: italic; line-height: 1.45; color: var(--ksf-forest);
}
.ksf-prose blockquote cite { display: block; margin-top: 10px; font-family: var(--ksf-sans); font-size: 12px; font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--ksf-muted); }
.ksf-prose figure { margin: 2.2em 0; }
.ksf-prose figcaption, .ksf-prose .wp-element-caption { font-size: 13px; color: var(--ksf-muted); margin-top: 10px; text-align: center; }
.ksf-prose img { margin-inline: auto; }
.ksf-prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 1.6em; }
.ksf-prose th, .ksf-prose td { padding: 12px 14px; border-bottom: 1px solid var(--ksf-line); text-align: left; }
.ksf-prose th { background: var(--ksf-forest); color: #fff; font-weight: 500; }
.ksf-prose hr { border: 0; border-top: 1px solid var(--ksf-line); margin: 3em 0; }
.ksf-prose .alignwide { margin-inline: calc(var(--ksf-gutter) * -1); }
.ksf-prose--full > * { max-width: calc(var(--ksf-narrow) + var(--ksf-gutter) * 2); margin-inline: auto; padding-inline: var(--ksf-gutter); }
.ksf-prose--full > .alignwide { max-width: calc(var(--ksf-container) + var(--ksf-gutter) * 2); }
.ksf-prose--full > .alignfull { max-width: none; padding-inline: 0; }
.ksf-prose .wp-block-button__link { background: var(--ksf-gold); border-radius: var(--ksf-radius); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 14px 26px; }

/* Journal */
.ksf-article__header { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); }
.ksf-article__header .ksf-lead { color: var(--ksf-muted); }
.ksf-article__cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.ksf-article__footer { margin-top: 48px; }

.ksf-lead-story { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; margin-bottom: clamp(56px, 7vw, 96px); }
.ksf-lead-story__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.ksf-lead-story__media img, .ksf-lead-story__media .ksf-placeholder { width: 100%; height: 100%; object-fit: cover; }
.ksf-lead-story .ksf-h2 a { color: inherit; text-decoration: none; }
.ksf-lead-story p:not(.ksf-eyebrow) { color: var(--ksf-muted); }
@media (max-width: 860px) { .ksf-lead-story { grid-template-columns: 1fr; } }

.ksf-widget { margin-bottom: 0; font-size: 14px; }
.ksf-widget__title { font-size: 22px; }
.ksf-widget ul { padding-left: 1.1em; }

/* Comments */
.ksf-comments { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--ksf-line); }
.ksf-comments__list { list-style: none; padding: 0; }
.ksf-comments .comment-body { padding: 20px 0; border-bottom: 1px solid var(--ksf-line); font-size: 15px; }
.ksf-comments .avatar { border-radius: 50%; float: left; margin-right: 12px; }
.ksf-comments .children { list-style: none; padding-left: 28px; }

/* ---------- 16. Forms ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="number"], input[type="password"], textarea, select {
	font: inherit; font-size: 15px; color: var(--ksf-charcoal);
}
.ksf-form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.ksf-form__field { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.ksf-form__field--textarea, .ksf-form__actions { grid-column: 1 / -1; }
.ksf-form__field label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ksf-forest); }
.ksf-form__field label span { color: var(--ksf-gold); }
.ksf-form input:not([type="hidden"]), .ksf-form textarea, .comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea {
	width: 100%; padding: 13px 14px; background: #fff; border: 1px solid var(--ksf-line); border-radius: var(--ksf-radius);
	transition: border-color .2s;
}
.ksf-form input:focus, .ksf-form textarea:focus { outline: none; border-color: var(--ksf-gold); }
.ksf-form__actions { margin: 6px 0 0; }
.ksf-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ksf-form__notice { grid-column: 1 / -1; padding: 12px 16px; font-size: 14px; border-left: 3px solid; margin-bottom: 20px; }
.ksf-form__notice.is-success { background: #eef3ef; border-color: var(--ksf-forest); color: var(--ksf-forest); }
.ksf-form__notice.is-error { background: #f8eeea; border-color: #a24a2a; color: #7a3016; }
.ksf-form__privacy { font-size: 12px; color: var(--ksf-muted); margin: 16px 0 0; }
@media (max-width: 640px) { .ksf-form__fields { grid-template-columns: 1fr; } }

.ksf-searchform { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--ksf-line); padding: 6px 6px 6px 16px; max-width: 640px; margin: 24px auto 0; }
.ksf-searchform > .ksf-icon { color: var(--ksf-gold); }
.ksf-searchform input { flex: 1; min-width: 0; border: 0; padding: 8px 0; background: transparent; }
.ksf-searchform input:focus { outline: none; }
.ksf-search-panel .ksf-searchform { margin-top: 0; }

.ksf-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.ksf-panel { background: #fff; border: 1px solid var(--ksf-line); padding: clamp(24px, 4vw, 48px); }
.ksf-contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; font-size: 15px; }
.ksf-contact-list li { display: flex; align-items: center; gap: 12px; }
.ksf-contact-list .ksf-icon { color: var(--ksf-gold); }
@media (max-width: 900px) { .ksf-split { grid-template-columns: 1fr; } }

.ksf-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ksf-steps li { padding: 32px; border: 1px solid var(--ksf-line); background: #fff; }
.ksf-steps span { display: block; font-family: var(--ksf-serif); font-size: 40px; font-style: italic; color: var(--ksf-gold); line-height: 1; margin-bottom: 16px; }
.ksf-steps p { font-size: 14px; color: var(--ksf-muted); margin: 0; }
@media (max-width: 860px) { .ksf-steps { grid-template-columns: 1fr; } }

/* ---------- 17. Ads (pre-sized to prevent layout shift) ---------- */
.ksf-ad { margin: 48px auto; text-align: center; }
.ksf-ad__label { display: block; font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: #a19d94; margin-bottom: 8px; }
.ksf-ad__box { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ksf-ad--below-hero .ksf-ad__box { min-height: 100px; }
.ksf-ad--below-hero { margin: 40px auto 0; max-width: 970px; }
.ksf-ad--before-contact .ksf-ad__box, .ksf-ad--in-article .ksf-ad__box { min-height: 280px; }
.ksf-ad--sidebar { margin: 0; }
.ksf-ad--sidebar .ksf-ad__box { min-height: 600px; width: 300px; }
.ksf-ad--infeed { margin: 0; display: flex; flex-direction: column; }
.ksf-ad--infeed .ksf-ad__box { flex: 1; min-height: 360px; }
.ksf-grid__ad { grid-column: 1 / -1; }
@media (min-width: 1001px) { .ksf-grid__ad { grid-column: auto; } }
.ksf-ad.is-preview .ksf-ad__box { border: 1px dashed var(--ksf-gold-soft); background: rgba(199, 166, 121, .08); padding: 16px; }
.ksf-ad__placeholder { font-size: 12px; color: var(--ksf-gold-dark); max-width: 240px; }
.ksf-ad ins { width: 100%; }

/* ---------- 18. Newsletter & footer ---------- */
.ksf-newsletter { padding: 44px 0 0; }
.ksf-newsletter__inner {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: center; gap: 24px 48px;
	background: var(--ksf-sand-deep); padding-block: 30px;
	max-width: calc(var(--ksf-container) + var(--ksf-gutter) * 2);
}
.ksf-newsletter__text { margin: 0; font-family: var(--ksf-serif); font-size: clamp(19px, 1.8vw, 23px); color: var(--ksf-forest); line-height: 1.35; }
.ksf-newsletter .ksf-form__fields { grid-template-columns: 1fr auto; gap: 0; }
.ksf-newsletter .ksf-form__actions { grid-column: auto; margin: 0; }
.ksf-newsletter input[type="email"] { border-right: 0; border-radius: 0; height: 48px; }
.ksf-newsletter .ksf-btn { border-radius: 0; height: 48px; }
@media (max-width: 760px) {
	.ksf-newsletter__inner { grid-template-columns: 1fr; }
}

.ksf-footer { background: var(--ksf-ivory); padding: clamp(48px, 6vw, 80px) 0 32px; font-size: 14px; color: var(--ksf-muted); }
.ksf-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--ksf-line); }
.ksf-footer__title { font-family: var(--ksf-sans); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ksf-forest); margin-bottom: 18px; }
.ksf-footer .ksf-menu, .ksf-footer .ksf-page-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ksf-footer a { color: var(--ksf-charcoal); text-decoration: none; }
.ksf-footer a:hover { color: var(--ksf-gold); }
.ksf-footer__col--about p { max-width: 340px; }
.ksf-footer__contact { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.ksf-footer__contact li { display: flex; align-items: center; gap: 10px; }
.ksf-footer__contact .ksf-icon { color: var(--ksf-gold); width: 17px; }
.ksf-footer__disclaimer { display: flex; gap: 14px; align-items: flex-start; padding: 28px 0; border-bottom: 1px solid var(--ksf-line); font-size: 13px; }
.ksf-footer__disclaimer p { margin: 0; max-width: 820px; }
.ksf-footer__disclaimer .ksf-icon { color: var(--ksf-gold); margin-top: 2px; }
.ksf-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 24px; font-size: 12px; }
.ksf-footer__copy { margin: 0; }
.ksf-footer__legal .ksf-menu { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ksf-footer__legal a { color: var(--ksf-muted); }
.ksf-social { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.ksf-social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; color: var(--ksf-forest); border-radius: 50%; }
.ksf-social a:hover { background: var(--ksf-sand); color: var(--ksf-gold); }
.ksf-social .ksf-icon { width: 18px; height: 18px; }
@media (max-width: 900px) { .ksf-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ksf-footer__grid { grid-template-columns: 1fr; } }

/* ---------- 19. Lightbox ---------- */
.ksf-lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(12, 22, 19, .96); color: #fff; }
.ksf-lightbox::backdrop { background: rgba(12, 22, 19, .9); }
.ksf-lightbox__stage { position: absolute; inset: 64px 72px; display: flex; align-items: center; justify-content: center; }
.ksf-lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ksf-lightbox__btn { position: absolute; color: #fff; background: rgba(255,255,255,.08); }
.ksf-lightbox__btn:hover { color: var(--ksf-gold-soft); background: rgba(255,255,255,.14); }
.ksf-lightbox__close { top: 16px; right: 16px; }
.ksf-lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.ksf-lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.ksf-lightbox__count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: 12px; letter-spacing: .2em; }
@media (max-width: 640px) { .ksf-lightbox__stage { inset: 64px 8px; } }

/* ---------- 20. Utilities, WP core ---------- */
.alignleft { float: left; margin: .4em 1.6em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.6em; }
.aligncenter { margin-inline: auto; }
.wp-caption { max-width: 100%; }
.sticky, .bypostauthor, .gallery-caption { }
.ksf-404 { padding-block: clamp(80px, 12vw, 160px); }
.ksf-page-links { margin-top: 32px; font-size: 14px; }

/* Reveal-on-scroll (progressive: only when JS adds .ksf-js) */
.ksf-js .ksf-reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ksf-ease), transform .9s var(--ksf-ease); }
.ksf-js .ksf-reveal.is-visible { opacity: 1; transform: none; }

@media print {
	.ksf-header, .ksf-footer, .ksf-newsletter, .ksf-ad, .ksf-layout__aside, .ksf-map { display: none !important; }
	body { background: #fff; }
}
