/*
Theme Name: Villa Storfors
Theme URI: https://villastorfors.com
Author: Villa Storfors
Description: Meertalig thema (Zweeds, Engels, Duits, Nederlands) voor Villa Storfors – appartementen en kamers in Storfors, Värmland. Werkt met Polylang of WPML.
Version: 1.11.1
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: villa-storfors
*/

/* ---------------------------------------------------------------- fonts (self-hosted, no Google requests) */
@font-face { font-family: "Playfair Display"; src: url("assets/fonts/playfair.woff") format("woff"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("assets/fonts/sourcesans3.woff") format("woff"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("assets/fonts/sourcesans3-italic.woff") format("woff"); font-weight: 200 900; font-style: italic; font-display: swap; }

/* ---------------------------------------------------------------- tokens */
:root {
	--ink: #2a2420;
	--muted: #6b6159;
	--paper: #fbf8f3;
	--tint: #f2ece2;
	--card: #ffffff;
	--line: #e4dccf;
	--red: #8e2f24;          /* Falu red, like the house */
	--red-dark: #6e2219;
	--forest: #33493a;
	--serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--sans: "Source Sans 3", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 6px;
	--shadow: 0 1px 2px rgba(42, 36, 32, .06), 0 8px 24px rgba(42, 36, 32, .07);
	--header-h: 72px;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.vs-small { font-size: .875rem; color: var(--muted); margin: 0; }
.vs-label { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.vs-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; }
.vs-skip:focus { left: 8px; }
.vs-icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vs-icon-play, .vs-icon-facebook { fill: currentColor; stroke: none; }

/* ---------------------------------------------------------------- buttons */
.vs-btn { display: inline-flex; align-items: center; gap: .5em; padding: .75em 1.3em; border: 1px solid var(--red); border-radius: 999px; background: var(--red); color: #fff; font: 600 .95rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.vs-btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.vs-btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.vs-btn-ghost:hover { background: var(--tint); color: var(--ink); border-color: var(--muted); }

/* ---------------------------------------------------------------- header */
.vs-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .94); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--line); }
.admin-bar .vs-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .vs-header { top: 0; position: relative; } }
.vs-header-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.vs-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; margin-right: auto; }
.vs-brand:hover { color: var(--ink); }
.vs-logo { width: 46px; height: 46px; object-fit: contain; }
.vs-brand-name { font: 500 1.35rem/1 var(--serif); }
.vs-nav { display: flex; align-items: center; gap: 28px; }
.vs-nav-list, .vs-lang { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.vs-nav-list { gap: 22px; }
.vs-nav-list a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; padding: 6px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.vs-nav-list a:hover { border-color: var(--red); color: var(--ink); }
.vs-lang { gap: 2px; padding-left: 20px; border-left: 1px solid var(--line); }
.vs-lang a { display: block; padding: 6px 7px; font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--muted); text-decoration: none; border-radius: 4px; }
.vs-lang a:hover { color: var(--ink); background: var(--tint); }
.vs-lang a[aria-current] { color: var(--red); }
.vs-menu-toggle { display: none; align-items: center; gap: 10px; background: none; border: 0; padding: 8px 0; font: 600 .95rem var(--sans); color: var(--ink); cursor: pointer; }
.vs-menu-bars, .vs-menu-bars::before, .vs-menu-bars::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
.vs-menu-bars { position: relative; }
.vs-menu-bars::before, .vs-menu-bars::after { content: ""; position: absolute; left: 0; }
.vs-menu-bars::before { top: -7px; } .vs-menu-bars::after { top: 7px; }
.vs-menu-toggle[aria-expanded="true"] .vs-menu-bars { background: transparent; }
.vs-menu-toggle[aria-expanded="true"] .vs-menu-bars::before { transform: translateY(7px) rotate(45deg); }
.vs-menu-toggle[aria-expanded="true"] .vs-menu-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1140px) {
	.vs-menu-toggle { display: inline-flex; }
	.vs-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
	.admin-bar .vs-nav { top: calc(var(--header-h) + 32px); }
	.vs-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.vs-nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.vs-nav-list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
	.vs-lang { border-left: 0; padding: 16px 0 0; gap: 6px; }
	.vs-lang a { padding: 8px 12px; border: 1px solid var(--line); font-size: .9rem; }
	.vs-lang a[aria-current] { border-color: var(--red); }
}

/* ---------------------------------------------------------------- layout: front page sections */
.vs-front > * { margin: 0; }
/* WordPress wraps group content in an extra div in classic themes; make it transparent for layout. */
.vs-front .wp-block-group__inner-container { display: contents; }
.vs-section { padding: clamp(56px, 9vw, 112px) max(var(--gutter), calc((100% - var(--wrap)) / 2)); }
.vs-section-tint { background: var(--tint); }
.vs-section > .wp-block-heading, .vs-section > .wp-block-group__inner-container > .wp-block-heading { margin-bottom: .45em; }
.vs-section > .wp-block-heading::before, .vs-section > .wp-block-group__inner-container > .wp-block-heading::before { content: ""; display: block; width: 44px; height: 2px; background: var(--red); margin-bottom: 22px; }
.vs-intro { max-width: var(--wrap); }
.vs-intro p { max-width: 68ch; color: #3e3631; }
.vs-intro-cols { columns: 2 340px; column-gap: 56px; }
.vs-intro-cols p { break-inside: avoid; }
.vs-note p, p.vs-note { font-style: italic; color: var(--muted); }

/* hero */
.vs-hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; padding: 0 max(var(--gutter), calc((100% - var(--wrap)) / 2)) clamp(36px, 7vw, 80px); color: #fff; isolation: isolate; overflow: hidden; }
.vs-hero .vs-hero-img, .vs-hero .vs-hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; }
.vs-hero .vs-hero-img img { object-fit: cover; object-position: center 40%; }
.vs-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(20, 15, 12, 0) 35%, rgba(20, 15, 12, .62) 100%); pointer-events: none; }
.vs-hero .vs-hero-img { z-index: -2; }
.vs-hero-text { position: relative; z-index: 1; max-width: var(--wrap); width: 100%; margin: 0 auto; }
.vs-hero h1, .vs-hero .wp-block-heading { color: #fff; max-width: 17ch; margin: 0; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); font-size: clamp(2.2rem, 6vw, 4.3rem); }
.vs-hero-text p { font-size: 1.15rem; max-width: 46ch; margin: 18px 0 0; color: rgba(255, 255, 255, .92); }

/* split (image + text) */
.vs-split { gap: clamp(28px, 5vw, 72px) !important; align-items: center !important; }
.vs-split figure { margin: 0; }
.vs-split img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.vs-split .wp-block-heading::before { content: ""; display: block; width: 44px; height: 2px; background: var(--red); margin-bottom: 22px; }
.vs-split p { color: #3e3631; }
.vs-split p.vs-lead { font: italic 500 1.35rem/1.4 var(--serif); color: var(--forest); margin: 1.2em 0 .6em; }

/* accommodation cards */
.vs-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px; margin-top: 40px !important; }
.vs-cards-apartment { grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); }
.vs-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.vs-card-media { display: block; aspect-ratio: 10 / 7; background: var(--tint); overflow: hidden; }
.vs-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.vs-card:hover .vs-card-media img { transform: scale(1.03); }
.vs-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.vs-card-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 8px; }
.vs-card-title { margin: 0; }
.vs-card-title a { color: inherit; text-decoration: none; }
.vs-card-title a:hover { color: var(--red); }
.vs-price { margin: 0; color: var(--muted); font-size: .95rem; white-space: nowrap; }
.vs-price strong { font: 600 1.35rem/1 var(--serif); color: var(--red); }
.vs-price-clean { display: block; font-size: .82rem; text-align: right; margin-top: 2px; }
.vs-facts { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .95rem; }
.vs-facts li { display: flex; align-items: center; gap: 6px; }
.vs-card-text { color: #3e3631; margin-bottom: 14px; }
.vs-features { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px 16px; font-size: .93rem; }
.vs-features li { display: flex; align-items: flex-start; gap: 7px; }
.vs-features .vs-icon { color: var(--forest); margin-top: .2em; }
.vs-card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

/* gallery (beautiful views) */
.vs-section .wp-block-gallery.has-nested-images { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 10px !important; margin-top: 32px; }
.vs-section .wp-block-gallery.has-nested-images figure.wp-block-image { width: auto !important; margin: 0 !important; border-radius: 4px; overflow: hidden; cursor: zoom-in; }
@media (max-width: 600px) { .vs-section .wp-block-gallery.has-nested-images { grid-template-columns: 1fr 1fr; gap: 6px !important; } .vs-section .wp-block-gallery.has-nested-images figure.wp-block-image:last-child:nth-child(odd) { grid-column: span 2; } }
.vs-section .wp-block-gallery.has-nested-images figure.wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.vs-section .wp-block-gallery.has-nested-images figure.wp-block-image:hover img { transform: scale(1.04); }

/* experiences */
.vs-exp-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 0; margin-top: 36px !important; border-top: 1px solid var(--line); }
.vs-exp { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); margin: 0 !important; }
@media (min-width: 700px) { .vs-exp { padding: 30px 32px 32px 0; } }
.vs-exp h3 { font-size: 1.35rem; margin-bottom: .45em; }
.vs-exp h3::before { content: ""; display: block; width: 36px; height: 36px; margin-bottom: 14px; background: var(--red); -webkit-mask: var(--vs-exp-icon) center / contain no-repeat; mask: var(--vs-exp-icon) center / contain no-repeat; }
/* Icons follow the card order (1 hiking, 2 city, 3 flea market, 4 golf, 5 nature, 6 history).
   To choose an icon yourself, give the card the extra CSS class vs-exp-hike, -city, -flea, -golf, -nature or -history. */
.vs-exp:nth-child(1), .vs-exp.vs-exp-hike { --vs-exp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 20l6.5-11 4 6.5 3-4.5L22 20z'/%3E%3Cpath d='M8.5 9l1.8 3'/%3E%3C/svg%3E"); }
.vs-exp:nth-child(2), .vs-exp.vs-exp-city { --vs-exp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V9l5-3v15M10 21V4l6 3v14M16 21v-9l4 1.5V21'/%3E%3Cpath d='M7 12h1M7 15h1M13 9h1M13 12h1M13 15h1'/%3E%3C/svg%3E"); }
.vs-exp:nth-child(3), .vs-exp.vs-exp-flea { --vs-exp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12.5V4h8.5L21 13.5 13.5 21z'/%3E%3Ccircle cx='7.5' cy='8' r='1.5'/%3E%3C/svg%3E"); }
.vs-exp:nth-child(4), .vs-exp.vs-exp-golf { --vs-exp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21V3l9 3.5L8 10'/%3E%3Cpath d='M4 21c2-1.3 6-1.3 8 0'/%3E%3Ccircle cx='17' cy='19' r='1.2'/%3E%3C/svg%3E"); }
.vs-exp:nth-child(5), .vs-exp.vs-exp-nature { --vs-exp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.5L6 11h3.5L5 17.5h14L14.5 11H18z'/%3E%3Cpath d='M12 17.5V22'/%3E%3C/svg%3E"); }
.vs-exp:nth-child(6), .vs-exp.vs-exp-history { --vs-exp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 9.5L12 3l9.5 6.5zM3 21h18M5 21v-9M9.5 21v-9M14.5 21v-9M19 21v-9'/%3E%3C/svg%3E"); }
.vs-exp p { color: #3e3631; font-size: 1rem; margin: 0; }

/* contact */
.vs-contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); margin-top: 36px !important; align-items: start; }
@media (max-width: 860px) { .vs-contact { grid-template-columns: 1fr; } }
.vs-form { background: var(--card); padding: clamp(22px, 3vw, 36px); border-radius: var(--radius); box-shadow: var(--shadow); }
.vs-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.vs-field-row-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 560px) { .vs-field-row, .vs-field-row-3 { grid-template-columns: 1fr; } }
.vs-field { margin: 0 0 16px; }
.vs-field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.vs-field input, .vs-field select, .vs-field textarea { width: 100%; padding: 11px 13px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 4px; transition: border-color .2s, background .2s; }
.vs-field input:focus, .vs-field select:focus, .vs-field textarea:focus { outline: none; border-color: var(--red); background: #fff; }
.vs-field textarea { resize: vertical; min-height: 120px; }
.vs-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.vs-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.vs-alert { padding: 12px 16px; border-radius: 4px; margin-bottom: 20px; font-weight: 500; }
.vs-alert-ok { background: #e6efe7; color: var(--forest); }
.vs-alert-err { background: #f6e4e1; color: var(--red-dark); }
.vs-contact-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 18px; }
.vs-contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.vs-contact-list .vs-icon { width: 22px; height: 22px; color: var(--red); margin-top: 4px; }
.vs-contact-list a { color: var(--ink); text-decoration: none; }
.vs-contact-list a:hover { color: var(--red); }
.vs-social { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; }
.vs-social .vs-label { margin-right: 4px; }
.vs-social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); }
.vs-social a:hover { border-color: var(--red); color: var(--red); }

/* click-to-load map */
.vs-map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--tint) repeating-linear-gradient(135deg, transparent 0 22px, rgba(142, 47, 36, .04) 22px 23px); border: 1px solid var(--line); }
.vs-map-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 20px; }
.vs-map-inner > .vs-icon { width: 34px; height: 34px; color: var(--red); }
.vs-map-inner p { margin: 0; }
.vs-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------------------------------------------------------------- generic pages + unit detail */
.vs-page, .vs-unit { max-width: var(--wrap); margin: 0 auto; padding: clamp(40px, 7vw, 88px) var(--gutter); }
.vs-page-body, .vs-page > .entry-content { max-width: 72ch; }
.vs-back { margin: 0 0 24px; }
.vs-back a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.vs-back a:hover { color: var(--red); }
.vs-eyebrow { margin: 0 0 8px; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.vs-unit-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 32px; margin-bottom: 28px; }
.vs-unit-head .vs-eyebrow { flex-basis: 100%; }
.vs-unit-head h1 { margin: 0; }
.vs-mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; height: clamp(300px, 52vw, 560px); border-radius: var(--radius); overflow: hidden; margin-bottom: 44px; }
.vs-mosaic-item { position: relative; padding: 0; border: 0; background: var(--tint); cursor: zoom-in; overflow: hidden; }
.vs-mosaic-item:first-child { grid-row: span 2; }
.vs-mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.vs-mosaic-item:hover img { transform: scale(1.03); }
.vs-mosaic-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(20, 15, 12, .5); color: #fff; font: 500 1.6rem var(--serif); }
@media (max-width: 700px) {
	.vs-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 70vw; }
	.vs-mosaic-item:first-child { grid-column: span 2; grid-row: auto; }
	.vs-mosaic-item:nth-child(n+4) { display: none; }
}
.vs-unit-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); }
@media (max-width: 860px) { .vs-unit-grid { grid-template-columns: 1fr; } }
.vs-unit-aside { background: var(--card); padding: 26px; border-radius: var(--radius); box-shadow: var(--shadow); align-self: start; position: sticky; top: calc(var(--header-h) + 20px); }
.vs-unit-aside .vs-features { grid-template-columns: 1fr; }
.vs-404 { text-align: center; padding-block: 120px; }

/* ---------------------------------------------------------------- footer */
.vs-footer { background: #241f1b; color: #d9d0c4; padding: 56px var(--gutter) 24px; }
.vs-footer a { color: #f3ece2; text-decoration: none; }
.vs-footer a:hover { color: #fff; text-decoration: underline; }
.vs-footer-inner { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 32px; align-items: start; }
@media (max-width: 860px) { .vs-footer-inner { grid-template-columns: 1fr; } }
.vs-footer .vs-logo { width: 56px; height: 56px; margin-bottom: 12px; filter: brightness(1.05); }
.vs-footer-name { font: 500 1.5rem/1.2 var(--serif); color: #fff; margin: 0 0 6px; }
.vs-footer .vs-small { color: #b3a898; }
.vs-footer-links { display: grid; gap: 12px; }
.vs-footer-links > a { display: inline-flex; align-items: center; gap: 10px; }
.vs-footer .vs-social { margin: 6px 0 0; }
.vs-footer .vs-social .vs-label { color: #b3a898; }
.vs-footer .vs-social a { border-color: #4a423b; color: #f3ece2; }
.vs-footer .vs-social a:hover { border-color: #f3ece2; text-decoration: none; }
.vs-footer-lang { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.vs-footer-lang a[aria-current] { color: #fff; font-weight: 600; }
.vs-footer-pages { list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid #3b342e; display: grid; gap: 6px; }
.vs-copy { max-width: var(--wrap); margin: 44px auto 0; padding-top: 20px; border-top: 1px solid #3b342e; font-size: .85rem; color: #9b9083; }
.vs-copy a { color: #b3a898; margin-left: 4px; }
.vs-page-body h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-top: 1.6em; }

/* ---------------------------------------------------------------- lightbox */
.vs-lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #14100e; color: #fff; }
.vs-lightbox::backdrop { background: #14100e; }
.vs-lightbox[open] { display: flex; flex-direction: column; }
.vs-lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; font-size: .95rem; }
.vs-lb-title { font: 500 1.15rem var(--serif); }
.vs-lb-count { color: #b3a898; margin-left: 12px; font-family: var(--sans); font-size: .9rem; }
.vs-lb-stage { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; padding: 0 64px 24px; min-height: 0; }
.vs-lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 2px; }
.vs-lb-stage iframe { width: min(100%, 1100px); aspect-ratio: 16 / 9; height: auto; max-height: 100%; border: 0; background: #000; }
.vs-lb-btn { background: rgba(255, 255, 255, .08); border: 0; color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; line-height: 1; }
.vs-lb-btn:hover { background: rgba(255, 255, 255, .18); }
.vs-lb-prev, .vs-lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.vs-lb-prev { left: 10px; } .vs-lb-next { right: 10px; }
@media (max-width: 600px) { .vs-lb-stage { padding: 0 0 70px; } .vs-lb-prev, .vs-lb-next { top: auto; bottom: 14px; transform: none; } .vs-lb-prev { left: calc(50% - 56px); } .vs-lb-next { right: calc(50% - 56px); } }
body.vs-noscroll { overflow: hidden; }

/* ---------------------------------------------------------------- block editor content on normal pages */
.entry-content > * + * { margin-top: 1em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content ul.vs-facts, .entry-content ul.vs-features, .entry-content ul.vs-contact-list, .entry-content ul.vs-nav-list { padding-left: 0; }
.wp-block-image figcaption { font-size: .88rem; color: var(--muted); }
.alignwide { max-width: var(--wrap); }


/* ---------------------------------------------------------------- availability calendar */
.vs-cal { margin: 4px 0 18px; padding: 18px 18px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); position: relative; }
.vs-cal.is-empty { padding: 12px 16px; }
.vs-cal.is-empty .vs-cal-title { display: none; }
.vs-cal-title { margin: 0 0 10px; font: 500 1.15rem/1.2 var(--serif); }
.vs-cal-note { margin: 0; color: var(--muted); font-size: .95rem; }
.vs-cal-nav { position: absolute; top: 12px; right: 12px; display: flex; gap: 6px; }
.vs-cal-nav button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); font-size: 1.3rem; line-height: 1; color: var(--ink); cursor: pointer; }
.vs-cal-nav button:hover:not(:disabled) { border-color: var(--muted); }
.vs-cal-nav button:disabled { opacity: .35; cursor: default; }
.vs-cal-months { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.vs-cal-mname { margin: 0 0 8px; font-weight: 600; text-transform: capitalize; font-size: .98rem; }
.vs-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px 0; }
.vs-cal-wd { text-align: center; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding-bottom: 4px; }
.vs-cal-day { position: relative; height: 38px; border: 0; background: transparent; font: 500 .92rem/1 var(--sans); color: var(--ink); cursor: pointer; padding: 0; }
.vs-cal-day.is-free:not(.is-a):not(.is-d):not(.is-in):hover:not(:disabled) { background: var(--tint); border-radius: 4px; }
.vs-msg-optional .vs-req { display: none; }
.vs-stay-req { display: none; }
.vs-msg-optional .vs-stay-req { display: inline; }
.vs-cal-day.is-past { color: #c5bcb1; cursor: default; }
.vs-cal-day.is-busy { color: #a69a8c; text-decoration: line-through; text-decoration-color: rgba(142, 47, 36, .45); background: repeating-linear-gradient(135deg, #efe7dc 0 5px, #e7ddd0 5px 10px); cursor: not-allowed; }
.vs-cal-day.is-busy:not(:disabled) { cursor: pointer; }
.vs-cal-day.is-busy-start { border-radius: 4px 0 0 4px; }
.vs-cal-day:disabled { cursor: default; }
.vs-cal-day.is-in { background: #f3dcd8; border-radius: 0; color: var(--ink); text-decoration: none; }
.vs-cal-day.is-a, .vs-cal-day.is-d { background: var(--red); color: #fff; text-decoration: none; }
.vs-cal-day.is-a { border-radius: 6px 0 0 6px; }
.vs-cal-day.is-d { border-radius: 0 6px 6px 0; }
.vs-cal-day.is-a.is-single { border-radius: 6px; }
.vs-cal-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.vs-cal-msg { margin: 0; font-weight: 600; font-size: .95rem; flex: 1 1 260px; }
.vs-cal-msg.is-err { color: var(--red-dark); }
.vs-cal-legend { margin: 0; display: flex; gap: 14px; font-size: .82rem; color: var(--muted); }
.vs-cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.vs-cal-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; border: 1px solid var(--line); background: var(--card); }
.vs-cal-legend i.is-busy { background: repeating-linear-gradient(135deg, #efe7dc 0 3px, #e7ddd0 3px 6px); }
.vs-cal-legend i.is-sel { background: var(--red); border-color: var(--red); }
.vs-cal-actions { display: flex; gap: 10px; flex-wrap: wrap; width: 100%; }
.vs-cal-actions:empty { display: none; }
.vs-unit-cal { margin: 0 0 44px; }
.vs-unit-cal .vs-cal { background: var(--card); box-shadow: var(--shadow); border: 0; padding: 24px 26px 18px; }
.vs-unit-cal .vs-cal-title { font-size: 1.5rem; }
@media (max-width: 560px) { .vs-cal { padding: 14px 12px 12px; } .vs-cal-day { height: 40px; } }

.vs-field-dogs select { max-width: 260px; }
.vs-field-dogs .vs-dog-note { display: block; margin-top: 6px; }
.vs-feature-dog .vs-icon { color: var(--red); }

.vs-field-clean .vs-field-label { font-size: .88rem; font-weight: 600; margin: 0 0 6px; }
.vs-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 1rem; }
.vs-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); flex: none; }
.vs-field-clean .vs-clean-note { display: block; margin-top: 6px; }

/* ---------------------------------------------------------------- house rules */
.vs-rules { background: var(--tint); }
.vs-rules-grid, .vs-page-body:has(.vs-rule) { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 18px; margin-top: 28px; max-width: none; }
.vs-rules-grid > *, .vs-page-body:has(.vs-rule) > * { margin: 0 !important; }
.vs-rule { background: var(--card); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.vs-rule h3 { font-size: 1.2rem; margin: 0 0 .5em; }
.vs-rule p { font-size: .97rem; color: #3e3631; margin: 0 0 .7em; }
.vs-rule p:last-child { margin-bottom: 0; }
.vs-rule ul { list-style: none; padding: 0; margin: .4em 0 0; font-size: .95rem; }
.vs-rule li { position: relative; padding-left: 26px; margin: 0 0 6px; }
.vs-rule li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 14px; height: 14px; border: 1.5px solid var(--forest); border-radius: 3px; }
.vs-rule:has(ul) { grid-column: 1 / -1; }
.vs-rule:has(ul) ul { columns: 2 260px; column-gap: 32px; }
.vs-rule:has(ul) li { break-inside: avoid; }
.vs-rules-link { margin: 16px 0 0; font-size: .95rem; }
.vs-rules-link a { color: var(--red); text-decoration: none; font-weight: 600; }
.vs-page-body:has(.vs-rule) { max-width: var(--wrap); }

.vs-checkin { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.vs-checkin .vs-icon { width: 22px; height: 22px; color: var(--red); margin-top: 2px; }
.vs-checkin p { margin: 0; font-size: .93rem; color: var(--muted); }
.vs-checkin strong { color: var(--ink); font-weight: 600; }

.vs-page-body:has(.vs-rule) > .vs-info-title { grid-column: 1 / -1; margin: 36px 0 0 !important; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.vs-page-body:has(.vs-rule) > .vs-info-title::before { content: ""; display: block; width: 44px; height: 2px; background: var(--red); margin-bottom: 18px; }
.vs-rule a { color: var(--red); }

.vs-only-apt { display: inline-block; margin: -2px 0 10px; padding: 3px 10px; border-radius: 999px; background: #f3dcd8; color: var(--red-dark); font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
.vs-rule h3:has(+ .vs-only-apt) { margin-bottom: .3em; }

.vs-exp-more { margin: -4px 0 0; }
.vs-exp-more a { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-weight: 600; text-decoration: none; }
.vs-exp-more a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- header video */
.vs-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -1; opacity: 0; transition: opacity .8s ease; }
.vs-hero-video.is-playing { opacity: 1; }
.vs-hero-pause { position: absolute; right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); bottom: clamp(36px, 7vw, 80px); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); background: rgba(20,15,12,.35); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.vs-hero-pause:hover { background: rgba(20,15,12,.6); }
.vs-hero-pause[hidden] { display: none; }
.vs-i-pause { width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.vs-hero-pause.is-paused .vs-i-pause { width: 0; height: 0; border-right: 0; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
@media (prefers-reduced-motion: reduce) { .vs-hero-video { display: none; } }
