/* =========================================================
   Layout of the pages built by the templates (rental page,
   showcase, archive). Measures follow the Kadence rows:
   1290 container, 30 gutter, 110 px section padding.
   ========================================================= */

#primary.kst-area { margin: 0; padding: 0; }
.kst-page { --kst-gutter: 30px; background: var(--kst-paper); } /* the site background is coloured: the page is white like the Kadence article */
.kst-page > *:first-child { margin-top: 0; }

/* ---------- sections ---------- */

.kst-sec { position: relative; padding: 110px 0; }
.kst-sec__in {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	max-width: var(--global-content-width, 1290px);
	margin: 0 auto;
	padding: 0 20px;
}
.kst-sec--tight { padding: 50px 0 40px; }
.kst-hero { padding: 70px 0 90px; }
.kst-panel-bg { background: color-mix(in srgb, var(--kst-soft) 50%, transparent); }
.kst-numbers { background: color-mix(in srgb, var(--kst-soft) 75%, var(--kst-paper)); }
.kst-photos, .kst-info { background: color-mix(in srgb, var(--kst-soft) 40%, var(--kst-paper)); }
.kst-book { background: var(--kst-soft); }

/* coloured panel over part of the row (like the Kadence gradient overlay) */
.kst-panel::before {
	content: '';
	position: absolute;
	inset: 0;
	opacity: .8;
	pointer-events: none;
}
.kst-panel--right::before { background: linear-gradient(270deg, var(--kst-soft) var(--kst-panel, 30%), var(--kst-paper) var(--kst-panel, 30%)); }
.kst-panel--left::before  { background: linear-gradient(90deg,  var(--kst-soft) var(--kst-panel, 30%), var(--kst-paper) var(--kst-panel, 30%)); }

@media (max-width: 1024px) {
	.kst-sec { padding: 80px 0; }
	.kst-sec__in { padding: 0 30px; }
	.kst-sec--tight { padding: 40px 0 30px; }
	.kst-hero { padding: 60px 0; }
}
@media (max-width: 767px) {
	.kst-sec { padding: 60px 0; }
	.kst-sec__in { padding: 0 24px; }
	.kst-sec--tight { padding: 30px 0 20px; }
	.kst-hero { padding: 40px 0 50px; }
	.kst-panel::before { background: var(--kst-soft); opacity: .55; }
	.kst-hero.kst-panel::before { opacity: .45; }
}

/* ---------- section text ---------- */

/* wide enough for a title on one line at 1440: text-wrap: balance splits a title that does not fit into two short halves */
.kst-head { max-width: 1100px; margin: 0 auto 56px; text-align: center; }
.kst-head .kst-lede { margin-left: auto; margin-right: auto; }
/* titles get the spacing of Kadence blocks: 1.5em above, .5em below */
.kst-page h1.kst-title, .kst-page h2.kst-title, .kst-page h3.kst-title { margin: 1.5em 0 .5em; }
.kst-page .kst-head .kst-lede { margin: 0 auto; max-width: 45em; text-wrap: pretty; }
.kst-page .kst-lede { margin: 0 0 32px; }
.kst-page .kst-eyebrow { margin-bottom: 18px; }
.kst-prose p { margin: 0 0 1.2em; }
.kst-prose p:last-child { margin-bottom: 0; }
@media (max-width: 1024px) { .kst-head { margin-bottom: 45px; } }
@media (max-width: 767px)  { .kst-head { margin-bottom: 34px; } }

/* ---------- buttons ---------- */

.kst-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.kst-btns--center { justify-content: center; }
.kst-page a.button.kst-btn { text-decoration: none; }
.kst-btn-outline, .kst-btn-outline:visited {
	color: var(--kst-accent) !important;
	background: transparent !important;
	box-shadow: inset 0 0 0 1px var(--kst-accent);
}
.kst-btn-outline:hover, .kst-btn-outline:focus-visible, .kst-btn-outline:active {
	color: var(--kst-paper) !important;
	background: var(--kst-accent) !important;
}
@media (max-width: 767px) {
	.kst-btns { justify-content: center; }
	.kst-hero .kst-btns { flex-direction: column; align-items: stretch; }
	.kst-hero .kst-btns .button { width: 100%; justify-content: center; text-align: center; }
}

/* ---------- two-column grids ---------- */

.kst-split { display: grid; gap: var(--kst-gutter); align-items: center; }
.kst-split--hero { grid-template-columns: 47fr 53fr; }
.kst-split--casa { grid-template-columns: 52fr 48fr; }
.kst-split--info { grid-template-columns: 60fr 40fr; align-items: start; }
.kst-split--form { grid-template-columns: 42fr 58fr; }
.kst-hero__photos { padding-left: 24px; }
.kst-casa__photos { padding-right: 40px; }
.kst-casa__text   { padding-left: 30px; }
.kst-info__faq    { padding-right: 50px; }
.kst-book__text   { padding-right: 40px; }
@media (min-width: 1025px) {
	/* the host box stays put while the answers open beside it */
	.kst-split--info > .kst-host { position: sticky; top: 130px; }
}
.kst-book__text .kst-cin { margin-top: 10px; }
@media (max-width: 1024px) {
	.kst-split { grid-template-columns: 1fr !important; }
	.kst-hero__photos, .kst-casa__text { padding: 0; }
	.kst-casa__photos, .kst-info__faq, .kst-book__text { padding: 0 0 40px; }
	.kst-hero__text { padding-bottom: 40px; }
}

/* ---------- photos ---------- */

.kst-photo { margin: 0; }
.kst-photo img { display: block; width: 100%; height: auto; box-shadow: 0 30px 50px -30px var(--kst-shadow); }
.kst-photo--4-3 img, .kst-photo--3-4 img, .kst-photo--1-1 img { height: 100%; object-fit: cover; }
.kst-photo--4-3 { aspect-ratio: 4 / 3; }
.kst-photo--3-4 { aspect-ratio: 3 / 4; }
.kst-photo--1-1 { aspect-ratio: 1; }
.kst-photo--4-3 img, .kst-photo--3-4 img, .kst-photo--1-1 img { position: absolute; inset: 0; }
.kst-photo--4-3, .kst-photo--3-4, .kst-photo--1-1 { position: relative; }

/* two overlapping photos: the second overlaps the first */
.kst-stack { display: grid; grid-template-columns: 60fr 40fr; align-items: start; }
.kst-stack .kst-photo { position: relative; z-index: 1; }
.kst-stack .kst-stack__over { z-index: 2; margin: 200px 0 0 -130px; }
.kst-stack__over img { box-shadow: 0 40px 70px -30px var(--kst-shadow); }
.kst-stack--casa { grid-template-columns: 52fr 48fr; }
.kst-stack--casa .kst-stack__over { margin: 230px 0 0 -110px; }
@media (max-width: 1024px) {
	.kst-stack .kst-stack__over { margin: 150px 0 0 -90px; }
	.kst-stack--casa .kst-stack__over { margin: 160px 0 0 -80px; }
}
@media (max-width: 767px) {
	.kst-stack { grid-template-columns: 66fr 34fr; }
	.kst-stack .kst-stack__over { margin: 80px 0 0 -80px; }
	.kst-stack--casa { grid-template-columns: 1fr 1fr; }
	.kst-stack--casa .kst-stack__over { margin: 24px 0 0 0; }
}

/* ---------- numbers ---------- */

.kst-numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--kst-gutter); }
.kst-numbers__item { border-left: 1px solid var(--kst-soft); padding-left: 28px; }
.kst-numbers__item:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 1024px) { .kst-numbers__grid { grid-template-columns: 1fr 1fr; row-gap: 30px; } .kst-numbers__item:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 767px) {
	.kst-numbers__grid { gap: 20px; }
	.kst-numbers__item, .kst-numbers__item:first-child { border-left: 0; padding-left: 0; border-top: 1px solid var(--kst-soft); padding-top: 18px; }
}

/* ---------- amenities (check list) ---------- */

.kst-checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.kst-checks li { position: relative; padding-left: 37px; font-size: 16px; line-height: 1.5; color: var(--kst-ink); min-height: 25px; }
.kst-checks li::before {
	content: '';
	position: absolute;
	left: 0; top: 0;
	width: 25px; height: 25px;
	box-sizing: border-box;
	border: 1px solid var(--kst-accent);
	background-color: var(--kst-accent);
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 13px no-repeat;
	        mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 13px no-repeat;
}
.kst-checks li::after { content: ''; position: absolute; left: 0; top: 0; width: 25px; height: 25px; box-sizing: border-box; border: 1px solid var(--kst-accent); }
@media (max-width: 767px) { .kst-checks { grid-template-columns: 1fr; } }

/* ---------- rooms ---------- */

.kst-rooms__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; align-items: center; margin-bottom: 60px; }
.kst-rooms__row:last-child { margin-bottom: 0; }
.kst-page .kst-room__title { margin: 8px 0 12px; }
.kst-room__text { margin: 0; }
@media (max-width: 1024px) {
	.kst-rooms__row { grid-template-columns: 1fr; gap: 30px; margin-bottom: 48px; }
	.kst-rooms__row--right .kst-rooms__photo { order: -1; }
	.kst-rooms__photo { max-width: 420px; }
}

/* ---------- gallery ---------- */

.kst-gal { columns: 4; column-gap: 14px; margin-top: 40px; }
.kst-gal__item { display: block; break-inside: avoid; margin: 0 0 14px; overflow: hidden; background: var(--kst-soft); }
.kst-gal__item img { display: block; width: 100%; height: auto; transition: transform 1.1s var(--kst-ease); }
.kst-gal__item:hover img { transform: scale(1.045); }
.kst-gal__item:focus-visible { outline: 2px solid var(--kst-accent); outline-offset: 2px; }
@media (max-width: 1024px) { .kst-gal { columns: 3; } }
@media (max-width: 767px)  { .kst-gal { columns: 2; column-gap: 10px; margin-top: 28px; } .kst-gal__item { margin-bottom: 10px; } }

/* lightbox */
.kst-lb { border: 0; padding: 0; max-width: none; max-height: none; width: 100vw; height: 100vh; background: color-mix(in srgb, var(--kst-ink) 92%, transparent); color: var(--kst-paper); }
.kst-lb::backdrop { background: transparent; }
.kst-lb__stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.kst-lb__img { max-width: 92vw; max-height: 86vh; object-fit: contain; box-shadow: 0 40px 80px -30px color-mix(in srgb, var(--kst-ink) 70%, transparent); }
.kst-lb__cap { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; font-family: var(--kst-caps); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--kst-paper); opacity: .85; }
.kst-lb__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--kst-paper) 12%, transparent); color: var(--kst-paper); font-size: 26px; line-height: 52px; text-align: center; cursor: pointer; padding: 0; transition: background-color .3s; }
.kst-lb__btn:hover { background: color-mix(in srgb, var(--kst-paper) 28%, transparent); }
.kst-lb__btn--prev { left: 18px; }
.kst-lb__btn--next { right: 18px; }
.kst-lb__close { position: absolute; top: 16px; right: 18px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--kst-paper); font-size: 34px; line-height: 44px; cursor: pointer; padding: 0; }
.kst-lb__count { position: absolute; top: 24px; left: 24px; font-family: var(--kst-caps); font-size: 12px; letter-spacing: .1em; opacity: .7; }
@media (max-width: 767px) { .kst-lb__btn { width: 42px; height: 42px; line-height: 42px; font-size: 22px; } .kst-lb__btn--prev { left: 8px; } .kst-lb__btn--next { right: 8px; } }

/* ---------- reviews ---------- */

.kst-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 40px; }
.kst-card { background: var(--kst-paper); border: 1px solid var(--kst-accent); }
.kst-card__in { position: relative; padding: 56px 36px 36px; }
.kst-reviews__more { display: flex; justify-content: center; }
.kst-reviews__more .kst-btns { margin-top: 0; }
@media (max-width: 1024px) { .kst-cards { grid-template-columns: 1fr; gap: 30px; } .kst-card__in { padding: 50px 30px 30px; } }
@media (max-width: 767px)  { .kst-card__in { padding: 50px 24px 24px; } }

/* ---------- FAQ ---------- */

.kst-faq { margin-top: 8px; overflow-anchor: none; } /* answers opening and closing never scroll the page */
.kst-faq__item { border-bottom: 1px solid var(--kst-soft); }
.kst-faq__q {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding: 18px 40px 18px 0;
	font-family: var(--kst-heading);
	font-size: 24px;
	line-height: 30px;
	color: var(--kst-ink);
	transition: color .3s var(--kst-ease);
}
.kst-faq__q::-webkit-details-marker { display: none; }
.kst-faq__q:hover, .kst-faq__item[open] .kst-faq__q { color: var(--kst-accent); }
.kst-faq__icon { position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .35s var(--kst-ease); }
.kst-faq__item[open] .kst-faq__icon { transform: translateY(-30%) rotate(-135deg); }
.kst-faq__a { padding: 4px 40px 22px 0; }
.kst-faq__a p { font-size: 17px; margin: 0; }
@media (max-width: 767px) { .kst-faq__q { font-size: 20px; line-height: 26px; } .kst-faq__a { padding-right: 0; } }
@media (prefers-reduced-motion: no-preference) {
	.kst-faq__item[open] .kst-faq__a { animation: kst-faq-in .45s var(--kst-ease) both; }
}
@keyframes kst-faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- host ---------- */

.kst-host { background: var(--kst-soft); }
.kst-host__in { padding: 50px 44px; }
.kst-host__photo { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; margin: 0 0 24px; }
.kst-host__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kst-page .kst-host .kst-title { margin-bottom: 16px; }
.kst-host p { margin: 0 0 16px; }
.kst-host .kst-host__langs { margin-bottom: 28px; }
@media (max-width: 1024px) { .kst-host__in { padding: 40px 30px; } }
@media (max-width: 767px)  { .kst-host__in { padding: 36px 24px; } }

/* ---------- booking ---------- */

.kst-offers { display: grid; gap: 40px; margin-bottom: 80px; }
.kst-offers--1 { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
.kst-offers--2 { grid-template-columns: 1fr 1fr; }
.kst-offers--3 { grid-template-columns: repeat(3, 1fr); }
.kst-offer { background: var(--kst-paper); border: 1px solid var(--kst-accent); padding: 40px 36px; display: flex; flex-direction: column; align-items: flex-start; }
.kst-page .kst-offer__title { margin: 8px 0 12px; }
.kst-offer p { margin: 0 0 24px; }
.kst-offer .button { margin-top: auto; }
@media (max-width: 1024px) { .kst-offers { grid-template-columns: 1fr !important; gap: 30px; margin-bottom: 60px; } }
@media (max-width: 767px)  { .kst-offer { padding: 30px 24px; } }

/* form (plugin) */
.ks-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ks-form__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px 14px; }
.ks-form__field { display: block; grid-column: 1 / -1; }
.ks-form__field--half { grid-column: span 3; }
.ks-form__field--third { grid-column: span 2; }
.ks-form__field > span { display: block; font-family: var(--kst-caps); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--kst-deep); margin-bottom: 6px; }
.ks-form__field i { font-style: normal; color: var(--kst-accent); margin-left: 2px; }
.ks-form input[type=text], .ks-form input[type=email], .ks-form input[type=tel], .ks-form input[type=date], .ks-form input[type=number], .ks-form select, .ks-form textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--kst-accent);
	border-radius: 0;
	background: var(--kst-paper);
	color: var(--kst-ink);
	padding: 13px 14px;
	font: inherit;
	font-size: 16px;
	box-shadow: none;
}
.ks-form input:focus, .ks-form textarea:focus { outline: 2px solid var(--kst-accent); outline-offset: -1px; }
.ks-form textarea { resize: vertical; min-height: 120px; }
/* one height for every single-line field: date pickers (and iOS) would otherwise draw their own */
.ks-form input[type=text], .ks-form input[type=email], .ks-form input[type=tel], .ks-form input[type=date], .ks-form input[type=number], .ks-form select { height: 54px; }
.ks-form__status { grid-column: 1 / -1; margin: -4px 0 0; padding: 12px 14px; background: var(--kst-soft); color: var(--kst-ink); font-size: 15px; line-height: 1.5; }
.ks-form__msg { margin: 18px 0 0; padding: 14px 16px; background: var(--kst-soft); color: var(--kst-ink); font-size: 16px; }
.ks-form__msg.is-error { background: color-mix(in srgb, var(--kst-danger) 9%, var(--kst-paper)); color: var(--kst-danger); }
.ks-form__privacy { margin: 16px 0 0; font-size: 14px; line-height: 1.5; color: var(--kst-deep); }
.ks-form__privacy a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ks-form__submit { width: 100%; margin-top: 18px; justify-content: center; text-align: center; }
.ks-form__submit[disabled] { opacity: .6; cursor: wait; }
@media (max-width: 767px) {
	.ks-form__field--half, .ks-form__field--third { grid-column: 1 / -1; }
	.ks-form__field--date { grid-column: span 3; } /* arrival and departure stay side by side */
}

/* ---------- showcase: rentals grid ---------- */

.kst-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -16px 0 40px; }
.kst-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--kst-tint); background: var(--kst-paper); color: var(--kst-deep); font-family: var(--kst-caps); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; line-height: 1; text-decoration: none; transition: background-color .3s var(--kst-ease), color .3s var(--kst-ease), border-color .3s var(--kst-ease); }
.kst-chip span { font-size: 11px; opacity: .6; }
.kst-chip:hover { border-color: var(--kst-accent); color: var(--kst-accent); }
.kst-chip.is-active { background: var(--kst-accent); border-color: var(--kst-accent); color: var(--kst-paper); }

.kst-stays__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.kst-stay { margin: 0; }
.kst-stay__link { display: block; color: inherit; text-decoration: none; height: 100%; }
.kst-stay__img { margin: 0 0 22px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kst-soft); }
.kst-stay__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--kst-ease); box-shadow: 0 30px 50px -30px var(--kst-shadow); }
.kst-stay:hover .kst-stay__img img { transform: scale(1.045); }
.kst-page .kst-stay__title { font-size: 28px; margin: 8px 0 10px; }
.kst-stay__text { margin: 0 0 14px; font-size: 16px; }
.kst-stay__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0 0 16px; font-family: var(--kst-caps); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--kst-deep); }
.kst-stay__score { font-family: var(--kst-heading); font-size: 24px; letter-spacing: 0; text-transform: none; color: var(--kst-ink); margin-left: auto; }
.kst-stay__score small { font-size: 12px; color: var(--kst-accent); margin-left: 2px; }
.kst-stay__cta { font-family: var(--kst-caps); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--kst-accent); }
.kst-stay__cta span { display: inline-block; transition: transform .3s var(--kst-ease); }
.kst-stay:hover .kst-stay__cta span { transform: translateX(4px); }
/* fewer cards (after filtering, or "other rentals"): no orphan on a second row */
@media (min-width: 1025px) {
	.kst-stays__grid[data-n="1"] { grid-template-columns: minmax(0, 1fr); max-width: 420px; margin: 0 auto; }
	.kst-stays__grid[data-n="2"], .kst-stays__grid[data-n="4"] { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin: 0 auto; }
}
.kst-stay[hidden] { display: none; }
.kst-stay__price { margin: -4px 0 12px; font-family: var(--kst-caps); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--kst-accent); }
.kst-stay__badge { display: block; width: fit-content; margin: 0 0 14px; padding: 6px 10px; background: var(--kst-soft); color: var(--kst-ink); font-family: var(--kst-caps); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.kst-stay__badge[hidden] { display: none; }
@media (max-width: 1024px) { .kst-stays__grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 640px)  { .kst-stays__grid { grid-template-columns: 1fr; } }

/* ---------- sticky phone bar (rental pages) ---------- */

.kst-bar { display: none; }
@media (max-width: 767px) {
	.kst-bar {
		display: flex;
		gap: 10px;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 99;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: var(--kst-paper);
		box-shadow: 0 -12px 30px -14px var(--kst-shadow);
		transform: translateY(110%);
		visibility: hidden;
		transition: transform .35s var(--kst-ease), visibility 0s linear .35s;
	}
	.kst-bar.is-on { transform: none; visibility: visible; transition: transform .35s var(--kst-ease); }
	.kst-bar .kst-bar__main { flex: 1; justify-content: center; text-align: center; text-decoration: none; }
	.kst-bar__wa {
		flex: 0 0 52px;
		display: grid;
		place-items: center;
		color: var(--kst-ink);
		box-shadow: inset 0 0 0 1px var(--kst-ink);
	}
	.kst-bar__wa:hover, .kst-bar__wa:focus-visible { background: var(--kst-accent); color: var(--kst-paper); }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
	.kst-bar, .kst-bar.is-on { transition: none; }
}
.kst-book__text .kst-wa { margin-top: 18px; }
.kst-book__text .kst-wa a { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- showcase: hero price, owners, other rentals ---------- */

.kst-hero .kst-price { margin: 18px 0 0; }
.kst-owners__text { padding-right: 40px; }
.kst-owners .kst-checks { grid-template-columns: 1fr; }
.kst-others__more { margin-top: 44px; }
@media (max-width: 1024px) { .kst-owners__text { padding: 0 0 40px; } }

/* =========================================================
   2.2 – full-width hero, room tiles, photo mosaic, reviews as
   a statement. More contrast: titles larger and tighter,
   eyebrows in the heading font, dark host card and footer.
   ========================================================= */

/* ---------- type ---------- */

.kst-page {
	--kst-muted: color-mix(in srgb, var(--kst-ink) 74%, var(--kst-paper));
	--kst-night: color-mix(in srgb, var(--kst-ink) 30%, black); /* the ink darkened: shades photos without tinting them */
}
.kst-page .kst-prose, .kst-page .kst-lede, .kst-page .kst-tile__text, .kst-page .kst-room__text, .kst-page .kst-offer p, .kst-page .kst-book__text > p:not(.kst-small) { color: var(--kst-muted); }
.kst-page h2.kst-title { font-size: clamp(36px, 4.3vw, 62px); line-height: 1.04; letter-spacing: -.005em; }
.kst-page .kst-head .kst-title { margin-top: .3em; }
/* a title right under its eyebrow: the h2 margin of 1.5em (90 px at 62 px) would split them */
.kst-page .kst-eyebrow + .kst-title { margin-top: .1em; }
/* titles beside photos or a card are a step smaller than the centred section titles */
.kst-page .kst-split h2.kst-title { font-size: clamp(34px, 3.6vw, 52px); }
.entry-content .kst-eyebrow {
	font-family: var(--kst-heading);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: .24em;
	color: var(--kst-ink);
}
.entry-content .kst-eyebrow::before { display: none; }
.entry-content .kst-lede { font-size: 20px; }

/* buttons: smaller, bolder caps, more air (the colours stay the Customizer's) */
.kst-page .button, .kst-page button.button, #masthead .header-button, .ks-form .ks-form__submit {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .18em;
}
.header-navigation .primary-menu-container > ul > li.menu-item > a { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; }

/* ---------- header over the full-width hero ----------
   Transparent at the top of the page: white logo and menu over the photos.
   As soon as it sticks (Kadence adds .item-is-stuck) it fades into the usual
   bar. Its height never changes: the sticky shrink is off in the Customizer
   (a shrinking bar squeezes the logo against its edges). */

.kst-hero-full #masthead .site-header-row-container-inner { transition: background-color .5s var(--kst-ease), border-color .5s var(--kst-ease); }
.kst-hero-full #masthead .site-header-row-container { transition: box-shadow .5s var(--kst-ease); }
.kst-hero-full #masthead .site-branding img { transition: filter .5s var(--kst-ease), transform .4s var(--kst-ease); }
.kst-hero-full #masthead .primary-menu-container > ul > li > a,
.kst-hero-full #masthead .menu-toggle-open { transition: color .5s var(--kst-ease); }

.kst-hero-full #masthead .site-main-header-wrap:not(.item-is-stuck) .site-header-row-container-inner {
	background: transparent;
	border-bottom: 0;
}
.kst-hero-full #masthead .site-main-header-wrap:not(.item-is-stuck) .site-branding img { filter: brightness(0) invert(1); }
.kst-hero-full #masthead .site-main-header-wrap:not(.item-is-stuck) .primary-menu-container > ul > li > a,
.kst-hero-full #masthead .site-main-header-wrap:not(.item-is-stuck) .kst-lang a,
.kst-hero-full #masthead .site-main-header-wrap:not(.item-is-stuck) .menu-toggle-open { color: var(--kst-paper); }
.kst-hero-full #masthead .site-main-header-wrap:not(.item-is-stuck) .primary-menu-container > ul > li > a::after { background: var(--kst-paper); }
.kst-hero-full #masthead .site-main-header-wrap:not(.item-is-stuck) .kst-lang li + li::before { color: color-mix(in srgb, var(--kst-paper) 45%, transparent); }

/* ---------- hero: the shutters ---------- */

.kst-hero--full {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: max(600px, min(100svh, 920px));
	padding: 0;
	background: var(--kst-ink);
	color: var(--kst-paper);
	overflow: hidden;
}
.kst-hero__shutters {
	position: absolute;
	inset: 0;
	z-index: -2;
	display: grid;
	grid-template-columns: repeat(var(--n, 3), 1fr);
	gap: 3px; /* the mullions: the dark ground shows between the leaves */
}
.kst-hero__shutter { position: relative; margin: 0; overflow: hidden; }
.kst-hero__shutter img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* the veil: dark at the bottom for the title, a little at the top for the menu */
.kst-hero--full::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(to top, color-mix(in srgb, var(--kst-night) 90%, transparent) 0%, color-mix(in srgb, var(--kst-night) 70%, transparent) 38%, color-mix(in srgb, var(--kst-night) 42%, transparent) 70%, color-mix(in srgb, var(--kst-night) 30%, transparent) 100%),
		linear-gradient(to bottom, color-mix(in srgb, var(--kst-night) 50%, transparent) 0, transparent 190px);
}
.kst-hero--full .kst-hero__in {
	width: 100%;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 40px;
	padding-top: 150px;
	padding-bottom: 76px;
}
.kst-hero--full .kst-eyebrow { color: var(--kst-paper); margin-bottom: 22px; }
.kst-page .kst-hero--full h1.kst-title {
	max-width: 11.5em;
	margin: 0 0 26px;
	color: var(--kst-paper);
	font-size: clamp(46px, 7vw, 108px);
	line-height: .98;
	letter-spacing: -.01em;
}
.kst-page .kst-hero--full .kst-lede { max-width: 32em; margin: 0 0 8px; color: color-mix(in srgb, var(--kst-paper) 86%, transparent); }
.kst-hero--full .kst-btns { margin-top: 30px; }
.kst-hero--full .kst-btn-outline, .kst-hero--full .kst-btn-outline:visited { color: var(--kst-paper) !important; box-shadow: inset 0 0 0 1px var(--kst-paper); }
.kst-hero--full .kst-btn-outline:hover, .kst-hero--full .kst-btn-outline:focus-visible { color: var(--kst-accent) !important; background: var(--kst-paper) !important; }
.kst-hero--full .kst-price { margin-top: 20px; color: color-mix(in srgb, var(--kst-paper) 80%, transparent); opacity: 1; }
.kst-hero__score {
	margin: 0 0 6px;
	font-family: var(--kst-heading);
	font-size: 15px;
	line-height: 1.7;
	letter-spacing: .2em;
	text-transform: uppercase;
	text-align: right;
	color: var(--kst-paper);
}
@media (max-width: 1024px) {
	.kst-hero--full .kst-hero__in { grid-template-columns: 1fr; gap: 0; padding-bottom: 56px; }
	.kst-hero__score { text-align: left; margin-top: 28px; }
}
@media (max-width: 767px) {
	.kst-hero--full { min-height: 88svh; }
	/* on a phone the text covers most of the photo: a deeper veil */
	.kst-hero--full::before { background: linear-gradient(to top, color-mix(in srgb, var(--kst-night) 90%, transparent) 0%, color-mix(in srgb, var(--kst-night) 74%, transparent) 55%, color-mix(in srgb, var(--kst-night) 50%, transparent) 100%); }
	.kst-hero__shutters { grid-template-columns: 1fr; }
	.kst-hero__shutter:not(:first-child) { display: none; }
	.kst-hero--full .kst-hero__in { padding-top: 120px; padding-bottom: 40px; }
	.kst-page .kst-hero--full .kst-lede { font-size: 17px; }
	.kst-hero__score { font-size: 13px; }
}

/* ---------- the home: text left, photos right ---------- */

.kst-split--casa { grid-template-columns: 44fr 56fr; align-items: center; }
.kst-casa .kst-casa__text { padding: 0 40px 0 0; }
.kst-casa .kst-casa__photos { padding: 0; }
.kst-stack--casa { grid-template-columns: 40fr 60fr; }
.kst-stack--casa .kst-photo:first-child { grid-column: 2; grid-row: 1; }
.kst-stack--casa .kst-stack__over { grid-column: 1 / span 2; grid-row: 1; width: 66%; margin: 300px 0 0 0; }
.kst-casa .kst-photo img { box-shadow: none; }
.kst-casa .kst-stack__over img { box-shadow: 0 50px 80px -40px var(--kst-shadow); }
.kst-casa__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 40px; }
.kst-contact { display: inline-flex; align-items: center; gap: 16px; color: var(--kst-ink); text-decoration: none; font-size: 16px; }
.kst-contact > span:last-child { border-bottom: 1px solid color-mix(in srgb, var(--kst-ink) 25%, transparent); padding-bottom: 2px; transition: border-color .3s var(--kst-ease); }
.kst-contact__icon {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--kst-soft);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--kst-accent) 30%, transparent);
	color: var(--kst-ink);
	transition: background-color .3s var(--kst-ease), color .3s var(--kst-ease), box-shadow .3s var(--kst-ease);
}
.kst-contact:hover .kst-contact__icon, .kst-contact:focus-visible .kst-contact__icon { background: var(--kst-accent); color: var(--kst-paper); box-shadow: none; }
.kst-contact:hover > span:last-child, .kst-contact:focus-visible > span:last-child { border-bottom-color: var(--kst-accent); }
@media (max-width: 1024px) {
	.kst-casa .kst-casa__text { padding: 0 0 50px; }
	.kst-stack--casa .kst-stack__over { margin-top: 200px; }
}
@media (max-width: 767px) {
	.kst-stack--casa { grid-template-columns: 28fr 72fr; }
	.kst-stack--casa .kst-stack__over { margin-top: 190px; width: 74%; }
}

/* ---------- rooms: tiles edge to edge ---------- */

.kst-rooms { padding-bottom: 0; }
.kst-rooms .kst-head { margin-bottom: 60px; }
.kst-tiles { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 4px; }
.kst-tile {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(420px, 38vw, 620px);
	overflow: hidden;
	background: var(--kst-ink);
	color: var(--kst-paper);
}
.kst-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--kst-ease); }
.kst-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--kst-night) 86%, transparent) 0%, color-mix(in srgb, var(--kst-night) 45%, transparent) 42%, transparent 72%); transition: opacity .6s var(--kst-ease); }
.kst-tile--plain { background: var(--kst-deep); }
.kst-tile--plain::after { display: none; }
.kst-tile__body { position: relative; z-index: 1; padding: 0 34px 36px; }
.kst-tile .kst-small { color: var(--kst-paper); opacity: .8; margin: 0 0 10px; }
.kst-page .kst-tile__title { margin: 0 0 12px; color: var(--kst-paper); font-size: clamp(28px, 2.4vw, 38px); line-height: 1.08; }
.kst-page .kst-tile__text { margin: 0; color: color-mix(in srgb, var(--kst-paper) 84%, transparent); font-size: 16px; line-height: 1.55; }
.kst-tile:hover .kst-tile__img { transform: scale(1.05); }
@media (max-width: 1024px) {
	.kst-tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
	/* on a phone the tiles slide sideways; the next one peeks in */
	.kst-tiles { display: flex; gap: 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 24px; scroll-padding: 0 24px; }
	.kst-tiles::-webkit-scrollbar { display: none; }
	.kst-tile { flex: 0 0 82%; min-height: 480px; scroll-snap-align: start; }
	.kst-tile__body { padding: 0 24px 28px; }
}

/* ---------- photos: the mosaic ---------- */

/* A room with two photos gets a spacious feature below the interior tiles. */
.kst-outdoor { padding: 80px 0; background: var(--kst-soft); }
.kst-outdoor__in { display: grid; grid-template-columns: 1fr 2fr; align-items: center; gap: 56px; }
.kst-page .kst-outdoor__title { margin: 0 0 24px; font-size: clamp(36px, 4vw, 56px); }
.kst-outdoor__text > p:last-child { margin: 0; font-size: 18px; line-height: 1.7; }
.kst-outdoor__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.kst-outdoor__photos .kst-photo img { box-shadow: none; }
@media (max-width: 1024px) {
	.kst-outdoor__in { grid-template-columns: 1fr; gap: 36px; }
	.kst-outdoor__text { max-width: 38em; }
}
@media (max-width: 767px) {
	.kst-outdoor { padding: 60px 0; }
	.kst-outdoor__photos { gap: 12px; }
}

.kst-gal--mosaic {
	columns: auto;
	display: grid;
	grid-template-columns: 5fr 4fr 3fr;
	grid-template-rows: repeat(2, clamp(220px, 21vw, 340px));
	gap: 14px;
	margin-top: 0;
}
.kst-gal--mosaic .kst-gal__item { margin: 0; background: var(--kst-soft); }
.kst-gal--mosaic .kst-gal__item[hidden] { display: none; }
.kst-gal--mosaic .kst-gal__item img { width: 100%; height: 100%; object-fit: cover; }
.kst-gal--mosaic .kst-gal__item:nth-child(1) { grid-row: 1 / span 2; }
.kst-gal--mosaic[data-n="1"] { grid-template-columns: 1fr; }
.kst-gal--mosaic[data-n="2"], .kst-gal--mosaic[data-n="3"] { grid-template-columns: 1fr 1fr; }
.kst-photos .kst-btns { margin-top: 44px; }
@media (max-width: 767px) {
	.kst-gal--mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 160px 160px; gap: 8px; }
	.kst-gal--mosaic .kst-gal__item:nth-child(1) { grid-column: 1 / span 2; grid-row: auto; }
	.kst-gal--mosaic .kst-gal__item:nth-child(n+4) { display: none; }
	.kst-gal--mosaic .kst-gal__item:nth-child(2), .kst-gal--mosaic .kst-gal__item:nth-child(3) { grid-row: 2 / span 2; }
}

/* ---------- reviews: the statement, then the quotes ---------- */

.kst-head--statement { max-width: 1200px; }
.kst-page .kst-head--statement h2.kst-title { font-size: clamp(36px, 4.6vw, 66px); line-height: 1.08; }
.kst-mark { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .14em; text-decoration-color: var(--kst-accent); }
.kst-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; margin: 20px 0 56px; }
.kst-quote-item { position: relative; margin: 0; padding-top: 34px; border-top: 1px solid var(--kst-tint); }
.kst-quote-item::before { content: '\201C'; position: absolute; top: 18px; left: -4px; font-family: var(--kst-heading); font-size: 88px; line-height: 1; color: var(--kst-accent); }
.kst-quote-item__text { margin: 0 0 26px; padding: 34px 0 0; border: 0; font-style: normal; }
.kst-quote-item__text p { margin: 0; font-family: var(--kst-heading); font-size: 22px; line-height: 1.5; color: var(--kst-ink); }
.kst-quote-item__by { font-family: var(--kst-caps); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--kst-deep); line-height: 1.7; }
.kst-quote-item__by strong { display: block; color: var(--kst-ink); font-weight: 600; }
.kst-quote-item__by span, .kst-quote-item__by a { display: block; opacity: .8; }
@media (max-width: 1024px) { .kst-quotes { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- host: the same blue as the calls to action ---------- */

.kst-page .kst-host { background: var(--global-palette-btn-bg, var(--kst-accent)); color: var(--kst-paper); }
.kst-page .kst-host .kst-eyebrow, .kst-page .kst-host .kst-title, .kst-page .kst-host p { color: var(--kst-paper); }
.kst-page .kst-host p { opacity: 1; }
.kst-page .kst-host .kst-host__langs { opacity: 1; }
.kst-page .kst-host .kst-btn { background: var(--kst-paper); color: var(--kst-ink); }
.kst-page .kst-host .kst-btn:hover, .kst-page .kst-host .kst-btn:focus-visible { background: var(--kst-tint); color: var(--kst-ink); }

/* ---------- booking: hairlines instead of boxes ---------- */

.kst-page .kst-offer { border: 0; border-top: 1px solid var(--kst-ink); padding: 34px 0 0; background: transparent; }
.kst-book.kst-panel::before { display: none; }
.kst-book .ks-form input[type=text], .kst-book .ks-form input[type=email], .kst-book .ks-form input[type=tel], .kst-book .ks-form input[type=date], .kst-book .ks-form input[type=number], .kst-book .ks-form select, .kst-book .ks-form textarea { border-color: var(--kst-tint); }
.kst-book .ks-form input:focus, .kst-book .ks-form textarea:focus, .kst-book .ks-form select:focus { border-color: var(--kst-accent); }

/* ---------- the pale side panels go: the photos and the type carry the page ---------- */

.kst-hero-full .kst-page .kst-panel::before { display: none; }

/* ---------- text pages (privacy and the like) ----------
   Kadence's page template, narrow and unboxed (functions.php): a reading
   column on white, the title in the heading font like the sections. */

.kst-text-page .content-container.site-container { padding-top: 0; }
.kst-text-page #primary.content-area { margin: 0; padding: 110px 0 120px; }
.kst-text-page .entry-header { margin-bottom: 44px; }
.kst-text-page .entry-title { margin: 0; font-size: clamp(40px, 5vw, 58px); line-height: 1.08; color: var(--kst-ink); }
.kst-text-page .entry-content { font-size: 17px; line-height: 1.75; }
.kst-text-page .entry-content > p:first-child { font-size: 20px; line-height: 1.6; color: var(--kst-ink); }
.kst-text-page .entry-content h2 { margin: 2.2em 0 .55em; font-size: 28px; line-height: 1.2; color: var(--kst-ink); }
.kst-text-page .entry-content ul { padding-left: 1.2em; }
.kst-text-page .entry-content li { margin-bottom: .45em; }
.kst-text-page .entry-content li::marker { color: var(--kst-accent); }
.kst-text-page .entry-content a { color: var(--kst-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.kst-text-page .entry-content code { padding: .1em .35em; background: var(--kst-soft); color: var(--kst-ink); font-size: .85em; border-radius: 3px; }
@media (max-width: 767px) {
	.kst-text-page #primary.content-area { padding: 64px 0 80px; }
	.kst-text-page .entry-content { font-size: 16px; }
	.kst-text-page .entry-content > p:first-child { font-size: 18px; }
	.kst-text-page .entry-content h2 { font-size: 24px; }
}
