/* ===========================================================================
   GOL Directory — design layer
   ---------------------------------------------------------------------------
   Loaded LAST, on top of gol.css / gol-app.css / gol-profile.css. Those files
   own structure; this file owns depth, colour and rhythm — the part that makes
   it read as a designed product rather than a wireframe.

   Design constraints, in priority order:
     1. Legible to a 75-year-old on a phone. Body text never below 17px,
        contrast at least 4.5:1, tap targets at least 44px.
     2. Mobile-first. Every layout rule starts single-column.
     3. Depth through soft shadows and hairline borders, not heavy chrome.
     4. Respects prefers-reduced-motion and prefers-contrast.
   ======================================================================== */

/* ----------------------------------------------------------------- tokens */
/* On :root, not .gol-wrap, so colours still resolve in any markup that
   forgets the wrapper (shortcodes dropped straight into a page). */
:root {
	--gol-brand:      #2563eb;
	--gol-brand-dk:   #1d4ed8;
	--gol-brand-soft: #eff6ff;
	--gol-ok:         #059669;
	--gol-ok-soft:    #ecfdf5;
	--gol-warn:       #ea580c;
	--gol-warn-soft:  #fff7ed;
	--gol-text:       #111827;
	--gol-text-2:     #374151;
	--gol-muted:      #5b6472;   /* darkened from #6b7280 → 4.6:1 on white */
	--gol-line:       #e5e7eb;
	--gol-line-2:     #d1d5db;
	--gol-soft:       #f9fafb;

	--gol-r-sm: 8px;
	--gol-r:    12px;
	--gol-r-lg: 16px;

	/* Layered shadows: a tight contact shadow plus a soft ambient one. */
	--gol-sh-1: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.10);
	--gol-sh-2: 0 2px 4px rgba(16,24,40,.06), 0 4px 12px rgba(16,24,40,.08);
	--gol-sh-3: 0 4px 8px rgba(16,24,40,.06), 0 12px 28px rgba(16,24,40,.12);
	--gol-sh-brand: 0 2px 6px rgba(37,99,235,.22), 0 8px 20px rgba(37,99,235,.16);

	--gol-ring: 0 0 0 3px rgba(37,99,235,.35);
}

/* ------------------------------------------------------------ foundations */

.gol-wrap {
	color: var(--gol-text);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
.gol-wrap h1, .gol-wrap h2, .gol-wrap h3, .gol-wrap h4 {
	color: var(--gol-text);
	letter-spacing: -.018em;
	text-wrap: balance;
}
.gol-wrap h2 { font-size: clamp(1.45rem, 3.4vw, 2rem); line-height: 1.22; }
.gol-wrap h3 { font-size: clamp(1.12rem, 2.4vw, 1.3rem); line-height: 1.3; }
.gol-wrap p  { max-width: 68ch; }
.gol-muted, .gol-sub, .gol-hint, .gol-fineprint { color: var(--gol-muted); }

/* Keyboard focus must be obvious — this is an accessibility floor, not taste. */
.gol-wrap a:focus-visible,
.gol-wrap button:focus-visible,
.gol-wrap input:focus-visible,
.gol-wrap select:focus-visible,
.gol-wrap textarea:focus-visible,
.gol-wrap [tabindex]:focus-visible {
	outline: 2px solid var(--gol-brand);
	outline-offset: 2px;
	border-radius: 4px;
}

/* ---------------------------------------------------------------- buttons */

.gol-btn {
	border-radius: var(--gol-r-sm);
	font-weight: 600;
	min-height: 46px;
	letter-spacing: -.01em;
	transition: background-color .16s ease, box-shadow .16s ease,
	            border-color .16s ease, transform .08s ease;
	will-change: transform;
}
.gol-btn-primary {
	background: var(--gol-brand);
	border: 1px solid var(--gol-brand);
	color: #fff;
	box-shadow: var(--gol-sh-brand);
}
.gol-btn-primary:hover  { background: var(--gol-brand-dk); border-color: var(--gol-brand-dk); }
.gol-btn-primary:active { transform: translateY(1px); box-shadow: var(--gol-sh-1); }

.gol-btn-outline {
	background: #fff;
	border: 1px solid var(--gol-line-2);
	color: var(--gol-text);
	box-shadow: var(--gol-sh-1);
}
.gol-btn-outline:hover { border-color: var(--gol-brand); color: var(--gol-brand); background: var(--gol-brand-soft); }
.gol-btn-lg { min-height: 54px; font-size: 1.05rem; border-radius: var(--gol-r); }

/* ------------------------------------------------------------------ cards */

.gol-card,
.gol-pcard,
.gol-dashcard,
.gol-side-card,
.gol-panel,
.gol-plan {
	background: #fff;
	border: 1px solid var(--gol-line);
	border-radius: var(--gol-r);
	box-shadow: var(--gol-sh-1);
	transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}

/* Result cards lift on hover — the main affordance in the directory. */
.gol-pcard { padding: 18px; }
.gol-pcard:hover {
	border-color: #bfdbfe;
	box-shadow: var(--gol-sh-2);
	transform: translateY(-2px);
}
.gol-pcard.is-sponsored {
	border-color: #fed7aa;
	background: linear-gradient(180deg, #fffdfa, #fff);
}
.gol-pcard-avatar,
.gol-pcard-orgicon {
	width: 52px; height: 52px;
	box-shadow: var(--gol-sh-1);
}
.gol-pcard-orgicon { background: var(--gol-brand-soft); color: var(--gol-brand); }
.gol-pcard-name { font-size: 1.06rem; font-weight: 650; }

/* Icon-led metadata rows — the icons carry the scanning, per the old site. */
.gol-pcard-meta li,
.gol-contactlist li,
.gol-locations li { gap: 9px; }
.gol-i {
	flex: 0 0 auto;
	width: 18px; height: 18px;
	display: inline-grid; place-items: center;
	color: var(--gol-muted);
	opacity: .85;
}
.gol-stat-ic,
.gol-loc-icon,
.gol-social-ic,
.gol-emptystate-ic {
	display: inline-grid; place-items: center;
	border-radius: var(--gol-r-sm);
	background: var(--gol-brand-soft);
	color: var(--gol-brand);
}
.gol-stat-ic, .gol-loc-icon { width: 40px; height: 40px; }
.gol-emptystate-ic { width: 64px; height: 64px; border-radius: 50%; }

/* ------------------------------------------------------------------ chips */

.gol-tagchip, .gol-chip, .gol-pill, .gol-badge, .gol-npichip {
	border-radius: 999px;
	font-weight: 600;
	letter-spacing: .01em;
}
.gol-badge-verified, .gol-tag-claimed {
	color: #04724d; background: var(--gol-ok-soft); border: 1px solid #a7f3d0;
}
.gol-badge-unclaimed, .gol-tag-unclaimed {
	color: #b04408; background: var(--gol-warn-soft); border: 1px solid #fed7aa;
}
.gol-pcard-spec, .gol-pill-spec {
	background: var(--gol-brand-soft);
	color: var(--gol-brand-dk);
	border-radius: var(--gol-r-sm);
}

/* ------------------------------------------------------------------- hero */

.gol-hero { padding: 56px 0 40px; }
.gol-hero h1 { font-weight: 800; letter-spacing: -.028em; }
.gol-hero-sub { color: var(--gol-brand); }
.gol-hero-body { font-size: 1.12rem; color: var(--gol-text-2); }

.gol-searchband {
	background: linear-gradient(180deg, #fff, var(--gol-soft));
	border: 1px solid var(--gol-line);
	border-radius: var(--gol-r-lg);
	box-shadow: var(--gol-sh-2);
	padding: 32px 24px;
}

/* --------------------------------------------------------- search + input */

.gol-wrap input[type="text"],
.gol-wrap input[type="email"],
.gol-wrap input[type="url"],
.gol-wrap input[type="tel"],
.gol-wrap input[type="search"],
.gol-wrap select,
.gol-wrap textarea {
	font-size: 17px;                 /* ≥16px prevents iOS zoom-on-focus */
	padding: 12px 14px;
	border: 1px solid var(--gol-line-2);
	border-radius: var(--gol-r-sm);
	background: #fff;
	color: var(--gol-text);
	min-height: 46px;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.gol-wrap input:focus,
.gol-wrap select:focus,
.gol-wrap textarea:focus {
	border-color: var(--gol-brand);
	box-shadow: var(--gol-ring);
	outline: none;
}
.gol-ai-search input[type="text"] { font-size: 1.05rem; min-height: 56px; }

/* ------------------------------------------------- facets / floating side */

.gol-facets, .gol-side {
	background: #fff;
	border: 1px solid var(--gol-line);
	border-radius: var(--gol-r);
	box-shadow: var(--gol-sh-1);
	padding: 18px;
}
.gol-facet + .gol-facet { border-top: 1px solid var(--gol-line); padding-top: 16px; }
.gol-facet h3 {
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: var(--gol-muted);
	font-weight: 700;
}
.gol-facet li a { text-decoration: none; color: var(--gol-text-2); }
.gol-facet li a:hover { color: var(--gol-brand); }

/* The sidebar floats alongside content on desktop, stacks on mobile. */
@media (min-width: 900px) {
	.gol-facets, .gol-side {
		position: sticky;
		top: 84px;
		max-height: calc(100vh - 104px);
		overflow-y: auto;
		overscroll-behavior: contain;
	}
	.gol-facets::-webkit-scrollbar, .gol-side::-webkit-scrollbar { width: 8px; }
	.gol-facets::-webkit-scrollbar-thumb, .gol-side::-webkit-scrollbar-thumb {
		background: var(--gol-line-2); border-radius: 4px;
	}
}

/* -------------------------------------------------------------------- tabs */

.gol-tabs {
	display: flex;
	gap: 4px;
	border-bottom: 1px solid var(--gol-line);
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.gol-tabs::-webkit-scrollbar { display: none; }
.gol-tab {
	appearance: none;
	background: none;
	border: 0;
	border-bottom: 3px solid transparent;
	padding: 13px 16px;
	font-size: .97rem;
	font-weight: 600;
	color: var(--gol-muted);
	cursor: pointer;
	white-space: nowrap;
	min-height: 46px;
	transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.gol-tab:hover { color: var(--gol-text); background: var(--gol-soft); }
.gol-tab[aria-selected="true"], .gol-tab.is-active {
	color: var(--gol-brand);
	border-bottom-color: var(--gol-brand);
}

/* --------------------------------------------------------- sticky savebar */

.gol-savebar {
	position: sticky;
	bottom: 0;
	z-index: 30;
	background: rgba(255,255,255,.94);
	backdrop-filter: saturate(180%) blur(12px);
	border-top: 1px solid var(--gol-line);
	box-shadow: 0 -4px 20px rgba(16,24,40,.10);
	padding: 12px 16px;
	padding-bottom: max(12px, env(safe-area-inset-bottom));
}
.gol-ownerbar {
	background: var(--gol-brand-soft);
	border: 1px solid #bfdbfe;
	border-radius: var(--gol-r);
	box-shadow: var(--gol-sh-1);
}

/* ------------------------------------------------------------- visibility */

.gol-visibility {
	background: linear-gradient(180deg, var(--gol-brand-soft), #fff);
	border: 1px solid #bfdbfe;
	border-radius: var(--gol-r);
	box-shadow: var(--gol-sh-1);
	padding: 18px;
}
.gol-vis-number { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; color: var(--gol-brand-dk); }
.gol-vis-bar { height: 10px; border-radius: 999px; background: var(--gol-line); overflow: hidden; }
.gol-vis-bar > * { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gol-brand), var(--gol-ok)); }
.gol-vis-locked { opacity: .62; }

/* ------------------------------------------------------------- data views */

.gol-proctable, .gol-comparetable, .gol-details-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.gol-proctable th, .gol-comparetable th, .gol-details-table th {
	text-align: left;
	font-size: .74rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--gol-muted);
	padding: 10px 12px;
	border-bottom: 1px solid var(--gol-line);
	background: var(--gol-soft);
}
.gol-proctable td, .gol-comparetable td, .gol-details-table td {
	padding: 12px;
	border-bottom: 1px solid var(--gol-line);
}
.gol-proctable tbody tr:hover { background: var(--gol-soft); }
.gol-num { font-variant-numeric: tabular-nums; }
/* Wide tables scroll inside themselves; the page never scrolls sideways. */
.gol-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--gol-r-sm); }

.gol-star { color: #f59e0b; }
.gol-ratebar { height: 8px; border-radius: 999px; background: var(--gol-line); overflow: hidden; }
.gol-ratebar > * { height: 100%; background: var(--gol-ok); border-radius: 999px; }
.gol-pos { color: #04724d; }
.gol-neg { color: #b42318; }

/* ---------------------------------------------------------------- tooltip */

.gol-tip { position: relative; display: inline-flex; }
.gol-tip-bubble {
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	background: #111827;
	color: #fff;
	font-size: .84rem;
	font-weight: 400;
	line-height: 1.45;
	padding: 9px 12px;
	border-radius: var(--gol-r-sm);
	box-shadow: var(--gol-sh-3);
	width: max-content;
	max-width: min(280px, 90vw);
	opacity: 0;
	visibility: hidden;
	transition: opacity .15s ease, visibility .15s ease;
	z-index: 40;
}
.gol-tip-bubble::after {
	content: "";
	position: absolute;
	top: 100%; left: 50%;
	transform: translateX(-50%);
	border: 6px solid transparent;
	border-top-color: #111827;
}
.gol-tip:hover .gol-tip-bubble,
.gol-tip:focus-within .gol-tip-bubble { opacity: 1; visibility: visible; }

/* -------------------------------------------------------------- messaging */

.gol-flash, .gol-warnbox, .gol-lockbox, .gol-confirmbox {
	border-radius: var(--gol-r);
	box-shadow: var(--gol-sh-1);
	padding: 16px 18px;
	border-left: 4px solid var(--gol-brand);
	background: var(--gol-brand-soft);
}
.gol-warnbox { border-left-color: var(--gol-warn); background: var(--gol-warn-soft); }
.gol-emptystate { text-align: center; padding: 48px 20px; color: var(--gol-muted); }

/* ------------------------------------------------------------------ plans */

.gol-plans { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .gol-plans { grid-template-columns: repeat(3, 1fr); } }
.gol-plan { padding: 26px 22px; }
.gol-plan-best {
	border-color: var(--gol-brand);
	box-shadow: var(--gol-sh-3);
	position: relative;
}
@media (min-width: 820px) { .gol-plan-best { transform: scale(1.035); } }
.gol-plan-price { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; }
.gol-plan-tag {
	position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
	background: var(--gol-brand); color: #fff;
	font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	padding: 5px 14px; border-radius: 999px; box-shadow: var(--gol-sh-brand);
	white-space: nowrap;
}

/* ------------------------------------------------------------------ grids */

.gol-cards, .gol-browse-grid, .gol-dashcards {
	display: grid;
	gap: 18px;
	grid-template-columns: 1fr;
}
@media (min-width: 620px) {
	.gol-cards, .gol-dashcards { grid-template-columns: repeat(2, 1fr); }
	.gol-browse-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
	.gol-browse-grid { grid-template-columns: repeat(4, 1fr); }
}

/* -------------------------------------------------------------- structure */

.gol-band { padding: 52px 0; }
.gol-band-soft { background: var(--gol-soft); border-block: 1px solid var(--gol-line); }
.gol-page-head { margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--gol-line); }
.gol-crumbs { font-size: .88rem; color: var(--gol-muted); }
.gol-crumbs a { color: var(--gol-muted); text-decoration: none; }
.gol-crumbs a:hover { color: var(--gol-brand); text-decoration: underline; }

.gol-pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 32px; }
.gol-pagination a, .gol-pagination span {
	min-width: 44px; min-height: 44px;
	display: inline-grid; place-items: center;
	padding: 0 12px;
	border: 1px solid var(--gol-line);
	border-radius: var(--gol-r-sm);
	background: #fff;
	text-decoration: none;
	color: var(--gol-text);
	box-shadow: var(--gol-sh-1);
}
.gol-pagination a:hover { border-color: var(--gol-brand); color: var(--gol-brand); }
.gol-pagination .current { background: var(--gol-brand); border-color: var(--gol-brand); color: #fff; }

/* ------------------------------------------------------------ preferences */

@media (prefers-reduced-motion: reduce) {
	.gol-wrap *, .gol-wrap *::before, .gol-wrap *::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
	.gol-pcard:hover { transform: none; }
}

/* Windows High Contrast / forced colours: drop decoration, keep structure. */
@media (prefers-contrast: more) {
	:root { --gol-muted: #3f4756; --gol-line: #9aa2b1; --gol-line-2: #6b7280; }
	.gol-card, .gol-pcard, .gol-dashcard, .gol-side-card, .gol-panel, .gol-plan {
		box-shadow: none;
		border-width: 2px;
	}
}

/* ------------------------------------------------------------------ print */

@media print {
	.gol-facets, .gol-side, .gol-savebar, .gol-ownerbar,
	.gol-pagination, .gol-tabs, .gol-cta { display: none !important; }
	.gol-card, .gol-pcard { box-shadow: none; border: 1px solid #999; break-inside: avoid; }
	.gol-wrap { font-size: 12pt; }
}

/* ===========================================================================
   SITE CHROME — header, nav, footer, blog
   These target theme markup rather than .gol-wrap, so they are not scoped.
   ======================================================================== */

.gol-siteheader {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255,255,255,.92);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--gol-line);
	box-shadow: 0 1px 3px rgba(16,24,40,.06);
}
.gol-brandmark img,
.gol-brandmark .custom-logo { display: block; height: auto; max-width: 132px; }

/* Nav: pill hover, weighted labels, generous tap targets. */
.gol-nav .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	padding: 9px 13px;
	border-radius: var(--gol-r-sm);
	font-size: .94rem;
	font-weight: 550;
	color: var(--gol-text-2);
	text-decoration: none;
	line-height: 1.2;
	min-height: 40px;
	transition: color .15s ease, background-color .15s ease;
}
.gol-nav .wp-block-navigation-item__content:hover {
	color: var(--gol-brand);
	background: var(--gol-brand-soft);
	text-decoration: none;
}
.gol-nav .current-menu-item > .wp-block-navigation-item__content {
	color: var(--gol-brand);
	background: var(--gol-brand-soft);
	font-weight: 650;
}
/* Mobile drawer */
.gol-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 24px;
	background: #fff;
}
.gol-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-size: 1.15rem;
	padding: 14px 12px;
	min-height: 52px;
	width: 100%;
	border-bottom: 1px solid var(--gol-line);
	border-radius: 0;
}

/* ------------------------------------------------------------------ footer */

.gol-sitefooter { border-top: 1px solid var(--gol-line); }
.gol-footer-cols { gap: 32px; }
.gol-brandmark-foot img { max-width: 124px; margin-bottom: 14px; }
.gol-foot-blurb { max-width: 42ch; line-height: 1.6; }
.gol-foot-head {
	font-size: .74rem !important;
	text-transform: uppercase;
	letter-spacing: .08em;
	font-weight: 700;
	color: var(--gol-muted);
	margin: 0 0 12px;
}
.gol-foot-list { list-style: none; margin: 0; padding: 0; }
.gol-foot-list li { margin: 0 0 9px; }
.gol-foot-list a {
	color: var(--gol-text-2);
	text-decoration: none;
	font-size: .94rem;
	display: inline-block;
	padding: 3px 0;
}
.gol-foot-list a:hover { color: var(--gol-brand); text-decoration: underline; }
.gol-foot-legal {
	margin-top: 36px;
	padding-top: 22px;
	border-top: 1px solid var(--gol-line);
	line-height: 1.6;
}

/* ======================================================================
   UNCLAIMED — the dashed amber outline from the original site.
   This is the single strongest signal on a results page: it makes an
   unclaimed profile look like an empty seat waiting for its owner.
   ===================================================================== */

.gol-pcard.is-unclaimed,
.gol-card.is-unclaimed {
	border: 2px dashed #f5a742;
	background:
		linear-gradient(180deg, #fffcf5 0%, #fff 62%);
	box-shadow: 0 1px 2px rgba(180,120,20,.08);
}
.gol-pcard.is-unclaimed:hover {
	border-color: var(--gol-warn);
	box-shadow: 0 2px 6px rgba(234,88,12,.14), 0 10px 24px rgba(234,88,12,.10);
}
.gol-pcard.is-unclaimed .gol-pcard-orgicon {
	background: var(--gol-warn-soft);
	color: #b04408;
}
/* Claimed profiles get a quiet emerald edge — earned, not shouted. */
.gol-pcard.is-claimed {
	border-color: #a7f3d0;
	box-shadow: 0 1px 2px rgba(5,150,105,.10), 0 1px 3px rgba(16,24,40,.08);
}
.gol-pcard.is-claimed::before {
	content: "";
	position: absolute; inset: 0 auto 0 0;
	width: 3px; border-radius: var(--gol-r) 0 0 var(--gol-r);
	background: var(--gol-ok);
}
.gol-pcard { position: relative; }

/* ------------------------------------------------------- tabs, harder edge */

.gol-tabs {
	gap: 0;
	background: var(--gol-soft);
	border: 1px solid var(--gol-line);
	border-radius: var(--gol-r);
	padding: 5px;
	box-shadow: inset 0 1px 2px rgba(16,24,40,.04);
}
.gol-tab {
	border: 1px solid transparent;
	border-radius: var(--gol-r-sm);
	padding: 10px 16px;
}
.gol-tab:hover { background: #fff; border-color: var(--gol-line); color: var(--gol-text); }
.gol-tab[aria-selected="true"], .gol-tab.is-active {
	background: #fff;
	border-color: var(--gol-line-2);
	color: var(--gol-brand-dk);
	box-shadow: var(--gol-sh-1);
}

/* ------------------------------------------- page rhythm and section edges */

/* Alternating bands with hairline rules give the long marketing pages the
   crisp sectioning the old site had, instead of one undifferentiated white. */
.gol-marketing .gol-band + .gol-band { border-top: 1px solid var(--gol-line); }
.gol-marketing .gol-band-soft {
	background: var(--gol-soft);
	border-block: 1px solid var(--gol-line);
}
.gol-marketing h2 { margin-bottom: 8px; }
.gol-marketing .gol-sub { font-size: 1.06rem; }

.gol-grid2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .gol-grid2 { grid-template-columns: 1fr 1fr; } }

/* Numbered steps — circular brand badges, like the original. */
.gol-steps { display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: golstep; }
@media (min-width: 760px) { .gol-steps { grid-template-columns: 1fr 1fr; } }
.gol-steps > * {
	display: flex; gap: 14px; align-items: flex-start;
	background: #fff; border: 1px solid var(--gol-line);
	border-radius: var(--gol-r); padding: 18px;
	box-shadow: var(--gol-sh-1);
}
.gol-step-n {
	flex: 0 0 auto;
	width: 30px; height: 30px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--gol-brand); color: #fff;
	font-weight: 700; font-size: .92rem;
	box-shadow: var(--gol-sh-brand);
}
.gol-painlist { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .gol-painlist { grid-template-columns: 1fr 1fr; } }
.gol-painlist > * {
	background: #fff; border: 1px solid var(--gol-line); border-left: 3px solid var(--gol-warn);
	border-radius: var(--gol-r-sm); padding: 14px 16px; box-shadow: var(--gol-sh-1);
}
.gol-cta {
	background: linear-gradient(135deg, var(--gol-brand), #1e40af);
	color: #fff; border-radius: var(--gol-r-lg);
	padding: 40px 28px; text-align: center; box-shadow: var(--gol-sh-3);
}
.gol-cta h2, .gol-cta p { color: #fff; }
.gol-cta .gol-btn-primary { background: #fff; color: var(--gol-brand-dk); border-color: #fff; }
.gol-cta .gol-btn-primary:hover { background: #eff6ff; }

/* Alumni pages: the year grid and its headings. */
.gol-yeargrid {
	list-style: none; margin: 0; padding: 0;
	display: grid; gap: 8px;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.gol-yeargrid a {
	display: block; padding: 9px 12px;
	background: var(--gol-soft); border: 1px solid var(--gol-line);
	border-radius: var(--gol-r); text-decoration: none;
	font-weight: 600; font-size: 14.5px; color: var(--gol-text);
}
.gol-yeargrid a:hover { border-color: var(--gol-brand); color: var(--gol-brand); }
.gol-yeargrid .gol-num { font-weight: 400; color: var(--gol-text-2); }
.gol-alumni-sub { margin: 28px 0 14px; }
.gol-alumni-years { margin-bottom: 24px; }

/* The owner's featured-placement pitch, on their own profile. */
.gol-featured-promo {
	display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
	margin: 14px 0 6px; padding: 14px 18px;
	background: linear-gradient(120deg, #eff6ff, #f5f3ff);
	border: 1px solid var(--gol-line);
	border-radius: var(--gol-r-lg);
}
.gol-featured-promo-txt { flex: 1 1 320px; font-size: 14.5px; line-height: 1.5; }
.gol-featured-promo-txt svg { vertical-align: -3px; color: var(--gol-brand); }
.gol-featured-promo .gol-btn { flex: 0 0 auto; }

/* --------------------------------------------------------------- the blog */

.wp-block-post-template, .gol-bloglist { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .wp-block-post-template, .gol-bloglist { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .wp-block-post-template, .gol-bloglist { grid-template-columns: repeat(3, 1fr); } }
.wp-block-post {
	background: #fff;
	border: 1px solid var(--gol-line);
	border-radius: var(--gol-r);
	box-shadow: var(--gol-sh-1);
	overflow: hidden;
	transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.wp-block-post:hover { box-shadow: var(--gol-sh-2); transform: translateY(-2px); border-color: #bfdbfe; }
.wp-block-post .wp-block-post-featured-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.wp-block-post .wp-block-post-title { font-size: 1.14rem; line-height: 1.3; margin: 16px 18px 8px; }
.wp-block-post .wp-block-post-title a { color: var(--gol-text); text-decoration: none; }
.wp-block-post .wp-block-post-title a:hover { color: var(--gol-brand); }
.wp-block-post .wp-block-post-excerpt { margin: 0 18px 12px; color: var(--gol-muted); font-size: .95rem; }
.wp-block-post .wp-block-post-date { margin: 0 18px 18px; color: var(--gol-muted); font-size: .82rem; }

/* Single post: readable measure, styled long-form elements. */
.gol-article .wp-block-post-content { max-width: 70ch; margin-inline: auto; font-size: 1.09rem; line-height: 1.75; }
.gol-article blockquote, .wp-block-quote {
	border-left: 4px solid var(--gol-brand);
	background: var(--gol-brand-soft);
	padding: 16px 20px;
	border-radius: 0 var(--gol-r-sm) var(--gol-r-sm) 0;
	font-style: normal;
}
.gol-article figure img { border-radius: var(--gol-r); box-shadow: var(--gol-sh-2); }

/* ================================================================ browse */
/* Specialty and state lists were bare bullets. They are the main way people
   enter the directory, so they get to look like doors, not footnotes. */

.gol-browse-grid { list-style: none; margin: 0; padding: 0; }
.gol-browse-card { margin: 0; }
.gol-browse-card > a {
	display: flex;
	align-items: center;
	gap: 13px;
	height: 100%;
	padding: 15px 16px;
	background: #fff;
	border: 1px solid var(--gol-line);
	border-radius: var(--gol-r);
	box-shadow: var(--gol-sh-1);
	text-decoration: none;
	color: var(--gol-text);
	transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
.gol-browse-card > a:hover {
	border-color: #bfdbfe;
	box-shadow: var(--gol-sh-2);
	transform: translateY(-2px);
	text-decoration: none;
}
.gol-browse-ic {
	flex: 0 0 auto;
	width: 44px; height: 44px;
	display: grid; place-items: center;
	border-radius: 12px;
	background: var(--gol-brand-soft);
	color: var(--gol-brand);
	transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.gol-browse-ic svg { width: 22px; height: 22px; }
.gol-browse-card > a:hover .gol-browse-ic {
	/* Was background:brand + color:#fff, but the card behind also went blue —
	   so the icon disappeared into it. Keep the tile pale and only deepen the
	   glyph, which keeps contrast whatever the card does. */
	background: #dbeafe;
	color: var(--gol-brand-dk);
	transform: scale(1.06);
}
.gol-browse-txt { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.gol-browse-name {
	font-weight: 600;
	font-size: .97rem;
	line-height: 1.28;
	color: var(--gol-text);
}
.gol-browse-card > a:hover .gol-browse-name { color: var(--gol-brand-dk); }
.gol-browse-count { font-size: .82rem; color: var(--gol-muted); }

/* ---------------------------------------------------- generated summaries */

.gol-autobio p { margin: 0 0 10px; }
.gol-autobio-note {
	font-size: .82rem;
	color: var(--gol-muted);
	border-left: 3px solid var(--gol-line-2);
	padding-left: 12px;
	line-height: 1.55;
}

/* ------------------------------------------------------------- FAQ blocks */

.gol-faqblock details, .wp-block-details {
	background: #fff;
	border: 1px solid var(--gol-line);
	border-radius: var(--gol-r);
	box-shadow: var(--gol-sh-1);
	padding: 0;
	margin-bottom: 10px;
	overflow: hidden;
}
.gol-faqblock summary, .wp-block-details summary {
	cursor: pointer;
	padding: 16px 18px;
	font-weight: 600;
	font-size: 1rem;
	list-style: none;
	min-height: 46px;
	display: flex; align-items: center; gap: 10px;
	transition: background-color .15s ease;
}
.gol-faqblock summary:hover, .wp-block-details summary:hover { background: var(--gol-soft); }
.gol-faqblock summary::-webkit-details-marker,
.wp-block-details summary::-webkit-details-marker { display: none; }
.gol-faqblock summary::before, .wp-block-details summary::before {
	content: "";
	flex: 0 0 auto;
	width: 9px; height: 9px;
	border-right: 2px solid var(--gol-brand);
	border-bottom: 2px solid var(--gol-brand);
	transform: rotate(-45deg);
	transition: transform .18s ease;
}
.gol-faqblock details[open] summary::before,
.wp-block-details[open] summary::before { transform: rotate(45deg); }
.gol-faqblock details > *:not(summary),
.wp-block-details > *:not(summary) { padding: 0 18px 16px; margin: 0; color: var(--gol-text-2); }

/* ======================================================================
   FACETS — pills, ticks, and a type-to-filter box
   ===================================================================== */

.gol-facets-head {
	display: flex; align-items: center; justify-content: space-between;
	gap: 10px; margin: 0 0 14px; padding-bottom: 12px;
	border-bottom: 1px solid var(--gol-line);
}
.gol-facets-title {
	display: flex; align-items: center; gap: 8px;
	font-size: .95rem !important; font-weight: 700; margin: 0;
	color: var(--gol-text);
}
.gol-facets-clear { font-size: .82rem; color: var(--gol-brand); text-decoration: none; }
.gol-facets-clear:hover { text-decoration: underline; }

/* Active filters, removable — the fastest way back out of a dead end. */
.gol-activechips { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gol-activechips a {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 5px 10px; border-radius: 999px;
	background: var(--gol-brand); color: #fff;
	font-size: .8rem; font-weight: 600; text-decoration: none;
	min-height: 30px;
}
.gol-activechips a:hover { background: var(--gol-brand-dk); }
.gol-activechips .gol-chip-x { display: inline-flex; opacity: .8; }

.gol-facet + .gol-facet { margin-top: 18px; padding-top: 16px; }
.gol-facet h3 {
	display: flex; align-items: center; gap: 6px;
	font-size: .74rem; text-transform: uppercase; letter-spacing: .07em;
	color: var(--gol-muted); font-weight: 700; margin: 0 0 10px;
}
.gol-facet-clear {
	margin-left: auto; font-size: .7rem; font-weight: 600;
	color: var(--gol-brand); text-decoration: none; text-transform: none; letter-spacing: 0;
}

.gol-facet-search { position: relative; margin-bottom: 10px; }
.gol-facet-search svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--gol-muted); pointer-events: none; }
.gol-facet-search input {
	width: 100%; padding-left: 32px !important;
	font-size: .88rem !important; min-height: 38px !important;
}

.gol-facet-list { list-style: none; margin: 0; padding: 0; }

/* Pill style — specialty, state, city, experience. */
.gol-facet-pill .gol-facet-list { display: flex; flex-wrap: wrap; gap: 6px; }
.gol-facet-pill .gol-facet-list > li { margin: 0; }
.gol-facet-pill .gol-facet-list a {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 11px; border-radius: 999px;
	border: 1px solid var(--gol-line-2); background: #fff;
	font-size: .84rem; font-weight: 500; color: var(--gol-text-2);
	text-decoration: none; min-height: 34px;
	transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.gol-facet-pill .gol-facet-list a:hover {
	border-color: var(--gol-brand); color: var(--gol-brand); background: var(--gol-brand-soft);
}
.gol-facet-pill .gol-facet-list .is-on > a {
	background: var(--gol-brand); border-color: var(--gol-brand); color: #fff; font-weight: 650;
}
.gol-facet-pill .gol-facet-count { font-size: .74rem; opacity: .7; font-variant-numeric: tabular-nums; }

/* Tick style — provider type, gender, quality. Mutually exclusive, so the
   control looks like a choice rather than a link. */
.gol-facet-check .gol-facet-list a {
	display: flex; align-items: center; gap: 10px;
	padding: 8px 6px; border-radius: var(--gol-r-sm);
	text-decoration: none; color: var(--gol-text-2);
	font-size: .92rem; min-height: 40px;
}
.gol-facet-check .gol-facet-list a:hover { background: var(--gol-soft); color: var(--gol-text); }
.gol-tick {
	flex: 0 0 auto; width: 19px; height: 19px;
	border: 2px solid var(--gol-line-2); border-radius: 5px;
	display: grid; place-items: center; color: #fff;
	transition: background-color .15s ease, border-color .15s ease;
}
.gol-facet-check .is-on > a { color: var(--gol-brand-dk); font-weight: 650; }
.gol-facet-check .is-on .gol-tick { background: var(--gol-brand); border-color: var(--gol-brand); }
.gol-facet-check .gol-facet-label { flex: 1 1 auto; }
.gol-facet-check .gol-facet-count { font-size: .78rem; color: var(--gol-muted); font-variant-numeric: tabular-nums; }

.gol-zipform { display: flex; gap: 6px; }
.gol-zipform input { flex: 1 1 auto; min-width: 0; font-size: .9rem !important; min-height: 40px !important; }
.gol-zipform .gol-btn { flex: 0 0 auto; min-height: 40px; }
.gol-facet-zip .gol-hint { font-size: .76rem; margin: 6px 0 0; }

/* ------------------------------------------------- card links and actions */

/* The specialty pill is a filter link, so it must not inherit body underline. */
.gol-pcard-spec { text-decoration: none; display: inline-block; }
.gol-pcard-spec:hover { background: var(--gol-brand); color: #fff; }

.gol-pcard-meta a { color: var(--gol-text-2); text-decoration: none; border-bottom: 1px dotted var(--gol-line-2); }
.gol-pcard-meta a:hover { color: var(--gol-brand); border-bottom-color: var(--gol-brand); }

/* Buttons must never look like links — the theme underlines every anchor. */
.gol-btn,
.gol-btn:hover,
.gol-pcard-actions a,
.gol-pcard-actions a:hover { text-decoration: none !important; }
.gol-pcard-actions { display: flex; gap: 8px; margin-top: 14px; }
.gol-pcard-actions .gol-btn { flex: 1 1 auto; justify-content: center; display: inline-flex; align-items: center; gap: 6px; }

/* ------------------------------------------------------ profile portraits */

.gol-side-card .gol-avatar,
.gol-side-card .gol-avatar-fallback {
	width: 128px; height: 128px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: var(--gol-sh-2);
	border: 3px solid #fff;
}
.gol-side-card .gol-avatar-fallback {
	display: grid; place-items: center;
	background: var(--gol-brand-soft); color: var(--gol-brand);
}
.gol-side-card .gol-avatar-fallback svg { width: 56px; height: 56px; }

/* ------------------------------------------------- header layout + logo */

/* Logo left, navigation centred, like the original site. */
@media (min-width: 900px) {
	.gol-siteheader > .wp-block-group {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
	}
	.gol-siteheader .wp-block-site-logo { grid-column: 1; justify-self: start; }
	.gol-siteheader .wp-block-navigation { grid-column: 2; justify-self: center; }
}
.wp-block-site-logo img, .gol-brandmark img { display: block; height: auto; max-width: 100%; }
.gol-siteheader .wp-block-site-logo img { max-width: 132px; }

/* --------------------------------------------------- location link rows */

.gol-loc-links { display: flex; flex-wrap: wrap; gap: 14px; margin: 8px 0 0; }
.gol-loc-links a {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: .9rem; font-weight: 600; color: var(--gol-brand);
	text-decoration: none; min-height: 32px;
}
.gol-loc-links a:hover { text-decoration: underline; }
.gol-maplink svg { opacity: .85; }

/* ======================================================================
   BUTTONS — global, not per-context
   The theme underlines every anchor, which made buttons read as links, and
   they were left-aligned inside their own box. Both fixed once, here.
   ===================================================================== */

.gol-wrap .gol-btn,
.gol-wrap a.gol-btn,
.gol-wrap button.gol-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
	box-sizing: border-box;
}
.gol-wrap .gol-btn:hover,
.gol-wrap .gol-btn:focus { text-decoration: none !important; }
.gol-btn-block { display: flex !important; width: 100%; }

/* Centred CTA rows across the marketing pages. */
.gol-hero-cta,
.gol-cta > p:last-child,
.gol-center { text-align: center; }
.gol-hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ============================================================== pricing */

.gol-pricing .gol-plans { align-items: stretch; margin-top: 8px; }
.gol-plan {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 30px 24px;
}
.gol-plan h3 {
	font-size: 1.05rem !important;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--gol-muted);
	font-weight: 700;
	margin: 0;
}
.gol-plan-price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0;
}
.gol-plan-price .gol-plan-period {
	font-size: .9rem;
	font-weight: 500;
	color: var(--gol-muted);
	letter-spacing: 0;
}
.gol-plan-sub {
	font-size: .88rem;
	color: var(--gol-ok);
	font-weight: 600;
	margin: -6px 0 0;
}
.gol-plan-best {
	font-size: .9rem;
	color: var(--gol-text-2);
	padding: 12px 14px;
	background: var(--gol-soft);
	border-radius: var(--gol-r-sm);
	border-left: 3px solid var(--gol-brand);
	margin: 0;
}
.gol-plan-inherit {
	font-size: .84rem;
	font-weight: 700;
	color: var(--gol-muted);
	text-transform: uppercase;
	letter-spacing: .05em;
	margin: 4px 0 -6px;
}
.gol-plan ul { list-style: none; margin: 0; padding: 0; flex: 1 1 auto; }
.gol-plan ul li {
	position: relative;
	padding: 7px 0 7px 26px;
	font-size: .94rem;
	line-height: 1.5;
	color: var(--gol-text-2);
}
/* Tick drawn in CSS so it never depends on an icon font loading. */
.gol-plan ul li::before {
	content: "";
	position: absolute;
	left: 2px; top: 14px;
	width: 11px; height: 6px;
	border-left: 2px solid var(--gol-ok);
	border-bottom: 2px solid var(--gol-ok);
	transform: rotate(-45deg);
}
.gol-plan .gol-btn { width: 100%; margin-top: auto; }

.gol-comparetable { margin-top: 12px; }
.gol-comparetable th:first-child { text-align: left; }
.gol-comparetable td:not(:first-child),
.gol-comparetable th:not(:first-child) { text-align: center; }
.gol-yes { color: var(--gol-ok); font-weight: 700; }
.gol-no  { color: var(--gol-line-2); }

/* --------------------------------------------------------- page rhythm */

/* Marketing pages were running edge to edge with no breathing room. */
.gol-marketing > section { margin-inline: auto; }
.gol-marketing .gol-band { padding-inline: 4px; }
.gol-marketing .gol-hero-sm { padding: 40px 0 26px; }

/* Long results pages keep the sidebar from colliding with the sticky header. */
.gol-search-layout { align-items: flex-start; gap: 28px; }
@media (min-width: 900px) {
	.gol-search-layout { display: grid; grid-template-columns: 262px minmax(0, 1fr); }
	.gol-facets, .gol-results { min-width: 0; }
}
.gol-results-head h2 { margin: 0 0 18px; }

/* ======================================================================
   HEADER — the three-column grid was wrapping the last nav item onto a
   second line because the logo column claimed too much width.
   ===================================================================== */

.gol-siteheader > .wp-block-group {
	display: flex !important;
	align-items: center;
	gap: 20px;
	flex-wrap: nowrap;
}
.gol-siteheader .wp-block-site-logo {
	flex: 0 0 auto;
	margin: 0;
}
.gol-siteheader .wp-block-site-logo img { max-width: 150px; }
.gol-siteheader .wp-block-navigation {
	flex: 1 1 auto;
	justify-content: flex-end;
	min-width: 0;
}
.gol-siteheader .wp-block-navigation__container {
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: none;
}
.gol-siteheader .wp-block-navigation__container::-webkit-scrollbar { display: none; }
.gol-nav .wp-block-navigation-item__content { white-space: nowrap; }

@media (max-width: 899px) {
	.gol-siteheader .wp-block-navigation { flex: 0 0 auto; }
	.gol-siteheader .wp-block-navigation__container { overflow: visible; }
}

/* ======================================================================
   TONE — the pages were flat white top to bottom, so nothing separated.
   Alternating surfaces and a tinted page background give sections edges.
   ===================================================================== */

body { background: #f4f6f9; }
.wp-site-blocks > main,
.wp-block-post-content,
.gol-siteheader { background: #fff; }

/* Content sits on a white sheet floating over the tinted page. */
.wp-site-blocks > main {
	border-radius: 0;
	box-shadow: 0 1px 3px rgba(16,24,40,.05);
}

.gol-marketing .gol-band:nth-of-type(even) {
	background: var(--gol-soft);
	border-radius: var(--gol-r-lg);
	padding-inline: 24px;
	margin-block: 8px;
}
.gol-marketing .gol-band { padding-block: 44px; }

/* Cards on a tinted page need a touch more edge than on white. */
.gol-card { border-color: var(--gol-line); }
.gol-card + .gol-card { margin-top: 18px; }

/* ------------------------------------------------------- contrast fixes */

/* Grey-on-white body copy failed at small sizes. Anything that carries real
   information gets the darker text colour; only true asides stay muted. */
.gol-wrap .gol-sub,
.gol-wrap .gol-hero-body,
.gol-wrap .gol-plan-best,
.gol-wrap .gol-side-note,
.gol-wrap .gol-empty { color: var(--gol-text-2); }
.gol-hint, .gol-fineprint, .gol-footnote, .gol-autobio-note { color: #5b6472; }

.gol-cta, .gol-lockbox {
	background: linear-gradient(135deg, var(--gol-brand), #1e40af);
	color: #fff;
	border: 0;
}
.gol-cta *, .gol-lockbox * { color: #fff; }
.gol-cta a:not(.gol-btn), .gol-lockbox a:not(.gol-btn) { color: #fff; text-decoration: underline; }

/* The "Are you a provider?" prompt was grey on white and easy to miss. */
.gol-side-note, .gol-panel > .gol-hint {
	background: var(--gol-brand-soft);
	border: 1px solid #bfdbfe;
	border-radius: var(--gol-r-sm);
	padding: 14px 16px;
	color: var(--gol-text-2);
	font-size: .92rem;
	line-height: 1.55;
}

/* ======================================================================
   LINKS THAT ARE FILTERS BECOME PILLS
   Anywhere a link narrows a result set, it should look pressable.
   ===================================================================== */

.gol-expertise li,
.gol-chiplist li,
.gol-sociallist li { list-style: none; }

.gol-expertise, .gol-chiplist, .gol-tagrow {
	display: flex; flex-wrap: wrap; gap: 8px;
	list-style: none; margin: 0; padding: 0;
}
.gol-expertise li a,
.gol-chiplist li a,
.gol-tagrow a,
a.gol-pill, a.gol-chip {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 7px 13px; border-radius: 999px;
	background: var(--gol-brand-soft);
	border: 1px solid #dbeafe;
	color: var(--gol-brand-dk);
	font-size: .88rem; font-weight: 600;
	text-decoration: none; min-height: 34px;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.gol-expertise li a:hover,
.gol-chiplist li a:hover,
.gol-tagrow a:hover,
a.gol-pill:hover, a.gol-chip:hover {
	background: var(--gol-brand); border-color: var(--gol-brand); color: #fff;
}

/* Breadcrumbs read better as quiet pills than as a chain of underlines. */
.gol-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.gol-crumbs a {
	padding: 4px 10px; border-radius: 999px;
	background: var(--gol-soft); border: 1px solid var(--gol-line);
	color: var(--gol-text-2); font-size: .82rem; text-decoration: none;
}
.gol-crumbs a:hover { background: var(--gol-brand-soft); border-color: #bfdbfe; color: var(--gol-brand-dk); text-decoration: none; }
.gol-crumb-current { font-size: .82rem; font-weight: 600; }

/* ----------------------------------------------- facet controls, sharper */

.gol-facets {
	padding: 20px 18px;
	box-shadow: var(--gol-sh-2);
	border-radius: var(--gol-r-lg);
}
.gol-facet-pill .gol-facet-list a {
	font-size: .86rem;
	padding: 7px 12px;
	min-height: 36px;
	border-width: 1px;
	box-shadow: 0 1px 1px rgba(16,24,40,.04);
}
.gol-facet-pill .gol-facet-list a:hover { box-shadow: var(--gol-sh-1); }
.gol-facet-pill .gol-facet-list .is-on > a { box-shadow: var(--gol-sh-brand); }
.gol-facet-check .gol-facet-list a { font-size: .93rem; padding: 9px 8px; }
.gol-facet-check .gol-facet-list .is-on > a { background: var(--gol-brand-soft); }
.gol-facet h3 { font-size: .76rem; }
.gol-facet + .gol-facet { border-top: 1px solid var(--gol-line); }

/* ================================================================= home */
/* The homepage was a wall of left-aligned prose. Every section is now
   centred with a bounded measure, so the eye has one column to follow. */

.gol-home { text-align: center; }
.gol-home > section { margin-inline: auto; }
.gol-home h2 { margin-bottom: 10px; }
.gol-home p { margin-inline: auto; max-width: 62ch; }
.gol-home .gol-hero-body { max-width: 56ch; font-size: 1.14rem; }
.gol-home .gol-hero-note { max-width: 46ch; }
.gol-home .gol-sub { max-width: 58ch; font-size: 1.04rem; }
.gol-home .gol-fineprint { max-width: 62ch; }

/* Steps stay left-aligned inside their cards — centred body text in a card
   is hard to read even when the section around it is centred. */
.gol-home .gol-steps { text-align: left; max-width: 940px; margin-inline: auto; }
.gol-home .gol-steps p { margin-inline: 0; max-width: none; font-size: .93rem; }
.gol-home .gol-steps h3 { font-size: 1.02rem; margin: 0 0 4px; }

.gol-home .gol-cards { text-align: left; max-width: 880px; margin-inline: auto; }
.gol-home .gol-searchband { max-width: 820px; }
.gol-home .gol-hint a { color: var(--gol-brand); }

.gol-featured-strip { padding-block: 40px; }
.gol-featured-strip .gol-pcard { background: #fff; }

@media (min-width: 700px) {
	.gol-home .gol-hero { padding: 64px 0 44px; }
	.gol-home .gol-band { padding-block: 52px; }
}

/* ======================================================================
   READABILITY PASS
   Card metadata was ~13px mid-grey — fine for a dashboard, wrong for a
   directory read by patients. Everything factual goes darker and larger.
   ===================================================================== */

.gol-pcard { padding: 20px; }
.gol-pcard-name { font-size: 1.16rem; font-weight: 700; line-height: 1.28; color: var(--gol-text); }
.gol-pcard-cred { font-size: .92rem; color: var(--gol-text-2); font-weight: 500; }

.gol-pcard-meta { font-size: .97rem; }
.gol-pcard-meta li {
	color: var(--gol-text);          /* was muted grey — now readable */
	padding: 5px 0;
	line-height: 1.45;
}
.gol-pcard-meta a { color: var(--gol-text); border-bottom-color: var(--gol-line-2); }
.gol-pcard-meta a:hover { color: var(--gol-brand); }
.gol-pcard-npi { color: var(--gol-muted) !important; font-size: .88rem; }
.gol-pcard-meta .gol-i { color: var(--gol-brand); opacity: 1; }

.gol-pcard-spec { font-size: .92rem; padding: 6px 13px; }

/* Portraits: 44px reads as an avatar chip, not a person. */
.gol-pcard-avatar,
.gol-pcard-orgicon {
	width: 68px !important;
	height: 68px !important;
	border-radius: 50%;
}
.gol-pcard-orgicon { border-radius: var(--gol-r); }
.gol-pcard-top { gap: 14px; align-items: center; }

/* Claim sits beside View Profile and is clearly the secondary action. */
.gol-pcard-actions { gap: 10px; }
.gol-pcard-actions .gol-btn { min-height: 48px; font-size: .95rem; }
.gol-pcard-actions .gol-btn-claim { flex: 0 0 auto; padding-inline: 16px; }
.is-unclaimed .gol-btn-claim {
	border-color: #f5a742;
	color: #b04408;
	background: var(--gol-warn-soft);
}
.is-unclaimed .gol-btn-claim:hover { background: var(--gol-warn); border-color: var(--gol-warn); color: #fff; }

/* ======================================================================
   WIDTH
   The directory is a data product: more columns of results beat a narrow
   reading measure. Prose pages keep a comfortable measure regardless, so
   widening here does not hurt legibility.
   ===================================================================== */

/*
 * theme.json declares layout.contentSize: 900px, and WordPress turns that into
 *
 *     .wp-site-blocks > * { max-width: 900px; margin-inline: auto; }
 *
 * which applies to every direct child of the site wrapper — including the
 * <header> and <footer> that hold the template parts. Only `main` had an
 * escape, so the header and footer were being squeezed to 900px inside a
 * 1440px page. Measured at a 1440 viewport: <footer> 900px wide, the five link
 * columns 93px each, "Find a doctor" wrapping onto three lines. The header lost
 * its outer width the same way, which is why the logo and the nav looked
 * stranded either side of an empty middle.
 *
 * 900px is right for prose and wrong for chrome. The header and footer set
 * their own inner max-width (1440px, centred), so removing the cap here does
 * not let them sprawl.
 */
.wp-site-blocks > main > .wp-block-group,
.wp-site-blocks > main,
.wp-site-blocks > header,
.wp-site-blocks > footer,
.wp-site-blocks > .wp-block-template-part {
	max-width: none;
}
.gol-wrap {
	max-width: 1440px;
	margin-inline: auto;
	padding-inline: clamp(16px, 4vw, 40px);
	box-sizing: border-box;
}
.gol-siteheader,
.gol-sitefooter { max-width: none; }
.gol-siteheader > .wp-block-group,
.gol-sitefooter > .wp-block-columns,
.gol-sitefooter > .wp-block-group,
.gol-sitefooter > p {
	max-width: 1440px;
	margin-inline: auto;
}

/* Prose stays readable even on a wide page. */
.gol-marketing:not(.gol-home) .gol-band { max-width: 900px; margin-inline: auto; }
.gol-home { max-width: 1200px; }

/* Wider viewports earn more result columns rather than more whitespace. */
@media (min-width: 1180px) {
	.gol-search-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 32px; }
	.gol-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1560px) {
	.gol-cards { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile is the priority: full-bleed, single column, nothing clipped. */
@media (max-width: 699px) {
	.gol-wrap { padding-inline: 14px; }
	.gol-cards, .gol-browse-grid, .gol-dashcards, .gol-plans { grid-template-columns: 1fr !important; }
	.gol-search-layout { display: block; }
	.gol-facets { position: static; max-height: none; margin-bottom: 22px; }
	.gol-pcard-actions { flex-direction: column; }
	.gol-pcard-actions .gol-btn { width: 100%; }
	.gol-pcard-avatar, .gol-pcard-orgicon { width: 56px !important; height: 56px !important; }
	.gol-home h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
}

/* ========================================================== contact form */

.gol-contactform { max-width: 720px; }
.gol-form { display: flex; flex-direction: column; gap: 18px; margin-top: 22px; }
.gol-form-row { display: flex; flex-direction: column; gap: 6px; }
.gol-form-row label {
	font-weight: 650; font-size: .94rem; color: var(--gol-text);
	display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.gol-optional { font-weight: 400; font-size: .84rem; color: var(--gol-muted); }
.gol-form-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .gol-form-grid { grid-template-columns: 1fr 1fr; } }
.gol-form textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.gol-form .gol-btn { align-self: flex-start; min-width: 200px; }

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.gol-hp {
	position: absolute !important;
	left: -9999px; top: auto;
	width: 1px; height: 1px; overflow: hidden;
}

.gol-flash-ok {
	background: var(--gol-ok-soft);
	border-left-color: var(--gol-ok);
	color: #04724d;
}

/* --------------------------------------------------------- admin edit bar */

.gol-adminbar {
	display: flex; align-items: center; justify-content: space-between;
	flex-wrap: wrap; gap: 12px;
	background: #fffbeb;
	border: 1px solid #fcd34d;
	border-radius: var(--gol-r);
	padding: 12px 16px;
	margin-bottom: 18px;
	font-size: .92rem;
	color: #78350f;
}
.gol-adminbar span { display: inline-flex; align-items: center; gap: 8px; }

/* ============================================================== opt-in */
/* Pre-ticked, but never hidden: the boxes are large, the copy is plain, and
   unticking is one obvious click. A consent control people cannot see is
   worse than no consent control. */

.gol-optin {
	display: flex; flex-direction: column; gap: 14px;
	margin: 20px 0;
	padding: 16px 18px;
	background: var(--gol-soft);
	border: 1px solid var(--gol-line);
	border-radius: var(--gol-r);
}
.gol-optin-row {
	display: flex; align-items: flex-start; gap: 12px;
	cursor: pointer; line-height: 1.5;
	font-size: .93rem; color: var(--gol-text-2);
}
.gol-optin-row input[type="checkbox"] {
	flex: 0 0 auto;
	width: 20px; height: 20px;
	margin: 2px 0 0;
	accent-color: var(--gol-brand);
	cursor: pointer;
}
.gol-optin-row strong { color: var(--gol-text); display: block; font-weight: 650; }
.gol-optin-note { display: block; color: var(--gol-muted); font-size: .84rem; margin-top: 2px; }
.gol-optin-promise {
	display: flex; align-items: flex-start; gap: 8px;
	margin: 4px 0 0; padding-top: 12px;
	border-top: 1px solid var(--gol-line);
	font-size: .85rem; color: var(--gol-muted); line-height: 1.5;
}
.gol-optin-promise svg { flex: 0 0 auto; margin-top: 2px; color: var(--gol-ok); }
.gol-optin-promise strong { color: var(--gol-text-2); }

/* wp-login.php has none of our page styling, so the block needs to stand
   on its own there. */
body.login .gol-optin {
	margin: 16px 0;
	font-size: 13px;
	background: #fff;
	border-color: #dcdcde;
}
body.login .gol-optin-row { font-size: 13px; }

/* ========================================================== CTA banner */
/* Drawn rather than pasted in as an image: stays sharp on any display,
   reflows on a phone, and the words are real text a search engine reads. */

.gol-ctabanner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	align-items: center;
	overflow: hidden;
	padding: 40px 28px;
	margin: 32px 0;
	border-radius: var(--gol-r-lg);
	background: #fff;
	border: 1px solid var(--gol-line);
	box-shadow: var(--gol-sh-2);
	text-align: left;
}
/* The soft blue discs from the artwork, as background rather than bitmap. */
.gol-ctabanner::before {
	content: "";
	position: absolute;
	right: -12%; top: -40%;
	width: 62%; aspect-ratio: 1;
	border-radius: 50%;
	background: var(--gol-brand-soft);
	z-index: 0;
}
.gol-ctabanner > * { position: relative; z-index: 1; }

.gol-ctabanner h2 {
	font-size: clamp(1.7rem, 5vw, 2.6rem);
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1.12;
	margin: 0 0 10px;
	color: var(--gol-text);
}
.gol-ctabanner-sub {
	font-size: 1.06rem;
	color: var(--gol-muted);
	margin: 0 0 22px;
	max-width: 42ch;
}
.gol-ctabanner .gol-btn { text-transform: uppercase; letter-spacing: .04em; font-size: .95rem; }
.gol-ctabanner-foot {
	margin: 24px 0 0;
	font-size: .88rem;
	font-weight: 700;
	color: var(--gol-muted);
}
.gol-ctabanner-art { justify-self: center; width: min(260px, 62vw); }
.gol-ctabanner-art svg { display: block; width: 100%; height: auto; }

@media (min-width: 780px) {
	.gol-ctabanner {
		grid-template-columns: 1fr auto;
		gap: 40px;
		padding: 52px 48px;
	}
	.gol-ctabanner-art { width: 260px; justify-self: end; }
}

/* Dark variant — for a footer band, where it separates from the page. */
.gol-ctabanner.is-dark {
	background: #0f2748;
	border-color: #0f2748;
}
.gol-ctabanner.is-dark::before { background: rgba(255,255,255,.06); }
.gol-ctabanner.is-dark h2 { color: #fff; }
.gol-ctabanner.is-dark .gol-ctabanner-sub,
.gol-ctabanner.is-dark .gol-ctabanner-foot { color: #c7d9f2; }

/* A left rule echoes the artwork's edge stripe. */
.gol-ctabanner { border-left: 6px solid var(--gol-brand); }

/* Uploaded claim banner. Sized by its own aspect ratio, so nothing shifts as
   it loads and a phone gets the compact file via srcset. */
.gol-ctaimage {
	display: block;
	margin: 32px 0;
	border-radius: var(--gol-r-lg);
	overflow: hidden;
	box-shadow: var(--gol-sh-2);
	line-height: 0;
	transition: box-shadow .18s ease, transform .18s ease;
}
.gol-ctaimage:hover { box-shadow: var(--gol-sh-3); transform: translateY(-2px); }
.gol-ctaimage img { display: block; width: 100%; height: auto; }

/* Image settings screen lives in wp-admin, so it borrows admin styling and
   only needs the preview framing. */
.gol-brandadmin .gol-mediapreview img { background: #f6f7f7; }

/* ------------------------------------------------- browse tiles, refined */

/* Cards keep a white face on hover and signal with the border and lift
   instead of a colour wash. A tile that floods blue hides its own contents. */
.gol-browse-card > a:hover {
	background: #fff;
	border-color: var(--gol-brand);
	box-shadow: 0 2px 4px rgba(37,99,235,.10), 0 8px 20px rgba(37,99,235,.12);
}
.gol-browse-card > a {
	align-items: flex-start;
	padding: 16px;
	gap: 14px;
}
.gol-browse-txt { flex: 1 1 auto; }
.gol-browse-name {
	font-size: 1rem;
	font-weight: 650;
	/* Long NUCC names wrap to three lines; cap it so tiles stay level. */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.gol-browse-count {
	display: inline-block;
	margin-top: 4px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--gol-soft);
	border: 1px solid var(--gol-line);
	font-size: .78rem;
	color: var(--gol-text-2);
}
.gol-browse-card > a:hover .gol-browse-count {
	background: var(--gol-brand-soft);
	border-color: #bfdbfe;
	color: var(--gol-brand-dk);
}

/* Equal-height tiles in a tighter grid — more specialties visible at once. */
.gol-browse-grid { gap: 14px; }
@media (min-width: 560px)  { .gol-browse-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .gol-browse-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1240px) { .gol-browse-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================ claim page */

.gol-claimlead { text-align: center; padding: 40px 0 8px; }
.gol-claimlead h1 {
	font-size: clamp(1.8rem, 5vw, 2.7rem);
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1.14;
	margin: 0 0 14px;
}
.gol-claimlead-sub {
	font-size: 1.1rem;
	color: var(--gol-text-2);
	max-width: 60ch;
	margin: 0 auto 26px;
}
.gol-claimlead .gol-painlist { text-align: left; max-width: 900px; margin: 0 auto 24px; }
.gol-claimlead .gol-painlist li { list-style: none; font-size: .96rem; }
.gol-claimlead-fix {
	max-width: 62ch;
	margin: 0 auto;
	font-size: 1.04rem;
	color: var(--gol-text);
	padding: 16px 20px;
	background: var(--gol-brand-soft);
	border: 1px solid #bfdbfe;
	border-radius: var(--gol-r);
}

.gol-claimcard { max-width: 640px; margin-inline: auto; }
.gol-claimcard .gol-npiform-row { display: flex; gap: 10px; margin-bottom: 10px; }
.gol-claimcard .gol-npiform-row input {
	flex: 1 1 auto;
	font-size: 1.25rem !important;
	letter-spacing: .08em;
	font-variant-numeric: tabular-nums;
	text-align: center;
	min-height: 56px !important;
}

/* The fee explanation. Placed after the form deliberately: it answers the
   objection at the moment it forms, not before anyone has one. */
.gol-feenote {
	display: grid;
	grid-template-columns: 1fr;
	gap: 22px;
	align-items: center;
	max-width: 880px;
	margin: 28px auto 0;
	padding: 24px 26px;
	background: var(--gol-soft);
	border: 1px solid var(--gol-line);
	border-radius: var(--gol-r-lg);
}
@media (min-width: 760px) { .gol-feenote { grid-template-columns: 1fr auto; } }
.gol-feenote h3 {
	display: flex; align-items: center; gap: 9px;
	font-size: 1.08rem !important; margin: 0 0 10px;
}
.gol-feenote h3 svg { color: var(--gol-ok); }
.gol-feenote p { margin: 0 0 12px; color: var(--gol-text-2); font-size: .97rem; }
.gol-feenote .gol-plainlist { list-style: none; margin: 0; padding: 0; }
.gol-feenote .gol-plainlist li {
	position: relative;
	padding: 5px 0 5px 24px;
	font-size: .94rem;
	color: var(--gol-text-2);
	line-height: 1.5;
}
.gol-feenote .gol-plainlist li::before {
	content: "";
	position: absolute; left: 2px; top: 12px;
	width: 10px; height: 6px;
	border-left: 2px solid var(--gol-ok);
	border-bottom: 2px solid var(--gol-ok);
	transform: rotate(-45deg);
}

.gol-feenote-badge { justify-self: center; }
.gol-stripelogo { max-width: 150px; height: auto; display: block; }
.gol-stripemark {
	display: flex; flex-direction: column; align-items: center; gap: 2px;
	padding: 14px 20px;
	background: #fff;
	border: 1px solid var(--gol-line);
	border-radius: var(--gol-r);
	box-shadow: var(--gol-sh-1);
	white-space: nowrap;
}
.gol-stripemark-top { font-size: .7rem; color: var(--gol-muted); letter-spacing: .04em; }
.gol-stripemark-name {
	font-size: 1.45rem; font-weight: 800; letter-spacing: -.04em;
	color: #635bff;   /* Stripe's own brand purple */
}

/* ======================================================================
   HEADER NAVIGATION — mega menu + search
   ===================================================================== */

.gol-headinner {
	display: flex;
	align-items: center;
	gap: 24px;
	max-width: 1440px;
	margin-inline: auto;
}
.gol-headinner .wp-block-site-logo { flex: 0 0 auto; margin: 0; }
.gol-headinner .wp-block-site-logo img { max-width: 146px; }

.gol-nav2 { flex: 1 1 auto; min-width: 0; }
.gol-nav2-menu { display: flex; align-items: center; gap: 16px; justify-content: flex-end; }
.gol-nav2-list {
	display: flex; align-items: center; gap: 2px;
	list-style: none; margin: 0; padding: 0;
}
.gol-nav2-item { position: relative; margin: 0; }

.gol-nav2-link {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 14px;
	border: 0; background: none;
	border-radius: var(--gol-r-sm);
	font: inherit; font-size: .95rem; font-weight: 600;
	color: var(--gol-text-2);
	text-decoration: none; cursor: pointer;
	min-height: 42px; white-space: nowrap;
	transition: background-color .15s ease, color .15s ease;
}
.gol-nav2-link:hover,
.is-open > .gol-nav2-link { background: var(--gol-brand-soft); color: var(--gol-brand-dk); text-decoration: none; }

.gol-nav2-caret {
	width: 7px; height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform .18s ease;
}
.is-open .gol-nav2-caret { transform: rotate(-135deg) translate(-2px, -2px); }

/* ------------------------------------------------------------- panels */

.gol-nav2-panel {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 60;
	background: #fff;
	border: 1px solid var(--gol-line);
	border-radius: var(--gol-r-lg);
	box-shadow: var(--gol-sh-3);
	padding: 24px;
	width: min(880px, calc(100vw - 40px));
}
.gol-nav2-panel.is-small { width: min(320px, calc(100vw - 40px)); }
.gol-nav2-panelinner { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 900px) {
	.gol-nav2-panel:not(.is-small) .gol-nav2-panelinner {
		grid-template-columns: 2fr 1fr 1fr;
	}
}
.gol-nav2-col h3 {
	font-size: .72rem !important;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--gol-muted);
	font-weight: 700;
	margin: 0 0 12px;
}
.gol-nav2-specs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
@media (max-width: 899px) { .gol-nav2-specs { grid-template-columns: 1fr; } }
.gol-nav2-specs a {
	display: flex; align-items: center; gap: 10px;
	padding: 8px 10px; border-radius: var(--gol-r-sm);
	text-decoration: none; color: var(--gol-text);
	font-size: .9rem; min-height: 40px;
}
.gol-nav2-specs a:hover { background: var(--gol-soft); text-decoration: none; }
.gol-nav2-ic {
	flex: 0 0 auto; width: 30px; height: 30px;
	display: grid; place-items: center;
	border-radius: 8px;
	background: var(--gol-brand-soft); color: var(--gol-brand);
}
.gol-nav2-spname { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gol-nav2-spcount { font-size: .78rem; color: var(--gol-muted); font-variant-numeric: tabular-nums; }

.gol-nav2-states { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 12px; }
.gol-nav2-states a {
	display: flex; justify-content: space-between; gap: 8px;
	padding: 6px 8px; border-radius: 6px;
	text-decoration: none; color: var(--gol-text-2); font-size: .9rem;
}
.gol-nav2-states a:hover { background: var(--gol-soft); color: var(--gol-brand-dk); text-decoration: none; }
.gol-nav2-states span { color: var(--gol-muted); font-size: .78rem; font-variant-numeric: tabular-nums; }

.gol-nav2-plain { list-style: none; margin: 0; padding: 0; }
.gol-nav2-plain a {
	display: flex; align-items: center; gap: 9px;
	padding: 9px 10px; border-radius: var(--gol-r-sm);
	text-decoration: none; color: var(--gol-text-2); font-size: .92rem;
	min-height: 40px;
}
.gol-nav2-plain a:hover { background: var(--gol-soft); color: var(--gol-brand-dk); text-decoration: none; }
.gol-nav2-plain svg { color: var(--gol-brand); flex: 0 0 auto; }

.gol-nav2-all {
	display: inline-block; margin-top: 10px;
	font-size: .86rem; font-weight: 650;
	color: var(--gol-brand); text-decoration: none;
}
.gol-nav2-all:hover { text-decoration: underline; }

/* -------------------------------------------------------------- search */

.gol-nav2-search {
	position: relative;
	display: flex; align-items: center;
	flex: 0 1 240px;
}
.gol-nav2-search svg {
	position: absolute; left: 11px;
	color: var(--gol-muted); pointer-events: none;
}
.gol-nav2-search input {
	width: 100%;
	padding: 8px 12px 8px 34px !important;
	font-size: .9rem !important;
	min-height: 40px !important;
	border-radius: 999px !important;
	background: var(--gol-soft) !important;
}
.gol-nav2-search input:focus { background: #fff !important; }

.gol-nav2-cta { flex: 0 0 auto; white-space: nowrap; }

/*
 * The header CTA was rendering white-on-white on some pages: page-level rules
 * (the search page's form styles among them) can reach the header anchor with
 * more specificity than .gol-btn-primary, taking the background with them and
 * leaving our white text on the page's white. The header button is the one
 * element that must look the same on every page, so it gets the one !important
 * block in the navigation — with literal fallbacks, in case a page manages to
 * redefine the brand variables too.
 */
a.gol-nav2-cta,
a.gol-nav2-cta:visited,
.gol-headinner a.gol-nav2-cta {
	background: var(--gol-brand, #2563eb) !important;
	border-color: var(--gol-brand, #2563eb) !important;
	color: #fff !important;
}
a.gol-nav2-cta:hover {
	background: var(--gol-brand-dk, #1d4ed8) !important;
	border-color: var(--gol-brand-dk, #1d4ed8) !important;
	color: #fff !important;
}

/* -------------------------------------------------------------- mobile */

.gol-nav2-toggle {
	display: none;
	margin-left: auto;
	width: 44px; height: 44px;
	border: 1px solid var(--gol-line);
	border-radius: var(--gol-r-sm);
	background: #fff; cursor: pointer;
	align-items: center; justify-content: center;
}
.gol-nav2-burger, .gol-nav2-burger::before, .gol-nav2-burger::after {
	display: block; width: 18px; height: 2px;
	background: var(--gol-text); border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}
.gol-nav2-burger { position: relative; }
.gol-nav2-burger::before, .gol-nav2-burger::after { content: ""; position: absolute; left: 0; }
.gol-nav2-burger::before { top: -6px; }
.gol-nav2-burger::after  { top: 6px; }
.is-mobileopen .gol-nav2-burger { background: transparent; }
.is-mobileopen .gol-nav2-burger::before { transform: translateY(6px) rotate(45deg); }
.is-mobileopen .gol-nav2-burger::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 979px) {
	.gol-nav2 { display: flex; justify-content: flex-end; }
	.gol-nav2-toggle { display: inline-flex; }
	.gol-nav2-menu {
		display: none;
		position: absolute;
		left: 0; right: 0; top: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
		padding: 16px 20px 24px;
		background: #fff;
		border-top: 1px solid var(--gol-line);
		box-shadow: var(--gol-sh-2);
		max-height: calc(100vh - 70px);
		overflow-y: auto;
	}
	.is-mobileopen .gol-nav2-menu { display: flex; }
	.gol-nav2-list { flex-direction: column; align-items: stretch; gap: 2px; }
	.gol-nav2-link { width: 100%; justify-content: space-between; font-size: 1.02rem; min-height: 50px; }
	.gol-nav2-panel {
		position: static; width: auto;
		border: 0; box-shadow: none; padding: 4px 0 12px 12px;
		border-left: 2px solid var(--gol-line);
		border-radius: 0;
	}
	.gol-nav2-search { flex: 1 1 auto; order: -1; margin-bottom: 8px; }
	.gol-nav2-cta { width: 100%; }
	.gol-nav2-states { columns: 1; }
}
body.gol-noscroll { overflow: hidden; }

/* ------------------------------------------------------------- footer */

.gol-foottop {
	display: grid; gap: 34px;
	grid-template-columns: 1fr;
	max-width: 1440px; margin-inline: auto;
}
@media (min-width: 980px) { .gol-foottop { grid-template-columns: 300px 1fr; gap: 48px; } }
.gol-footcols { display: grid; gap: 28px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px)  { .gol-footcols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .gol-footcols { grid-template-columns: repeat(5, 1fr); } }
.gol-footcol { min-width: 0; }

/* ------------------------------------------------ header overflow fix */

/* The header row could exceed the viewport because the nav, search and CTA
   all had intrinsic minimums. min-width:0 lets flex actually shrink them,
   and the whole strip is clipped so nothing can spill to the right. */
.gol-siteheader { overflow-x: clip; }
.gol-headinner { min-width: 0; max-width: 100%; }
.gol-nav2, .gol-nav2-menu, .gol-nav2-list { min-width: 0; }
.gol-nav2-menu { flex-wrap: nowrap; }

@media (min-width: 980px) and (max-width: 1279px) {
	/* Between tablet and desktop there is not room for everything. The search
	   box is the first thing to go — it is duplicated on every search page. */
	.gol-nav2-search { display: none; }
	.gol-nav2-link { padding: 10px 10px; font-size: .9rem; }
}
@media (min-width: 1280px) {
	.gol-nav2-search { flex: 0 1 220px; }
}

/* Panels must never push the page wider than the viewport. */
.gol-nav2-panel { max-width: calc(100vw - 32px); }
@media (min-width: 900px) {
	/* Right-align the panel when its button sits near the right edge. */
	.gol-nav2-item:nth-last-child(-n+2) .gol-nav2-panel { left: auto; right: 0; }
}

/* --------------------------------------------------- claim NPI box */

.gol-claimcard {
	padding: 32px 30px;
	box-shadow: var(--gol-sh-3);
	border: 1px solid var(--gol-line-2);
	border-radius: var(--gol-r-lg);
}
.gol-claimcard h2 {
	display: flex; align-items: center; gap: 10px;
	margin: 0 0 10px;
}
.gol-claimcard h2 svg { color: var(--gol-brand); }
.gol-claimcard > p { margin-bottom: 22px; color: var(--gol-text-2); }
.gol-claimcard .gol-flabel {
	display: block; margin-bottom: 8px;
	font-weight: 650; font-size: .92rem;
}
.gol-claimcard .gol-npiform-row { margin-bottom: 14px; }
.gol-claimcard .gol-hint { margin: 0; line-height: 1.6; }
@media (max-width: 620px) {
	.gol-claimcard { padding: 24px 20px; }
	.gol-claimcard .gol-npiform-row { flex-direction: column; }
	.gol-claimcard .gol-npiform-row .gol-btn { width: 100%; }
}

/* ------------------------------------------------- results disclosure */

.gol-results-note {
	margin: -8px 0 18px;
	font-size: .88rem;
	color: var(--gol-muted);
}
.gol-results-note a { color: var(--gol-brand); }

/* ------------------------------------------------------ homepage tone */

.gol-eyebrow {
	display: inline-block;
	margin-bottom: 10px;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--gol-brand-soft);
	border: 1px solid #bfdbfe;
	color: var(--gol-brand-dk);
	font-size: .74rem; font-weight: 700;
	letter-spacing: .09em; text-transform: uppercase;
}
/* The provider pitch is a distinct band so the page does not read as if it
   cannot decide who it is for. */
.gol-providerlead { border-radius: var(--gol-r-lg); }
.gol-home .gol-ctaimage { margin-top: 8px; }

/* ======================================================= landing pages */

.gol-landing-body { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 1000px) {
	.gol-landing-body { grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
	.gol-landing-side { position: sticky; top: 84px; }
}
.gol-landing-main { min-width: 0; }

.gol-landing h1 {
	font-size: clamp(1.7rem, 4.4vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -.028em;
	margin: 0 0 8px;
}
.gol-landing .gol-sub { font-size: 1.06rem; max-width: 68ch; }

.gol-landing-about {
	margin-top: 34px;
	padding: 24px 26px;
	background: var(--gol-soft);
	border: 1px solid var(--gol-line);
	border-radius: var(--gol-r-lg);
}
.gol-landing-about h2 { font-size: 1.15rem !important; margin: 0 0 12px; }
.gol-landing-about p { color: var(--gol-text-2); font-size: .97rem; margin: 0 0 12px; }
.gol-landing-about p:last-child { margin-bottom: 0; }

.gol-side-block { padding: 18px; }
.gol-side-block h2 {
	font-size: .78rem !important;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: var(--gol-muted);
	font-weight: 700;
	margin: 0 0 12px;
	line-height: 1.4;
}
.gol-linklist { list-style: none; margin: 0; padding: 0; }
.gol-linklist a {
	display: flex; justify-content: space-between; gap: 10px;
	padding: 8px 10px; border-radius: var(--gol-r-sm);
	text-decoration: none; color: var(--gol-text-2);
	font-size: .91rem; line-height: 1.35; min-height: 38px;
	align-items: center;
}
.gol-linklist a:hover { background: var(--gol-brand-soft); color: var(--gol-brand-dk); text-decoration: none; }
.gol-linklist .gol-num { color: var(--gol-muted); font-size: .8rem; flex: 0 0 auto; }

.gol-side-claim {
	background: linear-gradient(180deg, var(--gol-brand-soft), #fff);
	border-color: #bfdbfe;
}
.gol-side-claim h2 { color: var(--gol-brand-dk); text-transform: none; font-size: 1.02rem !important; letter-spacing: -.01em; }
.gol-side-claim p { font-size: .91rem; color: var(--gol-text-2); margin: 0 0 14px; }

/* ============================================ searchable facet sections */
/* Long lists (specialty, state, city) become a filter box over a scrolling
   list rather than a wall of pills. Faster to use and it stops one facet
   pushing everything else below the fold. */

.gol-facet-search .gol-facet-list {
	max-height: 260px;
	overflow-y: auto;
	overscroll-behavior: contain;
	border: 1px solid var(--gol-line);
	border-radius: var(--gol-r-sm);
	background: #fff;
	padding: 4px;
}
.gol-facet-search .gol-facet-list::-webkit-scrollbar { width: 8px; }
.gol-facet-search .gol-facet-list::-webkit-scrollbar-thumb {
	background: var(--gol-line-2); border-radius: 4px;
}
.gol-facet-search .gol-facet-list > li { margin: 0; }
.gol-facet-search .gol-facet-list a {
	display: flex; align-items: center; gap: 10px;
	padding: 8px 10px; border-radius: 6px;
	text-decoration: none; color: var(--gol-text-2);
	font-size: .9rem; line-height: 1.35; min-height: 38px;
}
.gol-facet-search .gol-facet-list a:hover { background: var(--gol-soft); color: var(--gol-text); }
.gol-facet-search .is-on > a {
	background: var(--gol-brand); color: #fff; font-weight: 650;
}
.gol-facet-search .is-on > a .gol-facet-count { color: rgba(255,255,255,.85); }
.gol-facet-search .gol-facet-label {
	flex: 1 1 auto; min-width: 0;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.gol-facet-search .gol-facet-count {
	flex: 0 0 auto; font-size: .78rem; color: var(--gol-muted);
	font-variant-numeric: tabular-nums;
}
.gol-facet-none {
	margin: 8px 0 0; font-size: .85rem; color: var(--gol-muted); font-style: italic;
}

/* Tooltip trigger inside a facet heading. */
.gol-facet h3 .gol-tip { margin-left: 4px; }
.gol-facet h3 .gol-tip svg { color: var(--gol-muted); }

/* -------------------------------------------------- card, specialty led */

.gol-pcard-spec {
	display: inline-block;
	margin: 2px 0 4px;
	font-size: .95rem;
	font-weight: 650;
	padding: 7px 14px;
	max-width: 100%;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.gol-pcard-meta .gol-tip { border-bottom: 1px dotted var(--gol-line-2); cursor: help; }

.gol-landing-switch {
	margin: -6px 0 22px;
	padding: 10px 14px;
	background: var(--gol-soft);
	border: 1px solid var(--gol-line);
	border-radius: var(--gol-r-sm);
	font-size: .92rem;
	color: var(--gol-text-2);
}
.gol-landing-switch a { color: var(--gol-brand); font-weight: 600; }

/* ------------------------------------------ dropdowns, not mega panels */
/* The wide panel overflowed the viewport on the right and needed live counts
   on every page load. A directory header should get people into the search,
   not try to be the search — so these are plain menus, right-aligned so they
   can never run off the edge. */

.gol-nav2-panel {
	left: auto;
	right: 0;
	width: 280px;
	max-width: calc(100vw - 32px);
	padding: 10px;
}
.gol-nav2-panel.is-small { width: 280px; }
.gol-nav2-panel .gol-nav2-panelinner { grid-template-columns: 1fr !important; gap: 0; }
@media (max-width: 979px) {
	.gol-nav2-panel { position: static; width: auto; max-width: none; }
}

/* ==========================================================================
   3.4.3 — layout containment, and giving text pages some rhythm
   ========================================================================== */

/*
 * Grid tracks must be allowed to shrink.
 *
 * `repeat(2, 1fr)` looks like "two equal columns" but 1fr means
 * minmax(auto, 1fr) — the track cannot go below the widest thing inside it. A
 * provider card with a long practice name therefore forced its column wider
 * than the space available, and the whole grid spilled to the right, under the
 * landing sidebar. That is the "floating panel overlaying the content" — it was
 * not floating, the cards were escaping.
 */
/*
 * Two mistakes in the previous attempt, both of which squeezed provider names
 * into a single letter per line:
 *
 *   repeat(auto-fit, minmax(0, 1fr))  — auto-fit with a zero minimum has no
 *   reason to stop making columns, so eleven cards became eleven columns.
 *   A real minimum is what makes an auto grid responsive.
 *
 *   overflow-wrap: anywhere  — this does not merely permit breaking, it changes
 *   the element's min-content width to one character. Any grid track sized from
 *   its content then collapses. break-word allows the same breaks without
 *   lying about the minimum width.
 */
.gol-cards,
.gol-browse-grid,
.gol-dashcards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }

/*
 * Plans are NOT an auto grid.
 *
 * They were swept into the rule above, and auto-fill then did exactly what it
 * is designed to do: fit as many 280px columns as the space allows. In the
 * pricing column that is two, so Premium wrapped onto a row of its own and the
 * side-by-side comparison the page exists for stopped working. Three plans:
 * three columns, or one stacked. Never two.
 */
.gol-plans { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .gol-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gol-plan { min-width: 0; }
.gol-cards > *,
.gol-browse-grid > *,
.gol-dashcards > * { min-width: 0; }
.gol-pcard-name,
.gol-browse-name { overflow-wrap: break-word; }

/*
 * No explicit column counts any more. auto-fill with a 280px floor already
 * gives one column on a phone, two on a tablet, three or four on a desktop, and
 * — the part fixed counts kept getting wrong — the right number inside a
 * narrowed column such as the landing-page main area. The grid measures the
 * space it is actually in rather than guessing from the viewport.
 */
@media (min-width: 700px) {
	.gol-browse-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
}

/* The landing sidebar only earns a column once there is genuinely room for
   one. Below that it sits under the results, where it still gets read. */
@media (min-width: 1000px) and (max-width: 1179px) {
	.gol-landing-body { grid-template-columns: minmax(0, 1fr); }
	.gol-landing-side { position: static; }
	.gol-landing-side .gol-side-block { margin-bottom: 16px; }
}
@media (min-width: 1180px) {
	.gol-landing-body { grid-template-columns: minmax(0, 1fr) 320px; }
}
/* A sticky panel taller than the viewport can never scroll to its end. */
.gol-landing-side { min-width: 0; }
@media (min-width: 1180px) {
	.gol-landing-side {
		position: sticky; top: 84px;
		max-height: calc(100vh - 104px);
		overflow-y: auto;
		overscroll-behavior: contain;
	}
}

/* ------------------------------------------------- rhythm on text pages */

/*
 * A legal or explanatory page was one uninterrupted white column: every
 * paragraph the same weight, no landmarks, nothing for the eye to rest on. The
 * fix is not decoration, it is structure — headings that visibly start a new
 * section, and a few devices that break the column without shouting.
 */
.gol-marketing .wp-block-post-content > h2,
.entry-content > h2,
.wp-block-post-content > h2 {
	margin-top: 2.6em;
	padding-top: 1.1em;
	border-top: 1px solid var(--gol-line);
}
.wp-block-post-content > h2:first-child,
.entry-content > h2:first-child { margin-top: .4em; padding-top: 0; border-top: 0; }

.wp-block-post-content > h3, .entry-content > h3 { margin-top: 1.9em; }
.wp-block-post-content > p, .entry-content > p { margin-block: 0 1.15em; }

/* Opening paragraph of a page reads as a standfirst. */
.wp-block-post-content > p:first-of-type,
.entry-content > p:first-of-type {
	font-size: 1.14em;
	line-height: 1.6;
	color: var(--gol-text);
}

/* Callout — the thing worth stopping at. Used for the emergency notice, the
   "we never see your ID" line, and other statements that must not be skimmed. */
.gol-callout {
	background: var(--gol-soft);
	border-left: 4px solid var(--gol-brand);
	border-radius: 0 var(--gol-r-lg) var(--gol-r-lg) 0;
	padding: 18px 22px;
	margin-block: 1.8em;
}
.gol-callout p { margin: 0; max-width: none; }

/* A tinted lead band so a page opens with something other than white. */
.gol-leadband {
	background: linear-gradient(180deg, var(--gol-soft), #fff);
	border: 1px solid var(--gol-line);
	border-radius: var(--gol-r-lg);
	padding: clamp(22px, 4vw, 40px);
	margin-bottom: 2.2em;
}
.gol-leadband > h2:first-child {
	margin-top: 0; padding-top: 0; border-top: 0;
	font-size: clamp(1.5rem, 3.6vw, 2.1rem);
	letter-spacing: -.015em;
}
.gol-leadband p { color: var(--gol-text-2); }
.gol-leadband .wp-block-buttons { margin-top: 20px; }

/* Lists get room to breathe and a marker that is not a grey dot. */
.wp-block-post-content > ul, .entry-content > ul { padding-left: 1.15em; }
.wp-block-post-content > ul > li, .entry-content > ul > li { margin-bottom: .55em; }
.wp-block-post-content > ul > li::marker { color: var(--gol-brand); }
.wp-block-post-content > ol > li, .entry-content > ol > li { margin-bottom: .55em; }
.wp-block-post-content > ol > li::marker { color: var(--gol-brand); font-weight: 700; }

/* Tables on content pages: banded, scrollable, never squeezed. */
.gol-table { margin-block: 1.8em; }
.gol-table table { border-collapse: collapse; width: 100%; font-size: .96rem; }
.gol-table th {
	text-align: left; background: var(--gol-soft);
	font-size: .78rem; letter-spacing: .05em; text-transform: uppercase;
	color: var(--gol-text-2); padding: 11px 14px; border-bottom: 2px solid var(--gol-line);
}
.gol-table td { padding: 12px 14px; border-bottom: 1px solid var(--gol-line); vertical-align: top; }
.gol-table tbody tr:nth-child(even) { background: #fafbfc; }
.wp-block-table.gol-table { overflow-x: auto; }

/* Numbered and ticked lists inside side cards. */
.gol-numlist { counter-reset: n; list-style: none; padding: 0; margin: 0; }
.gol-numlist li {
	counter-increment: n; position: relative;
	padding-left: 34px; margin-bottom: 12px; font-size: .93rem;
}
.gol-numlist li::before {
	content: counter(n);
	position: absolute; left: 0; top: 1px;
	width: 22px; height: 22px; border-radius: 50%;
	background: var(--gol-brand); color: #fff;
	font-size: .75rem; font-weight: 700;
	display: grid; place-items: center;
}
.gol-ticklist { list-style: none; padding: 0; margin: 0; }
.gol-ticklist li { padding-left: 20px; position: relative; margin-bottom: 10px; font-size: .93rem; }
.gol-ticklist li::before {
	content: "—"; position: absolute; left: 0; color: var(--gol-brand); font-weight: 700;
}

/* ------------------------------------------------- featured placement form */

.gol-sponsor-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1080px) {
	.gol-sponsor-grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
}
.gol-sponsor-main { min-width: 0; }
.gol-sponsor-side { min-width: 0; display: grid; gap: 16px; }

.gol-fieldset {
	border: 1px solid var(--gol-line);
	border-radius: var(--gol-r-lg);
	padding: 22px 24px 6px;
	margin: 0 0 22px;
	background: #fff;
}
.gol-fieldset legend {
	padding: 0 10px; margin-left: -4px;
	font-size: .76rem; font-weight: 700;
	letter-spacing: .09em; text-transform: uppercase;
	color: var(--gol-brand-dk);
}
.gol-form-2col { display: grid; gap: 0 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { .gol-form-2col { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gol-form-row { margin-bottom: 18px; }
.gol-form-row label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 6px; }
.gol-form-row input, .gol-form-row select, .gol-form-row textarea { width: 100%; }
.gol-opt { font-weight: 400; color: var(--gol-text-2); font-size: .85em; }
.gol-btn-lg { padding: 14px 30px; font-size: 1.02rem; }
.gol-hp { position: absolute; left: -9999px; }

/* --------------------------------------- footer on plugin-rendered pages */

/*
 * The footer group declares a constrained layout with a 1440px content size,
 * and WordPress turns that into a stylesheet rule while the block renders —
 * adding it to the core-block-supports inline styles, which are printed by
 * wp_head().
 *
 * On a block template the page renders before the head is emitted, so the rule
 * arrives in time. Provider profiles are rendered by the plugin through the
 * theme's classic header.php / footer.php, where wp_head() has already printed
 * long before block_template_part('footer') runs. The rule is generated and
 * then thrown away, the footer loses its width and centring, and the columns
 * collapse into a strip down the left.
 *
 * Stating the widths here removes the dependency entirely, on every kind of
 * page, and costs nothing where the generated rule does arrive.
 */
.gol-sitefooter > *,
.gol-siteheader > * {
	max-width: 1440px;
	margin-inline: auto;
	width: 100%;
	box-sizing: border-box;
}
.gol-foottop { width: 100%; }
.gol-footcols { width: 100%; }

/* Footer links should never wrap mid-phrase just because a column is snug. */
.gol-footcols { grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); }
@media (min-width: 700px)  { .gol-footcols { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); } }
@media (min-width: 1100px) { .gol-footcols { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.gol-foot-list a { display: inline-block; }
.gol-foot-head { overflow-wrap: normal; hyphens: none; }

/* Admin bar on a profile: the status control sits with the edit toggle. */
.gol-adminbar { flex-wrap: wrap; gap: 10px 14px; }
.gol-adminbar-status {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: .84rem; font-weight: 600; color: var(--gol-text-2);
	margin-left: auto;
}
.gol-adminbar-status select {
	padding: 5px 10px; font-size: .86rem;
	border: 1px solid var(--gol-line); border-radius: 8px; background: #fff;
	min-height: 0; width: auto;
}

/* ==========================================================================
   3.4.5 — measured fixes
   Rendered in a real browser at 390 / 768 / 1024 / 1280 / 1440 and measured,
   rather than reasoned about. The numbers in the comments are what the
   previous rules actually produced.
   ========================================================================== */

/*
 * The card header was the real cause of the shredded names, and it was never
 * the grid.
 *
 * Measured in a 281px card: avatar 68 + gap 14 + badge 90 + gap 14 leaves 55px
 * for the name, and the name element rendered at exactly 56px — six lines of
 * four characters. .gol-pcard-id has min-width: 0, so flexbox was free to
 * crush it to whatever was left after two items that cannot shrink.
 *
 * Two changes: the name asks for a real basis, and the row is allowed to wrap
 * so the badge drops beneath the name instead of stealing from it.
 */
.gol-pcard-top { flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.gol-pcard-avatar,
.gol-pcard-orgicon { width: 56px !important; height: 56px !important; flex: 0 0 auto; }
.gol-pcard-id { flex: 1 1 150px; min-width: 0; }
.gol-pcard-top > .gol-tagchip { flex: 0 0 auto; margin-left: auto; }
.gol-pcard-name { display: block; line-height: 1.3; }

/*
 * A card narrower than this cannot hold a portrait, a name and a badge.
 *
 * 300 rather than a rounder 320: measured, the results column beside the facet
 * sidebar is 654px at a 1024px viewport, and a 320px floor plus the 18px gap
 * needs 658. Four pixels short dropped the whole grid to a single column.
 */
.gol-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

/*
 * Header: the logo was pinned to the far left and everything else to the far
 * right, with a wide empty middle. That is what flex-end on a full-width bar
 * does. The links now sit beside the logo where they read as navigation, and
 * only the search box and the claim button are pushed right.
 */
.gol-nav2 { flex: 1 1 auto; min-width: 0; }
.gol-nav2-menu { justify-content: flex-start; gap: 4px; }
.gol-nav2-list { flex: 0 0 auto; }
.gol-nav2-search { margin-left: auto; }
.gol-nav2-cta { flex: 0 0 auto; }
.gol-headinner { gap: 28px; padding-inline: 4px; }

/*
 * Footer: the columns must fill the width they are given.
 *
 * .gol-foottop is "300px 1fr" — the brand block, then the links. Measured at
 * 1440 the links track was 1092px and correct; the failure only appears on
 * plugin-rendered pages, where the block editor's constrained-layout CSS is
 * generated after wp_head() has already printed and is therefore lost. Without
 * it the group has no width of its own, and the grid resolves against
 * whatever it can find. Declaring the widths here removes the dependency.
 */
.gol-sitefooter { width: 100%; box-sizing: border-box; }
.gol-sitefooter > * { max-width: 1440px; margin-inline: auto; width: 100%; box-sizing: border-box; }
.gol-foottop { width: 100%; display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) {
	.gol-foottop { grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); gap: 48px; }
}
.gol-footbrand { min-width: 0; }
.gol-footcols { width: 100%; min-width: 0; }

/* The hidden attribute must win. A single `display` declaration anywhere in a
   stylesheet beats the user-agent rule for [hidden] and silently reveals an
   element that was meant to stay out of the way. */
.gol-wrap [hidden], .gol-facets [hidden], .gol-nav2 [hidden] { display: none !important; }

/* The footer's brand block, now emitted by the plugin rather than assembled
   from raw markup in the theme's template part. */
.gol-footbrand .wp-block-site-logo,
.gol-footbrand .custom-logo-link { display: block; margin: 0 0 12px; }
.gol-footbrand img { max-width: 148px; height: auto; }
.gol-footbrand-name {
	display: inline-block; margin-bottom: 12px;
	font-weight: 700; font-size: 1.15rem; color: var(--gol-text); text-decoration: none;
}
.gol-foot-blurb { margin: 0; font-size: .92rem; color: var(--gol-text-2); max-width: 34ch; }

/* ------------------------------------------- "why completeness matters" */

.gol-whycomplete .gol-sub { max-width: 68ch; margin-bottom: 26px; }
.gol-whygrid {
	display: grid; gap: 18px;
	grid-template-columns: minmax(0, 1fr);
	margin-bottom: 24px;
}
@media (min-width: 780px) { .gol-whygrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gol-whycard {
	background: #fff;
	border: 1px solid var(--gol-line);
	border-radius: var(--gol-r);
	padding: 22px 24px;
	min-width: 0;
}
.gol-whycard h3 {
	display: flex; align-items: center; gap: 9px;
	margin: 0 0 10px;
	font-size: 1.04rem !important; font-weight: 700; line-height: 1.3;
}
.gol-whycard h3 svg { color: var(--gol-brand); flex: 0 0 auto; }
.gol-whycard p { margin: 0; font-size: .96rem; color: var(--gol-text-2); max-width: none; }
.gol-whycomplete .gol-fineprint { max-width: 78ch; }

/*
 * Feature lists inside a plan stay in one column.
 *
 * .gol-controls goes two-up above 640px, which is right for a wide band and
 * wrong inside a plan card: at a third of the page each item wraps onto three
 * lines and the tick no longer lines up with anything. The list is read down,
 * not across.
 */
.gol-plan .gol-controls { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.gol-plan .gol-controls li { align-items: flex-start; }
.gol-plan .gol-controls li svg { margin-top: 3px; flex: 0 0 auto; }

/* ======================================================================
   Repeatable profile sections — education, locations, affiliations,
   causes, links. One set of rules for all five.
   ====================================================================== */

.gol-repeat .gol-hint { margin: 0 0 16px; max-width: 68ch; }
.gol-repeat-rows { display: grid; gap: 14px; }

.gol-repeat-row {
	position: relative;
	display: flex; align-items: flex-start; gap: 10px;
	background: var(--gol-soft);
	border: 1px solid var(--gol-line);
	border-radius: var(--gol-r);
	padding: 16px 16px 6px;
}
.gol-repeat-fields {
	display: grid; gap: 0 14px; flex: 1 1 auto; min-width: 0;
	grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 700px) {
	.gol-repeat-fields { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.gol-repeat-field { grid-column: span 3; }
	.gol-repeat-field.is-sm { grid-column: span 1; }
	.gol-repeat-field.is-full, .gol-repeat-field.is-check { grid-column: 1 / -1; }
}
.gol-repeat-field { margin-bottom: 12px; min-width: 0; }
.gol-repeat-label {
	display: block; margin-bottom: 5px;
	font-size: .78rem; font-weight: 700; letter-spacing: .04em;
	text-transform: uppercase; color: var(--gol-text-2);
}
.gol-repeat-field input, .gol-repeat-field select { width: 100%; }

.gol-repeat-del {
	flex: 0 0 auto;
	background: none; border: 1px solid transparent; border-radius: 8px;
	padding: 6px; cursor: pointer; color: var(--gol-muted); line-height: 0;
}
.gol-repeat-del:hover { color: #b42318; border-color: #fecdca; background: #fff5f4; }

.gol-repeat-add { margin-top: 4px; }
.gol-repeat-add[disabled] { opacity: .5; cursor: not-allowed; }
.gol-repeat-count { margin-left: 10px; font-size: .85rem; color: var(--gol-muted); }

.gol-checkline { display: inline-flex; align-items: center; gap: 8px; font-size: .94rem; }
.gol-checkline input { width: auto; }

/* Per-location hours: seven small fields, not a modal. */
.gol-hoursgrid {
	display: grid; gap: 8px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 110px), 1fr));
}
.gol-hourday { display: flex; flex-direction: column; gap: 4px; }
.gol-hourday span {
	font-size: .74rem; font-weight: 700; letter-spacing: .05em;
	text-transform: uppercase; color: var(--gol-muted);
}
.gol-hourday input { width: 100%; font-size: .9rem; padding: 7px 9px; }

/* Hospital lookup */
.gol-orgsearch { width: 100%; }
.gol-orgresults {
	position: absolute; z-index: 20; left: 16px; right: 56px;
	margin-top: 2px; max-height: 280px; overflow-y: auto;
	background: #fff; border: 1px solid var(--gol-line);
	border-radius: var(--gol-r); box-shadow: var(--gol-sh-2);
}
.gol-orgpick {
	display: block; width: 100%; text-align: left; cursor: pointer;
	background: none; border: 0; border-bottom: 1px solid var(--gol-line);
	padding: 10px 14px; font: inherit;
}
.gol-orgpick:last-child { border-bottom: 0; }
.gol-orgpick:hover, .gol-orgpick:focus { background: var(--gol-brand-soft); }
.gol-orgpick strong { display: block; font-size: .95rem; font-weight: 650; }
.gol-orgpick span { font-size: .85rem; color: var(--gol-text-2); }
.gol-orgnone { margin: 0; padding: 12px 14px; font-size: .9rem; color: var(--gol-text-2); }
.gol-orghit {
	margin: 6px 0 0; font-size: .84rem; color: #067647;
	display: flex; align-items: center; gap: 6px;
}

/* Read-only rendering */
.gol-eduline, .gol-causeline, .gol-affline { display: flex; gap: 11px; padding: 11px 0; align-items: flex-start; }
.gol-eduline { display: block; padding: 9px 0; border-bottom: 1px solid var(--gol-line); }
.gol-eduline:last-child { border-bottom: 0; }
.gol-edu-inst { display: block; font-weight: 650; color: var(--gol-text); }
.gol-edu-meta { display: block; font-size: .9rem; color: var(--gol-text-2); margin-top: 2px; }
.gol-aff-name { font-weight: 650; }
.gol-aff-verified { font-size: .78rem; color: #067647; white-space: nowrap; }
.gol-tag-primary { background: var(--gol-brand-soft); color: var(--gol-brand-dk); }

.gol-lochours {
	list-style: none; margin: 10px 0 0; padding: 0;
	display: grid; gap: 2px 16px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
	font-size: .9rem;
}
.gol-lochours li { display: flex; justify-content: space-between; gap: 10px; }
.gol-lochours li span:first-child { color: var(--gol-text-2); font-weight: 600; }

.gol-lockmsg {
	display: flex; align-items: center; gap: 8px;
	background: var(--gol-soft); border: 1px solid var(--gol-line);
	border-radius: var(--gol-r); padding: 11px 14px;
	font-size: .92rem; color: var(--gol-text-2); margin: 0 0 14px;
}

/* Profile photo control in the sidebar */
.gol-photoedit { margin: 12px 0 6px; text-align: left; }
.gol-photobtn { position: relative; overflow: hidden; cursor: pointer; }
.gol-photobtn input[type="file"] {
	position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%;
}
.gol-photodrop { margin-top: 10px; font-size: .86rem; color: var(--gol-text-2); }
.gol-photoedit .gol-hint { margin: 8px 0 0; font-size: .84rem; }

/* ================================================== rich text editing */

.gol-rte {
	border: 1px solid var(--gol-line);
	border-radius: var(--gol-r);
	background: #fff;
	overflow: hidden;
}
.gol-rte:focus-within { border-color: var(--gol-brand); box-shadow: 0 0 0 3px var(--gol-brand-soft); }

.gol-rte-bar {
	display: flex; flex-wrap: wrap; gap: 2px;
	padding: 6px; background: var(--gol-soft);
	border-bottom: 1px solid var(--gol-line);
}
.gol-rte-btn {
	min-width: 32px; height: 30px; padding: 0 8px;
	border: 1px solid transparent; border-radius: 6px;
	background: none; cursor: pointer;
	font-size: .9rem; line-height: 1; color: var(--gol-text-2);
}
.gol-rte-btn:hover { background: #fff; border-color: var(--gol-line); color: var(--gol-text); }
.gol-rte-btn:active { background: var(--gol-brand-soft); }
.gol-rte-b { font-weight: 800; }
.gol-rte-i { font-style: italic; font-family: Georgia, serif; }

.gol-rte-body {
	min-height: 150px; padding: 14px 16px;
	font-size: 1rem; line-height: 1.65; color: var(--gol-text);
	outline: 0; overflow-wrap: break-word;
}
.gol-rte-body:empty::before {
	content: attr(data-placeholder);
	color: var(--gol-muted);
}
/* The editor must look like the published page, or people format blind. */
.gol-rte-body p, .gol-richtext p { margin: 0 0 1em; max-width: none; }
.gol-rte-body p:last-child, .gol-richtext p:last-child { margin-bottom: 0; }
.gol-rte-body h3, .gol-richtext h3 { font-size: 1.15rem; margin: 1.4em 0 .5em; }
.gol-rte-body h4, .gol-richtext h4 { font-size: 1.02rem; margin: 1.2em 0 .4em; }
.gol-rte-body ul, .gol-rte-body ol,
.gol-richtext ul, .gol-richtext ol { margin: 0 0 1em; padding-left: 1.3em; }
.gol-rte-body li, .gol-richtext li { margin-bottom: .35em; }
.gol-rte-body blockquote, .gol-richtext blockquote {
	margin: 1em 0; padding-left: 14px;
	border-left: 3px solid var(--gol-brand); color: var(--gol-text-2);
}
.gol-richtext { max-width: 70ch; }
.gol-richtext a { color: var(--gol-brand); }

/* Media tab */
.gol-mediaedit { margin: 14px 0 20px; }
.gol-gallery.is-editing { gap: 12px; }
.gol-galitem { position: relative; display: block; cursor: pointer; }
.gol-galitem img { display: block; width: 100%; border-radius: var(--gol-r); }
.gol-galdrop {
	display: flex; align-items: center; gap: 6px; justify-content: center;
	margin-top: 6px; font-size: .82rem; color: var(--gol-text-2);
}
.gol-galdrop input { width: auto; }

/* ======================================================== FAQ block */

.gol-faqs { border-top: 1px solid var(--gol-line); }
.gol-faq { border-bottom: 1px solid var(--gol-line); }
.gol-faq summary {
	cursor: pointer; list-style: none;
	padding: 15px 34px 15px 0; position: relative;
	font-weight: 650; font-size: 1.02rem; line-height: 1.4;
	color: var(--gol-text);
}
.gol-faq summary::-webkit-details-marker { display: none; }
.gol-faq summary::after {
	content: ""; position: absolute; right: 8px; top: 22px;
	width: 9px; height: 9px; border-right: 2px solid var(--gol-muted);
	border-bottom: 2px solid var(--gol-muted);
	transform: rotate(45deg); transition: transform .18s ease;
}
.gol-faq[open] summary::after { transform: rotate(-135deg); }
.gol-faq summary:hover { color: var(--gol-brand); }
.gol-faq-a { padding: 0 34px 18px 0; }
.gol-faq-a p { margin: 0 0 .8em; color: var(--gol-text-2); max-width: 70ch; }
.gol-faq-a p:last-child { margin-bottom: 0; }
.gol-faq-src {
	font-size: .78rem !important; letter-spacing: .04em; text-transform: uppercase;
	color: var(--gol-muted) !important; margin-top: 10px !important;
}
.gol-faqsuppress { background: var(--gol-soft); }
.gol-pubnote { margin-top: 10px; }

/* ==================================================== entity graph */

.gol-graph-group { margin-top: 26px; }
.gol-graph-group:first-of-type { margin-top: 14px; }
.gol-graph-group h3 {
	font-size: 1.02rem !important; margin: 0 0 2px;
	display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.gol-graph-group h3 a { text-decoration: none; color: inherit; }
.gol-graph-group h3 a:hover { color: var(--gol-brand); text-decoration: underline; }
.gol-graph-ic {
	display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 28px; border-radius: 8px; flex: 0 0 auto;
	background: var(--gol-soft); color: var(--gol-brand);
}
.gol-graph-count {
	font-size: .78rem; font-weight: 600; color: var(--gol-text-2);
	background: var(--gol-soft); border-radius: 999px; padding: 2px 9px;
}
.gol-graph-note { font-size: .86rem; color: var(--gol-muted); margin: 4px 0 10px 36px; }
.gol-graph-list {
	list-style: none; margin: 0 0 0 36px; padding: 0;
	display: grid; gap: 8px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}
.gol-graph-list a {
	display: flex; align-items: center; gap: 11px;
	padding: 9px 12px; min-width: 0;
	border: 1px solid var(--gol-line); border-radius: var(--gol-r);
	text-decoration: none; background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.gol-graph-list a:hover { border-color: #bfdbfe; box-shadow: var(--gol-sh-1); text-decoration: none; }
.gol-gchip-av {
	width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
	object-fit: cover; background: var(--gol-soft);
}
.gol-gchip-orgav {
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--gol-text-2);
}
.gol-gchip-txt { min-width: 0; }
.gol-graph-name {
	display: block; font-weight: 650; font-size: .93rem; color: var(--gol-text);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gol-graph-meta {
	display: block; font-size: .82rem; color: var(--gol-text-2); margin-top: 1px;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* The fold for the weaker groups: still in the HTML, out of the way. */
.gol-graph-more { margin-top: 22px; border-top: 1px solid var(--gol-line); }
.gol-graph-more > summary {
	cursor: pointer; padding: 14px 2px; list-style: none;
	font-weight: 600; font-size: .95rem; color: var(--gol-brand);
}
.gol-graph-more > summary::-webkit-details-marker { display: none; }
.gol-graph-more > summary::before {
	content: '▸'; display: inline-block; margin-right: 8px;
	transition: transform .15s ease;
}
.gol-graph-more[open] > summary::before { transform: rotate(90deg); }
@media (max-width: 560px) {
	.gol-graph-note, .gol-graph-list { margin-left: 0; }
}

/* ------------------------------------------------ procedure classification */
.gol-procchip {
	display: inline-block; padding: 2px 9px; border-radius: 999px;
	font-size: .74rem; font-weight: 700; letter-spacing: .03em; white-space: nowrap;
	background: var(--gol-soft); color: var(--gol-text-2);
}
.gol-procchip.is-procedure { background: #e8f5ee; color: #067647; }
.gol-procchip.is-imaging   { background: var(--gol-brand-soft); color: var(--gol-brand-dk); }
.gol-procchip.is-medicine,
.gol-procchip.is-anesthesia { background: #eef4ff; color: #3538cd; }
.gol-proc-hidden td { opacity: .45; }

/* --------------------------------------------------------- revert box */
.gol-revertbox { border-color: #fecdca; margin-top: 26px; }
.gol-revertbox > h2 { color: #b42318; }
.gol-revert-grid { display: grid; gap: 22px; grid-template-columns: minmax(0,1fr); }
@media (min-width: 780px) { .gol-revert-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.gol-revert-grid h3 { font-size: 1rem !important; margin: 0 0 6px; }
.gol-revert-grid p { font-size: .93rem; color: var(--gol-text-2); }
.gol-btn-danger {
	background: #b42318 !important; border-color: #b42318 !important; color: #fff !important;
}
.gol-btn-danger:hover { background: #912018 !important; }
