:root {
	color-scheme: light;
	--hcp-text: #0f172a;
	--hcp-muted: #475569;
	--hcp-accent: #0657f9;
}

body {
	font-family:
		system-ui,
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		Roboto,
		Oxygen-Sans,
		Ubuntu,
		Cantarell,
		sans-serif;
	background: radial-gradient(circle at 12% -10%, rgb(229 239 253 / 0.75), transparent 52%),
		radial-gradient(circle at 88% -5%, rgb(229 239 253 / 0.5), transparent 48%),
		#fdfefe;
	color: var(--hcp-text);
	margin: 0;
	line-height: 1.55;
}

.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: inherit;
}

#hcp-primary {
	flex: 1 0 auto;
}

.inner {
	box-sizing: border-box;
	max-width: clamp(340px, 92vw, 1160px);
	margin-inline: auto;
	padding-inline: clamp(14px, 3vw, 22px);
}

.reset-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hcp-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid rgb(226 235 246 / 0.85);
	background: rgb(253 254 254 / 0.9);
	box-shadow:
		0 1px 3px rgb(15 38 71 / 0.05),
		0 28px 64px rgb(71 137 237 / 0.08);
	backdrop-filter: saturate(165%) blur(10px);
}

.hcp-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 70px;
}

.hcp-brand .custom-logo-link img {
	max-height: 52px;
	width: auto;
}

.hcp-site-title {
	margin: 0;
	line-height: 1.05;
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	letter-spacing: -0.01em;
}

.hcp-site-title a {
	color: inherit;
	text-decoration: none;
}

@media (max-width: 860px) {
	.hcp-main-nav {
		display: none;
	}
}

.hcp-primary-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem clamp(12px, 2vw, 24px);
}

.hcp-primary-menu a {
	display: inline-block;
	padding-block: 0.45rem;
	color: inherit;
	text-decoration: none;
	font-weight: 600;
	opacity: 0.88;
	transition: opacity 140ms ease, color 140ms ease;
}

.hcp-primary-menu a:focus-visible {
	outline: 3px solid var(--hcp-accent);
	outline-offset: 3px;
	border-radius: 4px;
}

.hcp-primary-menu a:hover {
	opacity: 1;
	color: var(--hcp-accent);
}

.hcp-chip-tel {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem clamp(13px, 2vw, 18px);
	font-weight: 700;
	border-radius: 999px;
	background: linear-gradient(
		135deg,
		var(--hcp-accent),
		color-mix(in srgb, var(--hcp-accent) 70%, black)
	);
	color: #fff;
	box-shadow:
		0 2px 4px rgb(20 71 173 / 0.18),
		0 12px 32px rgb(20 112 239 / 0.18);
	transition:
		transform 175ms cubic-bezier(0.25, 0.82, 0.25, 1),
		box-shadow 175ms cubic-bezier(0.25, 0.82, 0.25, 1);
	text-decoration: none;
	line-height: 1.2;
}

.hcp-chip-tel:focus-visible {
	outline: 3px solid rgb(30 138 246 / 0.45);
	outline-offset: 3px;
}

.hcp-chip-tel:hover {
	transform: translateY(-1px);
	box-shadow:
		0 4px 8px rgb(20 71 173 / 0.22),
		0 18px 40px rgb(20 112 239 / 0.22);
}

.screen-reader-text {
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	white-space: nowrap;
}

.screen-reader-text:focus {
	background-color: #f8fafc;
	clip-path: none;
	clip: auto;
	color: inherit;
	height: auto;
	left: 1rem;
	top: 0.85rem;
	padding: 0.6rem 0.9rem;
	width: auto;
	z-index: 200;
	border-radius: 8px;
	text-decoration: none;
	box-shadow: 0 0 0 1px rgb(30 138 246 / 0.25), 0 22px 64px rgb(15 71 173 / 0.12);
}

.hcp-site-footer {
	background:
		radial-gradient(circle at 12% -30%, rgb(231 239 247 / 0.45), transparent 62%),
		linear-gradient(180deg, #f3f8ff 0%, #ecf3fc 52%, #e6eef8 100%);
	border-top: 1px solid rgb(214 225 239 / 0.75);
	box-shadow:
		inset 0 1px 0 rgb(255 255 255 / 0.75),
		0 -48px 80px rgb(26 115 237 / 0.08);
	position: relative;
	color: rgb(71 71 119);
}

.hcp-reading-list,
.hcp-reading-page {
	padding-block: clamp(34px, 6vw, 68px);
}

.narrow {
	max-width: 740px;
}

.hcp-reading-card {
	max-width: 720px;
	margin-bottom: clamp(22px, 4vw, 36px);
	padding-bottom: clamp(18px, 3vw, 28px);
	border-bottom: 1px solid rgb(226 237 246 / 0.75);
}

.hcp-reading-card .entry-title {
	margin: 0 0 0.45rem;
}

.hcp-reading-card .entry-title a {
	color: inherit;
	text-decoration: none;
	line-height: 1.08;
	transition: color 160ms ease;
}

.hcp-reading-card .entry-title a:hover {
	color: var(--hcp-accent);
}

.hcp-reading-notice p {
	padding: clamp(14px, 3vw, 18px);
	margin: clamp(18px, 4vw, 34px) 0 clamp(18px, 4vw, 34px);
	background: rgb(239 246 254);
	border-inline-start: 4px solid rgb(71 154 239);
	box-shadow:
		inset 0 1px 0 rgb(255 255 255 / 0.92),
		0 34px 64px rgb(24 117 239 / 0.16);
	border-radius: 10px;
}

.hcp-footer-grid {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	padding-block: clamp(26px, 5vw, 44px);
}

.hcp-footer-menu {
	display: flex;
	gap: 1rem clamp(16px, 3vw, 28px);
}

.hcp-footer-menu a {
	color: inherit;
	font-weight: 600;
	opacity: 0.88;
}

.hcp-footer-menu a:hover {
	color: var(--hcp-accent);
	opacity: 1;
}

/* Rebuilt Page Templates */
.hcp-rf-scraped-wrapper {
	padding-block: clamp(40px, 8vw, 80px);
	background: #fff;
}

.hcp-rf-scraped-wrapper .inner {
	max-width: 1000px;
}

.hcp-imported-live h1,
.hcp-imported-live .ct-heading h1 {
	display: none; /* Hide duplicate H1 from scrape as we provide a new Hero H1 */
}

.hcp-rf-hero--service {
	background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
}

.hcp-rf-hero--service .hcp-rf-display {
	color: var(--hcp-accent);
}

.hcp-rf-service-page .hcp-rf-scraped-wrapper,
.hcp-rf-location-page .hcp-rf-scraped-wrapper,
.hcp-rf-about-page .hcp-rf-scraped-wrapper,
.hcp-rf-contact-page .hcp-rf-scraped-wrapper {
	border-bottom: 1px solid rgb(226 235 246 / 0.85);
}

.hcp-rf-blog-single .hcp-rf-scraped-wrapper {
	background: transparent;
}

/* Breadcrumbs */
.hcp-breadcrumbs-wrapper {
	background: rgb(248 250 252 / 0.5);
	border-bottom: 1px solid rgb(226 235 246 / 0.5);
	padding-block: 0.75rem;
	font-size: 0.85rem;
	color: var(--hcp-muted);
}

.hcp-breadcrumbs-wrapper a {
	color: var(--hcp-accent);
	text-decoration: none;
}

.hcp-breadcrumbs-wrapper .separator {
	margin-inline: 0.5rem;
	opacity: 0.5;
}
