/*
Theme Name: Finder
Description: The theme for the My Life Finder family of directory sites. Navy header and title bands, gold buttons, bold rounded headings to match the logos. Works with the Finder Directory plugin, which supplies each site's colours, logos and wording.
Author: VCM Ltd
Author URI: https://vcmweb.co.uk
Version: 2.1.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: finder-theme
*/

/* ------------------------------------------------------------------ fonts (hosted on this site) */
@font-face {
	font-family: "Montserrat";
	src: url("assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Nunito Sans";
	src: url("assets/fonts/nunito-sans-latin-wght-normal.woff2") format("woff2");
	font-weight: 200 1000;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Nunito Sans";
	src: url("assets/fonts/nunito-sans-latin-wght-italic.woff2") format("woff2");
	font-weight: 200 1000;
	font-style: italic;
	font-display: swap;
}

/* ------------------------------------------------------------------ tokens (each site's profile overrides the colours) */
:root {
	--ink: #0D2A4B;
	--ink-soft: #4A5B72;
	--navy-deep: #0A2240;
	--accent: #D3A853;
	--accent-hover: #C29544;
	--accent-text: #8A6A24;
	--accent-on-dark: #E6C06C;
	--paper: #FFFFFF;
	--tint: #F3F6FA;
	--rule: #DCE3EC;
	--text: #22324A;
	--on-dark: #FFFFFF;
	--on-dark-soft: #C5D0DE;
	--head: "Montserrat", "Trebuchet MS", "Segoe UI", sans-serif;
	--body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 12px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(13, 42, 75, 0.06), 0 8px 24px rgba(13, 42, 75, 0.08);
	--fd-ink: var(--ink);
	--fd-paper: var(--paper);
	--fd-accent: var(--accent);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--body);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); color: var(--ink); line-height: 1.2; text-wrap: balance; }
h1 { font-weight: 800; letter-spacing: -0.015em; }
h2, h3 { font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
[hidden] { display: none !important; }

.icon { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: -0.2em; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 12px 18px; background: var(--accent); color: var(--ink); font-weight: 700; }
.skip-link:focus { left: 8px; top: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.wrap .narrow { margin-left: auto; margin-right: auto; }

.eyebrow { margin: 0 0 10px; font-family: var(--head); font-weight: 700; font-size: 0.85rem; color: var(--accent-text); }
.eyebrow--gold { color: var(--accent-on-dark); }
.count { font-family: var(--body); font-weight: 600; font-size: 0.85rem; color: var(--ink-soft); }

/* ------------------------------------------------------------------ buttons, pills, chips */
.btn, .fd-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 22px; border: 0; border-radius: var(--radius-sm);
	background: var(--accent); color: var(--ink);
	font-family: var(--head); font-weight: 700; font-size: 0.95rem; line-height: 1.1;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color 0.15s ease;
}
.btn:hover, .fd-button:hover { background: var(--accent-hover); color: var(--ink); }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }
.fd-button--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.fd-button--ghost:hover { background: var(--ink); color: #fff; }

.pill {
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
	font-family: var(--head); font-weight: 700; font-size: 0.78rem; line-height: 1.3; text-decoration: none;
}
.pill .icon { width: 16px; height: 16px; }
.pill--gold { background: var(--accent); color: var(--ink); }
.pill--on-dark { background: rgba(255, 255, 255, 0.1); color: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
a.pill--on-dark:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }

.chip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
	border: 1px solid var(--rule); border-radius: 999px; background: #fff;
	color: var(--ink); font-weight: 600; font-size: 0.95rem; text-decoration: none;
}
.chip:hover { border-color: var(--ink); color: var(--ink); background: var(--tint); }
.chip .icon { width: 18px; height: 18px; color: var(--accent-text); }
.chip__n { font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); }

.arrow-link {
	display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
	font-family: var(--head); font-weight: 700; font-size: 0.95rem; color: var(--ink); text-decoration: none;
}
.arrow-link .icon { width: 18px; height: 18px; color: var(--accent-text); transition: transform 0.15s ease; }
.arrow-link:hover { color: var(--ink); text-decoration: underline; }
.arrow-link:hover .icon { transform: translateX(3px); }

/* ------------------------------------------------------------------ header */
.site-header { background: var(--ink); color: var(--on-dark); }
.site-header__bar { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 32px; }
.site-logo { display: inline-flex; text-decoration: none; padding: 14px 0; }
.site-logo__img { display: block; width: clamp(160px, 17vw, 215px); height: auto; }
.site-logo__img--boxed { background: #fff; padding: 6px 10px; border-radius: var(--radius-sm); }
.site-logo__text { font-family: var(--head); font-weight: 800; font-size: 1.6rem; color: #fff; }
.site-nav { display: contents; }
.utility-nav { grid-column: 2; display: flex; align-items: center; justify-content: flex-end; gap: 8px 26px; }
.utility-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.utility-nav a:not(.btn) { color: var(--on-dark); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.utility-nav a:not(.btn):hover, .utility-nav .current-menu-item > a { color: var(--accent-on-dark); }
.type-nav { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.type-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 clamp(14px, 2.4vw, 30px); }
.type-nav a {
	position: relative; display: inline-flex; align-items: center; min-height: 50px;
	color: var(--on-dark-soft); text-decoration: none; font-family: var(--head); font-weight: 600; font-size: 0.9rem;
}
.type-nav a:hover, .type-nav .current-menu-item > a { color: #fff; }
.type-nav .current-menu-item > a::after, .type-nav a:hover::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent);
}
.menu-toggle {
	display: none; align-items: center; gap: 10px; justify-self: end; min-height: 44px; padding: 0 14px;
	background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: var(--radius-sm);
	font-family: var(--head); font-weight: 700; font-size: 0.9rem; cursor: pointer;
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }

@media (max-width: 960px) {
	.site-header__bar { grid-template-columns: 1fr auto; }
	.menu-toggle { display: inline-flex; }
	.site-nav { display: none; grid-column: 1 / -1; padding: 6px 0 18px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
	.site-nav.is-open { display: block; }
	.utility-nav { flex-direction: column; align-items: stretch; gap: 0; }
	.utility-nav ul { flex-direction: column; gap: 0; }
	.utility-nav .btn { margin: 10px 0 4px; }
	.type-nav { border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 8px; padding-top: 4px; }
	.type-nav ul { flex-direction: column; }
	.type-nav a { min-height: 44px; }
	.type-nav a::after { display: none; }
}

/* ------------------------------------------------------------------ home hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding: clamp(40px, 6vw, 72px) 0 clamp(44px, 6vw, 76px); }
.hero::after {
	/* the magnifying-glass ring from the logo, very faint */
	content: ""; position: absolute; right: -120px; top: -60px; width: 520px; height: 520px; border-radius: 50%;
	border: 46px solid var(--accent); opacity: 0.09; pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; max-width: 15em; }
.hero h1 .hl { color: var(--accent-on-dark); }
.hero__lede { max-width: 38em; margin: 18px 0 0; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--on-dark-soft); }
.hero__popular { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hero__popular-label { color: var(--on-dark-soft); font-weight: 600; margin-right: 4px; }
.hero__popular a {
	display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px;
	background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
	color: #fff; text-decoration: none; font-weight: 600; font-size: 0.92rem;
}
.hero__popular a:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.hero__count { margin: 20px 0 0; color: var(--on-dark-soft); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.hero__count .icon { color: var(--accent-on-dark); }
.hero__count a { color: var(--accent-on-dark); font-weight: 700; }
@media (max-width: 760px) { .hero::after { display: none; } }

/* ------------------------------------------------------------------ search card */
.search-card { background: #fff; color: var(--text); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(5, 20, 40, 0.25); padding: 22px; margin-top: 30px; }
.search-card--overlap { margin-top: -44px; position: relative; z-index: 2; box-shadow: var(--shadow); border: 1px solid var(--rule); }
.search-card--inline { margin: 8px 0 0; box-shadow: none; border: 1px solid var(--rule); background: var(--tint); }
.search-card__title { font-family: var(--head); font-weight: 700; font-size: 1.15rem; color: var(--ink); margin: 0 0 12px; }
.fd-search { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 14px; align-items: end; }
.fd-search .fd-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; }
.fd-search label { font-family: var(--head); font-weight: 700; font-size: 0.8rem; color: var(--ink); }
.fd-search input, .fd-search select {
	width: 100%; height: 50px; padding: 0 14px; border: 1px solid #B9C4D3; border-radius: var(--radius-sm);
	background-color: #fff; color: var(--ink); font-family: var(--body); font-size: 1rem;
}
.fd-search select {
	appearance: none; -webkit-appearance: none; padding-right: 36px; text-overflow: ellipsis; cursor: pointer;
	background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
	background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}
.fd-search input::placeholder { color: #6B7A90; opacity: 1; }
.fd-search input:focus, .fd-search select:focus { border-color: var(--ink); outline: 3px solid rgba(211, 168, 83, 0.55); outline-offset: 0; }
.fd-search .fd-button { height: 50px; min-width: 130px; padding: 0 26px; font-size: 1rem; }
@media (max-width: 980px) {
	.fd-search { grid-template-columns: 1fr 1fr; }
	.fd-search .fd-field--q, .fd-search .fd-field--submit { grid-column: 1 / -1; }
	.fd-search .fd-button { width: 100%; }
}
@media (max-width: 520px) { .fd-search { grid-template-columns: 1fr; } .search-card { padding: 16px; } }

/* ------------------------------------------------------------------ sections */
.section { padding: clamp(40px, 6vw, 72px) 0; }
.section--tight { padding: clamp(24px, 4vw, 40px) 0; }
.section--tint { background: var(--tint); }
.section--more { padding-bottom: 8px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-head h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 12px; border-radius: 4px; background: var(--accent); }
.section-head__sub { margin: 12px 0 0; color: var(--ink-soft); font-size: 1.05rem; }

/* listings by type */
.type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.type-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px 22px 10px; }
.type-card__head { display: flex; align-items: center; gap: 14px; }
.type-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 10px; background: var(--ink); color: var(--accent-on-dark); flex: 0 0 auto; }
.type-card__icon .icon { width: 24px; height: 24px; }
.type-card h3 { font-size: 1.15rem; }
.type-card h3 a { text-decoration: none; }
.type-card h3 a:hover { text-decoration: underline; color: var(--ink); }
.type-card__blurb { margin: 14px 0 6px; color: var(--ink-soft); font-size: 0.98rem; }
.type-card__list { list-style: none; margin: 0 0 4px; padding: 0; }
.type-card__list li { padding: 11px 0; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 1px; }
.type-card__list a { font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.3; }
.type-card__list a:hover { text-decoration: underline; }
.type-card__list span { font-size: 0.92rem; color: var(--ink-soft); }
.type-card__list .pill { align-self: flex-start; margin-top: 4px; font-size: 0.72rem; }
.type-card .arrow-link { margin-top: auto; }

/* list-your-business box */
.cta-box {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
	background: var(--ink); color: var(--on-dark); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px);
	position: relative; overflow: hidden;
}
.cta-box::after { content: ""; position: absolute; right: -70px; bottom: -110px; width: 260px; height: 260px; border-radius: 50%; border: 26px solid var(--accent); opacity: 0.12; pointer-events: none; }
.cta-box__text { flex: 1 1 420px; max-width: 46em; position: relative; z-index: 1; }
.cta-box .eyebrow { color: var(--accent-on-dark); }
.cta-box h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.cta-box p:last-child { margin: 0; color: var(--on-dark-soft); }
.cta-box .btn { position: relative; z-index: 1; }

/* counties */
.area-grid { columns: 4 250px; column-gap: 16px; }
.area-card { break-inside: avoid; margin-bottom: 16px; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px 18px; }
.area-card h3 { font-size: 1.05rem; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.area-card h3 a { text-decoration: none; }
.area-card h3 a:hover { text-decoration: underline; color: var(--ink); }
.area-card ul { list-style: none; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 2px 14px; }
.area-card li a { display: inline-block; padding: 3px 0; font-size: 0.95rem; color: var(--ink-soft); text-decoration: none; }
.area-card li a:hover { color: var(--ink); text-decoration: underline; }

/* guides */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.guide-grid--three { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.guide-grid--index { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); margin: 40px 0 64px; }
.guide-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px; transition: box-shadow 0.15s ease, border-color 0.15s ease; }
.guide-card:hover { box-shadow: var(--shadow); border-color: #C4CEDB; }
.guide-card h2, .guide-card h3 { font-size: 1.15rem; line-height: 1.3; margin-bottom: 10px; }
.guide-card h2 a, .guide-card h3 a { text-decoration: none; }
.guide-card h2 a::after, .guide-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.guide-card p { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 12px; }
.guide-card .arrow-link { margin-top: auto; min-height: 0; }

.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ navy title band (inner pages) */
.band { background: var(--ink); color: var(--on-dark); padding: 18px 0 clamp(32px, 5vw, 48px); }
.band--search { padding-bottom: calc(clamp(32px, 5vw, 48px) + 44px); }
.band h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 22em; }
.band__intro { max-width: 46em; margin-top: 12px; color: var(--on-dark-soft); font-size: 1.1rem; }
.band__intro p:last-child { margin-bottom: 0; }
.band__intro a { color: var(--accent-on-dark); }
.band__page { font-family: var(--body); font-weight: 600; font-size: 0.5em; color: var(--on-dark-soft); white-space: nowrap; }
.band__meta { margin: 12px 0 0; color: var(--on-dark-soft); font-size: 0.95rem; }
.band__icon { display: inline-flex; align-items: center; gap: 8px; }
.band__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.band__where { margin: 12px 0 0; color: var(--on-dark-soft); font-size: 1.15rem; display: flex; align-items: center; gap: 8px; }
.band__where .icon { color: var(--accent-on-dark); }
.fd-count-line { color: var(--on-dark-soft); }

.fd-crumbs { margin-bottom: clamp(18px, 3vw, 30px); font-size: 0.88rem; color: var(--on-dark-soft); }
.fd-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 0; }
.fd-crumbs li + li::before { content: "›"; margin: 0 9px; color: var(--accent-on-dark); }
.fd-crumbs a { color: var(--on-dark-soft); text-decoration: none; }
.fd-crumbs a:hover { color: #fff; text-decoration: underline; }
.fd-crumbs [aria-current] { color: #fff; }

/* ------------------------------------------------------------------ results */
.fd-chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fd-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 4px 4px 14px; border-radius: 999px; background: var(--tint); border: 1px solid var(--rule); font-weight: 600; font-size: 0.92rem; }
.fd-chip__label { color: var(--ink-soft); font-weight: 400; }
.fd-chip__x { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; font-size: 1.2rem; line-height: 1; text-decoration: none; color: var(--ink); }
.fd-chip__x:hover { background: #fff; }

.refine { margin-top: 26px; }
.refine h2 { font-size: 1rem; margin-bottom: 10px; }

.results-summary { margin: 30px 0 14px; color: var(--ink-soft); font-weight: 600; font-size: 0.95rem; }
.results { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(440px, 100%), 1fr)); gap: 16px; }
.results--three { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.fd-card {
	position: relative; display: flex; flex-direction: column; min-width: 0;
	background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 20px 8px;
	transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.fd-card:hover { border-color: #C4CEDB; box-shadow: var(--shadow); }
.fd-card.is-featured { border: 2px solid var(--accent); padding: 17px 19px 7px; background: linear-gradient(#FFFCF4, #FFFCF4); }
.fd-card__flag { align-self: flex-start; margin: 0 0 10px; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 0.72rem; }
.fd-card__logo img { display: block; max-width: 150px; max-height: 64px; width: auto; height: auto; margin: 0 0 10px; }
.fd-card__name { font-size: 1.12rem; line-height: 1.3; }
.fd-card__name a { text-decoration: none; }
.fd-card__name a:hover { text-decoration: underline; color: var(--ink); }
.fd-card__where { margin: 4px 0 0; color: var(--ink-soft); font-size: 0.95rem; display: flex; align-items: center; gap: 6px; }
.fd-card__where::before {
	content: ""; width: 15px; height: 15px; flex: 0 0 auto; background: var(--accent-text);
	-webkit-mask: url("assets/icons/map-pin.svg") center / contain no-repeat; mask: url("assets/icons/map-pin.svg") center / contain no-repeat;
}
.fd-card__what { margin: 10px 0 0; font-size: 0.95rem; color: var(--ink-soft); }
.fd-card__type { display: inline-block; margin-right: 4px; color: var(--ink); font-weight: 700; }
.fd-card__sep { display: none; }
.fd-card__links { margin: auto 0 0; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 0 22px; }
.fd-card__links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-family: var(--head); font-weight: 700; font-size: 0.9rem; color: var(--ink); text-decoration: none; }
.fd-card__links a:hover { text-decoration: underline; }
.fd-card__links a.fd-out::after {
	content: ""; width: 15px; height: 15px; background: var(--accent-text);
	-webkit-mask: url("assets/icons/external-link.svg") center / contain no-repeat; mask: url("assets/icons/external-link.svg") center / contain no-repeat;
}

.fd-pages { margin: 34px 0 0; }
.fd-pages ul, .nav-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.fd-pages a, .fd-pages span, .nav-links a, .nav-links span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px;
	border: 1px solid var(--rule); border-radius: var(--radius-sm); text-decoration: none; font-weight: 700; background: #fff;
}
.fd-pages .current, .nav-links .current { background: var(--ink); border-color: var(--ink); color: #fff; }
.fd-pages a:hover, .nav-links a:hover { border-color: var(--ink); color: var(--ink); }
.fd-pages .dots { border: 0; min-width: 0; background: none; }
.no-results { padding: 40px 0; max-width: 40em; }
.no-results h2 { font-size: 1.5rem; margin-bottom: 10px; }
.faq-block { margin-top: 40px; }

/* ------------------------------------------------------------------ single listing */
.listing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, 380px); gap: 32px 56px; padding: 40px 0 8px; align-items: start; }
@media (max-width: 900px) { .listing { grid-template-columns: minmax(0, 1fr); } .listing__side { order: -1; } }
.listing__main.prose { padding-bottom: 0; }
.listing__main h2:first-of-type { margin-top: 0; }
.listing__logo img { max-width: 220px; max-height: 110px; width: auto; margin-bottom: 18px; }
.note { font-size: 0.93rem; color: var(--ink-soft); font-style: italic; }
.contact-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.contact-card h2 { font-size: 1.15rem; margin-bottom: 16px; }
.contact-list { list-style: none; margin: 18px 0 0; padding: 0; }
.contact-list li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); overflow-wrap: anywhere; }
.contact-list .icon { color: var(--accent-text); margin-top: 3px; }
.contact-list__label { display: block; font-family: var(--head); font-weight: 700; font-size: 0.78rem; color: var(--ink-soft); }
.contact-list a { font-weight: 600; }
.owner-box { margin-top: 16px; padding: 18px 22px; background: var(--tint); border-radius: var(--radius); }
.owner-box h2 { font-size: 1rem; margin-bottom: 6px; }
.owner-box p { margin: 0 0 4px; font-size: 0.97rem; color: var(--ink-soft); }
.owner-box a { display: inline-block; padding: 4px 0; font-weight: 700; color: var(--ink); }

/* ------------------------------------------------------------------ long-form text */
.page-body { padding: clamp(32px, 5vw, 52px) 0 clamp(36px, 5vw, 56px); }
.prose { font-size: 1.08rem; line-height: 1.7; }
.prose > p:first-child { font-size: 1.15rem; color: var(--ink); }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.65rem); margin: 1.7em 0 0.55em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.12rem; margin: 1.5em 0 0.4em; }
.prose a { color: var(--ink); font-weight: 600; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.prose a:hover { color: var(--accent-text); }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--accent-text); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 0.97rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--rule); }
.prose th { font-family: var(--head); font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--ink); white-space: nowrap; }
.prose dl { margin: 0 0 1.4em; }
.prose dt { font-family: var(--head); font-weight: 700; color: var(--ink); margin-top: 1.1em; }
.prose dd { margin: 0.2em 0 0; color: var(--ink-soft); }

.fd-faqs h2 { margin-top: 0; }
.fd-faq { border-bottom: 1px solid var(--rule); }
.fd-faq:first-of-type { border-top: 1px solid var(--rule); }
.fd-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; }
.fd-faq summary::-webkit-details-marker { display: none; }
.fd-faq summary h3 { margin: 0; font-size: 1.05rem; line-height: 1.35; }
.fd-faq summary::after { content: "+"; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 1.2rem; }
.fd-faq[open] summary::after { content: "−"; background: var(--accent); }
.fd-faq p { margin: 0 0 18px; color: var(--ink-soft); }

/* ------------------------------------------------------------------ forms */
.fd-form { margin: 1.4em 0 2em; }
.fd-form fieldset { border: 1px solid var(--rule); border-radius: var(--radius); margin: 1.4em 0 0; padding: 4px 22px 10px; background: #fff; }
.fd-form legend { padding: 0 8px; margin-left: -8px; font-family: var(--head); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.fd-form .fd-field { margin: 14px 0; display: flex; flex-direction: column; gap: 6px; }
.fd-form label { font-weight: 700; font-size: 1rem; color: var(--ink); }
.fd-req { font-weight: 400; font-size: 0.88rem; color: var(--ink-soft); }
.fd-form input[type="text"], .fd-form input[type="email"], .fd-form input[type="url"], .fd-form input[type="tel"], .fd-form select, .fd-form textarea {
	width: 100%; max-width: 560px; min-height: 48px; padding: 10px 14px; border: 1px solid #B9C4D3; border-radius: var(--radius-sm);
	background: #fff; color: var(--ink); font-family: var(--body); font-size: 1rem; line-height: 1.4;
}
.fd-form textarea { max-width: 100%; }
.fd-form input:focus, .fd-form select:focus, .fd-form textarea:focus { border-color: var(--ink); outline: 3px solid rgba(211, 168, 83, 0.55); outline-offset: 0; }
.fd-form input.fd-input--short { max-width: 200px; }
.fd-form__hint, .fd-form__note { font-size: 0.95rem; color: var(--ink-soft); margin: 0 0 0.5em; }
.fd-form__about { padding: 14px 18px; background: var(--tint); border-radius: var(--radius-sm); }
.fd-form .fd-button { min-height: 52px; padding: 0 30px; font-size: 1rem; }
.fd-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 0 20px; margin-bottom: 1em; }
.fd-checks label, .fd-field--check label { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; font-weight: 400; font-size: 1rem; color: var(--text); }
.fd-form input[type="checkbox"] { width: 20px; height: 20px; margin: 3px 0 0; flex: 0 0 auto; accent-color: var(--ink); }
.fd-field.has-error input, .fd-field.has-error select, .fd-field.has-error textarea { border-color: #B3261E; border-width: 2px; }
.fd-error { color: #B3261E; font-weight: 700; font-size: 0.95rem; }
.fd-notice { margin: 1.2em 0; padding: 16px 20px; border-radius: var(--radius-sm); border: 1px solid var(--rule); background: var(--tint); }
.fd-notice p:last-child, .fd-notice ul:last-child { margin-bottom: 0; }
.fd-notice--ok { border-color: #1E7A44; background: #EEF8F1; }
.fd-notice--error { border: 2px solid #B3261E; background: #FDF1F0; }
.fd-notice--error a { color: #B3261E; }
.fd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------------ cookie notice (plugin markup) */
.fd-cookies { border-top: 4px solid var(--accent); font-family: var(--body); }
.fd-cookies h2 { font-family: var(--head); font-weight: 700; color: var(--ink); }
.fd-cookies__buttons button { border-radius: var(--radius-sm); font-family: var(--head); font-weight: 700; min-height: 46px; }
.fd-cookies__buttons .fd-button { background: var(--ink); color: #fff; }
.fd-cookies__buttons .fd-button:hover { background: var(--navy-deep); }
.fd-cookies__buttons .fd-button--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--navy-deep); color: var(--on-dark-soft); padding: 44px 0 36px; font-size: 0.97rem; border-top: 4px solid var(--accent); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--accent-on-dark); text-decoration: underline; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 30px; padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.site-logo--footer { padding: 0; }
.site-logo--footer .site-logo__img { width: 170px; }
.footer-top__line { margin: 0; font-family: var(--head); font-weight: 600; color: var(--on-dark-soft); }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 28px 44px; padding: 30px 0 24px; }
.footer-col--wide { grid-column: span 1; }
.footer-col h2 { font-size: 0.85rem; color: var(--accent-on-dark); margin-bottom: 10px; letter-spacing: 0.02em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col__two { columns: 2; column-gap: 24px; }
.footer-col a { display: inline-block; padding: 4px 0; }
.footer-network { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-network p { margin: 0; }
.footer-network strong { color: #fff; }
.footer-network ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-legal { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.88rem; }
.footer-legal p { margin: 0 0 8px; max-width: 64em; }
.footer-legal a { text-decoration: underline; }

/* Help strip under the home hero (used by profiles that set home.help_link). */
.help-strip-wrap { padding-bottom: 0; }
.help-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 22px 26px; border: 2px solid var(--accent); border-radius: 14px; background: var(--paper); }
.help-strip__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--tint); color: var(--accent-text); flex: 0 0 auto; }
.help-strip__icon .icon { width: 24px; height: 24px; }
.help-strip__text { flex: 1 1 320px; }
.help-strip__text h2 { font-size: 1.25rem; margin: 0 0 4px; }
.help-strip__text p { margin: 0; color: var(--ink-soft); }
