/* HSRC AYGS theme (Africa Young Graduates and Scholars Conference).
   Colours, fonts and sizes are presets in theme.json; this file sets the headings and links
   (outside Elementor pages) and lays out the header, home sections,
   inner pages and footer. Palette: navy, deep navy, gold and blue. Phone layout at <= 782px.
   Archivo for headings, figures and labels (--cfa-font-display), Inter for text and buttons
   (--cfa-font-body). */

:root {
	--cfa-font-body: var(--wp--preset--font-family--inter, Inter, "Segoe UI", system-ui, sans-serif);
	--cfa-font-display: var(--wp--preset--font-family--archivo, Archivo, "Segoe UI", system-ui, sans-serif);
	--cfa-navy: var(--wp--preset--color--navy, #033468);
	--cfa-navy-deep: var(--wp--preset--color--navy-deep, #012B5C);
	--cfa-ink: var(--wp--preset--color--ink, #0D2B57);
	--cfa-blue: var(--wp--preset--color--blue, #0A5CA3);
	--cfa-gold: var(--wp--preset--color--gold, #F3B21D);
	--cfa-gold-dark: var(--wp--preset--color--gold-dark, #DE9F0C);
	--cfa-mist: var(--wp--preset--color--mist, #E9EEF5);
	--cfa-cloud: var(--wp--preset--color--cloud, #F3F7FB);
	--cfa-line: var(--wp--preset--color--line, #D8E2EE);
	--cfa-text: var(--wp--preset--color--text, #1C2A40);
	--cfa-muted: var(--wp--preset--color--muted, #55657B);
	--cfa-gutter: clamp(1rem, 2.2vw, 2.25rem);
	--cfa-max: 1672px;
	--cfa-radius: 8px;
	--cfa-calendar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 9.5h17M8 3v4M16 3v4M7.5 13h2M11 13h2M14.5 13h2M7.5 16.5h2M11 16.5h2'/%3E%3C/svg%3E");
}

body { overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.wp-site-blocks { padding-top: 0; padding-bottom: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.cfa-main > * { margin-block-start: 0; }
img { max-width: 100%; height: auto; }
/* Focus ring in two tones, a navy ring inside a gold one, so it shows on white and on navy. */
:where(a, button, summary):focus-visible { outline: 2px solid var(--cfa-gold); outline-offset: 2px; box-shadow: 0 0 0 2px var(--cfa-navy-deep); }
.cfa-icon { flex: none; display: block; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
/* Headings and links outside Elementor pages (Elementor styles its own, so these live here and
   not in theme.json). Zero-specificity wrappers: any class in this file or a block wins. */
body:where(:not(.elementor-page)) :where(h1, h2, h3, h4, h5, h6) { color: var(--cfa-ink); font-family: var(--cfa-font-display); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
body:where(:not(.elementor-page)) :where(h1) { font-size: var(--wp--preset--font-size--cfa-xl, 2.5rem); letter-spacing: -.02em; }
body:where(:not(.elementor-page)) :where(h2) { font-size: var(--wp--preset--font-size--cfa-lg, 1.75rem); }
body:where(:not(.elementor-page)) :where(h3) { font-size: var(--wp--preset--font-size--cfa-md, 1.25rem); }
body:where(:not(.elementor-page)) :where(h4) { font-size: var(--wp--preset--font-size--cfa-base, 1rem); }
body:where(:not(.elementor-page)) :where(a:not(.wp-element-button)) { color: var(--cfa-blue); }
body:where(:not(.elementor-page)) :where(a:not(.wp-element-button):hover) { color: var(--cfa-navy); }

/* ------------------------------------------------------------------ header */
/* HSRC logo | AYGS mark with the acronym and the two-line name, the menu, the gold Register
   button. One row from 1280px; two rows (menu below) from 783px; below that the menu is the
   core overlay behind the menu button. Below 400px the name hides and the mark and "AYGS" stay. */
.cfa-header { position: relative; z-index: 20; background: #fff; box-shadow: 0 1px 0 rgba(3, 52, 104, .08), 0 8px 20px -16px rgba(3, 52, 104, .35); }
.cfa-header__inner { box-sizing: border-box; max-width: var(--cfa-max); min-height: 88px; margin: 0 auto; padding: 10px var(--cfa-gutter); gap: .25rem 1.5rem; }
.cfa-lockup { display: flex; flex: 0 1 auto; align-items: center; gap: 18px; min-width: 0; color: var(--cfa-navy); text-decoration: none; }
.cfa-lockup .cfa-logo--hsrc { display: block; flex: none; width: 150px; height: auto; }
.cfa-lockup__rule { flex: none; width: 1px; height: 54px; background: #B9C6D8; }
.cfa-lockup__brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cfa-lockup .cfa-logo--mark { display: block; flex: none; width: auto; height: 54px; }
.cfa-lockup__text { display: flex; flex-direction: column; min-width: 0; }
.cfa-lockup__acronym { color: var(--cfa-navy); font-family: var(--cfa-font-display); font-size: 1.75rem; font-weight: 800; line-height: 1; letter-spacing: .01em; }
.cfa-lockup__name { margin-top: .25rem; color: var(--cfa-ink); font-size: .6875rem; font-weight: 500; line-height: 1.3; overflow-wrap: break-word; }
.cfa-lockup:hover .cfa-lockup__acronym { color: var(--cfa-blue); }

.cfa-header__inner > .cfa-nav { flex: 1 1 auto; min-width: 0; gap: 0; }
.cfa-nav .wp-block-navigation__container { flex-wrap: wrap; justify-content: flex-end; gap: 0 1.35rem; }
.cfa-nav .wp-block-navigation-item__content { position: relative; padding: 14px 2px; color: var(--cfa-ink); font-size: .9375rem; font-weight: 500; line-height: 1.25; }
.cfa-nav .wp-block-navigation-item__content:hover { color: var(--cfa-blue); }
.cfa-nav .wp-block-navigation__container > .current-menu-item > .wp-block-navigation-item__content::after,
.cfa-nav .wp-block-navigation__container > .current-menu-ancestor > .wp-block-navigation-item__content::after { content: ""; position: absolute; left: -6px; right: -6px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--cfa-gold); }
.cfa-nav .wp-block-navigation__submenu-icon { width: 11px; height: 11px; margin-left: 4px; color: var(--cfa-ink); }
.cfa-nav .wp-block-navigation__submenu-icon svg { stroke-width: 2.4; }
.cfa-nav .wp-block-navigation__submenu-container { min-width: 230px; padding: .4rem 0; border: 1px solid var(--cfa-line) !important; border-radius: 6px; box-shadow: 0 8px 24px rgba(3, 52, 104, .14); }
.cfa-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .55rem 1rem; white-space: normal; }
.cfa-nav .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content { background: var(--cfa-cloud); }
.cfa-nav .wp-block-navigation__responsive-container-open { color: var(--cfa-ink); }
.cfa-nav .wp-block-navigation__responsive-container-open svg { width: 2rem; height: 2rem; }
.cfa-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem; }
.cfa-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { max-width: 100%; padding: .35rem 0; font-size: 1.1rem; white-space: normal; overflow-wrap: anywhere; }
.cfa-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after { display: none; }
.cfa-nav .wp-block-navigation__responsive-container.is-menu-open .current-menu-item > .wp-block-navigation-item__content { color: var(--cfa-ink); text-decoration: underline 3px var(--cfa-gold); text-underline-offset: 6px; }
.cfa-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { min-width: 0; padding: .25rem 0 0 !important; border: 0 !important; box-shadow: none; }
.cfa-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 1rem; font-weight: 400; }

.cfa-header__buttons { flex: none; margin: 0; }
.cfa-btn-register .wp-block-button__link { padding: .8rem 1.6rem; border-radius: 999px; font-size: .9375rem; font-weight: 600; line-height: 1.2; white-space: nowrap; box-shadow: 0 8px 18px -12px rgba(160, 100, 0, .9); }
.cfa-btn-register .wp-block-button__link:hover { color: var(--cfa-ink); }

/* The overlay menu shown inline (core's own rules for overlayMenu "mobile", at the theme's breakpoint). */
@media (min-width: 783px) {
	.cfa-nav .wp-block-navigation__responsive-container.hidden-by-default:not(.is-menu-open) { display: block; position: relative; z-index: auto; width: 100%; background-color: inherit; }
	.cfa-nav .wp-block-navigation__responsive-container.hidden-by-default:not(.is-menu-open) .wp-block-navigation__responsive-container-close { display: none; }
	.cfa-nav .wp-block-navigation__responsive-container-open.always-shown { display: none; }
	.cfa-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { white-space: nowrap; }
}
/* Tablets and small laptops: the lockup and the button on the first row, the menu below. */
@media (min-width: 783px) and (max-width: 1279.98px) {
	.cfa-header__inner { padding-top: 12px; padding-bottom: 0; }
	.cfa-header__buttons { margin-left: auto; }
	.cfa-header__inner > .cfa-nav { order: 3; flex: 1 1 100%; margin-top: 6px; border-top: 1px solid var(--cfa-mist); }
	.cfa-nav .wp-block-navigation__container { justify-content: flex-start; gap: 0 1.5rem; }
}
/* Phones: one row of lockup, button and menu button. */
@media (max-width: 782px) {
	.cfa-header__inner { flex-wrap: nowrap; min-height: 72px; gap: .75rem; }
	.cfa-header__inner > .cfa-nav { order: 3; flex: none; }
	.cfa-header__buttons { margin-left: auto; }
	.cfa-lockup { gap: 12px; }
	.cfa-lockup .cfa-logo--hsrc { width: 112px; }
	.cfa-lockup__rule { height: 42px; }
	.cfa-lockup__brand { gap: 8px; }
	.cfa-lockup .cfa-logo--mark { height: 42px; }
	.cfa-lockup__acronym { font-size: 1.4rem; }
	.cfa-lockup__name { font-size: .625rem; }
	.cfa-btn-register .wp-block-button__link { padding: .65rem 1.1rem; font-size: .875rem; }
}
@media (max-width: 600px) {
	.cfa-header__inner { gap: .5rem; padding-left: max(12px, var(--cfa-gutter)); padding-right: max(12px, var(--cfa-gutter)); }
	.cfa-lockup { gap: 8px; }
	.cfa-lockup .cfa-logo--hsrc { width: 84px; }
	.cfa-lockup__rule { height: 34px; }
	.cfa-lockup__brand { gap: 6px; }
	.cfa-lockup .cfa-logo--mark { height: 34px; }
	.cfa-lockup__acronym { font-size: 1.15rem; }
	.cfa-lockup__name { margin-top: .15rem; font-size: .5625rem; line-height: 1.25; }
	.cfa-btn-register .wp-block-button__link { padding: .55rem .8rem; font-size: .8125rem; }
	.cfa-btn-register .wp-block-button__link::after { display: none; }
	.cfa-nav .wp-block-navigation__responsive-container-open svg { width: 1.75rem; height: 1.75rem; }
}
@media (max-width: 399.98px) {
	.cfa-lockup__name { display: none; }
}

/* ------------------------------------------------------------- buttons */
.cfa-btn { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; box-sizing: border-box; padding: .7rem 1.5rem; border-radius: 6px; font-size: .9375rem; font-weight: 600; line-height: 1.3; text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s; }
.cfa-btn .cfa-btn__arrow { width: 20px; height: 20px; stroke-width: 2.2; }
.cfa-btn--gold { background: var(--cfa-gold); color: var(--cfa-ink); }
.cfa-btn--gold:hover { background: var(--cfa-gold-dark); color: var(--cfa-ink); }
.cfa-btn--outline { padding: .6rem 1.25rem; border: 2px solid var(--cfa-gold); background: #fff; color: var(--cfa-ink); }
.cfa-btn--outline:hover { background: var(--cfa-gold); color: var(--cfa-ink); }
.cfa-btn--navy { padding: .95rem 2rem; border-radius: 999px; background: var(--cfa-navy); color: #fff; font-size: 1rem; }
.cfa-btn--navy:hover { background: var(--cfa-blue); color: #fff; }
.wp-block-button .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; }
.wp-block-button.is-style-cfa-gold .wp-block-button__link { background: var(--cfa-gold); color: var(--cfa-ink); }
.wp-block-button.is-style-cfa-gold .wp-block-button__link:hover { background: var(--cfa-gold-dark); }
.wp-block-button.is-style-cfa-outline .wp-block-button__link { border: 2px solid var(--cfa-gold); background: #fff; color: var(--cfa-ink); }
.wp-block-button.is-style-cfa-navy .wp-block-button__link { border-radius: 999px; background: var(--cfa-navy); color: #fff; }
.wp-block-button.is-style-cfa-gold .wp-block-button__link::after,
.wp-block-button.is-style-cfa-outline .wp-block-button__link::after,
.wp-block-button.is-style-cfa-navy .wp-block-button__link::after { content: "→"; margin-left: .6em; font-weight: 700; }

/* ------------------------------------------------------------- shared bits */
.cfa-eyebrow { display: flex; align-items: center; gap: .75rem; margin: 0; color: var(--cfa-gold); font-family: var(--cfa-font-display); font-size: 1rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cfa-eyebrow::before { content: ""; flex: none; width: 58px; height: 3px; border-radius: 2px; background: var(--cfa-gold); }
.cfa-rule { display: block; width: 80px; height: 3px; border-radius: 2px; background: var(--cfa-gold); }
.cfa-section-title { display: flex; align-items: center; gap: .75rem; margin: 0; color: var(--cfa-ink); font-family: var(--cfa-font-display); font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
.cfa-section-title::before { content: ""; flex: none; width: 46px; height: 3px; border-radius: 2px; background: var(--cfa-gold); }
.cfa-btn--ghost { padding: .6rem 1.4rem; border: 2px solid rgba(255, 255, 255, .9); background: transparent; color: #fff; }
.cfa-btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.cfa-btn .cfa-btn__arrow { transition: transform .15s; }
.cfa-btn:hover .cfa-btn__arrow { transform: translateX(3px); }
.cfa-btn--line { padding: .6rem 1.4rem; border: 1.5px solid var(--cfa-navy); background: transparent; color: var(--cfa-navy); }
.cfa-btn--line:hover { background: var(--cfa-navy); color: #fff; }

/* The home page follows the design template, top to bottom: the hero, the countdown strip,
   about, the conference-theme band, the research themes, the keynote speakers, and the call to
   action with the partners. Every section sits on the same 1600px grid as the inner pages. */
.cfa-main--front .cfa-btn { min-height: 46px; padding-inline: 1.6rem; border-radius: 999px; white-space: normal; text-align: center; }
.cfa-home-title { margin: 0 0 clamp(1.5rem, 2.5vw, 2.25rem); color: var(--cfa-navy); font-family: var(--cfa-font-display); font-size: clamp(1.6rem, 2.2vw, 2.1rem); font-weight: 800; line-height: 1.2; letter-spacing: -.015em; text-align: center; text-wrap: balance; overflow-wrap: break-word; }

/* -------------------------------------------------------------------- hero */
/* The text on navy; the photo fills the right 62% and fades in from the navy (a mask, so it
   blends into the gradient); a blue, gold and deep-navy swoosh at the right edge. */
.cfa-hero { position: relative; overflow: hidden; background: linear-gradient(100deg, #012453 0%, var(--cfa-navy) 55%, #0A4384 100%); color: #fff; }
.cfa-hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; }
.cfa-hero__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .5) 20%, #000 46%); mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .5) 20%, #000 46%); }
.cfa-hero__swoosh { position: absolute; right: 0; bottom: 0; width: clamp(160px, 48%, 600px); height: 100%; }
.cfa-hero__inner { position: relative; z-index: 1; display: flex; align-items: center; box-sizing: border-box; max-width: 1600px; min-height: clamp(460px, 38vw, 620px); margin: 0 auto; padding: clamp(2.5rem, 4vw, 4rem) var(--cfa-gutter); }
.cfa-hero__text { min-width: 0; max-width: min(46rem, 52%); }
.cfa-hero__eyebrow { display: inline-block; margin: 0 0 1.1rem; padding: .4rem .8rem; border-radius: 2px; background: var(--cfa-gold); color: var(--cfa-ink); font-family: var(--cfa-font-display); font-size: clamp(.75rem, .95vw, .9375rem); font-weight: 800; line-height: 1.3; letter-spacing: .02em; text-transform: uppercase; overflow-wrap: break-word; }
.cfa-hero__title { margin: 0; color: #fff; font-family: var(--cfa-font-display); font-size: clamp(2.2rem, 3.9vw, 3.9rem); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; overflow-wrap: break-word; text-wrap: balance; }
.cfa-hero__accent { color: var(--cfa-gold); }
.cfa-hero__rule { display: block; width: 120px; height: 3px; margin: 1.35rem 0 1.25rem; border-radius: 2px; background: var(--cfa-gold); }
.cfa-hero__strap { max-width: 34em; margin: 0 0 1.5rem; color: #fff; font-family: var(--cfa-font-display); font-size: clamp(1.05rem, 1.45vw, 1.4rem); font-weight: 600; line-height: 1.35; overflow-wrap: break-word; }
.cfa-hero__facts { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 0; margin: 0 0 1.9rem; padding: 0; list-style: none; }
.cfa-hero__facts li { display: flex; align-items: center; gap: .7rem; min-width: 0; color: #fff; font-size: 1rem; font-weight: 500; line-height: 1.4; overflow-wrap: break-word; }
.cfa-hero__facts li + li { margin-left: 1.5rem; padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, .45); }
.cfa-hero__fact-icon { width: 26px; height: 26px; color: var(--cfa-gold); stroke-width: 1.8; }
.cfa-hero__actions { display: flex; flex-wrap: wrap; gap: .9rem 1.25rem; }
.cfa-hero__actions .cfa-btn { min-height: 50px; padding-inline: 1.75rem; font-size: 1rem; }
.cfa-hero__actions .cfa-btn--gold { box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .7); }
.cfa-hero__actions .cfa-btn--ghost { border-width: 1.5px; }
@media (max-width: 1024px) {
	.cfa-hero__media { width: 70%; }
	.cfa-hero__img { -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .35) 30%, #000 62%); mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .35) 30%, #000 62%); }
	.cfa-hero__text { max-width: 62%; }
	.cfa-hero__swoosh { width: 40%; }
}
/* Phones and small tablets: the text on navy, the photo below it, fading in from the top. */
@media (max-width: 760px) {
	.cfa-hero { display: flex; flex-direction: column; }
	.cfa-hero__inner { order: 1; width: 100%; min-height: 0; padding-top: 2.25rem; padding-bottom: 1.5rem; }
	.cfa-hero__text { max-width: 100%; }
	.cfa-hero__media { order: 2; position: relative; width: 100%; height: clamp(200px, 58vw, 340px); margin-top: -1rem; }
	.cfa-hero__img { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 38%); mask-image: linear-gradient(180deg, transparent 0, #000 38%); }
	.cfa-hero__swoosh { width: 34%; }
	.cfa-hero__facts { flex-direction: column; align-items: flex-start; }
	.cfa-hero__facts li + li { margin-left: 0; padding-left: 0; border-left: 0; }
	.cfa-hero__actions .cfa-btn { flex: 1 1 13rem; }
}

/* ----------------------------------------------------------- countdown strip */
/* Clock and title | days, hours, minutes, seconds | the tagline in italics. Without a
   countdown date the strip holds only the tagline, centred. */
.cfa-cd { border-bottom: 1px solid var(--cfa-line); background: var(--cfa-cloud); }
.cfa-cd__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem clamp(1.5rem, 3vw, 3rem); box-sizing: border-box; max-width: 1600px; margin: 0 auto; padding: clamp(1.1rem, 1.8vw, 1.5rem) var(--cfa-gutter); }
.cfa-countdown { display: flex; flex: 1 1 auto; align-items: center; gap: 1rem clamp(1.5rem, 3vw, 3rem); min-width: 0; color: var(--cfa-navy); }
.cfa-countdown__head { display: flex; flex: none; align-items: center; gap: .9rem; min-width: 0; }
.cfa-countdown__icon { width: 34px; height: 34px; color: var(--cfa-navy); stroke-width: 1.7; }
.cfa-countdown__title { margin: 0; color: var(--cfa-navy); font-family: var(--cfa-font-display); font-size: 1.125rem; font-weight: 700; line-height: 1.3; overflow-wrap: break-word; }
.cfa-countdown__title:empty { display: none; }
.cfa-countdown.is-past .cfa-countdown__grid { display: none; }
.cfa-countdown__grid { display: grid; flex: 1 1 auto; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-left: clamp(1.5rem, 3vw, 3rem); border-left: 1px solid #B9C6D8; }
.cfa-countdown__cell { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 0 .75rem; }
.cfa-countdown__cell + .cfa-countdown__cell { border-left: 1px solid #B9C6D8; }
.cfa-countdown__num { color: var(--cfa-navy); font-family: var(--cfa-font-display); font-size: clamp(1.75rem, 2.4vw, 2.25rem); font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; }
.cfa-countdown__label { margin-top: .2rem; color: var(--cfa-ink); font-size: .875rem; font-weight: 500; }
.cfa-cd__tagline { flex: 0 1 22rem; min-width: 0; margin: 0; color: var(--cfa-navy); font-family: var(--cfa-font-display); font-size: clamp(1rem, 1.3vw, 1.2rem); font-style: italic; font-weight: 500; line-height: 1.4; overflow-wrap: break-word; }
.cfa-countdown + .cfa-cd__tagline { padding-left: clamp(1.5rem, 3vw, 3rem); border-left: 1px solid #B9C6D8; }
.cfa-cd__inner--tagline { justify-content: center; }
.cfa-cd__inner--tagline .cfa-cd__tagline { flex: 0 1 auto; text-align: center; }
@media (max-width: 1100px) {
	.cfa-cd__inner, .cfa-countdown { flex-direction: column; }
	.cfa-countdown { width: 100%; max-width: 40rem; }
	.cfa-countdown__grid { width: 100%; padding-left: 0; border-left: 0; }
	.cfa-cd__tagline { flex: none; text-align: center; }
	.cfa-countdown + .cfa-cd__tagline { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
	.cfa-countdown__cell { padding: 0 .25rem; }
	.cfa-countdown__label { font-size: .75rem; }
}

/* -------------------------------------------------------------------- about */
/* The anniversary mark | the text; the photo on the right, fading into white on its left and
   top, over a faint map of Africa. */
.cfa-about { position: relative; overflow: hidden; background: #fff; }
.cfa-about__art { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; pointer-events: none; }
.cfa-about__map { position: absolute; top: 4%; left: 22%; width: auto; height: 82%; fill: #BFCDE0; opacity: .6; }
.cfa-about__img { position: absolute; right: 0; bottom: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 100%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%), linear-gradient(180deg, transparent 0, transparent 22%, #000 62%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 45%), linear-gradient(180deg, transparent 0, transparent 22%, #000 62%); mask-composite: intersect; }
.cfa-about__inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 1.5rem clamp(1.5rem, 3vw, 3rem); box-sizing: border-box; max-width: 1600px; min-height: clamp(300px, 25vw, 400px); margin: 0 auto; padding: clamp(2.5rem, 4vw, 3.5rem) var(--cfa-gutter); }
.cfa-about__text { min-width: 0; max-width: min(36rem, 48%); }
.cfa-about__inner.has-mark .cfa-about__text { padding-left: clamp(1.5rem, 3vw, 3rem); border-left: 1px solid #B9C6D8; }
.cfa-about__title { margin: 0 0 .9rem; color: var(--cfa-navy); font-family: var(--cfa-font-display); font-size: clamp(1.6rem, 2.3vw, 2.25rem); font-weight: 800; line-height: 1.15; letter-spacing: -.015em; overflow-wrap: break-word; }
.cfa-about__lead { margin: 0 0 1.5rem; color: var(--cfa-ink); font-size: clamp(1rem, 1.15vw, 1.125rem); line-height: 1.6; overflow-wrap: break-word; }
.cfa-anniv { display: flex; flex: none; flex-direction: column; align-items: center; margin: 0; color: var(--cfa-navy); font-family: var(--cfa-font-display); line-height: 1; text-align: center; }
.cfa-anniv__num { position: relative; display: block; font-size: clamp(5rem, 8.5vw, 8.25rem); font-weight: 900; line-height: .85; letter-spacing: -.06em; }
.cfa-anniv__swoosh { position: absolute; left: -14%; bottom: -14%; width: 132%; height: 52%; }
.cfa-anniv__word { position: relative; margin-top: .25em; font-size: clamp(1.35rem, 2vw, 1.9rem); font-weight: 800; letter-spacing: .02em; }
.cfa-anniv__acronym { font-size: clamp(1.55rem, 2.3vw, 2.2rem); font-weight: 900; letter-spacing: .01em; }
@media (max-width: 900px) {
	.cfa-about { display: flex; flex-direction: column; }
	.cfa-about__inner { order: 1; width: 100%; min-height: 0; padding-bottom: 1rem; }
	.cfa-about__text { max-width: none; }
	.cfa-about__art { order: 2; position: relative; width: 100%; height: clamp(170px, 42vw, 300px); }
	.cfa-about__map { left: 30%; height: 90%; }
	.cfa-about__img { -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent 15%, #000 60%); mask-image: linear-gradient(180deg, transparent 0, transparent 15%, #000 60%); }
}
@media (max-width: 600px) {
	.cfa-about__inner { flex-direction: column; align-items: flex-start; }
	.cfa-about__inner.has-mark .cfa-about__text { padding-left: 0; padding-top: 1.5rem; border-left: 0; border-top: 1px solid #B9C6D8; }
}

/* ----------------------------------------------------- conference theme band */
/* A rounded navy card, dotted on the left: the label and the theme | the text and the button. */
.cfa-tband { background: #fff; }
.cfa-tband__inner { box-sizing: border-box; max-width: 1600px; margin: 0 auto; padding: 0 var(--cfa-gutter); }
.cfa-tband__card { position: relative; display: flex; align-items: center; gap: 1.25rem clamp(1.5rem, 3vw, 3rem); overflow: hidden; padding: clamp(1.5rem, 2.6vw, 2.25rem) clamp(1.5rem, 4vw, 4rem); border-radius: 12px; background: linear-gradient(90deg, var(--cfa-navy-deep) 0%, var(--cfa-navy) 55%, #0A4A8C 100%); color: #fff; box-shadow: 0 20px 40px -28px rgba(3, 52, 104, .7); }
.cfa-tband__card::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 240px; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .3) 1.1px, transparent 1.6px); background-size: 10px 10px; -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 100%); mask-image: linear-gradient(90deg, #000 0%, transparent 100%); }
.cfa-tband__head { position: relative; flex: 1 1 0; min-width: 0; }
.cfa-tband__label { margin: 0 0 .5rem; color: #fff; font-family: var(--cfa-font-display); font-size: clamp(1rem, 1.3vw, 1.25rem); font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.cfa-tband__title { margin: 0; color: #fff; font-family: var(--cfa-font-display); font-size: clamp(1.35rem, 2.1vw, 2rem); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; overflow-wrap: break-word; text-wrap: balance; }
.cfa-tband__side { position: relative; display: flex; flex: 0 1 30rem; align-items: center; gap: 1.25rem 2rem; min-width: 0; padding-left: clamp(1.5rem, 3vw, 3rem); border-left: 1px solid rgba(255, 255, 255, .35); }
.cfa-tband__text { flex: 1 1 12rem; min-width: 0; margin: 0; color: rgba(255, 255, 255, .92); font-size: .9375rem; line-height: 1.55; overflow-wrap: break-word; }
.cfa-tband__side .cfa-btn { flex: none; }
@media (max-width: 1100px) {
	.cfa-tband__card { flex-direction: column; align-items: flex-start; }
	.cfa-tband__head { flex: none; width: 100%; }
	.cfa-tband__side { flex: none; width: 100%; box-sizing: border-box; padding: 1.25rem 0 0; border-top: 1px solid rgba(255, 255, 255, .35); border-left: 0; }
}
@media (max-width: 600px) {
	.cfa-tband__side { flex-direction: column; align-items: flex-start; }
	.cfa-tband__text { flex: none; }
}

/* ---------------------------------------------------------- research themes */
/* Six across, split by thin rules; each a round icon in blue, navy or gold over the name. */
.cfa-rthemes { background: #fff; }
.cfa-rthemes__inner { box-sizing: border-box; max-width: 1600px; margin: 0 auto; padding: clamp(2.5rem, 4vw, 3.5rem) var(--cfa-gutter) clamp(1.5rem, 3vw, 2.5rem); }
.cfa-rthemes__list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2rem 0; margin: 0; padding: 0; list-style: none; }
.cfa-rtheme { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1rem; min-width: 0; padding: .25rem 1rem; border-left: 1px solid var(--cfa-line); text-align: center; }
.cfa-rtheme:nth-child(6n+1) { border-left: 0; }
.cfa-rtheme__disc { display: grid; flex: none; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--cfa-blue); color: #fff; transition: transform .2s; }
.cfa-rtheme:nth-child(3n+2) .cfa-rtheme__disc { background: var(--cfa-navy); }
.cfa-rtheme:nth-child(3n) .cfa-rtheme__disc { background: var(--cfa-gold); }
.cfa-rtheme__icon { width: 38px; height: 38px; stroke-width: 1.5; }
.cfa-rtheme__label { max-width: 13em; color: var(--cfa-ink); font-size: 1rem; font-weight: 500; line-height: 1.35; text-decoration: none; text-wrap: balance; overflow-wrap: break-word; }
a.cfa-rtheme__label { color: var(--cfa-ink); }
a.cfa-rtheme__label::after { content: ""; position: absolute; inset: 0; }
a.cfa-rtheme__label:focus-visible { outline: 0; box-shadow: none; }
.cfa-rtheme:has(a:focus-visible) { outline: 2px solid var(--cfa-navy); outline-offset: 3px; }
.cfa-rtheme:hover a.cfa-rtheme__label { color: var(--cfa-blue); }
.cfa-rtheme:has(a):hover .cfa-rtheme__disc { transform: translateY(-3px); }
@media (max-width: 1100px) {
	.cfa-rthemes__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cfa-rtheme:nth-child(6n+1) { border-left: 1px solid var(--cfa-line); }
	.cfa-rtheme:nth-child(3n+1) { border-left: 0; }
}
@media (max-width: 600px) {
	.cfa-rthemes__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 0; }
	.cfa-rtheme, .cfa-rtheme:nth-child(6n+1), .cfa-rtheme:nth-child(3n+1) { padding-inline: .6rem; border-left: 1px solid var(--cfa-line); }
	.cfa-rtheme:nth-child(2n+1) { border-left: 0; }
	.cfa-rtheme__disc { width: 64px; height: 64px; }
	.cfa-rtheme__icon { width: 32px; height: 32px; }
	.cfa-rtheme__label { font-size: .9375rem; }
}

/* ---------------------------------------------------------- keynote speakers */
/* The text and button | four cards (photo, else the initials on navy; name; role). */
.cfa-speakers { background: #fff; }
.cfa-speakers__inner { box-sizing: border-box; max-width: 1600px; margin: 0 auto; padding: clamp(1.5rem, 3vw, 2.5rem) var(--cfa-gutter) clamp(2.5rem, 4vw, 3.5rem); }
.cfa-speakers__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3.6fr); align-items: center; gap: 2rem clamp(1.5rem, 3vw, 3rem); }
.cfa-speakers__intro { min-width: 0; }
.cfa-speakers__text { margin: 0 0 1.5rem; color: var(--cfa-ink); font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.6; overflow-wrap: break-word; }
.cfa-speakers__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.cfa-speakers__body > .cfa-speakers__list:only-child { grid-column: 1 / -1; }
.cfa-speaker { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 8px; background: var(--cfa-cloud); box-shadow: 0 1px 2px rgba(3, 52, 104, .06); transition: box-shadow .2s, transform .2s; }
.cfa-speaker:hover { box-shadow: 0 20px 36px -24px rgba(3, 52, 104, .45); transform: translateY(-3px); }
.cfa-speaker:has(a:focus-visible) { outline: 2px solid var(--cfa-navy); outline-offset: 3px; }
.cfa-speaker__photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cfa-mist); }
.cfa-speaker__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.cfa-speaker__photo--initials { display: grid; place-items: center; background: linear-gradient(135deg, var(--cfa-navy-deep) 0%, var(--cfa-navy) 50%, var(--cfa-blue) 100%); }
.cfa-speaker__initials { color: #fff; font-family: var(--cfa-font-display); font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 800; letter-spacing: .04em; }
.cfa-speaker__body { padding: 1rem 1.1rem 1.15rem; }
.cfa-speaker__name { margin: 0 0 .35rem; font-family: var(--cfa-font-display); font-size: 1rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; overflow-wrap: break-word; }
.cfa-speaker__name a { color: var(--cfa-navy); text-decoration: none; }
.cfa-speaker__name a::after { content: ""; position: absolute; inset: 0; }
.cfa-speaker__name a:focus-visible { outline: 0; box-shadow: none; }
.cfa-speaker:hover .cfa-speaker__name a { color: var(--cfa-blue); }
.cfa-speaker__role { margin: 0; color: var(--cfa-ink); font-size: .875rem; line-height: 1.45; overflow-wrap: break-word; }
@media (max-width: 1100px) {
	.cfa-speakers__body { grid-template-columns: minmax(0, 1fr); }
	.cfa-speakers__intro { text-align: center; }
}
@media (max-width: 900px) {
	.cfa-speakers__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
	.cfa-speakers__list { gap: .75rem; }
	.cfa-speaker__body { padding: .75rem .8rem .9rem; }
	.cfa-speaker__name { font-size: .9375rem; }
	.cfa-speaker__role { font-size: .8125rem; }
}
@media (max-width: 340px) {
	.cfa-speakers__list { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------ call to action and partners */
/* A light band: people icon, title and text | the two buttons | the partner logos. */
.cfa-cta { border-top: 1px solid var(--cfa-line); background: var(--cfa-mist); }
.cfa-cta__inner { display: flex; align-items: center; gap: 1.25rem clamp(1.5rem, 3vw, 3rem); box-sizing: border-box; max-width: 1600px; margin: 0 auto; padding: clamp(1.5rem, 2.5vw, 2rem) var(--cfa-gutter); }
.cfa-cta__inner > * + * { padding-left: clamp(1.5rem, 3vw, 3rem); border-left: 1px solid #B9C6D8; }
.cfa-cta__lead { display: flex; flex: 1 1 auto; align-items: center; gap: 1.25rem; min-width: 0; }
.cfa-cta__icon { width: 60px; height: 60px; color: var(--cfa-blue); stroke-width: 1.4; }
.cfa-cta__lead > div { min-width: 0; }
.cfa-cta__title { margin: 0 0 .25rem; color: var(--cfa-navy); font-family: var(--cfa-font-display); font-size: clamp(1.25rem, 1.7vw, 1.6rem); font-weight: 800; line-height: 1.2; overflow-wrap: break-word; }
.cfa-cta__text { margin: 0; color: var(--cfa-ink); font-size: 1rem; line-height: 1.5; overflow-wrap: break-word; }
.cfa-cta__actions { display: flex; flex: none; flex-wrap: wrap; gap: .9rem 1rem; }
.cfa-cta__partners { flex: 0 1 auto; min-width: 0; }
.cfa-cta__partners-title { margin: 0 0 .6rem; color: var(--cfa-navy); font-family: var(--cfa-font-display); font-size: 1rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.cfa-partners { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin: 0; padding: 0; list-style: none; }
.cfa-partner { min-width: 0; }
.cfa-partner a { display: block; color: var(--cfa-navy); text-decoration: none; }
.cfa-partner img { display: block; width: auto; max-width: 180px; height: 56px; object-fit: contain; }
.cfa-partner__name { color: var(--cfa-navy); font-family: var(--cfa-font-display); font-size: 1rem; font-weight: 700; line-height: 1.3; overflow-wrap: break-word; }
.cfa-partner a:hover .cfa-partner__name { color: var(--cfa-blue); }
@media (max-width: 1100px) {
	.cfa-cta__inner { flex-direction: column; align-items: stretch; }
	.cfa-cta__inner > * + * { padding: 1.25rem 0 0; border-top: 1px solid #B9C6D8; border-left: 0; }
}
@media (max-width: 600px) {
	.cfa-cta__icon { width: 48px; height: 48px; }
	.cfa-cta__actions .cfa-btn { flex: 1 1 13rem; }
}

/* ------------------------------------------------------------ theme cards */
/* The numbered cards of the [cfa_themes] shortcode on inner pages. */
.cfa-themes__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.cfa-theme-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 1.1rem 1.15rem 1rem; border: 1px solid var(--cfa-line); border-radius: 8px; background: linear-gradient(180deg, #fff 0%, var(--cfa-cloud) 100%); box-shadow: 0 1px 2px rgba(3, 52, 104, .05); transition: box-shadow .2s, transform .2s, border-color .2s; }
.cfa-theme-card:hover { border-color: #C5D5E8; box-shadow: 0 20px 36px -24px rgba(3, 52, 104, .45); transform: translateY(-3px); }
.cfa-theme-card:has(a:focus-visible) { outline: 2px solid var(--cfa-navy); outline-offset: 3px; }
.cfa-theme-card__top { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1rem; }
.cfa-theme-card__num { display: inline-grid; place-items: center; min-width: 2.1rem; height: 2.1rem; padding: 0 .35rem; box-sizing: border-box; border-radius: 4px; background: var(--cfa-gold); color: var(--cfa-ink); font-family: var(--cfa-font-display); font-size: 1rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.cfa-theme-card__icon { width: 46px; height: 46px; color: var(--cfa-navy); stroke-width: 1.4; }
.cfa-theme-card__title { margin: 0 0 .55rem; font-family: var(--cfa-font-display); font-size: 1.0625rem; font-weight: 700; line-height: 1.3; letter-spacing: -.005em; }
.cfa-theme-card__title a { color: var(--cfa-ink); text-decoration: none; }
.cfa-theme-card__title a:focus-visible { outline: 0; box-shadow: none; }
.cfa-theme-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.cfa-theme-card:hover .cfa-theme-card__title a { color: var(--cfa-blue); }
.cfa-theme-card__text { margin: 0 0 1rem; color: var(--cfa-text); font-size: .9375rem; line-height: 1.5; }
.cfa-theme-card__more { display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; color: var(--cfa-ink); font-size: .875rem; font-weight: 700; }
.cfa-theme-card__more .cfa-icon { width: 16px; height: 16px; stroke-width: 2.2; transition: transform .15s; }
.cfa-theme-card:hover .cfa-theme-card__more .cfa-icon { transform: translateX(3px); }

/* ------------------------------------------------------------------ footer */
/* Navy: the white HSRC logo, a rule, the menu row with thin separators and the icons on the
   right; under a thin blue rule the copyright and the tagline; a blue and gold swoosh in the
   bottom right corner. */
.cfa-footer { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--cfa-navy) 0%, var(--cfa-navy-deep) 100%); color: #fff; font-size: .875rem; line-height: 1.6; overflow-wrap: anywhere; }
.cfa-footer__inner { position: relative; z-index: 1; box-sizing: border-box; max-width: 1600px; margin: 0 auto; padding: 2.25rem var(--cfa-gutter) 0; }
.cfa-footer__top { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.25rem; padding-bottom: 1.75rem; }
.cfa-footer__logo { display: flex; flex: none; align-items: center; }
.cfa-footer__logo .cfa-logo--hsrc { display: block; width: auto; height: 56px; }
.cfa-footer__rule { flex: none; width: 1px; height: 64px; background: rgba(255, 255, 255, .55); }
.cfa-footer__nav { flex: 1 1 22rem; min-width: 0; }
.cfa-footer__menu { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 0; margin: 0; padding: 0; list-style: none; }
.cfa-footer__menu li { display: flex; align-items: center; min-width: 0; }
.cfa-footer__menu li + li::before { content: ""; flex: none; width: 1px; height: .85em; margin: 0 .9rem; background: rgba(255, 255, 255, .45); }
.cfa-footer a { color: #fff; text-decoration: none; transition: color .15s; }
.cfa-footer__menu a { font-weight: 500; }
.cfa-footer__menu a:hover, .cfa-footer__menu a:focus-visible, .cfa-footer__menu a[aria-current] { color: var(--cfa-gold); }
.cfa-social { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; margin: 0 0 0 auto; padding: 0; list-style: none; }
.cfa-footer .cfa-social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 6px; color: #fff; }
.cfa-footer .cfa-social a:hover, .cfa-footer .cfa-social a:focus-visible { color: var(--cfa-gold); }
.cfa-social .cfa-icon--social { width: 26px; height: 26px; }
.cfa-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 2rem; padding: 1.1rem clamp(0px, 9vw, 140px) 1.5rem 0; border-top: 1px solid var(--cfa-blue); }
.cfa-footer__copy, .cfa-footer__tagline { margin: 0; color: #fff; font-size: .8125rem; }
.cfa-footer__tagline { font-style: italic; }
.cfa-footer__swoosh { position: absolute; right: 0; bottom: 0; z-index: 0; display: block; width: clamp(110px, 16vw, 240px); height: auto; pointer-events: none; }
@media (max-width: 782px) {
	.cfa-footer__inner { padding-top: 2rem; }
	.cfa-footer__rule { display: none; }
	.cfa-footer__nav { flex-basis: 100%; order: 2; }
	.cfa-social { order: 3; margin-left: -6px; }
	.cfa-footer__menu li + li::before { margin: 0 .7rem; }
	.cfa-footer__bottom { flex-direction: column; align-items: flex-start; padding-right: 72px; }
	.cfa-footer__swoosh { width: 96px; opacity: .85; }
}
/* Phones: the menu wraps, so no separators (one would start a wrapped row); a plain gap instead. */
@media (max-width: 600px) {
	.cfa-footer__menu { gap: .35rem 1.4rem; }
	.cfa-footer__menu li + li::before { content: none; }
}
@media (pointer: coarse) {
	.cfa-footer__menu a { display: inline-block; padding-block: 7px; }
}

/* ------------------------------------------------------------ inner pages */
/* Every inner page: a navy title banner, then the page on a light background, filling
   the width up to 1600px: the content in a white card and, beside it, the side column
   (patterns/page-aside.php). The abstract form brings its own cards (new abstract and
   edit on the private page), so there the card is dropped. */
.cfa-main--page { background: var(--cfa-cloud); }
/* The title banner (inc/banner.php adds the breadcrumb, the excerpt, the date and venue pills
   and the photo): navy with faint rings on the left, a blue glow top right, and the photo
   (--cfa-banner-img) fading in from the right behind the blue and gold slashes. */
.cfa-banner { position: relative; isolation: isolate; overflow: hidden; container-type: inline-size; margin: 0; padding: clamp(2rem, 4vw, 3.25rem) var(--cfa-gutter); background: radial-gradient(circle at 0 100%, transparent 0 9rem, rgba(255, 255, 255, .06) 9rem calc(9rem + 1px), transparent calc(9rem + 2px) 15rem, rgba(255, 255, 255, .045) 15rem calc(15rem + 1px), transparent calc(15rem + 2px) 21rem, rgba(255, 255, 255, .03) 21rem calc(21rem + 1px), transparent calc(21rem + 2px)), radial-gradient(90% 130% at 100% 0, rgba(10, 92, 163, .55), transparent 60%), linear-gradient(100deg, var(--cfa-navy-deep) 0%, var(--cfa-navy) 55%, #0B4A8C 100%); color: #fff; }
/* Compact: about 190px tall at 1440 with a one-line lead. */
.cfa-banner--rich { padding-top: clamp(1.25rem, 2.2vw, 1.75rem); padding-bottom: clamp(1.5rem, 2.6vw, 2.25rem); }
.cfa-banner--rich::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; z-index: 0; width: 54%; pointer-events: none; background: linear-gradient(90deg, rgba(1, 43, 92, .7), rgba(1, 43, 92, .12) 70%), var(--cfa-banner-img) 50% var(--cfa-banner-focus, 30%) / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent, #000 48%); mask-image: linear-gradient(90deg, transparent, #000 48%); }
.cfa-banner::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 200px; pointer-events: none; background: linear-gradient(118deg, transparent 0 50%, var(--cfa-blue) 50% 60%, transparent 60% 64%, var(--cfa-gold) 64% 74%, transparent 74%); opacity: .9; }
.cfa-banner > * { position: relative; z-index: 1; }
/* The text stays clear of the slashes (the last 200px of the banner). On phones the slash box is
   90px and the text may run 30px into it, where the stripes are faint and have not started. */
.cfa-banner__text { max-width: min(46rem, 100% + var(--cfa-gutter) - 200px); min-width: 0; }
.cfa-banner h1, .cfa-banner .wp-block-post-title, .cfa-banner .wp-block-query-title { margin: 0; padding-right: 120px; color: #fff; font-family: var(--cfa-font-display); font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 700; line-height: 1.12; letter-spacing: -.015em; overflow-wrap: anywhere; }
.cfa-banner__inner :is(h1, .wp-block-post-title, .wp-block-query-title) { padding-right: 0; font-size: clamp(1.75rem, 2.8vw, 2.625rem); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; text-shadow: 0 2px 18px rgba(1, 30, 66, .35); }
.cfa-banner h1::before, .cfa-banner .wp-block-post-title::before, .cfa-banner .wp-block-query-title::before { content: ""; display: block; width: 56px; height: 4px; margin-bottom: .9rem; border-radius: 2px; background: var(--cfa-gold); }
/* The breadcrumb already sits above the title, so the rich banner drops the accent bar. */
.cfa-banner__inner :is(h1, .wp-block-post-title, .wp-block-query-title)::before { content: none; }
.cfa-banner .wp-block-post-date { margin-top: .5rem; color: rgba(255, 255, 255, .85); }
.cfa-banner__inner .wp-block-post-date { margin-top: .5rem; font-size: .9375rem; font-weight: 600; }
/* Breadcrumb: a glass pill above the title. */
.cfa-crumbs { margin: 0 0 .7rem; }
.cfa-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .6rem; max-width: 100%; margin: 0; padding: 0; list-style: none; font-size: .8125rem; font-weight: 500; line-height: 1.4; letter-spacing: .01em; }
.cfa-crumbs li { display: inline-flex; align-items: center; gap: .6rem; min-width: 0; overflow-wrap: anywhere; }
.cfa-crumbs li + li::before { content: ""; flex: none; width: 5px; height: 5px; border-top: 1.5px solid var(--cfa-gold); border-right: 1.5px solid var(--cfa-gold); transform: rotate(45deg); }
.cfa-crumbs a { color: rgba(255, 255, 255, .8); text-decoration: none; transition: color .15s; }
.cfa-crumbs a:hover { color: var(--cfa-gold); text-decoration: underline; text-underline-offset: 3px; }
.cfa-crumbs a:focus-visible { outline: 2px solid var(--cfa-gold); outline-offset: 2px; border-radius: 3px; }
.cfa-crumbs [aria-current] { color: #fff; font-weight: 600; }
/* The page's own excerpt, then the date and venue pills. */
.cfa-banner__lead { margin: .55rem 0 0; color: rgba(255, 255, 255, .88); font-size: clamp(1rem, 1.1vw, 1.125rem); line-height: 1.5; }
.cfa-banner__facts { display: flex; flex-wrap: wrap; gap: .5rem; margin: .9rem 0 0; padding: 0; list-style: none; }
.cfa-banner__facts li { display: inline-flex; align-items: center; gap: .5rem; min-width: 0; padding: .35rem .85rem .35rem .65rem; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(1, 30, 66, .4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: .8125rem; font-weight: 600; line-height: 1.3; }
.cfa-banner__facts li > span { min-width: 0; overflow-wrap: anywhere; }
.cfa-banner__fact-icon { flex: none; width: 16px; height: 16px; color: var(--cfa-gold); stroke-width: 1.9; }
/* Wide screens: the facts stand at the bottom right of the text, clear of the slashes
   (the slashes take the last 200px of the screen; the inner box is at most 1600px, centred). */
@media (min-width: 1280px) {
	.cfa-banner__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; }
	.cfa-banner__text { flex: 0 1 46rem; }
	.cfa-banner__facts { flex: none; flex-direction: column; align-items: flex-end; max-width: 24rem; margin: 0 max(0px, calc(200px - var(--cfa-gutter) - max(0px, (100vw - 2 * var(--cfa-gutter) - 1600px) / 2))) 0 0; margin-right: max(0px, calc(200px - var(--cfa-gutter) - max(0px, (100cqw - 1600px) / 2))); }
	.cfa-banner__facts li { padding: .4rem .95rem .4rem .75rem; font-size: .875rem; }
}

.cfa-page { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: clamp(1.5rem, 2.5vw, 2.5rem); max-width: 1600px; margin: 0 auto; padding: clamp(1.5rem, 3vw, 2.75rem) var(--cfa-gutter) clamp(2.5rem, 5vw, 4.5rem); }
.cfa-main > .cfa-page, .cfa-page > * { margin-block-start: 0; }
.cfa-content { padding-top: var(--wp--preset--spacing--cfa-xl); padding-bottom: var(--wp--preset--spacing--cfa-xl); }
.cfa-content--wide { padding-top: 0; }
.cfa-page__body { box-sizing: border-box; min-width: 0; margin: 0; padding: clamp(1.5rem, 3.2vw, 3rem); border: 1px solid var(--cfa-line); border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(3, 52, 104, .04), 0 12px 32px -18px rgba(3, 52, 104, .22); }
.cfa-page__body:has(.cfa-form__group) { padding: 0; border: 0; background: transparent; box-shadow: none; }
.cfa-main--page > .cfa-page__body--solo { width: calc(100% - 2 * var(--cfa-gutter)); max-width: 1600px; margin: clamp(1.5rem, 3vw, 2.75rem) auto clamp(2.5rem, 5vw, 4.5rem); }

/* Text inside the page card. */
.cfa-page__body > :first-child { margin-top: 0; }
.cfa-page__body > :last-child { margin-bottom: 0; }
/* Editor content only: the plugin's own markup (any cfa-* block inside the card) keeps its sizes. */
.cfa-page__body :where(p, li):where(:not([class^="cfa-"], [class*=" cfa-"], .cfa-page__body [class^="cfa-"] *, .cfa-page__body [class*=" cfa-"] *)) { font-size: 1.0625rem; line-height: 1.7; }
.cfa-page__body a:where(:not(.cfa-btn, .wp-block-button__link)) { color: var(--cfa-blue); text-underline-offset: 3px; }
.cfa-page__body .cfa-section-title, .cfa-page__body :where(h2):where(:not([class^="cfa-"], [class*=" cfa-"], .cfa-page__body [class^="cfa-"] *, .cfa-page__body [class*=" cfa-"] *)) { margin-top: 2.5rem; margin-bottom: 1rem; color: var(--cfa-ink); font-size: clamp(1.3rem, 1.7vw, 1.6rem); font-weight: 700; line-height: 1.2; }
.cfa-page__body .cfa-section-title::before { width: 36px; }
.cfa-page__body > .cfa-section-title:first-child { margin-top: 0; }
.cfa-page__body :where(h3):where(:not([class^="cfa-"], [class*=" cfa-"], .cfa-page__body [class^="cfa-"] *, .cfa-page__body [class*=" cfa-"] *)) { margin-top: 2rem; color: var(--cfa-ink); font-size: 1.2rem; }
.cfa-page__body ul.wp-block-list { padding: 0; list-style: none; }
.cfa-page__body ul.wp-block-list > li { position: relative; padding: .55rem 0 .55rem 2rem; border-bottom: 1px solid var(--cfa-mist); }
.cfa-page__body ul.wp-block-list > li:last-child { border-bottom: 0; }
.cfa-page__body ul.wp-block-list > li::before { content: ""; position: absolute; left: .35rem; top: 1.25rem; width: 9px; height: 9px; border-radius: 50%; background: var(--cfa-gold); box-shadow: 0 0 0 4px rgba(243, 178, 29, .2); }
.cfa-page__body ol.wp-block-list { padding-left: 1.4rem; }
.cfa-page__body .wp-block-buttons { margin-top: 2rem; }
.cfa-page__body .wp-block-separator { margin: 2.5rem 0 1.5rem; border: 0; border-top: 1px solid var(--cfa-line); }
.is-style-cfa-panel { box-sizing: border-box; padding: 1.25rem 1.5rem; border: 1px solid var(--cfa-line); border-left: 4px solid var(--cfa-gold); border-radius: 12px; background: var(--cfa-cloud); }
.is-style-cfa-panel > :first-child { margin-top: 0; }
.is-style-cfa-panel > :last-child { margin-bottom: 0; }
.cfa-page__body .is-style-cfa-panel { margin-top: 2rem; }
.cfa-page__body .wp-block-button .wp-block-button__link { padding: .8rem 1.6rem; border-radius: 999px; font-weight: 700; }
.cfa-page__body :where(.wp-block-image, .wp-block-post-featured-image) img { border-radius: 12px; }

/* Block styles for page text: Lead, Fact tiles, Numbered steps, Navy call to action, and cards
   in a grid (a Group with the class cfa-card-grid holding Card groups). */
.cfa-page__body .is-style-cfa-lead { margin-bottom: 1.75rem; color: var(--cfa-ink); font-size: clamp(1.125rem, 1.4vw, 1.3125rem); line-height: 1.6; }

.cfa-page__body ul.wp-block-list.is-style-cfa-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); gap: .75rem; margin: 1.5rem 0; }
.cfa-page__body ul.wp-block-list.is-style-cfa-facts > li { min-width: 0; padding: .95rem 1.1rem 1rem; border: 1px solid var(--cfa-line); border-top: 3px solid var(--cfa-gold); border-radius: 10px; background: var(--cfa-cloud); color: var(--cfa-ink); font-size: 1.0625rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.cfa-page__body ul.wp-block-list.is-style-cfa-facts > li::before { content: none; }
.cfa-page__body ul.is-style-cfa-facts > li > strong:first-child { display: block; margin-bottom: .3rem; color: var(--cfa-muted); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.cfa-page__body ol.wp-block-list.is-style-cfa-steps { counter-reset: cfa-step; margin: 1.5rem 0; padding: 0; list-style: none; }
.cfa-page__body ol.is-style-cfa-steps > li { position: relative; min-height: 2.25rem; padding: 0 0 1.5rem 3.5rem; counter-increment: cfa-step; }
.cfa-page__body ol.is-style-cfa-steps > li::before { content: counter(cfa-step); position: absolute; top: -.15rem; left: 0; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--cfa-gold); color: var(--cfa-ink); font-family: var(--cfa-font-display); font-size: .9375rem; font-weight: 700; line-height: 1; }
.cfa-page__body ol.is-style-cfa-steps > li::after { content: ""; position: absolute; top: 2.5rem; bottom: .35rem; left: calc(1.125rem - 1px); width: 2px; border-radius: 1px; background: var(--cfa-line); }
.cfa-page__body ol.is-style-cfa-steps > li:last-child { padding-bottom: 0; }
.cfa-page__body ol.is-style-cfa-steps > li:last-child::after { content: none; }
.cfa-page__body ol.is-style-cfa-steps > li > strong:first-child { display: block; color: var(--cfa-ink); font-family: var(--cfa-font-display); font-size: 1.0625rem; line-height: 1.5; }

.is-style-cfa-cta { position: relative; overflow: hidden; box-sizing: border-box; padding: clamp(1.5rem, 3vw, 2.25rem) calc(140px + 1.5rem) clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem); border-radius: 16px; background: linear-gradient(135deg, var(--cfa-navy) 0%, var(--cfa-navy-deep) 100%); color: #fff; }
.is-style-cfa-cta::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 140px; pointer-events: none; background: linear-gradient(118deg, transparent 0 50%, var(--cfa-blue) 50% 60%, transparent 60% 64%, var(--cfa-gold) 64% 74%, transparent 74%); opacity: .9; }
.is-style-cfa-cta > * { position: relative; z-index: 1; }
.is-style-cfa-cta > :first-child { margin-top: 0; }
.is-style-cfa-cta > :last-child { margin-bottom: 0; }
.cfa-page__body .is-style-cfa-cta { margin-top: 2.5rem; }
.cfa-page__body .is-style-cfa-cta :where(h2, h3) { margin: 0 0 .5rem; color: #fff; font-family: var(--cfa-font-display); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.25; }
.cfa-page__body .is-style-cfa-cta p { margin: 0; color: rgba(255, 255, 255, .86); }
.cfa-page__body .is-style-cfa-cta a:where(:not(.wp-block-button__link)) { color: #fff; }
.cfa-page__body .is-style-cfa-cta .wp-block-buttons { margin-top: 1.25rem; }
.is-style-cfa-cta .wp-block-button.is-style-cfa-outline .wp-block-button__link { border-color: var(--cfa-gold); background: transparent; color: #fff; }
.is-style-cfa-cta .wp-block-button.is-style-cfa-navy .wp-block-button__link { background: #fff; color: var(--cfa-navy); }

.cfa-page__body .cfa-card-grid { gap: 1rem; margin: 1.25rem 0 1.5rem; }
.cfa-card-grid > .is-style-cfa-card { position: relative; display: flex; flex-direction: column; min-width: 0; height: auto; padding: 1.2rem 1.3rem 1.3rem; border-radius: 12px; background: linear-gradient(180deg, #fff 0%, var(--cfa-cloud) 100%); box-shadow: 0 1px 2px rgba(3, 52, 104, .04), 0 10px 26px -22px rgba(3, 52, 104, .4); }
.cfa-card-grid > .is-style-cfa-card::before { content: ""; flex: none; width: 36px; height: 3px; margin-bottom: .9rem; border-radius: 2px; background: var(--cfa-gold); }
.cfa-card-grid > .is-style-cfa-card > * { margin: 0; }
.cfa-card-grid > .is-style-cfa-card > * + * { margin-top: .45rem; }
/* Card titles are h2 when the grid opens a page section, h3 under a section heading. */
.cfa-card-grid :is(h2, h3) { color: var(--cfa-ink); font-family: var(--cfa-font-display); font-size: 1.125rem; line-height: 1.3; overflow-wrap: break-word; }
.cfa-card-grid :is(h2, h3) a { color: var(--cfa-ink); text-decoration: none; }
.cfa-card-grid :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.cfa-card-grid :is(h2, h3) a:focus-visible { outline: 0; box-shadow: none; }
.cfa-card-grid p { color: var(--cfa-text); font-size: .9688rem; line-height: 1.55; }
/* The arrow is decoration: the second content value gives it empty alt text for screen readers
   (browsers without that syntax keep the first). */
.cfa-card-grid > .is-style-cfa-card:has(:is(h2, h3) a)::after { content: "→"; content: "→" / ""; margin-top: auto; padding-top: .8rem; color: var(--cfa-ink); font-weight: 700; transition: transform .15s; }
.cfa-card-grid > .is-style-cfa-card:has(:is(h2, h3) a):hover { border-color: #C5D5E8; box-shadow: 0 20px 36px -24px rgba(3, 52, 104, .45); transform: translateY(-3px); }
.cfa-card-grid > .is-style-cfa-card:has(:is(h2, h3) a):hover :is(h2, h3) a { color: var(--cfa-blue); }
.cfa-card-grid > .is-style-cfa-card:has(:is(h2, h3) a):hover::after { transform: translateX(3px); }
.cfa-card-grid > .is-style-cfa-card:has(a:focus-visible) { outline: 2px solid var(--cfa-navy); outline-offset: 3px; }

/* The theme cards ([cfa_themes]) inside page text. */
.cfa-page__body .cfa-themes__list { margin: 1.25rem 0 1.5rem; }
.cfa-page__body .cfa-theme-card__title a { color: var(--cfa-ink); }
.cfa-page__body .cfa-theme-card:hover .cfa-theme-card__title a { color: var(--cfa-blue); }

/* The speaker cards ([cfa_speakers]) inside page text, and a speaker's own page. */
.cfa-page__body .cfa-speakers__list--page { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin: 1.25rem 0 1.5rem; }
.cfa-page__body .cfa-speaker__name { margin-top: 0; }
.cfa-page__body .cfa-speaker__name a { text-decoration: none; }
.cfa-speaker-profile { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 1.75rem); margin: 0 0 1.75rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--cfa-line); }
.cfa-speaker-profile .cfa-speaker__photo { flex: 0 0 clamp(120px, 22%, 220px); border-radius: 10px; }
.cfa-speaker-profile .cfa-speaker__initials { font-size: clamp(2rem, 4vw, 3.25rem); }
.cfa-speaker-profile__role { margin: 0; color: var(--cfa-navy); font-family: var(--cfa-font-display); font-size: clamp(1.0625rem, 1.5vw, 1.3rem); font-weight: 600; line-height: 1.4; overflow-wrap: break-word; }
@media (max-width: 480px) {
	.cfa-speaker-profile { flex-direction: column; align-items: flex-start; }
	.cfa-speaker-profile .cfa-speaker__photo { flex-basis: auto; width: min(100%, 260px); }
}

@media (max-width: 700px) {
	.is-style-cfa-cta { padding: 1.5rem 1.25rem; border-top: 4px solid var(--cfa-gold); }
	.is-style-cfa-cta::after { content: none; }
	.cfa-page__body ol.is-style-cfa-steps > li { padding-left: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
	.cfa-card-grid > .is-style-cfa-card, .cfa-card-grid > .is-style-cfa-card::after { transition: none; }
	.cfa-card-grid > .is-style-cfa-card:has(:is(h2, h3) a):hover { transform: none; }
}

/* Contact Form 7 forms (the Contact page): fields like the abstract form, name and e-mail side
   by side, a gold "send" button and a coloured message panel after sending. */
.wpcf7 { --cfa-error: #B3261E; --cfa-ok: #1E7B4C; margin-top: 1.75rem; }
.wpcf7-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem 1.5rem; padding: clamp(1.25rem, 2.6vw, 2rem); border: 1px solid var(--cfa-line); border-top: 4px solid var(--cfa-gold); border-radius: 14px; background: var(--cfa-cloud); }
.wpcf7-form > .hidden-fields-container { display: none; }
.wpcf7-form > p, .wpcf7-form > div { grid-column: 1 / -1; min-width: 0; margin: 0; }
.wpcf7-form > p:nth-of-type(1), .wpcf7-form > p:nth-of-type(2) { grid-column: auto; }
.cfa-page__body .wpcf7-form label { display: block; color: var(--cfa-ink); font-size: .9375rem; font-weight: 700; line-height: 1.4; }
.wpcf7-form label br { display: none; }
.wpcf7-form .wpcf7-form-control-wrap { display: block; margin-top: .45rem; }
.wpcf7-form input:where([type="text"], [type="email"], [type="tel"], [type="url"]), .wpcf7-form textarea, .wpcf7-form select { box-sizing: border-box; display: block; width: 100%; max-width: 100%; margin: 0; padding: .75rem .95rem; border: 1.5px solid #C9D5E3; border-radius: 10px; background: #fff; color: var(--cfa-text); font: inherit; font-size: 1rem; font-weight: 400; line-height: 1.45; transition: border-color .15s ease, box-shadow .15s ease; }
.wpcf7-form textarea { min-height: 11rem; resize: vertical; }
.wpcf7-form input:where([type="text"], [type="email"], [type="tel"], [type="url"]):hover, .wpcf7-form textarea:hover, .wpcf7-form select:hover { border-color: #97ACC6; }
.wpcf7-form input:focus-visible, .wpcf7-form textarea:focus-visible, .wpcf7-form select:focus-visible { outline: 2px solid transparent; border-color: var(--cfa-blue); box-shadow: 0 0 0 3px rgba(243, 178, 29, .55); }
.wpcf7-form .wpcf7-not-valid { border-color: var(--cfa-error); background: #FFF8F7; }
.wpcf7-form .wpcf7-not-valid-tip { margin-top: .4rem; color: var(--cfa-error); font-size: .875rem; font-weight: 600; }
.wpcf7-form > p:has(.wpcf7-submit) { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.wpcf7-form .wpcf7-submit { -webkit-appearance: none; appearance: none; margin: 0; padding: .9rem 2rem; border: 0; border-radius: 999px; background: var(--cfa-gold); color: var(--cfa-ink); font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; cursor: pointer; box-shadow: 0 10px 22px -12px rgba(222, 159, 12, .95); transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.wpcf7-form .wpcf7-submit:hover { background: var(--cfa-gold-dark); transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(222, 159, 12, 1); }
.wpcf7-form .wpcf7-submit:focus-visible { outline: 2px solid var(--cfa-navy); outline-offset: 3px; }
.wpcf7-form .wpcf7-submit:disabled { opacity: .6; cursor: wait; transform: none; }
.wpcf7-form .wpcf7-spinner { margin: 0; background-color: var(--cfa-navy); }
.wpcf7 form.wpcf7-form .wpcf7-response-output { margin: 0; padding: .9rem 1.1rem; border: 1px solid var(--cfa-line); border-left-width: 4px; border-radius: 10px; background: #fff; color: var(--cfa-text); font-size: .9375rem; font-weight: 600; }
.wpcf7 form.wpcf7-form.sent .wpcf7-response-output { border-color: #B9DEC9; border-left-color: var(--cfa-ok); background: #F1FAF5; color: #145234; }
.wpcf7 form.wpcf7-form:is(.invalid, .unaccepted, .payment-required, .failed, .aborted, .spam) .wpcf7-response-output { border-color: #F0C4C0; border-left-color: var(--cfa-error); background: #FFF6F5; color: #7A1A14; }
@media (max-width: 700px) {
	.wpcf7-form { grid-template-columns: minmax(0, 1fr); }
	.wpcf7-form .wpcf7-submit { width: 100%; }
}

/* The side column. */
.cfa-aside { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.cfa-aside__card { box-sizing: border-box; padding: 1.5rem; border: 1px solid var(--cfa-line); border-radius: 16px; background: #fff; box-shadow: 0 12px 32px -20px rgba(3, 52, 104, .25); }
.cfa-aside__card--glance { border: 0; border-top: 4px solid var(--cfa-gold); background: linear-gradient(160deg, var(--cfa-navy) 0%, var(--cfa-navy-deep) 100%); color: #fff; }
.cfa-aside__title { margin: 0 0 1rem; color: var(--cfa-ink); font-family: var(--cfa-font-display); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cfa-aside__card--glance .cfa-aside__title { color: var(--cfa-gold); }
.cfa-aside__facts, .cfa-aside__links { margin: 0; padding: 0; list-style: none; }
.cfa-aside__facts li { display: flex; align-items: flex-start; gap: .85rem; padding: .75rem 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.cfa-aside__facts li:first-child { padding-top: 0; border-top: 0; }
.cfa-aside__facts .cfa-aside__icon { width: 22px; height: 22px; margin-top: 2px; color: var(--cfa-gold); stroke-width: 1.8; }
.cfa-aside__facts li > span { display: flex; flex-direction: column; min-width: 0; }
.cfa-aside__label { color: rgba(255, 255, 255, .72); font-size: .8125rem; font-weight: 600; }
.cfa-aside__facts strong { font-family: var(--cfa-font-display); font-size: 1rem; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.cfa-aside__cta { width: 100%; margin-top: 1.1rem; border-radius: 999px; white-space: normal; text-align: center; }
/* Sticky only where the whole side column fits on the screen. */
@media (min-width: 1025px) and (min-height: 820px) {
	.cfa-aside { position: sticky; top: 1.5rem; }
	.admin-bar .cfa-aside { top: calc(32px + 1.5rem); }
}
.cfa-page:has(.cfa-form__group) .cfa-aside__cta { display: none; }
.cfa-aside__links li + li { border-top: 1px solid var(--cfa-mist); }
.cfa-aside__links a { display: flex; align-items: center; gap: .85rem; padding: .7rem 0; color: var(--cfa-ink); font-size: .9375rem; font-weight: 600; text-decoration: none; }
.cfa-aside__links a > span { flex: 1 1 auto; min-width: 0; }
.cfa-aside__links .cfa-aside__icon { width: 34px; height: 34px; padding: 7px; box-sizing: border-box; border-radius: 10px; background: var(--cfa-mist); color: var(--cfa-navy); stroke-width: 1.7; }
.cfa-aside__chevron { width: 18px; height: 18px; color: var(--cfa-muted); stroke-width: 2; transition: transform .15s; }
.cfa-aside__links a:hover { color: var(--cfa-blue); }
.cfa-aside__links a:hover .cfa-aside__chevron { transform: translateX(3px); color: var(--cfa-blue); }

@media (max-width: 1024px) {
	.cfa-page { grid-template-columns: minmax(0, 1fr); }
	.cfa-aside { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 700px) {
	.cfa-aside { grid-template-columns: minmax(0, 1fr); }
	.cfa-banner::after { width: 90px; opacity: .6; }
	.cfa-banner h1, .cfa-banner .wp-block-post-title, .cfa-banner .wp-block-query-title { padding-right: 48px; }
	/* Phone: the photo fills the banner under a strong navy veil. */
	.cfa-banner--rich::before { width: 100%; background: linear-gradient(180deg, rgba(1, 43, 92, .84), rgba(1, 43, 92, .93)), var(--cfa-banner-img) 50% var(--cfa-banner-focus, 30%) / cover no-repeat; -webkit-mask-image: none; mask-image: none; }
	.cfa-crumbs { margin-bottom: .55rem; }
	.cfa-banner__text { max-width: calc(100% + var(--cfa-gutter) - 60px); }
	.cfa-banner__inner :is(h1, .wp-block-post-title, .wp-block-query-title) { padding-right: 0; font-size: clamp(1.6rem, 7vw, 2rem); }
	.cfa-banner__lead { font-size: 1rem; }
	.cfa-banner__facts { margin-top: .75rem; gap: .4rem; }
	.cfa-banner__facts li { padding: .3rem .75rem .3rem .6rem; font-size: .78rem; }
	.cfa-banner__fact-icon { width: 15px; height: 15px; }
	.cfa-page__body :where(p, li):where(:not([class^="cfa-"], [class*=" cfa-"], .cfa-page__body [class^="cfa-"] *, .cfa-page__body [class*=" cfa-"] *)) { font-size: 1rem; }
}

/* ------------------------------------------------ full width (page-wide.html) */
/* Elementor pages (functions.php sends them here) fill the width between the header and the
   footer, and Elementor's own CSS lays them out: nothing in this file targets .elementor.
   Block content on this template sits in an 820px column, or 1600px when aligned wide. */
.cfa-main--wide { background: #fff; }
.cfa-wide > * { margin-block: 0; }
.cfa-wide:not(:has(> .elementor)) { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4.5rem); }
.cfa-wide:not(:has(> .elementor)) > * + * { margin-block-start: 1.25rem; }
.cfa-wide > :where(:not(.elementor, .alignfull, .alignwide)) { box-sizing: border-box; max-width: calc(820px + 2 * var(--cfa-gutter)); margin-inline: auto; padding-inline: var(--cfa-gutter); }
.cfa-wide > .alignwide { box-sizing: border-box; max-width: calc(1600px + 2 * var(--cfa-gutter)); margin-inline: auto; padding-inline: var(--cfa-gutter); }

/* ------------------------------------------------------------------- news */
/* A constrained main already has the root padding; only the full-width templates add the gutter. */
.cfa-main--page:not(.has-global-padding) > .wp-block-query, .cfa-main--page:not(.has-global-padding) > .cfa-news-grid { box-sizing: border-box; padding-left: var(--cfa-gutter); padding-right: var(--cfa-gutter); }
.cfa-news-grid { margin-top: clamp(1.5rem, 3vw, 2.75rem); }
.cfa-main > .cfa-content:last-child { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
/* Padding, not margin, so the grey page background reaches the footer. */
.cfa-main > .wp-block-query:last-child { margin-bottom: 0; padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.is-style-cfa-card, .cfa-news-tile { box-sizing: border-box; height: 100%; padding: 1.1rem 1.1rem 1.4rem; border: 1px solid var(--cfa-line); border-radius: 16px; background: #fff; box-shadow: 0 12px 32px -20px rgba(3, 52, 104, .25); transition: box-shadow .15s, transform .15s; }
.cfa-news-tile:hover { box-shadow: 0 18px 40px -18px rgba(3, 52, 104, .3); transform: translateY(-2px); }
.cfa-news-tile > * + * { margin-top: .6rem; }
.cfa-news-tile .wp-block-post-featured-image img { border-radius: 10px; }
.cfa-news-tile__title { margin: 0; font-size: 1.2rem; line-height: 1.3; }
.cfa-news-tile__title a { color: var(--cfa-ink); text-decoration: none; }
.cfa-news-tile__title a:hover { color: var(--cfa-blue); }
.cfa-tag a { display: inline-block; padding: .15rem .6rem; border-radius: 999px; background: rgba(243, 178, 29, .2); color: var(--cfa-ink); font-size: .75rem; font-weight: 700; text-decoration: none; }
.cfa-read-more { color: var(--cfa-blue); font-size: .875rem; font-weight: 700; text-decoration: none; }
.cfa-read-more::after { content: " →"; }
.wp-block-query-pagination { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
/* Previous / next under a theme or news post: two cards, a small label over the title. */
.cfa-post-nav { gap: 1rem; }
.cfa-post-nav > * { flex: 0 1 24rem; min-width: 0; }
.cfa-post-nav a { display: flex; flex-direction: column; gap: .3rem; height: 100%; box-sizing: border-box; padding: .9rem 1.15rem 1rem; border: 1px solid var(--cfa-line); border-radius: 8px; background: linear-gradient(180deg, #fff 0%, var(--cfa-cloud) 100%); color: var(--cfa-ink); font-family: var(--cfa-font-display); font-size: 1rem; font-weight: 700; line-height: 1.3; text-decoration: none; overflow-wrap: break-word; transition: border-color .15s, box-shadow .15s, transform .15s; }
.cfa-post-nav a:hover { border-color: #C5D5E8; box-shadow: 0 20px 36px -24px rgba(3, 52, 104, .45); color: var(--cfa-blue); transform: translateY(-2px); }
.cfa-post-nav .post-navigation-link-next a { align-items: flex-end; text-align: right; }
.cfa-post-nav .post-navigation-link__label { color: var(--cfa-muted); font-family: var(--cfa-font-body); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cfa-post-nav .post-navigation-link-previous .post-navigation-link__label::before { content: "\2190\00a0\00a0"; content: "\2190\00a0\00a0" / ""; color: var(--cfa-gold-dark); }
.cfa-post-nav .post-navigation-link-next .post-navigation-link__label::after { content: "\00a0\00a0\2192"; content: "\00a0\00a0\2192" / ""; color: var(--cfa-gold-dark); }
/* A post with no neighbours: no empty row and no rule above it (:has() cannot hold another :has()). */
.cfa-post-nav:not(:has(a)) { display: none; }
.wp-block-separator:has(+ .cfa-post-nav > .post-navigation-link-previous:empty + .post-navigation-link-next:empty) { display: none; }
/* Links with a shadow of their own (also on hover) keep the navy half of the focus ring. */
.cfa-hero__actions .cfa-btn--gold:focus-visible, .cfa-post-nav a:focus-visible { box-shadow: 0 0 0 2px var(--cfa-navy-deep); }
.cfa-search-page { margin-bottom: 1.5rem; }
.wp-block-search__button { border-radius: 6px; background: var(--cfa-navy); color: #fff; }
@media (max-width: 600px) {
	.cfa-post-nav { flex-direction: column; flex-wrap: wrap !important; }
	.cfa-post-nav > * { flex: none; width: 100%; }
	.cfa-post-nav > :empty { display: none; }
}

/* ------------------------------------------------- account activation (wp-activate.php)
   header-wp-activate.php wraps WordPress's markup in the site header, banner and footer. These rules
   replace the core inline sheet (wpmu_activate_stylesheet) with the site's card, type and buttons. */
.cfa-main--page > .cfa-activate { max-width: 46rem; }
.cfa-activate #signup-content, .cfa-activate .wp-activate-container { width: auto; margin: 0; padding: 0; }
.cfa-activate .wp-activate-container > :first-child { margin-top: 0; }
.cfa-activate .wp-activate-container > :last-child { margin-bottom: 0; }
.cfa-activate h2 { margin: 0 0 1.25rem; color: var(--cfa-ink); font-family: var(--cfa-font-display); font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
.cfa-activate h2::before { content: ""; display: block; width: 48px; height: 4px; margin-bottom: .9rem; border-radius: 2px; background: var(--cfa-gold); }
.cfa-activate p { margin: 0 0 1rem; font-size: 1.0625rem; line-height: 1.7; overflow-wrap: anywhere; }
.cfa-activate p:has(> span.h3) { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .75rem; margin: 0 0 .6rem; padding: .8rem 1rem; border: 1px solid var(--cfa-line); border-radius: 10px; background: var(--cfa-cloud); }
.cfa-activate span.h3 { min-width: 6.5rem; padding: 0; color: var(--cfa-muted); font-family: var(--cfa-font-display); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cfa-activate p:has(> span.h3) + p:not(:has(> span.h3)) { margin-top: 1.5rem; }
.cfa-activate p:nth-of-type(2):has(> span.h3) { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 1rem; user-select: all; }
.cfa-activate p:nth-of-type(2):has(> span.h3) span.h3 { user-select: none; }
.cfa-activate a { color: var(--cfa-blue); font-weight: 600; text-underline-offset: 3px; }
.cfa-activate a:hover { color: var(--cfa-navy); }
.cfa-activate #activateform { margin: 1.5rem 0 0; }
.cfa-activate #activateform label { color: var(--cfa-ink); font-weight: 600; }
.cfa-activate #key { display: block; width: 100%; max-width: 100%; box-sizing: border-box; margin: .45rem 0 0; padding: .75rem .95rem; border: 1.5px solid #C9D5E3; border-radius: 10px; background: #FBFCFE; color: var(--cfa-ink); font: inherit; font-size: 1rem; line-height: 1.45; transition: border-color .15s, box-shadow .15s; }
.cfa-activate #key:hover { border-color: #97ACC6; }
.cfa-activate #key:focus-visible { outline: 2px solid transparent; border-color: var(--cfa-blue); background: #fff; box-shadow: 0 0 0 4px rgba(10, 92, 163, .18); }
.cfa-activate #submit { width: auto; padding: .75rem 1.75rem; border: 0; border-radius: 6px; background: var(--cfa-gold); color: var(--cfa-ink); font: inherit; font-size: .9375rem; font-weight: 600; line-height: 1.3; cursor: pointer; transition: background-color .15s; }
.cfa-activate #submit:hover { background: var(--cfa-gold-dark); }
.cfa-activate #submit:focus-visible { outline: 2px solid var(--cfa-navy); outline-offset: 2px; }
.cfa-activate .error { padding: .8rem 1rem; border: 1px solid #F0C4C0; border-left: 4px solid #B3261E; border-radius: 8px; background: #FFF6F5; color: var(--cfa-ink); }
