/* ==========================================================================
   CEFTA theme — design system
   1. Tokens          6. Homepage hero      11. Inner pages
   2. Base            7. Sections           12. Content (prose)
   3. Utilities       8. Lists and tables   13. Forms and notices
   4. Buttons, chips  9. Cards              14. Footer
   5. Header         10. Navigation bits    15. Responsive, motion, print
   ========================================================================== */

/* 1. Tokens
   ========================================================================== */
:root {
	--ink: #122452;
	--ink-muted: #4d5a7a;
	--accent: #204090;
	--brand: #17306e;
	--brand-raised: #1f3c82;
	--brand-raised-hover: #284a98;
	--brand-line: #3b57a0;
	--brand-outline: #4f6bb3;
	--brand-border: #2f4a8c;
	--on-brand: #ffffff;
	--on-brand-muted: #c9d4f0;
	--sun: #f8c028;
	--sun-hover: #ffd257;
	--sun-soft: #ffe9a8;
	--line: #dfe4ef;
	--line-soft: #e3e8f3;
	--field: #b8c2d9;
	--wash: #f2f5fb;
	--white: #ffffff;
	--success: #1a7f4b;
	--danger: #b42318;

	--font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--container: 1440px;
	--gutter: 32px;
	--header-h: 83px;

	--radius-s: 12px;
	--radius-m: 16px;
	--radius-l: 18px;
	--radius-xl: 20px;
	--radius-pill: 999px;

	--ease: cubic-bezier(.165, .84, .44, 1);
}

/* 2. Base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: 24px;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--ink);
	text-underline-offset: .14em;
}

a:hover {
	color: var(--accent);
}

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
}

.on-dark :focus-visible {
	outline-color: var(--sun);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-weight: 600;
	line-height: 1.15;
}

p {
	margin: 0;
}

address {
	font-style: normal;
}

[hidden] {
	display: none !important;
}

.site-main:focus {
	outline: 0;
}

/* 3. Utilities
   ========================================================================== */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.visually-hidden,
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	z-index: 100;
	top: 12px;
	left: 12px;
	padding: 12px 18px;
	border-radius: var(--radius-pill);
	background: var(--sun);
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
	transform: translateY(-200%);
}

.skip-link:focus {
	transform: none;
}

/* A link that makes its whole card clickable, while only the title is the link text. */
.stretched-link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.admin-hint {
	margin: 16px 0;
	padding: 12px 16px;
	border: 1.5px dashed var(--sun);
	border-radius: var(--radius-s);
	background: rgba(248, 192, 40, .08);
	font-size: 14px;
	color: inherit;
}

.on-dark .admin-hint a {
	color: var(--white);
}

.icon {
	flex: none;
	vertical-align: middle;
}

/* Branded placeholder when a post has no image. */
.media-ph {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 16 / 10;
	border-radius: var(--radius-m);
	background-color: var(--brand);
	background-image: radial-gradient(circle, #3b57a0 1.7px, transparent 1.9px);
	background-size: 11.4px 11.4px;
}

.media-ph.media-ph {
	display: flex;
}

.media-ph__mark {
	width: 34%;
	max-width: 120px;
	height: auto;
}

/* 4. Buttons, chips, badges
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: 22px;
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s var(--ease);
}

.btn--sun {
	background: var(--sun);
	color: var(--ink);
}

.btn--sun:hover {
	background: var(--sun-hover);
	color: var(--ink);
}

.btn--ink {
	background: var(--ink);
	color: var(--white);
}

.btn--ink:hover {
	background: var(--accent);
	color: var(--white);
}

.btn--line {
	background: transparent;
	color: var(--ink);
	box-shadow: inset 0 0 0 1.5px var(--ink);
}

.btn--line:hover {
	background: var(--ink);
	color: var(--white);
}

.btn:hover {
	transform: translateY(-1px);
}

.btn:active {
	transform: none;
}

.btn--arrow .icon {
	transition: transform .25s var(--ease);
}

.btn--arrow:hover .icon {
	transform: translateX(4px);
}

.btn--ghost {
	background: transparent;
	color: var(--white);
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55);
}

.btn--ghost:hover {
	background: var(--white);
	color: var(--ink);
}

.btn--large {
	height: 52px;
	padding: 0 24px;
	border-radius: 26px;
}

.btn--block {
	width: 100%;
}

.icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 47px;
	height: 47px;
	border-radius: 24px;
	border: 1.5px solid var(--brand-outline);
	color: var(--white);
	transition: border-color .15s ease;
}

.icon-btn:hover,
.icon-btn[aria-expanded="true"] {
	border-color: var(--white);
	color: var(--white);
}

.chips__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.chip {
	display: inline-flex;
	align-items: center;
	height: 36px;
	padding: 0 14px;
	border: 1px solid transparent;
	border-radius: 28px;
	background: var(--wash);
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color .15s ease, background-color .15s ease;
}

.chips--on-wash .chip {
	background: var(--white);
}

.chip:hover {
	border-color: var(--ink);
	color: var(--ink);
}

.chip.is-current {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--white);
}

.badge {
	display: inline-block;
	padding: 3px 10px;
	border: 1px solid var(--line);
	border-radius: 28px;
	background: var(--white);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
	white-space: nowrap;
}

.badge--open {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding-left: 9px;
	border: 1.5px solid var(--accent);
	background: var(--white);
	color: var(--accent);
	font-weight: 700;
}

.badge--open::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 3px rgba(32, 64, 144, .15);
}

.on-dark .badge {
	border-color: var(--brand-outline);
	background: transparent;
	color: var(--white);
}

.on-dark .badge--open {
	border-color: var(--white);
	background: var(--white);
	color: var(--accent);
}

/* 5. Header
   ========================================================================== */
.masthead {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
	color: var(--white);
	transition: transform .35s var(--ease);
}

/* Solid background that fades in once the page scrolls (transparent over the homepage hero). */
.masthead__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--brand);
	transition: opacity .3s ease, box-shadow .3s ease;
}

.has-home-hero .masthead:not(.is-scrolled):not(.is-nav-open):not(.is-search-open) .masthead__bg {
	opacity: 0;
}

.masthead.is-scrolled .masthead__bg {
	box-shadow: 0 10px 30px rgba(8, 20, 52, .28);
}

.masthead.is-hidden {
	transform: translateY(-110%);
}

.site-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 28px;
	padding-block: 18px;
}

.site-logo {
	display: inline-flex;
	flex: none;
}

.site-logo__img {
	display: block;
	width: 200px;
	height: auto;
}

.site-nav {
	margin-left: auto;
}

.site-nav__list,
.site-nav__extra {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 26px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
	font-weight: 500;
}

.site-nav a {
	padding-bottom: 4px;
	background: linear-gradient(var(--sun), var(--sun)) left bottom / 0 2px no-repeat;
	color: var(--white);
	text-decoration: none;
	transition: background-size .3s var(--ease);
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a,
.site-nav .current-page-ancestor > a,
.site-nav .current_page_parent > a {
	color: var(--white);
	background-size: 100% 2px;
}

.site-nav__extra {
	display: none;
}

.site-header__cta {
	flex: none;
}

.nav-toggle {
	display: none;
}

.search-panel {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	padding: 20px 0 32px;
	border-top: 1px solid var(--brand-line);
	background: var(--brand);
	box-shadow: 0 24px 48px rgba(8, 20, 52, .35);
	animation: drop-in .3s var(--ease);
}

.search-panel .search-bar {
	margin: 0;
}

@keyframes drop-in {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: none; }
}

/* 6. Homepage hero (compact)
   ========================================================================== */
.home-hero {
	position: relative;
	margin-top: calc(-1 * var(--header-h));
	padding-top: var(--header-h);
	overflow: hidden;
	background: radial-gradient(120% 140% at 85% 35%, #1e3c85 0%, var(--brand) 58%);
	color: var(--white);
}

.home-hero__map {
	position: absolute;
	z-index: 0;
	top: 0;
	right: 0;
	bottom: 0;
	left: 42%;
	/* The dots melt into the blue on every side: a long fade on the left (under
	   the text) and soft fades at the top, right and bottom, so no edge shows. */
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 92%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 92%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-composite: intersect;
}

.home-hero__map svg {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
}

.home-hero__body {
	position: relative;
	z-index: 1;
	padding-block: 64px 76px;
}

.home-hero__text {
	width: 52%;
	max-width: 620px;
}

.home-hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 22px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .01em;
	color: var(--on-brand-muted);
}

.home-hero__eyebrow::before {
	content: "";
	flex: none;
	width: 28px;
	height: 3px;
	border-radius: 2px;
	background: var(--sun);
}

.lg-stack {
	display: grid;
}

.lg-w {
	grid-area: 1 / 1;
	visibility: hidden;
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .55s var(--ease), transform .55s var(--ease), visibility 0s linear .55s;
}

.lg-w.is-active {
	visibility: visible;
	opacity: 1;
	transform: none;
	transition: opacity .7s var(--ease) .12s, transform .7s var(--ease) .12s, visibility 0s;
}

.lg-w__title {
	font-size: clamp(40px, 4.6vw, 68px);
	line-height: .98;
	font-weight: 600;
	letter-spacing: -.04em;
	text-wrap: balance;
}

.lg-w__caption {
	max-width: 520px;
	margin-top: 16px;
	font-size: 18px;
	line-height: 1.5;
	color: var(--on-brand-muted);
}

.hero-controls {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 26px;
}

.lg-ticks {
	display: flex;
	gap: 6px;
	width: 150px;
}

.lg-t {
	flex: 1;
	height: 3px;
	overflow: hidden;
	border-radius: 2px;
	background: var(--brand-line);
}

.lg-t span {
	display: block;
	height: 100%;
	background: var(--sun);
	transform: scaleX(0);
	transform-origin: left;
}

.lg-t.is-done span {
	transform: scaleX(1);
}

.lg-t.is-active span {
	animation: tick-fill var(--hero-interval, 5.2s) linear forwards;
}

.is-paused .lg-t.is-active span {
	animation-play-state: paused;
}

@keyframes tick-fill {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

.hero-pause {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1.5px solid var(--brand-outline);
	border-radius: 50%;
	background: transparent;
	color: var(--white);
	cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease;
}

.hero-pause:hover {
	border-color: var(--white);
	background: rgba(255, 255, 255, .08);
}

.hero-pause__icon--play,
.is-paused .hero-pause__icon--pause {
	display: none;
}

.is-paused .hero-pause__icon--play {
	display: block;
}

.home-hero__intro {
	max-width: 520px;
	margin-top: 22px;
	font-size: 17px;
	color: var(--on-brand-muted);
}

.home-hero__actions {
	margin-top: 30px;
}

/* Map animation (from the design). */
@keyframes ar-sweep { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes ar-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ar-pop { 0% { transform: scale(0); opacity: 0; } 60% { transform: scale(1.45); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes ar-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ar-ring { 0% { transform: scale(1); opacity: .9; } 60%, 100% { transform: scale(4); opacity: 0; } }
@keyframes ar-land { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(5); opacity: 0; } }

.ar-dots { animation: ar-sweep 1.8s var(--ease) both; }
.ar-arc { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ar-draw 1s var(--ease) forwards; }
.ar-cap { transform-box: fill-box; transform-origin: center; animation: ar-pop .55s var(--ease) both; }
.ar-glow { animation: ar-fade .9s ease both; }
.ar-lbl { animation: ar-fade .5s ease both; }
.ar-land { transform-box: fill-box; transform-origin: center; opacity: 0; animation: ar-land .9s var(--ease) forwards; }
.ar-ring { transform-box: fill-box; transform-origin: center; opacity: 0; animation: ar-ring 4.5s var(--ease) infinite; }

.is-paused .ar-ring {
	animation-play-state: paused;
}

/* Still version: chosen in the block settings, or asked for by the visitor's device (section 15). */
.is-static .ar-dots,
.is-static .ar-arc,
.is-static .ar-cap,
.is-static .ar-glow,
.is-static .ar-lbl {
	animation: none;
	stroke-dashoffset: 0;
}

.is-static .ar-ring,
.is-static .ar-ship,
.is-static .ar-head,
.is-static .ar-land {
	display: none;
}

/* Hero text entrance (CSS only, so it never depends on JavaScript finishing). */
.js .hero-in {
	animation: hero-in .9s var(--ease) both;
	animation-delay: calc(var(--d, 0) * 110ms + 120ms);
}

@keyframes hero-in {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

/* 7. Sections
   ========================================================================== */
.section {
	padding-block: 88px;
}

.section--wash {
	background: var(--wash);
}

.section--brand {
	background: var(--brand);
	color: var(--white);
}

.section--roomy {
	padding-block: 96px 88px;
}

.section--tight {
	padding-block: 72px 88px;
}

.section-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 6px 16px;
	margin-bottom: 8px;
}

.section-head__title {
	font-size: 34px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.02em;
}

.section-head__link {
	font-weight: 600;
}

.on-dark .section-head__link {
	color: var(--white);
}

.section-head--spaced {
	margin-top: 36px;
}

.section-head--large {
	align-items: flex-end;
	gap: 20px;
	margin-bottom: 28px;
}

.section-head--large .section-head__title {
	margin-bottom: 10px;
	font-size: 56px;
	line-height: 1.02;
	letter-spacing: -.03em;
}

.section-head__intro {
	max-width: 640px;
	font-size: 18px;
	color: var(--ink-muted);
}

.on-dark .section-head__intro {
	max-width: 560px;
	color: var(--on-brand-muted);
}

.home-tools .section-head {
	margin-bottom: 40px;
}

.home-tools .section-head__title {
	line-height: 1;
	letter-spacing: -.035em;
}

.home-tenders .section-head {
	margin-bottom: 20px;
}

.split-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 20px 64px;
	margin-bottom: 48px;
}

.split-head__title {
	flex: 1 1 520px;
	font-size: 56px;
	line-height: 1;
	letter-spacing: -.035em;
}

.split-head__intro {
	flex: 1 1 520px;
	font-size: 18px;
	color: var(--ink-muted);
}

/* Homepage news */
.home-news {
	padding-block: 88px 80px;
}

.home-news__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: 56px;
	align-items: start;
}

.feature-story {
	position: relative;
}

.feature-story__image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--radius-m);
}

.feature-story__date {
	margin-top: 18px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink-muted);
}

.feature-story__title {
	font-size: 36px;
	line-height: 1.12;
	letter-spacing: -.02em;
}

.feature-story__title a,
.news-row__title a,
.news-card__title a,
.tender-card__title a,
.area-card__title a,
.event-row__title,
.event-row__title a,
.result__title a,
.project-card__title a {
	color: var(--ink);
	text-decoration: none;
}

.feature-story:hover .feature-story__title a,
.news-row:hover .news-row__title a,
.news-card:hover .news-card__title a,
.tender-card:hover .tender-card__title a,
.area-card:hover .area-card__title a,
.event-row:hover .event-row__title,
.event-row:hover .event-row__title a,
.result:hover .result__title a,
.project-card:hover .project-card__title a {
	color: var(--accent);
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
}

/* 8. Lists and tables
   ========================================================================== */
.news-rows,
.event-rows,
.results {
	margin: 0;
	padding: 0;
	list-style: none;
}

.news-row {
	position: relative;
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr);
	gap: 20px;
	align-items: center;
	padding: 18px 0;
	border-top: 1px solid var(--line);
}

.news-row__image {
	display: block;
	width: 140px;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--radius-s);
}

.news-row .media-ph {
	aspect-ratio: 1;
	border-radius: var(--radius-s);
}

.news-row__date {
	font-size: 14px;
	color: var(--ink-muted);
}

.news-row__title {
	font-size: 20px;
	line-height: 1.3;
}

.event-row {
	position: relative;
	display: grid;
	grid-template-columns: 124px minmax(0, 1fr);
	gap: 16px;
	padding: 12px 0;
	border-top: 1px solid var(--line);
}

.event-row__date {
	font-weight: 600;
	color: var(--accent);
}

.event-row__title {
	font-weight: 500;
}

.event-row--full {
	grid-template-columns: 150px minmax(0, 1fr) 190px;
	gap: 24px;
	align-items: start;
	padding: 24px 0;
}

.event-row--full .event-row__date {
	font-size: 18px;
}

.event-row--full .event-row__title {
	font-size: 22px;
	line-height: 1.3;
	font-weight: 600;
}

.event-row__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
	font-size: 15px;
	color: var(--ink-muted);
}

.event-row__excerpt {
	margin-top: 8px;
	font-size: 16px;
	color: var(--ink-muted);
}

.event-row__action {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	font-size: 15px;
	font-weight: 600;
	color: var(--accent);
	text-align: right;
}

.event-rows--full {
	border-bottom: 1px solid var(--line);
}

/* Search bar */
.search-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 61px;
	margin-bottom: 14px;
	padding: 0 5px 0 18px;
	border: 1.5px solid var(--ink);
	border-radius: 28px;
	background: var(--white);
	color: var(--ink);
}

.search-bar:focus-within {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
}

.search-bar__input {
	flex: 1;
	min-width: 0;
	height: 46px;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 16px;
	color: var(--ink);
}

.search-bar__input:focus {
	outline: 0;
}

.search-bar__input::placeholder {
	color: #6b7694;
}

.search-bar__button {
	height: 46px;
	padding: 0 22px;
	border: 0;
	border-radius: 28px;
	background: var(--ink);
	color: var(--white);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.search-bar__button:hover {
	background: var(--accent);
}

.search-bar--on-dark {
	border-color: var(--white);
}

.search-bar--on-dark:focus-within {
	outline-color: var(--sun);
}

.search-bar--on-dark .search-bar__button {
	background: var(--sun);
	color: var(--ink);
}

.search-bar--on-dark .search-bar__button:hover {
	background: var(--sun-hover);
}

/* Documents table */
.doc-table {
	padding: 4px 24px 8px;
	border-radius: var(--radius-m);
	background: var(--white);
}

.doc-table__row {
	display: grid;
	grid-template-columns: 140px 200px minmax(0, 1fr) 200px 60px;
	gap: 20px;
	align-items: center;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}

.doc-table__row--head {
	padding: 12px 0;
	border-bottom: 2px solid var(--ink);
	font-size: 14px;
	font-weight: 700;
}

.doc-table__date {
	font-size: 15px;
	font-weight: 600;
}

.doc-table__instrument {
	font-size: 15px;
	color: var(--ink-muted);
}

.doc-table__title a {
	font-size: 18px;
	line-height: 1.35;
	font-weight: 600;
	text-decoration: none;
}

.doc-table__title a:hover {
	text-decoration: underline;
}

.doc-table__file {
	font-size: 14px;
	font-weight: 700;
}

/* 9. Cards
   ========================================================================== */
.area-cards,
.tool-cards,
.tender-cards,
.card-grid {
	margin: 0;
	padding: 0;
	list-style: none;
}

.area-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.area-card {
	position: relative;
	display: flex;
	flex-direction: column;
	margin-right: 28px;
	padding: 28px 28px 28px 0;
	border-top: 2px solid var(--ink);
}

.area-card__mark {
	display: block;
	margin-bottom: 18px;
}

.area-card__title {
	margin-bottom: 10px;
	font-size: 24px;
	line-height: 1.15;
	letter-spacing: -.015em;
}

.area-card__text {
	flex: 1;
	font-size: 16px;
	color: var(--ink-muted);
}

.area-card__more {
	margin-top: 16px;
	font-size: 15px;
	font-weight: 600;
	color: var(--accent);
}

.tool-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.tool-card {
	display: block;
	height: 100%;
	min-height: 150px;
	padding: 26px 26px 28px;
	border-radius: var(--radius-l);
	background: var(--brand-raised);
	color: var(--white);
	text-decoration: none;
	transition: background-color .15s ease;
}

.tool-card:hover {
	background: var(--brand-raised-hover);
	color: var(--white);
}

.tool-card__title {
	display: block;
	margin-bottom: 8px;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.3;
}

.tool-card__text {
	display: block;
	font-size: 15px;
	line-height: 1.5;
	color: var(--on-brand-muted);
}

.tool-card--outline {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 26px;
	border: 1.5px solid var(--brand-outline);
	background: transparent;
}

.tool-card--outline:hover {
	border-color: var(--white);
	background: transparent;
}

.tool-card--outline .tool-card__title {
	margin-bottom: 0;
}

.tender-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.tender-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 24px 26px;
	border-radius: var(--radius-m);
	background: var(--white);
	transition: box-shadow .2s ease;
}

.tender-card:hover {
	box-shadow: 0 8px 28px rgba(18, 36, 82, .1);
}

.tender-card__type {
	font-size: 14px;
	color: var(--ink-muted);
}

.tender-card__title {
	font-size: 19px;
	line-height: 1.35;
}

.tender-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin-top: auto;
	padding-top: 18px;
	font-size: 14px;
	color: var(--ink-muted);
}

.tender-card__deadline {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px 32px;
}

.news-card,
.project-card {
	position: relative;
	display: flex;
	flex-direction: column;
}

.news-card__image,
.project-card__image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--radius-m);
}

.news-card__meta,
.project-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	margin-top: 16px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink-muted);
}

.news-card__title,
.project-card__title {
	margin-top: 6px;
	font-size: 22px;
	line-height: 1.25;
	letter-spacing: -.01em;
}

.news-card__excerpt,
.project-card__excerpt {
	margin-top: 8px;
	font-size: 16px;
	color: var(--ink-muted);
}

/* 10. Navigation bits
   ========================================================================== */
.breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
	font-size: 15px;
	font-weight: 500;
}

.breadcrumbs__list li + li::before {
	content: "/";
	margin: 0 10px;
	color: var(--brand-outline);
}

.breadcrumbs a {
	color: var(--on-brand-muted);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--white);
	text-decoration: underline;
}

.tabs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 28px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--line);
}

.tabs__link {
	display: block;
	margin-bottom: -1px;
	padding: 12px 0;
	border-bottom: 3px solid transparent;
	color: var(--ink-muted);
	font-weight: 600;
	text-decoration: none;
}

.tabs__link:hover {
	color: var(--ink);
	border-bottom-color: var(--line);
}

.tabs__link.is-current {
	color: var(--ink);
	border-bottom-color: var(--sun);
}

.toolbar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px 24px;
	margin-bottom: 20px;
}

.toolbar .chips__list {
	margin: 0;
}

.result-count {
	font-size: 15px;
	color: var(--ink-muted);
}

/* Pagination: summary on the left, one compact bar of buttons on the right. */
.pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
	margin-top: 36px;
}

.pagination__summary {
	margin: 0;
	color: var(--ink-muted);
	font-size: 14.5px;
}

.pagination__summary strong {
	color: var(--ink);
	font-weight: 700;
}

.pagination__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px;
	margin: 0 0 0 auto;
	padding: 5px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--white);
	box-shadow: 0 6px 18px rgba(18, 36, 82, .05);
	list-style: none;
}

.pagination .page-numbers,
.pagination__step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 8px;
	border: 0;
	border-radius: 10px;
	background: none;
	color: var(--ink);
	font-size: 14.5px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease, transform .2s var(--ease);
}

.pagination a.page-numbers:hover {
	background: var(--wash);
	color: var(--accent);
}

.pagination .page-numbers.current {
	background: var(--brand);
	color: var(--white);
	box-shadow: 0 6px 14px rgba(23, 48, 110, .25);
}

.pagination .page-numbers.dots {
	min-width: 22px;
	padding: 0;
	color: var(--ink-muted);
}

.pagination__step {
	padding: 0;
	background: var(--wash);
}

.pagination__list li:first-child {
	margin-right: 6px;
}

.pagination__list li:last-child {
	margin-left: 6px;
}

a.pagination__step:hover {
	background: var(--ink);
	color: var(--white);
}

a.pagination__step[rel="prev"]:hover {
	transform: translateX(-2px);
}

a.pagination__step[rel="next"]:hover {
	transform: translateX(2px);
}

.pagination__step.is-disabled {
	background: none;
	color: var(--field);
}

.pagination a:focus-visible {
	outline: 3px solid var(--sun);
	outline-offset: 2px;
}

@media (max-width: 560px) {
	.pagination {
		justify-content: flex-end;
	}

	.pagination__summary {
		flex-basis: 100%;
		text-align: right;
	}

	.pagination .page-numbers,
	.pagination__step {
		min-width: 34px;
		height: 34px;
	}
}

.section-nav {
	position: sticky;
	top: 24px;
}

.section-nav__title {
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 700;
	color: var(--ink-muted);
}

.section-nav__title a {
	color: inherit;
	text-decoration: none;
}

.section-nav__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 2px solid var(--ink);
}

.section-nav__list a {
	display: block;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
	font-weight: 500;
	text-decoration: none;
	transition: padding .15s ease, box-shadow .15s ease;
}

.section-nav__list a:hover {
	color: var(--accent);
}

.section-nav__list a[aria-current="page"] {
	padding-left: 14px;
	box-shadow: inset 3px 0 0 var(--sun);
	color: var(--ink);
	font-weight: 700;
}

.share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	font-size: 14px;
}

.share__label {
	font-weight: 700;
	color: var(--ink-muted);
}

.share__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: 600;
}

/* 11. Inner pages
   ========================================================================== */
.page-hero {
	position: relative;
	overflow: hidden;
	background: var(--brand);
	color: var(--white);
}

.page-hero__art {
	position: absolute;
	z-index: 0;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(58%, 820px);
	pointer-events: none;
}

.page-hero__art svg {
	display: block;
	width: 100%;
	height: 100%;
}

.page-hero__inner {
	position: relative;
	z-index: 1;
	padding-block: 48px 72px;
}

.page-hero__title {
	max-width: 960px;
	font-size: 64px;
	line-height: 1.02;
	letter-spacing: -.035em;
}

.page-hero--compact .page-hero__title {
	font-size: 48px;
	line-height: 1.08;
	letter-spacing: -.025em;
}

.page-hero__intro {
	max-width: 660px;
	margin-top: 18px;
	font-size: 19px;
	color: var(--on-brand-muted);
}

.page-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin-top: 24px;
	font-size: 15px;
	font-weight: 500;
	color: var(--on-brand-muted);
}

.page-hero__meta > * {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.page-hero__meta .icon {
	color: var(--sun);
}

.page-hero__after {
	margin-top: 32px;
	max-width: 760px;
}

.page-hero__after .search-bar {
	margin: 0;
}

.layout {
	display: grid;
	gap: 56px 64px;
	padding-block: 72px 96px;
}

.layout--sidebar {
	grid-template-columns: 280px minmax(0, 1fr);
	align-items: start;
}

.layout--aside {
	grid-template-columns: minmax(0, 1fr) 400px;
	align-items: start;
}

.layout--narrow > .prose,
.layout--narrow > .content-narrow {
	width: 100%;
	max-width: 760px;
	margin-inline: auto;
}

.layout__aside {
	position: sticky;
	top: 24px;
}

.archive-body {
	padding-block: 56px 96px;
}

.archive-body--wash {
	background: var(--wash);
}

.lead-image {
	margin: 0 0 40px;
}

.lead-image img,
.lead-image .media-ph {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--radius-m);
}

.lead-image figcaption {
	margin-top: 10px;
	font-size: 14px;
	color: var(--ink-muted);
}

.post-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	max-width: 760px;
	margin-top: 48px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.facts {
	padding: 28px;
	border-radius: var(--radius-l);
	background: var(--wash);
}

.facts__title {
	margin-bottom: 16px;
	font-size: 20px;
}

.facts__list {
	margin: 0;
}

.facts__list dt {
	font-size: 14px;
	font-weight: 600;
	color: var(--ink-muted);
}

.facts__list dd {
	margin: 2px 0 16px;
	font-size: 17px;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.facts__list dd:last-child {
	margin-bottom: 0;
}

.facts__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 24px;
}

.facts__actions .btn {
	width: 100%;
	white-space: normal;
	text-align: center;
	line-height: 1.2;
	min-height: 48px;
	height: auto;
	padding-block: 10px;
}

.related {
	padding-block: 72px 88px;
	background: var(--wash);
}

.related .section-head {
	margin-bottom: 24px;
}

.empty {
	padding: 40px;
	border-radius: var(--radius-l);
	background: var(--wash);
}

.archive-body--wash .empty {
	background: var(--white);
}

.empty__title {
	font-size: 24px;
}

.empty__text {
	max-width: 620px;
	margin-top: 8px;
	color: var(--ink-muted);
}

.empty__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 20px;
}

.results .result {
	position: relative;
	padding: 24px 0;
	border-top: 1px solid var(--line);
}

.results .result:last-child {
	border-bottom: 1px solid var(--line);
}

.result__type {
	font-size: 14px;
	font-weight: 600;
	color: var(--accent);
}

.result__title {
	margin-top: 4px;
	font-size: 22px;
	line-height: 1.3;
}

.result__excerpt {
	max-width: 820px;
	margin-top: 6px;
	color: var(--ink-muted);
}

.overview {
	padding-block: 72px 24px;
}

.news-lead {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: 24px 56px;
	align-items: center;
	margin-bottom: 64px;
	padding-bottom: 56px;
	border-bottom: 1px solid var(--line);
}

.news-lead .feature-story__date {
	margin-top: 0;
}

.news-lead__excerpt {
	margin-top: 14px;
	font-size: 18px;
	color: var(--ink-muted);
}

.news-topics .chips__list {
	margin-bottom: 40px;
}

.layout--form {
	grid-template-columns: minmax(0, 1fr) 560px;
	align-items: start;
}

.contact-intro {
	margin-bottom: 32px;
}

.contact-details__value {
	display: block;
	color: var(--ink);
	text-decoration: none;
}

a.contact-details__value:hover {
	color: var(--accent);
	text-decoration: underline;
}

.contact-details__item a:not(.contact-details__value) {
	display: inline-block;
	margin-top: 6px;
	font-size: 15px;
	font-weight: 600;
}

.layout--full {
	padding-inline: var(--gutter);
}

.layout > .post-footer,
.layout > .lead-image {
	margin-top: 0;
	margin-bottom: 0;
}

.layout--narrow {
	row-gap: 40px;
}

.notice--info {
	border-color: var(--ink-muted);
}

.notice--info .icon {
	color: var(--ink-muted);
}

.tools-page {
	padding-block: 72px 96px;
}

.not-found__links {
	margin-top: 48px;
}

/* 12. Content (block editor output)
   ========================================================================== */
.prose {
	font-size: 18px;
	line-height: 1.65;
}

.prose > * {
	margin-block: 0;
}

.prose > * + * {
	margin-top: 1.15em;
}

.prose h2,
.prose h3,
.prose h4 {
	letter-spacing: -.015em;
}

.prose h2 {
	font-size: 34px;
	line-height: 1.15;
	letter-spacing: -.02em;
}

.prose h3 {
	font-size: 24px;
	line-height: 1.25;
}

.prose h4 {
	font-size: 20px;
	line-height: 1.3;
}

.prose > * + h2 {
	margin-top: 1.9em;
}

.prose > * + h3,
.prose > * + h4 {
	margin-top: 1.6em;
}

.prose > h2 + *,
.prose > h3 + *,
.prose > h4 + * {
	margin-top: .6em;
}

.prose a:not(.wp-block-button__link):not(.wp-block-file__button) {
	color: var(--accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.prose a:not(.wp-block-button__link):not(.wp-block-file__button):hover {
	color: var(--ink);
	text-decoration-thickness: 2px;
}

.prose ul,
.prose ol {
	padding-left: 1.3em;
}

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

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

.prose strong {
	font-weight: 600;
}

.prose blockquote,
.prose .wp-block-quote {
	margin-inline: 0;
	padding: 4px 0 4px 24px;
	border-left: 4px solid var(--sun);
	font-size: 22px;
	line-height: 1.45;
	font-weight: 500;
}

.prose blockquote cite,
.prose .wp-block-quote cite {
	display: block;
	margin-top: 10px;
	font-size: 15px;
	font-style: normal;
	font-weight: 600;
	color: var(--ink-muted);
}

.prose .wp-block-pullquote {
	padding: 32px 0;
	border-block: 2px solid var(--ink);
	text-align: left;
}

.prose figure {
	margin-inline: 0;
}

.prose img {
	border-radius: var(--radius-m);
}

.prose figcaption,
.prose .wp-element-caption {
	margin-top: 10px;
	font-size: 14px;
	color: var(--ink-muted);
}

.prose hr,
.prose .wp-block-separator {
	margin-block: 2.5em;
	border: 0;
	border-top: 1px solid var(--line);
}

.prose .wp-block-table {
	overflow-x: auto;
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

.prose th {
	padding: 10px 12px 10px 0;
	border-bottom: 2px solid var(--ink);
	font-size: 14px;
	font-weight: 700;
	text-align: left;
}

.prose td {
	padding: 12px 12px 12px 0;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}

.prose .wp-block-table thead,
.prose .wp-block-table tfoot {
	border: 0;
}

.prose .wp-block-table td,
.prose .wp-block-table th {
	border-left: 0;
	border-right: 0;
	border-top: 0;
}

.prose .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 10px 22px;
	border-radius: 24px;
	background: var(--ink);
	color: var(--white);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
}

.prose .wp-block-button__link:hover {
	background: var(--accent);
	color: var(--white);
}

.prose .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--ink);
	box-shadow: inset 0 0 0 1.5px var(--ink);
}

.prose .wp-block-file {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	padding: 16px 20px;
	border-radius: var(--radius-m);
	background: var(--wash);
	font-weight: 600;
}

.prose .wp-block-file:not(.wp-element-button) {
	font-size: 17px;
}

.prose .wp-block-file__button {
	display: inline-flex;
	align-items: center;
	height: 40px;
	margin: 0;
	padding: 0 18px;
	border-radius: 20px;
	background: var(--ink);
	color: var(--white);
	font-size: 15px;
	text-decoration: none;
}

.prose details {
	border-top: 1px solid var(--line);
	padding: 14px 0;
}

.prose details:last-of-type {
	border-bottom: 1px solid var(--line);
}

.prose summary {
	font-size: 19px;
	font-weight: 600;
	cursor: pointer;
}

.prose details > * + * {
	margin-top: .8em;
}

.prose .has-background {
	padding: 28px 32px;
	border-radius: var(--radius-l);
}

.prose ul:has(> li > img),
.prose ul:has(> li > a > img) {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 12px;
	padding: 0;
	list-style: none;
}

.prose ul:has(> li > img) li,
.prose ul:has(> li > a > img) li {
	margin: 0;
}

.prose ul:has(> li > img) img,
.prose ul:has(> li > a > img) img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius-s);
}

.prose .wp-block-embed iframe {
	max-width: 100%;
}

/* Full-width template: wide and full alignments break out of the reading column. */
.layout--full .prose > * {
	max-width: 760px;
	margin-inline: auto;
}

.layout--full .prose > .alignwide {
	max-width: 1120px;
}

.layout--full .prose > .alignfull {
	max-width: none;
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

/* 13. Forms and notices
   ========================================================================== */
.notice {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 16px;
	padding: 14px 18px;
	border-left: 4px solid;
	border-radius: var(--radius-s);
	background: var(--white);
	color: var(--ink);
}

.notice p {
	font-size: 15px;
	line-height: 1.5;
}

.notice--success {
	border-color: var(--success);
}

.notice--success .icon {
	color: var(--success);
}

.notice--error {
	border-color: var(--danger);
}

.notice--error .icon {
	color: var(--danger);
}

.layout .notice,
.contact-card .notice {
	background: var(--wash);
}

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

.form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.field label {
	display: block;
	margin-bottom: 6px;
	font-size: 15px;
	font-weight: 600;
}

.field input,
.field textarea,
.field select {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1.5px solid var(--field);
	border-radius: var(--radius-s);
	background: var(--white);
	color: var(--ink);
	font: inherit;
	font-size: 16px;
}

.field textarea {
	min-height: 180px;
	resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
	border-color: var(--ink);
	outline: 3px solid var(--accent);
	outline-offset: 2px;
}

.field__hint {
	margin-top: 6px;
	font-size: 14px;
	color: var(--ink-muted);
}

.field--check label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 15px;
	font-weight: 400;
}

.field--check input {
	flex: none;
	width: 20px;
	min-height: 0;
	height: 20px;
	margin: 2px 0 0;
	accent-color: var(--ink);
}

.req {
	color: var(--danger);
}

.form__submit {
	justify-self: start;
}

.contact-card {
	padding: 32px;
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	background: var(--white);
}

.contact-card__title {
	margin-bottom: 6px;
	font-size: 28px;
	letter-spacing: -.015em;
}

.contact-card__intro {
	margin-bottom: 24px;
	color: var(--ink-muted);
}

.contact-details {
	display: grid;
	gap: 24px;
}

.contact-details__item {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	gap: 14px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
}

.contact-details__item .icon {
	margin-top: 3px;
	color: var(--accent);
}

.contact-details__label {
	font-size: 14px;
	font-weight: 600;
	color: var(--ink-muted);
}

.contact-details__value {
	font-size: 18px;
	font-weight: 600;
}

/* Footer one-line form (newsletter). */
.inline-form {
	display: flex;
	height: 64px;
	padding: 4px;
	border-radius: 28px;
	background: var(--white);
}

.inline-form:focus-within {
	outline: 3px solid var(--sun);
	outline-offset: 3px;
}

.inline-form__input {
	flex: 1;
	min-width: 0;
	padding: 0 18px;
	border: 0;
	border-radius: 24px;
	color: var(--ink);
	font-family: inherit;
	font-size: 16px;
}

.inline-form__input:focus {
	outline: 0;
}

.inline-form__button {
	padding: 0 24px;
	border: 0;
	border-radius: 24px;
	background: var(--sun);
	color: var(--ink);
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}

.inline-form__button:hover {
	background: var(--sun-hover);
}

/* 14. Footer
   ========================================================================== */
.site-footer {
	background: var(--brand);
	color: var(--on-brand-muted);
}

.site-footer__newsletter {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	padding-block: 64px 40px;
	border-bottom: 1px solid var(--brand-border);
}

.site-footer__newsletter-title {
	flex: 1 1 420px;
	font-size: 36px;
	line-height: 1.1;
	letter-spacing: -.025em;
	color: var(--white);
}

.site-footer__newsletter-form {
	flex: 1 1 420px;
	max-width: 520px;
}

.site-footer__note {
	margin-top: 10px;
	font-size: 13px;
}

.site-footer__note a,
.site-footer__legal a {
	color: var(--white);
}

.site-footer__main {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	padding-block: 48px 32px;
}

.site-footer__logo {
	align-self: flex-start;
}

.site-footer__columns {
	flex: 1 1 760px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 28px;
	font-size: 15px;
}

.site-footer__main .admin-hint {
	flex-basis: 100%;
}

.footer-col {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.footer-col__title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.6;
	color: var(--white);
}

.footer-col__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-col__list a {
	color: var(--on-brand-muted);
	text-decoration: none;
}

.footer-col__list a:hover {
	color: var(--white);
	text-decoration: underline;
}

.footer-col__strong {
	color: var(--white);
}

.footer-col__strong:hover {
	color: var(--sun-soft);
}

.site-footer__funding {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 28px;
	padding-block: 20px 32px;
	border-top: 1px solid var(--brand-border);
	font-size: 13px;
}

.site-footer__eu-logo {
	display: block;
	width: 168px;
	height: auto;
}

.site-footer__disclaimer {
	flex: 0 1 760px;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px 28px;
	padding-bottom: 28px;
}

.site-footer__legal {
	font-size: 13px;
}

.credit {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--white);
	font-size: 13px;
	text-decoration: none;
}

.credit:hover {
	color: var(--sun-soft);
}

.credit__muted {
	color: #aab2c2;
}

.credit__heart {
	display: block;
	width: 15px;
	height: 15px;
}

.credit__logo {
	display: block;
	width: auto;
	height: 11px;
}

/* 15. Responsive, motion, print
   ========================================================================== */
@media (max-width: 1300px) {
	:root {
		--header-h: 73px;
	}

	.site-header {
		gap: 12px;
		padding-block: 14px;
	}

	.site-logo__img {
		width: 180px;
	}

	.site-header__search,
	.site-header__cta {
		display: none;
	}

	.js .nav-toggle {
		display: inline-flex;
		align-items: center;
		height: 45px;
		margin-left: auto;
		padding: 0 16px;
		border: 1.5px solid currentColor;
		border-radius: 21px;
		background: transparent;
		color: var(--white);
		font: inherit;
		font-size: 15px;
		font-weight: 600;
		cursor: pointer;
	}

	.js .site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		max-height: calc(100vh - var(--header-h));
		max-height: calc(100dvh - var(--header-h));
		overflow-y: auto;
		padding: 16px var(--gutter) 32px;
		border-top: 1px solid var(--brand-line);
		background: var(--brand);
		box-shadow: 0 24px 48px rgba(8, 20, 52, .35);
	}

	.js .masthead.is-nav-open .site-nav {
		display: block;
	}

	.no-js .masthead__bg {
		opacity: 1 !important;
	}

	.no-js .site-nav {
		width: 100%;
		margin: 6px 0 10px;
	}

	.site-nav__list,
	.site-nav__extra {
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 14px;
		font-size: 19px;
	}

	.site-nav__extra {
		display: flex;
		margin-top: 14px;
		font-weight: 700;
	}
}

@media (max-width: 1180px) {
	.area-cards,
	.tool-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.area-card {
		margin-bottom: 8px;
	}

	.doc-table__row {
		grid-template-columns: 110px minmax(0, 1fr) 140px 52px;
	}

	.doc-table__instrument {
		display: none;
	}

	.layout--aside,
	.layout--form,
	.news-lead {
		grid-template-columns: minmax(0, 1fr);
	}

	.layout__aside {
		position: static;
	}

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

	.page-hero__title {
		font-size: 52px;
	}
}

@media (max-width: 960px) {
	.layout--sidebar {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.section-nav {
		position: static;
		order: 2;
	}

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

	.event-row--full {
		grid-template-columns: 130px minmax(0, 1fr);
	}

	.event-row--full .event-row__action {
		display: none;
	}
}

@media (max-width: 760px) {
	:root {
		--gutter: 16px;
	}

	.site-logo__img {
		width: 150px;
	}

	.section,
	.section--roomy,
	.section--tight,
	.home-news {
		padding-block: 56px;
	}

	.section-head__title {
		font-size: 30px;
		line-height: 1.1;
	}

	.section-head--large .section-head__title,
	.split-head__title {
		font-size: 36px;
		line-height: 1.05;
	}

	.split-head {
		margin-bottom: 32px;
	}

	.split-head__title,
	.split-head__intro {
		flex-basis: 100%;
	}

	.home-news__grid,
	.form__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.feature-story__title {
		font-size: 25px;
	}

	.news-row {
		grid-template-columns: 96px minmax(0, 1fr);
		gap: 14px;
	}

	.news-row__image {
		width: 96px;
	}

	.area-cards,
	.tool-cards,
	.tender-cards,
	.card-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.area-card {
		margin-right: 0;
	}

	.tool-card {
		min-height: 0;
	}

	/* Documents table: each row becomes a small stacked block. */
	.doc-table {
		padding: 4px 16px 8px;
	}

	.doc-table__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 2px;
	}

	.doc-table__row--head {
		display: none;
	}

	.doc-table__instrument {
		display: block;
		order: -1;
		font-size: 14px;
	}

	.doc-table__date {
		order: -2;
		font-size: 14px;
	}

	.doc-table__status,
	.doc-table__file {
		display: inline-block;
		margin-top: 6px;
	}

	.site-footer__newsletter-title {
		font-size: 28px;
	}

	.site-footer__funding {
		text-align: center;
	}

	.site-footer__funding > * {
		flex-basis: 100%;
	}

	.site-footer__eu-logo {
		flex: none;
		margin: 0 auto;
	}

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

	.page-hero__inner {
		padding-block: 32px 48px;
	}

	.page-hero__title,
	.page-hero--compact .page-hero__title {
		font-size: 38px;
		line-height: 1.08;
	}

	.page-hero__intro {
		font-size: 17px;
	}

	.page-hero__art {
		width: 100%;
		opacity: .45;
	}

	.layout {
		padding-block: 40px 64px;
	}

	.archive-body {
		padding-block: 32px 64px;
	}

	.prose {
		font-size: 17px;
	}

	.prose h2 {
		font-size: 28px;
	}

	.facts,
	.contact-card,
	.empty {
		padding: 22px;
	}

	.event-row--full {
		grid-template-columns: minmax(0, 1fr);
		gap: 6px;
	}

	/* Homepage hero: text first, then the map. */
	.home-hero {
		display: flex;
		flex-direction: column;
	}

	.home-hero__body {
		padding-block: 32px 0;
	}

	.home-hero__text {
		width: 100%;
	}

	.lg-w__title {
		font-size: 40px;
	}

	.lg-w__caption {
		font-size: 16px;
	}

	.home-hero > .home-hero__map {
		position: relative;
		inset: auto;
		order: 2;
		width: calc(100% + 32px);
		margin: 0 -16px;
		aspect-ratio: 840 / 600;
		-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 88%, transparent 100%), linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
		mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 88%, transparent 100%), linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
		-webkit-mask-composite: source-in;
		mask-composite: intersect;
	}

	.ar-dots {
		animation: none;
		clip-path: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}

	.ar-dots,
	.ar-arc,
	.ar-cap,
	.ar-glow,
	.ar-lbl,
	.js .hero-in {
		animation: none;
		stroke-dashoffset: 0;
	}

	.ar-ring,
	.ar-ship,
	.ar-head,
	.ar-land {
		display: none;
	}

	.js .reveal,
	.js .reveal-stagger > * {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
	}

	.masthead.is-hidden {
		transform: none;
	}
}

/* ==========================================================================
   16. Homepage sections (v1.1) and motion
   ========================================================================== */

/* Links with an arrow that moves on hover. */
.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--accent);
	font-weight: 600;
	text-decoration: none;
}

.link-arrow .icon {
	transition: transform .25s var(--ease);
}

.link-arrow:hover {
	color: var(--ink);
}

.link-arrow:hover .icon {
	transform: translateX(4px);
}

.on-dark .link-arrow {
	color: var(--sun);
}

.on-dark .link-arrow:hover {
	color: var(--white);
}

.section-head--row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 12px 24px;
	margin-bottom: 28px;
}

.section-head--row .section-head__title {
	font-size: 44px;
	line-height: 1.05;
	letter-spacing: -.03em;
}

/* Latest news */
.home-news {
	padding-block: 72px 48px;
}

.home-news__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

.news-feature {
	position: relative;
}

.media-zoom {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-xl);
}

.media-zoom img,
.media-zoom .media-ph {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 0;
	transition: transform .8s var(--ease);
}

.news-feature:hover .media-zoom img,
.news-feature:hover .media-zoom .media-ph {
	transform: scale(1.04);
}

.media-tag {
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 6px 12px;
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, .92);
	color: var(--ink);
	font-size: 13px;
	font-weight: 700;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.news-feature__date {
	margin-top: 20px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink-muted);
}

.news-feature__title {
	margin-top: 4px;
	font-size: 34px;
	line-height: 1.12;
	letter-spacing: -.02em;
}

.news-feature__title a {
	color: var(--ink);
	text-decoration: none;
}

.news-feature:hover .news-feature__title a {
	color: var(--accent);
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
}

.news-feature__excerpt {
	max-width: 640px;
	margin-top: 10px;
	font-size: 17px;
	color: var(--ink-muted);
}

.news-row__media {
	display: block;
	overflow: hidden;
	border-radius: var(--radius-s);
}

.news-row__media img,
.news-row__media .media-ph {
	border-radius: 0;
	transition: transform .6s var(--ease);
}

.news-row:hover .news-row__media img {
	transform: scale(1.06);
}

.news-row__cat {
	font-weight: 600;
	color: var(--accent);
}

/* Events and meetings */
.home-agenda {
	padding-block: 24px 96px;
}

.agenda-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	align-items: stretch;
}

.agenda-panel {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 36px;
	overflow: hidden;
	border-radius: 24px;
}

.agenda-panel--events {
	background: var(--wash);
}

.agenda-panel--meetings {
	background: var(--brand);
	color: var(--white);
}

/* A faint trade arc in the corner of the meetings panel. */
.agenda-panel--meetings::after {
	content: "";
	position: absolute;
	right: -40px;
	bottom: -30px;
	width: 300px;
	height: 140px;
	border: 6px solid rgba(248, 192, 40, .22);
	border-bottom: 0;
	border-radius: 300px 300px 0 0;
	pointer-events: none;
}

.agenda-panel__head {
	display: flex;
	align-items: center;
	gap: 14px;
}

.agenda-panel__icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--white);
	color: var(--accent);
}

.agenda-panel--meetings .agenda-panel__icon {
	background: rgba(255, 255, 255, .1);
	color: var(--sun);
}

.agenda-panel__title {
	font-size: 30px;
	letter-spacing: -.02em;
}

.agenda-panel__intro {
	max-width: 520px;
	margin-top: 12px;
	font-size: 16px;
	color: var(--on-brand-muted);
}

.agenda-panel__empty {
	margin: 20px 0;
	color: var(--ink-muted);
}

.agenda-panel--meetings .agenda-panel__empty {
	color: var(--on-brand-muted);
}

.agenda-panel__more {
	position: relative;
	z-index: 2;
	margin-top: auto;
	padding-top: 24px;
}

.event-cards,
.meeting-list,
.opp-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.event-cards {
	margin-top: 20px;
}

.event-card {
	position: relative;
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr) 24px;
	gap: 18px;
	align-items: center;
	padding: 14px 18px 14px 14px;
	border-radius: 18px;
	background: var(--white);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.event-card + .event-card {
	margin-top: 12px;
}

.event-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 30px rgba(18, 36, 82, .1);
}

.date-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	border-radius: 16px;
	background: var(--brand);
	color: var(--white);
	text-align: center;
}

.date-tile__big {
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.02em;
}

.date-tile__small {
	margin-top: 4px;
	font-size: 12px;
	font-weight: 600;
	color: var(--on-brand-muted);
}

.event-card.is-past .date-tile {
	background: var(--line);
	color: var(--ink);
}

.event-card.is-past .date-tile__small {
	color: var(--ink-muted);
}

.event-card__title {
	font-size: 18px;
	line-height: 1.3;
}

.event-card__title a {
	color: var(--ink);
	text-decoration: none;
}

.event-card:hover .event-card__title a {
	color: var(--accent);
}

.event-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	margin-top: 6px;
	font-size: 14px;
	color: var(--ink-muted);
}

.event-card__place {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.event-card__arrow {
	color: var(--accent);
	transition: transform .25s var(--ease);
}

.event-card:hover .event-card__arrow {
	transform: translateX(4px);
}

.badge--muted {
	border-color: var(--line);
	background: var(--wash);
	color: var(--ink-muted);
}

/* Meetings: light by default (listing pages), dark inside .on-dark */
.meeting-list {
	margin-top: 12px;
}

.meeting {
	position: relative;
	padding: 20px 0;
	border-top: 1px solid var(--line);
}

.meeting__top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 6px 12px;
}

.meeting__body {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--accent);
}

.meeting__title {
	margin-top: 6px;
	font-size: 20px;
	line-height: 1.3;
}

.meeting__title a {
	color: var(--ink);
	text-decoration: none;
}

.meeting:hover .meeting__title a {
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
}

.meeting__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin-top: 8px;
	font-size: 14px;
	color: var(--ink-muted);
}

.meeting__meta > span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.meeting__files {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin-top: 10px;
	font-size: 14px;
	font-weight: 600;
}

.meeting__files a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.on-dark .meeting {
	border-top-color: rgba(255, 255, 255, .14);
}

.on-dark .meeting__body {
	color: var(--sun);
}

.on-dark .meeting__title a {
	color: var(--white);
}

.on-dark .meeting__meta {
	color: var(--on-brand-muted);
}

.on-dark .meeting__files a {
	color: var(--white);
}

.meeting-list--page .meeting {
	padding: 26px 0;
}

.meeting-list--page .meeting__title {
	font-size: 24px;
}

.meeting-list--page {
	border-bottom: 1px solid var(--line);
}

.meeting-list--row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 32px;
}

.related--dark {
	background: var(--brand);
	color: var(--white);
}

/* Our work: minimal editorial columns */
.home-work {
	padding-block: 96px;
}

.work-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--line);
	list-style: none;
}

.work-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 34px 32px 8px 0;
	transition: transform .4s var(--ease);
}

.work-card + .work-card {
	padding-left: 32px;
	border-left: 1px solid var(--line);
}

.work-card::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 100%;
	height: 3px;
	background: var(--sun);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .8s cubic-bezier(.65, .05, .36, 1);
}

.work-card:hover::before,
.work-card:focus-within::before {
	transform: scaleX(1);
}

.work-card__num {
	margin-bottom: 28px;
	color: var(--ink-muted);
	font-size: 13px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	letter-spacing: .08em;
}

.work-card__icon {
	display: none;
}

/* The trade arc of the original design; it redraws itself on hover. */
.work-card__arc {
	display: block;
	margin-bottom: 22px;
	overflow: visible;
}

.work-card__arc path {
	stroke-dasharray: 1;
	stroke-dashoffset: 0;
}

.work-card:hover .work-card__arc path,
.work-card:focus-within .work-card__arc path {
	animation: work-arc .8s cubic-bezier(.65, .05, .36, 1);
}

.work-card__arc circle {
	transition: transform .4s var(--ease);
	transform-box: fill-box;
	transform-origin: center;
}

.work-card:hover .work-card__arc circle:last-child {
	transform: scale(1.25);
}

@keyframes work-arc {
	from { stroke-dashoffset: 1; }
	to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.work-card:hover .work-card__arc path {
		animation: none;
	}
}

.area-icon {
	display: block;
}

.work-card__title {
	margin-bottom: 12px;
	font-size: 24px;
	line-height: 1.2;
	letter-spacing: -.015em;
}

.work-card__title a {
	color: var(--ink);
	text-decoration: none;
	transition: color .3s ease;
}

.work-card:hover .work-card__title a {
	color: var(--accent);
}

.work-card__text {
	flex: 1;
	color: var(--ink-muted);
	font-size: 15.5px;
	line-height: 1.6;
}

.work-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 24px;
	color: var(--ink);
	font-size: 14.5px;
	font-weight: 600;
}

.work-card__more .icon {
	transition: transform .3s var(--ease);
}

.work-card:hover .work-card__more .icon {
	transform: translateX(5px);
}

@media (max-width: 1180px) {
	.work-card:nth-child(odd) {
		padding-left: 0;
		border-left: 0;
	}

	.work-card:nth-child(n + 3) {
		margin-top: 24px;
		border-top: 1px solid var(--line);
	}
}

@media (max-width: 760px) {
	.work-card,
	.work-card + .work-card {
		padding: 26px 0 22px;
		border-left: 0;
	}

	.work-card + .work-card {
		margin-top: 0;
		border-top: 1px solid var(--line);
	}

	.work-card__num {
		margin-bottom: 12px;
	}
}

/* Tenders and careers */
.home-opps {
	padding-block: 88px;
}

.opps-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.opps-panel {
	display: flex;
	flex-direction: column;
	padding: 36px;
	border-radius: 24px;
	background: var(--white);
}

.opps-panel__head {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 14px;
}

.opps-panel__icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: var(--sun);
	color: var(--ink);
}

.opps-panel--tenders .opps-panel__icon {
	background: var(--brand);
	color: var(--sun);
}

.opps-panel__title {
	font-size: 30px;
	letter-spacing: -.02em;
}

.opps-panel__intro {
	margin-top: 4px;
	font-size: 16px;
	color: var(--ink-muted);
}

.opp-list {
	margin-bottom: 28px;
}

.opp {
	position: relative;
	padding: 18px 0;
	border-top: 1px solid var(--line);
}

.opp__label {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--ink-muted);
}

.opp__title {
	margin-top: 2px;
	font-size: 18px;
	line-height: 1.35;
}

.opp__title a {
	color: var(--ink);
	text-decoration: none;
}

.opp:hover .opp__title a {
	color: var(--accent);
	text-decoration: underline;
}

.opp__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 8px 16px;
	margin-top: 8px;
	font-size: 14px;
	color: var(--ink-muted);
}

.opp__meta > span:first-child {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.opps-panel__empty {
	margin-bottom: 28px;
	padding: 20px 22px;
	border-radius: 16px;
	background: var(--wash);
}

.opps-panel__empty p {
	color: var(--ink-muted);
}

.opps-panel__empty a {
	display: inline-block;
	margin-top: 6px;
	font-weight: 600;
}

.opps-panel__more {
	align-self: flex-start;
	margin-top: auto;
}

/* Ordinary blocks placed between the homepage sections. */
.home-blocks > :not(.cefta-section) {
	width: min(760px, calc(100% - 2 * var(--gutter)));
	margin: 64px auto;
	font-size: 18px;
	line-height: 1.65;
}

.home-blocks > .alignwide:not(.cefta-section) {
	width: min(1120px, calc(100% - 2 * var(--gutter)));
}

.home-blocks > .alignfull:not(.cefta-section) {
	width: 100%;
}

.home-blocks > h2:not(.cefta-section) {
	font-size: 34px;
	letter-spacing: -.02em;
}

.archive-intro {
	max-width: 760px;
	margin-bottom: 40px;
}

/* Cards lift on hover. */
.tender-card,
.news-card,
.project-card,
.tool-card {
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .2s ease, border-color .2s ease;
}

.tender-card:hover,
.tool-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 34px rgba(8, 20, 52, .14);
}

.news-card .news-card__image,
.project-card .project-card__image {
	transition: transform .7s var(--ease);
}

.news-card:hover .news-card__image,
.project-card:hover .project-card__image {
	transform: scale(1.02);
}

/* Scroll reveal (assets/js/main.js adds .reveal-ready and .is-revealed). */
.js .reveal,
.js .reveal-stagger > * {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .8s var(--ease), transform .8s var(--ease);
	transition-delay: calc(var(--i, 0) * 90ms);
}

.js .reveal.is-revealed,
.js .reveal-stagger.is-revealed > * {
	opacity: 1;
	transform: none;
}

/* Safety net: if the script never runs, show everything after a moment. */
.js:not(.reveal-ready) .reveal,
.js:not(.reveal-ready) .reveal-stagger > * {
	animation: reveal-fallback .01s 2.5s forwards;
}

@keyframes reveal-fallback {
	to { opacity: 1; transform: none; }
}

@media (max-width: 1300px) and (min-width: 1181px) {
	.site-nav__list {
		gap: 4px 20px;
	}
}

@media (max-width: 1180px) {
	.work-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-hero__text {
		width: 58%;
	}

	.home-hero__map {
		left: 46%;
	}

	.meeting-list--row {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 960px) {
	.home-news__grid,
	.agenda-grid,
	.opps-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 760px) {
	.section-head--row .section-head__title {
		font-size: 32px;
	}

	.home-news {
		padding-block: 48px 32px;
	}

	.home-agenda {
		padding-block: 16px 56px;
	}

	.news-feature__title {
		font-size: 26px;
	}

	.agenda-panel,
	.opps-panel {
		padding: 24px 20px;
	}

	.agenda-panel__title,
	.opps-panel__title {
		font-size: 25px;
	}

	.event-card {
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 14px;
	}

	.event-card__arrow {
		display: none;
	}

	.date-tile {
		width: 64px;
		height: 64px;
	}

	.date-tile__big {
		font-size: 22px;
	}

	.work-cards {
		grid-template-columns: minmax(0, 1fr);
	}

	.work-card {
		min-height: 0;
	}

	.home-hero__text {
		width: 100%;
	}

	.home-work,
	.home-opps {
		padding-block: 56px;
	}
}

@media print {
	.masthead,
	.search-panel,
	.site-footer__newsletter,
	.home-hero__map,
	.page-hero__art,
	.share,
	.pagination,
	.related,
	.skip-link {
		display: none !important;
	}

	.page-hero,
	.home-hero,
	.site-footer,
	.section--brand {
		background: none !important;
		color: #000 !important;
	}

	.home-hero {
		margin-top: 0;
		padding-top: 0;
	}

	.layout {
		display: block;
	}

	.prose a[href^="http"]::after {
		content: " (" attr(href) ")";
		font-size: 12px;
		word-break: break-all;
	}
}

/* ==========================================================================
   17. Page loader: white screen, the header's trade arc and the CEFTA logo
   ========================================================================== */
.page-loader {
	pointer-events: none;
}

/* White screen over the whole page while the next page loads. */
.page-loader__veil {
	position: fixed;
	z-index: 1000;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	visibility: hidden;
	opacity: 0;
	background: var(--white);
	transition: opacity .3s ease, visibility 0s linear .3s;
}

.is-loading .page-loader__veil {
	visibility: visible;
	opacity: 1;
	transition: opacity .2s ease, visibility 0s;
}

/* The arc of the header drawing itself, with the CEFTA logo under it. */
.page-loader__box {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity .35s ease, transform .45s var(--ease);
}

.is-loading .page-loader__box {
	opacity: 1;
	transform: none;
}

.page-loader__logo {
	display: block;
	width: 260px;
	max-width: 70vw;
	height: auto;
}

/* The trade arc of the header, drawing itself above the logo. */
.page-loader__arc {
	display: block;
	width: 240px;
	max-width: 60vw;
	height: auto;
	overflow: visible;
}

@media print {
	.page-loader {
		display: none !important;
	}
}

/* ==========================================================================
   18. Main menu dropdowns
   ========================================================================== */
.site-nav__list > li {
	position: relative;
	display: flex;
	align-items: center;
	gap: 2px;
}

.submenu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin-bottom: 4px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--on-brand-muted);
	cursor: pointer;
	transition: color .2s ease, background-color .2s ease;
}

.submenu-toggle:hover {
	background: rgba(255, 255, 255, .1);
	color: var(--white);
}

.submenu-toggle__icon {
	transition: transform .25s var(--ease);
}

.site-nav li.is-open > .submenu-toggle .submenu-toggle__icon {
	transform: rotate(180deg);
}

.site-nav .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav .sub-menu a {
	display: block;
	padding: 9px 12px;
	border-radius: 10px;
	background: none;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	text-decoration: none;
}

@media (min-width: 1301px) {
	.site-nav .sub-menu {
		position: absolute;
		z-index: 60;
		top: calc(100% + 16px);
		left: -14px;
		min-width: 270px;
		padding: 10px;
		visibility: hidden;
		opacity: 0;
		border-radius: 18px;
		background: var(--white);
		box-shadow: 0 22px 50px rgba(8, 20, 52, .22), 0 0 0 1px rgba(18, 36, 82, .06);
		transform: translateY(8px);
		transition: opacity .2s ease, transform .25s var(--ease), visibility 0s linear .25s;
	}

	/* Invisible bridge, so the pointer can travel from the link to the panel. */
	.site-nav .sub-menu::before {
		content: "";
		position: absolute;
		top: -16px;
		left: 0;
		right: 0;
		height: 16px;
	}

	/* Items near the right end of the bar: the dropdown opens towards the left,
	   so it stays on screen on small laptops. */
	.site-nav__list > li:nth-last-child(-n+3) > .sub-menu {
		left: auto;
		right: -14px;
	}

	/* Bigger submenus in two columns. */
	.site-nav .sub-menu:has(> li:nth-child(7)) {
		display: grid;
		grid-template-columns: repeat(2, minmax(230px, 1fr));
		gap: 0 6px;
		min-width: 540px;
	}

	.site-nav li.is-open > .sub-menu {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: opacity .2s ease, transform .25s var(--ease), visibility 0s;
	}

	.site-nav .sub-menu a {
		color: var(--ink);
	}

	.site-nav .sub-menu a:hover,
	.site-nav .sub-menu a:focus-visible {
		background: var(--wash);
		color: var(--accent);
	}

	.site-nav .sub-menu .current-menu-item > a,
	.site-nav .sub-menu .current_page_item > a {
		background: var(--wash);
		color: var(--accent);
		font-weight: 600;
	}

	.site-nav .sub-menu :focus-visible {
		outline-color: var(--accent);
	}
}

/* Open on hover only with a real mouse (touch screens use the button). */
@media (min-width: 1301px) and (hover: hover) {
	.site-nav li.menu-item-has-children:hover > .sub-menu {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: opacity .2s ease, transform .25s var(--ease), visibility 0s;
	}

	.site-nav li.menu-item-has-children:hover > .submenu-toggle .submenu-toggle__icon {
		transform: rotate(180deg);
	}
}

/* Small screens: submenus are an accordion inside the menu panel. */
@media (max-width: 1300px) {
	.site-nav__list > li {
		flex-wrap: wrap;
	}

	.submenu-toggle {
		width: 36px;
		height: 36px;
		margin-left: auto;
		margin-bottom: 0;
		border: 1.5px solid var(--brand-outline);
		border-radius: 50%;
	}

	.site-nav .sub-menu {
		display: none;
		flex-basis: 100%;
		margin: 8px 0 4px;
		padding-left: 14px;
		border-left: 2px solid var(--sun);
	}

	.site-nav li.is-open > .sub-menu,
	.no-js .site-nav .sub-menu {
		display: block;
	}

	.site-nav .sub-menu a {
		padding: 7px 0;
		color: var(--on-brand-muted);
		font-size: 17px;
	}

	.site-nav .sub-menu a:hover,
	.site-nav .sub-menu .current-menu-item > a {
		color: var(--white);
	}
}

/* ==========================================================================
   19. Photo gallery: mosaic and full-screen viewer
   ========================================================================== */
.gallery {
	position: relative;
	margin-block: 2em;
}

.article-media {
	position: relative;
	left: 50%;
	width: min(1180px, calc(100vw - 2 * var(--gutter)));
	transform: translateX(-50%);
}

.article-media .gallery {
	margin: 0;
}

.prose .mosaic,
.mosaic {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-rows: repeat(2, 230px);
	gap: 8px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border-radius: 22px;
	list-style: none;
}

.prose .mosaic li,
.mosaic__item {
	position: relative;
	margin: 0;
	overflow: hidden;
	background: var(--wash);
}

.mosaic__item:first-child {
	grid-column: span 2;
	grid-row: span 2;
}

.mosaic__item.is-extra {
	display: none;
}

/* Fewer photos: simpler layouts. */
.mosaic--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: 420px;
}

.mosaic--2 .mosaic__item:first-child {
	grid-column: auto;
	grid-row: auto;
}

.mosaic--3 {
	grid-template-columns: 2fr 1fr;
}

.mosaic--3 .mosaic__item:first-child {
	grid-column: auto;
}

.mosaic--4 {
	grid-template-columns: 2fr 1fr 1fr;
}

.mosaic--4 .mosaic__item:first-child {
	grid-column: auto;
}

.mosaic--4 .mosaic__item:nth-child(4) {
	grid-column: span 2;
}

.mosaic__open {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
}

.prose .mosaic__open img,
.mosaic__open img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	transition: transform .7s var(--ease), filter .4s ease;
}

.mosaic__open::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(8, 20, 52, 0);
	transition: background-color .3s ease;
}

.mosaic__open:hover img {
	transform: scale(1.05);
}

.mosaic__open:hover::after {
	background: rgba(8, 20, 52, .12);
}

.mosaic__open:focus-visible {
	outline: 3px solid var(--sun);
	outline-offset: -3px;
}

.mosaic__more {
	position: absolute;
	z-index: 1;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(8, 20, 52, .55);
	color: var(--white);
	font-size: 34px;
	font-weight: 600;
	letter-spacing: -.02em;
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}

.mosaic__all {
	position: absolute;
	right: 16px;
	bottom: 16px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border: 0;
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, .94);
	color: var(--ink);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	box-shadow: 0 10px 26px rgba(8, 20, 52, .22);
	cursor: pointer;
	transition: transform .25s var(--ease), background-color .2s ease;
}

.mosaic__all:hover {
	background: var(--sun);
	transform: translateY(-2px);
}

/* Full-screen viewer */
.has-lightbox {
	overflow: hidden;
}

.lightbox {
	width: 100vw;
	max-width: none;
	height: 100vh;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--white);
}

.lightbox::backdrop {
	background: rgba(6, 12, 30, .96);
}

.lightbox[open] {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
}

.lightbox__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 22px;
}

.lightbox__count {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--on-brand-muted);
}

.lightbox__stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	padding: 0 88px;
}

.lightbox__img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	border-radius: 12px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
	object-fit: contain;
}

.lightbox__img.is-in {
	animation: lightbox-in .4s var(--ease);
}

@keyframes lightbox-in {
	from { opacity: 0; transform: scale(.98); }
	to { opacity: 1; transform: none; }
}

.lightbox__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	color: var(--white);
	cursor: pointer;
	transition: background-color .2s ease, transform .2s var(--ease);
}

.lightbox__btn:hover {
	background: var(--sun);
	color: var(--ink);
}

.lightbox__btn:focus-visible {
	outline: 3px solid var(--sun);
	outline-offset: 3px;
}

.lightbox__prev,
.lightbox__next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.lightbox__prev {
	left: 22px;
}

.lightbox__next {
	right: 22px;
}

.lightbox__thumbs {
	display: flex;
	justify-content: safe center;
	gap: 8px;
	padding: 16px 22px 22px;
	overflow-x: auto;
	scrollbar-width: none;
}

.lightbox__thumb {
	flex: none;
	width: 84px;
	height: 56px;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 10px;
	background: rgba(255, 255, 255, .08);
	opacity: .45;
	cursor: pointer;
	transition: opacity .2s ease, box-shadow .2s ease;
}

.lightbox__thumb:hover {
	opacity: .85;
}

.lightbox__thumb.is-active {
	opacity: 1;
	box-shadow: 0 0 0 3px var(--sun);
}

.lightbox__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 760px) {
	.prose .mosaic,
	.mosaic {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: 220px repeat(2, 110px);
		border-radius: 16px;
	}

	.mosaic__item:first-child,
	.mosaic--3 .mosaic__item:first-child,
	.mosaic--4 .mosaic__item:first-child {
		grid-column: span 2;
		grid-row: auto;
	}

	.mosaic--2 {
		grid-template-rows: 220px;
	}

	.mosaic--2 .mosaic__item:first-child {
		grid-column: auto;
	}

	.mosaic--3 {
		grid-template-rows: 220px 130px;
	}

	.mosaic--4 .mosaic__item:nth-child(4) {
		grid-column: span 2;
	}

	.mosaic__all {
		right: 10px;
		bottom: 10px;
		padding: 8px 12px;
		font-size: 13px;
	}

	.lightbox__stage {
		padding: 0 10px;
	}

	.lightbox__prev,
	.lightbox__next {
		display: none;
	}
}

/* ==========================================================================
   20. Trade Info Center directory
   ========================================================================== */
.tools-dir {
	padding-block: 48px 96px;
	background: var(--wash);
}

.tools-dir__bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.tools-dir__count {
	font-size: 15px;
	font-weight: 600;
	color: var(--ink-muted);
}

.tool-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tool-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 240px;
	padding: 26px 26px 22px;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: var(--white);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}

.tool-tile[hidden] {
	display: none;
}

.tool-tile:hover {
	border-color: transparent;
	box-shadow: 0 22px 46px rgba(18, 36, 82, .14);
	transform: translateY(-5px);
}

.tool-tile__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin-bottom: 22px;
	border-radius: 16px;
	background: var(--wash);
	color: var(--accent);
	transition: background-color .35s var(--ease), color .35s var(--ease), transform .45s var(--ease);
}

.tool-tile:hover .tool-tile__icon {
	background: var(--brand);
	color: var(--sun);
	transform: rotate(-6deg) scale(1.05);
}

.tool-tile__title {
	font-size: 21px;
	line-height: 1.25;
	letter-spacing: -.01em;
}

.tool-tile__title a {
	color: var(--ink);
	text-decoration: none;
}

.tool-tile__text {
	flex: 1;
	margin-top: 8px;
	font-size: 15.5px;
	color: var(--ink-muted);
}

.tool-tile__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 22px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	font-size: 13px;
	font-weight: 600;
	color: var(--ink-muted);
}

.tool-tile__go {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--wash);
	color: var(--accent);
	transition: background-color .3s ease, color .3s ease, transform .3s var(--ease);
}

.tool-tile:hover .tool-tile__go {
	background: var(--sun);
	color: var(--ink);
	transform: translateX(3px);
}

.tools-dir__empty {
	padding: 32px;
	border-radius: 20px;
	background: var(--white);
	color: var(--ink-muted);
}

.tool-filter {
	max-width: 620px;
}

.tool-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: 16px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .08);
	color: var(--sun);
	transition: transform .4s var(--ease), background-color .3s ease;
}

.tool-card:hover .tool-card__icon {
	background: rgba(248, 192, 40, .16);
	transform: scale(1.06);
}

@media (max-width: 1180px) {
	.tool-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.tool-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.tool-tile {
		min-height: 0;
	}

	.tools-dir {
		padding-block: 28px 64px;
	}
}

/* ==========================================================================
   21. Contact page
   ========================================================================== */
.contact-layout {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px 56px;
	align-items: start;
}

.contact-office {
	margin-bottom: 24px;
	padding: 32px;
	border-radius: var(--radius-xl);
	background: var(--wash);
}

.contact-office__title {
	margin-bottom: 4px;
	font-size: 28px;
	letter-spacing: -.015em;
}

.contact-office .contact-details__item:first-child {
	border-top: 0;
}

.contact-points > h2 {
	margin-bottom: 20px;
	font-size: 28px;
}

/* Contact Points: an accordion of cards (Details blocks). main.js adds the
   initials, the contact rows and the open/close animation; without it the
   cards still open and close. */
.contact-points > .wp-block-details {
	position: relative;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	background: var(--white);
	color: var(--ink);
	transition: border-color .3s ease, box-shadow .45s var(--ease), transform .45s var(--ease);
}

.contact-points > .wp-block-details + .wp-block-details {
	margin-top: 10px;
}

/* Yellow edge that grows down the open card. */
.contact-points > .wp-block-details::before {
	content: "";
	position: absolute;
	z-index: 1;
	top: 0;
	bottom: 0;
	left: 0;
	width: 4px;
	background: var(--sun);
	transform: scaleY(0);
	transform-origin: 50% 0;
	transition: transform .55s var(--ease);
	pointer-events: none;
}

.contact-points > .wp-block-details:hover {
	border-color: var(--field);
	box-shadow: 0 10px 26px rgba(18, 36, 82, .08);
	transform: translateY(-2px);
}

.contact-points > .wp-block-details[open]:not(.is-closing) {
	border-color: transparent;
	box-shadow: 0 22px 48px rgba(18, 36, 82, .16), 0 0 0 1px rgba(18, 36, 82, .05);
	transform: none;
}

.contact-points > .wp-block-details[open]:not(.is-closing)::before {
	transform: scaleY(1);
}

.contact-points .wp-block-details summary {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px 14px 18px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	list-style: none;
	cursor: pointer;
}

.contact-points .wp-block-details summary::-webkit-details-marker {
	display: none;
}

.contact-points .wp-block-details summary:focus-visible {
	border-radius: var(--radius-m);
	outline-offset: -3px;
}

/* Without the script: the Party on the right and a chevron. */
.contact-points .wp-block-details summary em {
	margin-left: auto;
	color: var(--accent);
	font-size: 13px;
	font-style: normal;
	font-weight: 600;
	text-align: right;
}

.contact-points .wp-block-details summary::after {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	margin: -4px 4px 0 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .3s var(--ease), margin .3s var(--ease);
}

.contact-points .wp-block-details:not(:has(summary em)) summary::after {
	margin-left: auto;
}

.contact-points .wp-block-details[open] summary::after {
	margin-top: 4px;
	transform: rotate(-135deg);
}

.contact-points:not(.is-enhanced) .wp-block-details > :not(summary) {
	margin: 0;
	padding: 0 20px;
	color: var(--ink-muted);
	font-size: 15px;
	line-height: 1.55;
}

.contact-points:not(.is-enhanced) .wp-block-details > :not(summary) + :not(summary) {
	padding-top: 6px;
}

.contact-points:not(.is-enhanced) .wp-block-details > :last-child {
	padding-bottom: 18px;
}

/* With the script. */
.contact-points.is-enhanced .wp-block-details summary::after {
	content: none;
}

.cp-avatar {
	flex: none;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--wash);
	box-shadow: inset 0 0 0 1px var(--line-soft);
	color: var(--brand);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .03em;
	transition: background-color .35s ease, color .35s ease, box-shadow .35s ease;
}

.contact-points summary:hover .cp-avatar,
.contact-points [open]:not(.is-closing) .cp-avatar {
	background: var(--brand);
	box-shadow: none;
	color: var(--white);
}

.contact-points [open]:not(.is-closing) .cp-avatar {
	color: var(--sun);
	animation: cp-pop .6s var(--ease);
}

.cp-head {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.cp-name {
	color: var(--ink);
	font-size: 16px;
	font-weight: 600;
}

.cp-party {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--ink-muted);
	font-size: 13.5px;
	font-weight: 500;
}

.cp-party .icon {
	flex: none;
	color: var(--accent);
}

/* Plus that turns into a cross. */
.cp-toggle {
	position: relative;
	flex: none;
	width: 34px;
	height: 34px;
	margin-left: auto;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--white);
	transition: background-color .3s ease, border-color .3s ease, transform .55s var(--ease);
}

.cp-toggle::before,
.cp-toggle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	margin: -1px 0 0 -6px;
	border-radius: 2px;
	background: var(--ink);
	transition: background-color .3s ease;
}

.cp-toggle::after {
	transform: rotate(90deg);
}

.contact-points summary:hover .cp-toggle {
	border-color: var(--brand);
}

.contact-points [open]:not(.is-closing) .cp-toggle {
	border-color: var(--brand);
	background: var(--brand);
	transform: rotate(135deg);
}

.contact-points [open]:not(.is-closing) .cp-toggle::before,
.contact-points [open]:not(.is-closing) .cp-toggle::after {
	background: var(--white);
}

.cp-body {
	overflow: hidden;
}

.cp-body__inner {
	padding: 0 20px 20px 76px;
	transition: opacity .25s ease, transform .35s var(--ease);
}

.is-closing .cp-body__inner {
	opacity: 0;
	transform: translateY(-6px);
}

.prose.contact-points .cp-role {
	margin: 0 0 14px;
	color: var(--ink-muted);
	font-size: 14.5px;
	line-height: 1.55;
}

.prose.contact-points .cp-role:last-child {
	margin-bottom: 0;
}

.prose.contact-points .cp-rows {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.prose.contact-points .cp-rows > li + li {
	margin-top: 0;
}

.cp-row {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 14px 9px 9px;
	border-radius: var(--radius-s);
	background: var(--wash);
	transition: background-color .25s ease;
}

.cp-row__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--white);
	color: var(--accent);
	transition: background-color .25s ease, color .25s ease, transform .4s var(--ease);
}

.cp-row__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.35;
}

.cp-row__label {
	color: var(--ink-muted);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.cp-row__value {
	color: var(--ink);
	font-size: 15px;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.prose.contact-points .cp-row__value a {
	color: inherit;
	text-decoration: none;
}

.prose.contact-points .cp-row__value a:hover {
	color: var(--accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

/* One link per row: the whole row is the link. */
.prose.contact-points .cp-row--link .cp-row__value a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.cp-row__go {
	flex: none;
	display: grid;
	margin-left: auto;
	color: var(--accent);
	opacity: 0;
	transform: translateX(-8px);
	transition: opacity .25s ease, transform .4s var(--ease);
}

.cp-row--link:hover {
	background: var(--line-soft);
}

.cp-row--link:hover .cp-row__icon {
	background: var(--brand);
	color: var(--white);
	transform: scale(1.06);
}

.cp-row--link:hover .cp-row__go,
.cp-row--link:focus-within .cp-row__go {
	opacity: 1;
	transform: none;
}

/* Opening: the details slide in one after the other. */
.contact-points [open] [data-cp-anim] {
	animation: cp-in .5s var(--ease) backwards;
	animation-delay: calc(var(--i, 0) * 70ms + 90ms);
}

/* First view: the cards come in one after the other. */
.js .contact-points.is-enhanced.is-revealed > .wp-block-details {
	animation: cp-card-in .7s var(--ease) backwards;
	animation-delay: calc(var(--i, 0) * 60ms + 120ms);
}

@keyframes cp-in {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
}

@keyframes cp-card-in {
	from {
		opacity: 0;
		transform: translateY(18px) scale(.98);
	}
}

@keyframes cp-pop {
	0% {
		transform: scale(.86);
	}

	45% {
		transform: scale(1.12) rotate(-8deg);
	}

	100% {
		transform: none;
	}
}

@media (max-width: 760px) {
	.contact-points .wp-block-details summary {
		gap: 12px;
		padding: 12px 12px 12px 14px;
	}

	.cp-avatar {
		width: 40px;
		height: 40px;
		font-size: 13px;
	}

	.cp-body__inner {
		padding: 0 14px 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.contact-points > .wp-block-details,
	.contact-points [data-cp-anim],
	.contact-points .cp-avatar {
		animation: none !important;
	}

	.contact-points > .wp-block-details:hover {
		transform: none;
	}
}

.contact-points > p.has-small-font-size {
	margin-top: 16px;
	font-size: 13px;
	color: var(--ink-muted);
}

.contact-map {
	padding-bottom: 96px;
}

.contact-map__frame {
	display: block;
	width: 100%;
	height: 440px;
	border: 0;
	border-radius: var(--radius-xl);
	background: var(--wash);
}

.contact-map__link {
	margin-top: 14px;
}

@media (max-width: 1180px) {
	.contact-layout {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 760px) {
	.contact-office {
		padding: 22px;
	}

	.contact-map {
		padding-bottom: 56px;
	}

	.contact-map__frame {
		height: 320px;
	}
}

/* Sticky side boxes stay clear of the sticky header (and follow it when it hides). */
.layout__aside,
.section-nav {
	top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--header-h) + 24px);
	transition: top .35s var(--ease);
}

body:has(.masthead.is-hidden) .layout__aside,
body:has(.masthead.is-hidden) .section-nav {
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 24px);
}

/* Details shown as a full-width band (event or meeting without a description). */
.layout--solo {
	padding-block: 56px 80px;
}

.facts--band {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 24px 48px;
	align-items: center;
	padding: 32px 36px;
}

.facts--band .facts__title {
	grid-column: 1 / -1;
	margin-bottom: 0;
	font-size: 24px;
}

.facts--band .facts__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 18px 32px;
}

.facts--band .facts__list > div,
.facts--band .facts__list dt,
.facts--band .facts__list dd {
	margin: 0;
}

.facts--band .facts__actions {
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-end;
	margin-top: 0;
}

.facts--band .facts__actions .btn {
	width: auto;
	padding-inline: 22px;
}

.event-cards--row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 0;
}

.event-cards--row .event-card + .event-card {
	margin-top: 0;
}

@media (max-width: 960px) {
	.facts--band {
		grid-template-columns: minmax(0, 1fr);
	}

	.facts--band .facts__actions {
		justify-content: flex-start;
	}

	.event-cards--row {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ==========================================================================
   22. Resources: videos and publications
   ========================================================================== */
.videos-page,
.pubs-page {
	padding-block: 56px 96px;
}

.video-grid,
.pub-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.video-card--lead {
	grid-column: span 2;
	grid-row: span 2;
}

.video-card__play {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ink);
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.video-card__thumb {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: 18px;
	background: var(--brand);
}

.video-card__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .7s var(--ease);
}

.video-card__thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(8, 20, 52, .35));
}

.video-card__icon {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	padding-left: 4px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .94);
	color: var(--ink);
	box-shadow: 0 12px 30px rgba(8, 20, 52, .3);
	transform: translate(-50%, -50%);
	transition: transform .3s var(--ease), background-color .2s ease;
}

.video-card--lead .video-card__icon {
	width: 86px;
	height: 86px;
}

.video-card__play:hover .video-card__thumb img {
	transform: scale(1.05);
}

.video-card__play:hover .video-card__icon {
	background: var(--sun);
	transform: translate(-50%, -50%) scale(1.08);
}

.video-card__play:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 4px;
	border-radius: 18px;
}

.video-card__title {
	display: -webkit-box;
	margin-top: 12px;
	overflow: hidden;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.video-card--lead .video-card__title {
	font-size: 24px;
	letter-spacing: -.01em;
}

.video-card__play:hover .video-card__title {
	color: var(--accent);
}

.lightbox--video .lightbox__count {
	max-width: 70vw;
	overflow: hidden;
	color: var(--white);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.video-frame {
	width: min(1120px, 92vw);
	aspect-ratio: 16 / 9;
	max-height: 100%;
}

.video-frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 14px;
	background: #000;
}

.pub-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--white);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.pub-card:hover {
	box-shadow: 0 20px 44px rgba(18, 36, 82, .14);
	transform: translateY(-4px);
}

.pub-card__cover {
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--wash);
}

.pub-card__cover img,
.pub-card__cover .media-ph {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	border-radius: 0;
	object-fit: cover;
	transition: transform .7s var(--ease);
}

.pub-card:hover .pub-card__cover img {
	transform: scale(1.04);
}

.pub-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px 22px 22px;
}

.pub-card__date {
	font-size: 13px;
	font-weight: 600;
	color: var(--ink-muted);
}

.pub-card__title {
	margin: 4px 0 16px;
	font-size: 18px;
	line-height: 1.3;
}

.pub-card__title a {
	color: var(--ink);
	text-decoration: none;
}

.pub-card:hover .pub-card__title a {
	color: var(--accent);
}

.pub-card__download {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	color: var(--accent);
	font-size: 14px;
	font-weight: 600;
}

@media (max-width: 1180px) {
	.video-grid,
	.pub-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.video-card--lead {
		grid-row: auto;
	}
}

@media (max-width: 760px) {
	.video-grid,
	.pub-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.video-card--lead {
		grid-column: auto;
	}

	.videos-page,
	.pubs-page {
		padding-block: 32px 64px;
	}
}

/* The lead video is exactly as tall as the two videos beside it: every card
   takes two rows of the grid (thumbnail, title) and the lead thumbnail spans
   three, so it ends level with the second thumbnail on the right. */
@supports (grid-template-rows: subgrid) {
	.video-grid {
		row-gap: 0;
		margin-bottom: -32px;
	}

	.video-card {
		display: grid;
		grid-row: span 2;
		grid-template-rows: subgrid;
	}

	.video-card__play {
		display: grid;
		grid-row: 1 / -1;
		grid-template-rows: subgrid;
	}

	.video-card__title {
		align-self: start;
		margin-bottom: 32px;
	}

	.video-card--lead {
		grid-row: span 4;
	}

	.video-card--lead .video-card__thumb {
		grid-row: 1 / 4;
		aspect-ratio: auto;
	}

	/* YouTube thumbnails are 4:3 with black bars above and below the 16:9
	   picture: size the image so the picture alone fills the height. */
	.video-card--lead .video-card__thumb img {
		position: absolute;
		top: -16.667%;
		right: -50%;
		left: -50%;
		width: auto;
		max-width: none;
		height: 133.334%;
		margin: 0 auto;
	}

	.video-card--lead .video-card__title {
		grid-row: 4;
	}

	@media (max-width: 1180px) {
		.video-card--lead {
			grid-row: span 2;
		}

		.video-card--lead .video-card__thumb {
			grid-row: 1;
			aspect-ratio: 16 / 9;
		}

		.video-card--lead .video-card__thumb img {
			inset: 0;
			width: 100%;
			height: 100%;
			margin: 0;
		}

		.video-card--lead .video-card__title {
			grid-row: 2;
		}
	}
}

/* ==========================================================================
   23. Document card (documents that are only a file)
   ========================================================================== */
.doc-view {
	padding-block: 56px 80px;
}

.doc-file {
	position: relative;
	display: grid;
	grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
	gap: 64px;
	align-items: center;
	padding: 56px 64px;
	overflow: hidden;
	border: 1px solid var(--line-soft);
	border-radius: 28px;
	background:
		radial-gradient(circle at 0% 100%, rgba(32, 64, 144, .09), transparent 55%),
		linear-gradient(135deg, var(--wash), var(--white) 70%);
}

.doc-file::after {
	content: "";
	position: absolute;
	top: -120px;
	right: -120px;
	width: 320px;
	height: 320px;
	border: 2px solid rgba(248, 192, 40, .45);
	border-radius: 50%;
	pointer-events: none;
}

.doc-file__sheet {
	position: relative;
	aspect-ratio: 210 / 297;
	margin: 12px 18px;
}

.doc-file__page {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--line-soft);
	border-radius: 10px;
	background: var(--white);
	box-shadow: 0 26px 50px rgba(18, 36, 82, .16);
	transition: transform .6s var(--ease);
}

.doc-file__page--back {
	transform: rotate(-7deg) translate(-14px, 8px);
	background: #e9eef8;
	box-shadow: none;
}

.doc-file__page--mid {
	transform: rotate(-3deg) translate(-6px, 4px);
	background: #f6f8fc;
	box-shadow: 0 10px 24px rgba(18, 36, 82, .08);
}

.doc-file:hover .doc-file__page--back {
	transform: rotate(-10deg) translate(-22px, 10px);
}

.doc-file:hover .doc-file__page--mid {
	transform: rotate(-5deg) translate(-10px, 6px);
}

.doc-file__page--front {
	padding: 26px 22px;
	border-top: 6px solid var(--accent);
}

.doc-file__page--cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.doc-file__brand {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--brand);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .08em;
}

.doc-file__kind {
	margin-top: 26px;
	color: var(--ink-muted);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.doc-file__no {
	margin-top: 6px;
	color: var(--ink);
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -.02em;
}

.doc-file__lines {
	display: grid;
	gap: 9px;
	margin-top: auto;
}

.doc-file__lines i {
	display: block;
	height: 6px;
	border-radius: 3px;
	background: var(--line-soft);
}

.doc-file__lines i:nth-child(3n) {
	width: 70%;
}

.doc-file__lines i:nth-child(4n + 1) {
	width: 88%;
}

.doc-file__ext {
	position: absolute;
	z-index: 1;
	right: -14px;
	bottom: 26px;
	padding: 7px 13px;
	border-radius: 8px;
	background: var(--danger);
	color: var(--white);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	box-shadow: 0 10px 22px rgba(180, 35, 24, .3);
}

.doc-file__body {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.doc-file__eyebrow {
	display: inline-block;
	margin: 0 0 14px;
	padding: 5px 12px;
	border-radius: var(--radius-pill);
	background: rgba(32, 64, 144, .08);
	color: var(--accent);
	font-size: 13px;
	font-weight: 700;
}

.doc-file__title {
	max-width: 760px;
	margin: 0;
	font-size: clamp(22px, 2.2vw, 30px);
	line-height: 1.25;
	letter-spacing: -.015em;
}

.doc-file__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 1px;
	max-width: 760px;
	margin: 30px 0 32px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--line);
}

.doc-file__facts > div {
	padding: 16px 18px;
	background: var(--white);
}

.doc-file__facts dt {
	color: var(--ink-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.doc-file__facts dd {
	margin: 6px 0 0;
	color: var(--ink);
	font-size: 16px;
	font-weight: 600;
}

.doc-file__facts dd a {
	color: var(--accent);
}

.doc-file__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.doc-preview {
	margin-top: 28px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--white);
}

.doc-preview summary {
	padding: 18px 24px;
	color: var(--ink);
	font-weight: 600;
	cursor: pointer;
}

.doc-preview iframe {
	display: block;
	width: 100%;
	height: 80vh;
	border: 0;
	border-top: 1px solid var(--line);
}

@media (max-width: 960px) {
	.doc-file {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
		padding: 36px 28px;
	}

	.doc-file__sheet {
		width: 190px;
		margin: 8px auto 0;
	}
}

@media (max-width: 560px) {
	.doc-view {
		padding-block: 28px 56px;
	}

	.doc-file {
		padding: 28px 20px;
		border-radius: 20px;
	}

	.doc-file__actions .btn {
		width: 100%;
		justify-content: center;
	}
}

/* ==========================================================================
   24. Photo albums
   ========================================================================== */
.albums-page,
.album-page {
	padding-block: 48px 96px;
}

.albums-page .chips {
	margin-bottom: 32px;
}

.album-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.album-card {
	position: relative;
}

.album-card__cover {
	position: relative;
	aspect-ratio: 4 / 3;
	margin: 10px 10px 0 0;
	border-radius: 18px;
	background: var(--wash);
	box-shadow: 10px -10px 0 -1px var(--white), 10px -10px 0 0 var(--line), 18px -18px 0 -1px var(--white), 18px -18px 0 0 var(--line-soft);
	transition: box-shadow .4s var(--ease);
}

.album-card__cover img,
.album-card__cover .media-ph {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 18px;
	object-fit: cover;
	transition: filter .4s ease;
}

.album-card__cover .media-ph {
	aspect-ratio: auto;
}

.album-card:hover .album-card__cover {
	box-shadow: 14px -14px 0 -1px var(--white), 14px -14px 0 0 var(--line), 26px -26px 0 -1px var(--white), 26px -26px 0 0 var(--line-soft);
}

.album-card:hover .album-card__cover img {
	filter: saturate(1.1) brightness(1.03);
}

.album-card__count {
	position: absolute;
	left: 14px;
	bottom: 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: var(--radius-pill);
	background: rgba(8, 20, 52, .72);
	color: var(--white);
	font-size: 13px;
	font-weight: 600;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.album-card__meta {
	margin: 16px 0 0;
	color: var(--ink-muted);
	font-size: 14px;
	font-weight: 600;
}

.album-card__title {
	margin: 4px 0 0;
	font-size: 20px;
	line-height: 1.3;
	letter-spacing: -.01em;
}

.album-card__title a {
	color: var(--ink);
	text-decoration: none;
}

.album-card:hover .album-card__title a {
	color: var(--accent);
}

.album-links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 32px;
}

.album-link {
	display: flex;
	flex: 1 1 340px;
	align-items: center;
	gap: 14px;
	max-width: 620px;
	padding: 14px 20px 14px 14px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--white);
	color: var(--ink);
	text-decoration: none;
	transition: border-color .2s ease, transform .25s var(--ease), box-shadow .25s var(--ease);
}

.album-link:hover {
	border-color: var(--accent);
	box-shadow: 0 12px 28px rgba(18, 36, 82, .1);
	transform: translateY(-2px);
}

.album-link__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--wash);
	color: var(--accent);
}

.album-link__label {
	display: block;
	color: var(--ink-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.album-link__title {
	display: block;
	font-weight: 600;
	line-height: 1.35;
}

/* Photo grid: rhythm of large and small tiles. */
.photo-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-auto-rows: 210px;
	grid-auto-flow: dense;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.photo-grid__item {
	grid-column: span 4;
	overflow: hidden;
	border-radius: 14px;
	background: var(--wash);
}

.photo-grid__item:nth-child(10n + 1) {
	grid-column: span 8;
	grid-row: span 2;
}

.photo-grid__item:nth-child(10n + 6) {
	grid-column: span 6;
	grid-row: span 2;
}

.photo-grid__item:nth-child(10n + 7),
.photo-grid__item:nth-child(10n + 8) {
	grid-column: span 6;
}

.photo-grid__item .mosaic__open img {
	border-radius: 0;
}

.album-page__back {
	margin-top: 40px;
}

.event-photos {
	padding-block: 24px 80px;
}

@media (max-width: 1180px) {
	.album-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.photo-grid {
		grid-auto-rows: 170px;
	}
}

@media (max-width: 760px) {
	.album-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.photo-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 150px;
		gap: 6px;
	}

	.photo-grid__item,
	.photo-grid__item:nth-child(10n + 7),
	.photo-grid__item:nth-child(10n + 8) {
		grid-column: span 1;
	}

	.photo-grid__item:nth-child(10n + 1),
	.photo-grid__item:nth-child(10n + 6) {
		grid-column: span 2;
		grid-row: span 2;
	}

	.albums-page,
	.album-page {
		padding-block: 28px 64px;
	}
}

/* ==========================================================================
   25. Top bar (as on the previous site)
   ========================================================================== */
.top-bar {
	position: relative;
	z-index: 51;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	background: #0e2257;
	color: var(--on-brand-muted);
	font-size: 13.5px;
}

.top-bar__inner {
	display: flex;
	justify-content: flex-end;
}

.top-bar__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0 6px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
}

.top-bar a {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 10px;
	border-radius: var(--radius-pill);
	color: var(--on-brand-muted);
	font-weight: 500;
	text-decoration: none;
	transition: color .2s ease, background-color .2s ease;
}

.top-bar a:hover,
.top-bar a[aria-current="page"] {
	background: rgba(255, 255, 255, .08);
	color: var(--white);
}

.top-bar .is-highlight a {
	gap: 7px;
	color: var(--sun);
	font-weight: 600;
}

.top-bar .is-highlight a::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--sun);
	box-shadow: 0 0 0 0 rgba(248, 192, 40, .6);
	animation: top-bar-pulse 2.4s ease-out infinite;
}

@keyframes top-bar-pulse {
	0% { box-shadow: 0 0 0 0 rgba(248, 192, 40, .55); }
	70%, 100% { box-shadow: 0 0 0 8px rgba(248, 192, 40, 0); }
}

.top-bar a:focus-visible {
	outline: 2px solid var(--sun);
	outline-offset: 1px;
}

/* Phones: the quick links live in the menu panel. */
.site-nav__quick {
	display: none;
}

@media (max-width: 760px) {
	.top-bar {
		display: none;
	}

	.site-nav__quick {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		margin: 18px 0 0;
		padding: 18px 0 0;
		border-top: 1px solid var(--brand-line);
		list-style: none;
	}

	.site-nav__quick a {
		display: inline-flex;
		align-items: center;
		min-height: 40px;
		padding: 0 14px;
		border: 1px solid var(--brand-outline);
		border-radius: var(--radius-pill);
		background: none;
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.top-bar .is-highlight a::before {
		animation: none;
	}
}

/* ==========================================================================
   26. Section navigation (side tabs): the first design, with motion
   ========================================================================== */
.section-nav__list a {
	position: relative;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	transition: padding .35s var(--ease), color .25s ease, box-shadow .35s var(--ease);
}

/* A marker grows from the left and the label slides over on hover. */
.section-nav__list a::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 3px;
	height: 0;
	background: var(--accent);
	transform: translateY(-50%);
	transition: height .35s var(--ease), background-color .25s ease;
}

/* Only the label moves (a transform does not change the layout, so long
   titles keep their line breaks and nothing jumps). */
.section-nav__list a {
	padding-right: 12px;
}

.section-nav__label {
	display: block;
	transition: transform .35s var(--ease);
}

.section-nav__list a:hover .section-nav__label {
	transform: translateX(10px);
}

.section-nav__list a[aria-current="page"] .section-nav__label {
	transform: none;
}

.section-nav__list a:hover::before {
	height: 60%;
}

.section-nav__list a[aria-current="page"]::before {
	height: 100%;
	background: var(--sun);
}

.section-nav__list a[aria-current="page"] {
	box-shadow: none;
}

.section-nav__list a:focus-visible {
	outline: 3px solid var(--sun);
	outline-offset: 2px;
}

/* Tablets and phones: a row of tabs above the text that you swipe through. */
@media (max-width: 960px) {
	.section-nav {
		order: 0;
		min-width: 0;
		margin-inline: calc(-1 * var(--gutter));
	}

	.section-nav__title {
		margin: 0 var(--gutter) 10px;
	}

	.section-nav__list {
		display: flex;
		gap: 8px;
		padding: 2px var(--gutter) 8px;
		overflow-x: auto;
		border-top: 0;
		overscroll-behavior-x: contain;
		scroll-behavior: smooth;
		scroll-padding-inline: var(--gutter);
		scroll-snap-type: x proximity;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.section-nav__list::-webkit-scrollbar {
		display: none;
	}

	.section-nav__list li {
		flex: none;
		scroll-snap-align: start;
	}

	.section-nav__list a,
	.section-nav__list a:hover {
		display: flex;
		align-items: center;
		min-height: 46px;
		padding: 10px 18px;
		border: 1.5px solid var(--line);
		border-radius: var(--radius-pill);
		background: var(--white);
		white-space: nowrap;
	}

	.section-nav__list a::before {
		display: none;
	}

	.section-nav__list a:hover .section-nav__label {
		transform: none;
	}

	.section-nav__list a[aria-current="page"] {
		padding-left: 18px;
		border-color: var(--brand);
		background: var(--brand);
		color: var(--white);
	}
}

/* ==========================================================================
   27. Trade Info Center tiles with a picture
   ========================================================================== */
.tool-tile--media {
	padding: 0 0 22px;
	overflow: hidden;
}

.tool-tile--media > :not(.tool-tile__media) {
	margin-inline: 26px;
}

.tool-tile__media {
	display: block;
	aspect-ratio: 600 / 330;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
	background: var(--wash);
}

.tool-tile__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .7s var(--ease);
}

.tool-tile--media:hover .tool-tile__media img {
	transform: scale(1.05);
}

.tool-tile--media .tool-tile__icon {
	position: relative;
	z-index: 1;
	width: 50px;
	height: 50px;
	margin-top: -25px;
	margin-bottom: 14px;
	background: var(--white);
	box-shadow: 0 8px 22px rgba(18, 36, 82, .14);
}

/* ==========================================================================
   28. Homepage: lead story as tall as the headlines next to it
   ========================================================================== */
.home-news__grid {
	align-items: stretch;
}

.news-feature {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 440px;
	overflow: hidden;
	border-radius: var(--radius-xl);
	background: var(--brand);
	isolation: isolate;
}

.news-feature .media-zoom {
	position: absolute;
	z-index: -1;
	inset: 0;
	border-radius: 0;
}

.news-feature .media-zoom img,
.news-feature .media-zoom .media-ph {
	height: 100%;
	aspect-ratio: auto;
}

.news-feature .media-zoom::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(8, 20, 52, 0) 30%, rgba(8, 20, 52, .55) 58%, rgba(8, 20, 52, .9) 100%);
	pointer-events: none;
}

.news-feature .media-tag {
	z-index: 1;
}

.news-feature__body {
	padding: 32px 34px 34px;
}

.news-feature .news-feature__date {
	margin-top: 0;
	color: var(--on-brand-muted);
}

.news-feature .news-feature__title {
	font-size: clamp(24px, 2.4vw, 32px);
}

.news-feature .news-feature__title a,
.news-feature:hover .news-feature__title a {
	color: var(--white);
}

.news-feature:hover .news-feature__title a {
	text-decoration-color: var(--sun);
}

.news-feature .news-feature__excerpt {
	display: -webkit-box;
	overflow: hidden;
	color: rgba(255, 255, 255, .85);
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.news-feature .stretched-link:focus-visible {
	outline: none;
}

.news-feature:has(.stretched-link:focus-visible) {
	outline: 3px solid var(--sun);
	outline-offset: 3px;
}

@media (max-width: 960px) {
	.news-feature {
		min-height: 420px;
	}
}

@media (max-width: 560px) {
	.news-feature {
		min-height: 380px;
	}

	.news-feature__body {
		padding: 22px 20px 22px;
	}

	.news-feature .news-feature__excerpt {
		display: none;
	}
}

/* ==========================================================================
   29. Homepage: events (poster) and meetings of CEFTA bodies (table)
   ========================================================================== */
.agenda {
	padding-block: 24px 88px;
}

.agenda__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 48px;
	align-items: stretch;
}

/* Both columns end on the same line: the poster grows, or the table rows spread. */
.agenda-events,
.agenda-meetings {
	display: flex;
	flex-direction: column;
}

.agenda-events .ev-poster {
	flex: 1 1 auto;
}

.agenda-meetings .mt-table {
	flex: 1 1 auto;
	height: 100%;
}

.agenda-meetings .mt-table tbody tr:last-child td {
	border-bottom: 1px solid var(--line);
}

.agenda-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 16px;
	margin-bottom: 20px;
}

.agenda-head__title {
	margin: 0;
	font-size: clamp(24px, 2.2vw, 30px);
	line-height: 1.2;
	letter-spacing: -.015em;
}

.agenda-head__all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--ink);
	font-size: 14.5px;
	font-weight: 600;
	text-decoration: none;
}

.agenda-head__all .icon {
	transition: transform .25s var(--ease);
}

.agenda-head__all:hover {
	color: var(--accent);
}

.agenda-head__all:hover .icon {
	transform: translateX(4px);
}

.agenda-empty {
	color: var(--ink-muted);
}

/* The event poster */
.ev-poster {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 300px;
	padding: 32px 34px 30px;
	overflow: hidden;
	border-radius: 22px;
	background: radial-gradient(120% 120% at 100% 0%, #24489a 0%, var(--brand) 55%, #10265e 100%);
	color: var(--white);
	isolation: isolate;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.ev-poster:hover {
	box-shadow: 0 24px 50px rgba(18, 36, 82, .25);
	transform: translateY(-3px);
}

.ev-poster__dots {
	position: absolute;
	z-index: -1;
	inset: 0;
	background-image: radial-gradient(circle, rgba(142, 168, 230, .45) 1.4px, transparent 1.8px);
	background-size: 12px 12px;
	-webkit-mask-image: radial-gradient(ellipse 70% 90% at 100% 0%, #000 0%, rgba(0, 0, 0, .35) 50%, transparent 80%);
	mask-image: radial-gradient(ellipse 70% 90% at 100% 0%, #000 0%, rgba(0, 0, 0, .35) 50%, transparent 80%);
}

.ev-poster__date {
	display: flex;
	align-items: flex-end;
	gap: 14px;
	line-height: 1;
}

.ev-poster__day {
	color: var(--white);
	font-size: clamp(56px, 6vw, 76px);
	font-weight: 700;
	letter-spacing: -.04em;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.ev-poster__month {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-bottom: 8px;
	color: var(--sun);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.ev-poster__weekday {
	color: var(--on-brand-muted);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

.ev-poster__title {
	max-width: 520px;
	margin: auto 0 0;
	padding-top: 28px;
	font-size: clamp(22px, 2vw, 28px);
	line-height: 1.25;
	letter-spacing: -.015em;
}

.ev-poster__title a {
	color: var(--white);
	text-decoration: none;
}

.ev-poster:hover .ev-poster__title a {
	text-decoration: underline;
	text-decoration-color: var(--sun);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

.ev-poster__meta {
	margin: 10px 0 0;
	color: var(--on-brand-muted);
	font-size: 15px;
}

.ev-poster__go {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: flex-end;
	margin-top: 22px;
	padding: 9px 16px;
	border-radius: var(--radius-pill);
	background: var(--sun);
	color: var(--ink);
	font-size: 14px;
	font-weight: 700;
	transition: background-color .2s ease;
}

.ev-poster:hover .ev-poster__go {
	background: var(--white);
}

/* Other events: plain rows under the poster */
.ev-rows {
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

.ev-rowx {
	position: relative;
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 16px;
	padding: 16px 4px;
	border-bottom: 1px solid var(--line);
}

.ev-rowx__date {
	color: var(--ink);
	font-size: 14px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.ev-rowx__body {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.ev-rowx__title {
	color: var(--ink);
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
}

.ev-rowx:hover .ev-rowx__title {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ev-rowx__place {
	color: var(--ink-muted);
	font-size: 14px;
}

/* Meetings: the official table */
.agenda-meetings__intro {
	margin: -8px 0 18px;
	color: var(--ink-muted);
	font-size: 15px;
}

.mt-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.mt-table th {
	padding: 0 12px 12px 0;
	border-bottom: 2px solid var(--ink);
	color: var(--ink);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .06em;
	text-align: left;
	text-transform: uppercase;
}

.mt-table td {
	padding: 18px 12px 18px 0;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}

.mt-table tbody tr {
	transition: background-color .2s ease;
}

.mt-table tbody tr:hover {
	background: #f7f9fd;
}

.mt-table__date {
	width: 112px;
	white-space: nowrap;
}

.mt-table__day {
	color: var(--ink);
	font-size: 20px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.mt-table__month {
	display: block;
	color: var(--ink-muted);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.mt-table__soon {
	display: inline-block;
	margin-top: 6px;
	padding: 2px 8px;
	border-radius: var(--radius-pill);
	background: var(--sun-soft);
	color: var(--ink);
	font-size: 11.5px;
	font-weight: 700;
}

.mt-table__body {
	display: block;
	margin-bottom: 3px;
	color: var(--ink-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.mt-table__title {
	color: var(--ink);
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
}

.mt-table__title:hover {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mt-table__place {
	width: 120px;
	color: var(--ink-muted);
}

@media (max-width: 1100px) {
	.agenda__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 56px;
	}
}

@media (max-width: 560px) {
	.agenda {
		padding-block: 8px 56px;
	}

	.ev-poster {
		min-height: 0;
		padding: 24px 22px;
		border-radius: 18px;
	}

	.ev-poster__go {
		align-self: flex-start;
	}

	.ev-rowx {
		grid-template-columns: minmax(0, 1fr);
		gap: 4px;
	}

	.mt-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.mt-table,
	.mt-table tbody,
	.mt-table tr,
	.mt-table td {
		display: block;
		width: 100%;
	}

	.mt-table tr {
		padding: 16px 0;
		border-bottom: 1px solid var(--line);
	}

	.mt-table td {
		padding: 0;
		border: 0;
	}

	.mt-table__date,
	.mt-table__place {
		width: auto;
	}

	.mt-table__day,
	.mt-table__month {
		display: inline;
		font-size: 14px;
	}

	.mt-table__meeting {
		margin: 6px 0 4px;
	}
}

/* ==========================================================================
   30. Page changes: smooth cross-fade; section tabs slide and the text rises
   ========================================================================== */
@view-transition {
	navigation: auto;
}

.layout--sidebar > .section-nav {
	view-transition-name: section-nav;
}

.section-nav__list a[aria-current="page"] {
	view-transition-name: section-tab;
}

.layout--sidebar > .prose {
	view-transition-name: section-content;
}

::view-transition-group(section-tab) {
	animation-duration: .45s;
	animation-timing-function: cubic-bezier(.165, .84, .44, 1);
}

::view-transition-old(section-content) {
	animation: tab-out .22s ease both;
}

::view-transition-new(section-content) {
	animation: tab-in .5s cubic-bezier(.165, .84, .44, 1) .05s both;
}

.tab-enter {
	animation: tab-in .5s cubic-bezier(.165, .84, .44, 1) both;
}

@keyframes tab-out {
	to {
		opacity: 0;
		transform: translateY(-8px);
	}
}

@keyframes tab-in {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
}

@media (prefers-reduced-motion: reduce) {
	::view-transition-group(*),
	::view-transition-old(*),
	::view-transition-new(*) {
		animation: none !important;
	}

	.tab-enter {
		animation: none;
	}
}

/* ==========================================================================
   31. Fits: small laptops (full menu, tighter) and narrow phones
   ========================================================================== */
@media (min-width: 1301px) and (max-width: 1500px) {
	.site-header {
		gap: 12px 18px;
	}

	.site-logo__img {
		width: 172px;
	}

	.site-nav__list {
		gap: 4px 18px;
		font-size: 15px;
	}

	.site-header__cta {
		padding-inline: 18px;
	}
}

/* Careers is also in the top bar: keep the header on one line. */
@media (min-width: 1301px) and (max-width: 1400px) {
	.site-header__cta--secondary {
		display: none;
	}
}

.site-footer__newsletter-form {
	min-width: 0;
}

.inline-form {
	min-width: 0;
	max-width: 100%;
}

.inline-form__input {
	width: 100%;
}

@media (max-width: 420px) {
	.inline-form {
		height: 58px;
	}

	.inline-form__input {
		padding: 0 12px;
		font-size: 15px;
	}

	.inline-form__button {
		padding: 0 16px;
		font-size: 15px;
	}
}

/* ==========================================================================
   32. Careers: vacancies as application tickets
   ========================================================================== */
.job-list {
	display: grid;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.job {
	--stub: 250px;
	--notch: 22px;
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--stub);
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--white);
	transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s ease;
}

/* The two cut-outs where the stub tears off. */
.job::before,
.job::after {
	content: "";
	position: absolute;
	z-index: 1;
	right: calc(var(--stub) - var(--notch) / 2);
	width: var(--notch);
	height: var(--notch);
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--wash);
	transition: border-color .3s ease;
}

.job::before {
	top: calc(var(--notch) / -2);
	clip-path: inset(50% 0 0 0);
}

.job::after {
	bottom: calc(var(--notch) / -2);
	clip-path: inset(0 0 50% 0);
}

.job:hover {
	border-color: var(--accent);
	box-shadow: 0 18px 40px rgba(18, 36, 82, .11);
	transform: translateY(-2px);
}

.job:hover::before,
.job:hover::after {
	border-color: var(--accent);
}

.job__main {
	min-width: 0;
	padding: 30px 34px;
}

.job__status {
	margin: 0 0 12px;
}

.job__title {
	margin: 0;
	font-size: 22px;
	line-height: 1.3;
	letter-spacing: -.01em;
}

.job__title a {
	color: var(--ink);
	text-decoration: none;
}

.job:hover .job__title a {
	color: var(--accent);
}

.job__details {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	margin: 10px 0 0;
	color: var(--ink-muted);
	font-size: 14.5px;
}

.job__details span + span::before {
	content: "·";
	margin: 0 10px;
	color: var(--field);
}

.job__excerpt {
	max-width: 780px;
	margin: 14px 0 0;
	color: var(--ink-muted);
	font-size: 15px;
}

/* The stub */
.job__stub {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 26px 22px;
	border-left: 2px dashed var(--line);
	border-radius: 0 17px 17px 0;
	background:
		repeating-linear-gradient(135deg, transparent 0 9px, rgba(18, 36, 82, .025) 9px 10px),
		var(--white);
	text-align: center;
}

.job.is-open .job__stub {
	background:
		repeating-linear-gradient(135deg, transparent 0 9px, rgba(32, 64, 144, .05) 9px 10px),
		var(--white);
}

.job__label {
	margin: 0;
	color: var(--ink-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.job__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	line-height: 1;
}

.job__day {
	color: var(--ink);
	font-size: 46px;
	font-weight: 700;
	letter-spacing: -.03em;
	font-variant-numeric: tabular-nums;
}

.job__month {
	margin-top: 6px;
	color: var(--ink);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.job:not(.is-open) .job__day,
.job:not(.is-open) .job__month {
	color: var(--ink-muted);
}

.job__left {
	margin: 4px 0 0;
	color: var(--accent);
	font-size: 13.5px;
	font-weight: 600;
}

.job__go {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	margin-top: 14px;
	padding: 0 16px;
	border: 1.5px solid var(--ink);
	border-radius: var(--radius-pill);
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.job.is-open .job__go {
	border-color: var(--accent);
	background: var(--accent);
	color: var(--white);
}

.job:hover .job__go {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--white);
}

@media (max-width: 760px) {
	.job {
		--stub: 0px;
		grid-template-columns: minmax(0, 1fr);
	}

	.job::before,
	.job::after {
		display: none;
	}

	.job__main {
		padding: 22px 20px 20px;
	}

	.job__stub {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 6px 12px;
		padding: 16px 20px 18px;
		border-top: 2px dashed var(--line);
		border-left: 0;
		border-radius: 0 0 17px 17px;
		text-align: left;
	}

	.job__date {
		flex-direction: row;
		align-items: baseline;
		gap: 6px;
	}

	.job__day {
		font-size: 22px;
	}

	.job__month {
		margin-top: 0;
	}

	.job__go {
		margin: 0 0 0 auto;
	}
}

/* ==========================================================================
   33. Tenders: procurement table
   ========================================================================== */
.tender-table-wrap {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--white);
}

.tender-table__tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding: 18px 22px;
	border-bottom: 1px solid var(--line);
}

.tender-table__search {
	display: flex;
	flex: 0 1 420px;
	align-items: center;
	gap: 10px;
	height: 46px;
	padding: 0 16px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-pill);
	color: var(--ink-muted);
	transition: border-color .2s ease;
}

.tender-table__search:focus-within {
	border-color: var(--accent);
}

.tender-table__search input {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0;
	background: none;
	color: var(--ink);
	font: inherit;
	font-size: 15px;
}

.tender-table__search input:focus {
	outline: 0;
}

.tender-table__count {
	margin: 0;
	color: var(--ink-muted);
	font-size: 14px;
	font-weight: 600;
}

.tender-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.tender-table th {
	padding: 14px 16px;
	border-bottom: 2px solid var(--ink);
	background: var(--wash);
	color: var(--ink);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .06em;
	text-align: left;
	text-transform: uppercase;
	white-space: nowrap;
}

.tender-table td {
	padding: 18px 16px;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}

.tender-table th:first-child,
.tender-table td:first-child {
	padding-left: 22px;
}

.tender-table th:last-child,
.tender-table td:last-child {
	padding-right: 22px;
}

.tender-table tbody tr {
	transition: background-color .2s ease;
}

.tender-table tbody tr:hover {
	background: #f7f9fd;
}

.tender-table tbody tr:last-child td {
	border-bottom: 0;
}

.tender-table__ref {
	color: var(--ink);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.tender-table__name {
	min-width: 280px;
}

.tender-table__name a {
	color: var(--ink);
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
}

.tender-table__name a:hover {
	color: var(--accent);
	text-decoration: underline;
}

.tender-table__type {
	display: block;
	margin-top: 4px;
	color: var(--ink-muted);
	font-size: 13.5px;
}

.tender-table__date {
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.tender-table__left {
	display: block;
	margin-top: 3px;
	color: var(--accent);
	font-size: 13px;
	font-weight: 600;
}

.tender-table__docs {
	color: var(--ink-muted);
	white-space: nowrap;
}

.tender-table__go {
	text-align: right;
	vertical-align: middle !important;
}

.tender-table__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 38px;
	padding: 0 14px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-pill);
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.tender-table tr:hover .tender-table__btn,
.tender-table__btn:focus-visible {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--white);
}

.tender-table tr.is-open .tender-table__btn {
	border-color: var(--accent);
	background: var(--accent);
	color: var(--white);
}

.tender-table tr.is-open:hover .tender-table__btn {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--white);
}

.tender-table__none {
	margin: 0;
	padding: 24px 22px;
	color: var(--ink-muted);
}

/* Smaller screens: each row becomes a labelled card. */
@media (max-width: 960px) {
	.tender-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.tender-table,
	.tender-table tbody,
	.tender-table tr,
	.tender-table td {
		display: block;
		width: 100%;
	}

	.tender-table tbody tr {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px 16px;
		padding: 18px 20px;
		border-bottom: 1px solid var(--line);
	}

	.tender-table tbody tr[hidden] {
		display: none;
	}

	.tender-table td,
	.tender-table td:first-child,
	.tender-table td:last-child {
		padding: 0;
		border: 0;
	}

	.tender-table td::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 2px;
		color: var(--ink-muted);
		font-size: 11.5px;
		font-weight: 700;
		letter-spacing: .06em;
		text-transform: uppercase;
	}

	.tender-table__name,
	.tender-table__go {
		grid-column: 1 / -1;
	}

	.tender-table__name {
		order: -1;
		min-width: 0;
		font-size: 16px;
	}

	.tender-table__go {
		text-align: left;
	}

	.tender-table__go::before {
		display: none !important;
	}
}

/* Homepage legal texts: plain link, as in the design. */
.home-legal__all {
	color: var(--ink);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 4px;
	transition: color .2s ease;
}

.home-legal__all:hover {
	color: var(--accent);
}


/* ==========================================================================
   35. Homepage hero: dots fly in, then react to the pointer (assets/js/hero-intro.js)
   ========================================================================== */
.hero-intro {
	position: absolute;
	z-index: 0;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	transition: opacity .3s ease;
}

/* While the animated dots are shown, the map's own dots wait underneath. */
.is-intro .home-hero__map .ar-dots {
	opacity: 0;
	animation: none;
}

.is-intro-done .home-hero__map .ar-dots {
	animation: none;
	transition: opacity .3s ease;
}

.is-intro-done .hero-intro {
	opacity: 0;
}

/* The dots under the pointer light up gold, on the map's own dot grid. */
.home-hero__map::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle, rgba(248, 192, 40, .95) 0 1.8px, transparent 2.3px);
	background-position: var(--dot-x, 0) var(--dot-y, 0);
	background-size: var(--dot, 9.45px) var(--dot, 9.45px);
	/* Under the pointer only, and only on the map's real dots (with their fade). */
	-webkit-mask-image: radial-gradient(150px circle at var(--mx, 50%) var(--my, 50%), #000 0%, rgba(0, 0, 0, .55) 40%, transparent 72%), var(--dots-mask);
	mask-image: radial-gradient(150px circle at var(--mx, 50%) var(--my, 50%), #000 0%, rgba(0, 0, 0, .55) 40%, transparent 72%), var(--dots-mask);
	-webkit-mask-size: 100% 100%, 100% 100%;
	mask-size: 100% 100%, 100% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-composite: source-in;
	mask-composite: intersect;
	opacity: 0;
	transition: opacity .4s ease;
	pointer-events: none;
}

/* Until the map's dot drawing is ready, no gold dots at all. */
.home-hero__map {
	--dots-mask: linear-gradient(transparent, transparent);
}

.home-hero:hover .home-hero__map::after {
	opacity: 1;
}

@media (hover: none), (prefers-reduced-motion: reduce) {
	.home-hero__map::after {
		display: none;
	}
}

/* ==========================================================================
   36. Cookie notice
   ========================================================================== */
.cookie-notice {
	position: fixed;
	z-index: 90;
	left: 24px;
	bottom: 24px;
	display: flex;
	align-items: center;
	gap: 14px 22px;
	max-width: 560px;
	padding: 18px 18px 18px 24px;
	border: 1px solid var(--brand-line);
	border-radius: 18px;
	background: var(--brand);
	color: var(--on-brand);
	box-shadow: 0 24px 60px rgba(8, 20, 52, .35);
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .35s ease, transform .4s var(--ease);
}

.cookie-notice[hidden] {
	display: none;
}

.cookie-notice.is-visible {
	opacity: 1;
	transform: none;
}

.cookie-notice__text {
	margin: 0;
	color: var(--on-brand-muted);
	font-size: 14.5px;
	line-height: 1.5;
}

.cookie-notice__text a {
	color: var(--white);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cookie-notice__text a:hover {
	color: var(--sun);
}

.cookie-notice__btn {
	flex: none;
}

@media (max-width: 560px) {
	.cookie-notice {
		left: 12px;
		right: 12px;
		bottom: 12px;
		flex-wrap: wrap;
		padding: 16px 18px;
	}

	.cookie-notice__btn {
		width: 100%;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cookie-notice {
		transition: none;
	}
}

@media print {
	.cookie-notice {
		display: none !important;
	}
}

/* ==========================================================================
   37. Page text (page.php): lead, headings, subheadings, document lists and
       staff profiles (markup hints from inc/content.php)
   ========================================================================== */
.page-content {
	max-width: 880px;
}

/* The first paragraph introduces the page. */
.page-content > p:first-child:not(.is-subheading) {
	padding-bottom: 28px;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	font-size: 20px;
	line-height: 1.6;
	letter-spacing: -.005em;
}

.page-content > p:not(:first-child),
.page-content > ul:not(.link-list),
.page-content > ol {
	color: #33405f;
}

.page-content > p:first-child:not(.is-subheading) + * {
	margin-top: 28px;
}

.page-content h2 {
	position: relative;
	padding-top: 22px;
	font-size: 30px;
}

.page-content h2::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 44px;
	height: 4px;
	border-radius: 4px;
	background: var(--sun);
}

.page-content > * + h2 {
	margin-top: 2.1em;
}

/* A heading that links to its page. */
.prose.page-content h2 a:not(.wp-block-button__link):not(.wp-block-file__button),
.prose.page-content h3 a:not(.wp-block-button__link):not(.wp-block-file__button) {
	color: inherit;
	text-decoration: none;
	transition: color .2s ease;
}

.prose.page-content h2 a::after,
.prose.page-content h3 a::after {
	content: "";
	display: inline-block;
	width: .55em;
	height: .55em;
	margin-left: .35em;
	border-top: 3px solid currentColor;
	border-right: 3px solid currentColor;
	transform: rotate(45deg) translate(-.1em, .02em);
	transition: transform .35s var(--ease);
}

.prose.page-content h2 a:not(.wp-block-button__link):not(.wp-block-file__button):hover,
.prose.page-content h3 a:not(.wp-block-button__link):not(.wp-block-file__button):hover {
	color: var(--accent);
}

.prose.page-content h2 a:hover::after,
.prose.page-content h3 a:hover::after {
	transform: rotate(45deg) translate(.08em, -.1em);
}

.page-content > h2 + .link-list,
.page-content > h3 + .link-list {
	margin-top: 1em;
}

.page-content h3 {
	color: var(--accent);
	font-size: 23px;
}

/* A bold paragraph used as a heading (a meeting, a group, a name). */
.page-content .is-subheading {
	position: relative;
	padding-left: 16px;
	color: var(--ink);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.4;
}

.page-content .is-subheading::before {
	content: "";
	position: absolute;
	top: .2em;
	bottom: .2em;
	left: 0;
	width: 3px;
	border-radius: 3px;
	background: var(--sun);
}

.page-content .is-subheading strong,
.page-content .is-subheading b {
	font-weight: inherit;
}

.page-content > * + .is-subheading {
	margin-top: 1.9em;
}

.page-content > .is-subheading + * {
	margin-top: .75em;
}

/* Lists of documents: one row per link. */
.prose.page-content .link-list {
	display: grid;
	gap: 8px;
	padding: 0;
	list-style: none;
}

.prose.page-content .link-list > li + li {
	margin-top: 0;
}

.prose.page-content .link-list a,
.prose.page-content .link-list li:not(:has(a)) {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 16px 10px 10px;
	border: 1px solid var(--line);
	border-radius: var(--radius-s);
	background: var(--white);
	color: var(--ink);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
	transition: border-color .25s ease, box-shadow .35s var(--ease), transform .35s var(--ease), color .2s ease;
}

.prose.page-content .link-list li:not(:has(a)) {
	border-style: dashed;
	color: var(--ink-muted);
	font-weight: 500;
}

/* Icon box: "PDF" for PDF files, a page icon otherwise. */
.prose.page-content .link-list a::before,
.prose.page-content .link-list li:not(:has(a))::before {
	content: "";
	flex: none;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23204090' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3.5H7a1.5 1.5 0 0 0-1.5 1.5v14A1.5 1.5 0 0 0 7 20.5h10a1.5 1.5 0 0 0 1.5-1.5V8z'/%3E%3Cpath d='M14 3.5V8h4.5M9 13h6M9 16.5h4'/%3E%3C/svg%3E") center / 19px no-repeat;
	transition: background-color .25s ease;
}

.prose.page-content .link-list a[href$=".pdf" i]::before {
	content: "PDF";
	background-image: none;
	color: var(--danger);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
}

/* Arrow that slides on hover. */
.prose.page-content .link-list a::after {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	margin-left: auto;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	opacity: .35;
	transition: opacity .25s ease, transform .35s var(--ease);
}

.prose.page-content .link-list a:hover {
	border-color: var(--brand-outline);
	box-shadow: 0 12px 28px rgba(18, 36, 82, .1);
	color: var(--accent);
	transform: translateY(-2px);
}

.prose.page-content .link-list a:hover::before {
	background-color: var(--sun-soft);
}

.prose.page-content .link-list a:hover::after {
	opacity: 1;
	transform: translateX(4px);
}

/* Pictures in the text. */
.page-content > figure img,
.page-content > p > img {
	box-shadow: 0 14px 36px rgba(18, 36, 82, .1);
}

.page-content > figure {
	margin-block: 2em;
}

/* Staff: cards in a two-column grid (photo or initials, name, role, contacts). */
.page-content .team {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: 24px;
}

.page-content > * + .team {
	margin-top: 1.4em;
}

.page-content > .is-subheading + .team {
	margin-top: 1em;
}

.page-content > .team + * {
	margin-top: 2.2em;
}

.page-content .profile {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
	background: var(--white);
	transition: border-color .3s ease, box-shadow .45s var(--ease), transform .45s var(--ease);
}

.page-content .profile:hover {
	border-color: var(--field);
	box-shadow: 0 18px 40px rgba(18, 36, 82, .09);
	transform: translateY(-2px);
}

/* Cards come in one after the other when the grid scrolls into view. */
.js .page-content .team.is-revealed > .profile {
	animation: cp-card-in .7s var(--ease) backwards;
	animation-delay: calc(var(--i, 0) * 70ms + 100ms);
}

.page-content .profile__photo {
	overflow: hidden;
	border-radius: 12px;
}

.page-content .profile__photo figure {
	margin: 0;
}

.page-content .profile__photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 15%;
	border-radius: 0;
	background: var(--wash);
	box-shadow: none;
	transition: transform .6s var(--ease);
}

.page-content .profile:hover .profile__photo img {
	transform: scale(1.05);
}

.page-content .profile__photo--initials span {
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 5;
	background: linear-gradient(160deg, var(--brand-raised), var(--brand));
	color: var(--sun);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: .03em;
}

.page-content .profile__body {
	min-width: 0;
	padding-top: 2px;
}

.page-content .profile__body > * {
	margin: 0;
}

.page-content .profile__body > * + * {
	margin-top: 10px;
}

.page-content .profile__name {
	color: var(--ink);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -.005em;
}

.page-content .profile__role {
	display: block;
	margin-top: 5px;
	color: var(--accent);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.page-content .profile .is-contact {
	padding: 8px 12px;
	border-radius: 10px;
	background: var(--wash);
	color: var(--ink);
	font-size: 14px;
	line-height: 1.65;
	overflow-wrap: anywhere;
}

.prose.page-content .profile .is-contact a {
	font-weight: 600;
	text-decoration-color: rgba(32, 64, 144, .35);
}

/* Biography, folded; it opens across the whole card, under the photo. */
.page-content .profile__bio {
	grid-column: 1 / -1;
	padding-top: 12px;
	border-top: 1px solid var(--line-soft);
}

.page-content .profile__bio summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--accent);
	font-size: 14px;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.page-content .profile__bio summary::-webkit-details-marker {
	display: none;
}

.page-content .profile__bio summary::after {
	content: "";
	width: 7px;
	height: 7px;
	margin-top: -3px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .35s var(--ease), margin .35s var(--ease);
}

.page-content .profile__bio[open] summary::after {
	margin-top: 3px;
	transform: rotate(-135deg);
}

.page-content .profile__bio summary:hover {
	color: var(--ink);
}

.page-content .profile__bio-text {
	padding-top: 6px;
	color: #33405f;
	font-size: 15px;
	line-height: 1.65;
}

.page-content .profile__bio-text > p {
	margin: 10px 0 0;
}

.page-content .profile__bio[open] .profile__bio-text > p {
	animation: cp-in .5s var(--ease) backwards;
}

.page-content .profile__bio[open] .profile__bio-text > p:nth-child(2) {
	animation-delay: 60ms;
}

.page-content .profile__bio[open] .profile__bio-text > p:nth-child(n+3) {
	animation-delay: 120ms;
}

@media (max-width: 1180px) and (min-width: 961px), (max-width: 640px) {
	.page-content .team {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 640px) {
	.page-content > p:first-child:not(.is-subheading) {
		font-size: 18px;
	}

	.page-content .profile {
		grid-template-columns: 76px minmax(0, 1fr);
		gap: 14px;
		padding: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.prose.page-content .link-list a:hover,
	.page-content .profile:hover,
	.page-content .profile:hover .profile__photo img {
		transform: none;
	}

	.js .page-content .team.is-revealed > .profile,
	.page-content .profile__bio[open] .profile__bio-text > p {
		animation: none;
	}
}
