/**
 * Native page styles — pixel-matched to live enactpartnership.org
 * (Elementor kit #9 + per-page CSS, measured at 1440/768/390).
 *
 * Shared tokens: green #357E44 (primary), teal #00747A (secondary),
 * text #222, accent #B21F4C, yellow #FDC82F, orange #E98300, blue #003478.
 * Headings IBM Plex Serif 300; body Helvetica 16/26.4.
 * @package astra-child
 */

/* =============== shared =============== */
.enact-native-page {
	font-family: Helvetica, Verdana, Arial, sans-serif;
	font-size: 16px;
	line-height: 26.4px;
	color: #222;
	width: 100%;      /* Astra otherwise caps <main> at the content width */
	max-width: none;
}
.enact-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0;
	box-sizing: border-box;
}
@media (max-width: 1320px) {
	.enact-container { padding: 0 20px; }
}
.enact-native-page h1, .enact-native-page h2,
.enact-native-page h3, .enact-native-page h4 {
	font-family: 'IBM Plex Serif', serif;
	font-weight: 300;
}
/* centered section heading (live: 40px/1.1 #222, 50px top pad) */
.enact-h2c {
	font-size: 40px;
	line-height: 1.3;
	color: #222;
	text-align: center;
	margin: 0 0 40px;
	padding-top: 0;
}
/* primary button (live: teal, 22px/600 uppercase, pad 20/90, square) */
.enact-btn {
	display: inline-block;
	background: #00747A;
	color: #fff !important;
	font-family: Helvetica, Verdana, Arial, sans-serif;
	font-size: 22px;
	font-weight: 600;
	text-transform: uppercase;
	line-height: 1;
	padding: 20px 90px;
	text-decoration: none;
	transition: background .2s ease;
}
.enact-btn:hover { background: #357E44; }

/* 3-col card grid (live: gap 30, cards 406) */
.enact-cards3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	padding-bottom: 40px;
}
.enact-card {
	padding: 33px 32px;
	text-align: center;
	box-sizing: border-box;
}
.enact-card h4 {
	font-size: 28.8px;
	line-height: 1.4;
	margin: 0 0 15px;
}
.enact-card p { margin: 0; }
.enact-card--white { background: #fff; }
.enact-card--white h4 { color: #357E44; }
.enact-card--teal { background: #00747A; color: #fff; }
.enact-card--teal h4 { color: #fff; }
/* small "More" button on teal cards (live: white bg, teal text) */
.enact-more {
	display: inline-block;
	background: #fff;
	color: #00747A !important;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	padding: 8px 18px;
	margin-top: 18px;
	text-decoration: none;
}
.enact-more:hover { background: #e8f4f4; }

/* =============== hero =============== */
.enact-hero {
	/* desktop: starts at y=0 behind the translucent overlay header (live: 841px box) */
	min-height: 841px;
	background-size: cover;
	background-position: 50% 0;
	background-repeat: no-repeat;
	display: flex;
	align-items: flex-start;
	position: relative;
}
/* live: full-hero Elementor overlay gradient(rgba(30,30,30,.89)→rgba(31,31,31,.38)) @ .7 */
.enact-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(30,30,30,.89) 0%, rgba(31,31,31,.38) 100%);
	opacity: .7;
	pointer-events: none;
}
.enact-hero__inner { position: relative; z-index: 1; }
.enact-hero__inner {
	max-width: 1280px;
	width: 100%;
	margin: 0 auto;
	padding: 180px 0 0; /* 84 + the 96px now behind the overlay header */
	box-sizing: border-box;
}
.enact-hero__box {
	width: 1024px;
	max-width: 92%;
	margin-left: 57px;
	padding: 50px;
	background-image: linear-gradient(137deg, #191919BA 25%, #3E3E3E4F 66%);
	box-sizing: border-box;
}
.enact-hero__title {
	font-size: 55px;
	line-height: 70px;
	color: #fff;
	margin: 0 0 20px;
	max-width: 850px;
}
.enact-hero__text {
	font-size: 16px;
	line-height: 26.4px;
	color: #fff;
	max-width: 60%;
	margin: 0 0 30px;
}
.enact-hero__btn { margin-bottom: 10px; }

/* =============== The ENACT Partnership =============== */
.enact-partnership { background: #fff; }
.enact-partnership__cols {
	display: flex;
	align-items: center;
	gap: 40px;
	width: 100%;
	padding-top: 65px;
	padding-bottom: 65px;
}
.enact-partnership__media {
	flex: 0 0 623px;
	min-height: 400px;
	background-size: cover;
	background-position: center center;
}
.enact-partnership__body { flex: 1 1 auto; max-width: 617px; }
.enact-partnership__body h2 {
	font-size: 51px;
	line-height: 1.2;
	color: #357E44;
	margin: 0 0 15px;
}
.enact-partnership__body h3 {
	font-size: 24px;
	line-height: 1.45;
	color: #357E44;
	margin: 0 0 20px;
}
.enact-partnership__body p { margin: 0; }

/* =============== mission =============== */
.enact-mission { background: #fff; padding: 20px 0 76px; }
.enact-mission .enact-h2c { margin-bottom: 24px; }
.enact-mission__text {
	text-align: center;
	max-width: 860px;
	margin: 0 auto;
}

/* =============== goals =============== */
.enact-goals { background: #E7F6FF; padding: 50px 0 0; }

/* =============== explore =============== */
.enact-explore { background: #fff; padding-top: 50px; }
.enact-explore .enact-cards3 { padding-bottom: 15px; }
.enact-explore .enact-h2c { margin-bottom: 50px; }
.enact-card--teal { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.enact-card--teal .enact-more { margin-top: auto; }
.enact-card--teal h4 + p { margin-bottom: 12px; }

/* =============== what's new carousel =============== */
.enact-whatsnew { background: #fff; padding: 50px 0 60px; } /* live: ~60px clearance below dots */
.enact-whatsnew .enact-h2c { margin-bottom: 35px; }
.enact-newscar { overflow: hidden; position: relative; padding-bottom: 34px; } /* room for the dots row */
.enact-newscar__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 166px) / 3);
	gap: 83px;
	transition: transform .45s ease;
}
.enact-newscar__slide { min-width: 0; }
.enact-newscar__img { display: block; }
.enact-newscar__img img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	display: block;
}
.enact-newscar__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12.8px;
	color: #6b7280;
	margin: 10px 0;
}
.enact-newscar__date { display: inline-flex; align-items: center; gap: 5px; }
.enact-newscar__title {
	font-size: 20.8px;
	line-height: 1.2;
	margin: 0;
}
.enact-newscar__title a { color: #357E44; text-decoration: none; }
.enact-newscar__title a:hover { color: #00747A; }
.enact-newscar__dots { text-align: center; position: absolute; bottom: 0; left: 0; right: 0; margin: 0; }
.enact-newscar__dots button {
	width: 10px; height: 10px;
	border-radius: 50%;
	border: none;
	background: #c9c9c9;
	margin: 0 4px;
	padding: 0;
	cursor: pointer;
}
.enact-newscar__dots button.is-active { background: #222; }

/* =============== responsive =============== */
@media (max-width: 1023.9px) {
	.enact-hero__title { font-size: 50px; line-height: 1.1em; }
	.enact-hero__box { width: 90%; margin-left: 0; }
	.enact-btn { font-size: 16px; padding: 20px 40px; }
	.enact-cards3 { grid-template-columns: 1fr; }
	.enact-partnership__cols { flex-direction: column-reverse; align-items: stretch; }
	.enact-partnership__media { flex: 0 0 auto; }
	.enact-partnership__body { max-width: none; }
	.enact-newscar__track { grid-auto-columns: calc((100% - 40px) / 2); gap: 40px; }
}
@media (max-width: 767.9px) {
	.enact-partnership__cols { flex-direction: column-reverse; }
	.enact-hero { min-height: 0; }
	.enact-hero__inner { padding-top: 50px; padding-bottom: 50px; }
	.enact-hero__box { width: 100%; padding: 30px 20px; }
	.enact-hero__title { font-size: 34px; line-height: 1.2; }
	.enact-hero__text { max-width: 100%; }
	.enact-h2c { font-size: 32px; }
	.enact-cards3 { grid-template-columns: 1fr; }
	.enact-partnership__body h2 { font-size: 38px; }
	.enact-partnership__body h3 { font-size: 20px; }
	.enact-newscar__track { grid-auto-columns: 100%; gap: 0; }
}

/* =============== page hero (About/Partnership/etc) =============== */
.enact-pagehero {
	/* desktop: hero starts at y=0 behind the translucent overlay header (like
	   live) — 600px box, title at abs y≈313 (96 header + 217) */
	min-height: 600px;
	background-size: cover;
	background-position: 0 0;
	background-repeat: no-repeat;
	display: flex;
	align-items: flex-start;
	padding: 313px 30px 50px;
	box-sizing: border-box;
	position: relative;
}
/* live: every page hero carries a dark Elementor background-overlay */
.enact-pagehero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(107deg, #000000 54%, #63636300 95%);
	opacity: .5;
	pointer-events: none;
}
.enact-pagehero .enact-container { width: 100%; position: relative; z-index: 1; }
/* per-page overlay variants measured on live 2026-07-16 */
.enact-newsevents .enact-pagehero::before { opacity: .65; }
.enact-partnership-page .enact-pagehero::before { background-image: none; background-color: #000; opacity: .62; }
.enact-contact .enact-pagehero::before { opacity: .25; } /* live contact hero overlay is much lighter */
.enact-pagehero h1 {
	font-size: 55px;
	line-height: 70px;
	color: #fff;
	margin: 0;
	padding-left: 79px;
}

/* left/centered section heading (live: 30px green) */
.enact-h2s {
	font-size: 30px;
	line-height: 1.3;
	color: #357E44;
	margin: 0 0 25px;
}
.enact-h2s--center { text-align: center; }

/* =============== about: infographic =============== */
.enact-infographic { padding: 60px 10px 10px; text-align: center; }
.enact-infographic img { max-width: 1140px; width: 100%; height: auto; }

/* =============== about: our history =============== */
.enact-history { padding: 70px 0 0; }
.enact-history__cols { display: flex; gap: 40px; align-items: stretch; }
.enact-history__media {
	flex: 0 0 620px;
	min-height: 732px;
	background-size: cover;
	background-position: center center;
}
.enact-history__body { flex: 1 1 auto; max-width: 620px; }
.enact-history__body h2 { font-size: 30px; color: #357E44; margin: 0 0 20px; }
.enact-history__body p { margin: 0 0 20px; }

/* =============== about: governance / impact =============== */
.enact-governance { padding-top: 40px; }
.enact-governance .enact-cards3 { padding-bottom: 0; }
.enact-card--orange { background: #E98300; color: #fff; }
.enact-card--orange h4 { color: #fff; }
.enact-impact { padding-top: 40px; }
.enact-impact .enact-cards3 { padding-bottom: 0; }

/* =============== about: role =============== */
.enact-role { padding-top: 40px; }
.enact-role .enact-h2s { margin-bottom: 15px; }
.enact-role__box {
	border-left: 5px solid #357E44;
	padding: 0 0 0 10px;
}
.enact-role__box ul { margin: 0; padding-left: 28px; }
.enact-role__box li { margin: 6px 0; }
.enact-role__link { margin: 20px 0 0; }
.enact-role__link a { color: #357E44; }

/* =============== about: learn more =============== */
.enact-learn { padding: 100px 0 45px; }
.enact-learn__cols { display: flex; gap: 33px; }
.enact-learn__grid { flex: 1 1 auto; }
.enact-learn__cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 35px 30px;
	margin-top: 35px;
}
.enact-card--blue {
	background: #E7F6FF;
	box-shadow: 0 4px 10px rgba(0,0,0,.08);
	text-decoration: none;
	color: #222;
	display: block;
}
.enact-card--blue h4 { color: #0f172a; }
.enact-card--blue:hover { box-shadow: 0 6px 16px rgba(0,0,0,.14); }
.enact-learn__media {
	flex: 0 0 502px;
	min-height: 620px;
	background-size: cover;
	background-position: center center;
}

@media (max-width: 1023.9px) {
	/* live tablet hero: ~558px, h1 55px top-aligned 190px in (both pages y=250);
	   header no longer overlays below desktop → natural crop */
	.enact-pagehero { min-height: 558px; padding-top: 190px; background-position: 0 0; background-size: cover; }
	.enact-hero { background-position: top center; background-size: cover; }
	.enact-pagehero h1 { font-size: 55px; line-height: 70px; padding-left: 0; }
	.enact-history__cols { flex-direction: column-reverse; }
	.enact-history__media { flex: 0 0 auto; min-height: 420px; }
	.enact-learn__cols { flex-direction: column; }
	.enact-learn__media { flex: 0 0 auto; min-height: 420px; }
}
@media (max-width: 767.9px) {
	/* live mobile hero: 430px, h1 50px, content centered (center dy≈278 incl. 40px bottom pad) */
	.enact-pagehero { min-height: 430px; padding: 166px 20px 40px; align-items: center; }
	.enact-pagehero h1 { font-size: 50px; line-height: 1.2; }
	.enact-learn__cards { grid-template-columns: 1fr; }
}

/* =============== partnership: intro + overlapping benefit cards =============== */
.enact-pt-intro { position: relative; padding: 70px 0 50px; }
.enact-pt-intro__cols { display: flex; gap: 40px; align-items: flex-start; }
.enact-pt-intro__media {
	flex: 0 0 620px;
	min-height: 738px;
	background-size: cover;
	background-position: center center;
}
.enact-pt-intro__body { flex: 1 1 auto; max-width: 620px; padding-top: 20px; }
.enact-pt-intro__body h2 {
	font-size: 51px;
	line-height: 1.3;
	color: #357E44;
	margin: 0 0 25px;
}
.enact-pt-intro__body p { margin: 0 0 12px; }
.enact-pt-intro__body .enact-pt-intro__benefits-h {
	font-size: 30px;
	line-height: 1.3;
	margin: 0;
}
/* cards ride over the photo: live top y=1093 (image 670..1408) */
.enact-pt-benefits {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: -315px 100px 0 180px;
}
.enact-card--shadow { box-shadow: 0 5px 16px rgba(0,0,0,.22); }
.enact-pt-benefits .enact-card { padding: 40px 25px; }

/* =============== partnership: partners =============== */
.enact-pt-partners { padding: 11px 0 216px; }
.enact-pt-partners .enact-h2c { margin-bottom: 30px; }
.enact-flags {
	max-width: 1008px;
	margin: 40px auto 0;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 40px;
}
.enact-flag { margin: 0; text-align: center; }
/* equal-sized circles (client request 2026-07-16; was 4:3 boxes) */
.enact-flag__img {
	width: 120px;
	max-width: 100%;
	aspect-ratio: 1 / 1;
	margin: 0 auto;
	border-radius: 50%;
	background-size: cover;
	background-position: center center;
	box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.enact-flag figcaption { margin-top: 10px; font-size: 16px; color: #222; }
.enact-flag figcaption a { color: #00747A; text-decoration: none; }
.enact-flag figcaption a:hover { color: #357E44; text-decoration: underline; }
.enact-pt-nonstate-h { margin-top: 187px; }
.enact-nslogos {
	margin: 60px auto 0;
	display: grid;
	grid-template-columns: repeat(3, 316px);
	gap: 30px 20px;
	justify-content: center;
}
.enact-nslogos img {
	width: 100%;
	height: 100px;
	object-fit: contain;
	display: block;
}

@media (max-width: 1023.9px) {
	/* live tablet order: text → benefit cards → photo (photo is DOM-first inside
	   __cols; display:contents lifts both into the container flex for ordering) */
	.enact-pt-intro .enact-container { display: flex; flex-direction: column; }
	.enact-pt-intro__cols { display: contents; }
	.enact-pt-intro__body { order: 1; }
	.enact-pt-benefits { order: 2; margin: 30px 0 0; grid-template-columns: 1fr; gap: 24px; }
	.enact-pt-intro__media { order: 3; flex: 0 0 auto; min-height: 420px; width: 100%; margin-top: 40px; }
	.enact-flags { grid-template-columns: repeat(4, 1fr); gap: 20px; }
	/* base grid is 3×316px = 988px and clips at tablet widths */
	.enact-nslogos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767.9px) {
	.enact-flags { grid-template-columns: repeat(2, 1fr); gap: 30px; }
	.enact-nslogos { grid-template-columns: repeat(2, 45%); }
	.enact-nslogos img { height: 70px; }
}

/* =============== contact =============== */
.enact-enquiries { padding: 65px 0 44px; }
.enact-enquiries .enact-h2c { margin-bottom: 16px; }
.enact-enquiries__mail { text-align: center; margin: 0; }
.enact-enquiries__mail a { color: #0274be; text-decoration: none; }
.enact-enquiries__mail a:hover { text-decoration: underline; }

/* =============== dashboard =============== */
.enact-underdev { min-height: 377px; padding-top: 54px; box-sizing: border-box; }
.enact-underdev h3 {
	text-align: center;
	color: #357E44;
	font-size: 20px;
	font-weight: 300;
	margin: 0;
}

/* =============== news & events grid =============== */
.enact-newsgrid-wrap { padding: 70px 0 60px; }
/* category filter bar + "View Past News & Events" (client request 2026-07-16) */
.enact-ne-filter {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 40px;
}
.enact-ne-filter__btn {
	font-family: Helvetica, Verdana, Arial, sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	padding: 13px 28px;
	background: #fff;
	color: #00747A;
	border: 1px solid #00747A;
	border-radius: 0;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}
.enact-ne-filter__btn:hover { background: #e6f1f2; }
.enact-ne-filter__btn.is-active { background: #00747A; color: #fff; }
.enact-newscard.is-past { display: none; }
.enact-ne-empty { text-align: center; color: #666; margin: 20px 0 0; }
.enact-ne-more { text-align: center; margin: 50px 0 0; }
.enact-ne-more__btn {
	font-family: Helvetica, Verdana, Arial, sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	padding: 15px 30px;
	background: #E98300;
	color: #fff;
	border: none;
	border-radius: 0;
	cursor: pointer;
	transition: background .15s ease;
}
.enact-ne-more__btn:hover { background: #00747A; }
.enact-newsgrid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 35px 30px;
	max-width: 1140px;
	margin: 0 auto;
}
.enact-newscard {
	background: #fff;
	border: 1px solid #f1f1f1;
	box-shadow: 0 2px 10px rgba(0,0,0,.06);
	display: flex;
	flex-direction: column;
}
.enact-newscard__imgwrap {
	position: relative;
	display: block;
	aspect-ratio: 360 / 237.6;   /* live crops every thumb to the 66% ratio */
	overflow: hidden;
}
.enact-newscard__imgwrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.enact-newscard__badge {
	position: absolute;
	top: 20px; right: 20px;
	background: #E98300;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .4px;
	text-transform: uppercase;
	line-height: 1;
	padding: 8px 16px;
	border-radius: 15px;
}
.enact-newscard__body { padding: 40px 30px 20px; flex: 1 1 auto; }
.enact-newscard__title {
	font-size: 21px;
	line-height: 1.3;
	margin: 0 0 25px;
	font-weight: 300;
}
.enact-newscard__title a { color: #00747A; text-decoration: none; }
.enact-newscard__title a:hover { color: #357E44; }
.enact-newscard__excerpt {
	font-size: 14px;
	line-height: 1.5;
	color: #777;
	margin: 0 0 25px;
}
.enact-newscard__more {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	color: #00747A;
	text-decoration: none;
}
.enact-newscard__more:hover { color: #357E44; }
.enact-newscard__foot {
	border-top: 1px solid #eee;
	padding: 15px 30px;
	font-size: 14px;
	color: #777;
}
@media (max-width: 1023.9px) {
	.enact-newsgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767.9px) {
	.enact-newsgrid { grid-template-columns: 1fr; }
}

/* =============== single post =============== */
.enact-single__container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 78px 20px 60px;
	box-sizing: content-box;
}
@media (min-width: 1180px) { .enact-single__container { padding-left: 0; padding-right: 0; } }
.enact-single__title {
	font-size: 30px;
	line-height: 1.3;
	color: #357E44;
	margin: 0 0 20px;
}
.enact-single__content { font-size: 16px; line-height: 26.4px; color: #222; }
.enact-single__content p { margin: 0 0 20px; }
.enact-single__content a { color: #003478; }
.enact-single__content ol, .enact-single__content ul { margin: 0 0 26px; padding-left: 30px; }
.enact-single__content li { margin-bottom: 8px; }
.enact-single__content img { max-width: 100%; height: auto; }
.enact-single__content iframe { max-width: 100%; }

/* prev/next: live "borders-yes" style */
.enact-postnav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid #dcdcdc;
	padding-top: 10px;
	margin-top: 40px;
	gap: 20px;
}
.enact-postnav__prev, .enact-postnav__next { flex: 1 1 50%; }
.enact-postnav__next { text-align: right; border-left: 1px solid #dcdcdc; padding-left: 20px; }
.enact-postnav a { text-decoration: none; display: block; }
.enact-postnav__label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .6px;
	text-transform: uppercase;
	color: #69727d;
	margin-bottom: 2px;
}
.enact-postnav__ptitle { font-size: 13px; color: #374151; }
.enact-postnav a:hover .enact-postnav__ptitle { color: #00747A; }

/* =============== reports & resources =============== */
.enact-pagehero--resources { align-items: flex-start; padding-top: 214px; position: relative; } /* 118 + 96 overlay */
/* live overlay: linear-gradient(107deg,#000 54%,transparent 95%) at 65% */
.enact-pagehero--resources::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(107deg, #000000 54%, #63636300 95%);
	opacity: .65;
}
.enact-pagehero--resources .enact-container { position: relative; z-index: 1; }
.enact-pagehero--resources h1 { padding-left: 79px; margin-bottom: 25px; }
.enact-pagehero__intro {
	color: #fff;
	font-size: 16px;
	line-height: 30px;
	max-width: 490px;
	margin: 0 0 0 79px;
}

/* key publications: photo left, heading + 2 teal cards overlapping photo */
.enact-keypubs { position: relative; padding: 70px 0 65px; }
.enact-keypubs__cols { display: flex; gap: 40px; }
.enact-keypubs__media {
	flex: 0 0 620px;
	min-height: 500px;
	background-size: cover;
	background-position: center center;
}
.enact-keypubs__head { flex: 1 1 auto; padding-top: 20px; }
.enact-keypubs__head h2 {
	font-size: 51px;
	line-height: 1.3;
	color: #357E44;
	margin: 0;
}
.enact-keypubs__cards {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 29px;
	margin: -373px 20px 0 541px;
}
.enact-keypubs__cards .enact-card { padding: 50px 45px 40px; }
.enact-keypubs__cards .enact-card h4 { font-size: 26px; margin-bottom: 18px; }
.enact-keypubs__cards .enact-card h4 a { color: #fff; text-decoration: none; }
.enact-keypubs__cards .enact-more { font-size: 16px; padding: 10px 25px; }

/* filter bar */
.enact-res-wrap { padding: 40px 0 80px; }
.enact-res { max-width: 1140px; margin: 0 auto; }
.enact-res__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 25px;
}
.enact-res__heading {
	font-size: 40px;
	line-height: 1.3;
	color: #222;
	margin: 0;
}
.enact-res__controls { display: flex; align-items: center; gap: 22px; }
.enact-res__count { font-size: 16px; color: #222; white-space: nowrap; }
.enact-res__select { position: relative; }
.enact-res__select-btn {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 5px;
	padding: 12px 44px 12px 18px;
	font-size: 14px;
	color: #555;
	cursor: pointer;
	line-height: 1.4;
	position: relative;
	min-width: 135px;
	text-align: left;
}
.enact-res__select-btn::after {
	content: "";
	position: absolute;
	right: 18px; top: 50%;
	width: 7px; height: 7px;
	border-right: 1.5px solid #999;
	border-bottom: 1.5px solid #999;
	transform: translateY(-70%) rotate(45deg);
	transition: transform .15s ease;
}
.enact-res__select.is-open .enact-res__select-btn::after { transform: translateY(-30%) rotate(225deg); }
.enact-res__select-list {
	position: absolute;
	top: calc(100% + 4px); right: 0;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 5px;
	box-shadow: 0 4px 14px rgba(0,0,0,.11);
	list-style: none;
	margin: 0; padding: 6px 0;
	min-width: 190px;
	z-index: 50;
}
.enact-res__select-list li {
	padding: 9px 18px;
	font-size: 14px;
	color: #555;
	cursor: pointer;
	white-space: nowrap;
}
.enact-res__select-list li:hover { background: #f6f6f6; }
.enact-res__select-list li.is-active { font-weight: 700; color: #222; }

/* rows */
.enact-res-row {
	display: flex;
	gap: 20px;
	border-top: 1px solid #eee;
	padding: 28px 10px 45px;
}
.enact-res-row[hidden] { display: none; }
.enact-res-row__thumb { flex: 0 0 287px; }
/* live is responsive here: 287 desktop / 244 tablet / 360 (full col) mobile */
@media (max-width: 1023.9px) {
	.enact-res-row__thumb { flex: 0 0 244px; }
}
.enact-res-row__thumb img { width: 100%; height: auto; display: block; }
.enact-res-row__body { flex: 1 1 auto; min-width: 0; }
.enact-res-row__title {
	font-size: 24px;
	line-height: 1.3;
	color: #357E44;
	font-weight: 300;
	margin: 0 0 6px;
}
.enact-res-row__cat {
	display: block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: #9a9a9a;
	margin-bottom: 20px;
}
.enact-res-row__desc { font-size: 16px; line-height: 26.4px; color: #222; }
.enact-res-row__desc p { margin: 0 0 20px; }
.enact-res-row__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.enact-res-row__btn {
	display: inline-block;
	background: #00747A;
	color: #fff !important;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	padding: 13px 24px;
	border-radius: 3px;
	text-decoration: none;
}
.enact-res-row__btn:hover { background: #357E44; }

@media (max-width: 1023.9px) {
	.enact-keypubs__cols { flex-direction: column-reverse; }
	.enact-keypubs__media { flex: 0 0 auto; min-height: 380px; }
	.enact-keypubs__cards { margin: 30px 0 0; }
	.enact-res__bar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767.9px) {
	.enact-keypubs__cards { grid-template-columns: 1fr; }
	.enact-res-row { flex-direction: column; }
	/* live mobile: 15px gutters, full-width thumb, scaled-down type */
	.enact-res-row__thumb { flex: 0 0 auto; max-width: none; width: 100%; }
	.enact-res-row { padding: 0 0 45px; }
	.enact-res-row__title { font-size: 20px; line-height: 26px; }
	.enact-res-row__desc { font-size: 14.592px; line-height: 24.0768px; }
	.enact-res .enact-container, .enact-res-wrap .enact-container { padding: 0 15px; }
	.enact-pagehero__intro { margin-left: 0; }
	.enact-pagehero--resources h1 { padding-left: 0; }
}

/* =============== blog grid (/news/ + archives) =============== */
.enact-blog { padding: 40px 0 60px; }
/* live: transparent header overlays the grid — cards start at y=0 (desktop) */
@media (min-width: 1024px) { .enact-blog { padding-top: 0; } }
.enact-blog__archive-title { font-size: 30px; color: #357E44; margin: 0 0 30px; }
.enact-bloggrid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 50px 30px;
}
.enact-blogcard__imgwrap {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	margin-bottom: 16px;
}
.enact-blogcard__imgwrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* card text — matched to live Astra blog archive computed styles (2026-07-16):
   cat/meta #003478, title 20px/600 #0F172A, excerpt 16px #364151 */
.enact-blogcard__cat {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #003478;
	margin-bottom: 8px;
}
.enact-blogcard__title { font-size: 20px; line-height: 1.3; margin: 0 0 8px; font-weight: 600; }
.enact-blogcard__title a { color: #0F172A; text-decoration: none; font-weight: 600; }
.enact-blogcard__title a:hover { color: #0274be; }
.enact-blogcard__meta { font-size: 13px; color: #003478; margin: 0 0 10px; }
.enact-blogcard__meta a { color: #003478; text-decoration: none; }
.enact-blogcard__excerpt { font-size: 16px; line-height: 1.65; color: #364151; margin: 0; }
/* live tablet/mobile blog (Astra archive): full-bleed 2:1 card images, text inset 20px */
@media (max-width: 1023.9px) {
	.enact-blog { padding-top: 10px; }
	.enact-blogcard__imgwrap { aspect-ratio: 2 / 1; }
	.enact-blog .enact-container { padding-left: 0; padding-right: 0; }
	.enact-blogcard__cat, .enact-blogcard__title, .enact-blogcard__meta,
	.enact-blogcard__excerpt, .enact-blog__archive-title { margin-left: 20px; margin-right: 20px; }
	.enact-blog__pagination { padding: 0 20px; }
}
.enact-blog__pagination { text-align: center; margin-top: 50px; }
.enact-blog__pagination .page-numbers {
	display: inline-block;
	min-width: 34px;
	padding: 7px 10px;
	margin: 0 4px;
	border-radius: 4px;
	background: #f2f2f2;
	color: #222;
	text-decoration: none;
	font-size: 14px;
}
.enact-blog__pagination .page-numbers.current { background: #00747A; color: #fff; }
.enact-blog__pagination a.page-numbers:hover { background: #e2eeee; }

/* single resource meta */
.enact-single__meta { color: #777; font-size: 14px; margin: -10px 0 25px; }
.enact-single .enact-res-row__btns { margin-top: 10px; }

@media (max-width: 1023.9px) { .enact-bloggrid { grid-template-columns: 1fr; } }
@media (max-width: 767.9px) { .enact-bloggrid { grid-template-columns: 1fr; } }

/* =============== search results =============== */
.enact-pagehero--search { position: relative; }
.enact-pagehero--search::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.45);
	opacity: 1; /* generic .enact-pagehero::before sets .5 — this overlay's alpha is in the rgba */
}
.enact-pagehero--search .enact-container { position: relative; z-index: 1; }
.enact-search__results { padding: 40px 0 60px; }
.enact-searchcard {
	max-width: 900px;
	margin: 0 auto 24px;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 5px;
	box-shadow: 0 2px 8px rgba(0,0,0,.05);
	padding: 24px 30px;
}
.enact-searchcard__title { font-size: 18px; font-weight: 600; line-height: 1.4; margin: 0 0 10px; font-family: Helvetica, Verdana, Arial, sans-serif; }
.enact-searchcard__title a { color: #003478; text-decoration: none; }
.enact-searchcard__title a:hover { color: #00747A; }
.enact-searchcard__excerpt { font-size: 13px; line-height: 1.55; color: #777; margin: 0 0 14px; }
.enact-searchcard__more {
	font-size: 12px;
	font-weight: 700;
	/* live shows mixed-case "Read More »" (was uppercase here) */
	letter-spacing: .3px;
	color: #003478;
	text-decoration: none;
}
.enact-searchcard__more:hover { color: #00747A; }
.enact-search__pagination { text-align: center; margin-top: 36px; }
.enact-search__pagination .page-numbers {
	display: inline-block;
	padding: 4px 8px;
	margin: 0 3px;
	color: #00747A;
	text-decoration: none;
	font-size: 15px;
}
.enact-search__pagination .page-numbers.current { font-weight: 700; color: #222; }
.enact-search__none { text-align: center; }

/* ============================================================
   RESPONSIVE TYPE SCALE — matches live Elementor breakpoints.
   Live applies a global 0.912 multiplier below 1024px, plus a
   few per-role overrides. Measured on prod 2026-08-24 at
   1440/768/390; appended last so it wins over earlier blocks.
   ============================================================ */
@media (max-width: 1023.9px) {
	/* body copy 16/26.4 -> 14.592/24.0768 */
	.enact-native-page,
	.enact-partnership__body p,
	.enact-mission__text,
	.enact-card p,
	.enact-history__body p,
	.enact-role__box li,
	.enact-role__link,
	.enact-pt-intro__body p,
	.enact-res-row__desc,
	.enact-single__content,
	.enact-single__content p,
	.enact-single__content li,
	.enact-hero__text,
	.enact-pagehero__intro { font-size: 14.592px; line-height: 24.0768px; }

	/* big centred headings 40/52 -> 36.48/47.424 */
	.enact-h2c { font-size: 36.48px; line-height: 47.424px; }

	/* green section headings 30 -> 25 */
	.enact-h2s,
	.enact-history__body h2,
	.enact-single__title,
	.enact-res__heading { font-size: 25px; line-height: 32.5px; }

	/* oversized display headings 51 -> 40 */
	.enact-partnership__body h2,
	.enact-pt-intro__body h2,
	.enact-keypubs__head h2 { font-size: 40px; line-height: 52px; }

	/* sub-headings 24 -> 20 */
	.enact-partnership__body h3,
	.enact-res-row__title { font-size: 20px; line-height: 26px; }

	/* cards 28.8 -> 26.2656 */
	.enact-card h4 { font-size: 26.2656px; line-height: 31.5187px; }

	/* carousel titles 20.8 -> 18.9696 */
	.enact-newscar__title { font-size: 18.9696px; line-height: 22.7635px; }

	/* home hero keeps 55/70 at tablet (live) */
	.enact-hero__title { font-size: 55px; line-height: 70px; }
}
@media (max-width: 767.9px) {
	/* home hero drops to 40/44 on mobile (live) */
	.enact-hero__title { font-size: 40px; line-height: 44px; }
}

/* =========================================================
   STICKY RESOURCE FILTER BAR — production pins the
   "Resources: X | N resources | [dropdown]" row under the
   header while the list scrolls behind it.
   ========================================================= */
.enact-res__bar {
	position: sticky;
	top: 96px;                 /* clears the fixed 96px header */
	z-index: 20;
	background: #fff;
	padding-top: 18px;
	padding-bottom: 14px;
	margin-bottom: 11px;
}
/* full-bleed white behind the bar so rows never show through at the edges */
.enact-res__bar::before {
	content: "";
	position: absolute;
	top: 0; bottom: 0;
	left: 50%; right: 50%;
	margin-left: -50vw; margin-right: -50vw;
	background: #fff;
	z-index: -1;
}
/* hairline appears only once the bar is actually pinned */
.enact-res__bar::after {
	content: "";
	position: absolute;
	left: 50%; right: 50%; bottom: 0;
	margin-left: -50vw; margin-right: -50vw;
	height: 1px;
	background: rgba(0,0,0,.10);
	opacity: 0;
	transition: opacity .25s ease;
}
.enact-res__bar.is-pinned::after { opacity: 1; }
@media (max-width: 1023.9px) {
	.enact-res__bar { top: 60px; }   /* shorter mobile/tablet header bar */
}

/* wysiwyg fields emit their own <p>; keep the section rhythm identical to the
   hard-coded markup these replaced */
.enact-role__link p { margin: 0; }
.enact-role__box > *:first-child { margin-top: 0; }
.enact-role__box > *:last-child { margin-bottom: 0; }
.enact-history__body > *:last-child { margin-bottom: 0; }

/* =========================================================
   SINGLE NEWS POST — banner + readable prose column.
   Mirrors the globalebafund treatment: full-bleed photo hero
   with a title panel, then an 860px measure for the article,
   so the copy and images read as a laid-out page rather than
   text dropped onto white.
   ========================================================= */
.enact-newshero {
	position: relative;
	min-height: 520px;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	display: flex;
	align-items: flex-end;      /* panel low: faces sit high in almost every photo */
	padding: 150px 0 40px;      /* clears the fixed 96px header */
	box-sizing: border-box;
}
.enact-newshero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(20,20,20,.30) 0%, rgba(20,20,20,.72) 100%);
}
.enact-newshero .enact-container { position: relative; z-index: 1; }
.enact-newshero__panel {
	max-width: 860px;
	background: rgba(0, 116, 122, .82);   /* ENACT teal, translucent over the photo */
	padding: 34px 38px 30px;
	box-sizing: border-box;
}
.enact-newshero__cat,
.enact-newshead__cat {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .8px;
	text-transform: uppercase;
	color: #fff;
	background: #E98300;
	padding: 5px 12px;
	margin-bottom: 14px;
}
.enact-newshero__title {
	font-family: 'IBM Plex Serif', serif;
	font-weight: 300;
	font-size: 40px;
	line-height: 1.25;
	color: #fff;
	margin: 0 0 12px;
}
.enact-newshero__date {
	font-size: 14px;
	color: rgba(255,255,255,.92);
	margin: 0;
}
/* no featured image: a plain header band instead of a photo hero */
.enact-newshead { padding: 150px 0 0; }
.enact-newshead__cat { background: #E98300; }
.enact-newshead__title {
	font-family: 'IBM Plex Serif', serif;
	font-weight: 300;
	font-size: 40px;
	line-height: 1.25;
	color: #357E44;
	margin: 0 0 10px;
	max-width: 860px;
}
.enact-newshead__date { font-size: 14px; color: #6b7280; margin: 0; }

/* ---- the article measure ---- */
.enact-single .enact-single__container {
	max-width: 860px;
	padding-top: 46px;
}
.enact-prose { font-size: 17px; line-height: 1.75; color: #364151; }
.enact-prose p { margin: 0 0 22px; }
.enact-prose > *:first-child { margin-top: 0; }
.enact-prose h2, .enact-prose h3, .enact-prose h4 {
	font-family: 'IBM Plex Serif', serif;
	font-weight: 300;
	color: #357E44;
	margin: 38px 0 14px;
	line-height: 1.3;
}
.enact-prose h2 { font-size: 28px; }
.enact-prose h3 { font-size: 23px; }
.enact-prose h4 { font-size: 20px; }
.enact-prose a { color: #00747A; text-decoration: underline; text-underline-offset: 2px; }
.enact-prose a:hover { color: #357E44; }
.enact-prose ul, .enact-prose ol { margin: 0 0 22px; padding-left: 26px; }
.enact-prose li { margin-bottom: 9px; }
.enact-prose blockquote {
	margin: 30px 0;
	padding: 4px 0 4px 22px;
	border-left: 4px solid #00747A;
	font-size: 19px;
	line-height: 1.6;
	color: #2f3d4a;
}
.enact-prose blockquote p:last-child { margin-bottom: 0; }
/* the "Date: / Time: / Location:" run-in labels these posts use */
.enact-prose p > strong:first-child { color: #222; }

/* images: let them breathe out past the measure, with a soft frame */
.enact-prose img { max-width: 100%; height: auto; display: block; }
.enact-prose figure,
.enact-prose .wp-caption,
.enact-prose .wp-block-image {
	margin: 34px 0;
	max-width: 100%;
}
.enact-prose figure img,
.enact-prose .wp-caption img,
.enact-prose .wp-block-image img {
	width: 100%;
	border-radius: 3px;
	box-shadow: 0 6px 22px rgba(0,0,0,.13);
}
.enact-prose figcaption,
.enact-prose .wp-caption-text {
	font-size: 13.5px;
	line-height: 1.5;
	color: #6b7280;
	margin-top: 10px;
	padding-left: 2px;
	border-left: 3px solid #E7F6FF;
	padding: 2px 0 2px 10px;
}
.enact-prose iframe,
.enact-prose .wp-block-embed iframe { max-width: 100%; margin: 30px 0; }

/* ---- back link ---- */
.enact-backlink { margin: 42px 0 0; }
.enact-backlink a {
	display: inline-block;
	background: #00747A;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .3px;
	padding: 12px 26px;
	text-decoration: none;
	border-radius: 3px;
}
.enact-backlink a:hover { background: #357E44; color: #fff; }

@media (max-width: 1023.9px) {
	.enact-newshero { min-height: 420px; padding: 120px 0 40px; }
	.enact-newshero__title, .enact-newshead__title { font-size: 32px; }
	.enact-newshead { padding-top: 110px; }
	.enact-prose { font-size: 16px; }
}
@media (max-width: 767.9px) {
	.enact-newshero { min-height: 340px; padding: 100px 0 30px; }
	.enact-newshero__panel { padding: 24px 22px 20px; }
	.enact-newshero__title, .enact-newshead__title { font-size: 26px; }
	.enact-single .enact-single__container { padding-top: 32px; }
}


/* Banner set to "Fit whole image" (posters, logos, graphics with text): the
   artwork is shown complete and the title sits BELOW it, so nothing is cropped
   and nothing is covered. */
.enact-newsfit { padding-top: 96px; background: #f4f7f7; }
.enact-newsfit__media {
	display: flex;
	justify-content: center;
	background: #fff;
}
.enact-newsfit__media img {
	display: block;
	max-width: 100%;
	max-height: 460px;
	width: auto;
	height: auto;
}
.enact-newsfit__panel {
	max-width: 860px;
	padding: 26px 0 30px;
}
.enact-newsfit__title {
	font-family: 'IBM Plex Serif', serif;
	font-weight: 300;
	font-size: 40px;
	line-height: 1.25;
	color: #357E44;
	margin: 0 0 10px;
}
.enact-newsfit__date { font-size: 14px; color: #6b7280; margin: 0; }
@media (max-width: 1023.9px) {
	.enact-newsfit__title { font-size: 32px; }
	.enact-newsfit__media img { max-height: 340px; }
}
@media (max-width: 767.9px) {
	.enact-newsfit__title { font-size: 26px; }
	.enact-newsfit__media img { max-height: 240px; }
}

/* photo credit carried up from the de-duplicated lead image */
.enact-newshero__credit {
	position: absolute;
	right: 18px;
	bottom: 10px;
	margin: 0;
	font-size: 11.5px;
	color: rgba(255,255,255,.82);
	text-shadow: 0 1px 3px rgba(0,0,0,.6);
	z-index: 1;
}

/* =============== 404 =============== */
.enact-404__band { padding: 150px 0 90px; }
.enact-404__code {
	font-family: 'IBM Plex Serif', serif;
	font-size: 72px;
	line-height: 1;
	font-weight: 300;
	color: #E7F6FF;
	margin: 0 0 4px;
}
.enact-404__title {
	font-family: 'IBM Plex Serif', serif;
	font-weight: 300;
	font-size: 40px;
	line-height: 1.2;
	color: #357E44;
	margin: 0 0 14px;
}
.enact-404__text { max-width: 620px; margin: 0 0 28px; color: #364151; }
.enact-404__search { display: flex; gap: 10px; max-width: 520px; margin: 0 0 34px; }
.enact-404__search input[type=search] {
	flex: 1;
	height: 46px;
	border: 1px solid #c9d3d4;
	border-radius: 3px;
	padding: 0 16px;
	font-size: 16px;
	font-family: Helvetica, Verdana, Arial, sans-serif;
}
.enact-404__search input[type=search]:focus { outline: 2px solid #00747A; outline-offset: 1px; }
.enact-404__search button {
	background: #E98300;
	color: #fff;
	border: none;
	border-radius: 3px;
	padding: 0 26px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}
.enact-404__search button:hover { background: #00747A; }
.enact-404__or { font-size: 14px; color: #6b7280; margin: 0 0 10px; }
.enact-404__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.enact-404__links a {
	display: inline-block;
	background: #E7F6FF;
	color: #00595e;
	font-size: 14px;
	padding: 9px 18px;
	border-radius: 3px;
	text-decoration: none;
}
.enact-404__links a:hover { background: #00747A; color: #fff; }
@media (max-width: 767.9px) {
	.enact-404__band { padding: 120px 0 60px; }
	.enact-404__code { font-size: 56px; }
	.enact-404__title { font-size: 30px; }
	.enact-404__search { flex-direction: column; }
	.enact-404__search button { height: 46px; }
}
