/*
 * WebFones Websites - the published look. One stylesheet for every website;
 * what differs per site (colors, fonts) arrives as custom properties in its
 * own look.css, and the rest is classes the renderer writes (lib/render.js):
 *
 *   body   .btn-square|rounded|pill   .space-airy|standard|compact   .head-over
 *          .head-left|center   .logo-small|medium|large   .width-compact|standard|wide
 *          .hsize-small|medium|large
 *   look.css: --font-heading|body|label, --heading-case|weight|spacing, --body-size|weight,
 *             --label-case|spacing, and the four colors
 *   .sec   .sec-<kind> .v-<variant> .tone-page|alt|accent|dark .pad-small|medium|large
 *
 * Light and airy by default: generous space, large pictures, quiet type.
 * No inline styles anywhere (the public CSP forbids them).
 */

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

:root {
	--bg: #ffffff;
	--text: #222222;
	--accent: #4a4a4a;
	--alt: #f3f3f1;
	--font-heading: Georgia, serif;
	--font-body: system-ui, sans-serif;
	--font-label: system-ui, sans-serif;
	--heading-case: none;
	--heading-weight: 400;
	--heading-spacing: 0;
	--body-size: 18px;
	--body-weight: 400;
	--label-case: uppercase;
	--label-spacing: .15em;
	--logo: 64px;
	--pad: 88px;
	--gap: 56px;
	--radius: 6px;
	--wrap: 1200px;
}

body.space-airy     { --pad: 112px; --gap: 72px; }
body.space-standard { --pad: 80px;  --gap: 48px; }
body.space-compact  { --pad: 52px;  --gap: 32px; }
body.btn-square  { --radius: 0; }
body.btn-rounded { --radius: 6px; }
body.btn-pill    { --radius: 999px; }
body.width-compact  { --wrap: 1040px; }
body.width-standard { --wrap: 1200px; }
body.width-wide     { --wrap: 1440px; }
body.logo-small  { --logo: 64px; }
body.logo-medium { --logo: 96px; }
body.logo-large  { --logo: 128px; }

html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: var(--body-size);
	line-height: 1.75;
	font-weight: var(--body-weight);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--bg); color: var(--text); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: min(780px, var(--wrap)); }
strong, b { font-weight: 600; }

h1, h2, h3, .brand-name {
	font-family: var(--font-heading);
	font-weight: var(--heading-weight);
	text-transform: var(--heading-case);
	letter-spacing: var(--heading-spacing);
	line-height: 1.2;
	margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.3rem, 4.5vw + 1rem, 4.2rem); }
h2 { font-size: clamp(1.8rem, 2.4vw + 1rem, 2.8rem); }
body.hsize-medium h1 { font-size: clamp(2rem, 3vw + 1rem, 3.2rem); }
body.hsize-medium h2 { font-size: clamp(1.6rem, 1.8vw + 1rem, 2.3rem); }
body.hsize-small h1 { font-size: clamp(1.7rem, 1.8vw + 1rem, 2.5rem); }
body.hsize-small h2 { font-size: clamp(1.45rem, 1.2vw + 1rem, 1.9rem); }
/* A small heading: the label font, in small capitals. */
.label-heading, h3.label-heading, h1.label-heading, h2.label-heading {
	font-family: var(--font-label);
	font-size: 1.05rem;
	font-weight: 400;
	text-transform: var(--label-case);
	letter-spacing: var(--label-spacing);
	opacity: .8;
	line-height: 1.6;
}
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose > :last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.25em 0; }

/* ── Header and menu ─────────────────────────────────────────────────────── */
.site-head { position: relative; z-index: 20; background: var(--bg); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.brand { color: inherit; text-decoration: none; display: inline-flex; align-items: center; }
.brand-name { font-size: 1.6rem; margin: 0; }
.brand-logo { max-height: var(--logo-h, var(--logo)); width: auto; }
.site-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 30px; }
.site-menu a {
	color: inherit;
	text-decoration: none;
	font-family: var(--font-label);
	font-size: var(--menu-size, 0.72rem);
	letter-spacing: var(--label-spacing);
	text-transform: var(--label-case);
	padding: 6px 0;
	border-bottom: 1px solid transparent;
}
.site-menu a:hover, .site-menu a[aria-current="page"] { border-bottom-color: currentColor; }
/* The menu's other styles for the page you are on (Theme > Header > The page you are on). */
body.menu-color .site-menu a, body.menu-pill .site-menu a, body.menu-bold .site-menu a, body.menu-none .site-menu a { border-bottom-color: transparent !important; }
body.menu-color .site-menu a:hover, body.menu-color .site-menu a[aria-current="page"] { color: var(--accent); }
body.menu-pill .site-menu ul { gap: 6px 6px; }
body.menu-pill .site-menu a { padding: 7px 14px; border-radius: 999px; }
body.menu-pill .site-menu a:hover { background: rgba(127, 127, 127, 0.16); }
body.menu-pill .site-menu a[aria-current="page"] { background: var(--accent); color: #ffffff; }
body.head-tone-accent.menu-pill .site-menu a[aria-current="page"] { background: rgba(255, 255, 255, 0.24); }
body.head-tone-accent.menu-color .site-menu a[aria-current="page"] { color: inherit; font-weight: 700; }
body.menu-bold .site-menu a[aria-current="page"] { font-weight: 700; }
body.menu-bold .site-menu a:hover, body.menu-none .site-menu a:hover { opacity: 0.75; }
.menu-toggle {
	display: none;
	font: inherit;
	font-family: var(--font-label);
	font-size: 0.8rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	background: none;
	color: inherit;
	border: 1px solid currentColor;
	border-radius: var(--radius);
	padding: 8px 16px;
	cursor: pointer;
}

/* The header's own background. */
body.head-tone-alt .site-head { background: var(--alt); }
body.head-tone-accent .site-head { background: var(--accent); color: #ffffff; }
body.head-tone-dark .site-head { background: var(--dark, #111111); color: #ffffff; }
body.head-tone-dark .site-head, body.head-tone-accent .site-head { --text: #ffffff; }

/* The logo in the middle, the menu under it. */
body.head-center .head-row { flex-direction: column; justify-content: center; gap: 18px; padding-top: 28px; padding-bottom: 14px; }
body.head-center .site-menu ul { justify-content: center; gap: 6px 26px; }

/* The menu over a cover picture: see-through, white words. */
body.head-over .site-head { position: absolute; left: 0; right: 0; top: 0; background: transparent; color: #ffffff; }
body.head-over .site-head .brand-logo { filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.35)); }
body.head-over .site-head .site-menu a, body.head-over .brand-name { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); }

/* ── Sections ───────────────────────────────────────────────────────────── */
.sec { padding: var(--pad) 0; }
.sec.pad-small { padding: calc(var(--pad) * 0.5) 0; }
.sec.pad-large { padding: calc(var(--pad) * 1.5) 0; }
.sec + .sec.tone-page, .sec.tone-page + .sec.tone-page { padding-top: calc(var(--pad) * 0.6); }
.sec.tone-alt { background: var(--alt); }
.sec.tone-accent { background: var(--accent); color: #ffffff; }
.sec.tone-dark { background: var(--dark, #1d1d1f); color: #f4f4f2; }
/* A section's box (exact pixels in a stylesheet of its own, render.boxCss): a height with the content placed in
   it, a background picture with a shade, and words light or dark for what is behind them. */
.sec.box-h { display: flex; flex-direction: column; justify-content: center; }
.sec.box-h.va-top { justify-content: flex-start; }
.sec.box-h.va-bottom { justify-content: flex-end; }
.sec.box-pic { position: relative; overflow: hidden; isolation: isolate; }
.sec-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sec-bg-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sec-shade { position: absolute; inset: 0; background: #000000; opacity: 0.4; }
.sec.box-pic > :not(.sec-bg):not(.ed-bar):not(.ed-pad) { position: relative; z-index: 1; }
/* A video behind a section: over its still, under the shade; still only for those who ask for less motion. */
.sec-bg-vid { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .sec-bg-vid, .cover-vid, .blk-vid { display: none; } }
/* The Video section */
.sec-video .vid-words { margin-bottom: 26px; }
.sec-video.align-center .vid-words { text-align: center; }
.vid-box { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000000; overflow: hidden; border-radius: var(--corner, 0); }
.vid-wide .vid-box { border-radius: 0; }
.vid-file { display: block; width: 100%; height: 100%; object-fit: contain; background: #000000; }
.vid-embed iframe, .vid-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.vid-embed.no-pic { background: linear-gradient(135deg, var(--dark, #1d1d1f), #3a3a3c); }
.vid-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(0, 0, 0, 0.62); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3); transition: transform .15s, background .15s; }
.vid-play:hover, .vid-play:focus-visible { background: var(--accent); transform: scale(1.06); }
.vid-play-icon { position: absolute; left: 34px; top: 26px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #ffffff; }
.vid-from { position: absolute; right: 12px; bottom: 10px; font: 600 12px/1 var(--font-label); color: #ffffff; background: rgba(0, 0, 0, 0.55); padding: 5px 8px; border-radius: 4px; letter-spacing: .04em; }
.vid-empty { display: flex; align-items: center; justify-content: center; color: #ffffff; font-size: 15px; padding: 20px; text-align: center; background: #3a3a3c; }
.sec.on-dark { color: #f4f4f2; --text: #f4f4f2; }
.sec.on-dark a:not(.btn) { color: inherit; }
.sec.on-light { color: #222222; --text: #222222; }
.sec.tone-accent a:not(.btn), .sec.tone-dark a:not(.btn) { color: inherit; }
.sec-heading { text-align: inherit; }

.btn-row { margin: 1.6em 0 0; }
.btn {
	display: inline-block;
	background: var(--accent);
	color: #ffffff;
	text-decoration: none;
	font-family: var(--font-label);
	font-size: 0.78rem;
	letter-spacing: var(--label-spacing);
	text-transform: var(--label-case);
	padding: 15px 30px;
	border-radius: var(--radius);
	border: 1px solid var(--accent);
	transition: background 0.15s, color 0.15s;
}
.btn:hover { background: transparent; color: var(--accent); }
.tone-accent .btn, .tone-dark .btn, .cover.has-pic .btn { background: #ffffff; color: var(--accent); border-color: #ffffff; }
.tone-accent .btn:hover, .tone-dark .btn:hover, .cover.has-pic .btn:hover { background: transparent; color: #ffffff; }
/* A Cover's second button: outlined, beside the first. */
.btn-row .btn + .btn { margin-left: 12px; }
.btn.btn-2 { background: transparent; color: var(--accent); }
.btn.btn-2:hover { background: var(--accent); color: #ffffff; }
.tone-accent .btn.btn-2, .tone-dark .btn.btn-2, .cover.has-pic .btn.btn-2 { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, 0.85); }
.tone-accent .btn.btn-2:hover, .tone-dark .btn.btn-2:hover, .cover.has-pic .btn.btn-2:hover { background: #ffffff; color: var(--accent); }
/* The header's button (Contact us, Get a quote), at the end of the header. */
.head-btn { padding: 11px 22px; white-space: nowrap; flex-shrink: 0; }
body.head-over .site-head .head-btn { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, 0.85); }
body.head-over .site-head .head-btn:hover { background: #ffffff; color: var(--accent); }
/* Over a light photo with dark words (shade "clear"): the header's words dark too, no shadows. */
body.head-over.head-over-dark .site-head { color: var(--text); }
body.head-over.head-over-dark .site-head .brand-logo { filter: none; }
body.head-over.head-over-dark .site-head .site-menu a, body.head-over.head-over-dark .brand-name { text-shadow: none; }
body.head-over.head-over-dark .site-head .head-btn { color: var(--text); border-color: currentColor; }
body.head-over.head-over-dark .site-head .head-btn:hover { background: var(--text); color: var(--bg); }

/* Cover */
.sec-header { padding: 0; }
.cover { position: relative; display: flex; align-items: center; overflow: hidden; }
.cover.h-full { min-height: 100vh; min-height: 100svh; }
.cover.h-tall { min-height: 72vh; }
.cover.h-medium { min-height: 46vh; }
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover.shade-dark::after, .cover.shade-light::after { content: ""; position: absolute; inset: 0; }
.cover.shade-dark::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.30), rgba(0, 0, 0, 0.42)); }
.cover.shade-light::after { background: rgba(255, 255, 255, 0.5); }
.cover-inner { position: relative; z-index: 1; width: 100%; padding-top: 120px; padding-bottom: 96px; }
.cover.has-pic.shade-dark, .cover.has-pic.shade-none { color: #ffffff; }
.cover.has-pic.shade-light { color: #1d1d1f; }
.cover.has-pic.shade-clear { color: var(--text); }
.cover.has-pic.shade-clear .btn { background: var(--accent); color: #ffffff; border-color: var(--accent); }
.cover.has-pic.shade-clear .btn:hover { background: transparent; color: var(--accent); }
.cover.has-pic.shade-clear .btn.btn-2 { background: transparent; color: var(--text); border-color: currentColor; }
.cover.has-pic.shade-none .cover-heading, .cover.has-pic.shade-none .cover-text { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45); }
.cover-heading { font-size: clamp(2.6rem, 5vw + 1rem, 5rem); margin-bottom: 0.35em; text-wrap: balance; }
.cover-text { font-size: 1.2rem; max-width: 40em; }
.v-center .cover-inner { text-align: center; }
.v-center .cover-text { margin-left: auto; margin-right: auto; }
.v-bottom .cover { align-items: flex-end; }
/* Thin lines in the header: under it, and (grid) one after the logo, its full height. */
body.head-line .site-head, body.head-grid .site-head { border-bottom: 1px solid rgba(127, 127, 127, 0.3); }
body.head-grid .head-row { align-items: stretch; }
body.head-grid .head-row > * { align-self: center; }
body.head-grid .head-row > .brand { align-self: stretch; padding-right: 40px; border-right: 1px solid rgba(127, 127, 127, 0.3); }
body.head-over.head-line .site-head, body.head-over.head-grid .site-head, body.head-over.head-grid .head-row > .brand { border-color: rgba(255, 255, 255, 0.4); }
body.head-over.head-over-dark.head-line .site-head, body.head-over.head-over-dark.head-grid .site-head, body.head-over.head-over-dark.head-grid .head-row > .brand { border-color: rgba(0, 0, 0, 0.25); }
/* Where the menu sits in a left header: next to the logo, in the middle, or at the right (with the header's button after it). */
body.head-left .head-row .site-menu { margin-left: auto; }
body.head-left.menu-at-left .head-row .site-menu { margin-left: 24px; margin-right: auto; }
body.head-left.menu-at-center .head-row .site-menu { margin-left: auto; margin-right: auto; }
/* Where a Cover's words sit in its height (its box's content position). */
.sec-header.va-top .cover { align-items: flex-start; }
.sec-header.va-center .cover { align-items: center; }
.sec-header.va-bottom .cover { align-items: flex-end; }

/* Text */
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.v-one .wrap.narrow, .v-two .sec-heading { text-align: left; }
.quote { margin: 0; text-align: center; }
.quote-text {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: var(--heading-weight);
	text-transform: var(--heading-case);
	letter-spacing: var(--heading-spacing);
	font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem);
	line-height: 1.3;
}
body.hsize-small .quote-text { font-size: clamp(1.5rem, 1.6vw + 1rem, 2.4rem); line-height: 1.2; }
.quote-text p { margin: 0 0 0.5em; }
.quote-by { margin-top: 1.2em; font-family: var(--font-label); font-size: 1rem; letter-spacing: var(--label-spacing); text-transform: var(--label-case); opacity: 0.75; }

/* Alignment, chosen per section. */
.sec.align-center .wrap, .sec.align-center .tp-words { text-align: center; }
.sec.align-right .wrap, .sec.align-right .tp-words { text-align: right; }
.sec.align-center .prose ul, .sec.align-center .prose ol, .sec.align-right .prose ul, .sec.align-right .prose ol { list-style-position: inside; padding-left: 0; }

/* Text and picture */
.tp { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center; }
.v-right .tp-pic { order: 2; }
.tp-img { width: 100%; }

/* Pictures */
.pic-grid { display: grid; gap: 14px; }
.pic-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.pic-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.pic-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.pic-grid .tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pic-row { display: flex; gap: 14px; }
.pic-row .tile { flex: 1 1 0; min-width: 0; }
.pic-row .tile img { width: 100%; height: 360px; object-fit: cover; }
/* Picture size (large / medium / small): each picture whole, centered in its place, at most so tall. */
.pic-size-large .tile, .pic-size-medium .tile, .pic-size-small .tile { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pic-grid.pic-size-large .tile img, .pic-grid.pic-size-medium .tile img, .pic-grid.pic-size-small .tile img,
.pic-row.pic-size-large .tile img, .pic-row.pic-size-medium .tile img, .pic-row.pic-size-small .tile img { width: auto; max-width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.pic-size-large .tile img { max-height: 280px; }
.pic-size-medium .tile img { max-height: 180px; }
.pic-size-small .tile img { max-height: 110px; }
@media (max-width: 700px) { .pic-size-large .tile img { max-height: 200px; } .pic-size-medium .tile img { max-height: 130px; } .pic-size-small .tile img { max-height: 80px; } }
figure { margin: 0; }
figcaption { font-family: var(--font-label); font-size: 0.8rem; letter-spacing: calc(var(--label-spacing) / 2); opacity: 0.8; margin-top: 8px; }

.slides {
	position: relative;
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; }
.slide img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: var(--alt); }
.fit-crop .slide img { object-fit: cover; background: none; }
.slide figcaption { text-align: center; }
.slideshow { position: relative; }
.slide-prev, .slide-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.85);
	color: #1d1d1f;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
}
.slide-prev { left: 12px; }
.slide-next { right: 12px; }
.slide-pause {
	position: absolute; right: 12px; bottom: 12px; z-index: 2;
	width: 36px; height: 36px; border-radius: 50%; border: none;
	background: rgba(255, 255, 255, 0.8); color: #1d1d1f; font-size: 11px; letter-spacing: -1px; cursor: pointer;
}
.slide-pause[aria-pressed="true"] span { display: none; }
.slide-pause[aria-pressed="true"]::before { content: "\25B6"; font-size: 13px; letter-spacing: 0; }

/* ── Cards ────────────────────────────────────────────────────────────── */
.cards-grid { display: grid; gap: var(--gap); }
.cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-pic { margin-bottom: 18px; }
.card-title { font-size: 1.3rem; margin: 0 0 10px; }
.card-text p { margin: 0 0 .8em; }
.cards-list .card { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: center; padding: 26px 0; border-top: 1px solid rgba(127, 127, 127, .2); }
.cards-list .card:first-child { border-top: 0; }
.cards-list .card-pic { margin: 0; }
.sec.align-center .cards-grid .card-words { text-align: center; }

/* ── Blog ─────────────────────────────────────────────────────────────── */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.post-date { margin: 0 0 6px; font-family: var(--font-label); font-size: 0.74rem; letter-spacing: var(--label-spacing); text-transform: var(--label-case); opacity: .75; }
.post-draft { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 10px; background: var(--alt); font-size: .9em; }
.post-title { font-size: 1.35rem; margin: 0 0 8px; text-transform: var(--heading-case); }
.post-title a { color: inherit; text-decoration: none; }
.post-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.post-excerpt { margin: 0 0 10px; }
.post-more { margin: 0; font-family: var(--font-label); font-size: 0.78rem; letter-spacing: var(--label-spacing); text-transform: var(--label-case); }
.post-cover { display: block; margin-bottom: 14px; }
.post-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.posts-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.posts-list .post-card { display: grid; grid-template-columns: 2fr 3fr; gap: 32px; align-items: center; padding: 28px 0; border-top: 1px solid rgba(127, 127, 127, .2); }
.posts-list .post-card:first-child { border-top: 0; padding-top: 0; }
.posts-list .post-card .post-cover { margin: 0; }
.posts-list .post-card:not(:has(.post-cover)) { grid-template-columns: 1fr; }
.post-titles { list-style: none; margin: 0; padding: 0; }
.post-row { padding: 14px 0; border-top: 1px solid rgba(127, 127, 127, .2); }
.post-row:first-child { border-top: 0; }
.post-row .post-title { margin: 0; }
.post-paging { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; }
.btn.btn-quiet { background: transparent; color: var(--text); border-color: currentColor; }
.btn.btn-quiet:hover { background: var(--text); color: var(--bg); }
.posts-none { opacity: .7; }
.sec-post-head { padding-top: calc(var(--pad) * 0.6); }
.post-heading { margin-bottom: .4em; }
.post-by { text-transform: none; letter-spacing: 0; }
.post-hero { margin: 28px 0 0; }
.post-hero-img { width: 100%; max-height: 78vh; object-fit: cover; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 28px; border-top: 1px solid rgba(127, 127, 127, .22); }
.post-nav a { color: inherit; text-decoration: none; display: block; }
.post-nav a:hover { text-decoration: underline; }
.post-older { text-align: right; }
.post-nav-label { display: block; font-family: var(--font-label); font-size: .72rem; letter-spacing: var(--label-spacing); text-transform: var(--label-case); opacity: .7; margin-bottom: 4px; }
.post-back { margin: 28px 0 0; text-align: center; font-family: var(--font-label); font-size: .78rem; letter-spacing: var(--label-spacing); text-transform: var(--label-case); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-foot { padding: 56px 0; text-align: center; font-size: 0.85rem; letter-spacing: 0.04em; border-top: 1px solid rgba(127, 127, 127, 0.18); }
.site-foot p { margin: 0; }

/* ── Not found ──────────────────────────────────────────────────────────── */
body.not-found main { padding: 120px 28px; }

/* ── Phones ─────────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
	body { font-size: 17px; }
	:root { --pad: 64px; --gap: 32px; }
	body.space-airy { --pad: 72px; --gap: 36px; }
	body.space-compact { --pad: 40px; --gap: 24px; }
	.wrap { padding: 0 20px; }
	.head-row { min-height: 72px; flex-wrap: wrap; }
	.menu-toggle { display: inline-block; }
	.site-menu { display: none; flex-basis: 100%; padding-bottom: 16px; order: 4; }
	.head-btn { order: 2; padding: 9px 16px; margin-left: auto; }
	body.head-left .head-row .site-menu { margin-left: 0; margin-right: 0; }
	body.head-grid .head-row > .brand { border-right: 0; padding-right: 0; }
	.menu-toggle { order: 3; }
	.btn-row:has(.btn-2) { display: flex; flex-wrap: wrap; gap: 10px; justify-content: inherit; }
	.btn-row:has(.btn-2) .btn { margin: 0; }
	.site-menu.open { display: block; }
	.site-menu ul { flex-direction: column; gap: 4px; }
	body.head-over .site-menu.open { background: rgba(0, 0, 0, 0.55); margin: 0 -20px; padding: 12px 20px; }
	.cols2, .tp { grid-template-columns: 1fr; }
	.v-right .tp-pic { order: 0; }
	.pic-grid.cols-3, .pic-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
	.pic-row { flex-wrap: wrap; }
	.pic-row .tile { flex: 1 1 45%; }
	.pic-row .tile img { height: 220px; }
	.posts-cards { grid-template-columns: 1fr; }
	.cards-grid.cols-2, .cards-grid.cols-3, .cards-grid.cols-4 { grid-template-columns: 1fr; }
	.cards-list .card { grid-template-columns: 1fr; gap: 14px; }
	.posts-list .post-card { grid-template-columns: 1fr; gap: 14px; }
	.post-nav { grid-template-columns: 1fr; }
	.post-older { text-align: left; }
	.cover-inner { padding-top: 110px; padding-bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) {
	.slides { scroll-behavior: auto; }
	.btn { transition: none; }
}

/* ── Contact form ─────────────────────────────────────────────────────────── */
.form-wrap .contact-form { margin-top: 18px; }
.sec-form.v-card .contact-form { background: var(--bg); border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 10px; padding: 22px; }
.sec-form.v-card.tone-dark .contact-form, .sec-form.v-card.tone-accent .contact-form { color: var(--text); }
.form-row { margin: 0 0 12px; }
.form-row label { display: block; font-family: var(--font-label); font-size: 0.8em; letter-spacing: var(--label-spacing); text-transform: var(--label-case); margin-bottom: 4px; }
/* Fields take the colors around them (a light page, a dark band, a colored card): the words' own color, faintly. */
.form-row input, .form-row textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid rgba(0, 0, 0, 0.25); border-radius: 6px; background: rgba(255, 255, 255, 0.9); color: inherit;
	border-color: color-mix(in srgb, currentColor 30%, transparent); background: color-mix(in srgb, currentColor 5%, transparent); }
.form-row input::placeholder, .form-row textarea::placeholder { color: inherit; opacity: 0.5; }
/* A card on a dark or colored band is the page's own color: its button is the theme's again. */
.sec-form.v-card.tone-dark .contact-form .btn, .sec-form.v-card.tone-accent .contact-form .btn { background: var(--accent); color: #ffffff; border-color: var(--accent); }
.sec-form.v-card.tone-dark .contact-form .btn:hover, .sec-form.v-card.tone-accent .contact-form .btn:hover { background: transparent; color: var(--accent); }
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-hint, .form-after { font-size: 0.85em; opacity: 0.75; margin: 0 0 12px; }
.form-thanks { font-size: 1.15em; padding: 18px 0; }
.form-error { color: #b42318; font-weight: 600; }
.form-status { min-height: 1.2em; font-size: 0.9em; margin: 6px 0 0; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .form-two { grid-template-columns: 1fr; } }

/* ── Blocks: columns of items, over the section's color or a shaded picture ── */
.sec-blocks .blocks { position: relative; }
.sec-blocks .blocks.has-pic { overflow: hidden; }
.blk-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
/* A background picture fills the section: its padding is inside the picture. */
.sec.sec-blocks.has-bg { padding: 0; }
.sec-blocks.has-bg .blocks { padding: var(--pad) 0; }
.sec-blocks.has-bg.pad-small .blocks { padding: calc(var(--pad) * 0.5) 0; }
.sec-blocks.has-bg.pad-large .blocks { padding: calc(var(--pad) * 1.5) 0; }
.sec-blocks.has-bg.box-h .blocks { display: flex; flex-direction: column; justify-content: center; }
.sec-blocks.has-bg.box-h.va-top .blocks { justify-content: flex-start; }
.sec-blocks.has-bg.box-h.va-bottom .blocks { justify-content: flex-end; }
.sec-blocks.has-bg.box-h .blocks > .blk-grid { width: 100%; box-sizing: border-box; }
.blocks.has-pic.shade-dark::before, .blocks.has-pic.shade-light::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.blocks.has-pic.shade-dark::before { background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.35)); }
.blocks.has-pic.shade-light::before { background: rgba(255, 255, 255, 0.72); }
.blocks.has-pic.shade-dark, .blocks.has-pic.shade-none { color: #ffffff; }
.blocks.has-pic.shade-light { color: #1d1d1f; }
.blocks.has-pic.shade-clear { color: var(--text); }
.blk-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 48px; }
.blocks.valign-center .blk-grid { align-items: center; }
.blocks.valign-top .blk-grid { align-items: start; }
.blk-col { min-width: 0; }
.blk-col > * + * { margin-top: 16px; }
.span-1 { grid-column: span 1; } .span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; } .span-10 { grid-column: span 10; } .span-11 { grid-column: span 11; } .span-12 { grid-column: span 12; }
.blk-label { display: inline-block; font-family: var(--font-label); font-size: 0.8rem; letter-spacing: var(--label-spacing); text-transform: var(--label-case);
	color: var(--accent); border: 1px solid currentColor; border-radius: 999px; padding: 4px 12px; margin: 0; }
.blk-h { margin: 0; font-family: var(--font-heading); line-height: 1.15; }
.blk-h.size-large { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.blk-h.size-medium { font-size: clamp(1.5rem, 3vw, 2.3rem); }
.blk-h.size-small { font-size: 1.25rem; }
.sec .blk-text { margin-top: 12px; }
mark.hl { background: none; color: var(--accent); }
/* Words' own color and size (the text bar): theme colors, stock colors (--s1..--s8 in look.css), size steps. */
.c-text { color: var(--text); }
.c-accent { color: var(--accent); }
.c-dark { color: var(--dark, #1d1d1f); }
.c-alt { color: var(--alt); }
.c-white { color: #ffffff; }
.c-gray { color: #8a8a8a; }
.c-s1 { color: var(--s1, inherit); } .c-s2 { color: var(--s2, inherit); } .c-s3 { color: var(--s3, inherit); } .c-s4 { color: var(--s4, inherit); }
.c-s5 { color: var(--s5, inherit); } .c-s6 { color: var(--s6, inherit); } .c-s7 { color: var(--s7, inherit); } .c-s8 { color: var(--s8, inherit); }
/* A color chosen for words wins over a highlight inside them. */
.c-text mark.hl, .c-accent mark.hl, .c-dark mark.hl, .c-alt mark.hl, .c-white mark.hl, .c-gray mark.hl, .c-s1 mark.hl, .c-s2 mark.hl, .c-s3 mark.hl, .c-s4 mark.hl, .c-s5 mark.hl, .c-s6 mark.hl, .c-s7 mark.hl, .c-s8 mark.hl { color: inherit; }
.fs-xs { font-size: 0.75em; }
.fs-s { font-size: 0.875em; }
.fs-l { font-size: 1.25em; }
.fs-xl { font-size: 1.6em; line-height: 1.2; }
/* Words' own weight (the text bar); it wins over bold around or inside it. */
.fw-300 { font-weight: 300; } .fw-400 { font-weight: 400; } .fw-500 { font-weight: 500; } .fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; } .fw-800 { font-weight: 800; } .fw-900 { font-weight: 900; }
[class*="fw-"] strong, [class*="fw-"] b { font-weight: inherit; }
.blk-pic { margin: 0; }
.blk-img { width: 100%; height: auto; display: block; }
.blk-pic.shape-rounded .blk-img { border-radius: 14px; }
.blk-pic.shape-circle .blk-img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.blk-check { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.blk-check li { position: relative; padding-left: 22px; font-size: 0.92em; }
.blk-check li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.blk-stats { display: flex; flex-wrap: wrap; gap: 20px 40px; }
.blk-stat { display: flex; flex-direction: column; }
.blk-num { font-family: var(--font-heading); font-size: 2.4rem; color: var(--accent); line-height: 1.1; }
.blk-cap { font-size: 0.9em; opacity: 0.85; }
.btn.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.align-center .blk-col { text-align: center; } .align-center .btn-row, .align-center .blk-check, .align-center .blk-stats { justify-content: center; }
.align-right .blk-col { text-align: right; }
@media (max-width: 760px) { .blk-grid { grid-template-columns: 1fr; gap: 24px; } .blk-col { grid-column: auto; } }
.blk-col .btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
/* A column's box (render.boxCss): it fills its row, its content placed in it; words lined up; a shadow. */
.blk-col.col-box { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-start; }
.blk-col.col-box > * + * { margin-top: 16px; }
.blk-col.col-va-center { justify-content: center; }
.blk-col.col-va-bottom { justify-content: flex-end; }
.blk-col.col-al-left { text-align: left; } .blk-col.col-al-center { text-align: center; } .blk-col.col-al-right { text-align: right; }
.blk-col.col-al-center .btn-row, .blk-col.col-al-center .blk-check, .blk-col.col-al-center .blk-stats { justify-content: center; }
.blk-col.col-al-right .btn-row, .blk-col.col-al-right .blk-check, .blk-col.col-al-right .blk-stats { justify-content: flex-end; }
.blk-col.col-al-left .btn-row, .blk-col.col-al-left .blk-check, .blk-col.col-al-left .blk-stats { justify-content: flex-start; }
.blk-col.col-shadow { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06); }
.blk-col.on-dark { color: #f4f4f2; --text: #f4f4f2; }
.blk-col.on-light { color: #222222; --text: #222222; }
.card-box .card { box-sizing: border-box; }
.card-box.col-shadow .card { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06); }
.card-box.col-shadow { box-shadow: none; }
.card-box.on-dark .card { color: #f4f4f2; --text: #f4f4f2; }
.card-box.on-light .card { color: #222222; --text: #222222; }
.card-box.col-al-center .card { text-align: center; } .card-box.col-al-right .card { text-align: right; }
.blk-space { height: 40px; }
/* An item's own alignment (its pixels are in the page's box stylesheet: .it-<col>-<item>). */
.blk-col .it-al-left { text-align: left; margin-left: 0; margin-right: auto; }
.blk-col .it-al-center { text-align: center; margin-left: auto; margin-right: auto; }
.blk-col .it-al-right { text-align: right; margin-left: auto; margin-right: 0; }
.blk-col .blk-label.it-al-left, .blk-col .blk-label.it-al-center, .blk-col .blk-label.it-al-right { display: table; }
.blk-col .btn-row.it-al-left, .blk-col .blk-check.it-al-left, .blk-col .blk-stats.it-al-left { justify-content: flex-start; }
.blk-col .btn-row.it-al-center, .blk-col .blk-check.it-al-center, .blk-col .blk-stats.it-al-center { justify-content: center; }
.blk-col .btn-row.it-al-right, .blk-col .blk-check.it-al-right, .blk-col .blk-stats.it-al-right { justify-content: flex-end; }
.blk-pic img { display: block; }
.blk-col > .blk-space + *, .blk-col > * + .blk-space { margin-top: 0; }

/* ── The theme's style (look.style; body classes motif-*, cards-*, corners-*) ───────────────────────────────── */
/* Corners: pictures and cards. */
body.corners-soft { --corner: 6px; }
body.corners-round { --corner: 16px; }
body.corners-soft .tp-img, body.corners-round .tp-img,
body.corners-soft .pic-grid .tile img, body.corners-round .pic-grid .tile img,
body.corners-soft .pic-row .tile img, body.corners-round .pic-row .tile img,
body.corners-soft .card-img, body.corners-round .card-img,
body.corners-soft .post-img, body.corners-round .post-img { border-radius: var(--corner); }
/* Cards: how a Cards section's cards look when they have no box of their own (cardbox). */
body.cards-line .cards-grid:not(.card-box) .card,
body.cards-raised .cards-grid:not(.card-box) .card,
body.cards-soft .cards-grid:not(.card-box) .card { border-radius: var(--corner, 0); overflow: hidden; padding-bottom: 22px; }
body.cards-line .cards-grid:not(.card-box) .card { border: 1px solid rgba(127, 127, 127, 0.3); }
body.cards-raised .cards-grid:not(.card-box) .card { background: var(--bg); color: var(--text); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10), 0 2px 6px rgba(0, 0, 0, 0.05); }
body.cards-soft .cards-grid:not(.card-box) .card { background: var(--alt); color: var(--text); }
body.cards-soft .sec.tone-alt .cards-grid:not(.card-box) .card { background: var(--bg); }
body.cards-line .cards-grid:not(.card-box) .card-words,
body.cards-raised .cards-grid:not(.card-box) .card-words,
body.cards-soft .cards-grid:not(.card-box) .card-words { padding: 0 22px; }
body.cards-line .cards-grid:not(.card-box) .card:not(:has(.card-pic)),
body.cards-raised .cards-grid:not(.card-box) .card:not(:has(.card-pic)),
body.cards-soft .cards-grid:not(.card-box) .card:not(:has(.card-pic)) { padding-top: 22px; }
body.cards-line .cards-grid:not(.card-box) .card-img,
body.cards-raised .cards-grid:not(.card-box) .card-img,
body.cards-soft .cards-grid:not(.card-box) .card-img { border-radius: 0; }
/* Motif: rule - a short line of the accent color under each section's heading. */
body.motif-rule .sec-heading::after { content: ''; display: block; width: 48px; height: 2px; margin-top: 0.55em; background: var(--accent); }
body.motif-rule .sec.align-center .sec-heading::after, body.motif-rule .v-quote .sec-heading::after,
body.motif-band .sec.align-center .sec-heading::before { margin-left: auto; margin-right: auto; }
body.motif-rule .sec.align-right .sec-heading::after, body.motif-band .sec.align-right .sec-heading::before { margin-left: auto; margin-right: 0; }
body.motif-rule .tone-accent .sec-heading::after, body.motif-rule .tone-dark .sec-heading::after { background: currentColor; opacity: 0.7; }
/* Motif: band - a bold bar over each section's heading. */
body.motif-band .sec-heading::before { content: ''; display: block; width: 56px; height: 6px; margin-bottom: 0.6em; background: var(--accent); }
body.motif-band .tone-accent .sec-heading::before { background: currentColor; }
/* Motif: frame - pictures with soft corners and a shadow under them. */
body.motif-frame .tp-img, body.motif-frame .pic-grid .tile img, body.motif-frame .pic-row .tile img, body.motif-frame .cards-grid:not(.card-box) .card-img,
body.motif-frame .post-img { border-radius: max(var(--corner, 0px), 10px); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16), 0 3px 8px rgba(0, 0, 0, 0.06); }
body.motif-frame.cards-line .cards-grid:not(.card-box) .card-img, body.motif-frame.cards-raised .cards-grid:not(.card-box) .card-img,
body.motif-frame.cards-soft .cards-grid:not(.card-box) .card-img { border-radius: 0; box-shadow: none; }
/* Motif: glow - a soft light of the accent color in the colored sections. */
body.motif-glow .sec.tone-alt, body.motif-glow .sec.tone-dark, body.motif-glow .sec.tone-accent, body.motif-glow .cover:not(.has-pic) {
	background-image: radial-gradient(60% 90% at 12% 0%, color-mix(in srgb, var(--accent) 32%, transparent), transparent 72%),
		radial-gradient(50% 80% at 100% 100%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%);
}
body.motif-glow .sec.tone-accent { background-image: radial-gradient(60% 90% at 12% 0%, rgba(255, 255, 255, 0.22), transparent 72%); }

/* Logos (a Pictures section): small and whole; scrolling by when asked, two copies moving left forever. */
.logo-strip { overflow: hidden; padding: 4px 0; }
.logo-track { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 36px 56px; max-width: var(--wrap, 1200px); margin: 0 auto; padding: 0 24px; }
.logo { margin: 0; flex: 0 0 auto; display: flex; align-items: center; }
.logo-img { height: 56px; width: auto; max-width: 220px; object-fit: contain; }
.logo-strip.is-moving { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track.scrolling { flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content; max-width: none; padding: 0; animation: logo-scroll 40s linear infinite; }
.logo-half { display: flex; align-items: center; gap: 64px; padding-right: 64px; flex: 0 0 auto; }
.logo-dur-2 { animation-duration: 16s; } .logo-dur-3 { animation-duration: 24s; } .logo-dur-4 { animation-duration: 32s; } .logo-dur-5 { animation-duration: 40s; }
.logo-dur-7 { animation-duration: 56s; } .logo-dur-10 { animation-duration: 80s; }
.logo-strip:hover .logo-track.scrolling { animation-play-state: paused; }
@keyframes logo-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.logo-track.scrolling { animation: none; flex-wrap: wrap; justify-content: center; width: auto; max-width: var(--wrap, 1200px); margin: 0 auto; }
	.logo-track.scrolling .logo-half[aria-hidden] { display: none; }
	.logo-strip.is-moving { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 700px) { .logo-img { height: 40px; max-width: 160px; } .logo-half { gap: 40px; padding-right: 40px; } }
/* Logo size (the section's logo_size): medium is the size above. */
.logo-size-small .logo-img { height: 40px; max-width: 160px; }
.logo-size-small .logo-track:not(.scrolling) { gap: 28px 44px; }
.logo-size-large .logo-img { height: 80px; max-width: 300px; }
@media (max-width: 700px) { .logo-size-small .logo-img { height: 30px; max-width: 120px; } .logo-size-large .logo-img { height: 56px; max-width: 220px; } }

/* ── Lists: the List section and an entry's own page ─────────────────────── */
.li-grid { display: grid; gap: var(--gap); }
.li-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.li-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.li-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.li-card { display: flex; flex-direction: column; min-width: 0; }
.li-pic { display: block; margin-bottom: 14px; overflow: hidden; border-radius: var(--corner, 0); }
.li-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.li-title { font-size: 1.2rem; margin: 0 0 6px; text-transform: var(--heading-case); }
.li-title a { color: inherit; text-decoration: none; }
.li-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.li-price { margin: 0 0 8px; font-size: 1.25rem; font-weight: 700; color: var(--accent); }
.li-facts { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0 0 12px; }
.li-facts div { min-width: 0; }
.li-facts dt, .entry-dl dt { font-family: var(--font-label); font-size: 0.7rem; letter-spacing: var(--label-spacing); text-transform: var(--label-case); opacity: .7; }
.li-facts dd { margin: 0; font-weight: 600; }
.li-more { margin: auto 0 0; }
.li-rows .li-card { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: center; padding: 26px 0; border-top: 1px solid rgba(127, 127, 127, .2); }
.li-rows .li-card:first-child { border-top: 0; padding-top: 0; }
.li-rows .li-card .li-pic { margin: 0; }
.li-rows .li-card:not(:has(.li-pic)) { grid-template-columns: 1fr; }
.li-titles { list-style: none; margin: 0; padding: 0; }
.li-row { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(127, 127, 127, .2); }
.li-row:first-child { border-top: 0; }
.li-row .li-title { margin: 0; flex: 1; }
.li-first { font-weight: 600; white-space: nowrap; }
.entry-back { margin: 0 0 22px; font-family: var(--font-label); font-size: .78rem; letter-spacing: var(--label-spacing); text-transform: var(--label-case); }
.entry-back a { color: inherit; }
.entry-top { display: grid; grid-template-columns: 3fr 2fr; gap: 40px; align-items: start; }
.entry-top.no-pics { grid-template-columns: 1fr; max-width: 760px; }
.entry-pics { display: grid; gap: 8px; grid-template-columns: repeat(4, 1fr); }
.entry-pics .entry-pic { display: block; overflow: hidden; border-radius: var(--corner, 0); }
.entry-pics .entry-pic:first-child { grid-column: 1 / -1; }
.entry-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.entry-pics:not(.many) .entry-img-main { aspect-ratio: auto; max-height: 75vh; }
.entry-title { margin: 0 0 .3em; }
.entry-price { margin: 0 0 18px; font-size: 1.7rem; font-weight: 700; color: var(--accent); }
.entry-price-label { font-size: .9rem; font-weight: 400; color: var(--text); opacity: .75; }
.entry-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 0 0 22px; padding: 18px 0; border-top: 1px solid rgba(127, 127, 127, .22); border-bottom: 1px solid rgba(127, 127, 127, .22); }
.entry-dl dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.entry-long { max-width: 760px; margin-top: 40px; }
.entry-h2 { font-size: 1.3rem; }
@media (max-width: 760px) {
	.li-grid.cols-2, .li-grid.cols-3, .li-grid.cols-4 { grid-template-columns: 1fr; }
	.li-rows .li-card { grid-template-columns: 1fr; gap: 14px; }
	.entry-top { grid-template-columns: 1fr; gap: 24px; }
	.entry-pics { grid-template-columns: repeat(3, 1fr); }
}

/* A form's own questions: a drop-down like the boxes; a set of choices titled like a label, the choices as words */
.form-row select { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid rgba(0, 0, 0, 0.25); border-radius: 6px; background: rgba(255, 255, 255, 0.9); color: inherit;
	border-color: color-mix(in srgb, currentColor 30%, transparent); background: color-mix(in srgb, currentColor 5%, transparent); }
.form-row select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form-set { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.form-set legend { display: block; padding: 0; margin-bottom: 6px; font-family: var(--font-label); font-size: 0.8em; letter-spacing: var(--label-spacing); text-transform: var(--label-case); }
.form-row label.form-opt { display: inline-flex; align-items: center; gap: 8px; margin: 0 22px 8px 0; font-family: inherit; font-size: 1rem; letter-spacing: normal; text-transform: none; }
.form-row label.form-opt input { width: 18px; height: 18px; margin: 0; padding: 0; accent-color: var(--accent); }
.form-req { color: var(--accent); }

/* A List section's filters */
.list-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 18px; margin: 0 0 28px; padding: 16px 18px; border: 1px solid rgba(127, 127, 127, .22); border-radius: var(--corner, 8px); }
.lf-item { margin: 0; border: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.lf-item label, .lf-item legend { font-family: var(--font-label); font-size: 0.72rem; letter-spacing: var(--label-spacing); text-transform: var(--label-case); opacity: .8; padding: 0; }
.lf-item select, .lf-item input { font: inherit; font-size: 15px; padding: 8px 10px; border-radius: 6px; color: inherit; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); background: color-mix(in srgb, currentColor 5%, transparent); min-width: 140px; }
.lf-range { flex-direction: row; align-items: center; flex-wrap: wrap; }
.lf-range legend { width: 100%; margin-bottom: 4px; }
.lf-range input { width: 110px; min-width: 0; }
.lf-go { margin: 0; display: flex; align-items: center; gap: 14px; }
.lf-clear { font-size: .9rem; }
@media (max-width: 760px) { .list-filters { flex-direction: column; align-items: stretch; } .lf-item select, .lf-item input { width: 100%; } .lf-range input { width: 45%; } }

/* An MLS feed's notice: small print */
.feed-notice { margin-top: 32px; font-size: .78rem; line-height: 1.5; opacity: .75; max-width: 900px; }
.feed-notice p { margin: 0 0 6px; }

/* The cookie question (site/track.js, only on a website with the owner's Google or Meta tags) */
.wf-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999; max-width: 560px; margin: 0 auto; padding: 18px 20px;
	background: var(--bg); color: var(--text); border: 1px solid rgba(127, 127, 127, 0.35); border-radius: 10px; box-shadow: 0 10px 34px rgba(0, 0, 0, 0.22);
	font-size: .95rem; line-height: 1.5; }
.wf-consent p { margin: 0 0 14px; }
.wf-consent .wf-consent-title { margin: 0 0 6px; font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; }
.wf-consent a { color: inherit; text-decoration: underline; }
.wf-consent-buttons { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.wf-consent-buttons .btn { margin: 0; }
.wf-consent-buttons .btn.btn-2 { color: var(--text); border-color: currentColor; }
.wf-consent-link { display: inline-block; margin: 10px 0 0; padding: 0; background: none; border: 0; color: inherit; font: inherit; font-size: .85em; text-decoration: underline; cursor: pointer; opacity: .8; }
@media print { .wf-consent, .wf-consent-link { display: none; } }

/* "Don't count my visits" said once (site.js) */
.wf-note { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999; max-width: 520px; margin: 0 auto; padding: 14px 16px; display: flex; gap: 14px; align-items: center;
	background: var(--bg); color: var(--text); border: 1px solid rgba(127, 127, 127, 0.35); border-radius: 10px; box-shadow: 0 10px 34px rgba(0, 0, 0, 0.22); font-size: .95rem; line-height: 1.45; }
.wf-note .btn { margin: 0; flex: 0 0 auto; }
@media print { .wf-note { display: none; } }
