/*
Theme Name: NineOneFour26
Theme URI: https://914digital.com
Description: Custom theme for SoFlo Dentists, built by 914Digital. Bootstrap 5.3.9, Font Awesome Pro 7.
Author: 914Digital
Author URI: https://914digital.com
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: Proprietary
*/

/* ---------- Tokens ---------- */
:root {
	--sfd-bg: #0F3460;
	--sfd-band: #0C2C52;
	--sfd-deep: #0A2342;
	--sfd-surface: #164275;
	--sfd-raised: #1B4A82;
	--sfd-line: #1F4A7C;
	--sfd-border: #2A5A92;
	--sfd-border-strong: #3A6CA6;
	--sfd-text: #F4F8FF;
	--sfd-soft: #CFE0F5;
	--sfd-muted: #A9C1E0;
	--sfd-accent: #38BDF8;
	--sfd-accent-hover: #7DD3FC;
	--sfd-cta: #FBBF24;
	--sfd-cta-hover: #FCD34D;
	--sfd-cta-ink: #1A1300;
	--sfd-danger: #F87171;
	--sfd-head: 'Outfit', system-ui, sans-serif;
	--sfd-body: 'DM Sans', system-ui, sans-serif;

	--bs-body-bg: var(--sfd-bg);
	--bs-body-color: var(--sfd-text);
	--bs-body-font-family: var(--sfd-body);
	--bs-link-color-rgb: 56, 189, 248;
	--bs-link-hover-color-rgb: 125, 211, 252;
	--bs-border-color: var(--sfd-border);
}

/* ---------- Base ---------- */
body {
	background: var(--sfd-bg);
	color: var(--sfd-text);
	font-family: var(--sfd-body);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--sfd-head);
	color: #fff;
	letter-spacing: -0.02em;
}

a {
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
}

:focus-visible {
	outline: 3px solid var(--sfd-accent);
	outline-offset: 2px;
}

.skip-link {
	position: absolute;
	z-index: 1000;
	top: 8px;
	left: 8px;
	padding: 10px 16px;
	border-radius: 8px;
	background: #fff;
	color: var(--sfd-bg);
}

.eyebrow {
	margin: 0 0 18px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--sfd-accent);
}

/* ---------- Buttons ---------- */
.btn {
	font-weight: 600;
	border-radius: 12px;
}

.btn-pill {
	border-radius: 999px;
}

.btn-cta {
	padding: 14px 22px;
	border: 0;
	background: var(--sfd-cta);
	color: var(--sfd-cta-ink);
	font-family: var(--sfd-head);
	font-weight: 700;
}

.btn-cta:hover,
.btn-cta:focus-visible {
	background: var(--sfd-cta-hover);
	color: var(--sfd-cta-ink);
}

.btn-cta.btn-sm {
	padding: 9px 14px;
}

.btn-cta .fa-solid {
	margin-right: 6px;
}

.btn-outline-light {
	--bs-btn-border-color: var(--sfd-border-strong);
	--bs-btn-hover-bg: var(--sfd-raised);
	--bs-btn-hover-border-color: var(--sfd-muted);
	--bs-btn-hover-color: #fff;
	--bs-btn-active-bg: var(--sfd-raised);
}

/* ---------- Header ---------- */
.site-header {
	border-bottom: 1px solid var(--sfd-line);
}

.site-header .navbar {
	padding: 16px 0;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
}

.brand-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--sfd-accent);
	color: var(--sfd-bg);
	font-size: 20px;
}

.brand-word {
	font-family: var(--sfd-head);
	font-weight: 800;
	font-size: 22px;
	letter-spacing: -0.02em;
	color: #fff;
}

.brand-word span {
	color: var(--sfd-accent);
}

.site-header .nav-link {
	padding: 8px 14px !important;
	font-weight: 500;
	font-size: 15px;
	color: var(--sfd-text);
}

.site-header .nav-link {
	position: relative;
}

.site-header .nav-link:hover {
	color: var(--sfd-accent-hover);
}

/* Current section: teal text with a bar under it (beside it on the phone menu). */
.site-header .nav-link.active {
	color: var(--sfd-accent);
	font-weight: 600;
}

.site-header .nav-link.active::after {
	content: '';
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: -17px;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: var(--sfd-accent);
}

@media (max-width: 991.98px) {
	.site-header .nav-link.active::after {
		left: 0;
		right: auto;
		top: 10px;
		bottom: 10px;
		width: 3px;
		height: auto;
		border-radius: 0 3px 3px 0;
	}
}

.header-cta.active,
.header-cta.active:hover {
	background: var(--sfd-accent);
	color: var(--sfd-bg);
	box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.35);
}

.site-header .dropdown-menu {
	background: var(--sfd-surface);
	border-color: var(--sfd-border);
}

.site-header .dropdown-item {
	color: var(--sfd-text);
}

.site-header .dropdown-item:hover {
	background: var(--sfd-raised);
	color: #fff;
}

.header-cta {
	display: inline-flex;
	align-items: center;
	height: 44px;
	padding: 0 22px;
	border: 0;
	background: var(--sfd-accent);
	color: var(--sfd-bg);
	font-family: var(--sfd-head);
	font-weight: 700;
	font-size: 14px;
}

.header-cta:hover,
.header-cta:focus-visible {
	background: var(--sfd-accent-hover);
	color: var(--sfd-bg);
}

@media (min-width: 992px) {
	/* Breathing room: menu links, then the For Doctors button, then search. */
	.site-header .navbar-nav {
		gap: 8px;
	}

	.header-cta {
		margin-left: 24px;
	}
}

.navbar-toggler {
	border-color: var(--sfd-border-strong);
}


/* ---------- Hero ---------- */
.hero {
	padding: 72px 0 64px;
}

.hero-title {
	margin: 0 0 20px;
	font-weight: 800;
	font-size: clamp(38px, 5.2vw, 60px);
	line-height: 1.04;
	letter-spacing: -0.03em;
}

.hero-lead {
	max-width: 560px;
	margin: 0 0 36px;
	font-size: 19px;
	color: var(--sfd-soft);
}

.search-card {
	padding: 18px;
	border: 1px solid var(--sfd-border);
	border-radius: 20px;
	background: var(--sfd-surface);
}

.search-label {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--sfd-muted);
}

.search-input,
.search-input:focus {
	padding: 13px 16px;
	border: 1px solid var(--sfd-border-strong);
	border-radius: 12px;
	background-color: var(--sfd-bg);
	color: var(--sfd-text);
	font-size: 16px;
}

.search-input:focus {
	border-color: var(--sfd-accent);
	box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

.search-input::placeholder {
	color: #8FA9CC;
}

.form-select.search-input {
	--bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23A9C1E0' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.search-card .btn-cta {
	padding: 15px;
	font-size: 17px;
}

.popular {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 20px;
}

.popular-label {
	margin-right: 4px;
	font-size: 14px;
	color: var(--sfd-muted);
}

.chip {
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--sfd-raised);
	color: var(--sfd-text);
	font-size: 14px;
}

.chip:hover {
	background: #21558F;
	color: #fff;
}

.hero-photo {
	position: relative;
}

.hero-photo img {
	display: block;
	width: 100%;
	height: 560px;
	object-fit: cover;
	object-position: 30% center;
	border-radius: 28px;
}

.hero-badge {
	position: absolute;
	left: -28px;
	bottom: 36px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	border-radius: 16px;
	background: #fff;
	color: #0B1220;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
	line-height: 1.3;
}

.hero-badge strong {
	display: block;
	font-size: 15px;
}

.hero-badge small {
	font-size: 13px;
	color: #475569;
}

.hero-badge-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #E0F2FE;
	color: #0369A1;
}

@media (max-width: 991.98px) {
	.hero {
		padding: 48px 0;
	}

	.hero-photo img {
		height: 380px;
	}

	.hero-badge {
		left: 16px;
		bottom: 16px;
	}
}

/* ---------- Trust strip ---------- */
.trust {
	padding: 28px 0;
	border-top: 1px solid var(--sfd-line);
	border-bottom: 1px solid var(--sfd-line);
	background: var(--sfd-band);
}

.trust-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.trust-item > i {
	margin-top: 3px;
	font-size: 24px;
	color: var(--sfd-accent);
}

.trust-item strong {
	display: block;
	color: #fff;
}

.trust-item span {
	font-size: 14px;
	color: var(--sfd-muted);
}

/* ---------- Sections ---------- */
.section {
	padding: 88px 0;
}

.section.band {
	border-top: 1px solid var(--sfd-line);
	border-bottom: 1px solid var(--sfd-line);
	background: var(--sfd-band);
}

.section-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px 24px;
	margin-bottom: 36px;
}

.section-title {
	margin: 0 0 8px;
	font-weight: 800;
	font-size: clamp(30px, 3.4vw, 40px);
}

.section-sub {
	margin: 0;
	font-size: 17px;
	color: var(--sfd-muted);
}

.section-link {
	font-weight: 600;
	color: var(--sfd-accent);
}

.section-link:hover {
	color: var(--sfd-accent-hover);
}

.section-link i {
	margin-left: 4px;
	font-size: 0.85em;
}

/* Specialties */
.spec-tile {
	display: flex;
	flex-direction: column;
	gap: 14px;
	height: 100%;
	padding: 22px;
	border: 1px solid var(--sfd-border);
	border-radius: 18px;
	background: var(--sfd-surface);
	color: var(--sfd-text);
	transition: border-color 0.15s, background-color 0.15s;
}

.spec-tile:hover {
	border-color: var(--sfd-accent);
	background: var(--sfd-raised);
	color: var(--sfd-text);
}

.spec-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: #1A4C86;
	color: var(--sfd-accent);
	font-size: 22px;
}

.spec-tile strong {
	display: block;
	margin-bottom: -10px;
	font-family: var(--sfd-head);
	font-size: 17px;
	color: #fff;
}

.spec-tile span:last-child {
	font-size: 14px;
	color: var(--sfd-muted);
}

/* Counties */
.counties {
	overflow: hidden;
	border: 1px solid var(--sfd-border);
	border-radius: 24px;
}

.counties-photo {
	display: block;
	width: 100%;
	height: 300px;
	object-fit: cover;
}

.county {
	padding: 28px;
	background: var(--sfd-surface);
	border-top: 1px solid var(--sfd-border);
}

@media (min-width: 768px) {
	.county + .county {
		border-left: 1px solid var(--sfd-border);
	}
}

.county-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 16px;
}

.county-head h3 {
	margin: 0;
	font-size: 22px;
}

.county-head a {
	font-size: 14px;
	font-weight: 600;
	color: var(--sfd-accent);
}

.county-cities {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.county-cities a {
	padding: 7px 12px;
	border: 1px solid var(--sfd-border-strong);
	border-radius: 10px;
	font-size: 14px;
	color: #E2ECF8;
}

.county-cities a:hover {
	border-color: var(--sfd-accent);
	color: #fff;
}

/* Doctor cards */
.doc-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	padding: 22px;
	border: 1px solid var(--sfd-border);
	border-radius: 20px;
	background: var(--sfd-surface);
}

.doc-name {
	font-family: var(--sfd-head);
	font-weight: 700;
	font-size: 17px;
	color: #fff;
}

.doc-spec {
	font-size: 14px;
	font-weight: 600;
	color: var(--sfd-accent);
}

.doc-meta {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 10px 0 16px;
	font-size: 14px;
	color: var(--sfd-soft);
}

.doc-meta i {
	width: 20px;
	color: var(--sfd-muted);
}

.doc-actions {
	display: flex;
	gap: 8px;
	margin-top: auto;
}

.doc-actions .btn {
	flex: 1;
}

/* Hospitals */
.hospitals {
	padding-bottom: 24px;
}

.hospitals .eyebrow {
	color: var(--sfd-muted);
}

.hospital-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.hospital-list a {
	padding: 12px 20px;
	border: 1px solid var(--sfd-border);
	border-radius: 12px;
	background: var(--sfd-surface);
	font-family: var(--sfd-head);
	font-weight: 600;
	font-size: 15px;
	color: #E2ECF8;
}

.hospital-list a:hover {
	border-color: var(--sfd-accent);
	color: #fff;
}

/* How it works */
.step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 16px;
	border: 2px solid var(--sfd-accent);
	border-radius: 50%;
	color: var(--sfd-accent);
	font-family: var(--sfd-head);
	font-weight: 800;
	font-size: 22px;
}

.how h3 {
	font-size: 20px;
}

.how p {
	max-width: 320px;
	margin: 0 auto;
	color: var(--sfd-muted);
}

/* Claim your listing */
.claim {
	display: flex;
	flex-wrap: wrap;
	overflow: hidden;
	border: 1px solid var(--sfd-border);
	border-radius: 28px;
	background: var(--sfd-surface);
}

.claim-photo {
	flex: 1 1 420px;
	min-width: 0;
	height: 440px;
	object-fit: cover;
}

.claim-body {
	display: flex;
	flex: 1 1 420px;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 18px;
	padding: 56px 48px;
}

.claim-body .eyebrow {
	margin: 0;
}

.claim-body h2 {
	margin: 0;
	font-weight: 800;
	font-size: clamp(30px, 3.2vw, 38px);
	line-height: 1.12;
}

.claim-body p {
	margin: 0;
	font-size: 17px;
	color: var(--sfd-soft);
}

@media (max-width: 575.98px) {
	.claim-photo {
		height: 260px;
	}

	.claim-body {
		padding: 32px 24px;
	}
}

/* Health guides */
.guide-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--sfd-border);
	border-radius: 20px;
	background: var(--sfd-surface);
}

.guide-card:hover {
	border-color: var(--sfd-accent);
}

.guide-photo {
	display: block;
	width: 100%;
	height: 210px;
	object-fit: cover;
}

.guide-photo-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #1A4C86;
	color: var(--sfd-accent);
	font-size: 48px;
}

.guide-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 22px;
}

.guide-cat {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--sfd-accent);
}

.guide-body strong {
	font-family: var(--sfd-head);
	font-size: 20px;
	line-height: 1.3;
	color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
	border-top: 1px solid var(--sfd-line);
	background: var(--sfd-deep);
	font-size: 14px;
}

.footer-top {
	padding: 64px 0 40px;
}

.footer-brand {
	display: inline-flex;
}

.footer-about {
	max-width: 320px;
	margin: 12px 0 0;
	color: var(--sfd-muted);
}

.footer-heading {
	margin-bottom: 14px;
	font-size: 15px;
	font-weight: 700;
}

.footer-links li + li {
	margin-top: 10px;
}

.footer-links a {
	color: var(--sfd-soft);
}

.footer-links a:hover {
	color: var(--sfd-accent-hover);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 24px 0 32px;
	border-top: 1px solid var(--sfd-line);
	font-size: 13px;
	color: #9FB6D6;
}

.credit {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #9FB6D6;
}

.credit .site-by {
	font-size: 10px;
}

/* ---------- Generic content (index.php) ---------- */
.entry-content a:not(.btn),
article.post a:not(.btn),
article.page a:not(.btn) {
	color: var(--sfd-accent);
}

/* ---------- Directory: search ---------- */
.find-head {
	padding: 40px 0 36px;
	border-bottom: 1px solid var(--sfd-line);
	background: var(--sfd-band);
}

.crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
	font-size: 14px;
	color: var(--sfd-muted);
}

.crumbs a {
	color: var(--sfd-soft);
}

.crumbs a:hover {
	color: var(--sfd-accent-hover);
}

.find-title {
	margin: 0 0 24px;
	font-weight: 800;
	font-size: clamp(30px, 3.6vw, 44px);
	line-height: 1.1;
}

.find-head .section-sub {
	margin-top: -12px;
}

.find-form .btn-cta {
	padding: 13px 16px;
}

.find-results {
	padding: 32px 0 88px;
}

.results-count {
	margin-bottom: 16px;
	font-size: 14px;
	color: var(--sfd-muted);
}

.doc-meta li {
	display: flex;
	gap: 4px;
}

.doc-meta i {
	flex: none;
	padding-top: 4px;
}

.doc-actions {
	flex-wrap: wrap;
}

.doc-actions .btn {
	display: inline-flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 44px;
	padding: 8px 14px;
	font-family: var(--sfd-head);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
}

.doc-actions .btn .fa-solid {
	margin-right: 0;
}

.no-results {
	padding: 48px 24px;
	border: 1px dashed var(--sfd-border-strong);
	border-radius: 20px;
	text-align: center;
}

.no-results h2 {
	font-size: 22px;
}

.no-results p {
	margin: 0;
	color: var(--sfd-muted);
}

.pager {
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid var(--sfd-line);
}

/* WordPress gives the list itself the page-numbers class too; only the buttons get the box. */
.pager ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	list-style: none;
}

.pager li > .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 46px;
	padding: 0 14px;
	border: 1px solid var(--sfd-border);
	border-radius: 12px;
	background: var(--sfd-surface);
	color: var(--sfd-text);
	font-weight: 600;
}

.pager li > a.page-numbers:hover {
	border-color: var(--sfd-accent);
	color: #fff;
}

.pager li > .page-numbers.current {
	border-color: var(--sfd-accent);
	background: var(--sfd-accent);
	color: var(--sfd-bg);
	font-weight: 700;
}

.pager li > .page-numbers.dots {
	min-width: 24px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--sfd-muted);
}

.related {
	margin-top: 56px;
}

.related-title {
	margin-bottom: 16px;
	font-size: 22px;
}

.data-note {
	margin-top: 40px;
	font-size: 13px;
	color: var(--sfd-muted);
}

.data-note a {
	color: var(--sfd-accent);
}

/* ---------- Directory: profile ---------- */
.profile-head {
	padding: 40px 0;
	border-bottom: 1px solid var(--sfd-line);
	background: var(--sfd-band);
}

.profile-id {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.profile-avatar {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border: 2px solid var(--sfd-accent);
	border-radius: 50%;
	background: #1A4C86;
	color: var(--sfd-accent);
	font-size: 30px;
}

.profile-name {
	margin: 0 0 6px;
	font-weight: 800;
	font-size: clamp(28px, 3.4vw, 40px);
	line-height: 1.1;
}

.profile-spec {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: var(--sfd-accent);
}

.badge-claimed {
	display: inline-block;
	margin-top: 10px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #1A4C86;
	font-size: 13px;
	color: var(--sfd-accent);
}

.profile-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.profile-actions .btn .fa-solid {
	margin-right: 8px;
}

.profile-body {
	padding-top: 40px;
}

.panel {
	margin-bottom: 20px;
	padding: 24px;
	border: 1px solid var(--sfd-border);
	border-radius: 20px;
	background: var(--sfd-surface);
}

.panel-title {
	margin-bottom: 12px;
	font-size: 18px;
}

.panel-title i {
	margin-right: 6px;
	color: var(--sfd-accent);
}

.panel a:not(.btn) {
	color: var(--sfd-accent);
}

.facts {
	display: grid;
	grid-template-columns: minmax(90px, max-content) 1fr;
	gap: 8px 20px;
	margin-bottom: 16px;
}

.facts dt {
	font-weight: 600;
	color: var(--sfd-muted);
}

.facts dd {
	margin: 0;
}

.claim-panel p {
	color: var(--sfd-soft);
}

.emergency-panel {
	font-size: 14px;
	color: var(--sfd-soft);
}

.emergency-panel i {
	margin-right: 6px;
	color: var(--sfd-danger);
}

/* ---------- Directory: locations ---------- */
.panel .county-head a {
	color: #fff;
}

.city-list {
	columns: 2;
	column-gap: 24px;
	margin: 0;
}

.city-list li {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	padding: 6px 0;
	border-bottom: 1px solid var(--sfd-line);
	break-inside: avoid;
}

.city-list a {
	color: var(--sfd-text);
}

.city-list a:hover {
	color: var(--sfd-accent-hover);
}

.city-list span {
	font-size: 13px;
	color: var(--sfd-muted);
}

/* ---------- Directory: maps ---------- */
.dir-map-wrap {
	margin-bottom: 24px;
}

.dir-map {
	height: 440px;
	overflow: hidden;
	border: 1px solid var(--sfd-border);
	border-radius: 20px;
	background: #0E2D52;
}

.dir-map-status {
	margin: 8px 0 0;
	font-size: 13px;
	color: var(--sfd-muted);
}

.office-panel {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.office-text {
	flex: 1 1 220px;
}

.office-map {
	flex: 2 1 320px;
	min-height: 240px;
	overflow: hidden;
	border-radius: 14px;
	background: #0E2D52;
}

@media (max-width: 575.98px) {
	.dir-map {
		height: 320px;
	}
}

.leaflet-container {
	font-family: var(--sfd-body);
}

.leaflet-container a.leaflet-popup-close-button {
	color: #475569;
}

.map-pin span {
	display: block;
	width: 18px;
	height: 18px;
	margin: 2px;
	border: 3px solid var(--sfd-bg);
	border-radius: 50%;
	background: var(--sfd-cta);
	box-shadow: 0 0 0 2px var(--sfd-cta);
}

.map-cluster {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 3px solid rgba(56, 189, 248, 0.35);
	border-radius: 50%;
	background: var(--sfd-accent);
	background-clip: padding-box;
	color: var(--sfd-bg);
	font-family: var(--sfd-head);
	font-weight: 800;
	font-size: 13px;
}

.leaflet-popup-content-wrapper {
	border-radius: 12px;
}

.leaflet-popup-content {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 12px 16px;
	line-height: 1.35;
}

.leaflet-popup-content .map-pop-name {
	font-family: var(--sfd-head);
	font-weight: 700;
	font-size: 15px;
	color: #0B1220;
}

.leaflet-popup-content .map-pop-name:hover {
	color: #0369A1;
	text-decoration: underline;
}

.leaflet-popup-content .map-pop-spec {
	font-size: 13px;
	color: #475569;
}

.leaflet-control-attribution {
	background: rgba(12, 44, 82, 0.85) !important;
	color: var(--sfd-muted);
}

.leaflet-control-attribution a {
	color: var(--sfd-soft);
}

.leaflet-bar a {
	background: var(--sfd-surface);
	border-color: var(--sfd-border) !important;
	color: var(--sfd-text);
}

.leaflet-bar a:hover {
	background: var(--sfd-raised);
	color: #fff;
}


/* ---------- Directory: areas (/locations/) ---------- */
.area-map {
	height: 420px;
	overflow: hidden;
	border-radius: 14px;
	background: #0E2D52;
}

@media (max-width: 575.98px) {
	.area-map {
		height: 340px;
	}
}

.area-county {
	margin-bottom: 24px;
	padding: 28px;
}

.area-county-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px 16px;
	margin-bottom: 20px;
}

.area-circle {
	cursor: pointer;
}

.leaflet-tooltip.area-tip {
	padding: 4px 8px;
	border: 0;
	border-radius: 8px;
	background: rgba(10, 35, 66, 0.9);
	box-shadow: none;
	color: var(--sfd-text);
	font-size: 12px;
	line-height: 1.3;
	text-align: center;
}

.leaflet-tooltip.area-tip::before {
	display: none;
}

.area-all {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	color: var(--sfd-accent);
}

.area-cities {
	margin: 0;
	columns: 2;
	column-gap: 32px;
}

.area-cities li {
	break-inside: avoid;
}

@media (max-width: 575.98px) {
	.area-cities {
		columns: 1;
	}
}

.area-cities a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	padding: 8px 0;
	border-bottom: 1px solid var(--sfd-line);
	color: var(--sfd-text);
	font-weight: 500;
}

.area-cities a:hover {
	color: var(--sfd-accent-hover);
}

.area-count {
	padding: 2px 10px;
	border-radius: 999px;
	background: #1A4C86;
	font-size: 13px;
	font-weight: 600;
	color: var(--sfd-accent);
}


/* ---------- For doctors / claim form ---------- */
.benefit-icon {
	margin-bottom: 14px;
	font-size: 28px;
	color: var(--sfd-accent);
}

.claim-benefits p,
.claim-steps p {
	color: var(--sfd-soft);
}

.claim-steps {
	margin: 64px 0 48px;
}

.claim-steps h3 {
	font-size: 19px;
}

.claim-steps p {
	max-width: 300px;
	margin: 0 auto;
}

.claim-form-wrap {
	max-width: 880px;
	margin: 0 auto;
	scroll-margin-top: 24px;
}

.claim-form fieldset {
	margin: 0 0 8px;
	padding: 24px 0 8px;
	border-top: 1px solid var(--sfd-line);
}

.claim-form fieldset:first-of-type {
	border-top: 0;
	padding-top: 8px;
}

.claim-form legend {
	float: none;
	margin-bottom: 14px;
	font-family: var(--sfd-head);
	font-weight: 700;
	font-size: 17px;
	color: #fff;
}

.choice-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}

.choice-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 4px 20px;
}

.choice {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	min-height: 40px;
	padding: 8px 0;
	color: var(--sfd-text);
	cursor: pointer;
}

.choice input {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	accent-color: var(--sfd-accent);
}

.choice.confirm {
	margin-top: 16px;
	padding: 16px;
	border: 1px solid var(--sfd-border-strong);
	border-radius: 12px;
	color: var(--sfd-soft);
}

.choice.confirm.is-invalid,
.search-input.is-invalid {
	border-color: var(--sfd-danger);
}

.claim-alert {
	margin-bottom: 16px;
	padding: 12px 16px;
	border: 1px solid var(--sfd-danger);
	border-radius: 12px;
	color: #FECACA;
}

.claim-target {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
	padding: 16px;
	border-radius: 14px;
	background: #1A4C86;
}

.claim-target .profile-avatar {
	width: 56px;
	height: 56px;
	font-size: 22px;
}

.claim-target div {
	display: flex;
	flex-direction: column;
	font-size: 14px;
	color: var(--sfd-soft);
}

.claim-target strong {
	font-family: var(--sfd-head);
	font-size: 18px;
	color: #fff;
}

.claim-done {
	text-align: center;
	padding: 48px 32px;
}

.claim-done i {
	margin-bottom: 16px;
	font-size: 44px;
	color: var(--sfd-accent);
}

.claim-done p {
	max-width: 560px;
	margin: 0 auto;
	color: var(--sfd-soft);
}

/* Spam trap: hidden from people, visible to bots. */
.hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.profile-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.profile-badges .badge-claimed {
	margin-top: 0;
}

.badge-accepting {
	background: var(--sfd-accent);
	color: var(--sfd-bg);
	font-weight: 600;
}

.badge-muted {
	color: var(--sfd-muted);
}

.office-sub {
	margin: 14px 0 4px;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--sfd-muted);
}

.office-hours {
	color: var(--sfd-soft);
}

.field-hint {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	color: var(--sfd-muted);
}

/* ---------- Header search button + full-screen search ---------- */
.search-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-right: 12px;
	border: 1px solid var(--sfd-border-strong);
	border-radius: 50%;
	background: transparent;
	color: var(--sfd-text);
	font-size: 16px;
}

.search-toggle:hover,
.search-toggle[aria-expanded="true"] {
	border-color: var(--sfd-accent);
	color: var(--sfd-accent);
}

@media (min-width: 992px) {
	.search-toggle {
		margin-right: 0;
	}
}

html.search-open,
html.search-open body {
	overflow: hidden;
}

.search-overlay {
	position: fixed;
	z-index: 2000;
	inset: 0;
	overflow-y: auto;
	background: var(--sfd-deep);
	opacity: 0;
	transition: opacity 0.18s ease;
}

.search-overlay.is-open {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.search-overlay {
		transition: none;
	}
}

.search-overlay-inner {
	max-width: 960px;
	padding-top: 16px;
	padding-bottom: 64px;
}

.search-overlay-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 76px;
	margin-bottom: clamp(32px, 9vh, 96px);
}

.search-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 1px solid var(--sfd-border-strong);
	border-radius: 50%;
	background: transparent;
	color: var(--sfd-text);
	font-size: 22px;
}

.search-close:hover {
	border-color: var(--sfd-accent);
	color: var(--sfd-accent);
}

.search-overlay-label {
	display: block;
	margin-bottom: 14px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sfd-accent);
}

.search-overlay-field {
	position: relative;
	border-bottom: 2px solid var(--sfd-border-strong);
	transition: border-color 0.15s;
}

.search-overlay-field:focus-within {
	border-color: var(--sfd-accent);
}

.search-overlay-field i {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	font-size: clamp(22px, 3vw, 34px);
	color: var(--sfd-muted);
}

.search-overlay-field input {
	width: 100%;
	padding: 14px 0 14px clamp(40px, 5vw, 60px);
	border: 0;
	background: transparent;
	color: #fff;
	font-family: var(--sfd-head);
	font-weight: 700;
	font-size: clamp(26px, 4.6vw, 54px);
	letter-spacing: -0.02em;
	outline: none;
}

.search-overlay-field input::placeholder {
	color: #6E8DB8;
}

.search-overlay-field input::-webkit-search-cancel-button {
	display: none;
}

.nav-search-list {
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.nav-search-group {
	padding: 18px 12px 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sfd-muted);
}

.nav-search-opt {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px;
	border-radius: 14px;
	cursor: pointer;
}

.nav-search-opt i {
	width: 22px;
	font-size: 18px;
	text-align: center;
	color: var(--sfd-accent);
}

.nav-search-opt span {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.nav-search-opt strong {
	overflow: hidden;
	font-family: var(--sfd-head);
	font-weight: 700;
	font-size: clamp(17px, 2vw, 21px);
	color: #fff;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nav-search-opt small {
	overflow: hidden;
	font-size: 14px;
	color: var(--sfd-muted);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nav-search-opt:hover,
.nav-search-opt.is-active {
	background: var(--sfd-surface);
}

.nav-search-all {
	margin-top: 12px;
	border-top: 1px solid var(--sfd-line);
	border-radius: 0 0 14px 14px;
}

.nav-search-all strong {
	color: var(--sfd-accent);
}

.search-popular {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 32px;
	margin-top: 40px;
}

.search-popular-title {
	margin-bottom: 14px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sfd-muted);
}

/* Specialty pages: cities to jump to, above the results. */
.by-city {
	margin-bottom: 28px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--sfd-line);
}

.by-city .related-title {
	font-size: 18px;
}

.chip-count {
	margin-left: 4px;
	font-size: 12px;
	color: var(--sfd-muted);
}

.county-cities a.chip-more {
	border-color: transparent;
	color: var(--sfd-accent);
	font-weight: 600;
}

.search-popular[hidden] {
	display: none;
}

/* ---------- Health guides ---------- */
.guide-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 24px;
}

.guide-cats a {
	padding: 8px 16px;
	border: 1px solid var(--sfd-border-strong);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	color: var(--sfd-text);
}

.guide-cats a:hover {
	border-color: var(--sfd-accent);
}

.guide-cats a.active {
	border-color: var(--sfd-accent);
	background: var(--sfd-accent);
	color: var(--sfd-bg);
	font-weight: 600;
}

.guide-excerpt {
	font-size: 15px;
	color: var(--sfd-soft);
}

.guide-date {
	margin-top: 4px;
	font-size: 13px;
	color: var(--sfd-muted);
}

.guide-narrow {
	max-width: 760px;
}

.guide-wide {
	max-width: 1040px;
}

.guide-head {
	padding: 48px 0 32px;
}

.guide-title {
	margin: 0 0 16px;
	font-weight: 800;
	font-size: clamp(32px, 4.4vw, 50px);
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.guide-lead {
	margin-bottom: 16px;
	font-size: 20px;
	line-height: 1.5;
	color: var(--sfd-soft);
}

.guide-meta {
	margin: 0;
	font-size: 14px;
	color: var(--sfd-muted);
}

.guide-hero {
	display: block;
	width: 100%;
	max-height: 520px;
	object-fit: cover;
	border-radius: 24px;
}

.guide-credit {
	margin: 8px 0 0;
	font-size: 12px;
	color: var(--sfd-muted);
}

.guide-content {
	padding: 40px 0 8px;
	font-size: 18px;
	line-height: 1.7;
	color: #E6EEF9;
}

.guide-content h2 {
	margin: 2em 0 0.6em;
	font-size: 28px;
	line-height: 1.25;
}

.guide-content h3 {
	margin: 1.6em 0 0.5em;
	font-size: 21px;
}

.guide-content p,
.guide-content ul,
.guide-content ol {
	margin-bottom: 1.15em;
}

.guide-content li {
	margin-bottom: 0.45em;
}

.guide-content a {
	color: var(--sfd-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.guide-content a:hover {
	color: var(--sfd-accent-hover);
}

.guide-content strong {
	color: #fff;
}

.guide-note {
	margin: 32px 0;
	padding: 16px 20px;
	border-left: 3px solid var(--sfd-accent);
	border-radius: 0 12px 12px 0;
	background: var(--sfd-surface);
	font-size: 15px;
	color: var(--sfd-soft);
}

.guide-note i {
	margin-right: 6px;
	color: var(--sfd-accent);
}

.guide-cta {
	margin: 40px 0 72px;
	padding: 32px;
	border: 1px solid var(--sfd-border);
	border-radius: 24px;
	background: var(--sfd-surface);
	text-align: center;
}

.guide-cta h2 {
	font-size: 26px;
}

.guide-cta p {
	color: var(--sfd-soft);
}

.guide-cta .btn .fa-solid {
	margin-right: 8px;
}

/* ---------- Menu: slide-in panel below desktop width ---------- */
@media (min-width: 992px) {
	.site-header .offcanvas {
		flex-grow: 1;
	}

	.site-header .offcanvas-body {
		flex-grow: 1;
		align-items: center;
	}

	.site-header .offcanvas-header {
		display: none;
	}
}

@media (max-width: 991.98px) {
	.site-header .offcanvas {
		--bs-offcanvas-width: min(88vw, 420px);
		--bs-offcanvas-bg: var(--sfd-deep);
		--bs-offcanvas-color: var(--sfd-text);
		--bs-offcanvas-transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
		border-right: 1px solid var(--sfd-line);
	}

	.site-header .offcanvas-header {
		justify-content: space-between;
		padding: 20px 24px;
		border-bottom: 1px solid var(--sfd-line);
	}

	.site-header .offcanvas-body {
		display: flex;
		flex-direction: column;
		padding: 28px 24px 32px;
	}

	.site-header .navbar-nav {
		gap: 4px;
	}

	.site-header .navbar-nav .nav-link {
		padding: 10px 0 10px 18px !important;
		font-family: var(--sfd-head);
		font-weight: 700;
		font-size: 32px;
		line-height: 1.2;
		letter-spacing: -0.02em;
		color: #fff;
	}

	.site-header .navbar-nav .nav-link:hover {
		color: var(--sfd-accent-hover);
	}

	.site-header .navbar-nav .nav-link.active {
		color: var(--sfd-accent);
	}

	.site-header .nav-link.active::after {
		top: 14px;
		bottom: 14px;
		width: 4px;
	}

	.site-header .header-cta {
		align-self: flex-start;
		height: 52px;
		margin-top: 32px;
		padding: 0 28px;
		font-size: 17px;
	}

	.menu-foot {
		margin: auto 0 0;
		padding-top: 32px;
		font-size: 14px;
		color: var(--sfd-muted);
	}

	.offcanvas-backdrop.show {
		opacity: 0.7;
	}
}

.menu-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--sfd-border-strong);
	border-radius: 50%;
	background: transparent;
	color: var(--sfd-text);
	font-size: 20px;
}

.menu-close:hover {
	border-color: var(--sfd-accent);
	color: var(--sfd-accent);
}

@media (prefers-reduced-motion: reduce) {
	.site-header .offcanvas {
		--bs-offcanvas-transition: none;
	}
}

/* ---------- Search form: county → cities picker ---------- */
.loc-cities-btn {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.loc-cities-btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.search-input:disabled,
.loc-cities-btn:disabled {
	border-color: var(--sfd-border);
	background-color: var(--sfd-bg);
	color: var(--sfd-muted);
	opacity: 0.7;
}

.loc-cities-menu {
	width: 100%;
	min-width: 280px;
	max-height: 340px;
	overflow-y: auto;
	padding: 8px 16px 12px;
	border: 1px solid var(--sfd-border-strong);
	border-radius: 14px;
	background: var(--sfd-surface);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.loc-cities-actions {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 4px;
}

.loc-clear {
	padding: 4px 0;
	border: 0;
	background: none;
	font-size: 13px;
	font-weight: 600;
	color: var(--sfd-accent);
}

.loc-group {
	margin: 0;
	padding: 0;
	border: 0;
}

.loc-city {
	min-height: 36px;
	padding: 6px 0;
	font-size: 15px;
}

/* ---------- Regular pages ---------- */
.page-content {
	padding-bottom: 72px;
}

/* ---------- Gravity Forms (its own CSS is turned off; see func/contact.php) ---------- */
.gform_wrapper .gform_fields {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 20px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gform_wrapper .gfield {
	grid-column: 1 / -1;
	min-width: 0;
}

@media (min-width: 768px) {
	.gform_wrapper .gfield--width-half {
		grid-column: span 6;
	}
}

.gform_wrapper .gfield_label,
.gform_wrapper legend.gfield_label {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--sfd-muted);
}

.gform_wrapper .gfield_required {
	margin-left: 4px;
	color: var(--sfd-danger);
	font-size: 11px;
	text-transform: none;
	letter-spacing: 0;
}

.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper select,
.gform_wrapper textarea {
	display: block;
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--sfd-border-strong);
	border-radius: 12px;
	background-color: var(--sfd-bg);
	color: var(--sfd-text);
	font: inherit;
	font-size: 16px;
}

.gform_wrapper select {
	appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23A9C1E0' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 14px;
}

.gform_wrapper textarea {
	min-height: 160px;
	resize: vertical;
}

.gform_wrapper input:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus {
	border-color: var(--sfd-accent);
	outline: none;
	box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

.gform_wrapper .gfield_description {
	margin-top: 6px;
	font-size: 13px;
	color: var(--sfd-muted);
}

.gform_wrapper .gform_footer {
	margin-top: 24px;
}

.gform_wrapper .gform_button {
	padding: 14px 28px;
	border: 0;
	border-radius: 12px;
	background: var(--sfd-cta);
	color: var(--sfd-cta-ink);
	font-family: var(--sfd-head);
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
}

.gform_wrapper .gform_button:hover,
.gform_wrapper .gform_button:focus-visible {
	background: var(--sfd-cta-hover);
}

/* Errors */
.gform_wrapper .gform_validation_errors {
	margin-bottom: 20px;
	padding: 12px 16px;
	border: 1px solid var(--sfd-danger);
	border-radius: 12px;
	color: #FECACA;
}

.gform_wrapper .gform_validation_errors h2 {
	margin: 0;
	font-family: var(--sfd-body);
	font-size: 15px;
	font-weight: 600;
	color: #FECACA;
}

.gform_wrapper .gfield_error input,
.gform_wrapper .gfield_error select,
.gform_wrapper .gfield_error textarea {
	border-color: var(--sfd-danger);
}

.gform_wrapper .validation_message {
	margin-top: 6px;
	font-size: 13px;
	color: #FCA5A5;
}

/* Spam trap and screen-reader-only bits Gravity Forms expects its CSS to hide. */
.gform_wrapper .gform_validation_container,
.gform_wrapper .gfield--type-honeypot,
.gform_wrapper .gform_hidden,
.gform_wrapper .hidden_label .gfield_label,
.gform_wrapper .screen-reader-text,
.gform_wrapper .gform_required_legend {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
}

.gform_ajax_spinner {
	margin-left: 10px;
	vertical-align: middle;
}

.contact-thanks {
	padding: 24px;
	border: 1px solid var(--sfd-accent);
	border-radius: 14px;
	color: var(--sfd-soft);
}

.contact-thanks strong {
	display: block;
	margin-bottom: 4px;
	font-family: var(--sfd-head);
	font-size: 20px;
	color: #fff;
}
