/**
 * Agenda page — built from real WordPress blocks (Cover, Columns,
 * Group, List, Details), same component vocabulary as the About page.
 * .section-eyebrow, .page-hero-cover, and .page-cta-card are shared
 * across every content page now (defined once in style.css); this
 * file only carries Agenda's own section layouts.
 */

/* Shared split-stroke h2 treatment for every section heading on this
   page — same recipe as About. */
.agenda-framework-section h2,
.agenda-pillars-section h2,
.agenda-significance-section h2,
.agenda-faq-section h2 {
	margin: 0 0 20px;
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2rem, 3.6vw, 2.9rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
	text-transform: uppercase;
	text-wrap: balance;
}
/* Same solid-to-hollow split as every other section heading on the
   site (about-leadership, core-values, footer) — a dark stroke since
   these headings sit on light section backgrounds. */
.agenda-framework-section h2 span,
.agenda-pillars-section h2 span,
.agenda-significance-section h2 span,
.agenda-faq-section h2 span {
	color: transparent;
	-webkit-text-stroke: 1.5px #000;
}

/* ===== Framework ===== */
.agenda-framework-section {
	padding: clamp(48px, 6vw, 80px) 8.75vw;
	background: var(--wp--preset--color--base);
}
.agenda-framework-columns.wp-block-columns {
	max-width: 1320px;
	margin: 0 auto;
	gap: clamp(32px, 5vw, 64px);
}
.agenda-framework-text p {
	color: var(--wp--preset--color--muted);
	font-size: 1.05rem;
	line-height: 1.75;
}
.agenda-stat-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: clamp(36px, 4vw, 52px);
	border-radius: 24px;
	background: var(--wp--preset--color--contrast);
	box-shadow: 0 24px 48px rgba(40, 40, 40, 0.18);
}
.agenda-stat-card__number {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(3.5rem, 7vw, 5.5rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--wp--preset--color--secondary);
}
.agenda-stat-card__label {
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.95rem;
	line-height: 1.6;
}

/* ===== Pillars — same numbered-card-grid recipe as About's Objectives
   list (CSS counter on the <li>, plain editable core/list underneath),
   sized for exactly four items instead of eight. ===== */
.agenda-pillars-section {
	padding: clamp(48px, 6vw, 80px) 8.75vw;
	background: rgba(49, 161, 255, 0.06);
	text-align: center;
}
.agenda-pillars-section .section-eyebrow {
	margin-left: auto;
	margin-right: auto;
}
.agenda-pillars-intro-text {
	margin: 0 auto 40px;
	max-width: 34rem;
	color: var(--wp--preset--color--muted);
	font-size: 1.05rem;
	line-height: 1.7;
}
.agenda-pillars-list.wp-block-list {
	counter-reset: agenda-pillar;
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 1320px;
	margin-left: auto;
	margin-right: auto;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	text-align: left;
}
.agenda-pillars-list.wp-block-list li {
	counter-increment: agenda-pillar;
	position: relative;
	min-height: 220px;
	margin: 0;
	padding: 54px 20px 22px;
	border-radius: 16px;
	background: var(--wp--preset--color--base);
	box-shadow: 0 12px 28px rgba(40, 40, 40, 0.08);
	color: var(--wp--preset--color--muted);
	font-size: 0.92rem;
	line-height: 1.6;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.agenda-pillars-list.wp-block-list li strong {
	display: block;
	margin-bottom: 6px;
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--display);
	font-size: 1rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -0.01em;
}
.agenda-pillars-list.wp-block-list li:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 32px rgba(49, 161, 255, 0.18);
}
.agenda-pillars-list.wp-block-list li::before {
	content: counter(agenda-pillar, decimal-leading-zero);
	position: absolute;
	left: 20px;
	top: 18px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	font-family: var(--wp--preset--font-family--display);
	font-size: 0.8rem;
	font-weight: 800;
	transition: background 0.2s ease;
}
.agenda-pillars-list.wp-block-list li:hover::before {
	background: var(--wp--preset--color--contrast);
}
@media (max-width: 900px) {
	.agenda-pillars-list.wp-block-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 560px) {
	.agenda-pillars-list.wp-block-list {
		grid-template-columns: 1fr;
	}
}

/* ===== Significance — 2x2 icon-card grid, real editable blocks (not a
   PHP pattern) so copy stays block-editable, matching the philosophy
   the rest of this rebuild follows. ===== */
.agenda-significance-section {
	padding: clamp(48px, 6vw, 80px) 8.75vw;
	background: rgba(253, 169, 3, 0.08);
	text-align: center;
}
.agenda-significance-section .section-eyebrow {
	margin-left: auto;
	margin-right: auto;
}
.agenda-significance-grid.wp-block-group {
	max-width: 1320px;
	margin: 40px auto 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	text-align: left;
}
.agenda-significance-card.wp-block-group {
	padding: clamp(28px, 3vw, 36px);
	border-radius: 18px;
	background: var(--wp--preset--color--base);
	box-shadow: 0 12px 28px rgba(40, 40, 40, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.agenda-significance-card.wp-block-group:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 32px rgba(253, 169, 3, 0.2);
}
.agenda-significance-card__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--contrast);
}
.agenda-significance-card h3.wp-block-heading {
	margin: 0 0 8px;
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.15rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -0.01em;
}
.agenda-significance-card p {
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: 0.95rem;
	line-height: 1.65;
}
@media (max-width: 700px) {
	.agenda-significance-grid.wp-block-group {
		grid-template-columns: 1fr;
	}
}

/* ===== FAQ (core/details blocks) — same recipe as About's, ported over
   since the FAQ content itself moved here (it's about the Agenda, not
   the organisation). ===== */
.agenda-faq-section {
	padding: clamp(48px, 6vw, 80px) 8.75vw clamp(88px, 10vw, 150px);
	background: var(--wp--preset--color--paper);
	text-align: center;
}
.agenda-faq-section .section-eyebrow {
	margin-left: auto;
	margin-right: auto;
}
.agenda-faq-section > .wp-block-details:first-of-type,
.agenda-faq-item {
	max-width: 800px;
	margin: 0 auto 12px;
	text-align: left;
}
.agenda-faq-item.wp-block-details {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 16px;
	padding: 18px 22px;
	background: var(--wp--preset--color--base);
	transition: border-color 0.2s ease;
}
.agenda-faq-item.wp-block-details[open] {
	border-color: rgba(49, 161, 255, 0.35);
}
.agenda-faq-item.wp-block-details summary {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	cursor: pointer;
	list-style: none;
	color: var(--wp--preset--color--contrast);
	font-size: 1rem;
	font-weight: 700;
}
.agenda-faq-item.wp-block-details summary::-webkit-details-marker {
	display: none;
}
.agenda-faq-item.wp-block-details summary::after {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	margin-right: 2px;
	border-right: 2px solid var(--wp--preset--color--primary);
	border-bottom: 2px solid var(--wp--preset--color--primary);
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}
.agenda-faq-item.wp-block-details[open] summary::after {
	transform: rotate(-135deg);
}
.agenda-faq-item.wp-block-details p {
	margin: 14px 0 0;
	color: var(--wp--preset--color--muted);
	font-size: 0.95rem;
	line-height: 1.65;
}

@media (max-width: 700px) {
	.agenda-framework-columns.wp-block-columns {
		flex-wrap: wrap !important;
	}
	.agenda-framework-text.wp-block-column,
	.agenda-framework-stat.wp-block-column {
		flex-basis: 100% !important;
	}
	.agenda-framework-stat.wp-block-column {
		margin-top: 28px;
	}
}
