/*
Theme Name: Child Care for Every Family Network
Theme URI: https://childcareforeveryfamily.org/
Author: E11 Group
Author URI: https://e11group.com
Description: Child theme of Launchpad for the Child Care for Every Family Network. Replatform of childcareforeveryfamily.org (custom WordPress theme CC4EFN on Pantheon).
Template: launchpad
Tags: block-theme, full-site-editing, child-theme
Version: 0.1.10
Text Domain: childcareforeveryfamily
Repository: E11-Group/childcareforeveryfamily
*/

/* Faithful replatform: values are measured from the live site at 390 and 1440
   (launchpad-design/projects/childcareforeveryfamily/inspiration/site-analysis.md).
   Mobile-first: min-width media queries only. Breakpoint 850px = desktop layout
   (live swaps its boxed nav for the hamburger there); the boxed nav itself waits
   until 1000px, where it clears the logo. Design tokens live in theme.json. */

/* ---------------------------------------------------------------- Base */

body {
	-webkit-font-smoothing: antialiased;
}

/* break-word: long emails and URLs (letter, social, learn, resources…) wrap
   on phones instead of running off the edge; it doesn't shrink min-content
   widths the way `anywhere` does. */
p, li {
	text-wrap: pretty;
	overflow-wrap: break-word;
}

.site-content {
	overflow-x: clip; /* torn edges and shaped photos may overhang the viewport */
}

/* ---------------------------------------------------------------- Header
   Transparent, laid over the top of every page (each page's first section
   carries the header's room in its own top padding). The colour logo shows on
   white tops; a page whose top section is dark adds .ccfen-on-dark to it and
   the white logo shows instead. */

.site-header {
	position: absolute;
	top: var(--wp-admin--admin-bar--height, 0px);
	left: 0;
	right: 0;
	z-index: 50;
}

/* Editor, template shown: core's `.block-editor-block-list__layout
   .block-editor-block-list__block { position: relative }` (0,2,0) would put
   the header in its own band above the hero. */
.block-editor-block-list__layout .site-header.wp-block-template-part {
	position: absolute;
}

.ccfen-header {
	padding: 40px 55px 0 var(--wp--custom--ccfen--gutter);
	color: var(--wp--preset--color--contrast);
}

body:has(.ccfen-on-dark) .ccfen-header {
	color: var(--wp--preset--color--base);
}

.ccfen-header-row {
	gap: 16px;
}

.ccfen-logo,
.ccfen-logo .wp-block-image {
	margin: 0;
}

.ccfen-logo img {
	display: block;
	width: 175px;
	height: auto;
}

.ccfen-logo-white,
body:has(.ccfen-on-dark) .ccfen-logo-color {
	display: none;
}

body:has(.ccfen-on-dark) .ccfen-logo-white {
	display: block;
}

/* ---------------------------------------------------------------- Navigation
   Below 1000px: hamburger → full-screen plum overlay. Core switches to the
   inline menu at 600px; these rules hold the overlay until 1000px. Live swaps
   at 850px, but five 120px boxes, their gaps and the 200px logo only fit from
   about 960px (they covered the logo by up to 104px at 850; Cliff QA 2026-10-21). */

.ccfen-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
	display: flex;
}

.ccfen-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
	display: none;
}

/* The live hamburger: three 4px bars, 40px wide. */
.ccfen-nav .wp-block-navigation__responsive-container-open {
	width: 40px;
	height: 28px;
	margin-top: 20px;
	padding: 0;
	color: currentColor;
	background: linear-gradient(currentColor 0 0) 0 0 / 100% 4px no-repeat,
		linear-gradient(currentColor 0 0) 0 50% / 100% 4px no-repeat,
		linear-gradient(currentColor 0 0) 0 100% / 100% 4px no-repeat;
	border-radius: 2px;
}

.ccfen-nav .wp-block-navigation__responsive-container-open svg {
	display: none;
}

/* Overlay */
.ccfen-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 40px var(--wp--custom--ccfen--gutter);
}

.ccfen-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg {
	width: 44px;
	height: 44px;
}

.ccfen-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: center;
	padding-top: 80px;
}

.ccfen-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	align-items: center;
	gap: 36px;
	font-size: 1.75rem;
}

.ccfen-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	align-items: center;
	text-align: center;
}

.ccfen-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	align-items: center;
	gap: 14px;
	padding: 18px 0 0;
	font-family: var(--wp--preset--font-family--primary);
	font-size: 1.125rem;
	font-weight: 400;
	text-transform: none;
}

.ccfen-nav .wp-block-navigation__responsive-container.is-menu-open .ccfen-nav-join > .wp-block-navigation-item__content {
	margin-top: 24px;
	padding: 16px 20px;
	border-radius: var(--wp--custom--ccfen--radius);
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--contrast);
	font-size: 1.5rem;
}

@media (min-width: 850px) {
	.ccfen-header {
		padding: 62px 48px 0 var(--wp--custom--ccfen--gutter);
	}

	.ccfen-logo {
		padding-top: 10px;
	}

	.ccfen-logo img {
		width: clamp(200px, 18vw, 259px);
	}

	/* Banner pages: live lifts the logo to 41px so it clears the banner title
	   (Cliff QA 2026-10-21). The header overlays the page, so nothing moves. */
	body:has(.ccfen-banner) .ccfen-header {
		padding-top: 31px;
	}
}

/* Boxed nav: from 1000px (see Navigation above). */
@media (min-width: 1000px) {
	.ccfen-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: none;
	}

	.ccfen-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: flex;
		position: relative;
		width: 100%;
		background-color: inherit;
	}

	/* Boxed top-level items: white fill, 3px black border, 8px radius. */
	.ccfen-nav .wp-block-navigation__container {
		gap: 16px;
	}

	.ccfen-nav .wp-block-navigation__container > .wp-block-navigation-item {
		box-sizing: border-box;
		justify-content: center;
		width: clamp(120px, 11.1vw, 160px);
		height: 56px;
		border: 3px solid #000;
		border-radius: var(--wp--custom--ccfen--radius);
		background: var(--wp--preset--color--base);
		color: #000;
		font-size: clamp(1rem, 1.39vw, 1.25rem);
	}

	/* Spanish labels run longer ("Sobre nosotros"): let the box grow instead of wrapping. */
	:lang(es) .ccfen-nav .wp-block-navigation__container > .wp-block-navigation-item {
		width: auto;
		min-width: clamp(104px, 10vw, 160px);
		padding-inline: clamp(8px, 1vw, 14px);
		white-space: nowrap;
	}

	:lang(es) .ccfen-nav .wp-block-navigation__container {
		gap: clamp(8px, 1.1vw, 16px);
	}

	.ccfen-nav .wp-block-navigation__container > .wp-block-navigation-item:hover,
	.ccfen-nav .wp-block-navigation__container > .wp-block-navigation-item:focus-within {
		background: var(--wp--preset--color--accent);
	}

	.ccfen-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 100%;
	}

	.ccfen-nav .wp-block-navigation__container > .has-child {
		gap: 0;
	}

	.ccfen-nav .wp-block-navigation__submenu-icon {
		position: relative;
		width: 12px;
		height: 12px;
		margin-left: 6px;
	}

	/* A 24x24 hit area around the 12px chevron (WCAG 2.5.8), same look. */
	.ccfen-nav .wp-block-navigation__submenu-icon::after {
		content: "";
		position: absolute;
		inset: -6px;
	}

	.ccfen-nav .wp-block-navigation__submenu-icon svg {
		width: 12px;
		height: 12px;
		stroke-width: 2.6;
	}

	.ccfen-nav .wp-block-navigation__container > .has-child > .wp-block-navigation-item__content {
		height: auto;
	}

	.ccfen-nav .ccfen-nav-join.wp-block-navigation-item {
		width: auto;
		height: 58px;
		padding: 0 17px;
		border-color: var(--wp--preset--color--contrast);
		background: var(--wp--preset--color--contrast);
		color: var(--wp--preset--color--base);
	}

	.ccfen-nav .ccfen-nav-join.wp-block-navigation-item:hover,
	.ccfen-nav .ccfen-nav-join.wp-block-navigation-item:focus-within {
		background: var(--wp--preset--color--contrast);
	}

	/* Dropdown: the parent's width, yellow, a black rule between items. */
	/* !important: core gives the submenu the overlay's colour classes
	   (has-dark-background-color etc.), which are !important themselves. */
	.ccfen-nav .has-child .wp-block-navigation__submenu-container {
		top: calc(100% + 3px);
		left: -3px;
		right: auto;
		width: calc(100% + 6px);
		min-width: 0;
		border: 3px solid #000;
		border-radius: 0 0 var(--wp--custom--ccfen--radius) var(--wp--custom--ccfen--radius);
		background-color: var(--wp--preset--color--accent) !important;
		color: #000 !important;
		font-family: var(--wp--preset--font-family--primary);
		font-size: 1.0417rem;
		font-weight: 400;
		text-transform: none;
		overflow: hidden;
	}

	/* Exactly the parent box's width, flush with its edges, as on live (Cliff
	   QA 2026-10-19). Core's open state (min-width: 200px, width: auto) and its
	   right-justified nav rule (left: auto; right: 0) outrank the rule above, so
	   the open dropdown was 206px wide and hung 49px left of its button. */
	.ccfen-nav.ccfen-nav.wp-block-navigation .wp-block-navigation__container > .has-child.has-child > .wp-block-navigation__submenu-container {
		left: -3px;
		right: auto;
		box-sizing: border-box;
		width: calc(100% + 6px);
		min-width: 0;
	}

	.ccfen-nav .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item {
		justify-content: center;
		text-align: center;
	}

	.ccfen-nav .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item + .wp-block-navigation-item {
		border-top: 3px solid #000;
	}

	.ccfen-nav .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		display: block;
		width: 100%;
		padding: 8px 10px;
		text-align: center;
		line-height: 1.25;
	}

	.ccfen-nav .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
		text-decoration: underline;
	}
}

/* ---------------------------------------------------------------- Torn edges
   A section with .ccfen-tear draws the live site's ragged paper edge above
   itself, in its own background colour, over the bottom of the section before
   it (live: .tear_top, 1440×120 SVG at 8.4167vw). .ccfen-tear-b is the second,
   gentler edge the live site uses on a few bands. */

.ccfen-tear {
	position: relative;
}

.ccfen-tear::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	height: var(--wp--custom--ccfen--tear);
	background-color: inherit;
	-webkit-mask: url(assets/images/tear-a.svg?v=2) 0 0 / 100% 100% no-repeat;
	mask: url(assets/images/tear-a.svg?v=2) 0 0 / 100% 100% no-repeat;
	pointer-events: none;
}

.ccfen-tear-b::before {
	-webkit-mask-image: url(assets/images/tear-b.svg);
	mask-image: url(assets/images/tear-b.svg);
}

/* ---------------------------------------------------------------- Footer */

.ccfen-footer {
	display: grid;
	grid-template-columns: 1fr;
	gap: 36px;
	margin-top: 0;
	padding: 20px var(--wp--custom--ccfen--gutter) 40px;
	font-size: 1rem;
	line-height: 1.3;
}

.wp-block-group.ccfen-footer > * {
	margin: 0;
}

.ccfen-footer-logo img {
	display: block;
	width: 259px;
	height: auto;
}

.ccfen-footer-title {
	margin: 0 0 12px;
	font-family: var(--wp--preset--font-family--secondary);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0;
}

.ccfen-footer-contact p,
.ccfen-footer-social p {
	margin-block: 0;
}

.ccfen-footer-contact .ccfen-footer-title,
.ccfen-footer-social .ccfen-footer-title {
	margin-bottom: 12px;
}

.ccfen-footer .wp-block-social-links {
	gap: 24px;
	font-size: 26px;
}

.ccfen-footer-logo {
	margin-bottom: 20px !important;
}

.ccfen-footer .wp-block-social-links .wp-social-link a {
	padding: 0;
}

.ccfen-footer-privacy,
.ccfen-footer-copy {
	font-size: 0.8125rem;
}

@media (min-width: 850px) {
	.ccfen-footer {
		grid-template-columns: minmax(0, 1fr) repeat(3, 18vw);
		grid-template-areas:
			"logo contact social join"
			"logo privacy copy .";
		row-gap: 40px;
		column-gap: 0;
		padding: var(--wp--custom--ccfen--gutter);
	}

	.ccfen-footer-logo { grid-area: logo; }
	.ccfen-footer-contact { grid-area: contact; }
	.ccfen-footer-social { grid-area: social; }
	.ccfen-footer-join { grid-area: join; align-self: start; }
	.ccfen-footer-privacy { grid-area: privacy; }
	.ccfen-footer-copy { grid-area: copy; }
}

/* ---------------------------------------------------------------- Sections
   Pages are stacked full-width bands (.ccfen-band) in one of the brand
   colours, 5vw side gutter, no max-width (as live). Spacing between bands
   comes from each band's own padding, never from block gap. */

.wp-block-post-content > .alignfull,
.wp-block-post-content > .alignfull + * {
	margin-block: 0;
}

.ccfen-band {
	padding-inline: var(--wp--custom--ccfen--gutter);
}

/* Core pads every group with a background (1.25em 2.375em); bands and heroes
   set their own. Inline spacing attributes still win. */
:where(.ccfen-band.has-background, .ccfen-split-hero.has-background) {
	padding-block: 0;
}

:where(.ccfen-split-hero.has-background) {
	padding-inline: 0;
}

.wp-block-group.ccfen-band > * {
	margin-block: 0;
}

/* Compact run of bands (/resources/, Cliff QA 2026-10-19: live's 300-400px
   between the lists was too much). One standard gap above each band and after
   the last; (0,3,0) + !important so it also replaces the phone band rhythm. */
.wp-block-group.ccfen-band.ccfen-compact {
	padding-top: 56px !important;
	padding-bottom: 0 !important;
}

.wp-block-group.ccfen-band.ccfen-compact:last-child {
	padding-bottom: 72px !important;
}

@media (min-width: 850px) {
	.wp-block-group.ccfen-band.ccfen-compact {
		padding-top: 96px !important;
	}

	.wp-block-group.ccfen-band.ccfen-compact:last-child {
		padding-bottom: 120px !important;
	}
}

/* Inserter section patterns (section-band, section-halves) carry no page
   class or inline spacing, so they get a standard band rhythm of their own,
   with room at the bottom for the next section's torn edge. Phones keep the
   compact rhythm (max-width: 849px, !important). */
.wp-block-group.ccfen-band.ccfen-section {
	padding-top: 64px;
	padding-bottom: calc(var(--wp--custom--ccfen--tear) + 64px);
}

.ccfen-statement {
	margin: 0;
	font-family: var(--wp--preset--font-family--secondary);
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: 0.02em;
}

.ccfen-eyebrow {
	margin: 0;
	font-family: var(--wp--preset--font-family--secondary);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 700;
	line-height: 40px;
	letter-spacing: 0;
}

.ccfen-cta-title {
	margin: 0;
	font-family: var(--wp--preset--font-family--secondary);
	font-size: 2.16rem;
	font-weight: 700;
	line-height: 1.1;
}

.ccfen-cta .wp-block-buttons {
	margin-top: 40px;
}

/* Two halves: shaped photo + text. One column on phones. */
.ccfen-halves {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	row-gap: 70px;
	align-items: center;
}

/* Some image/text halves top-align on the live site (assembly, polling, headstart). */
.ccfen-halves.ccfen-halves-top {
	align-items: start;
}

.wp-block-group.ccfen-halves > * {
	margin: 0;
}

.wp-block-group.ccfen-halves-text > * {
	margin-block: 0;
}

.wp-block-group.ccfen-halves-text > * + * {
	margin-top: 25px;
}

/* (0,2,0)+ so these beat core's `:root :where(.is-layout-flow) > *`, which
   loads after this file in the editor canvas. */
.wp-block-group.ccfen-halves-text > .ccfen-accordion.wp-block-launchpad-accordion {
	margin-top: 32px;
}

.ccfen-halves-media {
	justify-self: center;
	width: min(80vw, 548px);
}

/* A landscape photo (the /about/ group photo, 2.8:1) at 548px wide read as a
   thumbnail next to the list (Cliff QA 2026-10-19); it fills its half. */
.ccfen-halves-media.ccfen-halves-wide {
	width: 100%;
}

.ccfen-halves-media img {
	display: block;
	width: 100%;
	height: auto;
}

.ccfen-hide-mobile {
	display: none;
}

@media (min-width: 850px) {
	.ccfen-halves {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 78px;
	}

	.ccfen-hide-mobile {
		display: block;
	}

	/* Two columns are only 350-450px wide until ~1,060px; a 548px photo ran
	   off the left edge (Cliff QA 2026-10-21). */
	.ccfen-halves-media {
		max-width: 100%;
	}

	/* The /about/ group photo beside the short committee list: the list column
	   is only as wide as the list and the photo takes the rest, so there's no
	   wide gap between them (Suman, 2026-10-20). */
	.ccfen-halves:has(> .ccfen-halves-wide) {
		grid-template-columns: max-content minmax(0, 1fr);
	}
}

/* Split hero (live template A): text on the left, a full-height photo on the
   right. Its top padding is the room under the overlaid header. */
.ccfen-split-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

.wp-block-group.ccfen-split-hero > * {
	margin: 0;
}

.ccfen-split-hero-text {
	padding: 208px var(--wp--custom--ccfen--gutter) 43px;
}

.ccfen-split-hero-text > * {
	margin-block: 0;
}

.ccfen-split-hero-text h1 {
	line-height: 1;
	letter-spacing: -0.003em;
}

.ccfen-split-hero-text .wp-block-buttons {
	margin-top: 40px;
}

/* Spanish /es/join/: the long "Únete como parte de una organización" label
   wraps inside its button (as on live) instead of dropping to a second row.
   Below 1280px the pair stacks, as the English one does. */
@media (min-width: 1280px) {
	:lang(es) .ccfen-split-hero-text .wp-block-buttons {
		flex-wrap: nowrap;
		align-items: flex-start;
	}

	:lang(es) .ccfen-split-hero-text .wp-block-button:first-child {
		flex-shrink: 0;
	}
}

.ccfen-split-hero-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ccfen-split-hero--home .ccfen-split-hero-media {
	display: none;
}

@media (min-width: 850px) {
	.ccfen-split-hero {
		grid-template-columns: 55% 45%;
		min-height: 105vh; /* live: the hero fills the window */
	}

	.ccfen-split-hero-text {
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		padding: 240px var(--wp--custom--ccfen--gutter) 148px;
	}

	.ccfen-split-hero--home .ccfen-split-hero-text h1 {
		max-width: 7.5em;
	}

	.ccfen-split-hero--home .ccfen-split-hero-media {
		display: block;
	}
}

/* Accordion rows (launchpad/accordion): tinted tiles with a + on the right,
   white tiles on coloured bands. */
.ccfen-accordion {
	display: grid;
	gap: 20px;
	margin-top: 32px;
}

.ccfen-accordion {
	--accordion-item-gap: 20px; /* the parent's editor gap */
	--accordion-header-bg: transparent;
	--accordion-header-hover-bg: transparent;
	--accordion-content-bg: transparent;
	--accordion-shadow: none;
}

.ccfen-accordion .launchpad-accordion-item {
	border: 0;
	border-radius: var(--wp--custom--ccfen--radius);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
}

.has-background:not(.has-base-background-color) .ccfen-accordion .launchpad-accordion-item {
	background: var(--wp--preset--color--base);
}

/* border-box: the editor renders the header as a div (content-box), which
   pushed the "+" past the tile edge; the front-end button is border-box. */
.ccfen-accordion .launchpad-accordion-item__header {
	box-sizing: border-box;
	gap: 16px;
	padding: 19.5px 20px;
	font-family: var(--wp--preset--font-family--primary);
	font-size: var(--wp--preset--font-size--base);
	font-weight: 400;
	line-height: 1.8;
	text-align: left;
	color: inherit;
}

/* Live: a plain thin "+" (plus.svg), no disc. */
.ccfen-accordion .launchpad-accordion-item__icon {
	width: 20px;
	height: 20px;
	background: none;
	border-radius: 0;
}

.ccfen-accordion .launchpad-accordion-item__icon::before,
.ccfen-accordion .launchpad-accordion-item__icon::after {
	background: currentColor;
}

.ccfen-accordion .launchpad-accordion-item__icon::before {
	width: 100% !important;
	height: 1.5px !important;
}

.ccfen-accordion .launchpad-accordion-item__icon::after {
	width: 1.5px !important;
	height: 100% !important;
}

.ccfen-accordion--steps .launchpad-accordion-item__icon {
	width: 24px;
	height: 24px;
}

.ccfen-accordion .launchpad-accordion-item__title {
	font-size: inherit;
	font-weight: 400;
	line-height: inherit;
	letter-spacing: 0.01em;
}

/* Open: live swaps in a flat minus (minus.svg). The parent rotates the bar to
   vertical and expects ::after to fade, which left a "|" here. */
.ccfen-accordion .launchpad-accordion-item__header[aria-expanded="true"] .launchpad-accordion-item__icon::before {
	transform: none;
}

.ccfen-accordion .launchpad-accordion-item__header[aria-expanded="true"] .launchpad-accordion-item__icon::after {
	opacity: 0;
	transform: rotate(90deg);
}

/* Live: the answer sits 32px in from the tile edges, with room above. */
.ccfen-accordion .launchpad-accordion-item__content-inner {
	padding: 14px 32px 32px;
}

/* Links in accordion answers and event write-ups: underlined in the text
   colour like the other body links. Live leaves them browser-blue; Cliff QA
   2026-10-21 asked for the brand look. */
.ccfen-accordion .launchpad-accordion-item__content a,
.ccfen-halves-text p a {
	color: inherit;
	text-decoration: underline;
}

/* ---------------------------------------------------------------- Home */

.ccfen-home-intro {
	padding-top: 209px;
	padding-bottom: 198px;
}

.ccfen-home-intro .ccfen-statement {
	margin-bottom: 89px;
}

.ccfen-home-values,
.ccfen-home-work {
	padding-inline: 10vw;
}

/* Inside the intro band (already 5vw in), the paragraphs line up with Values
   and "Child care is the work" at 10vw from the edge, as live (Cliff QA
   2026-10-21: they sat at 15vw). */
.ccfen-home-intro .ccfen-halves {
	padding-inline: calc(10vw - var(--wp--custom--ccfen--gutter));
}

.ccfen-home-purpose {
	padding-top: 64px;
	padding-bottom: 90px;
}

.ccfen-home-values {
	padding-top: 91px;
	padding-bottom: 101px;
}

.ccfen-home-work {
	padding-top: 90px;
	padding-bottom: 248px;
}

/* The live "fat" statement heading: 52px, a touch of tracking. */
.ccfen-fat-heading {
	max-width: 563px;
	text-wrap: wrap; /* live breaks greedily; balance would move "work that" down */
	font-size: 3.25rem;
	line-height: 1.05;
	letter-spacing: 0.02em;
}

.ccfen-cta {
	padding-top: 119px;
	padding-bottom: 194px;
}

@media (min-width: 850px) {
	.ccfen-home-intro {
		padding-top: 150px;
		padding-bottom: 182px;
	}

	.ccfen-home-intro .ccfen-statement {
		margin-bottom: 50px;
	}

	.ccfen-home-intro .ccfen-halves {
		padding-inline: 0;
	}

	.ccfen-home-values,
	.ccfen-home-work {
		padding-inline: var(--wp--custom--ccfen--gutter);
	}

	.ccfen-home-purpose {
		padding-top: 34px;
		padding-bottom: calc(130px + 5vw); /* live: 9vw band padding + 5% inner padding */
	}

	.ccfen-home-values {
		padding-top: 127px;
		padding-bottom: 203px;
	}

	.ccfen-home-values .ccfen-halves {
		align-items: start;
	}

	/* Live: eyebrow and statement sit 13px left of the gutter, the rows 29px,
	   and the rows run 25px past the column. */
	.ccfen-home-values .ccfen-halves-text {
		margin-left: -13px;
	}

	.ccfen-home-values .ccfen-accordion {
		margin-inline: -16px -25px;
	}

	.ccfen-home-work {
		padding-top: 70px;
		padding-bottom: 218px;
	}

	.ccfen-cta {
		padding-top: 36px;
		padding-bottom: 166px;
	}
}

/* ---------------------------------------------------------------- Banner pages
   Live template B: the blue band with its torn white bottom baked into
   blue_header.png, a centred 75px yellow title, then the page content in one
   full-width column (.ccfen-copy). */

/* Phones: live fixes the band at 420px and lets a long title run over it. */
.ccfen-banner {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 420px;
	padding: 125px 0 100px;
	background: var(--wp--preset--color--base) url(assets/images/banner-blue.png) center / auto 110% no-repeat;
}

/* Below 390px the 75px title clipped at the band's edges ("Conocimientos"
   on /es/learn/ ran 434px wide at 320); scale it down there. */
.ccfen-banner > h1.wp-block-heading {
	margin: 0;
	max-width: 947px;
	font-size: min(var(--wp--preset--font-size--display), 17vw);
	overflow-wrap: break-word;
}

@media (min-width: 390px) {
	.ccfen-banner > h1.wp-block-heading:not(:lang(es)) {
		font-size: var(--wp--preset--font-size--display);
	}
}

/* Spanish titles run longer (one word is 434px at 75px), so they keep
   scaling until 450px. */
@media (min-width: 450px) {
	.ccfen-banner > h1.wp-block-heading {
		font-size: var(--wp--preset--font-size--display);
	}
}

@media (min-width: 850px) {
	.ccfen-banner {
		height: auto;
	}

	/* 1,100px keeps the longest title ("2026 Voters Support Child Care for
	   All", 1,060px) on one line, as live; it wrapped onto the torn edge. */
	.ccfen-banner > h1.wp-block-heading {
		max-width: 1100px;
		margin: 50px 0 51px;
	}
}

.ccfen-copy {
	padding: var(--wp--custom--ccfen--gutter) var(--wp--custom--ccfen--gutter) 200px;
	line-height: 1.168;
	letter-spacing: 0.008em;
}

.ccfen-copy > *,
.ccfen-copy .wp-block-column > *,
.ccfen-copy .wp-block-group > * {
	max-width: none;
}

.ccfen-copy p,
.ccfen-copy li {
	line-height: 1.46;
}

/* Doubled class: core flow layout zeroes the first child top margin; live keeps it. */
.ccfen-copy.ccfen-copy > :first-child {
	margin-top: 20px;
}

.ccfen-copy.ccfen-copy :is(h2, h3, h4) {
	margin-block: 1em 0.5em;
}

/* Live: full-size content images fill the column; aligned/resized ones keep their size. */
.ccfen-copy .wp-block-image img {
	height: auto;
}

.ccfen-copy .wp-block-image:not(.alignleft):not(.alignright):not(.is-resized) img {
	width: 100%;
}

.ccfen-copy .wp-block-separator,
.ccfen-copy .wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	width: 100%;
	margin-block: 20px;
	border-top: 1px solid #808080;
	opacity: 1;
}

.ccfen-copy .wp-block-embed {
	margin-block: 0;
}

/* Knowledge Share (/learn/, Cliff QA 2026-10-19): one standard gap between a
   video row and the next, one gutter between each video and its text, and the
   text starting level with the top of the video (no heading top margin). */
.wp-block-group.ccfen-learn > .wp-block-columns {
	gap: 24px 40px;
}

.wp-block-group.ccfen-learn > .wp-block-columns + * {
	margin-block-start: 56px;
}

.wp-block-group.ccfen-learn .wp-block-column > :first-child {
	margin-block-start: 0;
}

@media (min-width: 782px) {
	.wp-block-group.ccfen-learn > .wp-block-columns + * {
		margin-block-start: 96px;
	}
}

/* Fellowship bios (/about/parent-provider-fellowship/, Cliff QA 2026-10-19):
   one gap between a bio row and the next, photo or not. */
.wp-block-group.ccfen-bios > .wp-block-columns + .wp-block-columns {
	margin-block-start: 48px;
}

/* Stacked on phones, a bio without a photo kept its empty photo column (and
   its row gap) above the name. */
.wp-block-group.ccfen-bios .wp-block-column:empty {
	display: none;
}

@media (min-width: 782px) {
	.wp-block-group.ccfen-bios > .wp-block-columns + .wp-block-columns {
		margin-block-start: 64px;
	}

	.wp-block-group.ccfen-bios .wp-block-column:empty {
		display: block;
	}
}

/* ---------------------------------------------------------------- Page-builder pages
   Generated from the live ACF sections (build-pb-pages.cjs). Band padding and the
   gaps between blocks are measured fluid values in each block's spacing attributes;
   these rules only reset margins and style the recurring pieces. */

.wp-block-group.ccfen-statement-block > * {
	margin-block: 0;
}

.ccfen-lead {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.4;
}

.ccfen-bold {
	font-weight: 700;
}

.ccfen-halves-text p,
.ccfen-halves-text li {
	margin-block: 0;
}

.ccfen-halves-text > * + p {
	margin-top: 25px;
}

/* Split hero on inner pages: 50/50, photo hidden on phones (as live). */
.ccfen-split-hero-media:empty,
.ccfen-split-hero:not(.ccfen-split-hero--home) .ccfen-split-hero-media {
	display: none;
}

.ccfen-split-hero:not(.ccfen-split-hero--home) .ccfen-split-hero-text {
	padding-top: 218px;
	padding-bottom: 55px;
}

@media (min-width: 850px) {
	.ccfen-split-hero:not(.ccfen-split-hero--home) {
		grid-template-columns: 52.5% 47.5%;
		min-height: 100vh;
	}

	.ccfen-split-hero:not(.ccfen-split-hero--home) .ccfen-split-hero-text {
		padding-top: 240px;
		padding-bottom: 96px;
	}

	.ccfen-split-hero:not(.ccfen-split-hero--home) .ccfen-split-hero-media {
		display: block;
	}

	.ccfen-split-hero:not(.ccfen-split-hero--home) .ccfen-split-hero-media:empty {
		display: none;
	}
}

/* Steps (live about_section_steps): white tiles, two columns from 850px. */
.ccfen-accordion--steps {
	--accordion-item-gap: 14px;
	margin-top: 0;
	gap: 14px;
}

/* Editor only: InnerBlocks puts its list wrapper between the grid and the
   items, so the parent's editor.scss makes that wrapper a flex column. Give it
   the steps grid instead, spanning the root's own columns. (Proper fix:
   useInnerBlocksProps in launchpad-theme.) */
.ccfen-accordion--steps > .block-editor-inner-blocks {
	grid-column: 1 / -1;
}

.ccfen-accordion--steps > .block-editor-inner-blocks > .block-editor-block-list__layout {
	display: grid;
}

/* Tightened (review 14 Oct): live's 28-29px rows read as padded-out boxes. */
.ccfen-accordion--steps .launchpad-accordion-item__header {
	padding: 16px 18px;
	font-size: 1rem;
	line-height: 1.4;
}

.ccfen-accordion--steps .launchpad-accordion-item__content-inner {
	padding: 0 18px 20px;
}

@media (min-width: 850px) {
	.ccfen-accordion--steps,
	.ccfen-accordion--steps > .block-editor-inner-blocks > .block-editor-block-list__layout {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 32px;
		row-gap: 20px;
		align-items: start;
	}

	.ccfen-accordion--steps .launchpad-accordion-item__header {
		padding: 18px 26px;
		font-size: 1.5rem;
	}

	.ccfen-accordion--steps .launchpad-accordion-item__content-inner {
		padding: 2px 26px 26px;
	}
}

/* ---------------------------------------------------------------- Staff
   Live: 3 columns of 432px at 1440, each a 144px round photo beside name,
   title and Contact / Bio (the bio opens in a launchpad/popup). */

.ccfen-people {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	row-gap: 86px;
	padding-top: 173px;
	padding-bottom: 150px;
}

.ccfen-person {
	display: grid;
	grid-template-columns: 117px minmax(0, 1fr);
	grid-template-rows: auto auto 1fr;
	column-gap: 20px;
	align-content: start;
}

.wp-block-group.ccfen-person > * {
	margin: 0;
}

.ccfen-person-photo {
	grid-row: 1 / span 3;
}

.ccfen-person-photo img {
	display: block;
	width: 100%;
	height: auto;
}

.ccfen-person-name {
	margin: 0;
	font-family: var(--wp--preset--font-family--secondary);
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	text-wrap: wrap;
	min-height: 2.08em; /* live reserves two lines, so titles align across a row */
}

.ccfen-person-title {
	margin-top: 13px !important;
	font-weight: 700;
	line-height: 1.25;
}

.wp-block-group.ccfen-person-contact {
	gap: 16px;
	margin-top: 10px !important;
	font-size: 1rem;
}

.ccfen-person-contact > * {
	margin: 0;
}

.ccfen-person-bio .popup-trigger-button,
.ccfen-person-bio .popup-trigger-wrapper > button {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
}

@media (min-width: 850px) {
	.ccfen-people {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		row-gap: 97px;
		padding-top: 225px;
		padding-bottom: 284px;
	}

	.ccfen-person {
		grid-template-columns: 144px minmax(0, 1fr);
	}
}

/* ---------------------------------------------------------------- Plain pages
   Live template C (CHIPS, What to Know, every press release): white top with
   the colour logo, a centred 40px title (30px on phones), then a 1100px column. */

.ccfen-plain {
	padding: clamp(225px, 469px - 17vw, 303px) var(--wp--custom--ccfen--gutter) 130px;
}

.wp-block-group.ccfen-plain > * {
	margin-block: 0;
}

.ccfen-plain-title,
.ccfen-press-title {
	max-width: 800px;
	margin-inline: auto !important;
	font-size: clamp(30px, 26.29px + 0.952vw, 40px);
	letter-spacing: 0;
}

.ccfen-plain-content,
.ccfen-press-content {
	max-width: 1100px;
	margin: 50px auto 0 !important;
}

.ccfen-plain-content > *,
.ccfen-press-content > * {
	max-width: none;
}

.ccfen-plain-content .wp-block-separator,
.ccfen-plain-content .wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	width: 100%;
	border-top: 1px solid #808080;
	opacity: 1;
}

/* ---------------------------------------------------------------- Press releases */

.ccfen-press {
	padding-bottom: 225px;
}

.ccfen-plain.ccfen-press {
	padding-top: 190px;
}

.ccfen-press-lead {
	max-width: 700px;
	margin: 52px auto 0 !important;
}

.ccfen-press-lead .wp-block-post-excerpt__excerpt {
	margin: 0;
}

.ccfen-press-date {
	margin-top: 52px !important;
	color: var(--wp--preset--color--muted);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
}

.ccfen-press-content {
	margin-top: 74px !important;
}

.ccfen-press-content > * + * {
	margin-top: 20px;
}

/* Join band: torn top (purple over white) and torn bottom (white over purple). */
.ccfen-press-cta {
	padding-top: 110px;
	padding-bottom: 190px;
}

.ccfen-press-cta .wp-block-buttons {
	margin-top: 40px;
}

.ccfen-press-cta::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: var(--wp--custom--ccfen--tear);
	background: var(--wp--preset--color--base);
	-webkit-mask: url(assets/images/tear-a.svg?v=2) 0 0 / 100% 100% no-repeat;
	mask: url(assets/images/tear-a.svg?v=2) 0 0 / 100% 100% no-repeat;
	pointer-events: none;
}

.ccfen-press-cta .ccfen-cta-title {
	max-width: 1000px;
	margin-inline: auto;
}

/* ---------------------------------------------------------------- News
   Live: every press release as a bordered card, 3 x 326px with 50px gaps. */

.ccfen-news {
	padding-top: 45px;
	padding-bottom: 200px;
}

.ccfen-news-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 54px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ccfen-news-grid > li {
	margin: 0;
}

.ccfen-news-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	box-sizing: border-box;
	padding: clamp(19.5px, 2vw, 28.8px);
	border: 3px solid var(--wp--preset--color--outline);
	border-radius: 16px;
	text-align: center;
}

.wp-block-group.ccfen-news-card > * {
	margin: 0;
}

.ccfen-news-date {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.46;
}

.ccfen-news-title {
	margin-top: 16px !important;
	font-family: var(--wp--preset--font-family--primary);
	font-size: var(--wp--preset--font-size--base);
	font-weight: 400;
	line-height: 1.46;
}

a.ccfen-news-read.wp-block-read-more {
	text-decoration: none;
}

.ccfen-news-read {
	margin-top: auto !important;
	padding: 10px 11px;
	border-radius: var(--wp--custom--ccfen--radius);
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--secondary);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.ccfen-news-card .ccfen-news-title {
	margin-bottom: 30px !important;
}

/* Two columns from 850px, three from 1180px (live shows two at 1024). Columns
   may shrink below 326px so the grid never outgrows its container: a fixed
   three-column grid ran off both edges below 1,080px. */
@media (min-width: 850px) {
	.ccfen-news-grid {
		grid-template-columns: repeat(2, minmax(0, 326px));
		justify-content: center;
		gap: 54px 50px;
	}
}

@media (min-width: 1180px) {
	.ccfen-news-grid {
		grid-template-columns: repeat(3, minmax(0, 326px));
	}
}

/* ---------------------------------------------------------------- Slate buttons
   The live site's dark grey buttons (CHIPS toolkit, Knowledge Share fact sheets).
   Live intends white text but renders it dark (no "white" in its palette); white
   is used here so the label is readable. */

.wp-block-button.ccfen-btn-slate .wp-block-button__link,
.wp-block-button.ccfen-btn-slate .wp-block-button__link:hover {
	background-color: #39414d;
	color: var(--wp--preset--color--base);
	padding: 16px;
}

/* Below 390px the pair of slate buttons on /chips/ split words mid-way
   ("DOWNLO-AD"); smaller labels there, whole words only. */
.wp-block-button.ccfen-btn-slate .wp-block-button__link {
	font-size: min(1.5rem, 5.6vw);
	word-break: normal;
}

@media (min-width: 390px) {
	.wp-block-button.ccfen-btn-slate .wp-block-button__link {
		font-size: 1.5rem; /* theme.json button size */
	}
}

/* Long single words in headings ("Acknowledgments" on /chips/ at 320px) wrap
   rather than run past the edge. */
.ccfen-plain h2,
.ccfen-plain h3 {
	overflow-wrap: break-word;
}

/* ---------------------------------------------------------------- Review round 1 (13 Oct)
   Nav: no underlines anywhere, centred dropdown items, and the boxes stay
   pinned top-right while scrolling (live's sticky menu; the logo scrolls away). */

.ccfen-nav a,
.ccfen-nav a:hover,
.ccfen-nav a:focus {
	text-decoration: none;
}

.ccfen-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	justify-content: center;
	width: 100%;
	text-align: center;
}

@media (min-width: 1000px) {
	.ccfen-header .ccfen-nav {
		position: fixed;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 62px);
		right: 48px;
		z-index: 100;
	}

	/* Editor: fixed would pin the nav to the canvas viewport, over the text
	   being edited. Same spot, relative to the header row (every editor block
	   is position: relative), which starts 62px down and ends 48px from the
	   edge — measured in the canvas. */
	.block-editor-block-list__layout .ccfen-header .ccfen-nav {
		position: absolute;
		top: 0;
		right: 0;
	}
}

/* Buttons: a subtle lift on hover. */
.wp-block-button__link,
.ccfen-news-read {
	transition: filter 0.15s ease, transform 0.15s ease;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus-visible,
.ccfen-news-read:hover {
	filter: brightness(0.92);
	transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
	.wp-block-button__link,
	.ccfen-news-read {
		transition: none;
	}

	.wp-block-button__link:hover,
	.wp-block-button__link:focus-visible,
	.ccfen-news-read:hover {
		transform: none;
	}
}

/* The few buttons live shows in sentence case (About, Funders, Polling, Principles). */
.ccfen-btn-sentence .wp-block-button__link {
	text-transform: none;
}

/* News cards: the core content-link underline outranks the card rule. */
.wp-block-post-content a.ccfen-news-read.wp-block-read-more,
.entry-content a.ccfen-news-read.wp-block-read-more {
	text-decoration: none;
}

/* Staff bio popup, as live: a wide white card with a 4px black border over a
   blurred page, larger text, and a plain close cross. */
/* The dialog fills the viewport, so the frosted wash goes on it (more reliable
   than ::backdrop across browsers). */
.ccfen-person-bio .popup-dialog::backdrop {
	background: transparent;
}

.wp-block-launchpad-popup.ccfen-person-bio .popup-dialog.popup-open {
	background: rgba(255, 255, 255, 0.35);
	-webkit-backdrop-filter: blur(40px);
	backdrop-filter: blur(40px);
}

.ccfen-person-bio .popup-panel {
	width: min(932px, calc(100vw - 32px));
	max-width: none;
}

.wp-block-launchpad-popup.ccfen-person-bio .popup-dialog.popup-size-medium .popup-dialog-content {
	width: 100%;
	max-width: none;
	padding: 30px;
	border: 4px solid #000;
	border-radius: 8px;
	box-shadow: none;
}

.ccfen-person-bio .popup-content p:not(.ccfen-person-name) {
	font-size: clamp(1rem, 0.85rem + 0.6vw, 1.25rem);
	line-height: 1.46;
}

.ccfen-person-bio .popup-close-button {
	background: none;
	color: #000;
	box-shadow: none;
}

/* Phone menu, as live: About Us / Offerings collapsed behind a chevron (tap to
   open), and JOIN US NOW low in the screen. Core hides the toggle and forces
   submenus open in the overlay; this restores the toggle. */
.ccfen-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.has-child {
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

.ccfen-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin: 0 0 0 10px;
	padding: 0;
	border: 0;
	background: none;
	color: currentColor;
}

.ccfen-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon svg {
	width: 16px;
	height: 16px;
	stroke-width: 2.6;
	transition: transform 0.15s ease;
}

/* Core flips the chevron for its always-open overlay; point it by our state instead. */
.ccfen-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon,
.ccfen-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon svg {
	transform: none !important;
}

.ccfen-nav .wp-block-navigation__responsive-container.is-menu-open .ccfen-sub-open > .wp-block-navigation__submenu-icon svg {
	transform: rotate(180deg) !important;
}

.ccfen-nav .wp-block-navigation__responsive-container.is-menu-open .has-child > .wp-block-navigation__submenu-container {
	display: none !important;
}

.ccfen-nav .wp-block-navigation__responsive-container.is-menu-open .has-child.ccfen-sub-open > .wp-block-navigation__submenu-container {
	display: flex !important;
	flex-basis: 100%;
}

.ccfen-nav .wp-block-navigation__responsive-container.is-menu-open .ccfen-nav-join > .wp-block-navigation-item__content {
	margin-top: max(48px, 28vh);
}

/* ---------------------------------------------------------------- Phones: tighter sections
   Live's band spacing bottoms out around 200px on phones, which reads as empty
   screens. Below 850px every section gets a compact rhythm instead; the bottom
   keeps room for the next section's torn edge (8.4vw ≈ 33px at 390). */
@media (max-width: 849px) {
	.ccfen-band:not(.ccfen-raw),
	.ccfen-copy,
	.ccfen-people,
	.ccfen-news {
		padding-top: 64px !important;
		padding-bottom: calc(var(--wp--custom--ccfen--tear) + 40px) !important;
	}

	.ccfen-plain {
		padding-bottom: 72px !important;
	}

	.ccfen-plain.ccfen-press {
		padding-top: 160px !important;
	}

	/* A section straight after a page-title banner: the banner's torn edge
	   already separates them. */
	/* The page-title banner is a fixed 420px with its torn edge in the
	   background image; a three-line title ran into the edge. Let it grow
	   with the title instead, keeping room for the edge. */
	.ccfen-banner {
		height: auto;
		min-height: 300px;
		padding-bottom: 92px !important;
	}

	.ccfen-banner + .ccfen-band,
	.ccfen-banner + .ccfen-copy,
	.ccfen-banner + .ccfen-people,
	.ccfen-banner + .ccfen-news {
		padding-top: 40px !important;
	}

	/* Inside sections: spacer blocks and heading margins sized for desktop. */
	.ccfen-band .wp-block-spacer,
	.ccfen-copy .wp-block-spacer,
	.ccfen-plain .wp-block-spacer {
		max-height: 16px !important;
	}

	.ccfen-copy :is(h2, h3, h4):not(:first-child) {
		margin-top: 32px !important;
	}

	.ccfen-press-lead,
	.ccfen-press-date {
		margin-top: 28px !important;
	}

	.ccfen-press-content {
		margin-top: 40px !important;
	}
}

/* The floating TranslatePress language switcher sat over the open phone menu
   (QA 14349); hide it while the menu overlay is open (core adds the class). */
html.has-modal-open .trp-floating-switcher {
	display: none;
}

/* Live's switcher: brand heading font, 16px bold capitals, no flags, 200px
   wide (Cliff QA 2026-10-21). Only the look; it stays where it is. */
.trp-floating-switcher {
	box-sizing: border-box;
	min-width: 200px;
}

.trp-floating-switcher .trp-language-item-name {
	font-family: var(--wp--preset--font-family--secondary);
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
}

/* !important: TranslatePress shows flags with .trp-flag-image { display: inline-block !important }. */
.trp-floating-switcher .trp-flag-image {
	display: none !important;
}

/* Editor only (Bureau 14382): Launchpad 1.15.1 opens a selected popup's bio
   panel inline, inside the narrow staff card, so the card grows and overlaps
   its neighbours. Show it as an overlay over the canvas instead. Clicks on the
   dimmed area pass through to the page, so clicking outside the bio selects
   something else and closes it. These classes exist only in the editor.
   Remove once launchpad PR #116 (the same fix in the parent) is released. */
.wp-block-launchpad-popup.is-open-in-editor .popup-editor-surface {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	padding: 40px 24px;
	overflow-y: auto;
	background: rgba(36, 33, 44, 0.6);
	pointer-events: none;
}

.wp-block-launchpad-popup.is-open-in-editor .popup-editor-surface > * {
	width: 100%;
	max-width: 820px;
	pointer-events: auto;
}

.wp-block-launchpad-popup.is-open-in-editor .popup-editor-caption {
	color: #fff;
}

.wp-block-launchpad-popup.is-open-in-editor .popup-editor-caption::after {
	content: " · Click outside the bio to close";
}

.wp-block-launchpad-popup.is-open-in-editor .popup-dialog.is-editor-preview {
	background: none;
	padding-top: 16px;
}
