/*
 * T.E.A.M. DAD program page layout.
 * Scoped to the .chs-team-page block wrapper.
 * Build: 1.0.5.
 */

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

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

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

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

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

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

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

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

.chs-team-page .chs-team-program-logo {
	display: block;
	width: min(78%, 640px);
	margin: 0 auto clamp(27px, 2vw, 38px);
}

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

.chs-team-intro-title {
	margin: 0 0 4px;
	color: var(--chs-team-green) !important;
	font-family: var(--chs-team-font) !important;
	font-size: clamp(29px, 2.05vw, 39px);
	font-weight: 700 !important;
	line-height: 1.18;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.chs-team-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-team-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-team-contact-label {
	display: block;
	margin-bottom: 7px;
	color: var(--chs-shared-contact-pink) !important;
	font-family: var(--chs-team-font) !important;
	text-transform: uppercase;
	white-space: nowrap;
}

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

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

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

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

.chs-team-page .chs-team-referral-button .wp-block-button__link,
.chs-team-page .chs-team-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-team-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-team-page .chs-team-referral-button .wp-block-button__link:hover,
.chs-team-page .chs-team-referral-button .wp-block-button__link:active,
.chs-team-page .chs-team-referral-button .wp-block-button__link:focus-visible {
	background: var(--chs-shared-contact-green) !important;
	color: var(--chs-team-white) !important;
}

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

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

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

.chs-team-info-section p + p {
	margin-top: 10px;
}

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

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

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

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

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

.chs-team-services-heading {
	margin: 0;
	padding: clamp(25px, 2vw, 38px) 16px;
	background: var(--chs-team-blue);
	color: var(--chs-team-white) !important;
	font-size: clamp(20px, 1.45vw, 28px);
	font-weight: 700;
	line-height: 1.22;
	text-align: center;
}

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

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

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

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

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

/* Linked video cards from the existing T.E.A.M. DAD page. */
.chs-team-media-card {
	width: 100%;
	margin: clamp(28px, 2.2vw, 42px) 0 0;
}

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

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

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

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

.chs-team-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-team-page .chs-team-media-card .chs-team-media-caption,
.chs-team-page .chs-team-media-card .chs-team-media-image + .chs-team-media-caption {
	margin: 0 !important;
	margin-block: 0 !important;
}

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

.chs-team-media-caption a:hover,
.chs-team-media-caption a:active,
.chs-team-media-caption a:focus-visible {
	background: var(--chs-team-green) !important;
	color: var(--chs-team-white) !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


/* ==========================================================================
 * 1.0.5 - Final desktop calibration against approved TEAM Dad mockup.
 * Uses the finalized Connect page typography/contact-strip system where the
 * mockup uses the same Bree/Livvic hierarchy.
 * ========================================================================== */

/* Match the shared Connect contact colors exactly. */
.chs-team-page {
    --chs-shared-contact-pink: #e84699;
    --chs-shared-contact-green: #7ac142;
    --chs-shared-contact-blue: #1d438c;
    --chs-shared-contact-bg: rgb(29 67 140 / 27%);
}

/* Intro: PDF uses Bree Regular 46.8 for the green title and Livvic 31.2 copy. */
.chs-team-intro {
    padding: clamp(48px, 4.2vw, 80px) clamp(28px, 4vw, 76px) clamp(44px, 3.75vw, 72px);
}

.chs-team-page .chs-team-program-logo {
    width: min(68%, 540px);
    margin: 0 auto clamp(28px, 2.1vw, 40px);
}

.chs-team-page .chs-team-intro-title {
    margin: 0 0 15px !important;
    color: var(--chs-team-green) !important;
    font-family: var(--chs-team-display-font) !important;
    font-size: clamp(36px, 2.4375vw, 46.8px) !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    line-height: 1.05 !important;
}

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

/* Exact shared Connect "Connect with us" line. */
.chs-team-page .chs-team-start-line {
    margin: clamp(30px, 2.6vw, 50px) 0 24px !important;
    color: var(--chs-shared-contact-pink) !important;
    font-family: var(--chs-team-display-font) !important;
    font-size: clamp(30px, 2.5vw, 48px) !important;
    font-weight: 600 !important;
    line-height: 1.22 !important;
    text-align: center;
}

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

/* Exact shared Connect Call / Text / Referral strip. */
.chs-team-page .chs-team-contact-bar {
    width: 100%;
    margin: 0 0 clamp(28px, 2.2vw, 42px) !important;
    padding: clamp(27px, 2.25vw, 43px) clamp(24px, 2.3vw, 44px) !important;
    background: var(--chs-shared-contact-bg) !important;
}

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

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

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

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

.chs-team-page .chs-team-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-team-page .chs-team-contact-item,
.chs-team-page .chs-team-contact-label,
.chs-team-page .chs-team-contact-item a,
.chs-team-page .chs-team-text-keyword,
.chs-team-page .chs-team-referral-button .wp-block-button__link {
    font-family: var(--chs-team-display-font) !important;
    font-weight: 600 !important;
}

.chs-team-page .chs-team-contact-item {
    margin: 0;
    color: var(--chs-shared-contact-blue) !important;
    font-size: clamp(24px, 2vw, 38px) !important;
    line-height: 1.12;
}

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

.chs-team-page .chs-team-contact-item a,
.chs-team-page .chs-team-contact-item a:visited {
    color: var(--chs-shared-contact-blue) !important;
    font-size: clamp(24px, 2vw, 38px) !important;
    letter-spacing: 0;
    line-height: 1.15;
    white-space: nowrap;
}

.chs-team-page .chs-team-text-keyword {
    color: var(--chs-shared-contact-blue) !important;
    font-size: 1em !important;
    letter-spacing: 0;
    text-transform: none;
}

.chs-team-page .chs-team-referral-button .wp-block-button__link,
.chs-team-page .chs-team-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-team-white) !important;
    font-size: clamp(24px, 2vw, 38px) !important;
    letter-spacing: 0;
    line-height: 1.15;
    text-align: center;
    text-transform: none;
    white-space: nowrap;
}

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

.chs-team-page .chs-team-info-section h2 {
    margin-bottom: 5px !important;
}

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

.chs-team-page .chs-team-services-heading {
    padding: clamp(15px, 1.25vw, 24px) 16px !important;
}

.chs-team-page .chs-team-service-item h3 {
    margin-bottom: 5px !important;
}

.chs-team-page .chs-team-learn-more a,
.chs-team-page .chs-team-learn-more a:visited {
    font-family: var(--chs-team-font) !important;
    font-size: clamp(20px, 1.625vw, 31.2px) !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

.chs-team-page .chs-team-media-caption a,
.chs-team-page .chs-team-media-caption a:visited {
    padding: clamp(18px, 1.45vw, 28px) 20px !important;
}

.chs-team-page .chs-team-resource-buttons {
    gap: clamp(18px, 1.45vw, 28px);
    margin-top: clamp(22px, 1.7vw, 32px);
}

.chs-team-page .chs-team-resource-buttons .wp-block-button__link,
.chs-team-page .chs-team-resource-buttons .wp-block-button__link:visited {
    padding: clamp(18px, 1.45vw, 28px) 18px !important;
}

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

@media (max-width: 720px) {
    .chs-team-page .chs-team-program-logo {
        width: min(92%, 540px);
        margin-bottom: 27px;
    }

    .chs-team-page .chs-team-intro-title {
        font-size: 28px !important;
    }

    .chs-team-page .chs-team-intro-copy {
        max-width: 620px !important;
        font-size: 18px !important;
        line-height: 1.2 !important;
    }

    .chs-team-page .chs-team-start-line {
        font-size: 24px !important;
        white-space: normal;
    }

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

    .chs-team-page .chs-team-contact-bar {
        padding: 26px 22px !important;
    }

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

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

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

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

    .chs-team-page .chs-team-info-section h2,
    .chs-team-page .chs-team-service-item h3,
    .chs-team-page .chs-team-services-heading {
        font-size: 24px !important;
    }

    .chs-team-page .chs-team-info-section p,
    .chs-team-page .chs-team-service-item p {
        font-size: 18px !important;
    }

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