/*
Theme Name: ACRU
Theme URI: https://theacru.org
Author: ACRU
Description: Custom lightweight FSE block theme for the ACRU network. Direction C (Modern Advocacy) blended with Direction B (Institutional Authority). Parent theme; subsites use thin child themes.
Version: 0.11.9
Requires at least: 6.6
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: acru
*/

/* ---------------------------------------------------------------
   Foundation CSS beyond theme.json.
   Colors/fonts/spacing come from theme.json presets — use the
   --wp--preset--* custom properties, never raw hex, so child
   themes can retune via their own theme.json.
   --------------------------------------------------------------- */

/* ----- Type utilities ----- */

/* Red eyebrow with underline (C)

   🔴 THIS WAS `display: inline-block` AND THAT PUT IT OUTSIDE THE CONTENT
   COLUMN ON EVERY FULL-BLEED SECTION. Measured 2026-08-25 on /events/ and
   /florida/: eyebrow left edge 24px, the heading it labels 540px.

   Cause: inline-block was here so the 3px border-bottom would hug the text
   instead of spanning the column. But WordPress positions children of a
   constrained layout with `margin-left/right: auto`, and AUTO MARGINS COMPUTE
   TO ZERO ON AN INLINE-BLOCK. So the eyebrow silently opted out of the
   layout and fell to the section's padding edge, while its sibling heading —
   an ordinary block — went where it was told.

   The fix is to stop fighting the layout: make it a block, so it lands
   wherever its heading lands, and move the rule from `border-bottom` (which
   would then span the whole column) to `text-decoration: underline`, which
   hugs the text exactly as the border did. Same look, correct position, and
   it needs no per-context tuning because the eyebrow now inherits whatever
   the layout gives every other block.

   ⚠️ THE OBVIOUS FIX WAS THE WRONG ONE AND MEASUREMENT IS THE ONLY REASON IT
   DID NOT SHIP. The first proposal was a margin nudge:

       :where(.is-layout-constrained) > .acru-eyebrow {
           margin-left: max(0px, calc((100% - <content-size>) / 2)) !important;
       }

   Four of the six eyebrows on the HOME PAGE match that selector and are
   already correct — they sit in `alignwide` groups at left 290, flush with
   their headings. The rule would have computed (1220 - 720) / 2 = 250 and
   shoved them to 540, breaking a correct page to fix a broken one. Matching
   the selector is not the same as being broken, and no selector can tell the
   difference. `display: block` needs no such distinction: it is right in both
   cases for the same reason.

   ⚠️ padding-bottom is 8px, not 5px, ON PURPOSE — it absorbs the 3px the
   removed border used to contribute to the box height, so nothing below the
   eyebrow shifts on ~141 published items across seven sites.

   ⚠️ text-decoration-skip-ink is off so the rule stays unbroken. Moot for
   uppercase Latin, but the eyebrow is a design element, not prose. */
.acru-eyebrow {
	font-family: var(--wp--preset--font-family--acumin);
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--acru-red);
	display: block;
	padding-bottom: 8px;
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--acru-red);
	text-decoration-thickness: 3px;
	text-underline-offset: 7px;
	text-decoration-skip-ink: none;
}

/* Quiet gray eyebrow, no rule (B) */
.acru-eyebrow-quiet {
	font-family: var(--wp--preset--font-family--acumin);
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	font-size: 12.5px;
	color: var(--wp--preset--color--acru-gray);
	border-bottom: none;
	text-decoration: none;
}

/* On-navy variant.
   ⚠️ `border-color` is now inert on its own — the rule is drawn by
   text-decoration — but it is kept because `.acru-eyebrow-light` is also used
   ALONE on 105 items, where it is a plain paragraph and no rule is drawn at
   all. The decoration colour is what actually matters for the 24 places that
   pair it with `.acru-eyebrow`. */
.acru-eyebrow-light {
	color: var(--wp--preset--color--gold);
	border-color: var(--wp--preset--color--acru-red);
	text-decoration-color: var(--wp--preset--color--acru-red);
}

/* Condensed slab display (C headers) */
.acru-slab {
	font-family: var(--wp--preset--font-family--acumin) !important;
	font-weight: 600 !important;
	text-transform: uppercase;
	letter-spacing: .01em;
	line-height: 1;
}

/* Byline / meta line */
.acru-byline {
	font-size: 12.5px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--acru-gray);
	font-weight: 700;
	font-family: var(--wp--preset--font-family--lato);
}

/* Kicker above article titles (column name) */
.acru-kicker {
	font-family: var(--wp--preset--font-family--acumin);
	color: var(--wp--preset--color--acru-red);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: 13px;
}

/* Centered red rule mark (B's Meese treatment) */
.acru-rule-mark {
	width: 54px;
	height: 3px;
	background: var(--wp--preset--color--acru-red);
}

/* 🔴 The gold rule in the DEFAULT page hero was landing in the middle of the
   band instead of under the start of the title — measured 2026-08-24 on
   /criminal-illegal-immigration-hotline/: rule left edge 873px, title left edge
   540px.

   Cause: the hero group is `is-layout-constrained`, and WordPress core emits

       :root :where(.is-layout-constrained) > :where(:not(.alignleft)…)
       { margin-left: auto !important; margin-right: auto !important; }

   so a 54px-wide child is centred by the layout, not by anything in this theme.
   The computed margins were literally `825px` each side.

   ⚠️ FIRST ATTEMPT WAS `margin-left: 0` AND IT OVERCORRECTED. That aligns the
   bar to the BAND, not to the text: the band is full width, so the rule went to
   the 48px padding edge while the title — which sits in the 720px centred
   content column — starts at 540px. Wrong by roughly half the viewport, in the
   other direction.

   The bar has to align with the CONTENT COLUMN, so it keeps the auto margins
   that put it there and spans the full column width.

   ⚠️ A 54px STUB WAS THE SECOND THING TO GO. Once aligned it read fine under a
   long title but looked like an underline fragment beneath a single short word
   — "SCHOLARSHIP" with a stub under its first four letters. A fixed-width mark
   cannot be proportionate to a variable-length title, so the width stopped
   being a design choice and became a bug that fires on some pages and not
   others. Tom's call 2026-08-25: run it the full content width, where it reads
   as a deliberate divider at ANY title length and never needs revisiting per
   page.

   ⚠️ `!important` is required — core's rule carries it and a plain override
   loses.

   ⚠️ SCOPED TO `.acru-page-hero` DELIBERATELY. `.acru-rule-mark` is also used
   as a genuinely centred 54px mark elsewhere (the Meese treatment above), and
   that one is correct as it is; an unscoped change would break it. */
.acru-page-hero .acru-rule-mark {
	width: 100%;
	max-width: var(--wp--style--global--content-size) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	background: var(--wp--preset--color--gold);
}

/* ----- Header ----- */

.acru-header {
	position: sticky;
	top: 0;
	z-index: 50;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.acru-header .acru-logo {
	height: 64px;
	width: auto;
	display: block;
}

.acru-footer .acru-footer-logo {
	height: 82px;
	width: auto;
	margin-bottom: 14px;
}

.acru-header .wp-block-navigation a {
	font-family: var(--wp--preset--font-family--acumin);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--acru-blue);
	text-decoration: none;
}

.acru-header .wp-block-navigation a:hover {
	color: var(--wp--preset--color--acru-red);
}

/* ----- Buttons: pill system -----
   Default button (theme.json) = red pill.
   Block styles registered in functions.php add navy / white / outline. */

.wp-block-button.is-style-pill-navy .wp-block-button__link {
	background-color: var(--wp--preset--color--acru-blue);
	color: var(--wp--preset--color--white);
}

.wp-block-button.is-style-pill-navy .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--navy-deep);
}

.wp-block-button.is-style-pill-white .wp-block-button__link {
	background-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--acru-blue);
}

.wp-block-button.is-style-pill-white .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--warm-gray);
}

.wp-block-button.is-style-outline-light .wp-block-button__link {
	background: transparent;
	border: 1.5px solid rgba(255, 255, 255, .7);
	color: var(--wp--preset--color--white);
}

.wp-block-button.is-style-outline-light .wp-block-button__link:hover {
	background: rgba(255, 255, 255, .1);
}

.wp-block-button__link:hover {
	background-color: var(--wp--preset--color--red-deep);
}

/* Text-link CTA with red underline (C's "learn" link) */
.acru-learn-link a {
	color: inherit;
	font-family: var(--wp--preset--font-family--acumin);
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	font-size: 15px;
	text-decoration: none;
	border-bottom: 3px solid var(--wp--preset--color--acru-red);
	padding-bottom: 4px;
}

/* ----- Article content ----- */

/* Measure + rhythm for post body */
.acru-article-content p,
.acru-article-content ul,
.acru-article-content ol {
	line-height: 1.75;
}

/* Heading rhythm.
   ⚠️ There was NO heading margin rule anywhere, so headings inherited nothing
   but theme.json's uniform `blockGap: 1.25rem`. A <h2> opening a new section
   therefore got exactly 20px above it and 20px below — the same gap as between
   two consecutive paragraphs. With no more space above a heading than below it,
   a heading reads as attached to the text it FOLLOWS rather than the text it
   introduces, which is why stacked sections looked crammed together. Reported
   by Tom on `/become-a-poll-worker/`, 2026-08-19; it was never that page.

   The asymmetry is the whole point: generous above, tight below, so a heading
   binds to its own section.

   🔴 Scoped to `.acru-article-content` deliberately. Headings inside patterns
   (home bands, hero, columnist strip) set their own spacing and must not be
   caught by this — but this DOES change every article and page body on all ten
   sites, ~6,000 items. Tom's call, network-wide, 2026-08-19. */
.acru-article-content h2 {
	margin-top: var(--wp--preset--spacing--50);
	margin-bottom: 12px;
}

.acru-article-content h3,
.acru-article-content h4 {
	margin-top: 36px;
	margin-bottom: 8px;
}

/* A heading opening the body has the page title above it already — the section
   gap would read as a hole rather than as separation. */
.acru-article-content > h2:first-child,
.acru-article-content > h3:first-child,
.acru-article-content > h4:first-child {
	margin-top: 0;
}

.acru-article-content a:not(.wp-element-button) {
	color: var(--wp--preset--color--acru-red);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.acru-article-content a:not(.wp-element-button):hover {
	color: var(--wp--preset--color--red-deep);
}

.acru-article-content blockquote {
	border-left: 3px solid var(--wp--preset--color--acru-red);
	padding-left: var(--wp--preset--spacing--40);
	font-family: var(--wp--preset--font-family--caslon);
	font-style: italic;
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--acru-blue);
}

/* Post title links in archive lists */
.acru-archive-title a {
	text-decoration: none;
	color: inherit;
}

.acru-archive-title a:hover {
	color: var(--wp--preset--color--acru-red);
}

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

.acru-footer h5,
.acru-footer .acru-footer-head {
	font-family: var(--wp--preset--font-family--acumin);
	letter-spacing: .15em;
	text-transform: uppercase;
	font-size: 13px;
	color: var(--wp--preset--color--lavender);
	font-weight: 600;
}

.acru-footer a {
	text-decoration: none;
}

.acru-footer a:hover {
	color: var(--wp--preset--color--gold);
}

/* Footer social icons (theacru + acruaction footers, 2026-09-28).
   Icons are white via the block's iconColor; gold on hover to match links. */
.acru-footer .acru-footer-social .wp-social-link {
	transition: transform .15s ease, color .15s ease;
}

.acru-footer .acru-footer-social .wp-social-link:hover {
	color: var(--wp--preset--color--gold) !important;
	transform: translateY(-2px);
}

.acru-footer .acru-legal {
	border-top: 1px solid rgba(255, 255, 255, .16);
	font-size: 12px;
	opacity: .65;
	line-height: 1.7;
}

/* ----- Hero / band helpers ----- */

/* Navy gradient band (C hero + join band) */
.acru-band-navy {
	background: linear-gradient(112deg, var(--wp--preset--color--navy-deep) 0%, var(--wp--preset--color--acru-blue) 55%, #34307a 100%);
	position: relative;
	overflow: hidden;
}

/* Faint statue watermark in the page title bar, CSS-only (no LayerSlider, ever).

   🔴 THIS WAS A FIXED 640x640 BOX AT top:-40, right:-60 AND IT DID NOT FIT.
   Measured on /bios/ 2026-09-01: band 278px tall, watermark box 640px — 40px
   clipped off the top and **322px off the bottom**. Under half the graphic was
   visible, and how much showed depended on how many lines the page title
   wrapped to, so it differed page to page. Reported by Tom.

   ⚠️ SHRINKING THE EXISTING ASSET WAS THE WRONG FIX, and it is the obvious one.
   `acru-stack.png` is a STACK: statue (49% of the canvas height), then the
   LiveFree. lockup, then the ACRU wordmark. Only the statue was ever visible
   here — the two wordmarks were being clipped away entirely. Scaling the whole
   stack to fit would have shrunk the statue to well under half its current size
   AND revealed two wordmarks nobody asked for, on every title bar on ten sites.
   (Tom had separately asked for those very wordmarks to come OFF the CSD home
   band a few days earlier.)

   So the asset is cropped to the statue's own bounding box — `acru-statue.png`,
   460x736, one contiguous shape, verified to contain no wordmark rows. The
   stack PNG is untouched and still used by the home bands.

   Now sized RELATIVE TO THE BAND rather than in fixed pixels, so it fits at any
   title length instead of only at the one the number was picked for. This is
   the geometry acru-csd-action already arrived at independently for its own
   hero watermark; matching it rather than inventing a third approach. */
.acru-band-navy.has-watermark::after {
	content: "";
	position: absolute;
	right: 3%;
	top: 50%;
	transform: translateY(-50%);
	width: min(300px, 26vw);
	height: 86%;
	background: url('assets/images/acru-statue.png') no-repeat right center / contain;
	opacity: .1;
	pointer-events: none;
	filter: brightness(4);
}

.acru-band-navy > * {
	position: relative;
	z-index: 1;
}

/* Hero art: grayscale founding painting under a navy wash (ROA-style
   duotone; Christy's Signing of the Constitution — PD, see
   assets/backgrounds/SOURCES.md). Wash is heaviest on the left where
   the text sits; Washington stays readable on the right. */
.acru-band-navy.has-hero-art {
	/* Two declarations on purpose: the first is the universal fallback, the second
	   wins wherever image-set() is understood. A browser that knows image-set but
	   not WebP still gets the JPEG from the list — nobody ends up with no image. */
	background:
		linear-gradient(100deg, rgba(26, 23, 64, .96) 0%, rgba(37, 33, 91, .88) 52%, rgba(37, 33, 91, .68) 100%),
		url('assets/images/hero-constitution.jpg') no-repeat center 28% / cover;
	background:
		linear-gradient(100deg, rgba(26, 23, 64, .96) 0%, rgba(37, 33, 91, .88) 52%, rgba(37, 33, 91, .68) 100%),
		image-set(url('assets/images/hero-constitution.webp') type('image/webp'),
		          url('assets/images/hero-constitution.jpg') type('image/jpeg')) no-repeat center 28% / cover;
}

/* Narrow viewports get a 900px hero, not the 1800px one. Measured 2026-09-11:
   158 KB -> 54 KB, and PageSpeed Insights grades on the mobile preset, where a
   1800px background is roughly 4x more pixels than the viewport can show. */
@media (max-width: 900px) {
	.acru-band-navy.has-hero-art {
		background:
			linear-gradient(100deg, rgba(26, 23, 64, .96) 0%, rgba(37, 33, 91, .88) 52%, rgba(37, 33, 91, .68) 100%),
			url('assets/images/hero-constitution.jpg') no-repeat center 28% / cover;
		background:
			linear-gradient(100deg, rgba(26, 23, 64, .96) 0%, rgba(37, 33, 91, .88) 52%, rgba(37, 33, 91, .68) 100%),
			image-set(url('assets/images/hero-constitution-900.webp') type('image/webp'),
			          url('assets/images/hero-constitution.jpg') type('image/jpeg')) no-repeat center 28% / cover;
	}
}

/* Election band art: Tom's Canva voting photo (B&W, Canva Pro license,
   see backgrounds/SOURCES.md) under a heavy uniform navy wash —
   ROA statement-band treatment; action cards sit solid on top. */
.acru-band-navy.has-election-art {
	background:
		linear-gradient(180deg, rgba(26, 23, 64, .93) 0%, rgba(37, 33, 91, .88) 100%),
		url('assets/images/band-voting.jpg') no-repeat center 40% / cover;
	background:
		linear-gradient(180deg, rgba(26, 23, 64, .93) 0%, rgba(37, 33, 91, .88) 100%),
		image-set(url('assets/images/band-voting.webp') type('image/webp'),
		          url('assets/images/band-voting.jpg') type('image/jpeg')) no-repeat center 40% / cover;
}

/* Watermark variant: right side, fully contained + vertically centered
   (subscribe band — content is left, statue gets the empty right half) */
.acru-band-navy.has-watermark-right::after {
	content: "";
	position: absolute;
	right: 48px;
	left: auto;
	top: 50%;
	transform: translateY(-50%);
	width: min(440px, 36vw);
	height: 84%;
	background: url('assets/images/acru-stack.png') no-repeat center / contain;
	background: image-set(url('assets/images/acru-stack.webp') type('image/webp'),
	                      url('assets/images/acru-stack.png') type('image/png')) no-repeat center / contain;
	opacity: .09;
	pointer-events: none;
	filter: brightness(4);
}

/* ---------------------------------------------------------------
   Homepage pattern library (3.2 session 2)
   --------------------------------------------------------------- */

/* Anchor targets clear the sticky header */
[id] {
	scroll-margin-top: 110px;
}

/* Hero display heading (C typography on B framing) */
.acru-hero-title {
	line-height: .98 !important;
	letter-spacing: .01em;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}

/* ----- Action cards (C, swappable seasonal band) ----- */

.acru-action-card {
	position: relative;
	overflow: hidden;
	min-height: 300px;
	height: 100%;
}

.acru-action-card::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 6px;
	background: var(--wp--preset--color--acru-red);
}

.acru-action-card h3 {
	color: var(--wp--preset--color--white);
}

.acru-action-card p {
	opacity: .9;
}

/* ----- Commentary ----- */

/* Kicker rendered by post-terms links */
.acru-kicker a,
.acru-kicker {
	color: var(--wp--preset--color--acru-red);
	text-decoration: none;
}

.acru-kicker a:hover {
	color: var(--wp--preset--color--red-deep);
}

/* Columnist strip: fixed equal billing for West + Lori,
   independent of the post river below */
.acru-columnists {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 44px;
}

.acru-columnist {
	display: flex;
	align-items: center;
	gap: 18px;
	text-decoration: none;
}

.acru-columnist img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	border: 2.5px solid var(--wp--preset--color--gold);
	display: block;
}

.acru-columnist-meta {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.acru-columnist-meta b {
	font-family: var(--wp--preset--font-family--lato);
	font-weight: 700;
	font-size: 18px;
	color: var(--wp--preset--color--acru-blue);
	line-height: 1.2;
}

.acru-columnist-meta span:last-child {
	font-family: var(--wp--preset--font-family--acumin);
	font-weight: 500;
	font-size: 13px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--acru-gray);
}

.acru-columnist:hover b {
	color: var(--wp--preset--color--acru-red);
}

/* Post titles as quiet links (lead + list) */
.acru-archive-title a {
	text-decoration: none;
	color: inherit;
}

.acru-comm-item {
	border-bottom: 1px solid #d9d8e0;
	padding: 16px 0;
}

.acru-comm-item:first-child {
	padding-top: 0;
}

/* ----- Meese testament (B) ----- */

.acru-testament blockquote,
.acru-testament .acru-quote {
	font-family: var(--wp--preset--font-family--caslon);
	font-size: 25px;
	line-height: 1.55;
	font-style: italic;
	color: var(--wp--preset--color--acru-blue);
	border: none;
	padding: 0;
}

.acru-testament .acru-who {
	font-weight: 700;
	font-size: 15px;
	color: var(--wp--preset--color--ink);
}

.acru-testament .acru-role {
	font-size: 13px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--acru-gray);
}

/* Portrait panel: transparent cut-out sits on a navy gradient, bottom-aligned */
.acru-portrait-panel {
	background: linear-gradient(160deg, var(--wp--preset--color--acru-blue), var(--wp--preset--color--navy-deep));
	display: flex;
	align-items: flex-end;
	justify-content: center;
	overflow: hidden;
}

.acru-portrait-panel img {
	display: block;
	max-width: 320px;
	width: 100%;
	height: auto;
}

/* ----- Quote of the Day stripe ----- */

.acru-quote-stripe .acru-quote-inner {
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}

.acru-quote-stripe .acru-rule-mark {
	margin: 14px auto 0;
}

.acru-quote-stripe blockquote {
	font-family: var(--wp--preset--font-family--caslon);
	font-size: 27px;
	line-height: 1.4;
	font-style: italic;
	color: var(--wp--preset--color--acru-blue);
	border: none;
	padding: 0;
	margin: 22px 0 18px;
}

.acru-quote-stripe cite {
	font-style: normal;
	font-family: var(--wp--preset--font-family--acumin);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--acru-gray);
}

/* ----- Initiative tiles (C) ----- */

.acru-init-tile {
	border: 2px solid var(--wp--preset--color--rule);
	transition: border-color .15s;
	height: 100%;
}

.acru-init-tile:hover {
	border-color: var(--wp--preset--color--acru-red);
}

.acru-init-tile h4 a {
	text-decoration: none;
	color: var(--wp--preset--color--acru-blue);
}

.acru-init-tile h4 a:hover {
	color: var(--wp--preset--color--acru-red);
}

.acru-init-tile .acru-go {
	color: var(--wp--preset--color--acru-red);
	font-weight: 800;
	font-size: 14px;
}

/* ----- Photo treatments (CSS-first, no sliders ever) ----- */

/* Offset red frame (scholarship band) */
.acru-photo-offset img {
	box-shadow: 14px 14px 0 var(--wp--preset--color--acru-red);
}

/* Subtle navy edge (TV band) */
.acru-photo-edge img {
	border-bottom: 6px solid var(--wp--preset--color--acru-red);
}

/* ---------------------------------------------------------------
   Single post + Live Free TV (0.3.0)
   --------------------------------------------------------------- */

/* Centered gold eyebrow in the cinema band (inline-block eyebrows
   ignore text-align on the paragraph — force table + auto margins) */
.acru-cinema .acru-eyebrow {
	display: table;
	margin-left: auto;
	margin-right: auto;
	color: var(--wp--preset--color--gold);
	border-bottom-color: var(--wp--preset--color--gold);
}

/* On-navy byline (video single) */
.acru-byline-light,
.acru-byline-light .wp-block-post-date {
	color: var(--wp--preset--color--lavender);
}

/* ----- Cinema player ----- */

.acru-video-frame {
	position: relative;
	max-width: 960px;
	margin: 0 auto;
	aspect-ratio: 16 / 9;
	background: rgba(0, 0, 0, 0.45);
	border-bottom: 4px solid var(--wp--preset--color--acru-red);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.acru-video-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.acru-video-frame-empty {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--wp--preset--color--lavender);
	font-family: var(--wp--preset--font-family--acumin, sans-serif);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Watch-elsewhere row under the player */
.acru-watch-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px 36px;
	margin-top: 22px;
}

.acru-watch-row a {
	color: var(--wp--preset--color--white);
	text-decoration: none;
	font-family: var(--wp--preset--font-family--acumin, sans-serif);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-bottom: 2px solid var(--wp--preset--color--gold);
	padding-bottom: 3px;
}

.acru-watch-row a:hover {
	color: var(--wp--preset--color--gold);
}

/* ----- Podcast stripe ----- */

.acru-podcast-stripe .acru-podcast-inner {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.acru-podcast-stripe .acru-rule-mark {
	margin: 18px auto 28px;
}

.acru-podcast-shell {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--rule);
	padding: 18px;
}

.acru-podcast-shell iframe {
	display: block;
	width: 100%;
	border: 0;
}

/* ----- More-episodes grid ----- */

.acru-episode-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

@media (max-width: 781px) {
	.acru-episode-grid {
		grid-template-columns: 1fr;
	}
}

.acru-episode-card {
	display: block;
	text-decoration: none;
}

.acru-episode-thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--wp--preset--color--navy-deep);
	margin-bottom: 14px;
}

.acru-episode-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.acru-episode-card:hover .acru-episode-thumb img {
	transform: scale(1.04);
}

.acru-episode-play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(37, 33, 91, 0.85);
	color: var(--wp--preset--color--white);
	border-radius: 50%;
	font-size: 18px;
	padding-left: 4px;
}

.acru-episode-card:hover .acru-episode-play {
	background: var(--wp--preset--color--acru-red);
}

.acru-episode-date {
	display: block;
	font-family: var(--wp--preset--font-family--acumin, sans-serif);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--acru-gray);
	margin-bottom: 6px;
}

.acru-episode-title {
	display: block;
	font-family: var(--wp--preset--font-family--caslon, serif);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.3;
	color: var(--wp--preset--color--ink);
}

.acru-episode-card:hover .acru-episode-title {
	color: var(--wp--preset--color--acru-red);
}

/* ----- Share row (quiet, no plugin) ----- */

.acru-share-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 22px;
	margin: 0;
	padding-top: 18px;
	border-top: 1px solid var(--wp--preset--color--rule);
	font-family: var(--wp--preset--font-family--acumin, sans-serif);
	font-size: var(--wp--preset--font-size--small);
}

.acru-share-row span {
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--wp--preset--color--acru-gray);
}

.acru-share-row a {
	color: var(--wp--preset--color--acru-blue);
	text-decoration: none;
	border-bottom: 2px solid var(--wp--preset--color--rule);
	padding-bottom: 2px;
}

.acru-share-row a:hover {
	color: var(--wp--preset--color--acru-red);
	border-bottom-color: var(--wp--preset--color--acru-red);
}

/* ----- Author box (columnist chip, boxed) ----- */

.acru-author-box {
	display: flex;
	align-items: center;
	gap: 20px;
	background: var(--wp--preset--color--warm-gray);
	border-left: 4px solid var(--wp--preset--color--acru-red);
	padding: 24px 28px;
}

.acru-author-box img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	filter: grayscale(1);
	box-shadow: 0 0 0 3px var(--wp--preset--color--gold);
	flex-shrink: 0;
}

.acru-author-box-meta b {
	display: block;
	font-family: var(--wp--preset--font-family--caslon, serif);
	font-size: var(--wp--preset--font-size--x-large);
	line-height: 1.2;
	color: var(--wp--preset--color--ink);
}

.acru-author-box-meta span {
	display: block;
	font-family: var(--wp--preset--font-family--acumin, sans-serif);
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--acru-gray);
	margin: 6px 0 8px;
}

.acru-author-box-meta a {
	font-family: var(--wp--preset--font-family--acumin, sans-serif);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--acru-red);
	text-decoration: none;
}

.acru-author-box-meta a:hover {
	text-decoration: underline;
}

/* ----- Related posts (More Commentary) ----- */

.acru-related {
	border-top: 1px solid var(--wp--preset--color--rule);
	padding-top: 28px;
}

.acru-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin-top: 22px;
}

@media (max-width: 781px) {
	.acru-related-grid {
		grid-template-columns: 1fr;
	}
}

.acru-related-card {
	display: block;
	text-decoration: none;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--rule);
	border-top: 3px solid var(--wp--preset--color--acru-blue);
	padding: 20px 22px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.acru-related-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(30, 27, 74, 0.12);
}

.acru-related-kicker {
	display: block;
	font-family: var(--wp--preset--font-family--acumin, sans-serif);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--acru-red);
	margin-bottom: 8px;
}

.acru-related-title {
	display: block;
	font-family: var(--wp--preset--font-family--caslon, serif);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.3;
	color: var(--wp--preset--color--ink);
}

.acru-related-card:hover .acru-related-title {
	color: var(--wp--preset--color--acru-red);
}

.acru-related-date {
	display: block;
	font-family: var(--wp--preset--font-family--acumin, sans-serif);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--acru-gray);
	margin-top: 10px;
}

/* ----- Episode archive rows (/live-free-tv/) ----- */

.acru-episode-rows {
	display: grid;
	gap: 44px;
}

.acru-episode-row {
	display: grid;
	grid-template-columns: 340px 1fr;
	gap: 36px;
	align-items: center;
	padding-bottom: 44px;
	border-bottom: 1px solid var(--wp--preset--color--rule);
}

.acru-episode-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

@media (max-width: 781px) {
	.acru-episode-row {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}

.acru-episode-row .acru-episode-thumb {
	margin-bottom: 0;
}

.acru-episode-row-title {
	margin: 8px 0 12px;
	font-family: var(--wp--preset--font-family--caslon);
	font-size: var(--wp--preset--font-size--xx-large);
	line-height: 1.15;
}

.acru-episode-row-title a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.acru-episode-row-title a:hover {
	color: var(--wp--preset--color--acru-red);
}

.acru-episode-row-desc {
	margin: 0 0 16px;
	line-height: 1.6;
	color: var(--wp--preset--color--ink);
}

.acru-episode-watch {
	font-family: var(--wp--preset--font-family--acumin);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--acru-red);
	text-decoration: none;
}

.acru-episode-watch:hover {
	text-decoration: underline;
}

/* Native archive pagination (the_posts_pagination) */
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 18px;
	margin-top: var(--wp--preset--spacing--60);
	font-family: var(--wp--preset--font-family--acumin);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: var(--wp--preset--font-size--small);
}

.pagination a {
	color: var(--wp--preset--color--acru-blue);
	text-decoration: none;
}

.pagination a:hover {
	color: var(--wp--preset--color--acru-red);
}

.pagination .current {
	color: var(--wp--preset--color--acru-red);
}

/* ---------------------------------------------------------------
   Supporting templates (0.4.0): page, author, search, 404
   --------------------------------------------------------------- */

/* Gold rule mark for on-navy headers (page hero) */
.acru-rule-mark-gold {
	background: var(--wp--preset--color--gold);
}

/* ----- Author archive hero (navy columnist header) ----- */

.acru-author-hero-inner {
	display: flex;
	align-items: center;
	gap: 36px;
	flex-wrap: wrap;
}

.acru-author-hero-avatar {
	width: 140px;
	height: 140px;
	border-radius: 50%;
	object-fit: cover;
	filter: grayscale(1);
	box-shadow: 0 0 0 4px var(--wp--preset--color--gold);
	flex-shrink: 0;
}

.acru-author-hero-meta h1 {
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--slab);
	margin: 14px 0 0;
}

.acru-author-hero-line {
	font-family: var(--wp--preset--font-family--acumin);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold);
	margin: 12px 0 0;
}

.acru-author-hero-bio {
	color: var(--wp--preset--color--lavender);
	line-height: 1.6;
	max-width: 640px;
	margin: 12px 0 0;
}

.acru-author-hero-count {
	font-family: var(--wp--preset--font-family--acumin);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--lavender);
	opacity: .8;
	margin: 10px 0 0;
}

/* ----- Author archive rows ----- */

.acru-author-rows {
	display: grid;
}

.acru-author-row {
	padding: 28px 0;
	border-bottom: 1px solid var(--wp--preset--color--rule);
}

.acru-author-row:first-child {
	padding-top: 0;
}

.acru-author-row-title {
	font-family: var(--wp--preset--font-family--caslon);
	font-size: var(--wp--preset--font-size--xx-large);
	line-height: 1.15;
	margin: 8px 0 10px;
}

.acru-author-row-title a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.acru-author-row-title a:hover {
	color: var(--wp--preset--color--acru-red);
}

.acru-author-row-excerpt {
	margin: 0 0 12px;
	line-height: 1.6;
	color: var(--wp--preset--color--ink);
}

/* ----- Category / term description ----- */

.acru-term-description {
	color: var(--wp--preset--color--acru-gray);
	max-width: 640px;
}

/* ----- Search form (brand-styled core/search) ----- */

.acru-search-form {
	max-width: 560px;
}

.acru-search-form .wp-block-search__input {
	border: 1.5px solid var(--wp--preset--color--rule);
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--lato);
	font-size: var(--wp--preset--font-size--medium);
	padding: 12px 16px;
}

.acru-search-form .wp-block-search__input:focus {
	outline: none;
	border-color: var(--wp--preset--color--acru-blue);
}

.acru-search-form .wp-block-search__button {
	background: var(--wp--preset--color--acru-red);
	color: var(--wp--preset--color--white);
	border: none;
	border-radius: 999px;
	font-family: var(--wp--preset--font-family--acumin);
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	font-size: var(--wp--preset--font-size--small);
	padding: 12px 26px;
	margin-left: 12px;
	cursor: pointer;
}

.acru-search-form .wp-block-search__button:hover {
	background: var(--wp--preset--color--red-deep);
}

/* On-navy variant (404 band) */
.acru-search-form-dark .wp-block-search__input {
	background: rgba(255, 255, 255, .08);
	border-color: rgba(255, 255, 255, .35);
	color: var(--wp--preset--color--white);
}

.acru-search-form-dark .wp-block-search__input::placeholder {
	color: var(--wp--preset--color--lavender);
	opacity: .8;
}

.acru-search-form-dark .wp-block-search__input:focus {
	border-color: var(--wp--preset--color--gold);
}

/* ── Defender state pages (4.5 builder rebuild) ───────────────────── */
.acru-defender-grid {
	gap: 32px 28px;
}

.acru-defender-grid .acru-archive-title a {
	text-decoration: none;
}

/* Featured images: UNCROPPED (Tom, 2026-09-22). Award recipients are roughly
   a third each portrait / square / landscape, so the old 16:9 cover crop cut
   off heads. acru-functionality (block-defender-feed.php) replaces the block's
   baked inline "aspect-ratio:16/9;object-fit:cover" with each photo's own
   ratio; here the box is full column width, capped at 420px tall, and
   anything taller than that is shown whole (contain) on a light mat.
   ⚠️ The 16:9 lives in post_content on /defenders/ and all 51 state pages
   (gen-state-pages.php bakes the pattern in), so it is overridden at render,
   not by editing 52 pages. The !important on object-fit is a backstop in
   case the render filter ever misses. */
.acru-defender-grid .wp-block-post-featured-image {
	background: var(--wp--preset--color--cool-gray, #f6f5f8);
}

.acru-defender-grid .wp-block-post-featured-image img {
	width: 100%;
	height: auto;
	max-height: 420px;
	object-fit: contain !important;
}

/* Cards size to their own content so a tall photo in one column doesn't
   stretch its neighbours. */
.acru-defender-grid > li {
	align-self: start;
}

.acru-defender-grid .wp-block-post-date {
	color: var(--wp--preset--color--slate, #5b5b6b);
	margin-top: 6px;
}

.acru-ice-handles {
	letter-spacing: .01em;
}

.acru-ice-handles strong {
	color: var(--wp--preset--color--gold);
}

/* Back-link inside the navy hero needs gold, not the default red (low
   contrast on navy). */
.acru-band-navy .acru-learn-link a {
	color: var(--wp--preset--color--gold);
}

.acru-band-navy .acru-learn-link a:hover {
	color: #fff;
}

/* ── Events (4.5) ─────────────────────────────────────────────────── */
.acru-event-badge {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
	font-family: var(--wp--preset--font-family--acumin);
}

.acru-event-badge .acru-event-chip {
	background: var(--wp--preset--color--acru-red);
	color: #fff;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-weight: 600;
	font-size: 12px;
	padding: 4px 12px;
	border-radius: 3px;
}

.acru-event-badge.is-past .acru-event-chip {
	background: var(--wp--preset--color--acru-gray);
}

.acru-event-badge time {
	font-weight: 600;
	color: var(--wp--preset--color--acru-blue);
}

.acru-event-gallery {
	margin-top: 8px;
}

/* ── Event feeds on /events/ (2026-08-26) ──────────────────────────────
   Event artwork is promotional posters and banners at wildly different
   proportions — the CSD set alone runs 0.75 portrait to 2.13 letterbox.
   So NOTHING here uses aspect-ratio or object-fit: cover. Every image
   keeps its intrinsic ratio (width:auto + height:auto + a max-height cap)
   and is centred in its slot. Uneven card heights are the deliberate
   trade for never cropping a poster. */

/* /events/ sits on the default page template, whose `.acru-article-content`
   column is capped at contentSize (720px). `alignwide` inside it was being
   clamped to 672px, so the feeds could not actually get bigger no matter what
   the cards did. Break the two event sections out to wideSize instead —
   bounded, not full-bleed, which would change the page's character and risk a
   100vw scrollbar. Scoped to the default template on purpose: on a
   `page-landing` page these sections are already outside the wrapper. */
.acru-article-content > .acru-events-section {
	width: min(1220px, calc(100vw - 48px));
	max-width: none;
	margin-inline: calc(50% - min(610px, 50vw - 24px));
}

/* The section is a constrained layout, so core centres its unaligned children
   at contentSize (720px) while the feeds inside are alignwide (1220px). That
   left the eyebrow and slab heading indented 226px from the cards they label
   — measured 2026-08-26: heading left 540px, first poster left 314px. Let the
   two labels run to wideSize so they start flush with their feed. Beats
   0-specificity `:where()` in core's constrained-layout rule without
   `!important`. */
.acru-events-section > .acru-eyebrow,
.acru-events-section > .acru-slab {
	max-width: var(--wp--style--global--wide-size);
}

/* Upcoming: one per row, poster-sized. */
.acru-events-stack {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.acru-events-stack > li {
	width: 100%;

	/* Capped so a wide banner does not stretch to 1172px and the excerpt does
	   not run at an unreadable measure. Left-aligned, not centred, to stay in
	   step with the eyebrow and slab heading above it. */
	max-width: 940px;
}

.acru-events-stack > li + li {
	margin-top: 56px;
	padding-top: 56px;
	border-top: 1px solid var(--wp--preset--color--rule);
}

.acru-events-stack .wp-block-post-featured-image img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 620px;
	margin-inline: 0;

	/* core/post-featured-image inlines `style="object-fit:cover"` from its
	   `scale` default even with no aspect ratio set. Inert while width and
	   height are auto, but inline styles outrank this file, so it is
	   overridden rather than left to chance — cover is the one value that
	   could ever crop a poster. */
	object-fit: contain !important;
}

/* ⚠️ `!important` is required and is not a shortcut. Core emits its font-size
   presets as `.has-x-large-font-size { font-size: … !important }`, so the
   block's own `fontSize` attribute beat this clamp and the title rendered at
   a flat 24px — measured 2026-08-26, before this rule existed. The attribute
   is deliberately kept on the block as the no-CSS fallback. Same reason
   `.acru-slab` above carries `!important`. */
.acru-events-stack .acru-archive-title {
	font-size: clamp(26px, 2.8vw, 34px) !important;
}

.acru-events-stack .wp-block-post-excerpt__excerpt {
	max-width: 68ch;
	font-size: 17px;
	line-height: 1.65;
}

/* Past: stays 3-up, but the artwork is still never cropped. Images sit on
   a fixed-height shelf and bottom-align, so the titles line up across a
   row even though a portrait poster and a banner share it. */
.acru-events-grid .wp-block-post-featured-image {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-height: 210px;
}

.acru-events-grid .wp-block-post-featured-image img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 260px;
	object-fit: contain !important; /* see note on .acru-events-stack img */
}

@media (max-width: 781px) {

	.acru-events-stack .wp-block-post-featured-image img {
		max-height: 460px;
	}
}

/* ── Defender hub (4.5) ───────────────────────────────────────────── */
.acru-state-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 8px 20px;
}

.acru-state-grid a {
	color: #fff;
	text-decoration: none;
	font-family: var(--wp--preset--font-family--acumin);
	font-weight: 600;
	letter-spacing: .02em;
	padding: 6px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
	transition: color .15s;
}

.acru-state-grid a:hover {
	color: var(--wp--preset--color--gold);
}

.acru-pullquote {
	border-left: 4px solid var(--wp--preset--color--acru-red);
	padding-left: 24px;
	margin-left: 0;
}

.acru-pullquote cite {
	display: block;
	margin-top: 12px;
	font-style: normal;
	font-family: var(--wp--preset--font-family--acumin);
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	font-size: 13px;
	color: var(--wp--preset--color--acru-red);
}

/* ── Founding documents (4.5): readable legal-text pages ──────────── */
.acru-document h3 {
	font-family: var(--wp--preset--font-family--acumin);
	text-transform: uppercase;
	letter-spacing: .06em;
	font-size: 18px;
	color: var(--wp--preset--color--acru-red);
	margin-top: 2.2em;
	margin-bottom: .4em;
}

.acru-document p {
	max-width: 46rem;
}

/* ── Issue commentary/news feeds (4.5): image-free text cards ─────── */
.acru-commentary-list {
	gap: 30px 28px;
}

.acru-commentary-card {
	border-top: 2px solid var(--wp--preset--color--rule);
	padding-top: 14px;
}

.acru-commentary-card .acru-archive-title a {
	text-decoration: none;
}

/* Auto-hide the News block when the query returns nothing (modern browsers;
   degrades to showing the empty-state line otherwise). */
.acru-issue-news:has(.wp-block-query-no-results) {
	display: none;
}

/* ── People / bios (4.5): leadership + staff + expert cards ───────── */
.acru-person {
	border-top: 2px solid var(--wp--preset--color--rule);
	padding-top: 36px;
	margin-top: 36px;
	gap: 34px;
}

.acru-person:first-child {
	border-top: 0;
	margin-top: 0;
	padding-top: 0;
}

.acru-person-photo img {
	filter: grayscale(1);
	border-bottom: 3px solid var(--wp--preset--color--gold);
	width: 100%;
	height: auto;
}

.acru-person-name {
	font-size: var(--wp--preset--font-size--x-large);
	margin-top: 0;
	margin-bottom: 2px;
}

.acru-person-role,
.acru-person-org {
	font-family: var(--wp--preset--font-family--acumin);
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	font-size: 13px;
	color: var(--wp--preset--color--acru-red);
	margin: 0 0 14px;
}

.acru-person-org {
	color: var(--wp--preset--color--acru-blue);
	margin-top: -12px;
}

.acru-people-section {
	margin-top: 64px;
	padding-top: 30px;
	border-top: 4px solid var(--wp--preset--color--acru-blue);
}

.acru-person-feed-label {
	font-family: var(--wp--preset--font-family--acumin);
	text-transform: uppercase;
	letter-spacing: .06em;
	font-size: 15px;
	color: var(--wp--preset--color--acru-blue);
	margin-top: 26px;
	margin-bottom: 8px;
}

@media (max-width: 781px) {
	.acru-person {
		gap: 18px;
	}

	.acru-person .wp-block-column[style*="flex-basis"] {
		flex-basis: 120px !important;
		flex-grow: 0;
	}
}

/* Classic float alignments inside article content (migrated bio prose). */
.acru-article-content img.alignleft {
	float: left;
	margin: 6px 26px 14px 0;
}

.acru-article-content img.alignright {
	float: right;
	margin: 6px 0 14px 26px;
}

/* Sponsor logo row — Veterans & Valor, 2026-08-31.

   Tom asked for all three logos at the same size and prominence. They do NOT
   share an aspect ratio — 5.75, 3.19 and 3.66 — so "the same size" cannot mean
   identical width AND height without distorting somebody's mark, which is the
   one thing you must never do to a logo.

   Normalised on HEIGHT, which is the convention for a sponsor row and gives
   equal optical weight: each mark reads as the same scale, widths follow from
   the artwork. `max-width` caps the widest (Gulf Coast, 5.75:1) so it cannot
   run away and dominate the row on the strength of its shape alone.

   Centred and wrapping, so the row stays balanced at any count — a fourth
   sponsor needs no code change. */
.acru-vv-logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 30px 48px;
	margin: 26px 0 8px;
	padding: 0;
	list-style: none;
}

.acru-vv-logos a,
.acru-vv-logos span {
	display: inline-flex;
	align-items: center;
}

/* 🔴 `max-width` HERE DISTORTED A LOGO AND THE RATIO CHECK IS THE ONLY REASON
   IT DID NOT SHIP. The first version paired `height: 48px` with
   `max-width: 240px`, meaning to stop the widest mark dominating. Both
   constraints bind at once, so Gulf Coast (322x56, 5.75:1) rendered 240x48 —
   ratio 5.00, horizontally squashed. Measured, not eyeballed: rendered ratio
   against natural ratio, which flagged it immediately while the row still
   looked tidy in a screenshot.

   You cannot cap height AND width on mixed aspect ratios without distortion.
   Height alone wins: it is what gives a sponsor row equal optical weight, and
   width simply follows the artwork. At 48px the three come to 276 + 153 + 176
   = 605px plus gaps, comfortably inside the 720px column, so the cap was
   solving a problem that did not exist.

   ⚠️ Never reintroduce a width cap here. Scale the HEIGHT down instead — that
   is what the mobile rule below does. */
.acru-vv-logos img {
	display: block;
	height: 48px;
	width: auto;
}

@media (max-width: 600px) {

	.acru-vv-logos {
		gap: 26px 32px;
	}

	.acru-vv-logos img {
		height: 36px;
	}
}

/* "At a Glance" spec list — VEC page, 2026-08-31.

   A bare <dl> renders unstyled: `dt` at normal weight and `dd` pushed 40px
   right, which reads as a nested list rather than a label/value pair. Measured
   on the page before writing this. Two columns on desktop, stacked on phones.

   ⚠️ Lives in the PARENT because /vec/ exists on BOTH CSD children
   (acru-csd and acru-csd-action) from one shared content blob. A child-theme
   rule would style the page on one site and leave it plain on the other. */
.acru-vec-dl {
	display: grid;
	grid-template-columns: minmax(150px, 30%) 1fr;
	gap: 10px 20px;
	margin: 0;
}

.acru-vec-dl dt {
	margin: 0;
	font-family: var(--wp--preset--font-family--acumin);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--acru-gray);
	align-self: baseline;
}

.acru-vec-dl dd {
	margin: 0;
	font-size: 16px;
}

@media (max-width: 600px) {

	.acru-vec-dl {
		grid-template-columns: 1fr;
		gap: 2px 0;
	}

	.acru-vec-dl dd {
		margin-bottom: 14px;
	}
}

/* Same treatment for a VIDEO figure (poll-worker page, 2026-08-31).
   The rules above match `img` only, so a floated video block kept its full
   width and the prose never wrapped. A video block is a <figure> wrapping a
   <video>, hence the separate selector rather than a wider `img` match.

   Width is fixed rather than a percentage because the clip is PORTRAIT
   (720x1280): at 240px it stands about 427px tall, which is roughly the depth
   of the intro copy it sits beside. A percentage would make a 9:16 video
   enormous the moment the column widened. */
.acru-article-content .wp-block-video.alignleft,
.acru-article-content .wp-block-video.alignright {
	width: 240px;
	max-width: 45%;
}

.acru-article-content .wp-block-video.alignleft {
	float: left;
	margin: 6px 26px 18px 0;
}

.acru-article-content .wp-block-video.alignright {
	float: right;
	margin: 6px 0 18px 26px;
}

.acru-article-content .wp-block-video.alignleft video,
.acru-article-content .wp-block-video.alignright video {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 600px) {
	.acru-article-content img.alignleft,
	.acru-article-content img.alignright {
		float: none;
		display: block;
		margin: 0 auto 18px;
	}

	/* Un-float the video too — a 240px portrait clip beside phone-width prose
	   leaves the text in a column barely wide enough for three words. */
	.acru-article-content .wp-block-video.alignleft,
	.acru-article-content .wp-block-video.alignright {
		float: none;
		width: auto;
		max-width: 260px;
		margin: 0 auto 18px;
	}
}

/* ── Institutional pages (4.5) ────────────────────────────────────── */
/* Publication cards: covers stay full-color (override the person B&W). */
.acru-pub .acru-pub-cover img {
	filter: none;
	border: 1px solid var(--wp--preset--color--rule);
	border-bottom: 3px solid var(--wp--preset--color--gold);
	width: 100%;
	height: auto;
}

/* ACRU v ACLU comparison table. */
.acru-article-content table.acruvsaclutable {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--wp--preset--font-family--acumin);
}

.acru-article-content table.acruvsaclutable th,
.acru-article-content table.acruvsaclutable td {
	padding: 10px 14px;
	border-bottom: 1px solid var(--wp--preset--color--rule);
	text-align: center;
}

.acru-article-content table.acruvsaclutable td.the_view,
.acru-article-content table.acruvsaclutable th:first-child {
	text-align: left;
}

.acru-article-content table.acruvsaclutable th h2 {
	margin: 0;
	font-size: var(--wp--preset--font-size--large);
}

.acru-article-content table.acruvsaclutable th.header2 h2 span {
	color: var(--wp--preset--color--acru-red);
}

.acru-article-content table.acruvsaclutable th.header3 h2 span {
	color: #8d9cb8;
}

.acru-article-content table.acruvsaclutable tr:nth-child(even) td {
	background: var(--wp--preset--color--cool-gray);
}

/* Petition form (Salesforce Web-to-Lead, kept live on citizens-unite…). */
.acru-petition-form {
	background: var(--wp--preset--color--cool-gray);
	border-left: 4px solid var(--wp--preset--color--acru-red);
	padding: 26px 30px;
	max-width: 560px;
}

.acru-petition-form label {
	display: block;
	font-family: var(--wp--preset--font-family--acumin);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: .03em;
	margin: 14px 0 4px;
	color: var(--wp--preset--color--acru-blue);
}

.acru-petition-form input[type="text"],
.acru-petition-form input[type="email"],
.acru-petition-form select,
.acru-petition-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--wp--preset--color--rule);
	border-radius: 4px;
	font-size: 16px;
}

.acru-petition-form input[type="submit"] {
	margin-top: 20px;
	background: var(--wp--preset--color--acru-red);
	color: #fff;
	border: 0;
	border-radius: 9999px;
	padding: 12px 30px;
	font-family: var(--wp--preset--font-family--acumin);
	font-weight: 600;
	letter-spacing: .04em;
	cursor: pointer;
}

.acru-petition-form input[type="submit"]:hover {
	background: var(--wp--preset--color--acru-blue);
}

.acru-petition-form br {
	display: none;
}

/* ── Media landings (4.5): quote library + banners ────────────────── */
.acru-quote-item {
	border-top: 2px solid var(--wp--preset--color--rule);
	padding-top: 26px;
	margin-top: 26px;
}

.acru-quote-item .wp-block-post-content p {
	font-family: var(--wp--preset--font-family--caslon);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.45;
	margin: 0;
}

.acru-quote-attrib {
	font-family: var(--wp--preset--font-family--acumin);
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	font-size: 13px;
	color: var(--wp--preset--color--acru-red);
	margin: 10px 0 0;
}

.acru-media-banner img {
	border-bottom: 3px solid var(--wp--preset--color--gold);
}

/* ── Danger cards (Ranked Choice Voting band) ─────────────────────────
   On the navy band, so they are separated by a gold rule rather than a box:
   four bordered boxes inside a coloured band reads as clutter. */
.acru-danger-card {
	border-top: 3px solid var(--wp--preset--color--gold);
	padding-top: 16px;
}

.acru-danger-card p {
	color: #ffffffd9;
}

/* ── Resource callout (icon + text + link) ────────────────────────────
   Replaces imported screenshot graphics that carried their meaning in pixels
   and were not even links. Inline SVG icon, so no asset and no fixed size. */
.acru-resource {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	background: #fff;
	border: 1px solid var(--wp--preset--color--rule);
	border-left: 4px solid var(--wp--preset--color--acru-red);
	border-radius: 6px;
	padding: 26px 28px;
	max-width: 720px;
	margin-inline: auto;
}

.acru-resource-icon {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	color: var(--wp--preset--color--acru-red);
	margin-top: 2px;
}

.acru-resource-title {
	margin: 0 0 6px;
	font-size: var(--wp--preset--font-size--x-large);
	color: var(--wp--preset--color--acru-blue);
}

.acru-resource-body p {
	margin: 0;
}

.acru-resource-cta {
	margin-top: 12px !important;
	font-family: var(--wp--preset--font-family--acumin);
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	font-size: 13px;
}

.acru-resource-cta a {
	color: var(--wp--preset--color--acru-red);
	text-decoration: none;
}

.acru-resource-cta a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 600px) {
	.acru-resource {
		flex-direction: column;
		gap: 14px;
		padding: 22px 20px;
	}
}

/* ── Voting Fraud Hotline strip (home action band) ────────────────────
   Sits full width under the three action cards. Flex on desktop, stacked on
   narrow screens — the number must never be the thing that gets truncated. */
.acru-hotline {
	gap: 24px;
}

.acru-hotline-title {
	margin: 0 0 4px;
	letter-spacing: .01em;
}

.acru-hotline-number {
	display: inline-block;
	font-family: var(--wp--preset--font-family--acumin);
	font-weight: 600;
	font-size: clamp(34px, 2.125rem + ((1vw - 3.2px) * 1.5), 48px);
	line-height: 1.05;
	color: var(--wp--preset--color--white);
	text-decoration: none;
	letter-spacing: .01em;
}

.acru-hotline-number:hover,
.acru-hotline-number:focus {
	color: var(--wp--preset--color--white);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.acru-hotline-note {
	margin: 8px 0 0;
	color: #ffffffd9;
	max-width: 42ch;
}

@media (max-width: 600px) {
	.acru-hotline {
		padding-left: 24px;
		padding-right: 24px;
	}
}

/* ── Election band: cards + Live Free Minute video side by side ───────
   2026-10-13 (Tom). Cards and hotline shrink into the left column; the 9:16
   video takes a fixed 340px column on the right (≈604px tall, which the
   cards + hotline roughly match). Below 1100px the band stacks with the video
   first, centred and capped, because three cards in ~400px is unreadable.
   Pattern: patterns/home-action-2026-election.php. */
.acru-election-split .acru-action-cards {
	margin-bottom: 0;
}

/* Cards grow to fill the column so the hotline's bottom lines up with the
   bottom of the video column, rather than stopping ~150px short of it. */
@media (min-width: 1101px) {
	.acru-election-main {
		display: flex;
		flex-direction: column;
	}

	.acru-election-main > .acru-action-cards {
		flex: 1 1 auto;
	}
}

.acru-election-split .acru-action-card {
	min-height: 0;
}

.acru-lfm-video {
	margin: 0;
}

.acru-lfm-video video {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 9 / 16;
	background: #000;
	box-shadow: 8px 8px 0 var(--wp--preset--color--acru-red);
}

.acru-lfm-caption {
	margin-top: 20px;
}

@media (max-width: 1100px) {
	.acru-election-split {
		flex-wrap: wrap !important;
	}

	.acru-election-split > .wp-block-column {
		flex-basis: 100% !important;
	}

	.acru-election-split > .acru-election-video {
		order: -1;
		max-width: 300px;
		margin: 0 auto 12px;
	}
}

/* ── Constant Contact inline signup form ──────────────────────────────
   Scoped to `.acru-ctct`, which only ever wraps the embed rendered by
   `acru_ctct_inline_form()` — theacru's and CVV's home-page bands, and
   nothing else on the network. See acru-functionality/includes/ctct.php.

   ⚠️ Constant Contact's widget CSS sets `border: none; box-shadow: none`
   on `.ctct-form-element:focus`, so a field's box VANISHES the moment you
   tab or click into it: the one field the visitor is actually using is the
   only one with no visible boundary. Reported by Tom on the 3.4 walk,
   2026-08-19, and confirmed in the browser — computed border-width goes
   1px → 0px on focus.

   `!important` is required, not lazy: the widget script injects its own
   stylesheet at runtime, after the theme's.

   Restoring the plain grey border would fix the disappearing act but leave
   focus invisible, so this gives it a real focus ring instead — a focused
   field should read as MORE prominent than an idle one, which is also the
   accessible behaviour. */
.acru-ctct .ctct-form-element:focus,
.acru-ctct .ctct-form-element:focus-visible {
	border: 1px solid var(--wp--preset--color--acru-blue) !important;
	box-shadow: 0 0 0 3px rgba(30, 23, 92, .22) !important;
	outline: none !important;
}


/* ── The Constitutional Defender home-page stripe ─────────────────────

   Two patterns use this: acru/home-defender (navy, on the three sibling
   sites) and acru/home-defender-warm (CSD's own home page). The classes
   appear on four of the ten sites; the rest never render them.

   The cover is an <a> wrapping an <img>, not a core image block, because
   it needs the spine pseudo-element and the tilt origin — both of which
   the block editor strips out of a figure. */

.acru-defender-cover {
	display: block;
	position: relative;
	max-width: 340px;
	transform: rotateY(-7deg) rotateX(1.5deg);
	transform-origin: left center;
	transition: transform .5s cubic-bezier(.2, .7, .3, 1), filter .4s;
	filter: drop-shadow(16px 20px 30px rgba(10, 8, 30, .45));
}

.acru-defender-cover:hover,
.acru-defender-cover:focus-visible {
	transform: rotateY(-2deg) translateY(-6px);
	filter: drop-shadow(12px 26px 40px rgba(10, 8, 30, .55));
	outline: none;
}

.acru-defender-cover img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 2px 4px 4px 2px;
}

/* Paper edge, so the cover reads as a bound object rather than a flat jpg. */
.acru-defender-spine {
	position: absolute;
	inset: 0 auto 0 0;
	width: 11px;
	border-radius: 2px 0 0 2px;
	background: linear-gradient(to right,
		rgba(0, 0, 0, .34),
		rgba(0, 0, 0, .06) 55%,
		rgba(255, 255, 255, .22));
}

/* On the warm variant the drop shadow needs to be lighter — the navy one
   reads as mud on a #f6f5f2 ground. */
.acru-defender-stripe.is-warm .acru-defender-cover {
	filter: drop-shadow(14px 18px 26px rgba(26, 23, 64, .26));
}

.acru-defender-stripe.is-warm .acru-defender-cover:hover,
.acru-defender-stripe.is-warm .acru-defender-cover:focus-visible {
	filter: drop-shadow(10px 24px 34px rgba(26, 23, 64, .34));
}

/* Second CTA on the warm variant is the quieter one. There is no registered
   dark-outline button style, and adding one would touch every site's editor
   inserter for a single use — so scope it here instead. */
.acru-defender-stripe.is-warm .wp-block-button:nth-child(2) .wp-block-button__link {
	background: transparent;
	border: 1.5px solid var(--wp--preset--color--acru-blue);
	color: var(--wp--preset--color--acru-blue);
}

.acru-defender-stripe.is-warm .wp-block-button:nth-child(2) .wp-block-button__link:hover {
	background: var(--wp--preset--color--acru-blue);
	color: var(--wp--preset--color--white);
}

@media (max-width: 781px) {

	/* The columns block already stacks here; centre the cover in its own
	   column and drop the tilt, which reads as a rendering fault at phone
	   width rather than as a design choice. */
	.acru-defender-cover {
		margin: 0 auto 8px;
		max-width: 210px;
		transform: none;
	}

	.acru-defender-cover:hover,
	.acru-defender-cover:focus-visible {
		transform: translateY(-3px);
	}
}

@media (prefers-reduced-motion: reduce) {

	.acru-defender-cover {
		transition: none;
		transform: none;
	}
}

/* ==========================================================================
   🔴 RESTORE FOCUS VISIBILITY THAT CHARITABLE DESTROYS NETWORK-WIDE.

   Reported by Tom as "the hotline form loses its field borders when you start
   typing" on the PMV home page, 2026-09-03. It is not a PMV problem and it is
   not a WPForms problem. Charitable (1.8.17.4) ships this in
   `charitable.min.css`, with no plugin prefix on the selector at all:

       :where(.wp-site-blocks :focus) {
           outline-width: 0 !important;
           outline-style: none !important;
           border-width: medium !important;
           border-style: none !important;
           border-color: currentcolor !important;
           box-shadow: none !important;
       }

   `.wp-site-blocks` is the wrapper EVERY block theme puts around page content.
   So on every page of every site where Charitable is active — blogs 1, 2, 3, 4
   and 6, plus wherever else it enqueues — every focused element inside the
   content area loses its outline, its border and its box-shadow. Text inputs,
   textareas, selects, buttons, links, all of it.

   ⚠️ THAT IS A KEYBOARD-ACCESSIBILITY FAILURE, not a cosmetic one (WCAG 2.4.7).
   A keyboard user has no way to see where they are on the page. Tom happened to
   notice it on a text field because that is where a missing border is obvious;
   it has been true of every link and button on the network the whole time.

   ⚠️ `:where()` HAS ZERO SPECIFICITY, and that is what makes it beatable —
   but only with `!important`, because `!important` outranks specificity in the
   cascade regardless of how weak the selector is. A non-important rule here,
   however specific, loses. That is why these two rules carry `!important` and
   why removing it will silently undo the fix.

   Deliberately minimal:

   - `currentColor`, so the indicator is legible on a navy band and on white
     alike without this file knowing which is which. A fixed colour would be
     invisible on one of them.
   - `:focus-visible` for the outline, so a mouse click on a button does not
     ring it, while a text field still rings on click (browsers always treat
     text entry as focus-visible) — which is Tom's case.
   - width and style only for field borders. Charitable's forced
     `border-color: currentcolor` is left alone: overriding colour globally
     would flatten deliberate per-site choices, such as the gold focus border
     on `.acru-search-form-dark`. Sites that want a branded focus border set it
     themselves at higher specificity, the way the PMV hotline card does.
   ========================================================================== */

.wp-site-blocks :focus-visible {
	outline: 2px solid currentColor !important;
	outline-offset: 2px !important;
}

.wp-site-blocks :is(input, textarea, select):focus {
	border-width: 1px !important;
	border-style: solid !important;
}

/* ---------------------------------------------------------------
   Home — Live Free TV band: latest two episodes (0.10.8)
   Tom, 2026-09-19. Reuses the archive's .acru-episode-* pieces; only
   the colours change, because this sits on navy. Lead episode gets
   the full-width thumbnail; the second is a compact thumb + title row.
   --------------------------------------------------------------- */
.acru-lftv-latest {
	display: grid;
	gap: 22px;
}

.acru-lftv-latest .acru-episode-card {
	color: var(--wp--preset--color--white);
}

.acru-lftv-latest .acru-episode-thumb {
	margin-bottom: 12px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

.acru-lftv-latest .acru-episode-date {
	color: var(--wp--preset--color--gold);
	margin-bottom: 4px;
}

.acru-lftv-latest .acru-episode-title {
	color: var(--wp--preset--color--white);
}

.acru-lftv-latest .acru-episode-card:hover .acru-episode-title {
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--gold);
	text-underline-offset: 3px;
}

/* Second episode: thumb on the left, meta on the right */
.acru-lftv-next {
	display: grid;
	grid-template-columns: 132px 1fr;
	gap: 16px;
	align-items: center;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, .18);
}

.acru-lftv-next .acru-episode-thumb {
	margin-bottom: 0;
	box-shadow: none;
}

.acru-lftv-next .acru-episode-play {
	width: 34px;
	height: 34px;
	font-size: 12px;
	padding-left: 3px;
}

.acru-lftv-next .acru-episode-title {
	font-size: var(--wp--preset--font-size--medium);
}

/* ---------------------------------------------------------------
   Publications stripe (acru/home-publications) — two magazines in
   one band, on theacru and acruaction. Added 2026-09-22 with the
   August newsletter.

   The cover itself reuses .acru-defender-cover and
   .acru-defender-spine above, deliberately: the tilt, the drop
   shadow, the paper edge and the reduced-motion rule are already
   tuned and already shipped, and a second near-identical set of
   cover styles is how two things drift apart. Only the SIZE is
   overridden here, because two covers in one band are smaller than
   one cover beside a column of text.
   --------------------------------------------------------------- */

.acru-pubs-head {
	max-width: 46rem;
	margin-bottom: 44px;
}

.acru-pubs-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px 56px;
	align-items: start;
}

/* The hairline between the two cards. A border on the card itself would
   also draw down the outside edges; this draws only between them, and
   disappears with the second column at 860px. */
.acru-pubs-grid > .acru-pub-card + .acru-pub-card {
	border-left: 1px solid rgba(28, 28, 40, .12);
	padding-left: 56px;
}

.acru-pubs-stripe:not(.is-warm) .acru-pubs-grid > .acru-pub-card + .acru-pub-card {
	border-left-color: rgba(255, 255, 255, .16);
}

.acru-pub-card {
	display: grid;
	grid-template-columns: 178px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

/* Size only — everything else inherits from .acru-defender-cover. */
.acru-pub-cover {
	max-width: 178px;
	margin-top: 4px;
}

.acru-pub-kicker {
	font-family: var(--wp--preset--font-family--acumin, "acumin-pro-semi-condensed", sans-serif);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--acru-red, #ad2324);
	margin: 0 0 6px;
}

.acru-pubs-stripe:not(.is-warm) .acru-pub-kicker {
	color: #d9a441;
}

.acru-pub-title {
	font-family: var(--wp--preset--font-family--acumin, "acumin-pro-semi-condensed", sans-serif);
	font-size: clamp(1.35rem, 1.05rem + .9vw, 1.75rem);
	line-height: 1.15;
	margin: 0 0 10px;
}

.acru-pub-blurb {
	margin: 0 0 20px;
	font-size: 1rem;
	line-height: 1.55;
}

.acru-pubs-stripe:not(.is-warm) .acru-pub-blurb {
	color: #ffffffb8;
}

/* 🔴 NAVY-ON-NAVY, CAUGHT ON acruaction 2026-09-22. The section carries
   has-white-color, but theme.json gives every h1-h6 an explicit colour, and an
   explicit rule beats an inherited one — so these h3s rendered #1e175c on a
   navy band and were effectively invisible. The section's white never reaches
   a heading. ⭐ This is the same failure as the acru-csd-action white-on-white
   H1 (2026-09-10): a band that sets a text colour does NOT colour the headings
   inside it, and the tell is always a heading you can only find by selecting
   it. Any new band pattern with a heading needs this line.
   The warm variant is deliberately left alone — there the theme's own heading
   colour is the right one. */
.acru-pubs-stripe:not(.is-warm) .acru-pub-title {
	color: var(--wp--preset--color--white, #fff);
}

/* 🔴 STACKED, NOT A WRAPPING ROW, AND THIS WAS MEASURED. Side by side, the
   pill plus "Download the PDF 18 MB" needs ~340px and the copy column is
   ~297px at 1360 — so the Defender card wrapped to two lines while the
   newsletter card, whose button text is four characters shorter, did not. Two
   identical cards disagreeing about their own layout reads as a bug. Stacking
   both makes it the same at every width, and the answer stops depending on how
   long the next publication's button text happens to be. */
.acru-pub-cta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	margin: 0;
}

/* Not a core button block: the card needs one solid action and one quiet
   text link, and is-style-pill-* carries block padding that overwhelms a
   178px-wide card. Matches the pill geometry by hand. */
.acru-pub-btn {
	display: inline-block;
	padding: 11px 26px;
	border-radius: 999px;
	background: var(--wp--preset--color--acru-blue, #1e175c);
	color: var(--wp--preset--color--white, #fff);
	font-family: var(--wp--preset--font-family--acumin, "acumin-pro-semi-condensed", sans-serif);
	font-size: .95rem;
	font-weight: 600;
	letter-spacing: .02em;
	text-decoration: none;
	transition: background .25s, transform .25s;
}

.acru-pub-btn:hover,
.acru-pub-btn:focus-visible {
	background: var(--wp--preset--color--acru-red, #ad2324);
	color: var(--wp--preset--color--white, #fff);
	transform: translateY(-1px);
}

.acru-pubs-stripe:not(.is-warm) .acru-pub-btn {
	background: var(--wp--preset--color--white, #fff);
	color: var(--wp--preset--color--acru-blue, #1e175c);
}

.acru-pubs-stripe:not(.is-warm) .acru-pub-btn:hover,
.acru-pubs-stripe:not(.is-warm) .acru-pub-btn:focus-visible {
	background: #d9a441;
	color: #1a1740;
}

.acru-pub-link {
	font-family: var(--wp--preset--font-family--acumin, "acumin-pro-semi-condensed", sans-serif);
	font-size: .9rem;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 1px;
	color: inherit;
}

.acru-pub-link:hover,
.acru-pub-link:focus-visible {
	color: var(--wp--preset--color--acru-red, #ad2324);
}

.acru-pubs-stripe:not(.is-warm) .acru-pub-link:hover,
.acru-pubs-stripe:not(.is-warm) .acru-pub-link:focus-visible {
	color: #d9a441;
}

/* The file size belongs to the download link, but shouting it competes with
   the link text. Same trick as the reader's .cd-btn-sub. */
.acru-pub-size {
	opacity: .62;
	font-weight: 400;
	font-size: .85em;
}

@media (max-width: 860px) {

	.acru-pubs-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.acru-pubs-grid > .acru-pub-card + .acru-pub-card {
		border-left: 0;
		border-top: 1px solid rgba(28, 28, 40, .12);
		padding-left: 0;
		padding-top: 40px;
	}

	.acru-pubs-stripe:not(.is-warm) .acru-pubs-grid > .acru-pub-card + .acru-pub-card {
		border-top-color: rgba(255, 255, 255, .16);
	}

	.acru-pubs-head {
		margin-bottom: 36px;
	}
}

/* Below this the 178px cover and the copy both get too narrow side by side,
   so the cover goes above — and the tilt comes off, which at small sizes
   reads as a rendering fault rather than a design choice. Same threshold
   logic as .acru-defender-cover's own 781px rule. */
@media (max-width: 520px) {

	.acru-pub-card {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
		justify-items: start;
	}

	/* ⚠️ margin-left/right are RESET here on purpose. .acru-defender-cover's
	   own 781px rule sets `margin: 0 auto`, which centred the cover over
	   left-aligned copy once the card went single-column — the grid's
	   justify-items could not win against it. Inheriting that rule is still
	   the right call; this is the one line of it that does not apply. */
	.acru-pub-cover {
		max-width: 150px;
		margin: 0 0 4px;
		transform: none;
	}

	.acru-pub-cover:hover,
	.acru-pub-cover:focus-visible {
		transform: translateY(-3px);
	}
}
