/*
 * Healthy Start Connect page layout.
 * Scoped to the .chs-connect-page block wrapper.
 * Build: 1.0.30.
 */

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

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

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

.chs-connect-page p,
.chs-connect-page li,
.chs-connect-page a {
	font-family: var(--chs-connect-body-font);
}

.chs-connect-page h1,
.chs-connect-page h2,
.chs-connect-page h3,
.chs-connect-page .chs-connect-start-line,
.chs-connect-page .chs-connect-contact-item,
.chs-connect-page .wp-block-button .wp-block-button__link {
	font-family: var(--chs-connect-display-font);
}

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

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

/* Connect logo and introductory copy
 * The approved 1920px program-page mockups use the same 558px gray intro band.
 * Logo width and vertical spacing below scale from that shared geometry. */
.chs-connect-intro {
	width: 100%;
	max-width: none !important;
	margin: 0;
	padding: clamp(48px, 4.2vw, 80px) clamp(28px, 4vw, 76px) clamp(44px, 3.75vw, 72px);
	background: var(--chs-connect-panel);
	text-align: center;
}

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

.chs-connect-page .chs-connect-logo {
	display: block;
	width: min(36.1vw, 693px);
	margin: 0 auto clamp(28px, 2.1vw, 40px);
}

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

.chs-connect-page .chs-connect-intro-title {
	margin: 0 0 15px;
	color: var(--chs-connect-blue) !important;
	font-family: var(--chs-connect-display-font) !important;
	/* PDF: BreeGRKvar-Regular 46.8 at 1920px = 2.4375vw.
	 * At the 1680px desktop reference this resolves to ~41px,
	 * making the centered title slightly narrower than the copy below. */
	font-size: clamp(36px, 2.4375vw, 46.8px) !important;
	font-weight: 400 !important;
	line-height: 1.05;
}

.chs-connect-page .chs-connect-intro-copy {
	max-width: 1320px !important;
	margin: 0 auto !important;
	color: var(--chs-connect-blue) !important;
	font-size: clamp(20px, 1.625vw, 31px);
	font-weight: 400;
	line-height: 1.08;
}

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

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

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

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

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

.chs-connect-spanish {
	color: var(--chs-connect-blue);
	white-space: nowrap;
}

/* Call, text, and referral bar */
.chs-connect-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-connect-contact);
}

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

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

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

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

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

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

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

.chs-connect-contact-label {
	display: block;
	margin-bottom: 7px;
	color: var(--chs-connect-pink);
	text-transform: uppercase;
	white-space: nowrap;
}

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

.chs-connect-text-keyword {
	color: var(--chs-connect-blue);
	font-family: var(--chs-connect-display-font);
	font-size: 0.9em;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

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

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

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

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

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

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

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

/* Programs and brochures sidebar */
.chs-connect-services {
	width: 100%;
	margin: 0;
}

.chs-connect-services-heading {
	margin: 0;
	padding: clamp(15px, 1.25vw, 24px) 16px;
	background: var(--chs-connect-blue);
	color: var(--chs-connect-white) !important;
	font-size: clamp(23px, 1.875vw, 36px);
	font-weight: 700;
	line-height: 1.22;
	text-align: center;
}

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

.chs-connect-service-item {
	margin: 0 0 clamp(28px, 2.25vw, 43px);
}

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

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

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

.chs-connect-page .chs-connect-brochure-buttons {
	display: grid;
	gap: clamp(22px, 1.8vw, 34px);
	margin: clamp(28px, 2.2vw, 42px) 0 0;
}

.chs-connect-brochure-buttons .wp-block-button {
	width: 100%;
}

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

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

/*
 * Bree in the browser renders visibly lighter than the embedded BreeGRKvar
 * used in the approved PDF. Use the stronger display weight throughout; the
 * intro headline also gets its own larger size above to match the mockup.
 */
.chs-connect-page .chs-connect-intro-title,
.chs-connect-page .chs-connect-start-line,
.chs-connect-page .chs-connect-contact-item,
.chs-connect-page .chs-connect-contact-label,
.chs-connect-page .chs-connect-contact-item a,
.chs-connect-page .chs-connect-text-keyword,
.chs-connect-page .chs-connect-referral-button .wp-block-button__link,
.chs-connect-page .chs-connect-info-section h2,
.chs-connect-page .chs-connect-services-heading,
.chs-connect-page .chs-connect-service-item h3,
.chs-connect-page .chs-connect-brochure-buttons .wp-block-button__link {
	font-family: var(--chs-connect-display-font) !important;
	font-weight: 600 !important;
}


/* Tighter Bree line boxes match the compact vertical rhythm in the mockup. */
.chs-connect-page .chs-connect-start-line,
.chs-connect-page .chs-connect-info-section h2,
.chs-connect-page .chs-connect-services-heading,
.chs-connect-page .chs-connect-service-item h3,
.chs-connect-page .chs-connect-brochure-buttons .wp-block-button__link {
	line-height: 1.08;
}

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

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

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

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

@media (min-width: 1180px) {
	.chs-connect-page .chs-connect-intro-title {
		white-space: nowrap;
	}
}

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

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

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

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

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

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

	.chs-connect-page .chs-connect-logo {
		width: min(94%, 560px);
		margin-bottom: 28px;
	}

	.chs-connect-page .chs-connect-intro-title {
		margin-bottom: 2px;
		font-size: 28px !important;
	}

	.chs-connect-page .chs-connect-intro-copy {
		max-width: 620px !important;
		margin-top: 0 !important;
		font-size: 18px !important;
	}

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

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

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

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

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

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

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

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

	.chs-connect-referral-button {
		justify-content: center;
	}

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

	.chs-connect-info-section p {
		font-size: 18px;
	}

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

	.chs-connect-service-item p {
		font-size: 18px;
	}

	.chs-connect-brochure-buttons .wp-block-button__link {
		font-size: 20px;
	}
}
