/*
Theme Name: Stayline
Theme URI: https://example.com/stayline
Author: Stayline
Author URI: https://example.com
Description: A destination-agnostic accommodation listing theme for affiliate sites. Card listing with a live price map (Stay22), filters, sorting and favourites. Stays are a separate post type; articles are pulled from your own posts. Brand colours and the partner ID are set in the Customizer.
Version: 1.3.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stayline
Tags: two-columns, custom-colors, custom-menu, featured-images, translation-ready, full-width-template
*/

/* ==========================================================================
   1. Fonts
   ========================================================================== */

@font-face {
	font-family: 'Fraunces';
	font-style: italic;
	font-weight: 600;
	font-display: swap;
	src: url('assets/fonts/fraunces-italic-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Fraunces';
	font-style: italic;
	font-weight: 600;
	font-display: swap;
	src: url('assets/fonts/fraunces-italic-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Fraunces';
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url('assets/fonts/fraunces-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Fraunces';
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url('assets/fonts/fraunces-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Instrument Sans';
	font-style: normal;
	font-weight: 400 700;
	font-stretch: 100%;
	font-display: swap;
	src: url('assets/fonts/instrumentsans-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Instrument Sans';
	font-style: normal;
	font-weight: 400 700;
	font-stretch: 100%;
	font-display: swap;
	src: url('assets/fonts/instrumentsans-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   2. Tokens
   ========================================================================== */

:root {
	--sl-brand: #0f5c68;
	--sl-accent: #e07a6b;
	--sl-gold: #efb54a;
	--sl-bg: #f2f6f6;
	--sl-surface: #ffffff;
	--sl-ink: #10242a;
	--sl-muted: #5d757c;
	--sl-line: #dde8e8;
	--sl-line-soft: #e4eded;
	--sl-tint: #e7efef;
	--sl-dark: #10242a;
	--sl-ok: #2fbf71;

	--sl-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
	--sl-sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--sl-shell: min(1420px, 100% - 40px);
	--sl-radius-sm: 10px;
	--sl-radius: 16px;
	--sl-radius-lg: 20px;

	--sl-shadow-card: 0 1px 2px rgba(16, 36, 42, .04);
	--sl-shadow-lift: 0 2px 6px rgba(16, 36, 42, .05), 0 18px 40px -12px rgba(16, 36, 42, .18);
	--sl-shadow-pop: 0 4px 12px rgba(16, 36, 42, .07), 0 12px 32px rgba(16, 36, 42, .07);
	--sl-shadow-float: 0 18px 60px rgba(16, 36, 42, .16);
}

/* ==========================================================================
   3. Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

/* The hidden attribute must beat every display rule. */
[hidden] { display: none !important; }

body {
	margin: 0;
	background: var(--sl-bg);
	color: var(--sl-ink);
	font-family: var(--sl-sans);
	font-size: 15px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--sl-brand); }

img { max-width: 100%; height: auto; }

:focus-visible {
	outline: 2.5px solid var(--sl-brand);
	outline-offset: 2px;
	border-radius: 4px;
}

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

.sl-shell {
	width: var(--sl-shell);
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--sl-surface);
	color: var(--sl-ink);
	padding: 12px 18px;
	border-radius: 0 0 var(--sl-radius-sm) 0;
	font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Buttons --------------------------------------------------------------- */

.sl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	border-radius: var(--sl-radius-sm);
	padding: 11px 18px;
	font: inherit;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.2;
	cursor: pointer;
	white-space: nowrap;
	background: var(--sl-brand);
	color: #fff;
	transition: filter .16s ease, border-color .16s ease, color .16s ease;
}
.sl-btn:hover { color: #fff; filter: brightness(1.08); }

.sl-btn--ghost {
	background: var(--sl-surface);
	color: var(--sl-ink);
	border: 1px solid var(--sl-line);
}
.sl-btn--ghost:hover {
	color: var(--sl-brand);
	border-color: var(--sl-brand);
	filter: none;
}

.sl-btn--light {
	background: #fff;
	color: var(--sl-brand);
}

/* ==========================================================================
   4. Header
   ========================================================================== */

.sl-header {
	position: sticky;
	top: 0;
	z-index: 60;
	height: 68px;
	background: rgba(255, 255, 255, .9);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--sl-line);
}

.sl-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	height: 100%;
}

.sl-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
}

.sl-brand__mark {
	width: 34px;
	height: 34px;
	border-radius: 11px;
	display: grid;
	place-items: center;
	background: var(--sl-brand);
	color: #fff;
	flex: 0 0 auto;
	overflow: hidden;
}
.sl-brand__mark svg { width: 19px; height: 19px; }
.sl-brand__mark img { width: 100%; height: 100%; object-fit: cover; }

.sl-brand__name {
	font-family: var(--sl-serif);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -.02em;
	display: block;
}

.sl-brand__tag {
	font-size: 11px;
	color: var(--sl-muted);
	letter-spacing: .06em;
	text-transform: uppercase;
	display: block;
	margin-top: -2px;
}

.sl-searchpill {
	display: flex;
	align-items: center;
	gap: 2px;
	margin-left: auto;
	margin-right: auto;
	border: 1px solid var(--sl-line);
	border-radius: 999px;
	padding: 5px 6px 5px 16px;
	background: var(--sl-surface);
	box-shadow: 0 1px 2px rgba(16, 36, 42, .06);
	font: inherit;
	font-size: 13px;
	color: var(--sl-ink);
	cursor: pointer;
	white-space: nowrap;
}
.sl-searchpill b { font-weight: 600; }
.sl-searchpill span { color: var(--sl-muted); }
.sl-searchpill i {
	width: 1px;
	height: 18px;
	background: var(--sl-line);
	display: block;
	margin: 0 8px;
}
.sl-searchpill__go {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--sl-brand);
	color: #fff;
	display: grid;
	place-items: center;
	margin-left: 8px;
	flex: 0 0 auto;
}
.sl-searchpill__go svg { width: 14px; height: 14px; }

.sl-header__tools {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
}

.sl-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	border: 1px solid transparent;
	background: none;
	border-radius: 999px;
	padding: 8px 12px;
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	color: var(--sl-ink);
	transition: background .16s ease;
}
.sl-chip:hover { background: var(--sl-tint); color: var(--sl-ink); }
.sl-chip svg { width: 15px; height: 15px; opacity: .7; }

@media (max-width: 899px) {
	.sl-searchpill { display: none; }
	.sl-header__tools { margin-left: auto; }
}

/* ==========================================================================
   5. Hero
   ========================================================================== */

.sl-hero {
	position: relative;
	padding: 64px 0 0;
	overflow: hidden;
	isolation: isolate;
}

.sl-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		radial-gradient(120% 90% at 78% 8%, color-mix(in srgb, var(--sl-accent) 30%, transparent) 0%, transparent 55%),
		linear-gradient(168deg, color-mix(in srgb, var(--sl-brand) 82%, #000) 0%, var(--sl-brand) 58%, color-mix(in srgb, var(--sl-brand) 68%, #fff) 100%);
}

.sl-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	opacity: .85;
	margin-bottom: 14px;
}
.sl-hero__eyebrow i {
	width: 26px;
	height: 1px;
	background: currentColor;
	display: block;
	flex: 0 0 auto;
}

.sl-hero__title {
	margin: 0;
	font-family: var(--sl-serif);
	color: #fff;
	font-size: clamp(36px, 5.4vw, 62px);
	max-width: 19ch;
	font-weight: 600;
	letter-spacing: -.038em;
	line-height: 1.04;
	text-wrap: balance;
	text-shadow: 0 1px 30px rgba(6, 26, 30, .25);
}
.sl-hero__title em {
	font-style: italic;
	color: color-mix(in srgb, var(--sl-accent) 70%, #fff);
}

.sl-hero__lead {
	margin: 16px 0 0;
	color: rgba(255, 255, 255, .82);
	max-width: 46ch;
	font-size: 16px;
	text-wrap: pretty;
}

.sl-hero__stats {
	display: flex;
	gap: 28px;
	margin-top: 26px;
	flex-wrap: wrap;
}
.sl-hero__stats b {
	display: block;
	color: #fff;
	font-family: var(--sl-serif);
	font-size: 22px;
	font-weight: 600;
}
.sl-hero__stats span {
	color: rgba(255, 255, 255, .7);
	font-size: 12px;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.sl-hero__badges {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: center;
	padding: 24px 0 8px;
	color: rgba(255, 255, 255, .82);
	font-size: 12.5px;
}
.sl-hero__badges span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 999px;
	padding: 7px 14px;
}
.sl-hero__badges svg { width: 14px; height: 14px; opacity: .85; flex: 0 0 auto; }

.sl-wave {
	height: 110px;
	background: var(--sl-bg);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,64 C240,120 420,8 720,40 C1020,72 1200,120 1440,72 L1440,120 L0,120 Z' fill='%23000'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,64 C240,120 420,8 720,40 C1020,72 1200,120 1440,72 L1440,120 L0,120 Z' fill='%23000'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
}

/* Search form ----------------------------------------------------------- */

.sl-search {
	background: var(--sl-surface);
	border-radius: var(--sl-radius);
	box-shadow: var(--sl-shadow-float);
	margin-top: 44px;
	padding: 8px;
	display: grid;
	gap: 8px;
	position: relative;
	z-index: 5;
	grid-template-columns: 1fr;
}

.sl-search__field {
	position: relative;
	border-radius: var(--sl-radius-sm);
	padding: 10px 14px;
	min-width: 0;
	border: 1px solid var(--sl-line);
}

.sl-search__field label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--sl-muted);
	margin-bottom: 3px;
}

.sl-search__field input,
.sl-search__field .sl-search__value {
	border: 0;
	background: none;
	padding: 0;
	width: 100%;
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	color: var(--sl-ink);
	outline: none;
	text-align: left;
	cursor: pointer;
}
.sl-search__field input { cursor: text; }

.sl-search__submit { grid-column: 1 / -1; padding: 11px 26px; font-size: 15px; }

@media (min-width: 560px) {
	.sl-search { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
	.sl-search { grid-template-columns: 1.4fr 1fr 1fr 1fr auto; }
	.sl-search__field { border: 0; }
	.sl-search__field + .sl-search__field { border-left: 1px solid var(--sl-line); }
	.sl-search__submit { grid-column: auto; }
}

/* Guest picker ---------------------------------------------------------- */

.sl-guests {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	width: 280px;
	background: var(--sl-surface);
	border: 1px solid var(--sl-line);
	border-radius: var(--sl-radius);
	box-shadow: var(--sl-shadow-pop);
	padding: 16px;
	z-index: 20;
}
.sl-guests[hidden] { display: none; }

.sl-guests__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 9px 0;
	border-top: 1px solid var(--sl-line);
}
.sl-guests__row:first-child { border-top: 0; }
.sl-guests__row b { font-weight: 600; }
.sl-guests__row small {
	display: block;
	color: var(--sl-muted);
	font-size: 12px;
}
.sl-guests__ctrl { display: flex; align-items: center; gap: 12px; }
.sl-guests__ctrl button {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid var(--sl-line);
	background: var(--sl-surface);
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	color: var(--sl-brand);
}
.sl-guests__ctrl button[disabled] { opacity: .4; cursor: not-allowed; }
.sl-guests__ctrl output {
	min-width: 18px;
	text-align: center;
	font-weight: 600;
}

/* ==========================================================================
   6. Layout
   ========================================================================== */

.sl-main {
	width: var(--sl-shell);
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
	padding: 20px 0 72px;
	align-items: start;
}

.sl-col { min-width: 0; }

@media (min-width: 980px) {
	.sl-main { grid-template-columns: minmax(0, 1fr) 380px; }
}
@media (min-width: 1180px) {
	.sl-main { grid-template-columns: minmax(0, 1fr) 440px; }
}

/* Toolbar --------------------------------------------------------------- */

.sl-toolbar {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.sl-toolbar__title {
	margin: 0;
	font-family: var(--sl-serif);
	font-weight: 600;
	letter-spacing: -.025em;
	font-size: 25px;
}
.sl-toolbar__title span { color: var(--sl-muted); font-weight: 400; }

.sl-sort {
	margin-left: auto;
	border: 1px solid var(--sl-line);
	border-radius: var(--sl-radius-sm);
	background: var(--sl-surface);
	padding: 9px 12px;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	color: var(--sl-ink);
}

.sl-quickfilters {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 16px;
	margin-bottom: 6px;
	scrollbar-width: none;
}
.sl-quickfilters::-webkit-scrollbar { display: none; }

.sl-qf {
	flex: 0 0 auto;
	border: 1px solid var(--sl-line-soft);
	background: var(--sl-surface);
	color: var(--sl-ink);
	border-radius: 999px;
	padding: 8px 16px;
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
	box-shadow: var(--sl-shadow-card);
	transition: all .16s ease;
}
.sl-qf:hover { border-color: var(--sl-brand); }
.sl-qf[aria-pressed="true"] {
	background: var(--sl-brand);
	border-color: var(--sl-brand);
	color: #fff;
	box-shadow: 0 2px 10px -3px color-mix(in srgb, var(--sl-brand) 60%, transparent);
}

/* ==========================================================================
   7. Card
   ========================================================================== */

.sl-card {
	background: var(--sl-surface);
	border: 1px solid var(--sl-line-soft);
	border-radius: var(--sl-radius-lg);
	overflow: hidden;
	display: grid;
	grid-template-columns: 1fr;
	margin-bottom: 18px;
	box-shadow: var(--sl-shadow-card);
	transition: box-shadow .22s ease, border-color .22s ease, transform .22s ease;
}
.sl-card:hover {
	box-shadow: var(--sl-shadow-lift);
	border-color: color-mix(in srgb, var(--sl-brand) 20%, #fff);
	transform: translateY(-2px);
}
.sl-card[hidden] { display: none; }

@media (min-width: 1180px) {
	.sl-card { grid-template-columns: 320px minmax(0, 1fr); }
}

.sl-card__media {
	position: relative;
	background: var(--sl-tint);
	min-height: 236px;
}

.sl-card__photo {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}
.sl-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.sl-card__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(16, 36, 42, .14) 0%, rgba(16, 36, 42, 0) 34%, rgba(16, 36, 42, 0) 62%, rgba(16, 36, 42, .2) 100%);
}

.sl-card__caption {
	position: absolute;
	left: 14px;
	bottom: 12px;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 10px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--sl-ink);
	background: rgba(255, 255, 255, .82);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	padding: 4px 9px;
	border-radius: 999px;
}

.sl-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--sl-accent);
	color: #fff;
	border-radius: 999px;
	padding: 5px 11px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.sl-fav {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, .92);
	display: grid;
	place-items: center;
	cursor: pointer;
	color: var(--sl-ink);
}
.sl-fav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.sl-fav[aria-pressed="true"] { color: var(--sl-accent); }
.sl-fav[aria-pressed="true"] svg { fill: currentColor; }

.sl-card__body {
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.sl-card__head {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.sl-card__title {
	margin: 0;
	font-family: var(--sl-serif);
	font-weight: 600;
	letter-spacing: -.02em;
	font-size: 19px;
	line-height: 1.25;
}
.sl-card__title a:hover { color: var(--sl-brand); }

.sl-stars {
	display: inline-flex;
	gap: 1px;
	margin-left: 6px;
	vertical-align: 2px;
}
.sl-stars svg { width: 12px; height: 12px; fill: var(--sl-gold); }

.sl-card__where {
	margin: 5px 0 0;
	color: var(--sl-muted);
	font-size: 13px;
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}
.sl-card__where svg { width: 13px; height: 13px; flex: 0 0 auto; }

.sl-card__score {
	margin-left: auto;
	text-align: right;
	flex: 0 0 auto;
}
.sl-card__score b {
	display: inline-block;
	background: var(--sl-brand);
	color: #fff;
	border-radius: 11px 11px 11px 3px;
	padding: 6px 10px;
	font-weight: 700;
	font-size: 14px;
	font-variant-numeric: tabular-nums;
	box-shadow: 0 2px 8px -2px color-mix(in srgb, var(--sl-brand) 55%, transparent);
}
.sl-card__score span {
	display: block;
	font-size: 11px;
	color: var(--sl-muted);
	margin-top: 5px;
	white-space: nowrap;
	letter-spacing: .01em;
}

.sl-card__quote {
	margin: 2px 0 0;
	font-family: var(--sl-serif);
	font-style: italic;
	font-size: 15px;
	line-height: 1.4;
	color: var(--sl-brand);
	padding-left: 14px;
	position: relative;
}
.sl-card__quote::before {
	content: "";
	position: absolute;
	left: 0;
	top: .25em;
	bottom: .25em;
	width: 2px;
	border-radius: 2px;
	background: color-mix(in srgb, var(--sl-brand) 28%, #fff);
}

.sl-card__best {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 5px 12px;
	font-size: 12px;
	font-weight: 600;
	background: color-mix(in srgb, var(--sl-brand) 10%, #fff);
	color: var(--sl-brand);
}

.sl-perks {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 5px;
	font-size: 13.5px;
	color: var(--sl-muted);
}
.sl-perks li {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}
.sl-perks svg {
	width: 14px;
	height: 14px;
	color: var(--sl-brand);
	flex: 0 0 auto;
	margin-top: 3px;
}

.sl-card__foot {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px dashed var(--sl-line);
	display: flex;
	align-items: flex-end;
	gap: 12px;
	flex-wrap: wrap;
}

.sl-price {
	margin-left: auto;
	text-align: right;
}
.sl-price small {
	display: block;
	font-size: 10.5px;
	color: var(--sl-muted);
	text-transform: uppercase;
	letter-spacing: .09em;
}
.sl-price b {
	font-family: var(--sl-serif);
	font-size: 25px;
	font-weight: 600;
	letter-spacing: -.02em;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	display: inline-flex;
	align-items: baseline;
}
.sl-price s {
	color: var(--sl-muted);
	font-size: 13px;
	margin-right: 6px;
	font-family: var(--sl-sans);
	font-weight: 500;
}
.sl-price span {
	display: block;
	font-size: 11px;
	color: var(--sl-muted);
}

/* Empty state ----------------------------------------------------------- */

.sl-empty {
	background: var(--sl-surface);
	border: 1px solid var(--sl-line);
	border-radius: var(--sl-radius);
	padding: 40px;
	text-align: center;
}
.sl-empty[hidden] { display: none; }
.sl-empty h3 {
	margin: 0 0 8px;
	font-family: var(--sl-serif);
	font-size: 19px;
	font-weight: 600;
}
.sl-empty p { margin: 0 0 16px; color: var(--sl-muted); }

/* Promo ----------------------------------------------------------------- */

.sl-promo {
	border-radius: var(--sl-radius);
	padding: 24px;
	margin-bottom: 16px;
	color: #fff;
	background: linear-gradient(115deg, color-mix(in srgb, var(--sl-brand) 82%, #000), var(--sl-brand) 60%, color-mix(in srgb, var(--sl-accent) 55%, var(--sl-brand)));
	display: flex;
	gap: 24px;
	align-items: center;
	flex-wrap: wrap;
}
.sl-promo h3 {
	margin: 0;
	font-family: var(--sl-serif);
	font-size: 20px;
	font-weight: 600;
	color: #fff;
}
.sl-promo p {
	margin: 4px 0 0;
	color: rgba(255, 255, 255, .8);
	font-size: 14px;
	max-width: 44ch;
}
.sl-promo .sl-btn { margin-left: auto; }

/* Pagination ------------------------------------------------------------ */

.sl-pagination {
	display: flex;
	gap: 6px;
	justify-content: center;
	margin-top: 28px;
	flex-wrap: wrap;
}
.sl-pagination .page-numbers {
	min-width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 10px;
	border-radius: var(--sl-radius-sm);
	border: 1px solid var(--sl-line);
	background: var(--sl-surface);
	font-weight: 600;
	font-size: 14px;
	transition: border-color .16s ease, color .16s ease;
}
.sl-pagination .page-numbers:hover {
	border-color: var(--sl-brand);
	color: var(--sl-brand);
}
.sl-pagination .page-numbers.current {
	background: var(--sl-brand);
	border-color: var(--sl-brand);
	color: #fff;
}

/* ==========================================================================
   8. Map
   ========================================================================== */

.sl-map { min-width: 0; }

.sl-map__panel {
	position: sticky;
	top: 88px;
	background: var(--sl-surface);
	border: 1px solid var(--sl-line);
	border-radius: var(--sl-radius);
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(16, 36, 42, .06);
}

.sl-map__demo {
	background: color-mix(in srgb, var(--sl-gold) 18%, #fff);
	border-bottom: 1px solid var(--sl-line);
	padding: 9px 16px;
	font-size: 12px;
}
.sl-map__demo b { font-weight: 700; }

.sl-map__head {
	padding: 14px 16px;
	border-bottom: 1px solid var(--sl-line);
	display: flex;
	align-items: center;
	gap: 10px;
}
.sl-map__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--sl-ok);
	flex: 0 0 auto;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--sl-ok) 22%, transparent);
}
.sl-map__head h3 {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	font-family: var(--sl-sans);
	letter-spacing: 0;
}
.sl-map__head p {
	margin: 0;
	font-size: 12px;
	color: var(--sl-muted);
}

.sl-map__frame {
	width: 100%;
	height: min(72vh, 640px);
	border: 0;
	display: block;
	background: var(--sl-tint);
}

.sl-map__note {
	padding: 10px 16px;
	font-size: 11.5px;
	color: var(--sl-muted);
	border-top: 1px solid var(--sl-line);
	display: flex;
	gap: 8px;
	align-items: center;
}
.sl-map__note svg { width: 13px; height: 13px; flex: 0 0 auto; }

.sl-maptoggle {
	display: none;
	position: fixed;
	left: 50%;
	translate: -50% 0;
	bottom: 22px;
	z-index: 66;
	background: var(--sl-dark);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 12px 22px;
	font: inherit;
	font-weight: 600;
	font-size: 14px;
	gap: 8px;
	align-items: center;
	box-shadow: var(--sl-shadow-float);
	cursor: pointer;
}
.sl-maptoggle svg { width: 16px; height: 16px; }

@media (max-width: 979px) {
	.sl-map { display: none; }
	.sl-map.is-open { display: block; }
	.sl-maptoggle { display: flex; }
	.sl-map__panel { position: static; }
}

/* ==========================================================================
   9. Filter drawer
   ========================================================================== */

.sl-scrim {
	position: fixed;
	inset: 0;
	background: rgba(16, 36, 42, .42);
	z-index: 80;
}
.sl-scrim[hidden] { display: none; }

.sl-drawer {
	position: fixed;
	inset: 0 auto 0 0;
	width: min(360px, 88vw);
	background: var(--sl-surface);
	z-index: 90;
	transform: translateX(-101%);
	transition: transform .28s ease;
	display: flex;
	flex-direction: column;
	box-shadow: var(--sl-shadow-float);
}
.sl-drawer.is-open { transform: none; }

.sl-drawer__head {
	padding: 18px 20px;
	border-bottom: 1px solid var(--sl-line);
	display: flex;
	align-items: center;
	gap: 12px;
}
.sl-drawer__head h3 {
	margin: 0;
	font-family: var(--sl-serif);
	font-size: 17px;
	font-weight: 600;
	flex: 1;
}
.sl-drawer__close {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid var(--sl-line);
	background: none;
	cursor: pointer;
	display: grid;
	place-items: center;
	flex: 0 0 auto;
}
.sl-drawer__close svg { width: 14px; height: 14px; }

.sl-drawer__body {
	padding: 20px;
	overflow-y: auto;
	flex: 1;
}

.sl-drawer__foot {
	padding: 14px 20px;
	border-top: 1px solid var(--sl-line);
	display: flex;
	gap: 10px;
}
.sl-drawer__foot .sl-btn:last-child { flex: 1; }

.sl-fieldset {
	border: 0;
	padding: 0;
	margin: 0 0 22px;
}
.sl-fieldset legend {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--sl-muted);
	margin-bottom: 10px;
	padding: 0;
}
.sl-fieldset label {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	cursor: pointer;
	font-size: 14px;
}
.sl-fieldset input[type="checkbox"] {
	accent-color: var(--sl-brand);
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}
.sl-fieldset label span { flex: 1; }
.sl-fieldset label em {
	font-style: normal;
	color: var(--sl-muted);
	font-size: 12.5px;
}

.sl-range {
	display: flex;
	gap: 10px;
	align-items: center;
}
.sl-range input {
	width: 100%;
	border: 1px solid var(--sl-line);
	border-radius: var(--sl-radius-sm);
	padding: 9px 11px;
	background: var(--sl-surface);
	outline: none;
	font: inherit;
	color: var(--sl-ink);
}

/* ==========================================================================
   10. Footer
   ========================================================================== */

.sl-footer {
	background: var(--sl-dark);
	color: rgba(255, 255, 255, .72);
	padding: 56px 0 26px;
	font-size: 13.5px;
}
.sl-footer a:hover { color: #fff; }

.sl-footer__cols {
	display: grid;
	grid-template-columns: 1fr;
	gap: 36px;
}
@media (min-width: 560px) {
	.sl-footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
	.sl-footer__cols { grid-template-columns: 1.6fr repeat(3, 1fr); }
}

.sl-footer .sl-brand__name { color: #fff; }
.sl-footer .sl-brand__tag { color: rgba(255, 255, 255, .55); }

.sl-footer__about {
	margin: 12px 0 0;
	max-width: 38ch;
}

.sl-pay {
	display: flex;
	gap: 8px;
	margin-top: 16px;
	flex-wrap: wrap;
}
.sl-pay span {
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 6px;
	padding: 4px 9px;
	font-size: 11px;
	letter-spacing: .04em;
	white-space: nowrap;
}

.sl-footer h2,
.sl-footer__title {
	margin: 0 0 14px;
	color: #fff;
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	font-weight: 700;
}

.sl-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.sl-footer li { padding: 4px 0; }

.sl-footer__bar {
	border-top: 1px solid rgba(255, 255, 255, .12);
	margin-top: 40px;
	padding-top: 20px;
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 12.5px;
}
.sl-footer__bar p { margin: 0; }
.sl-footer__bar p + p { margin-left: auto; }

/* ==========================================================================
   11. Cookie notice
   ========================================================================== */

.sl-cookies {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 65;
	width: min(380px, calc(100vw - 40px));
	background: var(--sl-surface);
	border: 1px solid var(--sl-line);
	border-radius: var(--sl-radius);
	box-shadow: var(--sl-shadow-float);
	padding: 18px;
	font-size: 13px;
}
.sl-cookies[hidden] { display: none; }
.sl-cookies p { margin: 0 0 12px; color: var(--sl-muted); }
.sl-cookies div { display: flex; gap: 8px; }

/* ==========================================================================
   12. Inner pages
   ========================================================================== */

.sl-page {
	width: min(760px, 100% - 40px);
	margin: 48px auto 72px;
}
.sl-page--wide { width: var(--sl-shell); }

.sl-page__title {
	font-family: var(--sl-serif);
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 600;
	letter-spacing: -.03em;
	line-height: 1.1;
	margin: 0 0 8px;
}

.sl-page__meta {
	color: var(--sl-muted);
	font-size: 13px;
	margin: 0 0 28px;
}

.sl-prose { font-size: 16px; }
.sl-prose h2, .sl-prose h3, .sl-prose h4 {
	font-family: var(--sl-serif);
	font-weight: 600;
	letter-spacing: -.02em;
	margin: 32px 0 10px;
}
.sl-prose h2 { font-size: 26px; }
.sl-prose h3 { font-size: 21px; }
.sl-prose p { margin: 0 0 16px; }
.sl-prose a { color: var(--sl-brand); text-decoration: underline; text-underline-offset: 2px; }
.sl-prose img, .sl-prose figure { border-radius: var(--sl-radius); }
.sl-prose blockquote {
	margin: 24px 0;
	padding-left: 18px;
	border-left: 3px solid color-mix(in srgb, var(--sl-brand) 30%, #fff);
	font-family: var(--sl-serif);
	font-style: italic;
	color: var(--sl-brand);
}
.sl-prose ul, .sl-prose ol { padding-left: 22px; }

.sl-postcard {
	background: var(--sl-surface);
	border: 1px solid var(--sl-line-soft);
	border-radius: var(--sl-radius);
	padding: 24px;
	margin-bottom: 16px;
	box-shadow: var(--sl-shadow-card);
}
.sl-postcard h2 {
	margin: 0 0 6px;
	font-family: var(--sl-serif);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -.02em;
}

/* Single stay ----------------------------------------------------------- */

.sl-single__hero {
	border-radius: var(--sl-radius-lg);
	overflow: hidden;
	margin-bottom: 24px;
	min-height: 320px;
	background: var(--sl-tint);
}
.sl-single__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sl-single__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	align-items: start;
}
@media (min-width: 980px) {
	.sl-single__grid { grid-template-columns: minmax(0, 1fr) 340px; }
}

.sl-single__box {
	background: var(--sl-surface);
	border: 1px solid var(--sl-line);
	border-radius: var(--sl-radius);
	padding: 20px;
	position: sticky;
	top: 88px;
}
.sl-single__box .sl-price { margin-left: 0; text-align: left; margin-bottom: 14px; }
.sl-single__box .sl-btn { width: 100%; }
.sl-single__box .sl-btn + .sl-btn { margin-top: 8px; }

/* ==========================================================================
   13. Search suggestions
   ========================================================================== */

.sl-suggest {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: var(--sl-surface);
	border: 1px solid var(--sl-line);
	border-radius: var(--sl-radius);
	box-shadow: var(--sl-shadow-pop);
	z-index: 30;
	max-height: 320px;
	overflow-y: auto;
}

.sl-suggest li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 12px;
	border-radius: var(--sl-radius-sm);
	cursor: pointer;
	font-size: 14px;
	line-height: 1.3;
}
.sl-suggest li span {
	flex: 1;
	min-width: 0;
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.sl-suggest li em {
	font-style: normal;
	font-size: 11px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--sl-muted);
	flex: 0 0 auto;
}
.sl-suggest li[aria-selected="true"] {
	background: color-mix(in srgb, var(--sl-brand) 9%, #fff);
	color: var(--sl-brand);
}
.sl-suggest li[aria-selected="true"] em { color: var(--sl-brand); }

/* ==========================================================================
   14. Articles
   ========================================================================== */

.sl-articles {
	margin: 36px 0 8px;
	padding-top: 32px;
	border-top: 1px solid var(--sl-line);
}

.sl-articles__head {
	display: flex;
	align-items: flex-end;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.sl-articles__title {
	margin: 0;
	font-family: var(--sl-serif);
	font-weight: 600;
	letter-spacing: -.025em;
	font-size: 25px;
}

.sl-articles__lead {
	margin: 6px 0 0;
	color: var(--sl-muted);
	max-width: 52ch;
	font-size: 14px;
}

.sl-articles__head .sl-btn { margin-left: auto; }

.sl-articles__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}
@media (min-width: 620px) {
	.sl-articles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1180px) {
	.sl-articles__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.sl-article {
	background: var(--sl-surface);
	border: 1px solid var(--sl-line-soft);
	border-radius: var(--sl-radius);
	overflow: hidden;
	box-shadow: var(--sl-shadow-card);
	display: flex;
	flex-direction: column;
	transition: box-shadow .22s ease, border-color .22s ease, transform .22s ease;
}
.sl-article:hover {
	box-shadow: var(--sl-shadow-lift);
	border-color: color-mix(in srgb, var(--sl-brand) 20%, #fff);
	transform: translateY(-2px);
}

.sl-article__media {
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--sl-tint);
	overflow: hidden;
}
.sl-article__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sl-article__body {
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.sl-article__meta {
	margin: 0;
	font-size: 11px;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--sl-muted);
}

.sl-article__title {
	margin: 0;
	font-family: var(--sl-serif);
	font-weight: 600;
	letter-spacing: -.02em;
	font-size: 18px;
	line-height: 1.3;
}
.sl-article__title a:hover { color: var(--sl-brand); }

.sl-article__excerpt {
	margin: 0;
	color: var(--sl-muted);
	font-size: 13.5px;
}

/* Map without a destination ---------------------------------------------- */

.sl-map__setup {
	padding: 40px 24px;
	text-align: center;
	background: var(--sl-tint);
}
.sl-map__setup p {
	margin: 0;
	font-weight: 600;
}
.sl-map__setup-hint {
	margin-top: 8px !important;
	font-weight: 400 !important;
	font-size: 12.5px;
	color: var(--sl-muted);
}
