/*
 * CLPR typography refinements (2026-11-18, pre-launch review with Randy).
 *
 * Brings the rebuilt homepage's type scale back toward the live Bricks site,
 * measured side by side at a 1200px viewport (live values in the comments).
 * Plain CSS, no build step. Every selector is prefixed with `body` because
 * block.json styles can print after the theme's stylesheets in a classic
 * theme; the extra element keeps these rules winning regardless of order.
 * Clamps are tuned so the 1200px value matches live and the rest scales.
 */

/* Hero: live 70.7px / 600 / line-height 1.2; subhead 22.9px. */
body .clpr-home-hero__heading {
	font-size: clamp(2.5rem, 5.9vw, 4.75rem);
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 1.75rem;
}

body .clpr-home-hero__subhead {
	font-size: clamp(1.15rem, 1.91vw, 1.5rem);
	line-height: 1.49;
}

/* Section intros (Our Work, Our Featured Initiatives): live paragraph
   19.7px / line-height 1.51, about 780px wide. */
body .cfl-cta__inner {
	max-width: 1080px; /* live's intro headings run ~950px on one line */
}

body .cfl-cta__text {
	font-size: clamp(1.125rem, 1.64vw, 1.25rem);
	line-height: 1.51;
	max-width: 49rem;
}

/* Pull the card grid that follows an intro closer to it (live sits about
   70px tighter between "Our Work" and the three features). */
body .cfl-cta + .cfl-svc .cfl-svc__inner,
body .cfl-cta + * > .cfl-svc .cfl-svc__inner {
	padding-top: clamp(0.5rem, 1.5vw, 1.25rem);
}

/* Feature and initiative cards: live title 22.7px, description 17.6px in a
   column about 255px wide. */
body .cfl-svc .cfl-svc__title {
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	line-height: 1.5;
}

body .cfl-svc--borderless .cfl-svc__desc {
	font-size: 1.1rem;
	line-height: 1.55;
	/* Live's column grows with the window: 228px at 1105, 255 at 1200, 346 at 1750. */
	max-width: clamp(14rem, 23vw, 21.75rem);
}

/* Testimonial: live quote 30px, new was 21.6px; Randy asked for a middle
   ground that restores the emotional weight without the full live size. */
body .cfl-testimonials .cfl-testimonials__quote {
	font-size: clamp(1.375rem, 2.2vw, 1.75rem);
	line-height: 1.42;
	max-width: 36rem; /* live's quote measure (576px) once the section widens */
}

body .cfl-testimonials .cfl-testimonials__author {
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

body .cfl-testimonials .cfl-testimonials__detail {
	font-size: clamp(0.95rem, 1.3vw, 1.05rem);
}

/* Media + text (yellow "Mental health matters", "Support mental health"):
   live heading 51.1px, body 17.6px / line-height 1.55 in a narrower measure,
   and about 50px between heading and body. Live's eyebrow is Raleway with
   no tracking. */
body .cfl-media-text .cfl-media-text__heading {
	font-size: clamp(2rem, 4.26vw, 3.2rem);
	margin-bottom: 2rem;
}

body .cfl-media-text .cfl-media-text__body {
	font-size: clamp(1.0875rem, 1.6vw, 1.125rem);
	line-height: 1.5;
	max-width: 36rem;
}

body .cfl-media-text .cfl-media-text__body a {
	font-weight: 700;
}

body .cfl-media-text .cfl-media-text__eyebrow {
	font-family: var(--font-display, inherit);
	letter-spacing: 0;
	font-size: clamp(1.375rem, 2.8vw, 2rem);
	line-height: 1.18;
}

/* Wider containers for the photo sections (Randy, 2026-11-18 round 2). Live
   keeps growing past 1440px: at a 1750px window its text column is 705px
   (the "We don't end the sentence" heading fits on two lines) and the
   testimonial photo is 793px. Ours capped at 660px and 604px. */
body .cfl-media-text .cfl-media-text__inner {
	max-width: 1560px;
}

body .cfl-testimonials .cfl-testimonials__inner,
body .cfl-testimonials .cfl-testimonials__grid:has(.cfl-testimonials__frame--has-photo:only-child) {
	max-width: 1560px;
}

/* ---------------------------------------------------------------------
 * Round 3: full-site pass (2026-11-18). Every text element on 14 pages
 * matched live-to-new by its words at 1100, 1440 and 1750px; targets below
 * are live's computed values (1100px / 1440px+).
 * ------------------------------------------------------------------- */

/* Inner-page hero: live eyebrow is Raleway 30.7/32px; heading weight 600
   (renders bold, see fonts.css); subhead 22.5/24px semibold, ~605px wide. */
body .cfl-hero .cfl-hero__eyebrow {
	font-family: var(--font-display, inherit);
	font-size: clamp(1.5rem, 2.8vw, 2rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
}

body .cfl-hero .cfl-hero__heading {
	font-weight: 600;
	line-height: 1.02;
}

body .cfl-hero .cfl-hero__sub,
body .cfl-hero .cfl-hero__sub p {
	font-size: clamp(1.15rem, 2.05vw, 1.5rem);
	font-weight: 600;
	line-height: 1.45;
	max-width: 38rem;
}

/* Section-intro eyebrow ("Our Work"): 22.5/24px, line-height 1.3. */
body .cfl-cta .cfl-cta__eyebrow {
	font-size: clamp(1.25rem, 2.05vw, 1.5rem);
	line-height: 1.3;
}

/* Statement sections: 28/30px, ~955px measure. */
body .cfl-section .cfl-section__content p,
body .cfl-section .cfl-section__content li {
	font-size: clamp(1.5rem, 2.55vw, 1.875rem);
}

body .cfl-section .cfl-section__content {
	max-width: 60rem;
}

/* Testimonial attribution second line: live is Raleway bold. */
body .cfl-testimonials .cfl-testimonials__detail {
	font-family: var(--font-display, inherit);
	font-weight: 700;
}

/* Announcement (crisis) bar: 17.4/18px, link bold, ~800px wide. */
body .cfl-ab .cfl-ab__message,
body .cfl-ab .cfl-ab__message p {
	font-size: clamp(1rem, 1.58vw, 1.125rem);
	line-height: 1.5;
	max-width: 52rem;
}

body .cfl-ab .cfl-ab__message a {
	font-weight: 700;
}

/* Contact block: heading 30.7/32px bold; detail labels are Raleway
   25.5/28px bold on live; detail text 18px. */
body .cfl-contact .cfl-contact__heading {
	font-size: clamp(1.75rem, 2.8vw, 2rem);
	font-weight: 700;
	line-height: 1.2;
}

body .cfl-contact .cfl-contact__details h5 {
	font-family: var(--font-display, inherit);
	font-size: clamp(1.5rem, 2.3vw, 1.75rem);
	font-weight: 700;
	line-height: 1.4;
}

body .cfl-contact .cfl-contact__details p {
	font-size: 1.125rem;
	line-height: 1.55;
}

/* Utility pages (DAF Direct, Website Credits, MHFA): heading 70/82px bold,
   H3 30.7/32px, body 18px / 1.5. */
body .cfl-utility .cfl-utility__heading {
	font-size: clamp(3rem, 6.4vw, 5.125rem);
	font-weight: 700;
	line-height: 1.02;
}

body .cfl-utility .cfl-utility__content h3 {
	font-size: clamp(1.5rem, 2.8vw, 2rem);
	line-height: 1.2;
}

body .cfl-utility .cfl-utility__content h2 {
	line-height: 1.2;
}

body .cfl-utility .cfl-utility__content p,
body .cfl-utility .cfl-utility__content li {
	font-size: clamp(1.0875rem, 1.6vw, 1.125rem);
	line-height: 1.5;
}

/* Chad's Story gallery captions: 17.4/18px. */
body .cfl-gallery .cfl-gallery__caption {
	font-size: clamp(1.0875rem, 1.6vw, 1.125rem);
}

/* Team page: section heading 50.7/52px at 1.1; names 1.15; intro 18px in
   a ~864px measure. */
body .cfl-bio .cfl-bio__heading {
	font-size: clamp(2.25rem, 4.6vw, 3.25rem);
	line-height: 1.1;
}

body .cfl-bio .cfl-bio__name {
	line-height: 1.15;
}

body .cfl-bio .cfl-bio__intro {
	font-size: clamp(1.0875rem, 1.6vw, 1.125rem);
	max-width: 54rem;
}

/* ---------------------------------------------------------------------
 * Pre-launch standards pass (2026-11-18), from conf-engineering.
 * ------------------------------------------------------------------- */

/* Testimonial quote-mark glow was clipped square: the card hides overflow
   and, in the photo layout, has no padding, so the mark's radial glow
   (inset -60%) was cut at the card's top-left edge. */
body .cfl-testimonials .cfl-testimonials__frame--has-photo .cfl-testimonials__card {
	overflow: visible;
}

/* Cut-out photos sit on the section's bottom edge (the homepage set this per
   block; Team and others kept the default 80px, leaving a gap under the
   photo). Desktop only: stacked on a phone the text sits below the photo. */
@media (min-width: 782px) {
	body .cfl-testimonials:has(.cfl-testimonials__frame--has-photo) .cfl-testimonials__inner {
		padding-bottom: 0;
	}

	body .cfl-testimonials .cfl-testimonials__frame--has-photo .cfl-testimonials__photo {
		align-self: end;
	}
}

/* Skip link (accessibility.md): first focusable element, hidden until focused. */
.clpr-skip-link {
	position: absolute;
	left: 1rem;
	top: -100px;
	z-index: 100;
	padding: 0.75rem 1.25rem;
	background: #fff;
	color: var(--color-ink, #253065);
	font-weight: 700;
	border-radius: 2px;
}

.clpr-skip-link:focus {
	top: 1rem;
}

/* Phone menu toggle: a 44px target; an open menu taller than the screen
   scrolls inside itself because the header is sticky. */
/* Header layout. Desktop nav from 1360px (Randy, 2026-11-18: six top-level
   items need about that much room); below it, the bar shows Give Now beside
   the menu button and the menu opens as a list. Plain CSS rather than lg:
   utilities, because the theme's lg is 960px and the nav needs its own width. */
@media (min-width: 1360px) {
	.clpr-header-row { display: flex; justify-content: space-between; align-items: center; }
	body #primary-menu { display: flex; align-items: center; gap: 2rem; }
	body .primary-nav { display: flex; align-items: center; gap: 1.75rem; }
	body .primary-nav > li { margin-block: 0; }
	body .clpr-header-actions { display: none; }
}

@media (max-width: 1359px) {
	body .clpr-header-actions { display: flex; align-items: center; gap: 0.75rem; margin-left: 0.75rem; }
	body .clpr-give-bar { padding: 0.65rem 1.25rem; }
	body .clpr-menu-toggle { display: inline-flex; }
	body #primary-menu:not(.hidden) { margin-top: 1rem; }
}

@media (max-width: 479px) {
	body .site-header > div { padding-inline: 1rem; }
	body .site-header .custom-logo-link img,
	body .site-header img.custom-logo { height: 22px; }
	body .clpr-give-bar { padding: 0.5rem 0.75rem; font-size: 0.8125rem; }
	body .clpr-header-actions { gap: 0.25rem; }
}

/* Under 360px there is no room for the bar button; Give Now stays in the menu. */
@media (max-width: 359px) {
	body .clpr-give-bar { display: none; }
}

body .clpr-menu-toggle {
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	background: none;
	border: 0;
	color: inherit;
	cursor: pointer;
}

@media (max-width: 1359px) {
	#primary-menu:not(.hidden) {
		max-height: calc(100vh - 7rem);
		overflow-y: auto;
	}
}

/* Base styles every theme carries (base-styles.md). */
h1, h2, h3, h4, h5, h6, .font-display { text-wrap: balance; }
p, li, blockquote, figcaption, dd { text-wrap: pretty; }

@media (prefers-reduced-motion: no-preference) {
	:where(a, button, summary, [role="button"], input[type="submit"], input[type="button"]) {
		transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, box-shadow;
		transition-duration: 300ms; /* handbook default is 200ms; Randy prefers 300 here (2026-11-18) */
		transition-timing-function: ease;
	}
}

/* The book illustration (Support / "Help us write what comes next") ships as
   a square file with its glow filling the corners; live shows it at about
   705x550, trimming the glow top and bottom, so the section is ~150px
   shorter. Scoped to that image so the people photos are never cropped. */
body .cfl-media-text .cfl-media-text__media img[src*="/book.png"] {
	aspect-ratio: 705 / 550;
	object-fit: contain; /* live boxes it at 705x550 and fits the art inside */
	height: auto;
	/* The file's near-white ground shows as a pale rectangle on the paper
	   section; multiply melts it into the page color. */
	mix-blend-mode: multiply;
}

/* Support Programs (page 56): live is one centered ~1008px column with 26px
   headings, 18px body and the MHFA logo at 256px on the right. The rebuild
   uses media-text blocks, which split 50/50 (and leave an empty half when
   there is no image), so this page gets live's single-column reading. */
body.page-id-56 .cfl-media-text .cfl-media-text__inner {
	max-width: calc(1008px + 4rem);
}

body.page-id-56 .cfl-media-text .cfl-media-text__inner--split {
	grid-template-columns: minmax(0, 1fr) 256px;
	gap: 2.5rem;
	align-items: start;
}

body.page-id-56 .cfl-media-text .cfl-media-text__heading {
	font-size: 1.625rem;
	line-height: 1.2;
	margin-bottom: 1.25rem;
}

body.page-id-56 .cfl-media-text .cfl-media-text__body {
	max-width: none;
	font-size: 1.125rem;
	line-height: 1.54;
}

body.page-id-56 .cfl-media-text .cfl-media-text__media img {
	max-width: 256px;
	height: auto;
	margin-top: 3.25rem;
}

@media (max-width: 781px) {
	body.page-id-56 .cfl-media-text .cfl-media-text__inner--split {
		grid-template-columns: 1fr;
	}
}

/* A one-photo showcase (the event gallery now carries a single image) has
   nothing to page through: hide the arrows. */
body .cfl-showcase__viewport:not(:has(.cfl-showcase__slide + .cfl-showcase__slide)) .cfl-showcase__arrow {
	display: none;
}

/* Application pages (MHFA, CPSS): the page heading lines up with the form's
   "On this form" sidebar and runs to the form's right edge (Randy,
   2026-11-18). The form container is 1000px; the utility header was 768px. */
body .cfl-utility:has(+ .cfl-form--has-toc) .cfl-utility__inner {
	max-width: 1000px;
}

body .cfl-utility:has(+ .cfl-form--has-toc) .cfl-utility__content {
	max-width: 52rem;
}

/* Hero art on the paper ground (Join Us collage) ships on a near-white
   rectangle; multiply melts it into the page. Paper heroes only, so photos
   on colored grounds are never tinted. */
body .cfl-hero.bg-paper .cfl-hero__media img {
	mix-blend-mode: multiply;
}

/* Statement section with the semicolon art beside it (Join Us, homepage):
   live centers it in a ~1150px column so the art sits ~30px past the text;
   at our 1440px container the art drifted to the far edge. */
body .cfl-section--statement.cfl-section--decor-right .cfl-section__inner {
	max-width: 1260px;
}

/* Site width: live boxes the whole site (header, bands, footer) at 1920px,
   centered on white; content inside sits in its 1440px containers. */
html,
body,
body.bg-cream {
	background-color: #fff;
}

#page {
	max-width: 1920px;
	margin-inline: auto;
	background-color: var(--color-cream, #fff9f5);
}

/* Media-text body links take the block's text color, bold and underlined,
   as on live (they were cerulean, which on the yellow ground is unreadable). */
body .cfl-media-text .cfl-media-text__body a {
	color: inherit;
	text-decoration: underline;
}

/* A section intro followed by a media-text block: live runs them ~35px
   tighter than our default top padding. */
body .cfl-cta + .cfl-media-text .cfl-media-text__inner,
body .cfl-cta + * > .cfl-media-text .cfl-media-text__inner {
	padding-top: 2.75rem;
}

/* Split heroes: live gives the text a little more room (Give: heading 691px,
   three lines; ours split 50/50 at 668px and wrapped to four). */
@media (min-width: 782px) {
	body .cfl-hero .cfl-hero__inner--split:not(.cfl-hero__inner--img-left) {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	}

	body .cfl-hero .cfl-hero__inner--split.cfl-hero__inner--img-left {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	}
}

/* Bordered card grid (Join Us "Our Featured Initiatives"): logos read at a
   consistent 72px height instead of the 96px-wide icon cap, and a
   heading-only intro above sits closer to the cards. */
body .cfl-svc:not(.cfl-svc--borderless) .cfl-svc__icon {
	max-width: 100%;
	width: auto;
	height: 72px;
	object-fit: contain;
	object-position: left center;
}

body .cfl-cta:not(:has(.cfl-cta__text)):has(+ .cfl-svc) .cfl-cta__inner {
	padding-bottom: 1rem;
}

/* A statement section straight after a hero (Give: "Every day in the
   U.S. ..."): live leaves ~85px above it, ours ~45px; margin moves the
   semicolon art (positioned on the section) along with the text. */
/* Semicolon art on statement sections: live draws it 167px wide (340 tall);
   ours ran to 210px, so on Give it rode up into the hero. Size like live,
   and give a statement section that follows a hero (inside its spacing
   wrapper div) some air above it. */
@media (min-width: 900px) {
	body .cfl-section--statement .cfl-section__decoration {
		width: clamp(110px, 9.6vw, 167px);
	}
}

body div:has(> .cfl-hero) + .cfl-section--statement,
body .cfl-hero + .cfl-section--statement {
	margin-top: 2.5rem;
}

/* Megaphone illustration (Give, Join Us "Amplify hope"): live boxes it at
   705x650 and fits the art inside, so the section is shorter than with the
   square file at full width. */
body .cfl-media-text .cfl-media-text__media img[src*="cta_give_now"] {
	aspect-ratio: 705 / 650;
	object-fit: contain;
	height: auto;
	mix-blend-mode: multiply;
}

/* Desktop dropdowns driven by js/clpr-a11y.js (close delay, hover bridge).
   Only with html.clpr-js-nav, so the plain :hover rules in chrome.css still
   work if the script never runs. */
@media (min-width: 1360px) {
	html.clpr-js-nav .primary-nav .menu-item-has-children:hover > .sub-menu,
	html.clpr-js-nav .primary-nav .menu-item-has-children:focus-within > .sub-menu {
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
	}

	html.clpr-js-nav .primary-nav .menu-item-has-children.is-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	/* Bridge the 0.6rem gap between the label and the panel, so a slow
	   cursor crossing it stays inside the item. */
	.primary-nav .sub-menu::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: -0.65rem;
		height: 0.65rem;
	}
}

/* Glow illustrations (megaphone, book) fade well inside their boxes, so the
   section reads airier than its measured padding. Tighter than live here at
   Randy's request (2026-11-18). */
body .cfl-media-text:has(img[src*="cta_give_now"], img[src*="/book.png"]) .cfl-media-text__inner {
	padding-top: 2.5rem;
	padding-bottom: 2.5rem;
}


/* Primary button ("Give Now"): was opacity 0.9 with no easing, which read as
   a flicker. Fill to the brand navy on hover/focus over 300ms. */
body .btn-primary {
	transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease;
}

body .btn-primary:hover,
body .btn-primary:focus-visible {
	opacity: 1;
	background-color: var(--color-ink, #23356c);
	border-color: var(--color-ink, #23356c);
	color: #fff;
}

@media (prefers-reduced-motion: reduce) {
	body .btn-primary { transition: none; }
}

/* Footer links underline on hover/focus (Randy, 2026-11-18). The underline
   is always there but transparent, so it fades in with the 300ms color
   easing instead of snapping. Buttons in the footer are left alone. */
footer a:not([class*="btn"]):not(.inline-flex) {
	text-decoration-line: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

footer a:not([class*="btn"]):not(.inline-flex):hover,
footer a:not([class*="btn"]):not(.inline-flex):focus-visible {
	text-decoration-color: currentColor;
}

/* Give Now never wraps inside its button. */
body .site-header a.btn-primary { white-space: nowrap; }

/* Our Work pages: logo beside text (MHI, MHFA, Summit) reads better as a
   narrower, centered 2/3 text + 1/3 logo row with the logo capped, rather
   than a 50/50 split where the logo grows to fill half the page (Randy,
   2026-11-18). Scoped to Our Work's child pages and to images named *logo*. */
@media (min-width: 782px) {
	body.parent-pageid-240 .cfl-media-text__inner--split:has(img[src*="logo"]) {
		max-width: 1180px;
		grid-template-columns: 2fr 1fr;
		gap: 4rem;
	}
	body.parent-pageid-240 .cfl-media-text__inner--split.cfl-media-text__inner--img-left:has(img[src*="logo"]) {
		grid-template-columns: 1fr 2fr;
	}
}
body.parent-pageid-240 .cfl-media-text__inner--split:has(img[src*="logo"]) .cfl-media-text__media {
	display: flex;
	justify-content: center;
}
body.parent-pageid-240 .cfl-media-text__inner--split:has(img[src*="logo"]) .cfl-media-text__media img {
	width: 100%;
	max-width: 300px;
	max-height: 240px;
	height: auto;
	object-fit: contain;
	border-radius: 0;
}

/* Off-site links: any link or button in the page body that opens in a new
   tab gets an external-link icon after its label (Randy, 2026-11-18). Keyed
   on target="_blank", so it follows the "open in new tab" setting on each
   link and needs no per-link work. Image links (logos) are left alone; the
   service-card arrow gives way to the icon. js/clpr-a11y.js adds the
   matching "(opens in a new tab)" for screen readers. */
#content a[target="_blank"]:not(:has(img, iframe, svg))::after {
	content: "";
	display: inline-block;
	width: 0.95em;
	height: 0.95em;
	margin-left: 0.45em;
	vertical-align: -0.05em;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4l-9 9'/%3E%3Cpath d='M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4l-9 9'/%3E%3Cpath d='M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E") center / contain no-repeat;
}
#content .cfl-svc__btn[target="_blank"] > span[aria-hidden="true"] { display: none; }

/* Click-to-play video cover (home "Building hope through connection").
   Branded poster in CLP navy with the reversed logo and a CLP-blue play
   button; the YouTube player replaces it on click (js/clpr-a11y.js). */
.clpr-video { position: relative; background: var(--color-ink); }
.clpr-video__cover {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: clamp(1rem, 3vw, 1.75rem);
	background:
		radial-gradient(60% 70% at 50% 45%, rgba(0, 133, 183, 0.45), rgba(0, 133, 183, 0) 70%),
		var(--color-ink);
	color: #fff; text-decoration: none; cursor: pointer;
}
.clpr-video__logo { width: clamp(150px, 34%, 300px); height: auto; }
.clpr-video__play {
	display: inline-flex; align-items: center; justify-content: center;
	width: clamp(64px, 11vw, 92px); height: clamp(64px, 11vw, 92px);
	border-radius: 999px; background: var(--color-accent); color: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	transition: transform 300ms ease, background-color 300ms ease;
}
.clpr-video__play svg { width: 42%; height: 42%; margin-left: 6%; }
.clpr-video__label { font-family: var(--font-body); font-weight: 600; font-size: clamp(0.875rem, 1.6vw, 1.0625rem); letter-spacing: 0.02em; opacity: 0.9; }
.clpr-video__cover:hover .clpr-video__play,
.clpr-video__cover:focus-visible .clpr-video__play { transform: scale(1.08); background: var(--color-accent-hover); }
.clpr-video__cover:focus-visible { outline: 3px solid var(--color-sun); outline-offset: -6px; }

/* Past-event badge in the event header card (replaces the full-width
   "This event has passed" bar). Quiet pill, ink on a light ink tint. */
.clpr-event-past {
	display: inline-block;
	margin-bottom: 0.75rem;
	padding: 0.3rem 0.8rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--color-ink, #253065) 8%, transparent);
	color: var(--color-ink, #253065);
	font-family: var(--font-body, inherit);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Events archive: space above "Past Events" (mt-16 is not in the compiled
   Tailwind, so the heading sat against the last upcoming card). */
.clpr-events-past-heading { margin-top: 4rem; }
