/*
 * Nurse-Family Partnership program page layout.
 * Scoped to the .chs-nfp-page block wrapper.
 * Build: 1.0.10.
 */

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

.chs-nfp-page,
.chs-nfp-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-nfp-main,
.chs-nfp-page-wrap,
.chs-nfp-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-nfp-main,
body.chs-alt-template .chs-nfp-page-wrap,
body.chs-alt-template .chs-nfp-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-nfp-page > .alignfull,
.chs-nfp-page > .wp-block-group.alignfull {
	width: 100% !important;
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

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

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

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

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

/* Program logo and introductory message. */
.chs-nfp-intro {
	width: 100%;
	max-width: none !important;
	margin: 0;
	padding: clamp(48px, 3.8vw, 72px) clamp(28px, 4vw, 76px) clamp(48px, 3.8vw, 72px);
	background: var(--chs-nfp-panel);
	text-align: center;
}

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

.chs-nfp-page .chs-nfp-program-logo {
	display: block;
	width: min(78%, 620px);
	margin: 0 auto clamp(24px, 1.75vw, 34px);
}

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

.chs-nfp-intro-title {
	margin: 0 0 7px;
	color: var(--chs-nfp-dark-blue) !important;
	font-size: clamp(29px, 2.05vw, 39px);
	font-weight: 700 !important;
	line-height: 1.18;
}

.chs-nfp-intro-copy {
	max-width: 1500px;
	margin: 0 auto;
	color: var(--chs-nfp-text) !important;
	font-size: clamp(18px, 1.42vw, 27px);
	font-weight: 400;
	line-height: 1.34;
}

/* Main two-column program content. */
.chs-nfp-page .chs-nfp-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-nfp-max));
	max-width: none !important;
	margin: 44px auto clamp(110px, 11vw, 210px);
}

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

.chs-nfp-main-image {
	width: 100%;
	margin: 0;
}

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

.chs-nfp-start-line {
	margin: clamp(30px, 2.6vw, 50px) 0 24px;
	color: var(--chs-nfp-pink) !important;
	font-size: clamp(27px, 2vw, 40px);
	font-weight: 700 !important;
	line-height: 1.22;
	text-align: center;
}

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

/* Shared Call / Text / Referral bar used on the normalized program pages. */
.chs-nfp-contact-bar {
	width: 100%;
	margin: 0 0 clamp(38px, 3vw, 58px);
	padding: clamp(25px, 2.05vw, 39px) clamp(24px, 2.3vw, 44px);
	background: var(--chs-nfp-contact-bg);
}

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

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

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

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

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

.chs-nfp-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-nfp-contact-blue);
	content: "";
	transform: translateY(-50%);
}

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

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

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

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

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

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

.chs-nfp-page .chs-nfp-referral-button .wp-block-button__link,
.chs-nfp-page .chs-nfp-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-nfp-pink) !important;
	color: var(--chs-nfp-white) !important;
	font-size: clamp(20px, 1.65vw, 31px) !important;
	font-weight: 600 !important;
	letter-spacing: 0;
	line-height: 1.15;
	text-align: center;
	text-transform: none;
	white-space: nowrap;
}

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

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

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

.chs-nfp-info-section p,
.chs-nfp-info-section li {
	color: var(--chs-nfp-text) !important;
	font-size: clamp(18px, 1.45vw, 28px);
	font-weight: 400;
	line-height: 1.38;
}

.chs-nfp-info-section p {
	margin: 0 0 12px;
}

.chs-nfp-info-section p:last-child {
	margin-bottom: 0;
}

.chs-nfp-info-section ul {
	margin: 8px 0 0;
	padding-left: 1.25em;
}

.chs-nfp-info-section li {
	margin: 0 0 8px;
	padding-left: 5px;
}

.chs-nfp-page .chs-nfp-info-section li::marker,
.chs-nfp-page .chs-nfp-info-section li::before {
	color: var(--chs-nfp-green) !important;
}

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

.chs-nfp-page .chs-nfp-learn-more a,
.chs-nfp-page .chs-nfp-learn-more a:visited {
	color: var(--chs-nfp-light-blue) !important;
	font-size: clamp(18px, 1.45vw, 28px);
	font-weight: 600 !important;
	line-height: 1.2;
	text-transform: uppercase;
}

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

/* Services panel. */
.chs-nfp-services {
	width: 100%;
	margin: 0;
}

.chs-nfp-services-heading {
	margin: 0;
	padding: clamp(25px, 2vw, 38px) 16px;
	background: var(--chs-nfp-dark-blue);
	color: var(--chs-nfp-white) !important;
	font-size: clamp(22px, 1.55vw, 30px);
	font-weight: 600 !important;
	line-height: 1.22;
	text-align: center;
}

.chs-nfp-services-list {
	margin: 0;
	padding: clamp(34px, 2.8vw, 54px) clamp(24px, 2.5vw, 48px) clamp(30px, 2.4vw, 46px);
	background: var(--chs-nfp-panel);
	text-align: center;
}

.chs-nfp-service-item {
	margin: 0 0 clamp(29px, 2.35vw, 45px);
}

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

.chs-nfp-service-item h3 {
	margin: 0 0 8px;
	color: var(--chs-nfp-dark-blue) !important;
	font-size: clamp(21px, 1.65vw, 32px);
	font-weight: 600 !important;
	line-height: 1.2;
}

.chs-nfp-service-item p {
	margin: 0;
	color: var(--chs-nfp-text) !important;
	font-size: clamp(18px, 1.45vw, 28px);
	font-weight: 400;
	line-height: 1.33;
}

/* Linked right-column media cards. */
.chs-nfp-media-card {
	margin: clamp(30px, 2.25vw, 43px) 0 0;
}

.chs-nfp-media-card > .wp-block-group__inner-container {
	gap: 0 !important;
}

.chs-nfp-page .chs-nfp-media-card .chs-nfp-media-image {
	position: relative;
	width: 100%;
	margin: 0 !important;
	margin-block: 0 !important;
	overflow: hidden;
	font-size: 0 !important;
	line-height: 0 !important;
}

.chs-nfp-media-image a {
	position: relative;
	display: block;
	font-size: 0 !important;
	line-height: 0 !important;
}

.chs-nfp-media-image img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	vertical-align: top;
}

.chs-nfp-video-image a::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: clamp(72px, 7.2vw, 122px);
	aspect-ratio: 1;
	background: url("https://www.chsandhsncfcoalitions.org/wp-content/uploads/2026/06/Icons-WatchVideo.png") center / contain no-repeat;
	content: "";
	filter: drop-shadow(0 2px 2px rgb(0 0 0 / 20%));
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.chs-nfp-page .chs-nfp-media-card .chs-nfp-media-caption,
.chs-nfp-page .chs-nfp-media-card .chs-nfp-media-image + .chs-nfp-media-caption {
	margin: 0 !important;
	margin-block: 0 !important;
}

/* The source JPG for Nia's card has an uneven white strip along its bottom. */
.chs-nfp-page .chs-nfp-media-image:not(.chs-nfp-video-image) img {
	margin-bottom: -4px !important;
}

/* Its pale outer pixel columns also make the caption look slightly wider. */
.chs-nfp-page .chs-nfp-media-image:not(.chs-nfp-video-image) + .chs-nfp-media-caption {
	width: calc(100% - 2px);
	margin-right: 1px !important;
	margin-left: 1px !important;
}

.chs-nfp-media-caption a,
.chs-nfp-media-caption a:visited {
	display: block;
	width: 100%;
	padding: clamp(20px, 1.65vw, 31px) 20px;
	border-radius: 0 0 11px 11px;
	background: var(--chs-nfp-dark-blue) !important;
	color: var(--chs-nfp-white) !important;
	font-size: clamp(20px, 1.55vw, 30px) !important;
	font-weight: 600 !important;
	line-height: 1.2;
	text-align: center;
}

.chs-nfp-media-caption a:hover,
.chs-nfp-media-caption a:active,
.chs-nfp-media-caption a:focus-visible {
	background: var(--chs-nfp-medium-blue) !important;
}

/* PDF and referral resource buttons. */
.chs-nfp-page .chs-nfp-resource-buttons {
	display: grid;
	gap: clamp(22px, 1.8vw, 34px);
	margin: clamp(28px, 2.2vw, 42px) 0 0;
}

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

.chs-nfp-page .chs-nfp-resource-buttons .wp-block-button__link,
.chs-nfp-page .chs-nfp-resource-buttons .wp-block-button__link:visited {
	display: block;
	width: 100%;
	padding: clamp(21px, 1.65vw, 31px) 18px;
	border: 0;
	border-radius: 11px;
	background: var(--chs-nfp-light-blue) !important;
	color: var(--chs-nfp-white) !important;
	font-size: clamp(20px, 1.55vw, 30px) !important;
	font-weight: 600 !important;
	letter-spacing: 0;
	line-height: 1.2;
	text-align: center;
	text-transform: none;
}

.chs-nfp-page .chs-nfp-resource-buttons .wp-block-button__link:hover,
.chs-nfp-page .chs-nfp-resource-buttons .wp-block-button__link:active,
.chs-nfp-page .chs-nfp-resource-buttons .wp-block-button__link:focus-visible {
	background: var(--chs-nfp-dark-blue) !important;
	color: var(--chs-nfp-white) !important;
}

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

.chs-nfp-intro-title,
.chs-nfp-start-line,
.chs-nfp-info-section h2,
.chs-nfp-services-heading,
.chs-nfp-service-item h3,
.chs-nfp-media-caption a,
.chs-nfp-page .chs-nfp-resource-buttons .wp-block-button__link {
	font-family: var(--chs-nfp-display-font) !important;
	font-weight: 400 !important;
}

.chs-nfp-page .chs-nfp-contact-item {
	font-size: clamp(22px, 1.75vw, 34px) !important;
}

.chs-nfp-page .chs-nfp-contact-item a {
	font-size: clamp(21px, 1.55vw, 30px) !important;
}

.chs-nfp-page .chs-nfp-text-keyword {
	font-size: 0.95em !important;
}

.chs-nfp-page .chs-nfp-referral-button .wp-block-button__link {
	font-size: clamp(22px, 1.75vw, 34px) !important;
}


/*
 * 1.0.10 PDF calibration.
 * Match the finalized Connect program-page typography/contact treatment while
 * preserving Nurse-Family Partnership colors and content-specific layout.
 */

/* Banner typography: PDF uses Bree 46.8 and Livvic 31.2 on the 1920px artboard. */
.chs-nfp-page .chs-nfp-intro-title {
	margin: 0 0 15px !important;
	color: var(--chs-nfp-dark-blue) !important;
	font-family: var(--chs-nfp-display-font) !important;
	font-size: clamp(36px, 2.4375vw, 46.8px) !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	line-height: 1.05 !important;
}

.chs-nfp-page .chs-nfp-intro-copy {
	width: min(80.9vw, 1554px);
	max-width: 1554px !important;
	margin: 0 auto !important;
	font-family: var(--chs-nfp-font) !important;
	font-size: clamp(20px, 1.625vw, 31.2px) !important;
	font-weight: 400 !important;
	letter-spacing: 0 !important;
	line-height: 1.2 !important;
}

/* Use the exact finalized Connect-page treatment for this shared block. */
.chs-nfp-page .chs-nfp-start-line {
	margin: clamp(30px, 2.6vw, 50px) 0 24px;
	color: var(--chs-nfp-pink) !important;
	font-family: var(--chs-nfp-display-font) !important;
	font-size: clamp(30px, 2.5vw, 48px) !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	line-height: 1.08 !important;
	text-align: center;
}

.chs-nfp-page .chs-nfp-spanish {
	color: var(--chs-nfp-contact-blue) !important;
	font-family: var(--chs-nfp-display-font) !important;
	font-weight: 600 !important;
	white-space: nowrap;
}

.chs-nfp-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-nfp-contact-bg);
}

.chs-nfp-page .chs-nfp-contact-item,
.chs-nfp-page .chs-nfp-contact-label,
.chs-nfp-page .chs-nfp-contact-item a,
.chs-nfp-page .chs-nfp-contact-item a:visited,
.chs-nfp-page .chs-nfp-text-keyword,
.chs-nfp-page .chs-nfp-referral-button .wp-block-button__link,
.chs-nfp-page .chs-nfp-referral-button .wp-block-button__link:visited {
	font-family: var(--chs-nfp-display-font) !important;
	font-weight: 600 !important;
}

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

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

/* PDF body hierarchy: Bree 36 headings and Livvic 31.2 body copy. */
.chs-nfp-page .chs-nfp-info-section h2,
.chs-nfp-page .chs-nfp-services-heading,
.chs-nfp-page .chs-nfp-service-item h3,
.chs-nfp-page .chs-nfp-media-caption a,
.chs-nfp-page .chs-nfp-resource-buttons .wp-block-button__link {
	font-family: var(--chs-nfp-display-font) !important;
	font-size: clamp(24px, 1.875vw, 36px) !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	line-height: 1.08 !important;
}

.chs-nfp-page .chs-nfp-info-section h2,
.chs-nfp-page .chs-nfp-service-item h3 {
	margin-bottom: 5px;
}

.chs-nfp-page .chs-nfp-info-section p,
.chs-nfp-page .chs-nfp-info-section li,
.chs-nfp-page .chs-nfp-service-item p {
	font-size: clamp(20px, 1.625vw, 31.2px) !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
}

.chs-nfp-page .chs-nfp-learn-more a,
.chs-nfp-page .chs-nfp-learn-more a:visited {
	font-size: clamp(20px, 1.5625vw, 30px) !important;
}

/* Bree's alternate Q used by the approved PDF (notably “Quit”). */
.chs-nfp-page .chs-nfp-service-item h3 {
	font-feature-settings: "ss01" 1, "ss03" 1 !important;
}

@media (min-width: 1180px) {
	.chs-nfp-page .chs-nfp-start-line {
		white-space: nowrap;
	}
}

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

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

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

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

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

@media (max-width: 720px) {
	.chs-nfp-intro {
		padding: 42px 22px 38px;
	}

	.chs-nfp-page .chs-nfp-program-logo {
		width: min(95%, 560px);
		margin-bottom: 24px;
	}

	.chs-nfp-intro-title {
		font-size: 28px;
	}

	.chs-nfp-intro-copy {
		font-size: 18px;
	}

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

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

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

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

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

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

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

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

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

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

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

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

	.chs-nfp-page .chs-nfp-resource-buttons .wp-block-button__link,
	.chs-nfp-media-caption a {
		font-size: 20px !important;
	}
}
