/*
 * Healthy Start program page layout.
 * Scoped to the .chs-hs-page block wrapper.
 * Build: 1.0.14.
 */

.chs-hs-page {
	--chs-hs-pink: #e84699;
	--chs-hs-green: #7ac142;
	--chs-hs-blue: #1d438c;
	--chs-hs-panel: #f2f2f2;
	--chs-hs-contact: rgb(29 67 140 / 27%);
	--chs-hs-white: #ffffff;
	--chs-hs-text: #000000;
	--chs-hs-max: 1848px;
	--chs-hs-font: "Livvic", Verdana, Arial, sans-serif;
	--chs-hs-display-font: "bree", "Livvic", Verdana, Arial, sans-serif;
	--chs-shared-contact-pink: #e84699;
	--chs-shared-contact-green: #7ac142;
	--chs-shared-contact-blue: #1d438c;
	--chs-shared-contact-bg: rgb(29 67 140 / 27%);
	width: 100%;
	max-width: none;
	margin: 0;
	color: var(--chs-hs-text);
	font-family: var(--chs-hs-font);
	font-feature-settings: "ss03" 1;
}

.chs-hs-page,
.chs-hs-page * {
	box-sizing: border-box;
}


/*
 * Shared program-page outer geometry normalization.
 * Matches the full-width wrapper treatment used by About Home Visiting and
 * Our Team while preserving this program's existing internal 1848px grid.
 */
.chs-hs-main,
.chs-hs-page-wrap,
.chs-hs-entry-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.chs-alt-template .site-inner,
body.chs-alt-template .site-content,
body.chs-alt-template .content-area,
body.chs-alt-template .site-main,
body.chs-alt-template .entry-content,
body.chs-alt-template .chs-hs-main,
body.chs-alt-template .chs-hs-page-wrap,
body.chs-alt-template .chs-hs-entry-content {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	float: none !important;
}

/*
 * Full-width program intro/header band. This removes residual alignfull /
 * block margins from Twenty Sixteen so the gray header treatment reaches the
 * viewport edge; the logo/copy remains constrained by its existing inner shell.
 */
.chs-hs-page > .alignfull,
.chs-hs-page > .wp-block-group.alignfull {
	width: 100% !important;
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.chs-hs-page > *,
.chs-hs-page h1,
.chs-hs-page h2,
.chs-hs-page h3,
.chs-hs-page p,
.chs-hs-page figure,
.chs-hs-page ul {
	margin-top: 0;
}

.chs-hs-page h1,
.chs-hs-page h2,
.chs-hs-page h3,
.chs-hs-page p,
.chs-hs-page li,
.chs-hs-page a,
.chs-hs-page .wp-block-button__link {
	font-family: var(--chs-hs-font) !important;
}

.chs-hs-page a {
	text-decoration: none;
}

.chs-hs-page a:focus-visible {
	outline: 3px solid var(--chs-hs-blue);
	outline-offset: 4px;
}

/* Program logo and introductory message.
 * The approved 1920px program-page mockup uses the same ~558px gray intro
 * band as the other coordinated program pages. Healthy Start's logo is taller,
 * so its top gap and logo-to-title spacing are tighter than Connect/NewboRN. */
.chs-hs-intro {
	width: 100%;
	max-width: none !important;
	margin: 0;
	padding: clamp(28px, 1.75vw, 34px) clamp(28px, 4vw, 76px) clamp(52px, 3.7vw, 71px);
	background: var(--chs-hs-panel);
	text-align: center;
}

.chs-hs-intro > .wp-block-group__inner-container {
	width: min(100%, 1580px);
	margin: 0 auto;
}

.chs-hs-page .chs-hs-program-logo {
	display: block;
	width: min(35.8vw, 688px);
	margin: 0 auto clamp(6px, 0.4vw, 8px);
}

.chs-hs-program-logo img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	image-rendering: auto;
}

/*
 * Intro typography is calibrated directly from the approved mockup.
 * Keep these selectors scoped/important so Twenty Sixteen heading rules do not
 * shrink the Bree title or add extra line-height between the title and copy.
 */
.chs-hs-page .chs-hs-intro-title {
	margin: 0 0 4px !important;
	color: var(--chs-hs-pink) !important;
	font-family: var(--chs-hs-display-font) !important;
	font-size: clamp(32px, 2.4375vw, 47px) !important;
	font-weight: 400 !important;
	letter-spacing: 0 !important;
	line-height: 1.05 !important;
}

.chs-hs-page .chs-hs-intro-copy {
	max-width: 1500px;
	margin: 0 auto !important;
	color: var(--chs-hs-text) !important;
	font-family: var(--chs-hs-font) !important;
	font-size: clamp(20px, 1.625vw, 31px) !important;
	font-weight: 400 !important;
	letter-spacing: 0 !important;
	line-height: 1.2 !important;
}

/* Main two-column program content. */
.chs-hs-page .chs-hs-content-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.62fr) minmax(390px, 1fr);
	align-items: start;
	gap: clamp(38px, 3.5vw, 68px);
	width: min(calc(100% - 68px), var(--chs-hs-max));
	max-width: none !important;
	margin: clamp(38px, 2.3vw, 44px) auto clamp(110px, 11vw, 210px);
}

.chs-hs-content-grid > .wp-block-column {
	min-width: 0;
	margin: 0;
}

.chs-hs-family-image {
	width: 100%;
	margin: 0;
}

.chs-hs-family-image img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}

.chs-hs-start-line {
	margin: clamp(30px, 2.6vw, 50px) 0 24px;
	color: var(--chs-shared-contact-pink) !important;
	font-size: clamp(30px, 2.5vw, 48px);
	font-family: var(--chs-hs-display-font) !important;
	font-weight: 700 !important;
	line-height: 1.22;
	text-align: center;
}

.chs-hs-spanish {
	color: var(--chs-shared-contact-blue) !important;
	white-space: nowrap;
}

/* Call, text, and referral bar. */
.chs-hs-contact-bar {
	width: 100%;
	margin: 0 0 clamp(28px, 2.2vw, 42px);
	padding: clamp(27px, 2.25vw, 43px) clamp(24px, 2.3vw, 44px);
	background: var(--chs-shared-contact-bg);
}

.chs-hs-contact-bar > .wp-block-group__inner-container {
	width: 100%;
}

.chs-hs-page .chs-hs-contact-columns {
	display: grid;
	grid-template-columns: minmax(0, 30fr) minmax(0, 36fr) minmax(0, 34fr);
	align-items: center;
	gap: 0;
	margin: 0;
}

.chs-hs-contact-columns > .wp-block-column {
	position: relative;
	min-width: 0;
	margin: 0;
	padding: 0 clamp(22px, 1.8vw, 34px);
}

.chs-hs-contact-columns > .wp-block-column:first-child {
	padding-left: 0;
}

.chs-hs-contact-columns > .wp-block-column:last-child {
	padding-right: 0;
}

.chs-hs-contact-columns > .wp-block-column:not(:last-child)::after {
	position: absolute;
	top: 50%;
	right: 0;
	width: 2px;
	height: clamp(66px, 5vw, 94px);
	background: var(--chs-shared-contact-blue);
	content: "";
	transform: translateY(-50%);
}

.chs-hs-contact-item {
	margin: 0;
	color: var(--chs-shared-contact-blue) !important;
	font-size: clamp(20px, 1.65vw, 31px);
	font-weight: 700;
	line-height: 1.12;
}

.chs-hs-contact-label {
	display: block;
	margin-bottom: 7px;
	color: var(--chs-shared-contact-pink) !important;
	font-family: var(--chs-hs-font) !important;
	text-transform: uppercase;
	white-space: nowrap;
}

.chs-hs-contact-item a,
.chs-hs-contact-item a:visited {
	color: var(--chs-shared-contact-blue) !important;
	font-family: var(--chs-hs-font) !important;
	font-size: clamp(19px, 1.45vw, 28px);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.15;
	white-space: nowrap;
}

.chs-hs-text-keyword {
	color: var(--chs-shared-contact-blue) !important;
	font-family: var(--chs-hs-font) !important;
	font-size: 0.9em;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

.chs-hs-referral-button {
	justify-content: center;
	margin: 0;
}

.chs-hs-referral-button .wp-block-button {
	width: 100%;
	max-width: 285px;
}

.chs-hs-page .chs-hs-referral-button .wp-block-button__link,
.chs-hs-page .chs-hs-referral-button .wp-block-button__link:visited {
	width: 100%;
	min-width: 0;
	max-width: 285px;
	padding: 17px 6px;
	border: 0;
	border-radius: 8px;
	background: var(--chs-shared-contact-pink) !important;
	color: var(--chs-hs-white) !important;
	font-size: clamp(20px, 1.65vw, 31px) !important;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.15;
	text-align: center;
	text-transform: none;
	white-space: nowrap;
}

.chs-hs-page .chs-hs-referral-button .wp-block-button__link:hover,
.chs-hs-page .chs-hs-referral-button .wp-block-button__link:active,
.chs-hs-page .chs-hs-referral-button .wp-block-button__link:focus-visible {
	background: var(--chs-shared-contact-green) !important;
	color: var(--chs-hs-white) !important;
}

/* Editable informational sections. */
.chs-hs-info-section {
	margin: 0 0 clamp(28px, 2.25vw, 42px);
}

.chs-hs-info-section h2 {
	margin: 0 0 10px;
	color: var(--chs-hs-pink) !important;
	font-size: clamp(24px, 1.875vw, 36px);
	font-weight: 700;
	line-height: 1.2;
}

.chs-hs-info-section p {
	margin: 0;
	color: var(--chs-hs-text) !important;
	font-size: clamp(20px, 1.625vw, 31px);
	font-weight: 400;
	line-height: 1.2;
}

.chs-hs-inline-pink {
	color: var(--chs-hs-pink);
	font-weight: 700;
}

.chs-hs-learn-more {
	margin: clamp(35px, 3vw, 58px) 0 0;
}

.chs-hs-page .chs-hs-learn-more a,
.chs-hs-page .chs-hs-learn-more a:visited {
	color: var(--chs-hs-green) !important;
	font-size: clamp(20px, 1.625vw, 31px);
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.chs-hs-page .chs-hs-learn-more a:hover,
.chs-hs-page .chs-hs-learn-more a:focus {
	color: var(--chs-hs-pink) !important;
}

/* Services panel and linked resources. */
.chs-hs-services {
	width: 100%;
	margin: 0;
}

.chs-hs-services-heading {
	margin: 0;
	padding: clamp(20px, 1.48vw, 29px) 16px;
	background: var(--chs-hs-green);
	color: var(--chs-hs-white) !important;
	font-size: clamp(23px, 1.875vw, 36px);
	font-weight: 700;
	line-height: 1.22;
	text-align: center;
}

.chs-hs-services-list {
	margin: 0;
	padding: clamp(30px, 2.17vw, 42px) clamp(24px, 2.5vw, 48px) clamp(28px, 2.2vw, 42px);
	background: var(--chs-hs-panel);
	text-align: center;
}

.chs-hs-service-item {
	margin: 0 0 clamp(34px, 2.85vw, 55px);
}

.chs-hs-service-item:last-child {
	margin-bottom: 0;
}

.chs-hs-service-item h3 {
	margin: 0 0 8px;
	color: var(--chs-hs-pink) !important;
	font-size: clamp(23px, 1.875vw, 36px);
	font-weight: 700;
	line-height: 1.2;
}

.chs-hs-service-item p {
	margin: 0;
	color: var(--chs-hs-text) !important;
	font-size: clamp(20px, 1.625vw, 31px);
	font-weight: 400;
	line-height: 1.2;
}

.chs-hs-page .chs-hs-resource-buttons {
	display: grid;
	gap: clamp(22px, 1.8vw, 34px);
	margin: clamp(26px, 1.875vw, 36px) 0 0;
}

.chs-hs-resource-buttons .wp-block-button {
	width: 100%;
}

.chs-hs-page .chs-hs-resource-buttons .wp-block-button__link,
.chs-hs-page .chs-hs-resource-buttons .wp-block-button__link:visited {
	display: block;
	width: 100%;
	padding: clamp(24px, 1.82vw, 35px) 18px;
	border: 0;
	border-radius: 11px;
	color: var(--chs-hs-white) !important;
	font-size: clamp(23px, 1.875vw, 36px) !important;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.2;
	text-align: center;
	text-transform: none;
}

.chs-hs-page .chs-hs-resource-green .wp-block-button__link,
.chs-hs-page .chs-hs-resource-green .wp-block-button__link:visited {
	background: var(--chs-hs-green) !important;
}

.chs-hs-page .chs-hs-resource-pink .wp-block-button__link,
.chs-hs-page .chs-hs-resource-pink .wp-block-button__link:visited {
	background: var(--chs-hs-pink) !important;
}

.chs-hs-page .chs-hs-resource-green .wp-block-button__link:hover,
.chs-hs-page .chs-hs-resource-green .wp-block-button__link:active,
.chs-hs-page .chs-hs-resource-green .wp-block-button__link:focus-visible {
	background: var(--chs-hs-pink) !important;
	color: var(--chs-hs-white) !important;
}

.chs-hs-page .chs-hs-resource-pink .wp-block-button__link:hover,
.chs-hs-page .chs-hs-resource-pink .wp-block-button__link:active,
.chs-hs-page .chs-hs-resource-pink .wp-block-button__link:focus-visible {
	background: var(--chs-hs-green) !important;
	color: var(--chs-hs-white) !important;
}

/* Lighter display weight for secondary headings, contact text, and buttons. */
.chs-hs-page .chs-hs-contact-item,
.chs-hs-page .chs-hs-contact-label,
.chs-hs-page .chs-hs-contact-item a,
.chs-hs-page .chs-hs-text-keyword,
.chs-hs-page .chs-hs-referral-button .wp-block-button__link,
.chs-hs-page .chs-hs-info-section h2,
.chs-hs-page .chs-hs-learn-more a,
.chs-hs-page .chs-hs-services-heading,
.chs-hs-page .chs-hs-service-item h3,
.chs-hs-page .chs-hs-resource-buttons .wp-block-button__link {
	font-family: var(--chs-hs-display-font) !important;
	font-weight: 400 !important;
}

.chs-hs-page .chs-hs-learn-more a {
	font-family: var(--chs-hs-font) !important;
	font-weight: 600 !important;
}

/* Contact bar: match the heavier, slightly larger type in the approved mockup. */
.chs-hs-page .chs-hs-contact-item,
.chs-hs-page .chs-hs-contact-label,
.chs-hs-page .chs-hs-contact-item a,
.chs-hs-page .chs-hs-text-keyword,
.chs-hs-page .chs-hs-referral-button .wp-block-button__link {
	font-family: var(--chs-hs-display-font) !important;
	font-weight: 400 !important;
}

.chs-hs-page .chs-hs-intro-title,
.chs-hs-page .chs-hs-start-line,
.chs-hs-page .chs-hs-info-section h2 {
	font-family: var(--chs-hs-display-font) !important;
	font-weight: 400 !important;
}

.chs-hs-page .chs-hs-contact-item {
	font-size: clamp(24px, 2vw, 38px) !important;
}

.chs-hs-page .chs-hs-contact-item a {
	font-size: clamp(24px, 2vw, 38px) !important;
}

.chs-hs-page .chs-hs-text-keyword {
	font-size: 1em !important;
}

.chs-hs-page .chs-hs-referral-button .wp-block-button__link {
	font-size: clamp(24px, 2vw, 38px) !important;
}

/* Shared contact block: exact desktop typography/geometry from finalized Connect page. */
.chs-hs-page .chs-hs-start-line,
.chs-hs-page .chs-hs-contact-item,
.chs-hs-page .chs-hs-contact-label,
.chs-hs-page .chs-hs-contact-item a,
.chs-hs-page .chs-hs-text-keyword,
.chs-hs-page .chs-hs-referral-button .wp-block-button__link {
	font-family: var(--chs-hs-display-font) !important;
	font-weight: 600 !important;
}

.chs-hs-page .chs-hs-start-line {
	line-height: 1.08;
}

.chs-hs-page .chs-hs-contact-item,
.chs-hs-page .chs-hs-contact-item a,
.chs-hs-page .chs-hs-referral-button .wp-block-button__link {
	font-size: clamp(24px, 2vw, 38px) !important;
}

.chs-hs-page .chs-hs-text-keyword {
	font-size: 1em !important;
}

@media (max-width: 1120px) {
	.chs-hs-page .chs-hs-content-grid {
		display: block;
		width: min(calc(100% - 48px), 940px);
		margin-top: 36px;
	}

	.chs-hs-sidebar {
		margin-top: 48px !important;
	}

	.chs-hs-services-heading {
		font-size: 28px;
	}

	.chs-hs-service-item h3 {
		font-size: 24px;
	}

	.chs-hs-service-item p {
		font-size: 20px;
	}
}

@media (max-width: 720px) {
	.chs-hs-intro {
		padding: 44px 22px 40px;
	}

	.chs-hs-page .chs-hs-program-logo {
		width: min(92%, 475px);
		margin-bottom: 27px;
	}

	.chs-hs-page .chs-hs-intro-title {
		font-size: 28px !important;
		line-height: 1.08 !important;
	}

	.chs-hs-page .chs-hs-intro-copy {
		font-size: 18px !important;
	}

	.chs-hs-intro-break {
		display: none;
	}

	.chs-hs-page .chs-hs-content-grid {
		width: calc(100% - 32px);
		margin-top: 28px;
		margin-bottom: 90px;
	}

	.chs-hs-start-line {
		font-size: 24px;
	}

	.chs-hs-spanish {
		display: block;
		margin-top: 3px;
	}

	.chs-hs-contact-bar {
		padding: 26px 22px;
	}

	.chs-hs-page .chs-hs-contact-columns {
		display: block;
	}

	.chs-hs-contact-columns > .wp-block-column {
		padding: 0;
		text-align: center;
	}

	.chs-hs-contact-columns > .wp-block-column + .wp-block-column {
		margin-top: 24px;
		padding-top: 24px;
		border-top: 2px solid var(--chs-shared-contact-blue);
	}

	.chs-hs-contact-columns > .wp-block-column::after {
		display: none;
	}

	.chs-hs-info-section h2 {
		font-size: 24px;
	}

	.chs-hs-info-section p,
	.chs-hs-service-item p {
		font-size: 18px;
	}

	.chs-hs-services-list {
		padding: 34px 24px;
	}

	.chs-hs-page .chs-hs-resource-buttons .wp-block-button__link {
		font-size: 20px !important;
	}
}
