/* ==========================================================================
   Hughston Clinic – Homepage (2026 Redesign)
   Scoped to .hc-home so nothing leaks into the rest of the theme.
   ========================================================================== */

.hc-home {
	/* Palette (sampled from the mockup) */
	--hc-navy:        #0e2c4f;
	--hc-navy-deep:   #082241;
	--hc-navy-card:   #11365e;
	--hc-blue:        #2d6195;
	--hc-taupe:       #8f857b;
	--hc-taupe-dark:  #776e65;
	--hc-gold:        #e2b649;
	--hc-ink:         #1d2733;
	--hc-muted:       #948a85;
	--hc-rule:        #d5d8dd;
	--hc-mist:        #f2f3f4;
	--hc-white:       #fff;

	/* Type – swap for the theme's fonts if they're already loaded */
	--hc-font-serif: "adobe-jenson-pro-display", "Times New Roman", Georgia, serif;
	--hc-font-sans:  "ff-tisa-sans-web-pro", "Helvetica Neue", Arial, sans-serif;

	/* Layout */
	--hc-container: 1290px;
	--hc-gutter:    clamp(1.25rem, 4vw, 2.5rem);
	--hc-section-y: clamp(3.5rem, 7vw, 6rem);
	--hc-radius:    22px;

	color: var(--hc-ink);
	font-family: var(--hc-font-sans);
}

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

.hc-home img { display: block; max-width: 100%; height: auto; }

.hc-home ul { list-style: none; margin: 0; padding: 0; }

.hc-container {
	width: 100%;
	max-width: calc(var(--hc-container) + var(--hc-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--hc-gutter);
}

.hc-section { padding-block: var(--hc-section-y); }

.hc-home a:focus-visible,
.hc-home button:focus-visible {
	outline: 3px solid var(--hc-gold);
	outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Section heading (eyebrow + title + intro)
   -------------------------------------------------------------------------- */
.hc-heading {
	text-align: center;
	margin: 0 auto clamp(2rem, 4vw, 3rem);
	max-width: 52rem;
}

.hc-heading__eyebrow {
	margin: 0 0 .75rem;
	font-family: var(--hc-font-serif);
	font-size: 1.3rem;
	font-weight: 500;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--hc-muted);
}

.hc-heading__title {
	margin: 0;
	font-family: var(--hc-font-serif);
	font-size: 5rem;
	font-weight: 500;
	line-height: 1.05;
	color: var(--hc-navy);
}

.hc-heading__intro {
	margin: 1.25rem 0 0;
	font-size: 1.3rem;
	line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.hc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .9rem 1.5rem;
	font-family: var(--hc-font-sans);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none;
	border: 0;
	border-radius: 2px;
	cursor: pointer;
	transition: background-color .2s ease;
}

.hc-btn--taupe { background: var(--hc-taupe); color: var(--hc-white); }
.hc-btn--taupe:hover { background: var(--hc-taupe-dark); color: var(--hc-white); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hc-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	color: var(--hc-white);
	background: var(--hc-navy);
	isolation: isolate;
}

.hc-hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
}

.hc-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hc-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(14, 44, 79, .5) 0%, rgba(14, 44, 79, .1) 100%);
}

.hc-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	min-height: clamp(30rem, 44vw, 40rem);
	justify-content: center;
	padding-block: clamp(4rem, 8vw, 6.5rem);
}

.hc-hero__eyebrow {
	color: #fff;
	margin: 0 0 1.25rem;
	font-family: var(--hc-font-serif);
	font-size: 1.6rem;
	font-weight: 500;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.hc-hero__title {
	margin: 0;
	font-family: var(--hc-font-serif);
	font-size: 8rem;
	font-weight: 500;
	line-height: .85;
	color: var(--hc-white);
}

.hc-hero__intro {
	color: #fff;
	max-width: 750px;
	margin: 1.75rem 0 2rem;
	font-family: "ff-tisa-sans-web-pro",sans-serif;
	font-size: 1.3rem;
	line-height: 1.65;
}

/* "Our Network" bar */
.hc-network {
	display: flex;
	align-items: stretch;
	background: var(--hc-navy);
	min-height: 4.75rem;
}

.hc-network__label {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	padding: 0 clamp(1.25rem, 3.5vw, 3.25rem);
	background: var(--hc-taupe);
	color: var(--hc-white);
	font-family: var(--hc-font-sans);
	font-size: clamp(.875rem, 1.3vw, 1.125rem);
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
	text-decoration: none;
}

a.hc-network__label:hover { background: var(--hc-taupe-dark); }

.hc-network__list {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
}

.hc-network__item {
	flex: 1 1 0;
	display: flex;
	justify-content: center;
	position: relative;
}

.hc-network__item + .hc-network__item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	height: 2.25rem;
	transform: translateY(-50%);
	border-left: 1px solid rgba(255, 255, 255, .6);
}

.hc-network__link {
	display: block;
	padding: 1.25rem .75rem;
	color: var(--hc-white);
	font-family: var(--hc-font-serif);
	font-size: clamp(1rem, 1.6vw, 1.5rem);
	font-weight: 500;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none;
}

.hc-network__link:hover { color: #c9d6e6; }

.hc-hero .hc-hero__media .hc-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

.hc-hero__overlay {
	position: absolute;
	inset: 0;
	background-color: #0e2c4f;
	opacity: 0.5;
	pointer-events: none;
}

@media (max-width: 767px) {
	.hc-network { flex-direction: column; }
	.hc-network__label { justify-content: center; padding-block: .9rem; }
	.hc-network__list { flex-wrap: wrap; }
	.hc-network__item { flex: 1 1 50%; }
	.hc-network__item + .hc-network__item::before { display: none; }
	.hc-network__item:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .25); }
	.hc-network__item:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .25); }
	.hc-network__link { padding-block: 1rem; }
	.hc-hero__title {
		font-size: 4rem;
	}
}

/* --------------------------------------------------------------------------
   What Hurts? (pain point tiles)
   -------------------------------------------------------------------------- */
.hc-pain__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.75rem);
}

.hc-pain__card {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: var(--hc-radius);
	overflow: hidden;
	background: var(--hc-mist);
	text-decoration: none;
}

.hc-pain__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

a.hc-pain__card:hover .hc-pain__img { transform: scale(1.04); }

.hc-pain__label {
	position: absolute;
	left: 0;
	bottom: 18%;
	width: 74%;
	padding: .55rem .75rem;
	background: var(--hc-navy);
	color: var(--hc-white);
	font-family: var(--hc-font-sans);
	font-size: clamp(.9375rem, 1.5vw, 1.4rem);
	font-weight: 600;
	text-align: center;
	line-height: 1.2;
	transition: background-color .2s ease;
}

a.hc-pain__card:hover .hc-pain__label { background: var(--hc-blue); }

@media (max-width: 1023px) {
	.hc-pain__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 479px) {
	.hc-pain__grid { gap: .75rem; }
	.hc-pain__label { width: 88%; bottom: 12%; font-size: .875rem; }
}

/* --------------------------------------------------------------------------
   Find a Location or Provider (shell + skin for the existing finder)
   -------------------------------------------------------------------------- */
.hc-finder {
	background: var(--hc-navy);
	color: var(--hc-white);
}

.hc-finder .hc-heading__eyebrow { color: rgba(255, 255, 255, .6); }

.hc-finder .hc-heading__title {
	color: var(--hc-white);
	font-size: clamp(2rem, 3.6vw, 3.25rem);
}

.hc-finder__app--empty {
	min-height: 32rem;
	background: var(--hc-navy-deep);
	border: 1px dashed rgba(255, 255, 255, .2);
}

/*
 * Skin for the existing finder: #providerSearch
 *   .tab-action > a.btnTab(.active)        – tab buttons
 *   #tabMap.tab  – WP Store Locator (#wpsl-wrap: search, #wpsl-gmap, #wpsl-result-list)
 *   #tabList.tab – provider search (.search-wrap, .state-wrap, #found, .list-provider, #btnMore)
 *
 * Tab show/hide (.tab.active, #btnMore.hide1) is left to the theme's existing
 * CSS/JS – nothing below changes `display` on those elements.
 * Prefixed with .hc-home .hc-finder__app #providerSearch so it outranks the theme and
 * WP Store Locator stylesheets without !important.
 */

.hc-home .hc-finder__app {
	--finder-pad: clamp(1rem, 2.2vw, 1.75rem);
	color: var(--hc-white);
	font-family: var(--hc-font-sans);
}

.hc-home .hc-finder__app #providerSearch {
	margin: 0;
	padding: 0;
	background: none;
}

/* ---- Tabs ---- */
.hc-home .hc-finder__app #providerSearch .tab-action {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

.hc-home .hc-finder__app #providerSearch .tab-action::before,
.hc-home .hc-finder__app #providerSearch .tab-action::after,
.hc-home .hc-finder__app #providerSearch .btnTab::before,
.hc-home .hc-finder__app #providerSearch .btnTab::after { content: none; }

.hc-home .hc-finder__app #providerSearch .btnTab {
	display: inline-flex;
	align-items: center;
	float: none;
	width: auto;
	height: auto;
	margin: 0;
	padding: .75rem 1.5rem;
	background: transparent;
	border: 1px solid #8f857b;
	border-bottom: 0;
	border-radius: 0;
	box-shadow: none;
	color: #8f857b;
	font-size: clamp(.9375rem, 1.3vw, 1.125rem);
	font-weight: 700;
	letter-spacing: .01em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	transition: color .2s ease, background-color .2s ease;
}

.hc-home .hc-finder__app #providerSearch .btnTab:hover { color: var(--hc-white); }

.hc-home .hc-finder__app #providerSearch .btnTab.active {
	background: var(--hc-taupe);
	border-color: var(--hc-taupe);
	color: var(--hc-white);
}

/* ---- Tab panels (display is left to the theme's tab script) ---- */
.hc-home .hc-finder__app #providerSearch .tab {
	margin: 0;
	padding: 1.5rem;
	background: var(--hc-navy-deep);
	border: 0;
	border-radius: 0;
	box-shadow: none;
	display: none;
}

.hc-home .hc-finder__app #providerSearch .tab.active {
	display: block;
}

/* ---- Shared form controls ---- */
.hc-home .hc-finder__app #providerSearch #wpsl-search-input,
.hc-home .hc-finder__app #providerSearch #txtSearch {
	box-sizing: border-box;
	width: 16rem;
	max-width: 100%;
	height: 2.75rem;
	margin: 0;
	padding: 0 .9rem;
	background: var(--hc-white);
	border: 1px solid var(--hc-rule);
	border-radius: 2px;
	box-shadow: none;
	color: var(--hc-ink);
	font: 400 .875rem/1 var(--hc-font-sans);
}

.hc-home .hc-finder__app #providerSearch :is(#wpsl-search-input, #txtSearch)::placeholder { color: #8a9099; }

/* ==== Find By Zip Code (WP Store Locator) ==== */

/* Layout: search row across the top, results left, map right */
.hc-home .hc-finder__app #providerSearch #wpsl-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
	grid-template-areas:
		"search search"
		"list   map";
	gap: 1.5rem 1.25rem;
	margin: 0;
	color: var(--hc-white);
}

.hc-home .hc-finder__app #providerSearch #wpsl-wrap .wpsl-search {
	grid-area: search;
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	background: none;
}

.hc-home .hc-finder__app #providerSearch #wpsl-search-wrap,
.hc-home .hc-finder__app #providerSearch #wpsl-search-wrap form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem;
	float: none;
	width: auto;
	margin: 0;
}

.hc-home .hc-finder__app #providerSearch #wpsl-search-wrap .wpsl-input {
	display: block;
	float: none;
	width: auto;
	margin: 0;
}

/* Keep the "Zip Code" label for screen readers; the mockup shows no visible label */
.hc-home .hc-finder__app #providerSearch #wpsl-search-wrap .wpsl-input label {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.hc-home .hc-finder__app #providerSearch .wpsl-search-btn-wrap {
	float: none;
	margin: 0;
}

.hc-home .hc-finder__app #providerSearch #wpsl-search-btn {
	height: 2.75rem;
	margin: 0;
	padding: 0 2.25rem;
	background: var(--hc-blue);
	background-image: none;
	border: 0;
	border-radius: 2px;
	box-shadow: none;
	color: var(--hc-white);
	font: 600 1rem/1 var(--hc-font-sans);
	text-shadow: none;
	cursor: pointer;
	transition: background-color .2s ease;
}

.hc-home .hc-finder__app #providerSearch #wpsl-search-btn:hover { background: #24527f; }

/* Results list */
.hc-home .hc-finder__app #providerSearch #wpsl-result-list {
	grid-area: list;
	float: none;
	width: auto;
	margin: 0;
}

.hc-home .hc-finder__app #providerSearch #wpsl-stores {
	overflow-y: auto;
	padding-right: .25rem;
	scrollbar-color: var(--hc-taupe) transparent;
	scrollbar-width: thin;
}

.hc-home .hc-finder__app #providerSearch #wpsl-stores ul {
	display: grid;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hc-home .hc-finder__app #providerSearch #wpsl-stores li {
	margin: 0;
	padding: 1.25rem 1.5rem;
	background: var(--hc-navy-card);
	border: 0;
	color: var(--hc-white);
	font-size: .9375rem;
	line-height: 1.7;
	list-style: none;
	overflow: visible;
}

.hc-home .hc-finder__app #providerSearch #wpsl-stores li.no-results {
	background: transparent;
	padding-inline: 0;
	color: rgba(255, 255, 255, .75);
}

.hc-home .hc-finder__app #providerSearch #wpsl-stores .wpsl-store-location {
	float: none;
	width: auto;
}

.hc-home .hc-finder__app #providerSearch #wpsl-stores li p {
	margin: 0;
	color: inherit;
	font: inherit;
}

.hc-home .hc-finder__app #providerSearch #wpsl-stores li p span { display: block; }

.hc-home .hc-finder__app #providerSearch #wpsl-stores li p + p { margin-top: 0; }

/* Store name */
.hc-home .hc-finder__app #providerSearch #wpsl-stores .wpsl-store-location > p:first-child > strong {
	display: block;
	margin-bottom: .75rem;
	color: var(--hc-white);
	font: 600 1.25rem/1.25 var(--hc-font-sans);
}

.hc-home .hc-finder__app #providerSearch #wpsl-stores .wpsl-store-location strong a {
	color: inherit;
	text-decoration: none;
}

.hc-home .hc-finder__app #providerSearch #wpsl-stores .wpsl-store-location strong a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* "Phone:" label reads as normal text in the mockup */
.hc-home .hc-finder__app #providerSearch #wpsl-stores .wpsl-contact-details strong { font-weight: 400; }

.hc-home .hc-finder__app #providerSearch #wpsl-stores .wpsl-contact-details a { color: inherit; }

/* Store thumbnail isn't in the mockup */
.hc-home .hc-finder__app #providerSearch #wpsl-stores .wpsl-store-thumb { display: none; }

/* Distance + Directions */
.hc-home .hc-finder__app #providerSearch #wpsl-stores .wpsl-direction-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	float: none;
	margin: 0;
	padding: 0;
	color: var(--hc-white);
}

.hc-home .hc-finder__app #providerSearch #wpsl-stores .wpsl-directions {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	margin: 0;
	color: var(--hc-white);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hc-home .hc-finder__app #providerSearch #wpsl-stores .wpsl-directions::after {
	content: "";
	width: 14px;
	height: 14px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 8h13M9 3l5 5-5 5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 8h13M9 3l5 5-5 5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .2s ease;
}

.hc-home .hc-finder__app #providerSearch #wpsl-stores .wpsl-directions:hover::after { transform: translateX(3px); }

/* Directions panel (only used if "redirect to Google Maps" is turned off) */
.hc-home .hc-finder__app #providerSearch #wpsl-direction-details {
	padding: 1.25rem 1.5rem;
	background: var(--hc-navy-card);
	color: var(--hc-white);
}

.hc-home .hc-finder__app #providerSearch #wpsl-direction-details a { color: var(--hc-white); }

/* Map */
.hc-home .hc-finder__app #providerSearch #wpsl-gmap {
	grid-area: map;
	float: none;
	width: 100%;
	margin: 0;
	color: var(--hc-ink); /* info windows sit on white */
}

.hc-home .hc-finder__app #providerSearch #wpsl-gmap a { color: var(--hc-navy); }

/* ==== Find By Provider ====
 * #tabList > .search-wrap (#btnReload, #txtSearch, a.btn-search)
 *            .state-wrap > a.by-state, #found, .list-provider > a.provider
 *            (img + span.name + span.tag), #btnMore
 * Selectors carry #providerSearch #tabList so they outrank the theme's
 * ID-based rules. Fonts are left to the theme so this tab matches the rest
 * of the site.
 */

/* Search row */
.hc-home .hc-finder__app #providerSearch #tabList .search-wrap {
	position: static;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 1rem;
	float: none;
	width: auto;
	max-width: none;
	margin: 0 0 1rem;
	padding: 0;
	background: none;
	border: 0;
	text-align: left;
}

.hc-home .hc-finder__app #providerSearch #tabList #txtSearch {
	position: static;
	flex: 0 1 13.75rem;
	width: 13.75rem;
	max-width: 100%;
	height: 2.75rem;
	margin: 0;
	padding: 0 .75rem;
	background: var(--hc-white);
	border: 0;
	border-radius: 8px;
	box-shadow: none;
	color: var(--hc-ink);
	font-size: .875rem;
}

.hc-home .hc-finder__app #providerSearch #tabList #txtSearch::placeholder { color: #8a9099; }

/* The search link is empty in the markup, so its label comes from CSS */
.hc-home .hc-finder__app #providerSearch #tabList .btn-search {
	position: static;
	inset: auto;
	transform: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: auto;
	min-width: 9rem;
	height: 2.75rem;
	margin: 0;
	padding: 0 1.75rem;
	background: #0b4a7d;
	background-image: none;
	border: 0;
	border-radius: 6px;
	box-shadow: none;
	color: var(--hc-white);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	text-indent: 0;
	transition: background-color .2s ease;
}

.hc-home .hc-finder__app #providerSearch #tabList .btn-search::before {
	content: "Search";
	position: static;
	display: inline;
	width: auto;
	height: auto;
	background: none;
	color: inherit;
}

.hc-home .hc-finder__app #providerSearch #tabList .btn-search::after { content: none; }

.hc-home .hc-finder__app #providerSearch #tabList .btn-search:hover { background: var(--hc-blue); }

/*
 * Not in the target design, but kept as a small link after the button:
 * without it there's no way to clear a state filter. To hide it, set
 * display: none here.
 */
.hc-home .hc-finder__app #providerSearch #tabList #btnReload {
	position: static;
	order: 3;
	margin: 0;
	color: rgba(255, 255, 255, .6);
	font-size: .8125rem;
	font-weight: 400;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hc-home .hc-finder__app #providerSearch #tabList #btnReload em { font-style: normal; }

.hc-home .hc-finder__app #providerSearch #tabList #btnReload:hover { color: var(--hc-white); }

/* State filter: plain uppercase links with pipe dividers */
.hc-home .hc-finder__app #providerSearch #tabList .state-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: .5rem 0;
	float: none;
	width: auto;
	margin: 0 0 2.25rem;
	padding: 0 0 0 .2rem;
	background: none;
	border: 0;
	text-align: left;
}

.hc-home .hc-finder__app #providerSearch #tabList .state-wrap .by-state {
	display: inline-flex;
	align-items: center;
	float: none;
	width: auto;
	min-width: 0;
	height: auto;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--hc-white);
	font-size: .875rem;
	font-weight: 600;
	letter-spacing: .01em;
	line-height: 1.4;
	text-transform: uppercase;
	text-decoration: none;
}

.hc-home .hc-finder__app #providerSearch #tabList .state-wrap .by-state::before,
.hc-home .hc-finder__app #providerSearch #tabList .state-wrap .by-state::after { content: none; }

.hc-home .hc-finder__app #providerSearch #tabList .state-wrap .by-state + .by-state::before {
	content: "|";
	position: static;
	display: inline;
	width: auto;
	height: auto;
	margin: 0 .85rem;
	background: none;
	color: var(--hc-white);
	font-weight: 400;
}

.hc-home .hc-finder__app #providerSearch #tabList .state-wrap .by-state:hover,
.hc-home .hc-finder__app #providerSearch #tabList .state-wrap .by-state:is(.active, .selected, .current) {
	background: none;
	color: #c9b9a8;
}

/* Result count isn't in the target design */
.hc-home .hc-finder__app #providerSearch #tabList #found { display: none; }

/* Provider grid */
.hc-home .hc-finder__app #providerSearch #tabList .list-provider {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 3rem 1.25rem;
	float: none;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0 .2rem;
	border: 0;
}

.hc-home .hc-finder__app #providerSearch #tabList .list-provider .provider {
	display: flex;
	flex-direction: column;
	align-items: center;
	float: none;
	width: auto;
	max-width: none;
	height: auto;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--hc-white);
	text-align: center;
	text-decoration: none;
}

/* Same 3:4 crop for every photo so mismatched source images line up */
.hc-home .hc-finder__app #providerSearch #tabList .list-provider .provider img {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	aspect-ratio: 3 / 4;
	margin: 0 0 .9rem;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: cover;
	object-position: center top;
	transition: opacity .2s ease;
}

.hc-home .hc-finder__app #providerSearch #tabList .list-provider .provider:hover img { opacity: .85; }

.hc-home .hc-finder__app #providerSearch #tabList .list-provider .provider .name {
	display: block;
	margin: 0;
	padding: 0;
	color: var(--hc-white);
	font-size: clamp(1rem, 1.5vw, 1.125rem);
	font-weight: 700;
	line-height: 1.25;
}

.hc-home .hc-finder__app #providerSearch #tabList .list-provider .provider:hover .name {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.hc-home .hc-finder__app #providerSearch #tabList .list-provider .provider .tag {
	display: block;
	margin: .5rem 0 0;
	padding: 0;
	color: var(--hc-white);
	font-size: .8125rem;
	font-weight: 600;
	line-height: 1.3;
}

/* Load More – same look as the Search button.
   `display` is only set when the theme isn't hiding it (.hide). */
.hc-home .hc-finder__app #providerSearch #tabList #btnMore {
	position: static;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	width: fit-content;
	min-width: 9rem;
	height: 2.75rem;
	margin: 2.5rem auto .5rem;
	padding: 0 1.75rem;
	background: #0b4a7d;
	background-image: none;
	border: 0;
	border-radius: 6px;
	box-shadow: none;
	color: #fff;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	text-indent: 0;
	transition: background-color .2s ease;
}

.hc-home .hc-finder__app #providerSearch #tabList #btnMore:not(.hide) { display: flex; }

.hc-home .hc-finder__app #providerSearch #tabList #btnMore:hover {
	background: var(--hc-blue);
	color: #fff;
}

/* Chevron – smaller and centered beside the text */
.hc-home .hc-finder__app #providerSearch #tabList #btnMore::before { content: none; display: none; }

.hc-home .hc-finder__app #providerSearch #tabList #btnMore::after {
	content: "";
	position: static;
	inset: auto;
	display: inline-block;
	flex: none;
	vertical-align: middle;
	width: 12px;
	height: 12px;
	margin: 0;
	padding: 0;
	border: 0;
	background: #2ec4b6; /* teal – swap for the theme's exact color if needed */
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 4l4.5 4.5L10.5 4' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 4l4.5 4.5L10.5 4' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
	transform: none;
	transition: transform .2s ease;
}

.hc-home .hc-finder__app #providerSearch #tabList #btnMore:hover::after { transform: translateY(2px); }

@media (max-width: 1023px) {
	.hc-home .hc-finder__app #providerSearch #tabList .list-provider { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	.hc-home .hc-finder__app #providerSearch #tabList .list-provider {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2rem 1rem;
	}
}

@media (max-width: 559px) {
	.hc-home .hc-finder__app #providerSearch #tabList #txtSearch { flex: 1 1 0; width: auto; min-width: 0; }
	.hc-home .hc-finder__app #providerSearch #tabList .btn-search { min-width: 0; padding: 0 1.25rem; }
	.hc-home .hc-finder__app #providerSearch #tabList .state-wrap .by-state + .by-state::before { margin: 0 .55rem; }
}

/* ---- Responsive ---- */
@media (max-width: 899px) {
	.hc-home .hc-finder__app #providerSearch #wpsl-wrap {
		grid-template-columns: 1fr;
		grid-template-areas:
			"search"
			"map"
			"list";
	}

	.hc-home .hc-finder__app #providerSearch #wpsl-gmap { min-height: 20rem; }
}

@media (max-width: 559px) {
	.hc-home .hc-finder__app #providerSearch .tab-action { gap: .5rem; }

	.hc-home .hc-finder__app #providerSearch .btnTab {
		flex: 1 1 0;
		justify-content: center;
		padding-inline: .5rem;
		font-size: .8125rem;
		text-align: center;
	}

	.hc-home .hc-finder__app #providerSearch #wpsl-search-wrap .wpsl-input,
	.hc-home .hc-finder__app #providerSearch .wpsl-search-btn-wrap,
	.hc-home .hc-finder__app #providerSearch #wpsl-search-input,
	.hc-home .hc-finder__app #providerSearch #wpsl-search-btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Patient Resources
   -------------------------------------------------------------------------- */
.hc-resources__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	max-width: 1000px;
	margin-inline: auto;
	margin: 0 auto !important;
}

.hc-resources__card {
	position: relative;
	display: block;
	aspect-ratio: 1.82 / 1;
	overflow: hidden;
	background: var(--hc-mist);
	text-decoration: none;
}

.hc-resources__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.hc-resources__card:hover .hc-resources__img { transform: scale(1.03); }

.hc-resources__label {
	position: absolute;
	right: 0;
	bottom: 0;
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	padding: .8rem 1.1rem;
	background: var(--hc-navy);
	color: var(--hc-white);
	font-size: clamp(.875rem, 1.3vw, 1.125rem);
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
	transition: background-color .2s ease;
}

.hc-resources__card:hover .hc-resources__label { background: var(--hc-blue); }

.hc-icon { flex: none; transition: transform .2s ease; }
.hc-resources__card:hover .hc-icon { transform: translateX(3px); }

@media (max-width: 559px) {
	.hc-resources__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.hc-reviews { background: var(--hc-mist); }

.hc-reviews .hc-heading__title { font-size: clamp(2.25rem, 4.4vw, 4rem); }

.hc-reviews__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: 68rem;
	margin-inline: auto;
	margin: 0 auto !important;
}

.hc-reviews__item {
	padding: .5rem clamp(1.25rem, 3vw, 2.25rem);
}

.hc-reviews__item + .hc-reviews__item { border-left: 1px solid var(--hc-rule); }

.hc-review { margin: 0; }

.hc-review__author {
	display: flex;
	align-items: center;
	gap: .9rem;
	margin-bottom: 1rem;
}

.hc-review__avatar {
	display: grid;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	flex: none;
	border-radius: 50%;
	background: var(--hc-navy);
	color: var(--hc-white);
	font-size: 1.375rem;
	font-weight: 500;
}

.hc-review__name {
	font-size: 1.1875rem;
	font-weight: 600;
	color: var(--hc-navy);
}

.hc-review__stars {
	display: flex;
	gap: .2rem;
	margin: 0 0 1rem;
	font-size: 1.5rem;
	line-height: 1;
}

.hc-star { color: #cfd3d8; }
.hc-star.is-on { color: var(--hc-gold); }

.hc-review__quote { margin: 0; }

.hc-review__quote p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.6;
}

.hc-reviews__score {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: .5rem 1.25rem;
	width: fit-content;
	max-width: 100%;
	margin: clamp(2.5rem, 5vw, 4rem) auto 0;
	padding: .9rem 0;
	border-block: 1px solid var(--hc-rule);
	text-align: center;
}

.hc-reviews__score-num {
	font-family: var(--hc-font-serif);
	font-size: clamp(2rem, 3vw, 2.5rem);
	font-weight: 500;
	color: var(--hc-navy);
	line-height: 1;
}

.hc-reviews__score-label {
	font-family: var(--hc-font-serif);
	font-size: 1.4rem;
	color: var(--hc-muted);
}

@media (max-width: 899px) {
	.hc-reviews__grid { grid-template-columns: 1fr; max-width: 34rem; }
	.hc-reviews__item { padding: 2rem 0; }
	.hc-reviews__item:first-child { padding-top: 0; }
	.hc-reviews__item + .hc-reviews__item {
		border-left: 0;
		border-top: 1px solid var(--hc-rule);
	}
}

/* --------------------------------------------------------------------------
   Awards & Accolades
   -------------------------------------------------------------------------- */
.hc-accolades .hc-heading__title { font-size: 4rem; }

.hc-accolades__carousel {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(.5rem, 2vw, 2rem);
	max-width: 68rem;
	margin-inline: auto;
}

.hc-accolades__track {
	display: flex;
	gap: clamp(1rem, 3vw, 2.5rem);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding-block: .5rem;
}

.hc-accolades__track::-webkit-scrollbar { display: none; }

.hc-accolades__item {
	flex: 0 0 calc((100% - clamp(1rem, 3vw, 2.5rem) * 3) / 4);
	scroll-snap-align: start;
	display: flex;
	justify-content: center;
}

.hc-accolades__img,
.hc-accolades__link {
	width: 100%;
	max-width: 13.75rem;
}

.hc-accolades__img {
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

.hc-accolades__nav {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 3.5rem;
	padding: 0;
	background: none;
	border: 0;
	color: var(--hc-navy);
	cursor: pointer;
}

.hc-accolades__nav:hover:not(:disabled) { color: var(--hc-blue); }
.hc-accolades__nav:disabled { opacity: .25; cursor: default; }

.hc-accolades__carousel.is-static .hc-accolades__nav { visibility: hidden; }

@media (max-width: 899px) {
	.hc-accolades__item { flex-basis: calc((100% - clamp(1rem, 3vw, 2.5rem)) / 2); }
}

@media (max-width: 479px) {
	.hc-accolades__item { flex-basis: 100%; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.hc-home *,
	.hc-home *::before,
	.hc-home *::after {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
