/* =============================================================================
   ICSBPIM 2027 — page design system
   Everything is scoped to .site-main so the header and footer (styled by
   custom.css) are left untouched.
   ============================================================================= */

:root {
	--ink: #0b1b33;
	--ink-2: #2c3a52;
	--muted: #5a6a82;
	--line: #e2e8f1;
	--line-strong: #cfd8e6;
	--bg: #f5f7fb;
	--surface: #ffffff;
	--brand: #1651a9;
	--brand-strong: #0d3b82;
	--brand-soft: #eaf1fb;
	--navy: #052658;
	--accent: #0b7a5c;
	--accent-soft: #e3f4ed;
	--amber: #9a4d00;
	--amber-soft: #fff4e2;

	--font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Fraunces", Georgia, "Times New Roman", serif;

	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--shadow-sm: 0 1px 2px rgba(11, 27, 51, .06), 0 1px 1px rgba(11, 27, 51, .04);
	--shadow: 0 1px 2px rgba(11, 27, 51, .05), 0 8px 24px -8px rgba(11, 27, 51, .12);
	--shadow-lg: 0 24px 48px -16px rgba(11, 27, 51, .25);
	--gutter: clamp(16px, 4vw, 32px);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--nav-h: 60px;
}

/* custom.css sets overflow-x:hidden on html/body, which disables position:sticky.
   clip prevents horizontal scroll the same way without that side effect. */
html,
body {
	overflow-x: clip;
}

html {
	scroll-padding-top: calc(var(--nav-h) + 16px);
}

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

.site-main {
	background: var(--bg);
	color: var(--ink-2);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

/* Override custom.css global `* { font-family: Montserrat !important }` inside main only. */
.site-main,
.site-main * {
	font-family: var(--font-sans) !important;
}

.site-main :is(h1, h2, h3, .display) {
	font-family: var(--font-display) !important;
	color: var(--ink);
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.15;
	margin: 0;
	font-variation-settings: "opsz" 72;
}

.site-main :is(h1, h2, h3, .display) em {
	font-family: var(--font-display) !important;
}

.site-main :is(h4, h5, h6) {
	color: var(--ink);
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
}

/* custom.css forces p to 16px !important; let paragraphs inherit from their container instead. */
.site-main p {
	font-size: inherit !important;
	margin: 0;
}

.site-main p + p {
	margin-top: 1em;
}

.site-main a {
	text-decoration: none;
	color: var(--brand);
	transition: color .2s var(--ease);
}

.site-main a:hover {
	color: var(--brand-strong);
}


.site-main :focus-visible {
	outline: 3px solid rgba(22, 81, 169, .45);
	outline-offset: 3px;
	border-radius: 6px;
}

.site-main img {
	display: block;
	max-width: 100%;
}

.icon {
	width: 1.15em;
	height: 1.15em;
	flex: none;
}

/* Bootstrap's reboot gives ul/ol padding and margin; design-system lists manage their own spacing. */
.site-main :is(.timeline, .grid--list, .chip-list, .check-list, .steps, .news-list, .stat-row, .meta-list, .crumbs ol) {
	padding-left: 0;
	margin-bottom: 0;
}

/* ---------------------------------------------------------------------------
   Layout
   --------------------------------------------------------------------------- */

.wrap {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section {
	padding-block: clamp(48px, 7vw, 88px);
}

.section--white {
	background: var(--surface);
	border-block: 1px solid var(--line);
}

.section--tight {
	padding-block: clamp(32px, 5vw, 56px);
}

.section-head {
	max-width: 720px;
	margin-bottom: clamp(24px, 4vw, 40px);
}

.section-head--center {
	margin-inline: auto;
	text-align: center;
}

.section-head h2 {
	font-size: clamp(1.75rem, 3.2vw, 2.4rem);
}

.section-head p:not(.eyebrow) {
	margin-top: 12px;
	color: var(--muted);
	font-size: 1.075rem;
}

.section-foot {
	margin-top: 28px;
	display: flex;
	justify-content: flex-end;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px !important;
	font-size: .78rem !important;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--accent);
}

.eyebrow::before {
	content: "";
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.with-aside {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}

@media (min-width: 992px) {
	.with-aside {
		grid-template-columns: minmax(0, 1fr) 340px;
		gap: 48px;
	}

	.with-aside > .sidebar {
		position: sticky;
		top: calc(var(--nav-h) + 24px);
	}
}

.grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 260px)), 1fr));
}

.split {
	display: grid;
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}

@media (min-width: 900px) {
	.split {
		grid-template-columns: 1fr 1fr;
	}

	.split--reverse > :first-child {
		order: 2;
	}
}

.prose {
	max-width: 70ch;
	font-size: 1.05rem;
	color: var(--ink-2);
}

.prose h2 {
	font-size: 1.6rem;
	margin: 2.2em 0 .6em;
}

.prose h2:first-child {
	margin-top: 0;
}

.prose h3 {
	font-size: 1.25rem;
	margin: 1.8em 0 .5em;
}

.prose ul,
.prose ol {
	padding-left: 1.25em !important;
	margin: .9em 0 !important;
}

.prose li + li {
	margin-top: .45em;
}

.prose li::marker {
	color: var(--brand);
}

/* ---------------------------------------------------------------------------
   Buttons, badges, chips
   --------------------------------------------------------------------------- */

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.button-row--center {
	justify-content: center;
}

.button {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 11px 22px !important;
	border-radius: 999px;
	border: 1px solid transparent;
	font-size: .95rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}

.button .icon {
	width: 18px;
	height: 18px;
}

.button.button--primary {
	background: var(--brand);
	color: #fff;
	box-shadow: 0 6px 16px -6px rgba(22, 81, 169, .6);
}

.button.button--primary:hover {
	background: var(--brand-strong);
	color: #fff;
	transform: translateY(-1px);
}

.button.button--ghost {
	background: var(--surface);
	color: var(--ink);
	border-color: var(--line-strong);
}

.button.button--ghost:hover {
	border-color: var(--brand);
	color: var(--brand);
}

.button.button--light {
	background: #fff;
	color: var(--brand-strong);
}

.button.button--light:hover {
	background: var(--brand-soft);
	color: var(--brand-strong);
}

.button.button--outline-light {
	color: #fff;
	border-color: rgba(255, 255, 255, .45);
}

.button.button--outline-light:hover {
	color: #fff;
	background: rgba(255, 255, 255, .1);
	border-color: #fff;
}

.button.button--block {
	display: flex;
	width: 100%;
}

.button.is-disabled {
	opacity: .75;
	cursor: not-allowed;
}

.site-main .text-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
}

.site-main .text-link .icon {
	transition: transform .2s var(--ease);
}

.site-main .text-link:hover .icon {
	transform: translateX(3px);
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px !important;
	border-radius: 999px;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .02em;
	white-space: nowrap;
	line-height: 1.4;
}

.site-main .badge--accent {
	background: var(--accent-soft);
	color: var(--accent);
}

.site-main .badge--brand {
	background: var(--brand-soft);
	color: var(--brand-strong);
}

.site-main .badge--muted {
	background: #eef1f5;
	color: var(--muted);
}

.chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
}

.site-main .chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px !important;
	border-radius: 999px;
	background: var(--surface);
	border: 1px solid var(--line);
	color: var(--ink-2);
	font-size: .875rem;
	font-weight: 500;
	transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease);
}

.site-main a.chip:hover {
	border-color: var(--brand);
	color: var(--brand);
	background: var(--brand-soft);
}

.chip__count {
	font-size: .75rem;
	color: var(--muted);
}

/* ---------------------------------------------------------------------------
   Cards
   --------------------------------------------------------------------------- */

.card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}

.card--pad {
	padding: clamp(20px, 3vw, 28px) !important;
}

.card--lift {
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.card--lift:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
	border-color: var(--line-strong);
}

.card__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}

.site-main .card__title {
	font-family: var(--font-sans) !important;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--ink);
}

.card__head .badge {
	margin-left: auto;
}

.site-main .card--brand {
	background: linear-gradient(145deg, var(--brand) 0%, var(--navy) 100%);
	border-color: transparent;
	color: rgba(255, 255, 255, .85);
}

.site-main .card--brand .card__title {
	color: #fff;
	margin-bottom: 8px;
}

.card--brand p {
	margin-bottom: 18px !important;
	font-size: .95rem;
}

.icon-tile {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	flex: none;
	border-radius: 12px;
	background: var(--brand-soft);
	color: var(--brand);
}

.icon-tile .icon {
	width: 20px;
	height: 20px;
}

.icon-tile--accent {
	background: var(--accent-soft);
	color: var(--accent);
}

.sidebar {
	display: grid;
	gap: 20px;
}

.news-list {
	list-style: none;
	display: grid;
	gap: 12px;
	font-size: .92rem;
}

.news-list li + li {
	padding-top: 12px !important;
	border-top: 1px solid var(--line);
}

/* ---------------------------------------------------------------------------
   Page hero (inner pages)
   --------------------------------------------------------------------------- */

.page-hero {
	position: relative;
	padding-block: clamp(40px, 6vw, 72px) clamp(36px, 5vw, 56px);
	background:
		radial-gradient(60% 120% at 100% 0%, rgba(11, 122, 92, .10) 0%, transparent 60%),
		radial-gradient(50% 120% at 0% 100%, rgba(22, 81, 169, .10) 0%, transparent 60%),
		var(--surface);
	border-bottom: 1px solid var(--line);
	overflow: hidden;
}

.page-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(11, 27, 51, .045) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(11, 27, 51, .045) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
	-webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
	pointer-events: none;
}

.page-hero .wrap {
	position: relative;
	z-index: 1;
}

.site-main .page-hero__title {
	font-size: clamp(2.1rem, 5vw, 3.4rem);
	max-width: 18ch;
}

.page-hero__lead {
	margin-top: 16px !important;
	max-width: 62ch;
	font-size: clamp(1.02rem, 1.6vw, 1.15rem) !important;
	color: var(--muted);
}

.crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin-bottom: 22px !important;
	font-size: .85rem;
	color: var(--muted);
}

.crumbs li + li::before {
	content: "/";
	margin-right: 6px;
	color: var(--line-strong);
}

.site-main .crumbs a {
	color: var(--muted);
}

.site-main .crumbs a:hover {
	color: var(--brand);
}

.crumbs [aria-current] {
	color: var(--ink);
	font-weight: 600;
}

/* ---------------------------------------------------------------------------
   Home: hero
   --------------------------------------------------------------------------- */

.home-hero {
	position: relative;
	padding-block: clamp(36px, 6vw, 72px);
	background:
		radial-gradient(55% 90% at 100% 10%, rgba(11, 122, 92, .12) 0%, transparent 60%),
		radial-gradient(45% 80% at 0% 90%, rgba(22, 81, 169, .12) 0%, transparent 60%),
		var(--surface);
	border-bottom: 1px solid var(--line);
	overflow: hidden;
}

.home-hero__grid {
	display: grid;
	gap: clamp(32px, 5vw, 56px);
	align-items: center;
}

@media (min-width: 992px) {
	.home-hero__grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	}
}

.site-main .home-hero__title {
	font-size: clamp(2.2rem, 4.6vw, 3.6rem);
	line-height: 1.06;
}

.home-hero__title em {
	font-style: italic;
	color: var(--brand);
}

.home-hero__lead {
	margin-top: 20px !important;
	font-size: clamp(1.02rem, 1.5vw, 1.12rem) !important;
	color: var(--muted);
	max-width: 52ch;
}

.home-hero .button-row {
	margin-top: 28px;
}

.meta-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin-top: 28px !important;
	list-style: none;
	font-size: .92rem;
	color: var(--ink-2);
	font-weight: 500;
}

.meta-list li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.meta-list .icon {
	color: var(--accent);
}

.hero-media {
	position: relative;
}

.hero-media .carousel {
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	background: var(--navy);
}

.hero-media .carousel-item {
	aspect-ratio: 16 / 10;
}

.hero-media .carousel-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-media .carousel-indicators {
	margin-bottom: 14px;
}

.hero-media .carousel-indicators [data-bs-target] {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: 0;
	margin-inline: 4px;
}

.hero-media__caption {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	padding: 14px 18px !important;
	background: linear-gradient(to bottom, rgba(5, 38, 88, .55), transparent);
	color: #fff;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	z-index: 2;
	pointer-events: none;
}

.deadline-card {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 16px;
	padding: 16px 18px !important;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

@media (min-width: 992px) {
	.deadline-card {
		position: absolute;
		left: -28px;
		bottom: -28px;
		margin-top: 0;
		max-width: 380px;
		z-index: 3;
	}
}

.deadline-card__date {
	display: grid;
	place-items: center;
	flex: none;
	width: 58px;
	height: 58px;
	border-radius: 14px;
	background: var(--accent);
	color: #fff;
	line-height: 1;
}

.deadline-card__day {
	font-size: 1.35rem;
	font-weight: 700;
}

.deadline-card__month {
	font-size: .7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	margin-top: -10px;
}

.deadline-card__kicker {
	font-size: .72rem !important;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--accent);
}

.deadline-card__label {
	font-size: .95rem !important;
	font-weight: 600;
	color: var(--ink);
	line-height: 1.35;
	margin-top: 2px !important;
}

.deadline-card__days {
	font-size: .85rem !important;
	color: var(--muted);
	margin-top: 2px !important;
}

/* Quick facts strip */
.facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

@media (min-width: 768px) {
	.facts {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.fact {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 22px !important;
	background: var(--surface);
}

.fact__value {
	font-family: var(--font-display) !important;
	font-size: 1.35rem !important;
	font-weight: 600;
	color: var(--ink);
	line-height: 1.2;
}

.fact__label {
	margin-top: 2px !important;
	font-size: .85rem !important;
	color: var(--muted);
}

@media (max-width: 480px) {
	.fact {
		flex-direction: column;
		gap: 10px;
		padding: 18px !important;
	}
}

/* Theme band */
.theme-band {
	position: relative;
	padding-block: clamp(56px, 8vw, 104px);
	background: var(--navy);
	color: rgba(255, 255, 255, .8);
	overflow: hidden;
	text-align: center;
}

.theme-band::before {
	content: "";
	position: absolute;
	inset: -40% -10% auto auto;
	width: 60%;
	aspect-ratio: 1;
	background: radial-gradient(circle, rgba(46, 196, 150, .22), transparent 60%);
	pointer-events: none;
}

.theme-band::after {
	content: "";
	position: absolute;
	inset: auto auto -50% -10%;
	width: 55%;
	aspect-ratio: 1;
	background: radial-gradient(circle, rgba(64, 132, 230, .28), transparent 60%);
	pointer-events: none;
}

.theme-band .wrap {
	position: relative;
	z-index: 1;
}

.site-main .theme-band .eyebrow {
	color: #7fe0bf;
}

.site-main .theme-band blockquote {
	margin: 0 auto;
	max-width: 22ch;
	font-family: var(--font-display) !important;
	font-size: clamp(1.8rem, 4.4vw, 3.2rem);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: #fff;
}

.theme-band blockquote span {
	display: block;
	margin-top: 18px;
	font-size: .5em;
	font-style: italic;
	color: #b8cff2;
	letter-spacing: 0;
}

/* Tracks */
.track {
	display: flex;
	flex-direction: column;
	gap: 18px;
	height: 100%;
	padding: 24px !important;
}

.track__num {
	font-family: var(--font-display) !important;
	font-size: 2rem;
	font-weight: 500;
	line-height: 1;
	color: var(--brand);
	opacity: .9;
}

.track__title {
	font-size: 1.02rem !important;
	font-weight: 600;
	color: var(--ink);
	line-height: 1.4;
}

.track--cta {
	justify-content: space-between;
	background: var(--brand-soft);
	border-color: transparent;
}

/* About split with stats */
.stat-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px !important;
	list-style: none;
}

.stat-pill {
	display: inline-flex;
	flex-direction: column;
	padding: 12px 16px !important;
	border-radius: var(--radius-sm);
	background: var(--bg);
	border: 1px solid var(--line);
	min-width: 120px;
}

.stat-pill strong {
	font-family: var(--font-display) !important;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--ink);
	line-height: 1.2;
}

.stat-pill span {
	font-size: .8rem;
	color: var(--muted);
}

.org-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	height: 100%;
	padding: clamp(24px, 3vw, 32px) !important;
}

.site-main .org-card h3 {
	font-size: 1.45rem;
}

.org-card p {
	color: var(--ink-2);
	font-size: .98rem;
}

/* Past conference cards */
.media-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	height: 100%;
}

.media-card__img {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--brand-soft);
}

.media-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s var(--ease);
}

.media-card:hover .media-card__img img {
	transform: scale(1.04);
}

.media-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
	padding: 22px 24px 24px !important;
}

.site-main .media-card__body h3 {
	font-size: 1.35rem;
}

.media-card__body p {
	color: var(--muted);
	font-size: .95rem;
}

.media-card__body .text-link {
	margin-top: auto;
	padding-top: 8px !important;
}

/* CTA band */
.cta {
	display: grid;
	gap: 24px;
	align-items: center;
	padding: clamp(28px, 5vw, 48px) !important;
	border-radius: var(--radius-lg);
	background:
		radial-gradient(70% 140% at 100% 0%, rgba(46, 196, 150, .25), transparent 60%),
		linear-gradient(135deg, var(--brand) 0%, var(--navy) 100%);
	color: rgba(255, 255, 255, .82);
	box-shadow: var(--shadow-lg);
}

@media (min-width: 900px) {
	.cta {
		grid-template-columns: 1fr auto;
	}
}

.site-main .cta h2 {
	color: #fff;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.cta p {
	margin-top: 10px !important;
	max-width: 56ch;
}

/* ---------------------------------------------------------------------------
   Timeline (important dates)
   --------------------------------------------------------------------------- */

.timeline {
	list-style: none;
	position: relative;
	display: grid;
	gap: 0;
}

.timeline__item {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 0 0 22px 30px !important;
}

.timeline__item:last-child {
	padding-bottom: 0 !important;
}

.timeline__item::before {
	content: "";
	position: absolute;
	left: 7px;
	top: 20px;
	bottom: -2px;
	width: 2px;
	background: var(--line);
}

.timeline__item:last-child::before {
	display: none;
}

.timeline__marker {
	position: absolute;
	left: 0;
	top: 4px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--surface);
	border: 2px solid var(--line-strong);
}

.timeline__item.is-next .timeline__marker {
	border-color: var(--accent);
	background: var(--accent);
	box-shadow: 0 0 0 5px var(--accent-soft);
}

.timeline__item.is-past .timeline__marker {
	background: var(--line-strong);
	border-color: var(--line-strong);
}

.timeline__item.is-past .timeline__body {
	opacity: .6;
}

.timeline__body {
	flex: 1;
	min-width: 0;
}

.timeline__label {
	font-size: .9rem !important;
	color: var(--muted);
	line-height: 1.4;
}

.timeline__date {
	font-size: 1rem !important;
	font-weight: 700;
	color: var(--ink);
	margin-top: 2px !important;
}

.timeline--compact .timeline__item .badge {
	margin-top: 6px;
}

/* Full-width variant on the Important Dates page */
.timeline:not(.timeline--compact) .timeline__item {
	padding: 0 0 18px 40px !important;
}

.timeline:not(.timeline--compact) .timeline__item::before {
	left: 11px;
	top: 34px;
}

.timeline:not(.timeline--compact) .timeline__marker {
	left: 4px;
	top: 24px;
}

.timeline:not(.timeline--compact) .timeline__body {
	padding: 18px 20px !important;
	border-radius: var(--radius);
	background: var(--surface);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
}

.timeline:not(.timeline--compact) .is-next .timeline__body {
	border-color: rgba(11, 122, 92, .35);
	box-shadow: 0 0 0 4px var(--accent-soft);
}

.timeline:not(.timeline--compact) .timeline__date {
	font-family: var(--font-display) !important;
	font-size: 1.35rem !important;
	font-weight: 600;
}

.timeline:not(.timeline--compact) .timeline__item .badge {
	position: absolute;
	right: 18px;
	top: 20px;
}

@media (max-width: 575.98px) {
	.timeline:not(.timeline--compact) .timeline__item .badge {
		position: static;
		display: inline-flex;
		margin-top: 10px;
	}

	.timeline:not(.timeline--compact) .timeline__item {
		flex-direction: column;
		align-items: stretch;
	}
}

/* ---------------------------------------------------------------------------
   People (committees)
   --------------------------------------------------------------------------- */

.committee-nav {
	position: sticky;
	top: var(--nav-h);
	z-index: 20;
	padding-block: 14px;
	background: rgba(245, 247, 251, .88);
	backdrop-filter: saturate(160%) blur(10px);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--line);
}

.committee-nav .chip-list {
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: thin;
	padding-bottom: 2px !important;
}

.committee-nav .chip {
	white-space: nowrap;
}

.committee-nav .chip-list {
	mask-image: linear-gradient(to right, #000 92%, transparent);
	-webkit-mask-image: linear-gradient(to right, #000 92%, transparent);
}

.committee-group {
	scroll-margin-top: calc(var(--nav-h) + 84px);
}

.committee-group + .committee-group {
	margin-top: clamp(40px, 6vw, 64px);
}

.committee-group__head {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 20px;
	padding-bottom: 14px !important;
	border-bottom: 1px solid var(--line);
}

.site-main .committee-group__head h2 {
	font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

.committee-group__head .badge {
	margin-left: auto;
}

/* People rows wrap and stay centred so short groups (1-3 members) don't stretch. */
.site-main .people {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

.people > li {
	flex: 0 1 236px;
}

.people--feature > li {
	flex-basis: 280px;
}

.person {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 4px;
	height: 100%;
	padding: 26px 20px !important;
}

.person__photo {
	width: 112px;
	height: 112px;
	margin-bottom: 14px;
	border-radius: 50%;
	object-fit: cover;
	object-position: center 20%;
	background: var(--brand-soft);
	box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--line);
}

.person--feature .person__photo {
	width: 136px;
	height: 136px;
}

.person__name {
	font-size: 1rem !important;
	font-weight: 700;
	color: var(--ink);
	line-height: 1.35;
}

.person--feature .person__name {
	font-size: 1.08rem !important;
}

.person__role {
	font-size: .85rem !important;
	color: var(--muted);
	line-height: 1.45;
	margin-top: 4px !important;
}

/* ---------------------------------------------------------------------------
   Partners, places, info blocks
   --------------------------------------------------------------------------- */

.partner {
	display: grid;
	grid-template-rows: auto 1fr;
	overflow: hidden;
	height: 100%;
}

.site-main .partner__logo {
	display: grid;
	place-items: center;
	height: 160px;
	padding: 24px !important;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
}

.partner__logo img {
	max-height: 90px;
	width: auto;
	object-fit: contain;
}

.partner__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px !important;
}

.site-main .partner__body h2 {
	font-size: 1.35rem;
}

.partner__body p {
	color: var(--muted);
	font-size: .95rem;
}

.partner__body .text-link {
	margin-top: auto;
}

.place {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	height: 100%;
}

.place__img {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--brand-soft);
}

.place__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s var(--ease);
}

.place:hover .place__img img {
	transform: scale(1.04);
}

.place__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px 24px 24px !important;
	font-size: .95rem;
}

.site-main .place__body h3 {
	font-size: 1.3rem;
}

.place__body details {
	margin-top: 4px;
}

.place__body summary {
	cursor: pointer;
	width: max-content;
	font-weight: 600;
	color: var(--brand);
	list-style: none;
}

.place__body summary::-webkit-details-marker {
	display: none;
}

.place__body summary::after {
	content: " +";
}

.place__body details[open] summary::after {
	content: " −";
}

.place__body details p {
	margin-top: 10px !important;
	color: var(--muted);
}

.venue-photo {
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	aspect-ratio: 4 / 3;
}

.venue-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.contact-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	height: 100%;
	padding: 26px !important;
}

.contact-card__label {
	font-size: .8rem !important;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--muted);
}

.contact-card__value {
	font-size: 1.05rem !important;
	font-weight: 600;
	color: var(--ink);
	overflow-wrap: anywhere;
	line-height: 1.5;
}

.site-main .contact-card__value a {
	color: var(--ink);
}

.site-main .contact-card__value a:hover {
	color: var(--brand);
}

.callout {
	display: flex;
	gap: 14px;
	padding: 18px 20px !important;
	border-radius: var(--radius);
	background: var(--brand-soft);
	border: 1px solid rgba(22, 81, 169, .15);
	color: var(--ink-2);
	font-size: .95rem;
}

.callout .icon {
	width: 22px;
	height: 22px;
	color: var(--brand);
	margin-top: 1px;
}

.callout--amber {
	background: var(--amber-soft);
	border-color: rgba(154, 77, 0, .18);
}

.callout--amber .icon {
	color: var(--amber);
}

.check-list {
	list-style: none;
	display: grid;
	gap: 12px;
}

.check-list li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.check-list .icon {
	width: 20px;
	height: 20px;
	margin-top: 3px;
	padding: 3px;
	border-radius: 50%;
	background: var(--accent-soft);
	color: var(--accent);
	box-sizing: content-box;
}

.steps {
	list-style: none;
	counter-reset: step;
	display: grid;
	gap: 14px;
}

.steps li {
	counter-increment: step;
	position: relative;
	padding-left: 48px !important;
	min-height: 34px;
}

.steps li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: -2px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--brand-soft);
	color: var(--brand);
	font-weight: 700;
	font-size: .9rem;
}

/* Tables */
.table-card {
	overflow-x: auto;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: var(--surface);
}

.data-table {
	width: 100%;
	border-collapse: collapse;
	font-size: .95rem;
}

.data-table caption {
	caption-side: top;
	padding: 18px 20px 6px !important;
	text-align: left;
	color: var(--muted);
	font-size: .85rem;
}

.data-table th,
.data-table td {
	padding: 14px 20px !important;
	text-align: left;
	border-bottom: 1px solid var(--line);
}

.data-table thead th {
	background: var(--bg);
	font-size: .78rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--muted);
	font-weight: 700;
}

.data-table tbody th {
	font-weight: 600;
	color: var(--ink);
}

.data-table tbody tr:last-child > * {
	border-bottom: 0;
}

.data-table tbody tr:hover {
	background: #fafbfd;
}

.data-table .num {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

/* Coming soon */
.coming-soon {
	max-width: 640px;
	margin-inline: auto;
	padding: clamp(32px, 6vw, 56px) clamp(24px, 5vw, 48px) !important;
	text-align: center;
}

.coming-soon__icon {
	display: inline-grid;
	place-items: center;
	width: 60px;
	height: 60px;
	margin-bottom: 20px;
	border-radius: 18px;
	background: var(--accent-soft);
	color: var(--accent);
}

.coming-soon__icon .icon {
	width: 28px;
	height: 28px;
}

.site-main .coming-soon h2 {
	font-size: clamp(1.6rem, 3vw, 2rem);
}

.coming-soon p {
	margin: 12px auto 28px !important;
	color: var(--muted);
	max-width: 44ch;
}

/* 404 */
.not-found {
	text-align: center;
	padding-block: clamp(64px, 10vw, 120px);
}

.not-found__code {
	font-family: var(--font-display) !important;
	font-size: clamp(5rem, 16vw, 9rem) !important;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.04em;
	background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.site-main .not-found h1 {
	margin-top: 12px;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.not-found p {
	margin: 14px auto 0 !important;
	max-width: 48ch;
	color: var(--muted);
}

.not-found .chip-list {
	justify-content: center;
	margin-top: 28px !important;
}

.not-found .button-row {
	margin-top: 32px;
}

/* Utilities */
.stack > * + * {
	margin-top: var(--stack, 20px);
}

.mt-lg {
	margin-top: clamp(32px, 5vw, 56px);
}

.muted {
	color: var(--muted);
}

/* Reveal-on-scroll (enabled by custom.js; content stays visible without JS). */
.js-reveal .reveal {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.js-reveal .reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.site-main *,
	.site-main *::before,
	.site-main *::after {
		transition: none !important;
		animation: none !important;
	}

	.js-reveal .reveal {
		opacity: 1;
		transform: none;
	}
}

.section--flush-top {
	padding-top: 0;
}

.site-main .section-title {
	font-size: clamp(1.75rem, 3.2vw, 2.4rem);
	margin-bottom: 20px;
}

.grid--list {
	list-style: none;
}

.media-card__body .badge {
	width: max-content;
}

.org-card__link {
	margin-top: auto;
}

@media (min-width: 576px) {
	.timeline:not(.timeline--compact) .timeline__body {
		padding-right: 150px !important;
	}
}

.card__title + .check-list {
	margin-top: 14px;
}

.button-row--spaced {
	margin-top: 24px;
}

.check-list--spaced {
	margin-top: 18px;
}

.contact-card__note {
	font-weight: 500;
	font-size: .9rem;
	color: var(--muted);
}

.contact-card__link {
	margin-top: auto;
}

.partner__body .badge {
	width: max-content;
}



@media (max-width: 575.98px) {
	.site-main .people {
		gap: 12px;
	}

	.people > li,
	.people--feature > li {
		flex: 0 1 calc(50% - 6px);
	}

	.person {
		padding: 18px 12px !important;
	}

	.person__photo,
	.person--feature .person__photo {
		width: 84px;
		height: 84px;
		margin-bottom: 10px;
	}

	.person__name,
	.person--feature .person__name {
		font-size: .92rem !important;
	}

	.person__role {
		font-size: .78rem !important;
	}
}

/* =============================================================================
   Navigation bar and announcement ticker (header.php).
   The masthead above them keeps its original custom.css styling.
   ============================================================================= */

.site-nav,
.site-nav *,
.ticker,
.ticker * {
	font-family: var(--font-sans) !important;
}

.site-nav {
	position: sticky;
	top: 0;
	z-index: 1030;
	padding: 0;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .25s var(--ease);
}

.site-nav.is-stuck {
	box-shadow: 0 8px 24px -12px rgba(11, 27, 51, .25);
}

.site-nav__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 1320px;
	min-height: var(--nav-h);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.site-nav__brand {
	font-family: var(--font-display) !important;
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--ink);
}

.site-nav__brand:hover {
	color: var(--brand);
}

.site-nav__toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 42px;
	padding: 0 14px !important;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: var(--surface);
	color: var(--ink);
	font-size: .88rem;
	font-weight: 600;
	box-shadow: none !important;
}

.site-nav__bars {
	display: grid;
	gap: 4px;
	width: 16px;
}

.site-nav__bars span {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .25s var(--ease), opacity .2s var(--ease);
}

.site-nav__toggle[aria-expanded="true"] .site-nav__bars span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.site-nav__toggle[aria-expanded="true"] .site-nav__bars span:nth-child(2) {
	opacity: 0;
}

.site-nav__toggle[aria-expanded="true"] .site-nav__bars span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.site-nav .nav-item .nav-link {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 12px !important;
	border-radius: 10px;
	font-size: .92rem !important;
	font-weight: 600;
	color: var(--ink-2);
	text-align: left;
	white-space: nowrap;
	transition: color .2s var(--ease), background-color .2s var(--ease);
}

.site-nav .nav-item .nav-link:hover,
.site-nav .nav-item .nav-link:focus-visible,
.site-nav .nav-item .nav-link.show {
	color: var(--brand);
	background: var(--brand-soft);
}

.site-nav .nav-item .nav-link.active {
	color: var(--brand);
	background: var(--brand-soft);
}

.site-nav .dropdown-toggle::after {
	width: 6px;
	height: 6px;
	margin: 0 0 3px 2px;
	border: 0;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	opacity: .55;
	transition: transform .2s var(--ease);
}

.site-nav .dropdown-toggle.show::after {
	transform: translateY(2px) rotate(-135deg);
}

.site-nav__new {
	padding: 2px 8px !important;
	border-radius: 999px;
	background: #fde8e8;
	color: #b42318;
	font-size: .66rem !important;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	line-height: 1.5;
}

.site-nav .navbar-nav .dropdown-menu {
	width: auto;
	min-width: 230px;
	padding: 8px !important;
	margin-top: 6px !important;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--surface);
	box-shadow: 0 1px 2px rgba(11, 27, 51, .05), 0 18px 40px -16px rgba(11, 27, 51, .3);
}

.site-nav .dropdown-item {
	padding: 9px 12px !important;
	border-radius: 8px;
	font-size: .9rem !important;
	font-weight: 500;
	color: var(--ink-2);
	text-align: left;
	white-space: nowrap;
}

.site-nav .dropdown-item:hover,
.site-nav .dropdown-item:focus {
	background-color: var(--brand-soft) !important;
	color: var(--brand) !important;
}

.site-nav .dropdown-item.active,
.site-nav .dropdown-item:active {
	background-color: var(--brand) !important;
	color: #fff !important;
}

/* Desktop: full-width row, brand and toggle hidden (the masthead carries the branding). */
@media (min-width: 1200px) {
	.site-nav__brand {
		display: none;
	}

	.site-nav__list {
		width: 100%;
		justify-content: space-between;
	}
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
	.site-nav .nav-item .nav-link {
		padding: 8px 7px !important;
		font-size: .85rem !important;
		gap: 4px;
	}
}

/* Tablet/mobile: brand + Menu button, collapsible panel below. */
@media (max-width: 1199.98px) {
	.site-nav .navbar-collapse {
		flex-basis: 100%;
		max-height: calc(100vh - var(--nav-h));
		overflow-y: auto;
	}

	.site-nav__list {
		padding: 8px 0 16px !important;
		border-top: 1px solid var(--line);
	}

	.site-nav .nav-item .nav-link {
		padding: 12px !important;
	}

	.site-nav .navbar-nav .dropdown-menu {
		margin: 0 0 6px 14px !important;
		padding: 0 0 0 10px !important;
		border: 0;
		border-left: 2px solid var(--line);
		border-radius: 0;
		box-shadow: none;
	}
}

@media (max-width: 379.98px) {
	.site-nav__toggle-label {
		display: none;
	}
}

/* Announcement ticker */
.ticker {
	display: flex;
	align-items: stretch;
	background: var(--navy);
	color: rgba(255, 255, 255, .8);
	font-size: .88rem;
	line-height: 1.4;
	overflow: hidden;
}

.ticker__label {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: none;
	padding: 11px 20px 11px var(--gutter) !important;
	background: var(--brand);
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	box-shadow: 12px 0 18px -6px var(--navy);
}

.ticker__pulse {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #36d39f;
}

.ticker__pulse::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid #36d39f;
	opacity: 0;
	animation: tickerPulse 2s var(--ease) infinite;
}

@keyframes tickerPulse {
	0% { transform: scale(.6); opacity: .8; }
	100% { transform: scale(1.6); opacity: 0; }
}

.ticker__viewport {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	mask-image: linear-gradient(to right, transparent 0, #000 32px, #000 calc(100% - 48px), transparent 100%);
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 32px, #000 calc(100% - 48px), transparent 100%);
}

.ticker__track {
	display: flex;
	width: max-content;
	animation: tickerScroll 40s linear infinite;
}

.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track {
	animation-play-state: paused;
}

@keyframes tickerScroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

.ticker__list {
	display: flex;
	align-items: center;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.ticker__list li {
	display: inline-flex;
	align-items: center;
	padding: 11px 0 !important;
	white-space: nowrap;
}

.ticker__list li::after {
	content: "";
	width: 5px;
	height: 5px;
	margin-inline: 28px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .35);
}

.ticker__list strong {
	margin-left: 4px;
	color: #fff;
	font-weight: 700;
}

@media (max-width: 575.98px) {
	.ticker__label {
		align-self: stretch;
		padding: 11px 14px 11px var(--gutter) !important;
		font-size: 0;
		letter-spacing: 0;
		gap: 0;
	}
}

/* Reduced motion: stop the ticker and let the messages wrap instead. */
@media (prefers-reduced-motion: reduce) {
	.ticker__track {
		animation: none;
		width: auto;
	}

	.ticker__list[aria-hidden="true"] {
		display: none;
	}

	.ticker__list {
		flex-wrap: wrap;
		row-gap: 2px;
		padding: 9px 16px !important;
	}

	.ticker__list li {
		display: block;
		padding: 0 !important;
		white-space: normal;
	}

	.ticker__list li::after {
		display: inline-block;
		vertical-align: middle;
	}

	.ticker__list li:last-child::after {
		display: none;
	}

	.ticker__list li::after {
		margin-inline: 14px;
	}

	.ticker__viewport {
		mask-image: none;
		-webkit-mask-image: none;
	}

	.ticker__pulse::after {
		animation: none;
	}

	.site-nav,
	.site-nav * {
		transition: none !important;
	}
}

/* =============================================================================
   Footer (footer.php). Overrides custom.css globals within the footer only.
   ============================================================================= */

.site-footer,
.site-footer * {
	font-family: var(--font-sans) !important;
}

.site-footer p {
	font-size: inherit !important;
	margin: 0;
}

/* Bootstrap's reboot indents lists; footer lists manage their own spacing. */
.site-footer ul {
	margin: 0;
	padding-left: 0;
}

.site-footer {
	position: relative;
	background: var(--navy);
	color: rgba(255, 255, 255, .72);
	font-size: .92rem;
	line-height: 1.6;
	overflow: hidden;
}

.site-footer::before {
	content: "";
	position: absolute;
	top: -30%;
	right: -10%;
	width: 50%;
	aspect-ratio: 1;
	background: radial-gradient(circle, rgba(54, 211, 159, .12), transparent 60%);
	pointer-events: none;
}

.site-footer::after {
	content: "";
	position: absolute;
	bottom: -40%;
	left: -15%;
	width: 45%;
	aspect-ratio: 1;
	background: radial-gradient(circle, rgba(64, 132, 230, .16), transparent 60%);
	pointer-events: none;
}

.site-footer .wrap {
	position: relative;
	z-index: 1;
}

.site-footer a {
	color: rgba(255, 255, 255, .88);
	transition: color .2s var(--ease);
}

.site-footer a:hover {
	color: #7fe0bf;
}

.footer-partners {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	padding-block: 32px;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer-partners__label {
	font-size: .75rem !important;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .6);
}

.footer-partners__list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	list-style: none;
}

.site-footer .footer-partners__list a {
	display: grid;
	place-items: center;
	height: 64px;
	padding: 10px 20px;
	border-radius: 12px;
	background: #fff;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.site-footer .footer-partners__list a:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5);
}

.footer-partners__list img {
	height: 40px;
	width: auto;
	max-width: 100%;
}

.footer-grid {
	display: grid;
	gap: 40px;
	padding-block: 48px;
}

@media (min-width: 768px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1200px) {
	.footer-grid {
		grid-template-columns: 1.35fr .8fr 1.15fr 1.2fr;
		gap: 48px;
	}
}

.footer-title {
	margin: 0 0 16px;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #fff;
}

.footer-brand__logo {
	display: inline-block;
	padding: 10px 14px;
	border-radius: 12px;
	background: #fff;
}

.footer-brand__logo img {
	display: block;
	height: 44px;
	width: auto;
}

.site-footer .footer-brand__name {
	margin: 18px 0 2px;
	font-family: var(--font-display) !important;
	font-size: 1.3rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.25;
	color: #fff;
}

.footer-muted {
	color: rgba(255, 255, 255, .6);
}

.footer-values {
	display: grid;
	gap: 14px;
	margin: 22px 0 0;
}

.footer-values dt {
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #7fe0bf;
}

.footer-values dd {
	margin: 2px 0 0;
}

.footer-links ul,
.footer-contact ul {
	display: grid;
	gap: 10px;
	list-style: none;
}

.footer-contact address {
	margin: 0;
	font-style: normal;
}

.site-footer .footer-contact li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 0;
}

.footer-contact .icon {
	margin-top: 3px;
	color: #7fe0bf;
}

.footer-contact span {
	overflow-wrap: break-word;
}

.footer-contact small {
	color: rgba(255, 255, 255, .55);
}

.footer-map-frame {
	overflow: hidden;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, .15);
	background: rgba(255, 255, 255, .06);
}

.footer-map-frame .footer-map {
	display: block;
}

.site-footer .map-fallback {
	flex-direction: column;
	gap: 8px;
	min-height: 200px;
	padding: 20px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: rgba(255, 255, 255, .8);
	font-style: normal;
}

.site-footer .map-fallback button {
	padding: 6px 14px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font: inherit;
	cursor: pointer;
}

.site-footer .footer-map-button {
	margin-top: 14px;
	min-height: 42px;
	padding: 9px 18px !important;
	font-size: .88rem;
	color: var(--brand-strong);
}

.site-footer .footer-map-button:hover {
	color: var(--brand-strong);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding-block: 22px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: .82rem;
	color: rgba(255, 255, 255, .55);
}

.footer-bottom ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	list-style: none;
}

.site-footer .footer-top-link {
	font-weight: 600;
	color: #7fe0bf;
}

@media (prefers-reduced-motion: reduce) {
	.site-footer * {
		transition: none !important;
	}
}

/* =============================================================================
   Masthead (header.php): logo, conference title, theme, organisers, date,
   collaboration logos. Same content and order as before, restyled.
   ============================================================================= */

.masthead,
.masthead * {
	font-family: var(--font-sans) !important;
}

.masthead {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(45% 70% at 0% 0%, rgba(22, 81, 169, .14) 0%, transparent 70%),
		radial-gradient(40% 70% at 100% 10%, rgba(11, 122, 92, .13) 0%, transparent 70%),
		linear-gradient(180deg, #f3f6fc 0%, #ffffff 100%);
	color: var(--ink-2);
	text-align: center;
}

/* Faint grid texture that fades out towards the bottom. */
.masthead::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(11, 27, 51, .05) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(11, 27, 51, .05) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(70% 80% at 50% 0%, #000 0%, transparent 75%);
	-webkit-mask-image: radial-gradient(70% 80% at 50% 0%, #000 0%, transparent 75%);
	pointer-events: none;
}

.masthead__inner {
	position: relative;
	z-index: 1;
	max-width: 1100px;
	margin-inline: auto;
	padding: clamp(28px, 4vw, 44px) var(--gutter) clamp(28px, 4vw, 40px);
}

.masthead__logo-row {
	display: flex;
	justify-content: center;
}

.masthead__logo-link {
	display: inline-flex;
	padding: 10px 18px;
	border-radius: 18px;
	background: rgba(255, 255, 255, .85);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
	transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}

.masthead__logo-link:hover {
	transform: translateY(-1px);
	box-shadow: var(--shadow);
}

.masthead .masthead__logo {
	display: block;
	width: auto;
	height: clamp(48px, 6vw, 64px);
}

.masthead__intro {
	margin-top: clamp(20px, 3vw, 28px);
}

.masthead #conf-title {
	max-width: 24ch;
	margin: 0 auto;
	font-family: var(--font-display) !important;
	font-size: clamp(1.6rem, 3.6vw, 2.75rem);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.01em;
	color: var(--navy);
	font-variation-settings: "opsz" 96;
	text-wrap: balance;
}

.masthead__acronym {
	font-family: var(--font-display) !important;
	font-style: italic;
	color: var(--brand);
	white-space: nowrap;
}

.masthead .masthead__theme {
	max-width: 46ch;
	margin: 18px auto 0;
	font-family: var(--font-display) !important;
	font-size: clamp(1.02rem, 1.7vw, 1.3rem);
	font-style: italic;
	font-weight: 500;
	line-height: 1.45;
	color: var(--ink-2);
	text-wrap: balance;
}

.masthead__theme-label {
	display: block;
	margin-bottom: 6px;
	font-size: .72rem;
	font-style: normal;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--accent);
}

.masthead .masthead__org-label {
	margin: 24px 0 6px;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted);
}

.masthead .masthead__org {
	margin: 0;
	font-size: clamp(1rem, 1.5vw, 1.12rem);
	font-weight: 700;
	line-height: 1.45;
	color: var(--brand-strong);
}

.masthead .masthead__org--sub {
	font-weight: 500;
	color: var(--ink-2);
}

.masthead .masthead__date {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 20px 0 0;
	padding: 10px 20px;
	border-radius: 999px;
	background: var(--navy);
	color: #fff;
	font-size: clamp(.9rem, 1.4vw, 1rem);
	font-weight: 600;
	line-height: 1.3;
	box-shadow: 0 10px 24px -12px rgba(5, 38, 88, .6);
}

.masthead__date .icon {
	color: #7fe0bf;
}

.masthead .masthead__rule {
	width: min(560px, 100%);
	height: 1px;
	margin: clamp(24px, 3.5vw, 36px) auto;
	border: 0;
	background: linear-gradient(90deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent);
	opacity: 1;
}

.masthead .masthead__collab-label {
	margin: 0 0 16px;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted);
}

.masthead__partners {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}

.masthead__partner {
	display: grid;
	place-items: center;
	height: 84px;
	padding: 12px 24px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.masthead__partner:hover {
	transform: translateY(-2px);
	border-color: var(--line-strong);
	box-shadow: var(--shadow);
}

.masthead__partner img {
	height: 56px;
	width: auto;
	max-width: 100%;
}

@media (max-width: 575.98px) {
	.masthead #conf-title {
		font-size: 1.5rem;
		line-height: 1.15;
	}

	.masthead .masthead__theme {
		font-size: 1rem;
	}

	.masthead .masthead__date {
		padding: 9px 16px;
	}

	.masthead__partner {
		height: 68px;
		padding: 10px 16px;
	}

	.masthead__partner img {
		height: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.masthead * {
		transition: none !important;
	}
}

/* Navigation bar and ticker sizing. */
:root {
	--nav-h: 52px;
}

.site-nav .nav-item .nav-link {
	padding-block: 7px !important;
}

.ticker__label,
.ticker__list li {
	padding-block: 7px !important;
}

@media (max-width: 575.98px) {
	:root {
		--nav-h: 48px;
	}

	.site-nav__toggle {
		height: 38px;
	}
}

/* Reduced motion: keep the static ticker on one line (swipe/scroll sideways)
   instead of wrapping, so the header height stays the same. */
@media (prefers-reduced-motion: reduce) {
	.ticker__viewport {
		overflow-x: auto;
		scrollbar-width: none;
	}

	.ticker__viewport::-webkit-scrollbar {
		display: none;
	}

	.ticker__list {
		flex-wrap: nowrap;
		padding: 0 16px !important;
	}

	.ticker__list li {
		display: inline-flex;
		white-space: nowrap;
		padding-block: 7px !important;
	}
}

/* Microsoft CMT acknowledgement */
.site-main .cmt-note {
	margin-top: 16px !important;
	padding-top: 14px !important;
	border-top: 1px solid rgba(255, 255, 255, .18);
	font-size: .78rem !important;
	line-height: 1.55;
	color: rgba(255, 255, 255, .72);
}

.site-main .cmt-callout {
	font-size: .9rem;
}

.site-main .card--brand .cmt-note {
	margin-bottom: 0 !important;
}

.site-main .cmt-callout {
	margin-top: 20px;
}

.link-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.site-main .link-card .muted {
	margin-top: -8px !important;
	font-size: .85rem;
}

.link-card.is-disabled {
	opacity: .75;
}

/* Headings reset their margins; let the spacing utility win. */
.site-main .mt-lg {
	margin-top: clamp(32px, 5vw, 56px);
}

/* =============================================================================
   Justified body text
   ============================================================================= */

/* Only running text is justified; short labels and titles stay left-aligned. */
.site-main :is(.prose, .org-card, .place__body, .partner__body, .callout, .cta, .submit-band, .card--brand, .page-hero__lead, .news-list) p,
.site-main .prose li,
.site-main .check-list span {
	text-align: justify;
	hyphens: auto;
	-webkit-hyphens: auto;
}

/* =============================================================================
   Home page (compact layout)
   ============================================================================= */

.page-home .home-section {
	padding-block: clamp(36px, 4.5vw, 60px);
}

.home-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 24px;
	margin-bottom: 24px;
}

.site-main .home-head h2 {
	font-size: clamp(1.6rem, 2.8vw, 2.1rem);
}

.home-head .eyebrow {
	margin-bottom: 8px !important;
}

/* Intro: about text + media column */
.home-intro {
	padding-block: clamp(32px, 4vw, 52px);
	background:
		radial-gradient(50% 80% at 100% 0%, rgba(11, 122, 92, .08) 0%, transparent 60%),
		var(--bg);
}

.home-intro__grid {
	display: grid;
	gap: clamp(28px, 4vw, 48px);
	align-items: start;
}

@media (min-width: 992px) {
	.home-intro__grid {
		grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
	}
}

.site-main .home-intro__title {
	font-size: clamp(1.7rem, 3vw, 2.3rem);
	margin-bottom: 16px;
}

.home-intro .prose {
	max-width: none;
	font-size: 1rem;
}

.home-intro__actions {
	margin-top: 24px;
}

.home-intro__media {
	display: grid;
	gap: 14px;
}

.hero-carousel {
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	background: var(--navy);
}

.hero-carousel .carousel-item {
	aspect-ratio: 4 / 3;
}

.hero-carousel .carousel-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-carousel .carousel-indicators {
	margin-bottom: 12px;
}

.hero-carousel .carousel-indicators [data-bs-target] {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: 0;
	margin-inline: 4px;
}

.deadline-card.deadline-card--inline {
	position: static;
	max-width: none;
	margin: 0;
	box-shadow: var(--shadow-sm);
}

.facts.facts--compact {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.facts--compact .fact {
	padding: 14px 16px !important;
	gap: 12px;
}

.facts--compact .fact__value {
	font-size: 1.1rem !important;
}

.facts--compact .fact__label {
	font-size: .8rem !important;
}

/* Important dates row */
.date-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.date-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 18px;
	border-radius: var(--radius);
	background: var(--bg);
	border: 1px solid var(--line);
}

.date-card.is-next {
	background: var(--accent-soft);
	border-color: rgba(11, 122, 92, .3);
}

.date-card.is-past {
	opacity: .6;
}

.date-card__day {
	font-family: var(--font-display) !important;
	font-size: 1.8rem;
	font-weight: 600;
	line-height: 1.1;
	color: var(--ink);
}

.date-card__day span {
	font-family: var(--font-display) !important;
	font-size: .6em;
	font-weight: 500;
	color: var(--brand);
	text-transform: uppercase;
	letter-spacing: .04em;
}

.is-next .date-card__day span {
	color: var(--accent);
}

.site-main .date-card__label {
	font-size: .88rem !important;
	font-weight: 600;
	color: var(--ink-2);
	line-height: 1.35;
	text-align: left;
}

.site-main .date-card__full {
	margin-top: 0 !important;
	font-size: .8rem !important;
	color: var(--muted);
	text-align: left;
}

.date-card .badge {
	align-self: flex-start;
	margin-top: 6px;
}

/* Submission band with CMT acknowledgement */
.submit-band {
	display: grid;
	gap: 14px 28px;
	align-items: center;
	margin-top: 20px;
	padding: 22px 26px;
	border-radius: var(--radius-lg);
	background:
		radial-gradient(60% 140% at 100% 0%, rgba(46, 196, 150, .22), transparent 60%),
		linear-gradient(135deg, var(--brand) 0%, var(--navy) 100%);
	color: rgba(255, 255, 255, .85);
}

@media (min-width: 768px) {
	.submit-band {
		grid-template-columns: 1fr auto;
	}

	.submit-band__cmt {
		grid-column: 1 / -1;
	}
}

.site-main .submit-band__title {
	font-family: var(--font-sans) !important;
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0;
	color: #fff;
	margin-bottom: 4px;
}

.submit-band__main p {
	font-size: .95rem !important;
}

.site-main .submit-band__cmt {
	padding-top: 14px !important;
	border-top: 1px solid rgba(255, 255, 255, .18);
	font-size: .8rem !important;
	line-height: 1.55;
	color: rgba(255, 255, 255, .72);
}

/* Tracks: 4 per row on desktop */
@media (min-width: 992px) {
	.track-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.track-grid .track {
	padding: 20px !important;
	gap: 12px;
}

.track-grid .track__num {
	font-size: 1.6rem;
}

/* Hosts: content-sized cards, stats beside the school card */
.hosts {
	display: grid;
	gap: 20px;
	align-items: start;
}

@media (min-width: 992px) {
	.hosts {
		grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
	}
}

.hosts__side {
	display: grid;
	gap: 16px;
}

.hosts .org-card {
	height: auto;
	gap: 12px;
	padding: 24px !important;
}

.org-card__head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.site-main .hosts .org-card h3 {
	font-size: 1.25rem;
}

.stat-row.stat-row--grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 0 !important;
}

.stat-row--grid .stat-pill {
	min-width: 0;
	background: var(--surface);
}

/* Past conferences: horizontal cards */
.past-grid {
	--min: 360px;
}

.past-card {
	display: grid;
	grid-template-columns: 42% 1fr;
	overflow: hidden;
}

.past-card__img {
	min-height: 100%;
	background: var(--brand-soft);
}

.past-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s var(--ease);
}

.past-card:hover .past-card__img img {
	transform: scale(1.04);
}

.past-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px !important;
}

.past-card__body .badge {
	width: max-content;
}

.site-main .past-card__body h3 {
	font-size: 1.25rem;
}

.past-card__body p {
	font-size: .9rem !important;
	color: var(--muted);
}

.past-card__body .text-link {
	margin-top: 4px;
}

@media (max-width: 479.98px) {
	.past-card {
		grid-template-columns: 1fr;
	}

	.past-card__img {
		aspect-ratio: 16 / 9;
	}
}

/* Compact CTA */
.cta.cta--compact {
	margin-top: clamp(28px, 4vw, 44px);
	padding: clamp(22px, 3.5vw, 32px) clamp(22px, 4vw, 36px) !important;
}

.site-main .cta--compact h2 {
	font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

.footer-values dd {
	text-align: justify;
	hyphens: auto;
	-webkit-hyphens: auto;
}

@media (max-width: 575.98px) {
	.date-card {
		padding: 14px;
	}

	.date-card__day {
		font-size: 1.5rem;
	}
}

/* =============================================================================
   Footer: compact layout
   ============================================================================= */

.site-footer {
	font-size: .88rem;
	line-height: 1.55;
}

/* Top row: university + partners on one line */
.footer-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 28px;
	padding-block: 18px;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.site-footer .footer-org {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #fff;
}

.site-footer .footer-org:hover {
	color: #fff;
}

.footer-org__logo {
	display: inline-flex;
	padding: 5px 9px;
	border-radius: 10px;
	background: #fff;
	flex: none;
}

.footer-org__logo img {
	display: block;
	height: 30px;
	width: auto;
}

.footer-org__text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.footer-org__name {
	font-family: var(--font-display) !important;
	font-size: 1.05rem;
	font-weight: 600;
}

.footer-org__place {
	font-size: .78rem;
	color: rgba(255, 255, 255, .6);
}

.footer-top .footer-partners {
	gap: 10px 16px;
	padding: 0;
	border: 0;
}

.footer-top .footer-partners__label {
	font-size: .68rem !important;
}

.footer-top .footer-partners__list {
	gap: 8px;
}

.site-footer .footer-top .footer-partners__list a {
	height: 44px;
	padding: 6px 12px;
	border-radius: 10px;
}

.footer-top .footer-partners__list img {
	height: 30px;
}

/* Main grid */
.footer-grid {
	gap: 24px 32px;
	padding-block: 24px;
}

@media (min-width: 768px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1200px) {
	.footer-grid {
		grid-template-columns: 1.25fr 1fr 1fr 1.1fr;
		gap: 36px;
	}
}

.footer-title {
	margin-bottom: 10px;
	font-size: .72rem;
}

.footer-values {
	gap: 8px;
	margin: 0;
}

.footer-values dt {
	font-size: .66rem;
}

.footer-values dd {
	margin-top: 0;
	font-size: .85rem;
}

/* Links in two columns */
.footer-links ul {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 16px;
}

.footer-contact ul {
	gap: 8px;
}

.footer-contact .icon {
	width: 16px;
	height: 16px;
}

.footer-map-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.footer-map-head .footer-title {
	margin-bottom: 10px;
}

.site-footer .footer-map-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: .8rem;
	font-weight: 600;
	color: #7fe0bf;
}

.footer-map-link .icon {
	width: 14px;
	height: 14px;
}

.footer-map-frame {
	border-radius: 10px;
}

.site-footer .map-fallback {
	min-height: 120px;
	padding: 12px;
}

/* Bottom bar */
.footer-bottom {
	gap: 8px 20px;
	padding-block: 12px;
	font-size: .78rem;
}

@media (max-width: 767.98px) {
	.footer-top {
		flex-direction: column;
		align-items: flex-start;
	}

	.footer-top .footer-partners {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-footer .footer-top .footer-partners__list a {
		height: 38px;
		padding: 5px 9px;
	}

	.footer-top .footer-partners__list img {
		height: 24px;
	}

	.footer-grid {
		gap: 20px;
		padding-block: 20px;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* =============================================================================
   Full-width (container-fluid) header and footer: content spans the whole
   screen with a shared side gutter instead of a centred max-width column.
   ============================================================================= */

:root {
	--edge-gutter: clamp(16px, 3vw, 48px);
}

.masthead__inner,
.site-nav__inner,
.site-footer .wrap {
	max-width: none;
	padding-left: var(--edge-gutter);
	padding-right: var(--edge-gutter);
}

@media (min-width: 992px) {
	.masthead__inner {
		max-width: none;
	}
}

.ticker__label {
	padding-left: var(--edge-gutter) !important;
}

/* Keep the footer map short on wide screens (Bootstrap .ratio uses this variable). */
.footer-map-frame .ratio {
	--bs-aspect-ratio: min(56.25%, 170px);
}

/* =============================================================================
   Footer: full-width grid
   About | For Authors | Conference | Get in touch | Locate us
   ============================================================================= */

.footer-grid {
	grid-template-columns: 1fr;
	gap: 22px 32px;
	padding-block: 26px;
}

/* Link lists are single short columns now (two groups side by side). */
.footer-links ul {
	grid-template-columns: 1fr;
	gap: 7px;
}

.site-footer .footer-links a {
	display: inline-block;
	color: rgba(255, 255, 255, .85);
	transition: color .2s var(--ease), transform .2s var(--ease);
}

.site-footer .footer-links a:hover {
	color: #7fe0bf;
	transform: translateX(2px);
}

.site-footer .footer-more-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	font-size: .82rem;
	font-weight: 600;
	color: #7fe0bf;
}

.footer-more-link .icon {
	width: 14px;
	height: 14px;
	transition: transform .2s var(--ease);
}

.footer-more-link:hover .icon {
	transform: translateX(3px);
}

/* Phones: link groups side by side, everything else stacked. */
@media (max-width: 767.98px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"about about"
			"authors conference"
			"contact contact"
			"map map";
	}
}

/* Tablets: two rows. */
@media (min-width: 768px) and (max-width: 1199.98px) {
	.footer-grid {
		grid-template-columns: 1.3fr .8fr .8fr;
		grid-template-areas:
			"about authors conference"
			"contact map map";
	}
}

/* Desktop / wide: five columns across the full width. */
@media (min-width: 1200px) {
	.footer-grid {
		grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1.35fr);
		grid-template-areas: "about authors conference contact map";
		gap: 40px;
	}
}

.footer-about { grid-area: about; }
.footer-links--authors { grid-area: authors; }
.footer-links--conference { grid-area: conference; }
.footer-contact { grid-area: contact; }
.footer-map-block { grid-area: map; }

@media (min-width: 1600px) {
	.footer-grid {
		gap: 56px;
	}
}

/* Align "Locate us" with the other column headings. */
.footer-map-head {
	align-items: flex-start;
	margin-bottom: 10px;
}

.footer-map-head .footer-title {
	margin-bottom: 0;
}

/* =============================================================================
   Responsive fixes (small screens)
   ============================================================================= */

/* Long unbroken strings (e.g. "Fest/Conference/Workshop/Event.") must wrap. */
.site-main :is(.steps li, .prose li, .check-list span, .contact-card__value) {
	overflow-wrap: anywhere;
}

/* Stat pills: fit three across on the narrowest phones. */
@media (max-width: 479.98px) {
	.stat-row--grid .stat-pill {
		padding: 10px !important;
	}

	.stat-row--grid .stat-pill strong {
		font-size: 1.05rem;
	}

	.stat-row--grid .stat-pill span {
		font-size: .7rem;
		line-height: 1.3;
		overflow-wrap: anywhere;
	}
}

/* Touch targets: at least 24px tall on touch-sized screens. */
@media (max-width: 767.98px) {
	.site-footer .footer-links a,
	.site-footer .footer-map-link,
	.site-footer .footer-more-link,
	.site-footer .footer-bottom a,
	.site-footer .footer-contact a {
		display: inline-flex;
		align-items: center;
		min-height: 28px;
	}

	.footer-links ul {
		gap: 2px;
	}
}

/* Carousel dots: 8px visual dot inside a 24px hit area. */
.hero-carousel .carousel-indicators [data-bs-target] {
	box-sizing: border-box;
	width: 24px;
	height: 24px;
	margin-inline: 0;
	padding: 8px;
	border: 0;
	border-radius: 50%;
	background-color: #fff;
	background-clip: content-box;
	opacity: .5;
}

.hero-carousel .carousel-indicators .active {
	opacity: 1;
}

/* =============================================================================
   Masthead: responsive scale (width-based, readable at every size)
   Phones < 576px · Tablets 576–991px · Desktop ≥ 992px (title/theme on one line)
   ============================================================================= */

/* ---- Base = phones -------------------------------------------------------- */
.masthead {
	--mh-gap: 10px;
}

.masthead .masthead__inner {
	padding-top: 18px;
	padding-bottom: 20px;
}

.masthead__logo-link {
	padding: 5px 12px;
	border-radius: 14px;
}

.masthead .masthead__logo {
	height: 40px;
}

.masthead__intro {
	margin-top: 12px;
}

.masthead #conf-title {
	max-width: 26ch;
	margin-inline: auto;
	font-size: 1.3rem;
	line-height: 1.2;
	letter-spacing: -0.01em;
	white-space: normal;
	text-wrap: balance;
}

.masthead .masthead__theme {
	max-width: 34ch;
	margin: 10px auto 0;
	font-size: .95rem;
	line-height: 1.45;
	white-space: normal;
	text-wrap: balance;
}

.masthead__theme-label {
	display: block;
	margin: 0 0 4px;
	font-size: .68rem;
	vertical-align: baseline;
}

/* Organiser line flows as one sentence and wraps naturally. */
.masthead__orgs {
	display: block;
	max-width: 60ch;
	margin: 14px auto 0;
	text-align: center;
}

.masthead__orgs h3 {
	display: inline;
}

.masthead .masthead__org-label,
.masthead .masthead__org {
	font-size: .92rem;
	line-height: 1.55;
}

.masthead .masthead__org-label {
	margin: 0 .3em 0 0;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: var(--muted);
}

.masthead .masthead__org {
	margin: 0;
}

.masthead .masthead__org + .masthead__org {
	margin-left: .25em;
}

.masthead .masthead__org + .masthead__org::before {
	content: none;
}

.masthead .masthead__date {
	margin: 14px 0 0;
	padding: 7px 16px;
	font-size: .88rem;
}

.masthead .masthead__rule {
	display: block;
	width: min(560px, 100%);
	margin: 16px auto;
}

/* Collaboration: label above, logos wrap onto as many rows as needed. */
.masthead__collab {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center;
	gap: 10px;
}

.masthead .masthead__collab-label {
	margin: 0;
	font-size: .7rem;
	letter-spacing: .12em;
}

.masthead__partners {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.masthead__partner {
	height: 52px;
	padding: 6px 12px;
	border-radius: 12px;
}

.masthead__partner img {
	height: 36px;
}

/* ---- Tablets -------------------------------------------------------------- */
@media (min-width: 576px) {
	.masthead {
		--mh-gap: 12px;
	}

	.masthead .masthead__inner {
		padding-top: 24px;
		padding-bottom: 24px;
	}

	.masthead .masthead__logo {
		height: 48px;
	}

	.masthead #conf-title {
		max-width: 30ch;
		font-size: 1.75rem;
		line-height: 1.15;
	}

	.masthead .masthead__theme {
		max-width: 46ch;
		font-size: 1.08rem;
	}

	.masthead .masthead__org-label,
	.masthead .masthead__org {
		font-size: 1rem;
	}

	.masthead .masthead__date {
		font-size: .92rem;
	}

	.masthead__collab {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		gap: 10px 18px;
	}

	.masthead__partners {
		gap: 10px;
	}

	.masthead__partner {
		height: 60px;
		padding: 8px 16px;
	}

	.masthead__partner img {
		height: 42px;
	}
}

/* ---- Desktop: title and theme each on a single line ----------------------- */
/* Title is ~41.5em wide and the theme ~37.7em (+ label); 100px covers the side
   gutters, scrollbar and a safety margin, so each line always fits. */
@media (min-width: 992px) {
	.masthead .masthead__inner {
		padding-top: 26px;
		padding-bottom: 24px;
	}

	.masthead .masthead__logo {
		height: 54px;
	}

	.masthead__intro {
		margin-top: 16px;
	}

	.masthead #conf-title {
		max-width: none;
		white-space: nowrap;
		font-size: min(2.4rem, calc((100vw - 100px) / 41.5));
	}

	.masthead .masthead__theme {
		max-width: none;
		margin-top: 12px;
		white-space: nowrap;
		font-size: min(1.25rem, calc((100vw - 100px) / 52));
	}

	.masthead__theme-label {
		display: inline;
		margin: 0 8px 0 0;
		vertical-align: 1px;
	}

	.masthead__orgs {
		max-width: none;
		margin-top: 14px;
	}

	.masthead .masthead__date {
		margin-top: 14px;
		padding: 8px 18px;
		font-size: .95rem;
	}

	.masthead .masthead__rule {
		margin: 20px auto 18px;
	}

	.masthead__collab {
		gap: 10px 22px;
	}

	.masthead__partners {
		gap: 12px;
	}
}

@media (min-width: 1600px) {
	.masthead .masthead__logo {
		height: 60px;
	}

	.masthead__partner {
		height: 64px;
	}

	.masthead__partner img {
		height: 46px;
	}
}

@media (max-width: 767.98px) {
	.site-main .text-link {
		min-height: 24px;
	}
}
