/**
 * UNDE Theme - Custom Styles
 * Header and footer styles are now in their respective block SCSS files.
 * This file contains global utilities, page-specific overrides, and animations.
 */

/* =====================================================
   GLOBAL
   ===================================================== */

html {
	scroll-behavior: smooth;
	scroll-padding-top: 5rem;
}

/* Visually hidden but available to assistive tech (WP core pattern). */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* =====================================================
   CSS CUSTOM PROPERTIES
   ===================================================== */

:root {
	--unde-container-max-width: 1320px;
	--unde-container-padding: 2rem;
}

/* =====================================================
   GLOBAL CONTAINER
   ===================================================== */

.unde-container {
	width: 100%;
	max-width: var(--unde-container-max-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--unde-container-padding);
	padding-right: var(--unde-container-padding);
}

@media (max-width: 768px) {
	:root {
		--unde-container-padding: 1rem;
	}
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */

.container-wide {
	width: 100%;
	max-width: var(--unde-container-max-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--unde-container-padding);
	padding-right: var(--unde-container-padding);
}

.section-padding {
	padding-top: 4rem;
	padding-bottom: 4rem;
}

@media (min-width: 768px) {
	.section-padding {
		padding-top: 6rem;
		padding-bottom: 6rem;
	}
}

.card-hover {
	transition: all 0.3s ease;
}

.card-hover:hover {
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
	transform: translateY(-0.25rem);
}

.gradient-navy {
	background: linear-gradient(135deg, var(--wp--preset--color--primary, #1C3F94) 0%, var(--wp--preset--color--primary, #1C3F94) 100%);
}

.gradient-warm {
	background: linear-gradient(180deg, var(--wp--preset--color--warm-white, #faf9f7) 0%, var(--wp--preset--color--warm-gray, #f1f0ed) 100%);
}

/* =====================================================
   ANIMATIONS
   ===================================================== */

@keyframes fade-in {
	0% {
		opacity: 0;
		transform: translateY(10px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fade-in-up {
	0% {
		opacity: 0;
		transform: translateY(20px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate-fade-in {
	animation: fade-in 0.5s ease-out forwards;
}

.animate-fade-in-up {
	animation: fade-in-up 0.6s ease-out forwards;
}

/* =====================================================
   STICKY HEADER (desktop only)
   ===================================================== */

@media (min-width: 769px) {
	.wp-site-blocks > header,
	.wp-site-blocks > .wp-block-template-part:first-child {
		position: sticky;
		top: 0;
		z-index: 9999;
	}

	/* WP admin bar offset */
	.admin-bar .wp-site-blocks > header,
	.admin-bar .wp-site-blocks > .wp-block-template-part:first-child {
		top: 32px;
	}
}

@media (min-width: 769px) and (max-width: 782px) {
	.admin-bar .wp-site-blocks > header,
	.admin-bar .wp-site-blocks > .wp-block-template-part:first-child {
		top: 46px;
	}
}

/* =====================================================
   GLOBAL BLOCK OVERRIDES
   ===================================================== */

/* Remove default WP block spacing */
:where(.wp-site-blocks) > * {
	margin-block-start: 0;
}

main.wp-block-group,
.wp-block-post-content {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.wp-block-post-content > *:first-child {
	margin-top: 0 !important;
}

/* Kill WP layout-flow margin on our custom sections */
.wp-block-post-content > .unde-page-hero,
.wp-block-post-content > .unde-minutes-cta,
.wp-block-post-content > .unde-executive-grid,
.wp-block-post-content > .wp-block-unde-staff-directory,
.wp-block-post-content > .wp-block-unde-news-archive,
.wp-block-post-content > .wp-block-unde-events-list {
	margin-block-start: 0 !important;
}

/* Prevent horizontal overflow on mobile */
.wp-block-post-content {
	overflow-x: hidden;
}

/* =====================================================
   COMMITTEES ARCHIVE PAGE
   ===================================================== */

/* Kill WP layout-flow margin inside committees archive */
.committees-archive > .unde-page-hero,
.committees-archive > .committees-archive__grid-section,
.committees-archive > .committees-archive__responsibilities {
	margin-block-start: 0 !important;
}

/* Section header (shared between grid + responsibilities) */
.committees-archive__section-header {
	max-width: 48rem;
	margin-bottom: 3rem;
}

/* Normalize child top margins so the header spacing is identical whether it
   comes from the core-block group (blockGap:0) or the unde/committee-section-header
   dynamic block (no layout margin reset). */
.committees-archive__section-header > .committees-archive__label,
.committees-archive__section-header > .committees-archive__heading,
.committees-archive__section-header > .committees-archive__desc {
	margin-top: 0 !important;
}

.committees-archive__label {
	font-size: 0.875rem !important;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #375ebd !important;
	margin-bottom: 0.75rem !important;
}

.committees-archive__heading {
	font-family: 'DM Sans', sans-serif !important;
	font-size: 1.875rem !important;
	font-weight: 700;
	color: #1e293b !important;
	margin-bottom: 1rem !important;
	line-height: 1.2;
}

.committees-archive__desc {
	font-size: 1.125rem !important;
	color: #64748b !important;
	line-height: 1.625 !important;
	margin-bottom: 0 !important;
}

@media (min-width: 768px) {
	.committees-archive__section-header { margin-bottom: 4rem; }
	.committees-archive__heading { font-size: 2.25rem !important; }
}

@media (min-width: 1024px) {
	.committees-archive__heading { font-size: 3rem !important; }
}

/* Committees Grid section */
.committees-archive__grid-section {
	padding: 4rem 0;
	background: #fff;
}

@media (min-width: 768px) {
	.committees-archive__grid-section { padding: 6rem 0; }
}

.committees-grid .wp-block-post-template {
	gap: 1.5rem !important;
}

.committees-grid .wp-block-post-template > li {
	display: flex !important;
	flex-direction: column;
}

.committees-grid .wp-block-post-template > li > * {
	flex: 1;
}

.committee-card {
	background: #fff !important;
	border: 1px solid #dde3ee !important;
	border-radius: 0.75rem !important;
	padding: 1.5rem !important;
	transition: all 0.3s ease !important;
	box-shadow: none !important;
}

.committee-card:hover {
	box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05) !important;
	transform: translateY(-4px);
	border-color: rgba(55, 94, 189, 0.3) !important;
}

.committee-card .wp-block-post-title {
	margin-bottom: 0.75rem;
}

.committee-card .wp-block-post-title a {
	font-family: 'DM Sans', sans-serif;
	font-weight: 700;
	font-size: 1.125rem;
	color: #1e293b;
	text-decoration: none;
	line-height: 1.3;
	transition: color 0.2s ease;
}

.committee-card .wp-block-post-title a:hover {
	color: #375ebd;
}

.committee-card .wp-block-post-excerpt {
	margin-bottom: 0;
}

.committee-card .wp-block-post-excerpt__excerpt {
	display: none;
}

.committee-card .wp-block-post-excerpt__more-link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	color: #375ebd;
	font-weight: 600;
	text-decoration: none;
	font-size: 0.875rem;
	transition: gap 0.2s ease;
}

.committee-card:hover .wp-block-post-excerpt__more-link {
	gap: 0.5rem;
}

/* Assigned Responsibilities section */
.committees-archive__responsibilities {
	padding: 4rem 0;
	background: #f1f5f9;
}

@media (min-width: 768px) {
	.committees-archive__responsibilities { padding: 6rem 0; }
}

.responsibilities-grid {
	display: grid !important;
	grid-template-columns: 1fr;
	gap: 1rem;
	max-width: 56rem;
}

@media (min-width: 768px) {
	.responsibilities-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}
}

.responsibilities-grid > * {
	margin-block-start: 0 !important;
}

.responsibility-card {
	background: #fff !important;
	border: 1px solid #dde3ee !important;
	border-left: 4px solid #375ebd !important;
	border-radius: 0.5rem !important;
	padding: 1.25rem !important;
	transition: all 0.2s ease !important;
}

.responsibility-card > * {
	margin-block-start: 0 !important;
}

.responsibility-card:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}

.responsibility-card__person {
	font-family: 'DM Sans', sans-serif !important;
	font-weight: 600 !important;
	font-size: 0.875rem !important;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #1e293b !important;
	margin-bottom: 0.375rem !important;
}

.responsibility-card__role {
	font-size: 0.875rem !important;
	color: #64748b !important;
	line-height: 1.5 !important;
	margin-bottom: 0 !important;
}

/* =====================================================
   GROUPS ARCHIVE PAGE
   ===================================================== */

/* Kill WP layout-flow margin inside boutique page (all sections live in post-content) */
.boutique-page > .wp-block-post-content,
.boutique-page > .wp-block-post-content > * {
	margin-block-start: 0 !important;
}

/* Kill WP layout-flow margin inside groups archive */
.groups-archive > .unde-page-hero,
.groups-archive > .wp-block-unde-canada-map,
.groups-archive > .groups-archive__cta-strip,
.groups-archive > .groups-archive__directory,
.groups-archive > .wp-block-unde-local-news-grid {
	margin-block-start: 0 !important;
}

/* ── Not Sure? CTA Strip ── */
.unde-not-sure-cta {
	background: #f1f5f9;
	border-top: 1px solid #e5e7eb;
	border-bottom: 1px solid #e5e7eb;
	padding: 1.75rem 2rem;
}

.unde-not-sure-cta__inner {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.unde-not-sure-cta__inner p {
	font-size: 1rem;
	line-height: 1.6;
	color: #1e293b;
	margin: 0;
}

@media (min-width: 768px) {
	.unde-not-sure-cta__inner p {
		font-size: 1.0625rem;
	}
}

.unde-not-sure-cta__link {
	display: inline;
	font-weight: 600;
	color: #1c3f94;
	text-decoration: none;
}

.unde-not-sure-cta__link svg {
	display: inline-block;
	vertical-align: -0.15em;
	margin-right: 0.2em;
}

.unde-not-sure-cta__link:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* ── Region Directory ── */
.unde-region-directory {
	background: #fff;
	padding: 4rem 0;
}

.unde-region-directory__container {
	max-width: var(--unde-container-max-width);
	margin: 0 auto;
	padding-left: var(--unde-container-padding);
	padding-right: var(--unde-container-padding);
	box-sizing: border-box;
}

/* On the Groups archive only, widen the Local News grid to match the nav and
   the surrounding region sections (1320). The block's own 1280 default is kept
   on single local pages, which intentionally use narrower content tiers. */
.post-type-archive-group .unde-local-news__container {
	max-width: var(--unde-container-max-width);
}

.unde-region-directory__header {
	max-width: 720px;
	margin-bottom: 2.5rem;
}

.unde-region-directory__label {
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #1c3f94;
	margin: 0 0 0.75rem;
}

.unde-region-directory__title {
	font-family: var(--wp--preset--font-family--heading, "Inter", sans-serif);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 0.75rem;
	line-height: 1.2;
}

.unde-region-directory__desc {
	font-size: 1.0625rem;
	line-height: 1.6;
	color: #475569;
	margin: 0;
}

.unde-region-directory__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

@media (max-width: 1024px) {
	.unde-region-directory__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.unde-region-directory__grid {
		grid-template-columns: 1fr;
	}
	.unde-region-directory {
		padding: 3rem 0;
	}
}

/* Region cards */
.unde-region-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 0.75rem;
	padding: 1.25rem;
	text-decoration: none;
	color: inherit;
	transition: all 0.3s ease;
}

.unde-region-card:hover {
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
	transform: translateY(-3px);
	border-color: rgba(28, 63, 148, 0.4);
}

.unde-region-card__icon-wrap {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 0.5rem;
	background: rgba(28, 63, 148, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #1c3f94;
	margin-bottom: 0.75rem;
	transition: background 0.2s;
	flex-shrink: 0;
}

.unde-region-card:hover .unde-region-card__icon-wrap {
	background: rgba(28, 63, 148, 0.2);
}

.unde-region-card__name {
	font-family: var(--wp--preset--font-family--heading, "Inter", sans-serif);
	font-size: 0.9375rem;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 auto;
	padding-bottom: 0.75rem;
	line-height: 1.35;
}

.unde-region-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #1c3f94;
}

.unde-region-card__link svg {
	transition: transform 0.2s;
}

.unde-region-card:hover .unde-region-card__link svg {
	transform: translateX(3px);
}

.single-group {
	background-color: var(--wp--preset--color--white, #ffffff);
}

/* News / blog single posts — title is a plain post-title h1, not a page-hero.
   padding-top must use !important to beat the global
   main.wp-block-group { padding-top: 0 !important } reset above. */
main.wp-block-group.single-post {
	background-color: var(--wp--preset--color--white, #ffffff);
	padding-top: 3.5rem !important;
}

.single-post .wp-block-post-title {
	color: var(--wp--preset--color--primary, #1c3f94);
	line-height: 1.2;
}

/* 404 — same spacing override as single posts (beats the global main padding reset) */
main.wp-block-group.error-404 {
	background-color: var(--wp--preset--color--white, #ffffff);
	padding-top: 3.5rem !important;
}

.error-404 .wp-block-heading {
	color: var(--wp--preset--color--primary, #1c3f94);
	line-height: 1.2;
}

/* Align block widths on single group pages with the photo gallery (1200px) */
.single-group .unde-locals-list__container,
.single-group .unde-documents__container,
.single-group .unde-committee-header__container,
.single-group .unde-committee-minutes__container,
.single-group .unde-text-section__container,
.single-group .unde-local-news__container,
.single-group .unde-local-exec__container {
	max-width: 1200px;
}

/* Remove default WP block-gap between the full-bleed UNDE sections on single group pages */
.single-group .wp-block-post-content > [class*="wp-block-unde-"] {
	margin-block-start: 0 !important;
}

.single-committee {
	background-color: var(--wp--preset--color--white, #ffffff);
}

/* Align block widths on single committee pages with the photo gallery (1200px) */
.single-committee .unde-committee-header__container,
.single-committee .unde-documents__container,
.single-committee .unde-committee-minutes__container,
.single-committee .unde-text-section__container,
.single-committee .unde-local-news__container,
.single-committee .unde-local-exec__container {
	max-width: 1200px;
}

/* Remove default WP block-gap between the full-bleed UNDE sections on single committee pages */
.single-committee .wp-block-post-content > [class*="wp-block-unde-"] {
	margin-block-start: 0 !important;
}

/* ──────────────────────────────────────────────────────────────────────────
   Keep native (non-UNDE) blocks inside the 1200px content column on committee
   & local pages. These templates use a flow layout, so core blocks (accordion,
   columns, table, quote, etc.) would otherwise stretch full-bleed and not line
   up with the custom UNDE sections. Custom unde/* blocks are excluded so they
   keep their full-width backgrounds; blocks the editor explicitly sets to
   wide/full alignment are respected.
   ────────────────────────────────────────────────────────────────────────── */
.single-committee .wp-block-post-content > :not([class*="wp-block-unde-"]):not(.alignfull):not(.alignwide),
.single-group .wp-block-post-content > :not([class*="wp-block-unde-"]):not(.alignfull):not(.alignwide) {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
	padding-left: 1rem;
	padding-right: 1rem;
}

@media (min-width: 640px) {
	.single-committee .wp-block-post-content > :not([class*="wp-block-unde-"]):not(.alignfull):not(.alignwide),
	.single-group .wp-block-post-content > :not([class*="wp-block-unde-"]):not(.alignfull):not(.alignwide) {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.single-committee .wp-block-post-content > :not([class*="wp-block-unde-"]):not(.alignfull):not(.alignwide),
	.single-group .wp-block-post-content > :not([class*="wp-block-unde-"]):not(.alignfull):not(.alignwide) {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

/* Lists: extra left inset so markers don't hug the column edge. Must match or
   beat the direct-child selector above and use padding-left (not inline-start). */
.single-committee .wp-block-post-content > .wp-block-list:not(.alignfull):not(.alignwide),
.single-group .wp-block-post-content > .wp-block-list:not(.alignfull):not(.alignwide),
.single-committee .wp-block-post-content .wp-block-group .wp-block-list,
.single-group .wp-block-post-content .wp-block-group .wp-block-list {
	padding-left: 2.25rem;
}

@media (min-width: 640px) {
	.single-committee .wp-block-post-content > .wp-block-list:not(.alignfull):not(.alignwide),
	.single-group .wp-block-post-content > .wp-block-list:not(.alignfull):not(.alignwide),
	.single-committee .wp-block-post-content .wp-block-group .wp-block-list,
	.single-group .wp-block-post-content .wp-block-group .wp-block-list {
		padding-left: 2.75rem;
	}
}

@media (min-width: 1024px) {
	.single-committee .wp-block-post-content > .wp-block-list:not(.alignfull):not(.alignwide),
	.single-group .wp-block-post-content > .wp-block-list:not(.alignfull):not(.alignwide),
	.single-committee .wp-block-post-content .wp-block-group .wp-block-list,
	.single-group .wp-block-post-content .wp-block-group .wp-block-list {
		padding-left: 3.25rem;
	}
}

/* ──────────────────────────────────────────────────────────────────────────
   Section-heading consistency on committee & local pages.
   Native heading blocks and the accordion heading title render at the SAME
   size/spec as the custom UNDE block section titles (e.g. "Minutes & Reports").
   This is a page-type rule, not a block-to-block match: any native block the
   editor adds — now or later, anywhere on the page — lines up automatically, so
   section titles never drift. Scoped to committee/local templates only, so info
   pages / news headings are untouched.
   ────────────────────────────────────────────────────────────────────────── */
.single-committee .wp-block-post-content h2.wp-block-heading,
.single-group .wp-block-post-content h2.wp-block-heading,
.single-committee .wp-block-post-content .wp-block-accordion-heading__toggle-title,
.single-group .wp-block-post-content .wp-block-accordion-heading__toggle-title {
	font-family: 'DM Sans', sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.3;
	color: #1e293b;
}

@media (min-width: 768px) {
	.single-committee .wp-block-post-content h2.wp-block-heading,
	.single-group .wp-block-post-content h2.wp-block-heading,
	.single-committee .wp-block-post-content .wp-block-accordion-heading__toggle-title,
	.single-group .wp-block-post-content .wp-block-accordion-heading__toggle-title {
		font-size: 1.875rem;
	}
}

/* Responsive grid */
@media (max-width: 1024px) {
	.committees-grid .wp-block-post-template {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width: 640px) {
	.committees-grid .wp-block-post-template {
		grid-template-columns: 1fr !important;
	}
	
	.committees-archive__header {
		padding: 2rem 1rem !important;
	}
}

/* =====================================================
   INFO PAGE STYLES
   ===================================================== */

.unde-info-page__hero {
	border-bottom: none;
}

.unde-info-card {
	transition: all 0.2s ease;
	background: var(--wp--preset--color--white, #ffffff);
}

.unde-info-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.unde-info-page__content h2 {
	position: relative;
	padding-bottom: 0.75rem;
}

.unde-info-page__content h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 3rem;
	height: 3px;
	background-color: var(--wp--preset--color--primary, #1C3F94);
	border-radius: 2px;
}

/* Hero image in info page pattern */
.unde-info-page__hero-image {
	border-radius: 0.75rem;
	overflow: hidden;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
	margin-top: 2rem;
}

.unde-info-page__hero-image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 420px;
	object-fit: cover;
}

/* Two-column text + mosaic layout */
.unde-info-page__two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: start;
	margin: 2.5rem 0;
}

.unde-info-page__two-col-text {
	padding-top: 1rem;
}

@media (max-width: 768px) {
	.unde-info-page__two-col {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

@media (max-width: 640px) {
	.unde-info-page__hero {
		padding: 2rem 1rem !important;
	}

	.unde-info-page__hero h1 {
		font-size: 1.875rem !important;
	}

	.unde-info-page__content {
		padding: 2rem 1rem !important;
	}
}

/* =====================================================
   NATIONAL EXECUTIVE PAGE
   ===================================================== */

/* Page Hero — mirrors .unde-hero from homepage hero block */
.unde-page-hero {
	position: relative;
	background: linear-gradient(135deg, #1c3f94 0%, #4c5fbd 100%);
	color: #fff;
	overflow: hidden;
	width: 100%;
	margin-top: 0 !important;
	margin-bottom: 0;
}

.unde-page-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	opacity: 0.1;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
	pointer-events: none;
}

.unde-page-hero .unde-container {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
}

.unde-page-hero__content {
	padding: 5rem 0 7rem;
	max-width: 56rem;
	animation: fade-in-up 0.6s ease-out forwards;
}

.unde-page-hero__title {
	font-family: 'DM Sans', sans-serif;
	font-size: clamp(2rem, 5vw, 3.75rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.025em;
	margin: 0 0 1.25rem;
	color: #fff;
	text-wrap: balance;
}

.unde-page-hero__subtitle {
	font-size: clamp(1.375rem, 2.75vw, 2rem);
	font-weight: 500;
	line-height: 1.5;
	max-width: 42rem;
	color: rgba(255, 255, 255, 0.9);
	margin: 0;
}

.unde-page-hero__wave {
	position: absolute;
	bottom: -1px;
	left: 0;
	right: 0;
	line-height: 0;
}

.unde-page-hero__wave svg {
	width: 100%;
	height: auto;
	display: block;
}

@media (min-width: 768px) {
	.unde-page-hero__content {
		padding: 8rem 0 10rem;
	}
}

@media (min-width: 1024px) {
	.unde-page-hero__content {
		padding: 10rem 0 12rem;
	}
}

/* President's Message — matches Lovable PresidentMessage component */
.unde-president-message {
	padding: 4rem 0;
	margin: 3rem 0;
	background: #fff;
}

.unde-president-message__card {
	background: #fff;
	border-radius: 1rem;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	border: 1px solid #e2e8f0;
	overflow: hidden;
}

.unde-president-message__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	padding: 2rem;
	align-items: start;
}

.unde-president-message__grid > * {
	margin: 0;
}

.unde-president-message__photo-col {
	display: flex;
	justify-content: center;
}

.unde-president-message__circle {
	width: 12rem;
	height: 12rem;
	border-radius: 50%;
	background: linear-gradient(to bottom right, rgba(28, 63, 148, 0.2), rgba(28, 63, 148, 0.05));
	border: 4px solid #fff;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	flex-shrink: 0;
}

.unde-president-message__circle img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.unde-president-message__initials {
	font-family: 'DM Sans', sans-serif;
	font-size: 3rem;
	font-weight: 700;
	color: rgba(28, 63, 148, 0.4);
}

.unde-president-message__text-col {
	border-left: 4px solid #1c3f94;
	padding-left: 1.5rem;
}

.unde-president-message__quote-icon {
	width: 2rem;
	height: 2rem;
	color: rgba(28, 63, 148, 0.3);
	margin-bottom: 1rem;
}

.unde-president-message__label {
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #1c3f94;
	margin-bottom: 0.5rem;
}

.unde-president-message__heading {
	font-family: 'DM Sans', sans-serif;
	font-size: 1.875rem;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 0.25rem;
	line-height: 1.2;
}

.unde-president-message__name {
	font-size: 1.125rem;
	color: #64748b;
	margin-bottom: 1.5rem;
}

.unde-president-message__bio p {
	font-size: 1rem;
	line-height: 1.625;
	color: rgba(30, 41, 59, 0.85);
	margin-bottom: 1rem;
}

.unde-president-message__bio p:last-child {
	margin-bottom: 0;
}

@media (min-width: 768px) {
	.unde-president-message {
		padding: 6rem 0;
		margin: 4rem 0;
	}
	.unde-president-message__grid {
		grid-template-columns: 280px 1fr;
		gap: 3rem;
		padding: 3rem;
	}
	.unde-president-message__photo-col {
		justify-content: flex-start;
	}
	.unde-president-message__circle {
		width: 14rem;
		height: 14rem;
	}
	.unde-president-message__initials {
		font-size: 3.75rem;
	}
	.unde-president-message__text-col {
		padding-left: 2rem;
	}
	.unde-president-message__heading {
		font-size: 2.25rem;
	}
	.unde-president-message__bio p {
		font-size: 1.125rem;
	}
}

@media (min-width: 1024px) {
	.unde-president-message__grid {
		padding: 4rem;
	}
}

/* Minutes CTA — matches Lovable MinutesCTA (full-width gradient) */
.unde-minutes-cta {
	padding: 4rem 0 6rem !important;
	background: #fff;
	color: #1e293b;
}

.unde-minutes-cta .unde-container {
	max-width: var(--unde-container-max-width);
	margin: 0 auto;
	padding: 0 var(--unde-container-padding);
}

.unde-minutes-cta__inner {
	max-width: 48rem;
	margin: 0 auto;
	text-align: center;
}

.unde-minutes-cta__inner .wp-block-heading,
.unde-minutes-cta__inner h2,
.unde-minutes-cta__title {
	font-family: 'DM Sans', sans-serif !important;
	font-size: 1.875rem !important;
	font-weight: 700 !important;
	margin-bottom: 1rem !important;
	color: #1e293b !important;
}

.unde-minutes-cta__inner p,
.unde-minutes-cta__text {
	font-size: 1.125rem !important;
	line-height: 1.625 !important;
	color: #475569 !important;
	margin-bottom: 2rem !important;
}

.unde-minutes-cta__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: #1c3f94;
	color: #fff;
	font-weight: 600;
	font-size: 1rem;
	padding: 0.75rem 1.75rem;
	border-radius: 0.5rem;
	border: 2px solid #1c3f94;
	text-decoration: none;
	transition: all 0.2s;
}

.unde-minutes-cta__btn:hover {
	background: #4c5fbd;
	border-color: #4c5fbd;
	color: #fff;
}

.unde-minutes-cta__btn svg {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
}

@media (min-width: 768px) {
	.unde-minutes-cta {
		padding: 5rem 0;
	}
	.unde-minutes-cta__inner .wp-block-heading,
	.unde-minutes-cta__inner h2,
	.unde-minutes-cta__title {
		font-size: 2.25rem !important;
	}
	.unde-minutes-cta {
		padding: 5rem 0;
	}
}

/* =====================================================
   BOUTIQUE / ONLINE STORE PAGE
   ===================================================== */

/* ── Order Info Banner ── */
.unde-store-info {
	padding: 2rem 0 2.5rem;
}

.unde-store-info__container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1rem;
}

@media (min-width: 768px) {
	.unde-store-info__container {
		padding: 0 1.5rem;
	}
}

@media (min-width: 1024px) {
	.unde-store-info__container {
		padding: 0 2rem;
	}
}

.unde-store-info__banner {
	max-width: 900px;
	margin: 0 auto;
	background: rgba(28, 63, 148, 0.05);
	border: 1px solid rgba(28, 63, 148, 0.15);
	border-radius: 0.75rem;
	padding: 1.5rem 2rem;
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

@media (max-width: 640px) {
	.unde-store-info__banner {
		padding: 1.25rem 1rem;
	}
}

.unde-store-info__icon {
	flex-shrink: 0;
	color: #1c3f94;
	margin-top: 0.125rem;
}

.unde-store-info__text {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.unde-store-info__text p {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: rgba(30, 41, 59, 0.9);
	margin: 0;
}

.unde-store-info__text strong {
	color: #1e293b;
}

.unde-store-info__email {
	display: inline;
	font-weight: 600;
	color: #1c3f94;
	text-decoration: none;
}

.unde-store-info__email:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.unde-store-info__email svg {
	vertical-align: -0.15em;
	margin-right: 0.2em;
}

.unde-store-info__muted {
	color: #64748b !important;
	font-size: 0.875rem !important;
}

.unde-store-info__muted a {
	font-weight: 600;
	color: #1c3f94;
	text-decoration: none;
}

.unde-store-info__muted a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* ── Sizing Charts ── */
.unde-sizing {
	padding: 3rem 0 4rem;
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
	border-bottom: 1px solid #e2e8f0;
}

@media (min-width: 768px) {
	.unde-sizing {
		padding: 4rem 0 5rem;
	}
}

.unde-sizing__container {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 1rem;
}

@media (min-width: 768px) {
	.unde-sizing__container {
		padding: 0 1.5rem;
	}
}

.unde-sizing__header {
	text-align: center;
	margin-bottom: 2rem;
}

@media (min-width: 768px) {
	.unde-sizing__header {
		margin-bottom: 2.5rem;
	}
}

.unde-sizing__label {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: #1c3f94;
	display: block;
	margin: 0;
}

.unde-sizing__title {
	font-family: var(--wp--preset--font-family--heading, 'DM Sans', sans-serif);
	font-size: 1.5rem;
	font-weight: 700;
	color: #1e293b;
	margin: 0.75rem 0;
}

@media (min-width: 768px) {
	.unde-sizing__title {
		font-size: 1.875rem;
	}
}

.unde-sizing__desc {
	color: #475569;
	margin: 0;
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
}

.unde-sizing__buttons {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
	justify-content: center;
}

@media (min-width: 640px) {
	.unde-sizing__buttons {
		flex-direction: row;
	}
}

.unde-sizing__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border: 1px solid #cbd5e1;
	border-radius: 0.5rem;
	background: #fff;
	color: #1e293b;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
	width: 100%;
	justify-content: center;
}

@media (min-width: 640px) {
	.unde-sizing__btn {
		width: auto;
	}
}

.unde-sizing__btn:hover {
	background: #f8fafc;
	border-color: #1c3f94;
	color: #1c3f94;
}

.unde-sizing__btn svg {
	flex-shrink: 0;
}

/* ── Store Contact CTA ── */
.unde-store-cta {
	padding: 2.5rem 0 3.5rem;
}

@media (min-width: 768px) {
	.unde-store-cta {
		padding: 3rem 0 4rem;
	}
}

.unde-store-cta__container {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 1rem;
}

@media (min-width: 768px) {
	.unde-store-cta__container {
		padding: 0 1.5rem;
	}
}

.unde-store-cta__card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	padding: 1.5rem 2rem;
	text-align: center;
}

@media (min-width: 768px) {
	.unde-store-cta__card {
		padding: 2.5rem;
	}
}

.unde-store-cta__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: rgba(28, 63, 148, 0.1);
	color: #1c3f94;
	margin-bottom: 1rem;
}

.unde-store-cta__title {
	font-family: var(--wp--preset--font-family--heading, 'DM Sans', sans-serif);
	font-size: 1.25rem;
	font-weight: 700;
	color: #1e293b;
	margin: 0;
}

@media (min-width: 768px) {
	.unde-store-cta__title {
		font-size: 1.5rem;
	}
}

.unde-store-cta__desc {
	color: #475569;
	margin: 0.5rem auto 0;
	max-width: 480px;
	line-height: 1.6;
}

.unde-store-cta__button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1.25rem;
	padding: 0.75rem 1.5rem;
	background: #1c3f94;
	color: #fff;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease;
}

.unde-store-cta__button:hover {
	background: rgba(28, 63, 148, 0.9);
	color: #fff;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */

.contact-page > .unde-page-hero,
.contact-page > .contact-page__office-info,
.contact-page > .contact-page__pay-issues {
	margin-block-start: 0 !important;
}

/* ── Office Info Card ── */

.unde-office-info {
	padding: 2.5rem 0 2rem;
}

.unde-office-info__container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1rem;
}

@media (min-width: 640px) {
	.unde-office-info__container {
		padding: 0 1.5rem;
	}
}

@media (min-width: 768px) {
	.unde-office-info__container {
		padding: 0 2rem;
	}
}

.unde-office-info__card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 1rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	padding: 2rem;
}

@media (min-width: 768px) {
	.unde-office-info__card {
		padding: 2.5rem;
	}
}

.unde-office-info__grid {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

@media (min-width: 768px) {
	.unde-office-info__grid {
		flex-direction: row;
		justify-content: space-between;
	}
}

.unde-office-info__block {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.unde-office-info__icon-wrap {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: rgba(28, 63, 148, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #1c3f94;
}

.unde-office-info__heading {
	font-family: "DM Sans", sans-serif;
	font-size: 1.0625rem;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 0.375rem;
}

.unde-office-info__text {
	font-size: 0.9375rem;
	color: #475569;
	margin: 0;
	line-height: 1.6;
}

.unde-office-info__note {
	font-size: 0.8125rem;
	color: #94a3b8;
	margin: 0.25rem 0 0;
}

.unde-office-info__footer {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid #e2e8f0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

@media (min-width: 768px) {
	.unde-office-info__footer {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

.unde-office-info__email-link,
.unde-office-info__doc-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #1c3f94;
	text-decoration: none;
	transition: color 0.15s ease;
}

.unde-office-info__email-link:hover,
.unde-office-info__doc-link:hover {
	color: #4c5fbd;
}

.unde-office-info__doc-link {
	font-weight: 500;
	color: #475569;
}

.unde-office-info__doc-link:hover {
	color: #1c3f94;
}

/* ── Pay Issues CTA ── */

.unde-pay-cta {
	padding: 2rem 0 4rem;
}

.unde-pay-cta__container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1rem;
}

@media (min-width: 640px) {
	.unde-pay-cta__container {
		padding: 0 1.5rem;
	}
}

@media (min-width: 768px) {
	.unde-pay-cta__container {
		padding: 0 2rem;
	}
}

.unde-pay-cta__card {
	border: 2px solid rgba(28, 63, 148, 0.15);
	background: rgba(28, 63, 148, 0.03);
	border-radius: 1rem;
	padding: 3rem 2rem;
	text-align: center;
}

@media (min-width: 768px) {
	.unde-pay-cta__card {
		padding: 4rem 3rem;
	}
}

.unde-pay-cta__icon {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background: rgba(28, 63, 148, 0.08);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #1c3f94;
	margin-bottom: 1.25rem;
}

.unde-pay-cta__title {
	font-family: "DM Sans", sans-serif;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 0.75rem;
}

.unde-pay-cta__desc {
	font-size: 1rem;
	color: #475569;
	max-width: 36rem;
	margin: 0 auto 1.5rem;
	line-height: 1.6;
}

.unde-pay-cta__button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	background: #1c3f94;
	color: #fff;
	border-radius: 0.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease;
}

.unde-pay-cta__button:hover {
	background: #4c5fbd;
	color: #fff;
}

/* =====================================================
   NEWSROOM PAGE
   ===================================================== */

.newsroom-page > .wp-block-post-content,
.newsroom-page > .wp-block-post-content > * {
	margin-block-start: 0 !important;
}

/* Alternate backgrounds for news sections (target by stable id, not position) */
.newsroom-page .wp-block-post-content > .wp-block-unde-news-archive#local-news {
	background-color: #f8fafc;
}

/* Events block on newsroom should have white bg by default */
.newsroom-page .wp-block-post-content > .wp-block-unde-events-list {
	background-color: #fff;
}

/* ── Media Contact CTA ── */

.unde-media-cta {
	padding: 3rem 0 4rem;
	background: #f8fafc;
}

.unde-media-cta__container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1rem;
}

@media (min-width: 640px) {
	.unde-media-cta__container {
		padding: 0 1.5rem;
	}
}

@media (min-width: 768px) {
	.unde-media-cta__container {
		padding: 0 2rem;
	}
}

.unde-media-cta__card {
	max-width: 48rem;
	margin: 0 auto;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 1rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	padding: 3rem 2rem;
	text-align: center;
}

@media (min-width: 768px) {
	.unde-media-cta__card {
		padding: 4rem 3rem;
	}
}

.unde-media-cta__icon {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background: rgba(28, 63, 148, 0.08);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #1c3f94;
	margin-bottom: 1.25rem;
}

.unde-media-cta__title {
	font-family: "DM Sans", sans-serif;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 0.75rem;
}

.unde-media-cta__desc {
	font-size: 1rem;
	color: #475569;
	max-width: 36rem;
	margin: 0 auto 1.5rem;
	line-height: 1.6;
}

.unde-media-cta__button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	background: #1c3f94;
	color: #fff;
	border-radius: 0.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease;
}

.unde-media-cta__button:hover {
	background: #4c5fbd;
	color: #fff;
}

/* =====================================================
   RESOURCES PAGE
   ===================================================== */

.resources-page > .unde-page-hero,
.resources-page > .resources-page__member-resources {
	margin-block-start: 0 !important;
}

.resources-page > .wp-block-post-content,
.resources-page > .wp-block-post-content > * {
	margin-block-start: 0 !important;
}

/* ── Member Resources Section ── */

.unde-member-resources {
	padding: 2.5rem 0 3rem;
}

@media (min-width: 768px) {
	.unde-member-resources {
		padding: 3rem 0 4rem;
	}
}

.unde-member-resources__container {
	max-width: var(--unde-container-max-width);
	margin: 0 auto;
	padding: 0 1rem;
	box-sizing: border-box;
}

@media (min-width: 640px) {
	.unde-member-resources__container {
		padding: 0 1.5rem;
	}
}

@media (min-width: 768px) {
	.unde-member-resources__container {
		padding: 0 2rem;
	}
}

.unde-member-resources__header {
	max-width: 48rem;
	margin-bottom: 2.5rem;
}

.unde-member-resources__eyebrow {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: #1c3f94;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.75rem;
}

.unde-member-resources__title {
	font-family: "DM Sans", sans-serif;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 0.75rem;
	line-height: 1.2;
}

.unde-member-resources__subtitle {
	font-size: 1.125rem;
	color: #475569;
	margin: 0;
	line-height: 1.6;
}

/* ── Resource Cards Grid ── */

.unde-member-resources__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 768px) {
	.unde-member-resources__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}
}

.unde-resource-card {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	background: #fff;
	border-radius: 0.75rem;
	padding: 1.5rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	border: 1px solid rgba(226, 232, 240, 0.5);
	text-decoration: none;
	color: inherit;
	transition: all 0.3s ease;
	box-sizing: border-box;
}

.unde-resource-card:hover {
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
	transform: translateY(-0.25rem);
}

.unde-resource-card:hover .unde-resource-card__icon {
	background: #1c3f94;
	color: #fff;
}

.unde-resource-card:hover .unde-resource-card__title {
	color: #1c3f94;
}

.unde-resource-card:hover .unde-resource-card__arrow {
	transform: translateX(0.25rem);
}

.unde-resource-card__icon {
	flex-shrink: 0;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 0.5rem;
	background: rgba(28, 63, 148, 0.1);
	color: #1c3f94;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.unde-resource-card__content {
	flex: 1;
	min-width: 0;
}

.unde-resource-card__title {
	font-family: "DM Sans", sans-serif;
	font-size: 1.0625rem;
	font-weight: 600;
	color: #1e293b;
	margin: 0 0 0.25rem;
	line-height: 1.4;
	transition: color 0.2s ease;
}

.unde-resource-card__description {
	font-size: 0.875rem;
	color: #475569;
	margin: 0 0 0.75rem;
	line-height: 1.5;
}

.unde-resource-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: #1c3f94;
}

.unde-resource-card__arrow {
	transition: transform 0.2s ease;
}

/* =====================================================
   WELCOME KIT PAGE
   ===================================================== */

.welcome-kit-page > .welcome-kit-page__flipbook {
	margin-block-start: 0 !important;
}

/* ── PDF Flipbook ── */

.unde-pdf-flipbook {
	max-width: 800px;
	margin: 0 auto;
	padding: 2rem 1rem 0;
}

@media (min-width: 640px) {
	.unde-pdf-flipbook {
		padding: 2rem 0 0;
	}
}

.unde-pdf-flipbook__viewer {
	position: relative;
	background: #f1f5f9;
	border-radius: 0.75rem;
	border: 1px solid #e2e8f0;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 300px;
	padding: 1.5rem 2.5rem;
}

@media (min-width: 640px) {
	.unde-pdf-flipbook__viewer {
		min-height: 450px;
		padding: 2rem 3.5rem;
	}
}

.unde-pdf-flipbook__book {
	display: none;
}

.unde-pdf-flipbook__page {
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.unde-pdf-flipbook__page img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.unde-pdf-flipbook__loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	color: #475569;
	font-size: 0.9375rem;
}

.unde-pdf-flipbook__spinner {
	width: 2rem;
	height: 2rem;
	border: 3px solid #e2e8f0;
	border-top-color: #1c3f94;
	border-radius: 50%;
	animation: unde-spin 0.8s linear infinite;
}

@keyframes unde-spin {
	to { transform: rotate(360deg); }
}

.unde-pdf-flipbook__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid #e2e8f0;
	color: #1e293b;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	z-index: 2;
}

.unde-pdf-flipbook__nav:hover:not(:disabled) {
	background: #1c3f94;
	color: #fff;
	border-color: #1c3f94;
}

.unde-pdf-flipbook__nav:disabled {
	opacity: 0.3;
	cursor: default;
}

.unde-pdf-flipbook__prev {
	left: 0.75rem;
}

.unde-pdf-flipbook__next {
	right: 0.75rem;
}

.unde-pdf-flipbook__toolbar {
	display: flex;
	justify-content: center;
	padding: 0.75rem 0;
}

.unde-pdf-flipbook__page-info {
	font-size: 0.875rem;
	font-weight: 500;
	color: #475569;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 2rem;
	padding: 0.375rem 1rem;
}

.unde-pdf-flipbook__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	padding: 0.5rem 0 2rem;
}

@media (min-width: 480px) {
	.unde-pdf-flipbook__actions {
		flex-direction: row;
		justify-content: center;
	}
}

.unde-pdf-flipbook__download-btn,
.unde-pdf-flipbook__member-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.75rem;
	border-radius: 0.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease;
}

.unde-pdf-flipbook__download-btn {
	background: #1c3f94;
	color: #fff;
}

.unde-pdf-flipbook__download-btn:hover {
	background: #4c5fbd;
	color: #fff;
}

.unde-pdf-flipbook__member-btn {
	background: #fff;
	color: #1c3f94;
	border: 2px solid #1c3f94;
}

.unde-pdf-flipbook__member-btn:hover {
	background: #1c3f94;
	color: #fff;
}

/* ── Welcome Kit editable content area ──
   Post-content stays full-width so the hero can span edge-to-edge (it's a
   direct child); every other block is constrained to a centered 800px column. */

.welcome-kit-page .wp-block-post-content {
	padding-bottom: 3rem;
}

.welcome-kit-page .wp-block-post-content > *:not(.unde-page-hero) {
	max-width: 800px;
	margin-inline: auto;
	padding-inline: 1rem;
}

@media (min-width: 640px) {
	.welcome-kit-page .wp-block-post-content {
		padding-bottom: 4rem;
	}

	.welcome-kit-page .wp-block-post-content > *:not(.unde-page-hero) {
		padding-inline: 2rem;
	}
}

/* =====================================================
   EDUCATION PAGE
   ===================================================== */

.education-page > .wp-block-post-content,
.education-page > .wp-block-post-content > * {
	margin-block-start: 0 !important;
}

/* ── Intro Section ── */

.unde-edu-intro {
	padding: 2.5rem 0;
}

@media (min-width: 768px) {
	.unde-edu-intro {
		padding: 3rem 0;
	}
}

.unde-edu-intro__content {
	max-width: 48rem;
	margin: 0 auto;
}

.unde-edu-intro__content p {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: #475569;
	margin: 0 0 1.25rem;
}

.unde-edu-intro__content p:last-child {
	margin-bottom: 0;
}

.unde-edu-intro__link,
.unde-edu-intro__content a {
	color: #1c3f94;
	font-weight: 600;
	text-decoration: none;
}

.unde-edu-intro__link:hover,
.unde-edu-intro__content a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ── PSAC Training CTA ── */

.unde-psac-cta {
	padding: 3rem 0;
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
}

@media (min-width: 768px) {
	.unde-psac-cta {
		padding: 4rem 0;
	}
}

.unde-psac-cta__card {
	max-width: 48rem;
	margin: 0 auto;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	padding: 2.5rem 2rem;
	text-align: center;
}

@media (min-width: 768px) {
	.unde-psac-cta__card {
		padding: 3.5rem 2.5rem;
	}
}

.unde-psac-cta__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: rgba(28, 63, 148, 0.1);
	color: #1c3f94;
	margin-bottom: 1rem;
}

.unde-psac-cta__title {
	font-family: "DM Sans", sans-serif;
	font-size: 1.375rem;
	font-weight: 700;
	color: #1e293b;
	margin: 0;
}

@media (min-width: 768px) {
	.unde-psac-cta__title {
		font-size: 1.5rem;
	}
}

.unde-psac-cta__desc {
	font-size: 1rem;
	color: #475569;
	margin: 0.5rem auto 0;
	max-width: 32rem;
	line-height: 1.6;
}

.unde-psac-cta__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1.5rem;
	padding: 0.75rem 1.75rem;
	background: #1c3f94;
	color: #fff;
	border-radius: 0.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease;
}

.unde-psac-cta__btn:hover {
	background: #4c5fbd;
	color: #fff;
}

/* =====================================================
   AWARDS & SCHOLARSHIPS PAGE
   ===================================================== */

.awards-page > .wp-block-post-content,
.awards-page > .wp-block-post-content > * {
	margin-block-start: 0 !important;
}

/* ── Intro Section ── */

.unde-awards-intro {
	padding: 2.5rem 0;
}

@media (min-width: 768px) {
	.unde-awards-intro {
		padding: 3rem 0;
	}
}

.unde-awards-intro__content {
	max-width: 48rem;
	margin: 0 auto;
	text-align: center;
}

.unde-awards-intro__content a {
	color: #1c3f94;
	font-weight: 600;
	text-decoration: none;
}

.unde-awards-intro__content a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.unde-awards-intro__content p {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: #475569;
	margin: 0;
}

/* =====================================================
   GRIEVANCES PAGE
   ===================================================== */

.grievances-page > .wp-block-post-content,
.grievances-page > .wp-block-post-content > * {
	margin-block-start: 0 !important;
}

/* ── Intro Section ── */

.unde-grievance-intro {
	padding: 2.5rem 0 1rem;
}

@media (min-width: 768px) {
	.unde-grievance-intro {
		padding: 3rem 0 1.5rem;
	}
}

.unde-grievance-intro__content {
	max-width: 68rem;
	margin: 0 auto;
	text-align: center;
	text-wrap: pretty;
}

.unde-grievance-intro__content p {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: #475569;
	margin: 0 0 1rem;
}

.unde-grievance-intro__content p:last-child {
	margin-bottom: 0;
}

/* =====================================================
   GET INVOLVED PAGE
   ===================================================== */

.get-involved-page > .wp-block-post-content,
.get-involved-page > .wp-block-post-content > * {
	margin-block-start: 0 !important;
}

/* ── Intro Section ── */

.unde-get-involved-intro {
	padding: 2.5rem 0 1rem;
}

@media (min-width: 768px) {
	.unde-get-involved-intro {
		padding: 3rem 0 1.5rem;
	}
}

.unde-get-involved-intro__content {
	max-width: 52rem;
	margin: 0 auto;
	text-align: center;
	text-wrap: pretty;
}

.unde-get-involved-intro__content p {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: #475569;
	margin: 0 0 1rem;
}

.unde-get-involved-intro__content p:last-child {
	margin-bottom: 0;
}

/* ── Action Cards ── */

.unde-get-involved-actions {
	padding: 2rem 0 4rem;
}

@media (min-width: 768px) {
	.unde-get-involved-actions {
		padding: 2.5rem 0 4.5rem;
	}
}

.unde-get-involved-actions__heading {
	font-family: "DM Sans", sans-serif;
	font-size: 1.75rem;
	font-weight: 700;
	color: #1b2a4a;
	text-align: center;
	margin: 0 0 2.5rem;
}

.unde-get-involved-actions__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	max-width: 64rem;
	margin: 0 auto;
}

@media (max-width: 900px) {
	.unde-get-involved-actions__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.unde-get-involved-actions__grid {
		grid-template-columns: 1fr;
	}
}

.unde-action-card {
	background: #f8f9fa;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 2rem 1.75rem;
	transition: box-shadow 0.2s, transform 0.2s;
}

.unde-action-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
	transform: translateY(-2px);
}

.unde-action-card__icon {
	width: 3rem;
	height: 3rem;
	border-radius: 10px;
	background: rgba(28, 63, 148, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
	color: #1c3f94;
}

.unde-action-card__title {
	font-family: "DM Sans", sans-serif;
	font-size: 1.0625rem;
	font-weight: 700;
	color: #1b2a4a;
	margin: 0 0 0.625rem;
}

.unde-action-card__desc {
	font-size: 0.875rem;
	line-height: 1.65;
	color: #475569;
	margin: 0;
}

.unde-action-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	margin-top: 1rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #1c3f94;
	text-decoration: none;
}

.unde-action-card__link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.unde-action-card__inline-link {
	color: #1c3f94;
	font-weight: 600;
	text-decoration: none;
}

.unde-action-card__inline-link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* =====================================================
   STOP CONTRACTING OUT (CAMPAIGN PAGE)
   ===================================================== */

.sco-page > * {
	margin-block-start: 0 !important;
}

/* ── Caution Stripes + Hero ── */

.sco-caution-stripes {
	height: 4rem;
	background: repeating-linear-gradient(
		-45deg,
		#fbb03b,
		#fbb03b 40px,
		#2a2a2a 40px,
		#2a2a2a 80px
	);
	border-bottom: 1px solid #444;
}

@media (min-width: 768px) {
	.sco-caution-stripes {
		height: 5rem;
	}
}

.sco-hero {
	background: #2a2a2a;
}

.sco-hero__content {
	max-width: 56rem;
	margin: 0 auto;
	padding: 5rem 1.5rem 4rem;
	text-align: center;
}

.sco-hero__title {
	font-family: 'Merriweather', serif;
	font-size: 2.5rem;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.02em;
	margin: 0 0 1rem;
}

@media (min-width: 768px) {
	.sco-hero__title {
		font-size: 3rem;
	}
}

.sco-hero__subtitle {
	font-family: 'DM Sans', sans-serif;
	font-size: 1.125rem;
	color: #d1d5db;
	line-height: 1.6;
	max-width: 36rem;
	margin: 0 auto 2rem;
}

/* ── Buttons ── */

.sco-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: 'DM Sans', sans-serif;
	font-weight: 700;
	font-size: 0.875rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	border-radius: 8px;
	text-decoration: none;
	cursor: pointer;
	transition: filter 0.2s, transform 0.1s;
}

.sco-btn:active {
	transform: scale(0.97);
}

.sco-btn--primary {
	background: #fbb03b;
	color: #2a2a2a !important;
	padding: 0.875rem 2rem;
}

.sco-btn--primary:hover {
	filter: brightness(1.1);
	color: #2a2a2a !important;
}

.sco-btn--outline {
	background: transparent;
	border: 2px solid #fbb03b;
	color: #fbb03b !important;
	padding: 0.8rem 2rem;
}

.sco-btn--outline:hover {
	background: #fbb03b;
	color: #2a2a2a !important;
}

.sco-btn--small {
	background: #fbb03b;
	color: #2a2a2a !important;
	padding: 0.5rem 1.25rem;
	font-size: 0.75rem;
	border-radius: 999px;
}

.sco-btn--small:hover {
	filter: brightness(1.1);
	color: #2a2a2a !important;
}

/* ── Sections ── */

.sco-section {
	padding: 4rem 0;
}

.sco-section--dark {
	background: #2a2a2a;
	border-top: 1px solid #514535;
}

.sco-section--alt {
	background: #303030;
}

.sco-section__container {
	max-width: 48rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.sco-section__container--wide {
	max-width: 64rem;
}

.sco-section__title {
	font-family: 'Merriweather', serif;
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 1.25rem;
}

.sco-section__title--center {
	text-align: center;
}

@media (min-width: 768px) {
	.sco-section__title {
		font-size: 1.75rem;
	}
}

.sco-section__text {
	font-family: 'DM Sans', sans-serif;
	font-size: 1rem;
	line-height: 1.7;
	color: #d1d5db;
	margin: 0 0 1rem;
}

.sco-section__text:last-child {
	margin-bottom: 0;
}

/* ── Link ── */

.sco-link {
	color: #fbb03b;
	font-weight: 700;
	text-decoration: none;
}

.sco-link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ── Facts Grid ── */

.sco-facts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

@media (max-width: 768px) {
	.sco-facts-grid {
		grid-template-columns: 1fr;
	}
}

.sco-placeholder-card {
	height: 200px;
	background: #303030;
	border: 2px dashed #fbb03b;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	color: #fbb03b;
	transition: background 0.2s;
}

.sco-placeholder-card:hover {
	background: #353535;
}

.sco-placeholder-card span {
	font-family: 'DM Sans', sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.sco-placeholder-card--wide {
	height: 16rem;
	margin-bottom: 1.5rem;
}

/* ── Report Card ── */

.sco-report-card {
	background: #353535;
	border: 1px solid #444;
	border-radius: 12px;
	padding: 2rem;
	margin-bottom: 1.5rem;
}

.sco-report-card__heading {
	font-family: 'DM Sans', sans-serif;
	font-size: 1.125rem;
	font-weight: 700;
	color: #fbb03b;
	margin: 0 0 1.25rem;
}

.sco-report-card__text {
	font-family: 'DM Sans', sans-serif;
	font-size: 0.9375rem;
	line-height: 1.7;
	color: #e4e2e1;
	margin: 0 0 1rem;
}

.sco-report-card__list {
	padding-left: 1.25rem;
	margin: 0;
}

.sco-report-card__list li {
	font-family: 'DM Sans', sans-serif;
	font-size: 0.875rem;
	line-height: 1.7;
	color: #d1d5db;
	margin-bottom: 0.5rem;
}

/* ── Action Buttons ── */

.sco-action-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

@media (max-width: 560px) {
	.sco-action-btns {
		flex-direction: column;
	}
}

/* ── Resources Grid ── */

.sco-resources-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

@media (max-width: 640px) {
	.sco-resources-grid {
		grid-template-columns: 1fr;
	}
}

.sco-resource-card {
	background: #303030;
	border: 1px solid #444;
	border-radius: 12px;
	padding: 1.5rem 2rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	transition: border-color 0.2s;
}

.sco-resource-card:hover {
	border-color: #fbb03b;
}

.sco-resource-card__icon {
	width: 3rem;
	height: 3rem;
	background: #353535;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #fbb03b;
}

.sco-resource-card__title {
	flex: 1;
	font-family: 'DM Sans', sans-serif;
	font-size: 0.9375rem;
	font-weight: 700;
	color: #fff;
	margin: 0;
}

/* ── Staff Grid ── */

.sco-staff-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

@media (max-width: 640px) {
	.sco-staff-grid {
		grid-template-columns: 1fr;
	}
}

.sco-staff-card {
	background: #353535;
	border: 1px solid #444;
	border-radius: 12px;
	padding: 1.5rem 2rem;
	position: relative;
	overflow: hidden;
}

.sco-staff-card::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 4px;
	height: 100%;
	background: #fbb03b;
}

.sco-staff-card__name {
	font-family: 'Merriweather', serif;
	font-size: 1.25rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 0.25rem;
}

.sco-staff-card__role {
	font-family: 'DM Sans', sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	color: #fbb03b;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0 0 1rem;
}

.sco-staff-card__details {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.sco-staff-card__phone {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-family: 'DM Sans', sans-serif;
	font-size: 0.875rem;
	color: #d1d5db;
	margin: 0;
}

.sco-staff-card__phone svg {
	color: #fbb03b;
	flex-shrink: 0;
}

.sco-staff-card__email {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-family: 'DM Sans', sans-serif;
	font-size: 0.875rem;
	color: #fbb03b;
	text-decoration: none;
}

.sco-staff-card__email:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sco-staff-card__email svg {
	flex-shrink: 0;
}

