/*
 * Design "Bento": a different layout, every part a rounded tile on a soft grey page: a floating
 * header, the hero, About, the gallery (a big photo in the middle), amenities, prices, reviews,
 * house rules, Get in Touch and the footer.
 * Loaded after main.css for villas with "villa.design": "bento". Same sections, order and markup as
 * Classic; only the look and the layout change. Colours: villa_designs().
 */

/* ==========================================================================
   Fonts (self-hosted, latin + latin-ext)
   ========================================================================== */

@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-400-normal.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: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-ext-400-normal.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: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-500-normal.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: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-ext-500-normal.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: "Jost"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/jost-latin-600-normal.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: "Jost"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/jost-latin-ext-600-normal.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: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dm-sans-latin-400-normal.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: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dm-sans-latin-ext-400-normal.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: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/dm-sans-latin-500-normal.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: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/dm-sans-latin-ext-500-normal.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: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/dm-sans-latin-600-normal.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: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/dm-sans-latin-ext-600-normal.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; }

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
	--color-text: #18202b;
	--color-text-muted: #5c6573;
	--color-bg: #eceff3;
	--color-bg-soft: #f4f6f9;
	--color-bg-sand: #f4f6f9;
	--color-footer: #18202b;
	--color-border: rgb(24 32 43 / 0.1);
	--color-day-available: #e2eaf6;
	--font-heading: "Jost", "Helvetica Neue", Arial, sans-serif;
	--font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--radius: 16px;
	--tile: 28px;
	--tile-gap: 12px;
	--tile-padding: clamp(28px, 4.4vw, 80px);
	--shadow-card: none;
}

h1,
h2,
h3,
h4 {
	font-weight: 500;
	letter-spacing: -0.01em;
}

.button {
	border-radius: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: none;
	font-size: 14px;
}

.section {
	padding-block: 0;
	margin-top: var(--tile-gap);
}

/* ==========================================================================
   Header: a floating white bar
   ========================================================================== */

.site-header {
	top: var(--tile-gap);
	margin: var(--tile-gap) var(--tile-gap) 0;
	border: 0;
	border-radius: 20px;
	box-shadow: 0 calc(-1 * var(--tile-gap)) 0 var(--color-bg); /* hides the page scrolling above it */
}

.admin-bar .site-header {
	top: calc(32px + var(--tile-gap));
}

.site-branding__name {
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: none;
}

.site-nav__menu a {
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

@media (max-width: 900px) {
	.site-nav {
		border-radius: 0 0 20px 20px;
	}
}

/* ==========================================================================
   Tiles: hero, bands, sections, Get in Touch, footer
   ========================================================================== */

.hero,
.video-band,
.prices__band,
.get-in-touch,
.site-footer,
.theme-page__band {
	margin: var(--tile-gap) var(--tile-gap) 0;
	border-radius: var(--tile);
	overflow: hidden;
}

.hero {
	min-height: max(560px, calc(100svh - var(--header-height) - 3 * var(--tile-gap)));
}

.about__inner,
.small-gallery > .container,
.amenities > .container,
.reviews > .container,
.house-rules > .container {
	width: auto;
	max-width: none;
	margin-inline: var(--tile-gap);
	padding: var(--tile-padding);
	border-radius: var(--tile);
	background: #fff;
}

.video-band {
	margin-bottom: 0;
}

.site-footer {
	margin-bottom: var(--tile-gap);
}

.availability-form {
	border-radius: 20px;
}

.availability-form input,
.availability-form .choices__inner {
	border-radius: 10px !important;
}

/* ==========================================================================
   About
   ========================================================================== */

.about__photo,
.about__photo img {
	border-radius: 20px;
}

.about__signature {
	font-family: var(--font-heading);
	font-size: 22px;
	font-weight: 500;
	color: var(--color-accent);
}

/* ==========================================================================
   Gallery: the big photo in the middle, a tall one on the right
   ========================================================================== */

.small-gallery__item {
	border-radius: 18px;
}

@media (min-width: 769px) {
	.small-gallery__grid--4 .small-gallery__item:nth-child(1) {
		grid-column: 2 / 4;
		grid-row: 1 / 3;
	}

	.small-gallery__grid--4 .small-gallery__item:nth-child(2) {
		grid-column: 1;
		grid-row: 1;
	}

	.small-gallery__grid--4 .small-gallery__item:nth-child(3) {
		grid-column: 1;
		grid-row: 2;
	}

	.small-gallery__grid--4 .small-gallery__item:nth-child(4) {
		grid-column: 4;
		grid-row: 1 / 3;
	}
}

/* ==========================================================================
   Amenities: small grey tiles inside the white one
   ========================================================================== */

.amenity {
	align-items: center;
	text-align: center;
	border-radius: 18px;
	background: var(--color-bg-soft);
	box-shadow: none;
}

.amenity__icon {
	color: var(--color-accent);
}

.amenity__label {
	font-weight: 500;
}

/* ==========================================================================
   Prices, reviews, house rules
   ========================================================================== */

.prices__card {
	border-radius: 24px;
	box-shadow: 0 24px 60px rgb(24 32 43 / 0.12);
}

.calendar-day {
	border-radius: 8px;
}

.review {
	border-radius: 20px;
	background: var(--color-bg-soft);
	box-shadow: none;
}

.review__name {
	font-family: var(--font-heading);
	font-size: 18px;
}

.review__stars {
	color: var(--color-accent);
}

.house-rules__list {
	border: 0;
	border-radius: 20px;
	background: var(--color-bg-soft);
}

/* ==========================================================================
   Get in touch and footer
   ========================================================================== */

.get-in-touch {
	background: #fff;
}

.contact-item__icon {
	color: var(--color-accent);
}

.site-footer {
	color: #a9b1bd;
}

/* ==========================================================================
   Theme pages
   ========================================================================== */

.theme-page__card,
.owner-card,
.house-rules--small .house-rules__list {
	border-radius: 24px;
}

.availability-result .photo-slider,
.about-page__photo,
.about-page__photo img,
.gallery-grid img {
	border-radius: 18px;
}

@media (max-width: 768px) {
	:root {
		--tile: 20px;
		--tile-gap: 8px;
		--tile-padding: 24px 16px;
	}
}
