/* Country Houses in France - main stylesheet.
   Colour and font tokens come from theme.json as --wp--preset--*; the short
   aliases below keep the rules readable. */

:root {
	--blue: var(--wp--preset--color--blue, #0070C1);
	--blue-deep: var(--wp--preset--color--blue-deep, #08243B);
	--blue-hover: var(--wp--preset--color--blue-hover, #005A9C);
	--blue-light: var(--wp--preset--color--blue-light, #6BB8ED);
	--blue-wash: var(--wp--preset--color--blue-wash, #F1F7FC);
	--blue-tint: #EAF3FB; /* the pale blue panels that replaced the navy (colour trial, 19 Oct) */
	--blue-tint-line: #CFE2F3;
	--ink: var(--wp--preset--color--ink, #12212E);
	--ink-soft: #3D4C58;
	--muted: var(--wp--preset--color--muted, #5B6B78);
	--faint: #8B99A4;
	--line: var(--wp--preset--color--line, #E3E8EC);
	--line-strong: #C9D4DD;
	--stone: var(--wp--preset--color--stone, #F4F6F8);
	--amber: var(--wp--preset--color--amber, #C0761D);
	--display: var(--wp--preset--font-family--display, 'Instrument Serif', Georgia, serif);
	--body: var(--wp--preset--font-family--body, 'Work Sans', Helvetica, Arial, sans-serif);
	--gutter: clamp(20px, 3.9vw, 56px);
	--section: clamp(56px, 7vw, 92px);
}

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

body {
	margin: 0;
	background: #FFFFFF;
	color: var(--ink);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: calc(720px + 2 * var(--gutter)); }
.muted { color: var(--muted); font-weight: 300; }
.eyebrow { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--blue); }

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; z-index: 300; background: #FFFFFF; padding: 10px 16px; }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: 46px; padding: 0 24px; border-radius: 3px; border: 1px solid transparent;
	font-size: 14px; font-weight: 500; white-space: nowrap;
	text-align: center; /* full-width buttons: the label stays centred */
	transition: background-color .15s, border-color .15s, color .15s;
}
.btn--lg { height: 52px; padding: 0 30px; font-size: 15px; }
.btn--blue { background: var(--blue); color: #FFFFFF; }
.btn--blue:hover { background: var(--blue-hover); color: #FFFFFF; }
.btn--ghost-light { border-color: rgba(255,255,255,.4); color: #FFFFFF; }
.btn--ghost-light:hover { border-color: #FFFFFF; color: #FFFFFF; }
.btn--white { background: #FFFFFF; color: var(--blue); font-weight: 600; }
.btn--white:hover { color: var(--blue-hover); }
.btn--outline { border-color: var(--line-strong); color: var(--ink); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- utility bar ---------- */
.utility { background: var(--blue); color: #FFFFFF; font-size: 13px; }
.utility__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; min-height: 42px; }
.utility a { color: #FFFFFF; display: inline-flex; align-items: center; gap: 8px; }
.utility a:hover { color: #FFFFFF; text-decoration: underline; }

/* ---------- header + nav ---------- */
.site-header { border-bottom: 1px solid var(--line); background: #FFFFFF; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 126px; }
/* Her 2026 logo is a 2:1 landscape box (no "French Country Houses" band). */
.site-header__logo img { width: 200px; height: auto; }

/* The blue bar and the header stay at the top of the screen, so the language
   switch and the phone number are always in reach. Scrolled, the header slims
   (header.php adds .masthead--slim). --stick is the slim height: anything else
   that sticks, and any #anchor jump, sits below it. */
:root { --stick: 120px; }
html { scroll-padding-top: calc(var(--stick) + 16px); }
.masthead { position: sticky; top: 0; z-index: 100; background: #FFFFFF; }
.admin-bar .masthead { top: 32px; }
.site-header__inner, .site-header__logo img { transition: min-height .2s ease, width .2s ease; }
.masthead--slim .site-header { box-shadow: 0 6px 18px rgba(8, 36, 59, .07); }
.masthead--slim .site-header__inner { min-height: 78px; }
.masthead--slim .site-header__logo img { width: 128px; }
@media (max-width: 900px) {
	:root { --stick: 104px; }
	.masthead--slim .site-header__inner { min-height: 66px; }
	.masthead--slim .site-header__logo img { width: 104px; }
}
/* WordPress's own admin bar is taller here, and below 600px it scrolls away. */
@media (max-width: 782px) { .admin-bar .masthead { top: 46px; } }
@media (max-width: 600px) { .admin-bar .masthead { top: 0; } }
@media (prefers-reduced-motion: reduce) {
	.site-header__inner, .site-header__logo img { transition: none; }
}

.nav__toggle {
	list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
	height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 3px;
	font-size: 14px; font-weight: 500;
}
.nav__toggle::-webkit-details-marker { display: none; }
.nav__toggle::before {
	content: ""; width: 18px; height: 12px;
	background:
		linear-gradient(currentColor, currentColor) top / 100% 1.5px no-repeat,
		linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
		linear-gradient(currentColor, currentColor) bottom / 100% 1.5px no-repeat;
}
.nav__list { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.nav__list a { color: var(--ink); }
.nav__list a:hover, .nav__list .current-menu-item a { color: var(--blue); }

@media (min-width: 901px) {
	.nav__toggle { display: none; }
	.nav__panel { display: flex; align-items: center; gap: 30px; }
}
@media (max-width: 900px) {
	.site-header__inner { min-height: 96px; }
	.site-header__logo img { width: 150px; }
	.nav { position: static; }
	.nav[open] .nav__panel {
		position: absolute; top: 100%; left: 0; right: 0; z-index: 50;
		background: #FFFFFF; border-bottom: 1px solid var(--line);
		padding: 8px var(--gutter) 24px; box-shadow: 0 18px 30px rgba(8,36,59,.08);
	}
	.site-header { position: relative; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
	.nav__cta { margin-top: 18px; width: 100%; }
}

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1.12fr; min-height: 780px; }
.hero__panel {
	background: var(--blue-tint); color: var(--ink);
	display: flex; flex-direction: column; justify-content: center; gap: 28px;
	padding: 64px var(--gutter);
}
.hero__title { font-size: clamp(44px, 5vw, 72px); line-height: 1.04; letter-spacing: -0.015em; max-width: 14ch; }
.hero__title .h1-sub { max-width: 32ch; }
.hero__lede { max-width: 440px; font-size: 17px; line-height: 1.72; font-weight: 300; color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }
/* The hero is pale, so its white and ghost buttons turn blue. */
.hero__actions .btn--white { background: var(--blue); color: #FFFFFF; font-weight: 500; }
.hero__actions .btn--white:hover { background: var(--blue-hover); color: #FFFFFF; }
.hero__actions .btn--ghost-light { border-color: var(--blue); color: var(--blue); }
.hero__actions .btn--ghost-light:hover { border-color: var(--blue-hover); color: var(--blue-hover); }
.hero__mosaic {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr);
	gap: 4px; background: var(--line);
}
.hero__tile { position: relative; overflow: hidden; background: var(--blue-tint); }
.hero__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1.4s ease; }
.hero__tile img.is-entering { opacity: 0; }

@media (max-width: 960px) {
	.hero { grid-template-columns: 1fr; min-height: 0; padding-bottom: 0; }
	.hero__mosaic { grid-auto-rows: 180px; }
	.hero__tile:nth-child(n+5) { display: none; }
}

/* ---------- sections ---------- */
.section { padding-top: var(--section); }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 34px; }
.section__head--rule { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.section__title { font-size: clamp(32px, 3.2vw, 42px); line-height: 1.12; letter-spacing: -0.01em; }
.section__title--light { color: #FFFFFF; }
.section__sub { margin-top: 10px; font-size: 16px; color: var(--muted); font-weight: 300; }
.section__link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }

/* ---------- house grid ---------- */
.house-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 26px; }
.house-card { display: flex; flex-direction: column; gap: 12px; }
.house-card__link { display: flex; flex-direction: column; gap: 14px; color: var(--ink); }
.house-card__img { width: 100%; aspect-ratio: 800 / 520; object-fit: cover; border-radius: 3px; }
.house-card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.house-card__name { font-size: 25px; }
.house-card__link:hover .house-card__name { color: var(--blue); }
.house-card__price { font-size: 15px; font-weight: 500; white-space: nowrap; }
.house-card__facts { font-size: 13px; color: var(--muted); }
.house-card__summary { font-size: 15px; line-height: 1.68; color: var(--muted); font-weight: 300; }

/* Card descriptions: four lines, opened by "Read more" (chif.js). */
.is-capped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.read-more { align-self: flex-start; margin-top: -4px; padding: 4px 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 500; color: var(--blue); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.read-more:hover { color: var(--blue-hover); }
.read-more[hidden] { display: none; }

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

/* ---------- homepage: more about us (under the houses) ---------- */
.home-about__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 112px); align-items: start; padding-top: var(--section); border-top: 1px solid var(--line); }
.home-about .section__title { margin-top: 12px; }
.home-about__text { max-width: 680px; }
.home-about__text p { font-size: 17px; line-height: 1.8; color: var(--ink-soft); font-weight: 300; }
.home-about__text p + p { margin-top: 1em; }
.home-about__link { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 16px; font-weight: 500; color: var(--blue); }
@media (max-width: 900px) {
	.home-about__grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- region ---------- */
.region { margin-top: var(--section); background: var(--stone); padding-block: var(--section); }
.region__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.region__img { width: 100%; height: 460px; object-fit: cover; border-radius: 3px; }
.region__text { display: flex; flex-direction: column; gap: 22px; }
.link-list { border-top: 1px solid #DDE4EA; margin-top: 6px; }
.link-list a { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid #DDE4EA; font-size: 16px; color: var(--ink); }
.link-list a:hover { color: var(--blue); }

@media (max-width: 860px) {
	.region__grid { grid-template-columns: 1fr; }
	.region__img { height: 280px; }
}

/* ---------- how booking works ---------- */
.booking-steps { background: var(--blue-tint); padding-block: var(--section); }
.booking-steps .section__title--light { color: var(--ink); }
.booking-steps__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 112px); align-items: start; }
.booking-steps__lede { margin-top: 20px; font-size: 16px; line-height: 1.76; color: var(--ink-soft); font-weight: 300; }
.booking-steps__list li { display: flex; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--blue-tint-line); }
.booking-steps__list li:first-child { padding-top: 0; }
.booking-steps__num { font-family: var(--display); font-size: 34px; line-height: 1; color: var(--blue); min-width: 46px; }
.booking-steps__list h3 { font-family: var(--body); font-size: 19px; font-weight: 500; color: var(--ink); margin-bottom: 7px; }
.booking-steps__list p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); font-weight: 300; }

@media (max-width: 860px) { .booking-steps__grid { grid-template-columns: 1fr; } }

/* ---------- reviews: shared ---------- */
.quote { font-family: var(--display); font-size: 25px; line-height: 1.46; }
.attrib { font-size: 12.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.review summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 14px; }
.review summary::-webkit-details-marker { display: none; }
.review__preview {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	font-size: 15px; line-height: 1.7; color: var(--muted); font-weight: 300;
}
.review__more { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; color: var(--blue); }
.review__more svg { transition: transform .2s; }
.review__more-close { display: none; }
.review[open] .review__preview { display: none; }
.review[open] .review__more-open { display: none; }
.review[open] .review__more-close { display: inline; }
.review[open] .review__more svg { transform: rotate(180deg); }
.review[open] summary { order: 2; margin-top: 18px; }
.review[open] { display: flex; flex-direction: column; }
.review__full { display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.78; color: var(--ink-soft); font-weight: 300; }
.review__text { font-size: 15.5px; line-height: 1.74; color: var(--muted); font-weight: 300; display: flex; flex-direction: column; gap: 12px; }
.review__photo img { width: 100%; height: 190px; object-fit: cover; border-radius: 3px; }
.review__photo figcaption { margin-top: 8px; font-size: 12px; color: var(--faint); font-weight: 300; }

/* ---------- reviews: homepage ---------- */
.reviews-home { padding-block: var(--section); }
.review-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; align-items: start; }
.review-card { border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 3px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.review-card:has(.review[open]) { grid-column: 1 / -1; border-color: var(--line-strong); border-top-color: var(--blue); }
.review-card .attrib { padding-top: 14px; border-top: 1px solid var(--line); }

@media (max-width: 960px) { .review-cards { grid-template-columns: 1fr; } }

/* ---------- reviews: house page ---------- */
.house-reviews { max-width: 880px; }
.house-reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; padding-bottom: 22px; border-bottom: 2px solid var(--ink); }
.house-reviews__head h2 { font-size: clamp(28px, 3vw, 36px); }
.house-reviews__entry { padding: 30px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 15px; }
.house-reviews__entry .quote { font-size: 26px; line-height: 1.44; }
.house-reviews__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; padding-top: 28px; }

/* ---------- reviews: all reviews page ---------- */
.page-hero { background: var(--blue-tint); padding-block: 74px 66px; }
.page-hero__inner { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.page-hero .eyebrow { color: var(--blue); }
/* The second line of an H1: the words people search with, under the short
   name the design wants big. Sized against the page, not the heading. */
.h1-sub {
	display: block; margin-top: .55em;
	font-family: var(--body); font-weight: 300; font-style: normal;
	font-size: clamp(17px, 1.6vw, 22px); line-height: 1.35; letter-spacing: 0;
	color: var(--ink-soft); text-wrap: balance;
}
.place__title .h1-sub { margin-top: .45em; }
.contact__title .h1-sub { color: rgba(255,255,255,.88); }

.page-hero h1 { font-size: clamp(40px, 4.5vw, 54px); line-height: 1.06; letter-spacing: -0.015em; color: var(--ink); }
.page-hero p { font-size: 17px; line-height: 1.7; color: var(--ink-soft); font-weight: 300; }

.chips-bar { border-bottom: 1px solid var(--line); padding-block: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--muted); }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip[aria-current="page"] { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }

.rev-list { padding-block: 8px 80px; }
.rev { padding: 34px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 190px minmax(0, 68ch); gap: 40px; align-items: start; scroll-margin-top: 24px; }
.rev:last-child { border-bottom: none; }
.rev__meta { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.rev__meta .attrib { color: var(--ink); }
.rev__meta .rev__when { color: var(--faint); }
.rev__meta .review__photo { margin-top: 10px; }
.rev__meta .review__photo img { height: 140px; }
.rev__body { display: flex; flex-direction: column; gap: 14px; }
.rev__body .quote { font-size: 28px; line-height: 1.44; }
.rev__body .review__preview, .rev__body .review__text { font-size: 16px; line-height: 1.78; }

@media (max-width: 760px) {
	.rev { grid-template-columns: 1fr; gap: 14px; }
	.rev__meta { flex-direction: row; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
	.rev__meta .review__photo { display: none; }
}

/* ---------- CTA band ---------- */
.cta { background: var(--blue); padding-block: 76px; color: #FFFFFF; }
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 60px; }
.cta p { margin-top: 14px; max-width: 560px; font-size: 17px; line-height: 1.64; color: rgba(255,255,255,.9); font-weight: 300; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; min-width: min(260px, 100%); }

/* ---------- ordinary pages ---------- */
.page__head { padding-block: clamp(48px, 6vw, 80px) 32px; }
.page__title { font-size: clamp(38px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -0.015em; }
.page__lede { margin-top: 16px; font-size: 19px; line-height: 1.6; color: var(--muted); font-weight: 300; }
.page__image { margin-bottom: 48px; }
.page__image img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 3px; }
.page__article { padding-block: 32px; border-bottom: 1px solid var(--line); }

.prose { padding-bottom: var(--section); font-size: 17px; line-height: 1.78; color: var(--ink-soft); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.15; color: var(--ink); margin-top: 1.8em; }
.prose h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.22; color: var(--ink); margin-top: 1.6em; }
.prose ul { list-style: disc; padding-left: 1.25em; }
.prose ol { list-style: decimal; padding-left: 1.25em; }
.prose li + li { margin-top: .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 3px; }

/* ---------- footer ---------- */
.site-footer { background: var(--blue); color: rgba(255,255,255,.86); padding-block: 66px 42px; font-size: 14px; }
.site-footer a { color: #FFFFFF; }
.site-footer a:hover { color: #FFFFFF; }
.site-footer__grid { display: grid; grid-template-columns: 4fr 2fr 3fr 3fr; gap: 40px; }
.site-footer__about { display: flex; flex-direction: column; gap: 16px; }
.site-footer__about img { width: 200px; height: auto; }
.site-footer__about p { max-width: 290px; line-height: 1.72; font-weight: 300; }
.site-footer__heading { font-family: var(--body); font-size: 11px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,.72); margin-bottom: 16px; }
.site-footer__list { display: flex; flex-direction: column; gap: 12px; }
.site-footer__social { display: flex; gap: 14px; margin-top: 8px; }
.site-footer__base { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.28); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 12px; color: rgba(255,255,255,.75); }

@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- the region: filters ---------- */
.page-hero--filters { padding-bottom: 30px; }
.page-hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; }
.house-picker { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.house-picker--dark { color: var(--ink-soft); }
.house-picker select {
	height: 46px; padding: 0 16px; border-radius: 3px; border: 1px solid var(--line-strong);
	background: #FFFFFF; color: var(--ink); font: inherit; font-size: 15px; font-weight: 500;
}
.chips-bar + .hint, .wrap > .hint { margin-top: 24px; font-size: 15px; color: var(--muted); font-weight: 300; }
.page-hero--filters .chips { margin-top: 26px; }
.page-hero--filters .chip { background: #FFFFFF; border-color: var(--line-strong); color: var(--ink); }
.page-hero--filters .chip:hover { border-color: var(--blue); color: var(--blue); }
.page-hero--filters .chip[aria-current="page"] { background: var(--blue); border-color: var(--blue); color: #FFFFFF; font-weight: 500; }
.chip--pick { gap: 8px; }
.chip--pick svg { margin-right: 2px; }

/* ---------- things to do ---------- */
.section--last { padding-bottom: var(--section); }
.thing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.thing-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.thing { border: 1px solid var(--line); border-radius: 3px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.thing__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.thing__name { font-size: 24px; line-height: 1.2; }
.thing__name a { color: var(--ink); }
.thing__name a:hover { color: var(--blue); }
.thing__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.thing__text { font-size: 15px; line-height: 1.66; color: var(--muted); font-weight: 300; }
.thing__contact { display: flex; flex-direction: column; gap: 3px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.mins { font-size: 15px; font-weight: 500; color: var(--blue); white-space: nowrap; }
.mins--big { font-size: 22px; font-family: var(--display); font-weight: 400; }
.pick-flag { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 500; }

.picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.pick { border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 3px; padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.pick__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.pick__head h2 { font-size: 30px; line-height: 1.15; }
.pick__head a { color: var(--ink); }
.pick__text { font-size: 16px; line-height: 1.7; color: var(--ink-soft); font-weight: 300; }

/* ---------- market week ---------- */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; align-items: start; }
/* Each day is only as tall as its own markets - stretching them to match
   Saturday left long empty drops under Monday and Friday. */
.week__day { display: flex; flex-direction: column; border-right: 1px solid var(--line); height: 100%; }
.week__day:last-child { border-right: none; }
.week__name { font-family: var(--body); font-size: 15px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 16px 16px 12px; border-bottom: 1px solid var(--line); background: var(--stone); }
.week__day:last-child { border-right: none; }
.week__name--empty { color: var(--faint); }
.week__none { padding: 14px 16px; font-size: 13.5px; color: var(--faint); font-weight: 300; }
.week__market { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.week__market:last-child { border-bottom: none; }
.week__market--near { background: var(--blue-wash); }
.week__market--near .mins::after { content: " · nearest"; color: var(--muted); font-weight: 400; }

@media (max-width: 1100px) {
	.thing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.week__day { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
	.thing-grid, .thing-grid--wide, .picks { grid-template-columns: 1fr; }
	.week { grid-template-columns: 1fr; }
}

/* ---------- places index ---------- */
.places-head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; align-items: end; padding-block: clamp(40px, 5vw, 60px) 40px; }
.places-head__side { display: flex; flex-direction: column; gap: 20px; }
.postcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.postcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; color: var(--ink); }
.postcard--wide { grid-column: span 2; display: grid; grid-template-columns: 1.5fr 1fr; align-items: stretch; }
.postcard--wide .postcard__img { height: 100%; min-height: 320px; }
/* The text column of a wide card is short; centre it rather than leaving a hole. */
.postcard--wide .postcard__body { justify-content: center; gap: 16px; }
.postcard--wide .postcard__foot { margin-top: 20px; }
.postcard--type { background: var(--blue); color: #FFFFFF; border-color: var(--blue); }
.postcard__img { width: 100%; height: 100%; min-height: 220px; max-height: 400px; object-fit: cover; }
.postcard__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.postcard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.postcard__name { font-size: 30px; line-height: 1.05; }
.postcard--wide .postcard__name { font-size: 40px; }
.postcard__text { font-size: 15px; line-height: 1.66; color: var(--muted); font-weight: 300; }
.postcard--type .postcard__text { color: rgba(255,255,255,.8); }
.postcard__foot { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.postcard__more { font-size: 14px; font-weight: 500; color: var(--blue); }
.postcard--type .postcard__more, .postcard--type .mins { color: #FFFFFF; }
.stamp { font-family: var(--display); font-size: 18px; line-height: 1; padding: 7px 8px 5px; border: 1px solid var(--blue); color: var(--blue); border-radius: 2px; }
.stamp--light { border-color: rgba(255,255,255,.45); color: #FFFFFF; }

@media (max-width: 1100px) { .postcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .postcard--wide { grid-column: span 2; } }
@media (max-width: 720px) { .places-head { grid-template-columns: 1fr; } .postcards { grid-template-columns: 1fr; } .postcard--wide { grid-column: span 1; grid-template-columns: 1fr; } }

/* ---------- a place ---------- */
.place__hero { display: grid; grid-template-columns: 1fr 1.25fr; min-height: 520px; }
.place__hero--no-photo { grid-template-columns: 1fr; }
.place__panel { background: var(--blue-tint); color: var(--ink); padding: 48px var(--gutter); display: flex; flex-direction: column; justify-content: space-between; gap: 36px; }
.place__title { font-family: var(--display); font-size: clamp(56px, 7vw, 104px); line-height: .95; letter-spacing: -0.02em; margin: 0; }
.place__lede { max-width: 460px; font-size: 19px; line-height: 1.64; color: var(--ink-soft); font-weight: 300; }
.place__img { width: 100%; height: 100%; max-height: 620px; object-fit: cover; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--blue); }
.place__body { padding-top: 64px; }

.stay-nearby { background: var(--stone); padding-block: var(--section); margin-top: var(--section); }
.stay-nearby__grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 64px; align-items: start; }
.house-rows { background: #FFFFFF; border: 1px solid var(--line); border-radius: 3px; }
.house-rows li { border-bottom: 1px solid var(--line); }
.house-rows li:last-child { border-bottom: none; }
.house-rows a { display: grid; grid-template-columns: minmax(0, 1fr) 150px 90px; gap: 20px; align-items: center; padding: 16px 24px; color: var(--ink); }
.house-rows a:hover { background: var(--blue-wash); }
.house-rows__name { font-family: var(--display); font-size: 24px; }
.house-rows__band { font-size: 12.5px; color: var(--muted); }
.house-rows__mins { text-align: right; font-size: 16px; font-weight: 500; color: var(--blue); }
.link-list--cols { columns: 3; column-gap: 48px; border-top: none; }
.link-list--cols li { break-inside: avoid; }

@media (max-width: 900px) {
	.place__hero { grid-template-columns: 1fr; }
	.place__img { max-height: 320px; }
	.stay-nearby__grid { grid-template-columns: 1fr; }
	.link-list--cols { columns: 1; }
	.house-rows a { grid-template-columns: minmax(0, 1fr) 80px; }
	.house-rows__band { display: none; }
}

/* ---------- before you travel: guides ---------- */
.guide-head { background: var(--stone); padding-block: clamp(40px, 5vw, 56px) 0; }
.guide-head__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; padding-bottom: 36px; }
.guide-head__intro { max-width: 780px; }
.guide-head__checked { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.guide-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.guide-tab { display: inline-flex; align-items: center; height: 54px; padding: 0 24px; font-size: 15px; color: var(--muted); border-radius: 3px 3px 0 0; }
.guide-tab--on { background: #FFFFFF; color: var(--ink); font-weight: 500; }
.guide { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-top: 56px; }
/* The contents column is always present, so every page in the region and the
   guides reads the same way: nav left, writing right. */
.guide__contents { position: sticky; top: calc(var(--stick) + 24px); border-top: 2px solid var(--ink); padding-top: 16px; }
.guide__contents-title { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.guide__contents ul { display: flex; flex-direction: column; }
.guide__contents a { display: block; padding: 8px 0; font-size: 15px; color: var(--ink); }
.guide__contents a:hover { color: var(--blue); }
.guide__body { max-width: 860px; padding-bottom: 0; }
.guide__body h2 { scroll-margin-top: 24px; }
.guide-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: var(--section); padding: 40px 0 var(--section); border-top: 2px solid var(--ink); }
.guide-next__sign { font-size: 34px; font-style: italic; }
.guide-next__link { margin-left: auto; display: flex; align-items: center; gap: 24px; color: var(--ink); }
.guide-next__label { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-align: right; }
.guide-next__title { display: block; font-family: var(--display); font-size: 30px; }
.guide-next__arrow { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #FFFFFF; display: flex; align-items: center; justify-content: center; }

@media (max-width: 900px) {
	.guide { grid-template-columns: 1fr; }
	.guide__contents { position: static; }
}

/* ---------- at a glance, under a place hero ---------- */
.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.glance__box { padding: 30px 28px 30px 0; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--line); }
.glance__box:last-child { border-right: none; }
.glance__box + .glance__box { padding-left: 28px; }
.glance__label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.glance__value { font-size: 17px; line-height: 1.45; }

/* ---------- place: contents left, writing right ---------- */
.place-body { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-top: 64px; }
.place-body__contents { position: sticky; top: calc(var(--stick) + 24px); border-top: 2px solid var(--ink); padding-top: 16px; }
.place-body__contents ul { display: flex; flex-direction: column; }
/* Contents links only - not buttons. :where() keeps the specificity of a plain
   ".place-body__contents a", so later rules such as .ask-box__ways a still win.
   On a house page this column holds the
   booking box, and these rules turned "Request these dates" dark on blue, and
   blue on blue on hover. */
.place-body__contents a:where(:not(.btn)) { display: block; padding: 8px 0; font-size: 15px; color: var(--ink); }
.place-body__contents a:where(:not(.btn)):hover { color: var(--blue); }
.place-body__text { max-width: 760px; padding-bottom: 0; }
.place-body__text h3 { scroll-margin-top: 24px; }
.place__panel-main { display: flex; flex-direction: column; gap: 22px; }
.place__dept { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.place__dept .stamp--light { border-color: var(--line-strong); color: var(--ink); }

.pair-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.pair { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 26px; align-items: center; color: var(--ink); }
.pair__img { width: 220px; height: 150px; object-fit: cover; border-radius: 3px; }
.pair__img--type { display: flex; align-items: center; justify-content: center; background: var(--blue); color: #FFFFFF; font-family: var(--display); font-size: 30px; }
.pair__body { display: flex; flex-direction: column; gap: 8px; }
.pair__name { font-family: var(--display); font-size: 30px; }
.pair:hover .pair__name { color: var(--blue); }
.pair__text { font-size: 15px; line-height: 1.64; color: var(--muted); font-weight: 300; }

@media (max-width: 900px) {
	.glance, .glance--3, .glance--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.glance__box { border-bottom: 1px solid var(--line); padding-right: 20px; }
	/* Two to a row: the first box of every row lines up with the page edge,
	   the second is indented - otherwise box three sat 28px in from box one. */
	.glance__box:nth-child(2n + 1) { padding-left: 0; }
	.glance__box:nth-child(2n) { padding-left: 28px; border-right: none; }
	.glance__box:nth-last-child(-n + 2) { border-bottom: none; }
	.place-body { grid-template-columns: 1fr; }
	.place-body__contents { position: static; }
	.pair-grid { grid-template-columns: 1fr; }
	.pair { grid-template-columns: 140px minmax(0, 1fr); gap: 18px; }
	.pair__img { width: 140px; height: 100px; }
}

/* ---------- guides: numbers, checklists, tables ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); margin-bottom: 36px; }
.numbers__box { padding: 28px 24px 26px 0; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--line-strong); }
.numbers__box:last-child { border-right: none; }
.numbers__box + .numbers__box { padding-left: 24px; }
.numbers__value { font-family: var(--display); font-size: 52px; line-height: 1; }
.numbers__box:first-child .numbers__value { color: var(--blue); }
.numbers__unit { font-size: 22px; }
.numbers__label { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }

/* Ticks belong to the checklist block only; a list of links with ticks beside it
   reads as though something has been completed. */
.guide__body ul { list-style: none; padding-left: 0; }
.guide__body ul li { position: relative; padding-left: 22px; margin-top: .55em; }
.guide__body ul li::before {
	content: ""; position: absolute; left: 0; top: .62em;
	width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong);
}
.prose table, .guide__body table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; font-size: 16px; }
.prose thead th, .guide__body thead th { background: var(--blue); color: #FFFFFF; font-weight: 400; font-size: 13px; letter-spacing: .06em; text-align: left; padding: 14px 20px; }
.prose td, .prose th, .guide__body td, .guide__body th { padding: 14px 20px; border-top: 1px solid var(--line); text-align: left; }
.prose tbody tr:nth-child(even), .guide__body tbody tr:nth-child(even) { background: #FAFBFC; }

@media (max-width: 900px) {
	.numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.numbers__box { border-bottom: 1px solid var(--line-strong); padding-right: 18px; }
	.prose table, .guide__body table { display: block; overflow-x: auto; }
}

/* ---------- about ---------- */
.eyebrow--light { color: var(--blue); }
.contact__panel .eyebrow--light { color: rgba(255,255,255,.8); }
.about-hero { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 560px; }
.about-hero__panel { background: var(--blue-tint); color: var(--ink); padding: 64px var(--gutter); display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.about-hero__title { font-family: var(--display); font-size: clamp(42px, 4.8vw, 68px); line-height: 1.04; letter-spacing: -0.015em; margin: 0; }
.about-hero__lede { max-width: 500px; font-size: 18px; line-height: 1.7; color: var(--ink-soft); font-weight: 300; }
.about-hero__mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 4px; background: var(--line); }
.about-hero__mosaic img { width: 100%; height: 100%; object-fit: cover; }
.about-hero__mosaic img:first-child { grid-row: span 2; }

.suzanne { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding-top: var(--section); }
.suzanne__photo { min-height: 460px; background: var(--stone); border-radius: 3px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.suzanne__photo img { width: 100%; height: 100%; object-fit: cover; }
.suzanne__text { display: flex; flex-direction: column; gap: 20px; max-width: 640px; }
.suzanne__name { font-size: clamp(38px, 4vw, 52px); line-height: 1.05; }
.suzanne__words p, .suzanne__houses { font-size: 17px; line-height: 1.8; color: var(--ink-soft); font-weight: 300; }
.suzanne__words p + p { margin-top: 1em; }
.suzanne__contact { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 16px; font-weight: 500; }

.about-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.about-quote { margin: 0; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 3px; padding: 34px; display: flex; flex-direction: column; gap: 20px; }
.about-quote .quote { font-size: 28px; line-height: 1.44; }
.about-quote cite { font-style: normal; }

.about-region { margin-top: var(--section); background: var(--stone); padding-block: var(--section); }
.about-region__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-region__text .section__title { margin-block: 12px 18px; }
.about-region__lede { margin-top: 18px; font-size: 17px; line-height: 1.8; color: var(--ink-soft); font-weight: 300; }
.about-region__links { display: flex; flex-direction: column; gap: 14px; }
.big-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 3px; padding: 26px 28px; color: var(--ink); }
.big-link:hover { border-color: var(--blue); }
.big-link__name { display: block; font-family: var(--display); font-size: 30px; }
.big-link__text { display: block; font-size: 14.5px; color: var(--muted); font-weight: 300; margin-top: 6px; }
.big-link__arrow { color: var(--blue); font-size: 22px; }

.placeholder { display: block; max-width: 40ch; padding: 24px; font-size: 15px; line-height: 1.6; color: var(--faint); text-align: center; border: 1px dashed var(--line-strong); border-radius: 3px; }
.placeholder--inline { text-align: left; max-width: none; }

@media (max-width: 900px) {
	.about-hero, .suzanne, .about-region__grid, .about-quotes { grid-template-columns: 1fr; }
	.suzanne__photo { min-height: 320px; }
	.about-hero__mosaic { grid-auto-rows: 180px; }
}

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; align-items: stretch; }
.contact__panel { background: var(--blue); color: #FFFFFF; padding: clamp(48px, 6vw, 72px) var(--gutter); display: flex; flex-direction: column; gap: 32px; }
.contact__title { font-family: var(--display); font-size: clamp(48px, 6vw, 72px); line-height: 1.02; margin: 0; font-weight: 400; }
.contact__lede { max-width: 460px; font-size: 18px; line-height: 1.7; color: rgba(255,255,255,.82); font-weight: 300; }
.contact__ways { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.28); }
.contact__way { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; align-items: center; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.28); color: #FFFFFF; }
.contact__icon { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; }
.contact__label { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.contact__value { display: block; font-family: var(--display); font-size: 34px; line-height: 1.1; }
.contact__value--email { font-size: clamp(20px, 2.2vw, 28px); word-break: break-word; }
.contact__social { display: flex; flex-wrap: wrap; gap: 18px; padding: 22px 0; font-size: 15px; color: rgba(255,255,255,.8); }
.contact__social a { color: #FFFFFF; }
.contact__note { display: flex; gap: 14px; align-items: flex-start; margin-top: auto; background: rgba(255,255,255,.12); border-radius: 3px; padding: 20px 22px; font-size: 14.5px; line-height: 1.64; color: rgba(255,255,255,.82); }
.contact__form-side { background: var(--stone); padding: clamp(40px, 5vw, 72px) var(--gutter); }
.contact__form { background: #FFFFFF; border: 1px solid var(--line); border-radius: 4px; padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.contact__form input[type="text"], .contact__form input[type="email"], .contact__form input[type="tel"], .contact__form input[type="date"], .contact__form select, .contact__form textarea {
	width: 100%; border: 1px solid var(--line-strong); border-radius: 3px; padding: 14px 16px; font: inherit; font-size: 15px; background: #FFFFFF; color: var(--ink);
}
.contact__form textarea { min-height: 132px; }
.contact__form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.contact__form input[type="submit"], .contact__form .wpcf7-submit { height: 54px; padding: 0 34px; background: var(--blue); color: #FFFFFF; border: none; border-radius: 3px; font: inherit; font-size: 15.5px; font-weight: 500; cursor: pointer; }
.contact__terms { font-size: 14px; }
.contact__fallback { padding-top: 4px; }
.contact-where { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.contact-where__map { min-height: 460px; background: var(--stone); border-radius: 3px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.contact-where__map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; }
.contact-where__text { display: flex; flex-direction: column; gap: 18px; }
.contact-where__text .link-list { border-top: 1px solid var(--line); }

@media (max-width: 900px) {
	.contact, .contact-where { grid-template-columns: 1fr; }
	.contact-where__map { min-height: 300px; }
}

/* ---------- guide content blocks ---------- */
.guide__main { display: flex; flex-direction: column; gap: clamp(36px, 4vw, 56px); max-width: 860px; }
.guide__main .guide__body { padding-bottom: 0; }
.g-block__title { font-family: var(--display); font-size: clamp(28px, 3vw, 36px); line-height: 1.15; margin-bottom: 22px; }
.g-block + .g-block { padding-top: 0; }
.g-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.g-checklist__group { border: 1px solid var(--line); border-radius: 3px; padding: 26px 28px; }
.g-checklist__title { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.g-checklist ul { display: flex; flex-direction: column; }
.g-checklist li { position: relative; padding: 10px 0 10px 32px; border-bottom: 1px solid #F0F3F5; font-size: 15.5px; line-height: 1.55; }
.g-checklist li:last-child { border-bottom: none; }
.g-checklist li::before { content: "✓"; position: absolute; left: 0; top: 10px; color: var(--blue); font-weight: 600; }

.g-table-wrap { overflow-x: auto; max-width: 100%; }
.g-table { min-width: 520px; }
.g-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); font-size: 16px; }
.g-table thead th { background: var(--blue); color: #FFFFFF; font-weight: 400; font-size: 13px; letter-spacing: .06em; text-align: left; padding: 15px 20px; }
.g-table tbody th { text-align: left; font-weight: 400; }
.g-table td, .g-table tbody th { padding: 15px 20px; border-top: 1px solid var(--line); font-family: var(--display); font-size: 24px; }
.g-table tbody th { font-family: var(--body); font-size: 16px; color: var(--ink); }
.g-table tbody tr:nth-child(even) { background: #FAFBFC; }

.g-callout { display: flex; gap: 18px; align-items: flex-start; background: var(--blue); color: rgba(255,255,255,.88); border-radius: 3px; padding: 24px 26px; }
.g-callout strong { color: #FFFFFF; font-weight: 600; }
.g-callout p { font-size: 15.5px; line-height: 1.66; }

.g-steps { display: flex; flex-direction: column; }
.g-steps li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.g-steps li:last-child { border-bottom: 1px solid var(--line); }
.g-steps__num { font-family: var(--display); font-size: 36px; line-height: 1; color: var(--blue); }
.g-steps h3 { font-family: var(--body); font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.g-steps p { font-size: 16px; line-height: 1.7; color: var(--ink-soft); }

.g-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.g-rules__card { border-top: 3px solid var(--blue); background: var(--stone); border-radius: 0 0 3px 3px; padding: 24px; }
.g-rules__card h3 { font-size: 24px; margin-bottom: 10px; }
.g-rules__card p { font-size: 15px; line-height: 1.66; color: var(--ink-soft); font-weight: 300; }
@media (max-width: 900px) { .g-rules { grid-template-columns: 1fr; } }

.g-costs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.g-costs__box { border: 1px solid var(--line); border-radius: 3px; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.g-costs__label { font-size: 13px; color: var(--muted); }
.g-costs__value { font-family: var(--display); font-size: 32px; line-height: 1; }
.g-costs__note { font-size: 14px; color: var(--muted); }

.g-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.g-lists__box { border: 1px solid var(--line); border-radius: 3px; padding: 26px 28px; }
.g-lists__title { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.g-lists li { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); padding: 8px 0; border-bottom: 1px solid #F0F3F5; }
.g-lists li:last-child { border-bottom: none; }

@media (max-width: 900px) {
	.g-checklist, .g-costs, .g-lists { grid-template-columns: 1fr; }
}

/* ---------- language switch ---------- */
.utility__inner { justify-content: space-between; }
.lang-switch { margin-left: auto; display: inline-flex; align-items: center; gap: 12px; }
.lang-switch a { color: rgba(255,255,255,.78); }
.lang-switch a:hover { color: #FFFFFF; }
.lang-switch__on { font-weight: 600; border-bottom: 2px solid #FFFFFF; padding-bottom: 2px; }
.en-tag-line { margin-bottom: 18px; }
.en-tag {
	display: inline-flex; align-items: center; margin-left: 10px; padding: 3px 8px;
	border: 1px solid var(--line-strong); border-radius: 999px;
	font-family: var(--body); font-size: 11px; font-style: normal; font-weight: 400;
	letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
	vertical-align: middle;
}
.place__panel .en-tag, .about-hero__panel .en-tag, .contact__panel .en-tag, .cta .en-tag-line { margin-bottom: 18px; }
.contact__panel .en-tag { border-color: rgba(255,255,255,.35); color: rgba(255,255,255,.75); }

/* ---------- icons on things to do ---------- */
.thing__name { display: flex; align-items: flex-start; gap: 12px; }
.thing__icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--blue-wash); color: var(--blue); margin-top: 2px; }
.thing__icon .icon { width: 22px; height: 22px; }
.week__market .thing__icon { display: none; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* A thing to do gets the place page's hero at a sensible size: entry names are
   long ("Saint-Antonin-Noble-Val market") where place names are short. */
.place__title--thing { font-size: clamp(34px, 4vw, 54px); line-height: 1.05; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.place__title--thing .thing__icon { width: 52px; height: 52px; background: #FFFFFF; color: var(--blue); }
.place__title--thing .thing__icon .icon { width: 28px; height: 28px; }
.pick-flag--light { color: var(--blue); }
/* Entries carry fewer facts than a place does - two boxes should fill the row,
   not sit in the first half of a four-column grid. */
.glance--1 { grid-template-columns: minmax(0, 1fr); }
.glance--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.glance--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Waymarked walks on a place page - the dot matches the colour on the signs. */
.walks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.walks__note { font-size: 15px; }
.walk { border: 1px solid var(--line); border-radius: 3px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.walk__dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.walk__name { font-size: 24px; line-height: 1.2; color: var(--ink); }
.walk__mins { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.walk__text { font-size: 16px; line-height: 1.7; color: var(--ink-soft); font-weight: 300; }
@media (max-width: 900px) { .walks { grid-template-columns: 1fr; } }

/* Suzanne's picks do not re-sort when a house is chosen - they are her choices,
   not the nearest ones - so they have to look like a different kind of card. */
.thing-grid--picks .thing { border-top: 3px solid var(--blue); background: var(--blue-wash); }

/* ---------- phones ---------- */

/* The utility bar was wrapping to two lines once the language switch joined it.
   The number and address become the icons themselves - still one tap to call or
   write, in a third of the width. */
@media (max-width: 760px) {
	.utility__text { display: none; }
	.utility__inner { flex-wrap: nowrap; gap: 18px; min-height: 38px; }
	.utility a svg { width: 17px; height: 17px; }
}

/* A speed-limit table does not fit across a phone. Rather than scroll it
   sideways, each row becomes its own small block with the column name beside
   the figure. */
@media (max-width: 700px) {
	.g-table-wrap { overflow-x: visible; }
	.g-table { min-width: 0; border: none; font-size: 16px; }
	.g-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.g-table tbody tr { display: block; border: 1px solid var(--line); border-radius: 3px; margin-bottom: 12px; background: #FFFFFF; }
	.g-table tbody tr:nth-child(even) { background: #FFFFFF; }
	.g-table tbody th { display: block; padding: 14px 18px 0; font-size: 17px; font-weight: 500; }
	.g-table td {
		display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
		padding: 8px 18px; border-top: none; font-size: 22px;
	}
	.g-table tbody tr td:last-child { padding-bottom: 16px; }
	.g-table td::before {
		content: attr(data-label); font-family: var(--body); font-size: 12px; font-weight: 500;
		letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
	}
}

/* The numbers strip: two to a row, with the divider only where it belongs. */
@media (max-width: 900px) {
	.numbers { margin-bottom: 28px; }
	.numbers__box { padding: 22px 18px 20px 0; }
	.numbers__box + .numbers__box { padding-left: 18px; }
	.numbers__box:nth-child(2n + 1) { padding-left: 0; }
	.numbers__box:nth-child(2n) { border-right: none; padding-right: 0; }
	.numbers__box:nth-last-child(-n + 2) { border-bottom: none; }
	.numbers__value { font-size: 42px; }
	.numbers__unit { font-size: 18px; }
}
@media (max-width: 460px) {
	.numbers { grid-template-columns: 1fr; }
	.numbers__box { border-right: none; padding: 18px 0; }
	.numbers__box + .numbers__box { padding-left: 0; }
}

/* On a phone the three guide tabs pushed the page down before it had started.
   The next guide is linked at the foot of every guide, so they go. */
@media (max-width: 900px) {
	.guide-tabs { display: none; }
	.guide-head__row { gap: 18px; }
	.guide { padding-top: 32px; }
	.guide-next { margin-top: calc(var(--section) * .7); padding-top: 28px; }
	.guide-next__title { font-size: 24px; }
}

/* Links out to gov.uk and the consulates read as a list of destinations
   rather than a run of underlined text. */
.link-rows { list-style: none; padding-left: 0; display: grid; gap: 8px; margin-block: 20px; }
/* The grey dots were never list markers: .guide__body draws its own bullet as a
   pseudo-element, and that rule outranks a bare .link-rows. A row of link boxes
   wants neither the dot nor the indent it reserves. */
.guide__body ul.link-rows li,
.prose ul.link-rows li { padding-left: 0; margin-top: 0; }
.guide__body ul.link-rows li::before,
.prose ul.link-rows li::before { content: none; display: none; }
.prose ul.link-rows { list-style: none; padding-left: 0; }
.link-rows li { margin: 0; }
.link-rows > li > a {
	display: flex; align-items: center; justify-content: space-between; gap: 18px;
	padding: 14px 18px; border: 1px solid var(--line); border-radius: 3px;
	color: var(--ink); font-size: 16px; text-decoration: none;
}
.link-rows > li > a:hover { border-color: var(--blue); color: var(--blue); }
.link-rows > li > a::after {
	content: ""; flex: none; width: 16px; height: 16px; opacity: .55;
	background: currentColor;
	-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"><path d="M7 17L17 7"/><path d="M9 7h8v8"/></svg>') center / contain 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"><path d="M7 17L17 7"/><path d="M9 7h8v8"/></svg>') center / contain no-repeat;
}
/* The old site left empty <em> tags where an icon used to sit. */
.guide__body a em:empty { display: none; }

/* ---------- the enquiry form ---------- */
/* Two to a row so the form is not one long column; the message and the button
   run full width. Paired fields come wrapped in .cf7-row - see
   dev/cf7-enquiry-form.txt. */
.cf7-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.cf7-row > p { margin: 0 0 16px; }
.wpcf7 p { margin: 0 0 16px; }
.wpcf7 label { display: block; font-size: 13px; letter-spacing: .04em; color: var(--ink-soft); }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"],
.wpcf7 input[type="date"], .wpcf7 input[type="number"], .wpcf7 select, .wpcf7 textarea {
	width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-size: 16px;
	color: var(--ink); background: #FFFFFF;
	border: 1px solid var(--line-strong); border-radius: 3px;
}
.wpcf7 textarea { resize: vertical; min-height: 110px; }
/* House page: the rates' Description (deposit terms) under Weekly rates (23 Nov). */
.rate-terms { margin-top: 24px; max-width: 720px; padding: 18px 22px; background: var(--blue-tint); border-radius: 3px; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.rate-terms p + p { margin-top: .8em; }.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus {
	outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue);
}
.wpcf7 .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.wpcf7 .wpcf7-acceptance input { margin-top: 3px; }
/* Shown by chif.js only for a house with a studio or annexe price. */
.wpcf7 .cf7-extra { display: none; }
.wpcf7 .cf7-extra.is-on { display: block; }
.wpcf7 input[type="submit"] {
	height: 52px; padding: 0 30px; border: 0; border-radius: 3px; cursor: pointer;
	background: var(--blue); color: #FFFFFF; font: inherit; font-size: 15px; font-weight: 500;
}
.wpcf7 input[type="submit"]:hover { background: var(--blue-hover); }
@media (max-width: 620px) { .cf7-row { grid-template-columns: 1fr; } }

/* ---------- days out from a house ---------- */
/* Grouped by how far it is to drive, because that is the question: what can we
   do this morning, and what needs the whole day. */
.band + .band { margin-top: 38px; }
.band__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 14px; }
.band__title { font-size: 24px; line-height: 1.2; color: var(--ink); }
.band__head .muted { font-size: 15px; }

/* ---------- a house ---------- */
.house-head { padding-top: 40px; }
/* .crumbs is white for the dark heroes; the house page is on white. */
.crumbs--dark { color: var(--muted); }
.crumbs--dark a { color: var(--ink-soft); }
.crumbs--dark a:hover { color: var(--blue); }
.house-head__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-top: 10px; }
.house-head__where { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 12px; font-size: 15px; color: var(--ink-soft); }
.house-head__where > span + span::before { content: "· "; color: var(--muted); }
.house-head__from { font-size: 15px; color: var(--ink-soft); }
.house-head__from strong { font-family: var(--display); font-size: 34px; font-weight: 400; color: var(--ink); }

/* The photographs: one large, four beside it. */
.house-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 26px; position: relative; }
.house-photos__cell { margin: 0; overflow: hidden; border-radius: 3px; aspect-ratio: 4 / 3; }
.house-photos__cell--lead { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.house-photos__cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.house-photos__all {
	position: absolute; right: 14px; bottom: 14px; padding: 9px 16px;
	background: #FFFFFF; color: var(--ink); border-radius: 3px;
	font-size: 13px; font-weight: 500; box-shadow: 0 2px 10px rgba(8,36,59,.18);
}
.house-photos__all:hover { color: var(--blue); }

.house-aside__cta { margin-top: 24px; }
.house-aside__cta .btn { width: 100%; }
.house-changeover { max-width: 620px; margin-bottom: 20px; }
.house-calendar { max-width: 760px; }
.house-calendar__hint { max-width: 620px; margin: -8px 0 16px; font-size: 14px; color: var(--ink-soft); }

/* ---------- the availability calendar ----------
   MotoPress draws it with jquery.datepick's stock theme - black bars, grey
   grids, lime cells. Everything here is scoped to .house-calendar .mphb-calendar
   so it outranks the plugin's own rules without !important. Cell states come
   from MotoPress's classes; .chif-pick is added by chif.js. */
.house-calendar .mphb-calendar { font-family: inherit; }
.house-calendar .mphb-calendar .datepick {
	position: relative; width: 100% !important; /* datepick writes an inline width */
	padding: 18px 18px 20px; border: 1px solid var(--line); border-radius: 4px; background: #FFFFFF;
}
.house-calendar .mphb-calendar .datepick-nav {
	position: absolute; top: 14px; left: 14px; right: 14px; z-index: 1; float: none; width: auto;
	display: flex; justify-content: space-between; background: none; color: var(--ink); pointer-events: none;
}
.house-calendar .mphb-calendar .datepick-nav a {
	pointer-events: auto; width: 36px; height: 36px; padding: 0; margin: 0; border: 1px solid var(--line-strong); border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 0; color: var(--ink); background: #FFFFFF; text-decoration: none;
}
/* The glyphs sit high and left in most fonts; nudged to the optical centre. */
.house-calendar .mphb-calendar .datepick-nav a::before { font-size: 20px; line-height: 1; display: block; margin-top: -2px; }
.house-calendar .mphb-calendar .datepick-cmd-prev::before { content: "\2039"; }
.house-calendar .mphb-calendar .datepick-cmd-next::before { content: "\203A"; }
.house-calendar .mphb-calendar .datepick-nav a:hover { border-color: var(--blue); color: var(--blue); }
.house-calendar .mphb-calendar .datepick-nav .datepick-cmd-today { display: none; }
.house-calendar .mphb-calendar .datepick-nav .datepick-disabled { opacity: .35; pointer-events: none; }
/* MotoPress sets each month's table to height: 100% - of the month, which also
   holds the month name above it - so the table came out one header too tall and
   its last row of dates hung below the panel and over the key. */
.house-calendar .mphb-calendar .datepick,
.house-calendar .mphb-calendar .datepick-month-row,
.house-calendar .mphb-calendar .datepick-month table { height: auto; }
.house-calendar .mphb-calendar .datepick-month-row { display: flex; gap: 28px; }
.house-calendar .mphb-calendar .datepick-month { flex: 1 1 0; width: auto !important; height: auto; min-height: 0; float: none; border: 0; background: none; }
.house-calendar .mphb-calendar .datepick-month-header,
.house-calendar .mphb-calendar .datepick-month-header select {
	height: 36px; background: none; color: var(--ink); font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 36px;
}
.house-calendar .mphb-calendar .datepick-month-header { margin-bottom: 12px; text-align: center; }
.house-calendar .mphb-calendar .datepick-month-header select { width: auto; padding: 0 2px; border: 0; -webkit-appearance: none; appearance: none; cursor: pointer; text-align: center; }
.house-calendar .mphb-calendar .datepick-month table { border-collapse: separate; border-spacing: 3px; }
.house-calendar .mphb-calendar .datepick-month thead { border: 0; }
.house-calendar .mphb-calendar .datepick-month th,
.house-calendar .mphb-calendar .datepick-month th a,
.house-calendar .mphb-calendar .datepick-month th span {
	border: 0; background: none; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 4px 0 6px;
}
.house-calendar .mphb-calendar .datepick-month td { border: 0; background: none; padding: 0; }
.house-calendar .mphb-calendar .datepick-month td .mphb-date-cell {
	display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 3px;
	background: transparent; background-image: none; color: #B4C0CA; font-size: 14px; font-weight: 400; text-decoration: none;
}
.house-calendar .mphb-calendar .datepick-month td .mphb-date-cell.mphb-available-date { background: var(--blue-wash); color: var(--ink); }
.house-calendar .mphb-calendar .datepick-month td .mphb-date-cell.mphb-booked-date,
.house-calendar .mphb-calendar .datepick-month td .mphb-date-cell.mphb-not-stay-in-date {
	background: var(--stone); background-image: repeating-linear-gradient(135deg, transparent 0 5px, rgba(91, 107, 120, .09) 5px 6px);
	color: #8E9CA8; text-decoration: line-through; text-decoration-color: rgba(91, 107, 120, .45);
}
.house-calendar .mphb-calendar .datepick-month td .mphb-date-cell.mphb-past-date,
.house-calendar .mphb-calendar .datepick-month td .mphb-date-cell.mphb-out-of-season-date,
.house-calendar .mphb-calendar .datepick-month td .mphb-date-cell.mphb-extra-date { background: transparent; color: #C3CCD4; text-decoration: none; }
.house-calendar .mphb-calendar .datepick-month td .mphb-date-cell.mphb-extra-date { visibility: hidden; }
/* datepick always draws six week rows; a row holding only other months' days
   is blank, and left a gap under the month - most visible stacked on a phone. */
.house-calendar .mphb-calendar .datepick-month tbody tr:not(:has(.mphb-date-cell:not(.mphb-extra-date))) { display: none; }
.house-calendar .mphb-calendar .datepick-month td .datepick-today { font-weight: 600; }
/* Free changeover days, marked by chif.js: click one to check that week. */
.house-calendar .mphb-calendar .datepick-month td .mphb-date-cell.chif-pick {
	cursor: pointer; background: #FFFFFF; color: var(--blue); font-weight: 600; box-shadow: inset 0 0 0 2px var(--blue);
}
.house-calendar .mphb-calendar .datepick-month td .mphb-date-cell.chif-pick:hover,
.house-calendar .mphb-calendar .datepick-month td .mphb-date-cell.chif-pick:focus-visible { background: var(--blue); color: #FFFFFF; outline: none; }
.house-calendar .mphb-calendar .datepick-ctrl, .house-calendar .mphb-calendar .datepick-clear-fix { display: none; }
.house-calendar .mphb-loading { opacity: .55; transition: opacity .2s; }

.cal-key { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--ink-soft); max-width: 760px; }
.cal-key li { display: inline-flex; align-items: center; gap: 8px; }
.cal-key__swatch { width: 18px; height: 18px; border-radius: 3px; flex: none; }
.cal-key__swatch--free { background: var(--blue-wash); }
.cal-key__swatch--pick { background: #FFFFFF; box-shadow: inset 0 0 0 2px var(--blue); }
.cal-key__swatch--booked { background: var(--stone); background-image: repeating-linear-gradient(135deg, transparent 0 4px, rgba(91, 107, 120, .16) 4px 5px); }
.cal-key__swatch--closed { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line-strong); }

@media (max-width: 640px) {
	.house-calendar .mphb-calendar .datepick { padding: 14px 10px 16px; }
	.house-calendar .mphb-calendar .datepick-month-row { flex-direction: column; gap: 18px; }
	/* flex: 1 1 0 shares out width side by side; stacked, it shares out height -
	   of a container with none - and both months collapsed on top of each other. */
	.house-calendar .mphb-calendar .datepick-month { flex: none; }
	.house-calendar .mphb-calendar .datepick-month td .mphb-date-cell { height: 38px; }
}

/* No border-top: .section__head--rule above it already draws a line, and the
   two together read as a mistake. */
.rate-rows { max-width: 620px; }
.rate-rows__row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rate-rows__k { font-size: 14px; color: var(--muted); }
.rate-rows__v { font-size: 16px; color: var(--ink); text-align: right; }
.rate-rows__also { display: block; font-size: 13.5px; color: var(--muted); }

.house-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.house-gallery__cell { margin: 0; overflow: hidden; border-radius: 3px; aspect-ratio: 4 / 3; }
.house-gallery__cell img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
	.house-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.house-photos__cell--lead { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
	.house-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.house-head__from strong { font-size: 28px; }
}

/* ---------- the gallery lightbox ---------- */
[data-lightbox] [data-full] { cursor: zoom-in; }
[data-lightbox] [data-full]:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
body.lb-open { overflow: hidden; }
.lb {
	position: fixed; inset: 0; z-index: 200; display: none;
	align-items: center; justify-content: center;
	background: rgba(8, 36, 59, .94); padding: 40px 64px;
}
.lb--on { display: flex; }
.lb__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; gap: 12px; }
.lb__img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 3px; display: block; margin: 0 auto; }
.lb__cap { color: rgba(255,255,255,.72); font-size: 14px; text-align: center; }
/* The controls sit over photographs of every brightness, so they carry their own
   ground rather than relying on the picture behind them being dark. 46px is a
   thumb, not a cursor. */
.lb__close, .lb__nav {
	position: absolute; cursor: pointer; color: #FFFFFF;
	display: flex; align-items: center; justify-content: center;
	width: 46px; height: 46px; padding: 0; line-height: 1;
	background: rgba(8, 36, 59, .55); border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 50%; font-size: 30px;
	transition: background-color .15s;
}
.lb__close:hover, .lb__nav:hover { background: rgba(8, 36, 59, .85); }
.lb__close:focus-visible, .lb__nav:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
.lb__close { top: 14px; right: 14px; font-size: 26px; }
.lb__nav--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb__nav--next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.72); font-size: 13px; margin: 0; }
@media (max-width: 700px) {
	.lb { padding: 64px 10px 72px; }
	/* On a phone the arrows would sit on the photograph itself; swipe is the
	   natural gesture, so they move down beside the count. */
	.lb__nav--prev, .lb__nav--next { top: auto; bottom: 12px; transform: none; }
	.lb__nav--prev { left: 18px; }
	.lb__nav--next { right: 18px; }
	.lb__img { max-height: 70vh; }
}

/* ---------- date search + what is free ---------- */
/* The search sits in a white card straddling the foot of the hero, so it reads
   as one object bridging the blue and the page - not a band underneath it. */
.avail { position: relative; z-index: 3; margin-top: -58px; }
.avail__form {
	display: grid;
	/* Six children: two dates, two counts, the house, the button. At five
	   columns the button wrapped onto a second row. */
	grid-template-columns: minmax(140px, 1.15fr) minmax(140px, 1.15fr) 86px 86px minmax(130px, 1fr) auto;
	align-items: stretch; gap: 0;
	background: #FFFFFF; border: 1px solid var(--line); border-radius: 3px;
	box-shadow: 0 18px 44px rgba(8, 36, 59, .16);
	padding: 8px;
}
.avail__field { display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 12px 20px; }
/* Hairlines between the fields, as on the canvas. */
.avail__field + .avail__field { border-left: 1px solid var(--line); }
.avail__field label { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.avail__field input,
.avail__field select {
	height: 30px; padding: 0; font: inherit; font-size: 16px; color: var(--ink);
	background: none; border: 0; border-radius: 0; width: 100%;
}
.avail__field select { appearance: none; cursor: pointer; }
.avail__field input:focus, .avail__field select:focus { outline: 2px solid var(--blue); outline-offset: 3px; }
.avail__go { align-self: stretch; height: auto; min-height: 62px; margin-left: 8px; }
.avail__note { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }

/* On the availability page there is no hero above it, so the card must not pull
   itself up into the header the way it does on the homepage. */
.avail--page { margin-top: 0; padding-top: clamp(28px, 4vw, 44px); }
.avail--page .avail__form { box-shadow: 0 10px 26px rgba(8, 36, 59, .10); }

.free-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.free-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; color: var(--ink); }
.free-card:hover { border-color: var(--blue); color: var(--ink); }
.free-card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.free-card__body { display: flex; flex-direction: column; gap: 8px; padding: 22px; }
.free-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.free-card__name { font-family: var(--display); font-size: 24px; }
.free-card__weeks { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); white-space: nowrap; }
.free-card__facts { font-size: 14.5px; color: var(--muted); }
.free-card__next { font-size: 14.5px; color: var(--ink-soft); }

@media (max-width: 1000px) {
	.avail__form { grid-template-columns: repeat(2, minmax(0, 1fr)); box-shadow: 0 10px 26px rgba(8, 36, 59, .12); }
	.avail__field { padding: 12px 16px; }
	.avail__field:nth-child(odd) { border-left: 0; }
	/* Five fields over two columns leaves House alone on the last row -
	   let it take the width rather than sit beside a gap. */
	.avail__field:nth-child(5) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
	.avail__go { grid-column: 1 / -1; width: 100%; margin: 8px 0 0; min-height: 52px; }
	.free-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) { .free-grid { grid-template-columns: 1fr; } }

/* ---------- search results ---------- */
.results-head { padding-top: 48px; }
.results-head .page__title { font-size: clamp(34px, 4vw, 54px); }
.results-head .muted { margin-top: 12px; }
.results { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; padding-block: 40px var(--section); }

.results__rail { position: sticky; top: calc(var(--stick) + 24px); }
.filters { display: flex; flex-direction: column; gap: 26px; }
.filters__group { border-top: 2px solid var(--ink); padding-top: 14px; }
.filters__title { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.chk { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--ink-soft); padding: 7px 0; cursor: pointer; }
.chk input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--blue); flex: none; }
.filters .field { display: flex; flex-direction: column; gap: 5px; padding: 6px 0; }
.filters .field span { font-size: 13px; color: var(--ink-soft); }
.filters .field input { height: 42px; padding: 0 11px; font: inherit; font-size: 14.5px; border: 1px solid var(--line-strong); border-radius: 3px; background: #FFFFFF; color: var(--ink); }
.filters .field input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.chk input[type="number"] { width: 68px; height: 38px; padding: 0 10px; font: inherit; font-size: 15px; border: 1px solid var(--line-strong); border-radius: 3px; }

.results__list { display: flex; flex-direction: column; gap: 26px; }
.results__alt { margin-top: 18px; }
.result { display: grid; grid-template-columns: 280px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.result__img { display: block; }
.result__img img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block; }
.result__body { padding: 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.result__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.result__name { font-size: 28px; line-height: 1.15; }
.result__name a { color: var(--ink); }
.result__name a:hover { color: var(--blue); }
.result__flag { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: var(--blue-wash); padding: 5px 10px; border-radius: 3px; white-space: nowrap; }
.result__facts { font-size: 14.5px; color: var(--muted); }
.result__text { font-size: 16px; line-height: 1.7; color: var(--ink-soft); font-weight: 300; }
.result__instead { font-size: 14.5px; color: var(--ink); background: var(--stone); padding: 10px 14px; border-radius: 3px; }
.result__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 8px; }
.result__price { font-family: var(--display); font-size: 22px; color: var(--ink); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.result__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.tag { font-size: 13px; color: var(--ink-soft); background: var(--stone); border-radius: 3px; padding: 5px 10px; }
.house-facilities { padding-top: 34px; }
.house-facilities .guide__contents-title { margin-bottom: 12px; }

@media (max-width: 900px) {
	.results { grid-template-columns: 1fr; }
	.results__rail { position: static; }
	.filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
	.result { grid-template-columns: 1fr; }
	.result__img img { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) { .filters { grid-template-columns: 1fr; } }

/* ---------- a house: writing left, booking right ---------- */
/* .place-body is shared with places and things, so only the house flips. */
.place-body--house { grid-template-columns: minmax(0, 1fr) 330px; }
.place-body--house .place-body__text { order: 1; }
.place-body--house .house-aside { order: 2; border-top: 0; padding-top: 0; }

.book-box { border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 3px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.book-box__price { font-family: var(--display); font-size: 26px; line-height: 1.2; color: var(--ink); margin: 0; }
.book-box__range { font-size: 13px; line-height: 1.5; color: var(--muted); margin: -6px 0 0; }
.book-box__hint { font-size: 14px; color: var(--muted); margin: 0; }
.book-box__form { display: flex; flex-direction: column; gap: 6px; }
.book-box__form label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.book-box__form input {
	height: 46px; padding: 0 12px; font: inherit; font-size: 15px; color: var(--ink);
	border: 1px solid var(--line-strong); border-radius: 3px; background: #FFFFFF;
	width: 100%; max-width: 100%; box-sizing: border-box;
}
.book-box__form input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.book-box__form .btn { margin-top: 14px; width: 100%; }
.book-box__note { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; }

.book-answer { border-radius: 3px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.book-answer--yes { background: var(--blue-wash); }
.book-answer--no { background: var(--stone); }
.book-answer__head { margin: 0; font-size: 17px; font-weight: 500; color: var(--ink); }
.book-answer--yes .book-answer__head { color: var(--blue); }
.book-answer__detail { margin: 0; font-size: 14px; color: var(--ink-soft); }
.book-answer__go { width: 100%; margin-top: 4px; }
.house-head__side { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.book-answer__cost { margin: 0; font-size: 18px; font-weight: 500; color: var(--ink); }
.cf7-cost { margin: 0; padding: 12px 14px; border-radius: 3px; background: var(--blue-wash); color: var(--ink); font-weight: 500; }
.cf7-cost:empty { display: none; }

.ask-box { margin-top: 22px; background: var(--blue); color: #FFFFFF; border-radius: 3px; padding: 24px; }
.ask-box__title { font-family: var(--display); font-size: 22px; margin: 0 0 8px; }
.ask-box__text { font-size: 14.5px; line-height: 1.65; color: rgba(255,255,255,.82); margin: 0 0 14px; font-weight: 300; }
.ask-box__ways { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 15px; }
.ask-box__ways a { color: #FFFFFF; }
.ask-box__ways a:hover { color: #FFFFFF; text-decoration: underline; }

@media (max-width: 900px) {
	.place-body--house { grid-template-columns: 1fr; }
	.place-body--house .house-aside { order: 1; }
	.place-body--house .place-body__text { order: 2; }
}

/* ---------- MotoPress's own pages ---------- */
/* Search, checkout, confirmation and the account pages render the plugin's
   markup inside our page template. These give them the site's furniture. */
.mphb_sc_search-form,
.mphb_sc_checkout-wrapper form,
.mphb-login-form,
.mphb_sc_account form { display: flex; flex-direction: column; gap: 4px; max-width: 640px; }

.mphb_sc_search-form p,
.mphb_sc_checkout-wrapper p,
.mphb-login-form p { margin: 0 0 14px; }

.mphb_sc_search-form label,
.mphb_sc_checkout-wrapper label,
.mphb-login-form label,
.mphb_sc_account label { display: block; font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 7px; }

.mphb_sc_search-form input[type="text"],
.mphb_sc_search-form input[type="number"],
.mphb_sc_search-form input[type="date"],
.mphb_sc_search-form select,
.mphb_sc_checkout-wrapper input[type="text"],
.mphb_sc_checkout-wrapper input[type="email"],
.mphb_sc_checkout-wrapper input[type="tel"],
.mphb_sc_checkout-wrapper input[type="number"],
.mphb_sc_checkout-wrapper input[type="date"],
.mphb_sc_checkout-wrapper select,
.mphb_sc_checkout-wrapper textarea,
.mphb-login-form input[type="text"],
.mphb-login-form input[type="password"],
.mphb_sc_account input {
	width: 100%; max-width: 420px; height: 48px; padding: 0 14px;
	font: inherit; font-size: 15.5px; color: var(--ink); background: #FFFFFF;
	border: 1px solid var(--line-strong); border-radius: 3px;
}
.mphb_sc_checkout-wrapper textarea { height: auto; min-height: 120px; padding: 12px 14px; }
.mphb_sc_search-form input:focus,
.mphb_sc_search-form select:focus,
.mphb_sc_checkout-wrapper input:focus,
.mphb_sc_checkout-wrapper textarea:focus,
.mphb-login-form input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }

.mphb_sc_search-form input[type="submit"],
.mphb_sc_search-form button,
.mphb_sc_checkout-wrapper input[type="submit"],
.mphb_sc_checkout-wrapper button,
.mphb-login-form input[type="submit"],
.mphb_sc_account input[type="submit"],
.mphb-book-button, .button.mphb-book-button {
	display: inline-flex; align-items: center; justify-content: center;
	height: 52px; padding: 0 30px; width: auto; max-width: none;
	background: var(--blue); color: #FFFFFF; border: 0; border-radius: 3px;
	font: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
}
.mphb_sc_search-form input[type="submit"]:hover,
.mphb_sc_checkout-wrapper input[type="submit"]:hover,
.mphb-login-form input[type="submit"]:hover,
.mphb-book-button:hover { background: var(--blue-hover); color: #FFFFFF; }

.mphb-required-fields-tip { font-size: 13px; color: var(--muted); }
.mphb-errors-wrapper, .mphb-data-incorrect {
	border: 1px solid var(--line); border-left: 3px solid var(--blue);
	background: var(--blue-wash); padding: 16px 18px; border-radius: 3px;
	font-size: 15px; color: var(--ink);
}
.mphb-account-content { display: flex; flex-direction: column; gap: 18px; }

/* The plugin's calendar, in our colours. */
.mphb-calendar .datepick-inline { border: 1px solid var(--line); border-radius: 3px; padding: 10px; font-family: var(--body); }
.mphb-calendar .datepick-month-header, .mphb-calendar .datepick-month th { font-size: 13px; color: var(--ink); }
.mphb-calendar td a, .mphb-calendar td span { border-radius: 3px; font-size: 13.5px; }

/* ---------- the region dropdown ---------- */
.nav__list .menu-item-has-children { position: relative; }
/* The arrow says there is more under it. */
.nav__list .menu-item-has-children > a::after {
	content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translate(-1px, -1px); vertical-align: middle;
}
.nav__list .sub-menu {
	position: absolute; top: 100%; left: -18px; z-index: 60; min-width: 216px;
	margin: 0; padding: 8px 0; list-style: none;
	background: #FFFFFF; border: 1px solid var(--line); border-top: 2px solid var(--blue);
	border-radius: 0 0 3px 3px; box-shadow: 0 14px 30px rgba(8, 36, 59, .13);
	opacity: 0; visibility: hidden; transform: translateY(-4px);
	transition: opacity .13s ease, transform .13s ease, visibility .13s;
}
.nav__list .menu-item-has-children:hover > .sub-menu,
.nav__list .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1; visibility: visible; transform: translateY(0);
}
/* The gap between the link and the panel would otherwise drop the hover. */
.nav__list .menu-item-has-children > .sub-menu::before {
	content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.nav__list .sub-menu a { display: block; padding: 9px 18px; font-size: 14.5px; color: var(--ink-soft); }
.nav__list .sub-menu a:hover { background: var(--blue-wash); color: var(--blue); }
.nav__list .sub-menu .current-menu-item a { color: var(--blue); }

@media (max-width: 900px) {
	/* In the open menu there is nowhere to hover: the group is simply indented. */
	.nav__list .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		min-width: 0; padding: 0 0 0 18px; margin: 0 0 6px;
		border: 0; border-left: 2px solid var(--line); border-radius: 0; box-shadow: none;
	}
	.nav__list .sub-menu a { padding: 11px 0; font-size: 15.5px; border-bottom: 1px solid var(--line); }
	.nav__list .sub-menu li:last-child a { border-bottom: 0; }
	.nav__list .menu-item-has-children > a::after { transform: rotate(45deg) translate(-2px, -2px); }
}

/* ---------- the menu on a phone ----------
   The open menu used to read as more page: no edge, and the photographs ran
   straight on under it. Now the page behind is dimmed (a tap there closes it -
   header.php), the button says Close, and the links carry an arrow. */
.nav__toggle-close { display: none; }
@media (max-width: 900px) {
	.nav[open] .nav__toggle { background: var(--blue-wash); border-color: var(--blue); color: var(--blue); }
	.nav[open] .nav__toggle-open { display: none; }
	.nav[open] .nav__toggle-close { display: inline; }
	.nav[open] .nav__toggle::before {
		width: 14px; height: 14px;
		background:
			linear-gradient(45deg, transparent calc(50% - .9px), currentColor calc(50% - .9px) calc(50% + .9px), transparent calc(50% + .9px)),
			linear-gradient(-45deg, transparent calc(50% - .9px), currentColor calc(50% - .9px) calc(50% + .9px), transparent calc(50% + .9px));
	}
	.nav[open] .nav__panel {
		max-height: calc(100dvh - 140px); overflow-y: auto; overscroll-behavior: contain;
		padding: 6px var(--gutter) 26px;
		/* The dimmed page: a shadow spread far below the panel, clipped so it never
		   covers the header above it. */
		box-shadow: 0 0 0 100vmax rgba(8, 36, 59, .5); clip-path: inset(0 0 -100vmax 0);
		animation: nav-drop .18s ease-out;
	}
	.nav__list > li > a {
		display: flex; align-items: center; justify-content: space-between;
		padding: 16px 0; font-size: 18px;
	}
	/* An arrow on each page link; the region's own arrow stays as it was. */
	.nav__list > li:not(.menu-item-has-children) > a::after,
	.nav__list .sub-menu a::after {
		content: ""; width: 7px; height: 7px; flex: none; margin-right: 4px;
		border-top: 1.5px solid var(--line-strong); border-right: 1.5px solid var(--line-strong);
		transform: rotate(45deg);
	}
	.nav__list .sub-menu a { display: flex; align-items: center; justify-content: space-between; color: var(--ink-soft); }
	.nav__list .sub-menu { border-left-color: var(--blue-light); }
	.nav__list .current-menu-item > a { color: var(--blue); font-weight: 500; }
	.nav__list .current-menu-item > a::after { border-color: var(--blue); }
	.nav__cta { margin-top: 22px; height: 52px; }
}
@keyframes nav-drop {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.nav[open] .nav__panel { animation: none; }
}

/* ---------- the map, and how a week works ---------- */
.houses-map__lede { max-width: 60ch; margin: -18px 0 22px; }
.houses-map__frame {
	min-height: 440px; background: var(--stone); border-radius: 3px; overflow: hidden;
	display: flex; align-items: center; justify-content: center;
}
.houses-map__frame iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; }

.weeks-how__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.weeks-how__item { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--ink); padding-top: 16px; }
.weeks-how__head { margin: 0; font-size: 17px; font-weight: 500; color: var(--ink); }
.weeks-how__text { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); font-weight: 300; }

@media (max-width: 900px) {
	.weeks-how__grid { grid-template-columns: 1fr; gap: 22px; }
	.houses-map__frame, .houses-map__frame iframe { min-height: 300px; }
}

/* ---------- the map itself ---------- */
/* Leaflet needs a real height, and its default marker and popup chrome are not
   ours - hence the resets rather than accepting the library's look. */
.houses-map__map { width: 100%; height: 440px; align-self: stretch; z-index: 1; }
.contact-where__map .houses-map__map { min-height: 460px; height: 100%; }
.leaflet-container { font-family: var(--body); font-size: 14px; background: var(--stone); }

.chif-pin { background: none; border: 0; }
.chif-pin__dot {
	display: block; width: 18px; height: 18px; border-radius: 50%;
	background: var(--blue); border: 3px solid #FFFFFF;
	box-shadow: 0 1px 6px rgba(8, 36, 59, .45);
}
.leaflet-marker-icon:hover .chif-pin__dot { background: var(--blue-hover); }

.leaflet-popup-content-wrapper { border-radius: 3px; box-shadow: 0 10px 28px rgba(8, 36, 59, .22); }
.leaflet-popup-content { margin: 0; }
.chif-pop { display: flex; flex-direction: column; gap: 3px; padding: 12px 16px; color: var(--ink); }
.chif-pop:hover { color: var(--blue); }
.chif-pop__name { font-family: var(--display); font-size: 20px; line-height: 1.15; }
.chif-pop__facts { font-size: 13px; color: var(--muted); }
.chif-pop__price { font-size: 13px; color: var(--blue); font-weight: 500; }
.leaflet-tooltip { font-family: var(--body); font-size: 13px; }

@media (max-width: 900px) {
	.houses-map__map { height: 320px; }
	.contact-where__map .houses-map__map { min-height: 300px; }
}

/* ---------- form fields never push the page sideways ---------- */
/* A date or number input carries its own intrinsic width and will happily run
   past a narrow column. This is the backstop for every form on the site. */
input, select, textarea, button { max-width: 100%; box-sizing: border-box; }
input[type="date"], input[type="number"] { min-width: 0; }

/* ---------- back to top ---------- */
.to-top { margin: 0; padding: 0 0 var(--section); text-align: center; }
.to-top a {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 12px 22px; border: 1px solid var(--line-strong); border-radius: 999px;
	font-size: 14px; color: var(--ink-soft); background: #FFFFFF;
}
.to-top a::before {
	content: ""; width: 8px; height: 8px;
	border-left: 1.5px solid currentColor; border-top: 1.5px solid currentColor;
	transform: rotate(45deg) translate(1px, 1px);
}
.to-top a:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- the filter panel ---------- */
/* Open on every screen without JavaScript; chif.js closes it on a phone, where
   a full rail of filters would push the results off the bottom. */
.filters-panel__toggle { display: none; }
.filters-panel > .filters { margin-top: 0; }

@media (max-width: 900px) {
	.filters-panel__toggle {
		display: flex; align-items: center; justify-content: space-between; gap: 12px;
		position: sticky; top: var(--stick); z-index: 6;
		margin-bottom: 14px; padding: 14px 18px; cursor: pointer; list-style: none;
		background: #FFFFFF; border: 1px solid var(--line-strong); border-radius: 3px;
		font-size: 15px; font-weight: 500; color: var(--ink);
		box-shadow: 0 2px 10px rgba(8, 36, 59, .06);
	}
	.filters-panel__toggle::-webkit-details-marker { display: none; }
	.filters-panel__toggle::after {
		content: ""; width: 8px; height: 8px; flex: none;
		border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
		transform: rotate(45deg) translateY(-2px);
	}
	.filters-panel[open] > .filters-panel__toggle::after { transform: rotate(-135deg) translateY(-2px); }
	.filters-panel[open] > .filters-panel__toggle { border-color: var(--blue); color: var(--blue); }
}

/* ---------- videos and other embeds in her writing ---------- */
/* YouTube ships a fixed 560x315. Anything wider than the column would push the
   page sideways on a phone, so the width is taken from the column and the height
   from the ratio. */
.prose iframe,
.wp-block-embed iframe,
.place-body__text iframe,
.guide__body iframe {
	width: 100%;
	max-width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
	border-radius: 3px;
	display: block;
	background: var(--stone);
}
.prose .wp-block-embed,
.prose figure.wp-block-embed { margin: 26px 0; }
.wp-block-embed__wrapper { position: relative; }
/* A bare oEmbed paragraph sometimes arrives wrapped in nothing at all. */
.prose p > iframe { margin-block: 8px; }
/* One house: a shorter map than the one showing all of them. */
.houses-map__map--house { height: 340px; border-radius: 3px; margin-bottom: 10px; }
.house-map__note { margin: 0 0 30px; font-size: 14px; }
@media (max-width: 900px) { .houses-map__map--house { height: 260px; } }

/* ---------- the enquiry pop-up on a house page ---------- */
body.enquire-open { overflow: hidden; }
.enquire {
	width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto;
	padding: clamp(22px, 4vw, 36px); border: 0; border-top: 3px solid var(--blue); border-radius: 4px;
	background: #FFFFFF; color: var(--ink);
}
.enquire::backdrop { background: rgba(8, 36, 59, .62); }
.enquire__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.enquire__title { font-size: clamp(26px, 3vw, 32px); line-height: 1.15; }
.enquire__close {
	flex: none; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 50%;
	background: #FFFFFF; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer;
}
.enquire__close:hover { border-color: var(--blue); color: var(--blue); }
.enquire__summary:not(:empty) { margin: 18px 0 0; padding: 12px 14px; border-radius: 3px; background: var(--blue-wash); color: var(--blue); font-weight: 500; }
.enquire__lede { margin: 14px 0 20px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.enquire--answer { width: min(480px, calc(100vw - 32px)); }
.enquire--answer .book-answer { margin-top: 18px; }
.enquire__other { padding: 0; border: 0; background: none; font: inherit; color: var(--blue); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.enquire__other:hover { color: var(--blue-hover); }
#house-answer { scroll-margin-top: 24px; outline: none; }

/* "Good to know" on a things-to-do type page: the old site's practical notes,
   after the listings. */
.good-to-know { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px 40px; padding: 30px 34px; background: var(--stone); border-radius: 4px; }
.good-to-know__title { font-size: 26px; line-height: 1.2; }
.good-to-know__text { max-width: 760px; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.good-to-know__text p { margin: 0 0 10px; }
.good-to-know__text p:last-child { margin-bottom: 0; }
@media (max-width: 700px) { .good-to-know { grid-template-columns: 1fr; padding: 24px 20px; } }

/* ---------- foot of Places to visit: offices + a little history ---------- */
/* Bottom padding: the dark history band follows straight on, so the section needs its own space. */
.offices { display: flex; flex-direction: column; gap: 28px; padding-bottom: var(--section); }
.offices__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.offices__head .eyebrow { margin: 0 0 10px; }
.offices__intro { max-width: 380px; margin: 0; font-size: 14px; line-height: 1.6; }
.offices__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.office { border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 4px; padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 14px; }
.office__name { font-size: 28px; line-height: 1.15; }
.office__addr { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.office__ways { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.office__ways a { display: flex; align-items: center; gap: 10px; min-height: 32px; overflow-wrap: anywhere; }
.office__ways svg { flex: none; }
.office__note { font-size: 13px; line-height: 1.6; color: var(--muted); }
.offices__depts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; font-size: 14px; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); }
.pill:hover { border-color: var(--blue); color: var(--blue); }

.history { background: var(--blue-tint); color: var(--ink); padding-block: 72px 80px; }
.history .section__title--light { color: var(--ink); }
.history__inner { display: flex; flex-direction: column; gap: 40px; }
.history__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; }
.history__head .eyebrow { margin: 0 0 10px; }
.history__intro { max-width: 400px; margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
/* Through the middle of the dots: year (38px) + gap (14px) + half a dot (6px). */
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 58px; height: 1px; background: rgba(107,184,237,.45); }
.timeline__item { position: relative; display: flex; flex-direction: column; gap: 14px; }
.timeline__year { margin: 0; font-family: var(--display); font-size: 38px; line-height: 1; color: var(--blue); }
.timeline__dot { width: 13px; height: 13px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px var(--blue-tint); position: relative; }
.timeline__title { font-size: 25px; line-height: 1.2; color: var(--ink); }
.timeline__text { margin: 0; font-size: 14px; line-height: 1.65; color: var(--ink-soft); }
.timeline__see { margin: 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.timeline__places { display: flex; flex-wrap: wrap; gap: 6px; }
.timeline__places a { font-size: 13px; padding: 7px 12px; border-radius: 999px; background: #FFFFFF; color: var(--blue); }
.timeline__places a:hover { background: var(--blue); color: #FFFFFF; }
.history__more summary { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1px solid var(--blue); color: var(--blue); border-radius: 3px; cursor: pointer; font-size: 15px; font-weight: 500; list-style: none; }
.history__more summary::-webkit-details-marker { display: none; }
.history__more summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); }
.history__more[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.history__more summary:hover { border-color: var(--blue-hover); color: var(--blue-hover); }
.history__stories { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.history__story h3 { font-size: 26px; color: var(--ink); margin-bottom: 10px; }
.history__story p { margin: 0 0 12px; font-size: 15px; line-height: 1.75; color: var(--ink-soft); }

@media (max-width: 900px) {
	.offices__grid { grid-template-columns: 1fr; }
	.timeline { grid-template-columns: 1fr; gap: 28px; border-left: 1px solid rgba(107,184,237,.45); padding-left: 22px; margin-left: 6px; }
	.timeline::before { display: none; }
	.timeline__dot { position: absolute; left: -29px; top: 10px; }
	.timeline__year { font-size: 30px; }
	.history__stories { grid-template-columns: 1fr; }
	.history__more summary { width: 100%; justify-content: center; }
}

/* Cookie banner (inc/consent.php) - only shown once a Google Analytics ID is set. */
.consent {
	position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px;
	max-width: 760px; margin: 0 auto; padding: 18px 20px;
	display: flex; align-items: center; gap: 20px;
	background: #FFFFFF; border: 1px solid var(--line-strong); border-radius: 4px;
	box-shadow: 0 8px 28px rgba(18, 33, 46, .14);
}
.consent[hidden] { display: none; }
.consent__text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); }
.consent__text a { color: var(--blue); text-decoration: underline; white-space: nowrap; }
.consent__actions { display: flex; gap: 10px; flex-shrink: 0; }
@media (max-width: 640px) {
	.consent { flex-direction: column; align-items: stretch; gap: 14px; }
	.consent__actions .btn { flex: 1; }
}

/* Search results with nothing free: each house's next free week. */
.results__none .placeholder { margin-bottom: 18px; }
.next-free { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.next-free__row {
	display: flex; align-items: center; gap: 16px; padding: 16px 4px;
	border-bottom: 1px solid var(--line); color: var(--ink);
}
.next-free__row:hover { color: var(--blue); }
.next-free__name { font-weight: 600; min-width: 160px; }
.next-free__date { flex: 1; color: var(--ink-soft); }
@media (max-width: 640px) {
	.next-free__row { flex-wrap: wrap; gap: 4px 12px; }
	.next-free__name { min-width: 0; width: 100%; }
}
