/*
 * Compete Caribbean suite: default front-end styles.
 * The theme can restyle everything by overriding these custom properties.
 */
.cc-scope {
	--cc-navy: #00427a;
	--cc-navy-ink: #002b50;
	--cc-green: #006838;
	--cc-orange: #f18020;
	--cc-red: #ba1e2d;
	--cc-ink: #232323;
	--cc-muted: #5b6573;
	--cc-tint: #eaf1f8;
	--cc-line: #d8e1ea;
	--cc-surface: #fff;
	--cc-radius: 10px;
	--cc-gap: clamp(16px, 2.5vw, 28px);
	--cc-max: 1200px;
	color: var(--cc-ink);
	width: 100%;
	line-height: 1.6;
}
.cc-scope *, .cc-scope *::before, .cc-scope *::after { box-sizing: border-box; }
.cc-scope :focus-visible { outline: 3px solid var(--cc-orange); outline-offset: 2px; }
.cc-scope a { color: var(--cc-navy); }
.cc-scope img { max-width: 100%; height: auto; }

.cc-container { width: 100%; max-width: var(--cc-max); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .cc-container { padding-inline: 24px; } }

/* Header band */
.cc-band {
	background: var(--cc-navy);
	background-image: linear-gradient(120deg, var(--cc-navy-ink) 0%, var(--cc-navy) 65%, #0a5a9e 100%);
	color: #fff;
	padding: clamp(32px, 6vw, 72px) 0 clamp(28px, 5vw, 56px);
	margin-bottom: var(--cc-gap);
}
.cc-band a { color: #fff; }
.cc-eyebrow, .cc-project__country {
	margin: 0 0 8px;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #bcd6ee;
}
.cc-project__country { font-size: 1rem; letter-spacing: .04em; text-transform: none; color: #fff; font-weight: 700; }
.cc-band__title, .cc-project__title {
	margin: 0;
	color: #fff;
	font-size: clamp(1.75rem, 3.6vw, 2.75rem);
	line-height: 1.15;
	font-weight: 700;
	max-width: 30ch;
}
.cc-project__title { max-width: 40ch; }
.cc-band__lead { margin: 14px 0 0; max-width: 70ch; font-size: 1.08rem; color: #e3edf7; }

.cc-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0 0 18px; padding: 0; font-size: .85rem; }
.cc-breadcrumbs li { color: #bcd6ee; }
.cc-breadcrumbs li + li::before { content: "/"; margin: 0 8px; color: #7fa6cc; }
.cc-breadcrumbs a { color: #e3edf7; text-decoration: none; }
.cc-breadcrumbs a:hover { text-decoration: underline; }
.cc-breadcrumbs [aria-current] { color: #fff; display: inline-block; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

/* Key facts strip (mirrors the profile PDF) */
.cc-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 0;
	margin: calc(var(--cc-gap) * -1 - 28px) 0 var(--cc-gap);
	padding: 0;
	background: var(--cc-tint);
	border-radius: var(--cc-radius);
	border: 1px solid var(--cc-line);
	position: relative;
	overflow: hidden;
}
.cc-facts__item { padding: 16px 20px; border-right: 1px solid var(--cc-line); }
.cc-facts__item:last-child { border-right: 0; }
.cc-facts dt { margin: 0 0 4px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cc-muted); }
.cc-facts dd { margin: 0; font-size: 1.1rem; font-weight: 700; color: var(--cc-navy-ink); }

/* Single project layout */
.cc-project__layout { display: grid; gap: var(--cc-gap); grid-template-columns: 1fr; padding-bottom: var(--cc-gap); }
@media (min-width: 960px) { .cc-project__layout { grid-template-columns: minmax(0, 1fr) 320px; } }
.cc-section { margin: 0 0 28px; }
.cc-section h2, .cc-related h2, .cc-group__head h2 { color: var(--cc-navy); font-size: 1.3rem; font-weight: 700; margin: 0 0 10px; }
.cc-section p { margin: 0 0 12px; }
.cc-prose h2, .cc-prose h3 { color: var(--cc-navy); line-height: 1.3; }
.cc-prose h3 { font-size: 1.15rem; margin: 28px 0 8px; }

.cc-outputs { list-style: none; counter-reset: ccout; margin: 16px 0 0; padding: 0; }
.cc-outputs li { counter-increment: ccout; position: relative; padding: 0 0 0 48px; margin: 0 0 18px; }
.cc-outputs li::before {
	content: counter(ccout);
	position: absolute;
	left: 0;
	top: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--cc-navy);
	color: #fff;
	font-weight: 700;
	display: grid;
	place-items: center;
	font-size: .95rem;
}
.cc-outputs__title { color: var(--cc-navy-ink); }

.cc-source { font-size: .85rem; color: var(--cc-muted); border-top: 1px solid var(--cc-line); padding-top: 12px; }

.cc-embed iframe { width: 100%; border: 0; border-radius: var(--cc-radius); background: var(--cc-tint); max-height: 80vh; }
.cc-embed__fallback { font-size: .9rem; margin-top: 6px; }

.cc-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.cc-gallery img { border-radius: 6px; display: block; }

.cc-project__side { display: flex; flex-direction: column; gap: 16px; }
.cc-side-block { background: var(--cc-surface); border: 1px solid var(--cc-line); border-radius: var(--cc-radius); padding: 20px; }
.cc-side-block h2 { font-size: 1rem; color: var(--cc-navy); margin: 0 0 10px; }
.cc-side-block h2:not(:first-child) { margin-top: 18px; }
.cc-side-block ul { margin: 0; padding-left: 18px; }
.cc-side-block--flag { padding: 12px; text-align: center; }
.cc-side-block--flag img { max-height: 120px; width: auto; }
.cc-linklist, .cc-downloads { list-style: none; padding: 0 !important; }
.cc-linklist li, .cc-downloads li { margin: 0 0 10px; }
.cc-downloads a { display: flex; flex-direction: column; text-decoration: none; padding: 10px 12px; border: 1px solid var(--cc-line); border-radius: 6px; }
.cc-downloads a:hover { border-color: var(--cc-navy); background: var(--cc-tint); }
.cc-downloads__name { font-weight: 600; }
.cc-downloads__meta { font-size: .8rem; color: var(--cc-muted); }

.cc-link-arrow { font-weight: 600; text-decoration: none; }
.cc-link-arrow::after { content: " →"; }
.cc-link-arrow:hover { text-decoration: underline; }

.cc-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 22px;
	border: 2px solid var(--cc-navy);
	border-radius: 999px;
	background: var(--cc-navy);
	color: #fff !important;
	font-weight: 600;
	font-size: .95rem;
	text-decoration: none;
	cursor: pointer;
	line-height: 1.2;
}
.cc-button:hover { background: var(--cc-navy-ink); border-color: var(--cc-navy-ink); }
.cc-button--ghost { background: transparent; color: var(--cc-navy) !important; }
.cc-button--ghost:hover { background: var(--cc-tint); }

/* Filters */
.cc-filterbar {
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr;
	align-items: end;
	padding: 16px;
	margin: calc(var(--cc-gap) * -1 - 28px) 0 var(--cc-gap);
	background: var(--cc-surface);
	border: 1px solid var(--cc-line);
	border-radius: var(--cc-radius);
	box-shadow: 0 6px 24px rgba(0, 43, 80, .08);
	position: relative;
}
@media (min-width: 640px) { .cc-filterbar { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cc-filterbar { grid-template-columns: 2fr repeat(4, 1fr) auto; } }
.cc-filterbar__field label { display: block; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--cc-muted); margin: 0 0 4px; }
.cc-filterbar input, .cc-filterbar select {
	width: 100%;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid #b9c6d3;
	border-radius: 6px;
	background: #fff;
	font: inherit;
	color: var(--cc-ink);
}
.cc-filterbar__actions .cc-button { width: 100%; }

.cc-results-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 16px; }
.cc-results-count { margin: 0; font-weight: 600; }
.cc-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.cc-chip {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	min-height: 32px;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--cc-tint);
	border: 1px solid var(--cc-line);
	color: var(--cc-navy-ink) !important;
	font-size: .88rem;
	text-decoration: none;
}
.cc-chip:hover { border-color: var(--cc-navy); }
.cc-chip--clear { background: transparent; text-decoration: underline; border-color: transparent; }

/* Groups (browse view) */
.cc-group { margin: 0 0 calc(var(--cc-gap) * 1.6); }
.cc-group__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; border-bottom: 3px solid var(--cc-navy); padding-bottom: 6px; margin-bottom: 8px; }
.cc-group__head h2 { margin: 0; font-size: 1.5rem; }
.cc-group__lead { color: var(--cc-muted); margin: 0 0 16px; max-width: 75ch; }

/* Card grid */
.cc-grid { display: grid; gap: var(--cc-gap); grid-template-columns: minmax(0, 1fr); list-style: none; margin: 0 0 var(--cc-gap); padding: 0; }
@media (min-width: 640px) { .cc-grid--2, .cc-grid--3, .cc-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cc-grid--3 { grid-template-columns: repeat(3, 1fr); } .cc-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.cc-grid > li { margin: 0; display: flex; min-width: 0; }
.cc-grid > li > * { min-width: 0; }

.cc-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	background: var(--cc-surface);
	border: 1px solid var(--cc-line);
	border-radius: var(--cc-radius);
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}
.cc-card:hover, .cc-card:focus-within { box-shadow: 0 10px 28px rgba(0, 43, 80, .14); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .cc-card { transition: none; } .cc-card:hover { transform: none; } }
.cc-card__media { aspect-ratio: 16 / 9; background: var(--cc-tint); display: grid; place-items: center; overflow: hidden; }
.cc-card__media img { width: 100%; height: 100%; object-fit: cover; }
.cc-card__media .cc-card__flag { width: auto; height: 60%; object-fit: contain; }
.cc-card__placeholder { font-weight: 700; font-size: 1.4rem; letter-spacing: .04em; color: var(--cc-navy); }
.cc-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.cc-card__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 6px; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.cc-card__country { color: var(--cc-navy); }
.cc-card__group { color: var(--cc-muted); }
.cc-card__title { font-size: 1.08rem; line-height: 1.35; margin: 0 0 8px; font-weight: 700; }
.cc-card__title a { text-decoration: none; color: var(--cc-navy-ink); }
.cc-card__title a::after { content: ""; position: absolute; inset: 0; }
.cc-card__title a:focus-visible { outline: none; }
.cc-card:focus-within { outline: 3px solid var(--cc-orange); outline-offset: 2px; }
.cc-card__excerpt { color: var(--cc-muted); font-size: .93rem; margin: 0 0 12px; }
.cc-card__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--cc-line); font-size: .85rem; }
.cc-card__facts dt { color: var(--cc-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.cc-card__facts dd { margin: 0; font-weight: 600; }

/* Status text always carries a word, colour is supplementary */
.cc-status { display: inline-flex; align-items: center; gap: 6px; }
.cc-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cc-muted); }
.cc-status--approved::before { background: var(--cc-navy); }
.cc-status--active::before { background: var(--cc-orange); }
.cc-status--completed::before { background: var(--cc-green); }
.cc-status--closed::before { background: var(--cc-red); }

.cc-pagination { margin: 0 0 calc(var(--cc-gap) * 2); }
.cc-pagination .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 12px; margin: 0 4px 4px 0; border: 1px solid var(--cc-line); border-radius: 6px; text-decoration: none; }
.cc-pagination .current { background: var(--cc-navy); color: #fff; border-color: var(--cc-navy); }

.cc-empty-state { text-align: center; padding: 48px 16px; background: var(--cc-tint); border-radius: var(--cc-radius); margin-bottom: var(--cc-gap); }
.cc-empty-state h2 { color: var(--cc-navy); margin-top: 0; }

.cc-related { padding-bottom: calc(var(--cc-gap) * 1.5); }
.cc-more { text-align: center; }

.cc-scope .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- Downloads ---------- */
.cc-download-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cc-dl-card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding: 18px 20px;
	margin: 0 0 12px;
	background: var(--cc-surface, #fff);
	border: 1px solid var(--cc-line, #d8e1ea);
	border-left: 4px solid var(--cc-navy, #00427a);
	border-radius: var(--cc-radius, 10px);
	font-family: inherit;
}
.cc-dl-card--gated { border-left-color: var(--cc-orange, #f18020); }
.cc-dl-card__body { flex: 1 1 280px; min-width: 0; }
.cc-dl-card__title { font-size: 1.05rem; margin: 0 0 4px; line-height: 1.35; }
.cc-dl-card__title a { text-decoration: none; color: var(--cc-navy-ink, #002b50); }
.cc-dl-card__excerpt { margin: 0 0 6px; color: var(--cc-muted, #5b6573); font-size: .93rem; }
.cc-dl-card__meta { margin: 0; font-size: .82rem; color: var(--cc-muted, #5b6573); }
.cc-dl-card__lock { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #fff4e5; color: #8a4500; font-weight: 600; }
.cc-dl-card__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-downloads__locked { display: flex; flex-direction: column; padding: 10px 12px; border: 1px dashed var(--cc-line, #d8e1ea); border-radius: 6px; }

.cc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cc-gate__row { display: grid; gap: 12px; }
.cc-gate__field label, .cc-form label, .cc-form legend { display: block; font-weight: 600; margin: 0 0 4px; }
.cc-gate input[type="email"], .cc-gate input[type="text"],
.cc-form input[type="text"], .cc-form input[type="email"], .cc-form input[type="tel"], .cc-form input[type="url"], .cc-form input[type="number"], .cc-form input[type="date"], .cc-form input[type="time"], .cc-form select, .cc-form textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #9fb0c2;
	border-radius: 6px;
	background: #fff;
	font: inherit;
	color: var(--cc-ink, #232323);
}
.cc-form textarea { min-height: 120px; }
.cc-gate__notice { font-size: .85rem; color: var(--cc-muted, #5b6573); margin: 10px 0; }
.cc-gate__check label, .cc-choice, .cc-consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.cc-gate__check input, .cc-choice input, .cc-consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.cc-gate__error { margin: 0 0 10px; padding: 10px 12px; border-left: 4px solid var(--cc-red, #ba1e2d); background: #fcf0f1; color: #8a1520; font-weight: 600; }

/* ---------- Forms ---------- */
.cc-form-wrap { font-family: inherit; }
.cc-form__fields { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 720px) {
	.cc-form__fields { grid-template-columns: 1fr 1fr; }
	.cc-form .cc-field--full, .cc-form .cc-field--section, .cc-form .cc-field--html { grid-column: 1 / -1; }
}
.cc-form .cc-field { margin: 0; min-width: 0; }
.cc-form fieldset { border: 0; padding: 0; margin: 0; }
.cc-form .cc-subfields { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.cc-form .cc-subfields--address { grid-template-columns: 1fr 1fr; }
.cc-form .cc-subfield--street, .cc-form .cc-subfield--line2 { grid-column: 1 / -1; }
.cc-form .cc-subfield label { font-weight: 500; font-size: .88rem; }
.cc-form .cc-help { margin: 0 0 6px; font-size: .86rem; color: var(--cc-muted, #5b6573); }
.cc-form .cc-req { color: var(--cc-red, #ba1e2d); }
.cc-form .cc-error { margin: 6px 0 0; color: #8a1520; font-weight: 600; font-size: .9rem; }
.cc-form .cc-error::before { content: "⚠ "; }
.cc-form .has-error input, .cc-form .has-error select, .cc-form .has-error textarea { border-color: var(--cc-red, #ba1e2d); box-shadow: 0 0 0 1px var(--cc-red, #ba1e2d); }
.cc-form .cc-section-title { margin: 12px 0 4px; font-size: 1.15rem; color: var(--cc-navy, #00427a); }
.cc-form .cc-info { padding: 12px 14px; background: var(--cc-tint, #eaf1f8); border-radius: 6px; }
.cc-form__summary { margin: 0 0 18px; padding: 14px 16px; border: 2px solid var(--cc-red, #ba1e2d); border-radius: 8px; background: #fff; color: var(--cc-ink, #232323); }
.cc-form__summary p { margin: 0 0 6px; font-weight: 700; }
.cc-form__summary ul { margin: 0; padding-left: 18px; }
.cc-form__summary a { color: #8a1520; }
.cc-form__footer { margin-top: 20px; }
.cc-form__confirmation { padding: 16px 18px; border-left: 4px solid var(--cc-green, #006838); background: #edfaef; border-radius: 6px; color: #0d3b1f; font-weight: 600; }
.cc-form__confirmation p:last-child { margin-bottom: 0; }
.cc-form [hidden] { display: none !important; }

.cc-filterbar--compact { grid-template-columns: 1fr; }
@media (min-width: 900px) { .cc-filterbar--compact { grid-template-columns: 2fr 1fr 1fr auto; } }
.cc-notice { padding: 10px 12px; background: #fff4e5; border-left: 4px solid var(--cc-orange, #f18020); }

/* ---------- Opportunities ---------- */
.cc-opp-state { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; }
.cc-opp-state--open { color: var(--cc-green, #006838); }
.cc-opp-state--upcoming { color: #8a4500; }
.cc-opp-state--closed { color: var(--cc-muted, #5b6573); }
.cc-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid var(--cc-line, #d8e1ea); margin: 0 0 20px; }
.cc-tabs [role="tab"] { min-height: 44px; padding: 10px 16px; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; background: none; font: inherit; font-weight: 600; color: var(--cc-muted, #5b6573); cursor: pointer; }
.cc-tabs [role="tab"][aria-selected="true"] { color: var(--cc-navy, #00427a); border-bottom-color: var(--cc-navy, #00427a); }
.cc-tabs [role="tab"]:focus-visible { outline: 3px solid var(--cc-orange, #f18020); outline-offset: -3px; }
.cc-opp-section[role="tabpanel"]:focus-visible { outline: 2px dashed var(--cc-line, #d8e1ea); outline-offset: 6px; }
.cc-opp-apply { padding: 20px; background: var(--cc-tint, #eaf1f8); border-radius: var(--cc-radius, 10px); }
.cc-lead-text { font-size: 1.1rem; color: var(--cc-ink, #232323); }
.cc-muted { color: var(--cc-muted, #5b6573); }

/* ---------- Team ---------- */
.cc-team { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .cc-team { grid-template-columns: repeat(var(--cc-cols, 4), minmax(0, 1fr)); } }
.cc-person { margin: 0; text-align: center; }
.cc-person__media { aspect-ratio: 1; border-radius: 50%; overflow: hidden; max-width: 220px; margin: 0 auto 14px; background: var(--cc-tint, #eaf1f8); display: grid; place-items: center; }
.cc-person__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-project__side .cc-person__img { border-radius: var(--cc-radius, 10px); height: auto; }
.cc-person__initials { font-size: 2.4rem; font-weight: 700; color: var(--cc-navy, #00427a); }
.cc-person__name { font-size: 1.05rem; margin: 0 0 2px; color: var(--cc-navy-ink, #002b50); }
.cc-person__title { margin: 0 0 8px; color: var(--cc-muted, #5b6573); font-size: .92rem; }
.cc-person__more { font-weight: 700; font-size: .9rem; }
.cc-person__links { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.cc-bio { width: min(720px, 94vw); max-height: 88vh; border: 0; border-radius: 14px; padding: 28px; }
.cc-bio::backdrop { background: rgba(15, 18, 26, .7); }
.cc-bio__body:focus { outline: none; }
.cc-bio__name { margin: 0 0 4px; color: var(--cc-navy, #00427a); }

/* ---------- News ---------- */
.cc-news__heading { font-size: 1.4rem; color: var(--cc-navy, #00427a); margin: 0 0 14px; }
.cc-news__featured { margin: 0 0 40px; }
.cc-news-grid { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cc-news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cc-news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Flyer-friendly image: whole, never upscaled, on a blurred copy of itself. */
.cc-news-card__media--fit { position: relative; isolation: isolate; background: #00213f; }
.cc-news-card__ambient { position: absolute; inset: -24px; z-index: -1; background: center / cover no-repeat; filter: blur(22px) saturate(1.2) brightness(.7); transform: scale(1.1); }
.cc-news-card__media.cc-news-card__media--fit img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.cc-news-grid > li { display: flex; }
.cc-news-card { position: relative; display: flex; flex-direction: column; width: 100%; border: 1px solid var(--cc-line, #d8e1ea); border-radius: var(--cc-radius, 10px); overflow: hidden; background: #fff; }
.cc-news-card:focus-within { outline: 3px solid var(--cc-orange, #f18020); outline-offset: 2px; }
.cc-news-card__media { aspect-ratio: 16 / 9; background: var(--cc-tint, #eaf1f8); overflow: hidden; }
.cc-news-card--lead .cc-news-card__media { aspect-ratio: 16 / 10; }
.cc-news-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-news-card__body { padding: 16px 18px 20px; }
.cc-news-card__meta { margin: 0 0 6px; font-size: .8rem; color: var(--cc-muted, #5b6573); font-weight: 600; }
.cc-news-card__flag { color: #8a4500; }
.cc-news-card__title { font-size: 1.05rem; line-height: 1.35; margin: 0 0 6px; }
.cc-news-card--lead .cc-news-card__title { font-size: 1.4rem; }
.cc-news-card__title a { color: var(--cc-navy-ink, #002b50); text-decoration: none; }
.cc-news-card__title a::after { content: ""; position: absolute; inset: 0; }
.cc-news-card__title a:focus-visible { outline: none; }
.cc-news-card__excerpt { margin: 0; color: var(--cc-muted, #5b6573); font-size: .93rem; }

/* Publications (Knowledge Library) */
.cc-pub { flex-direction: row; align-items: stretch; }
.cc-pub__cover { flex: 0 0 104px; aspect-ratio: 3 / 4; align-self: flex-start; margin: 18px 0 18px 18px; border-radius: 4px; overflow: hidden; background: var(--cc-tint); box-shadow: 0 4px 12px rgba(16, 24, 40, .14); display: grid; place-items: center; }
.cc-pub__cover img, .cc-pub__cover canvas { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.cc-pub__cover--single { width: 100%; max-width: 280px; margin: 0 0 20px; flex: none; }
.cc-pub__placeholder { font-size: 2rem; font-weight: 700; color: var(--cc-navy); }
.cc-pub .cc-card__body { padding-left: 16px; }
.cc-pub__authors { margin: 0 0 8px; font-size: .88rem; color: var(--cc-muted); }
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.cc-button__meta { font-weight: 400; opacity: .85; }
@media (max-width: 420px) { .cc-pub__cover { flex-basis: 80px; margin: 14px 0 14px 14px; } .cc-pub .cc-card__body { padding: 14px; } }

/* Site search */
.cc-search__types { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 20px; padding: 0; }
.cc-search__types a { display: inline-flex; gap: 6px; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--cc-line); background: var(--cc-surface); color: var(--cc-navy-ink) !important; text-decoration: none; font-size: .92rem; }
.cc-search__types a[aria-current] { background: var(--cc-navy); border-color: var(--cc-navy); color: #fff !important; }
.cc-search__types .cc-count { font-weight: 700; }
.cc-search__list { list-style: none; margin: 0 0 var(--cc-gap); padding: 0; }
.cc-search__item { padding: 18px 0; border-bottom: 1px solid var(--cc-line); }
.cc-search__item h2 { font-size: 1.15rem; margin: 2px 0 6px; }
.cc-search__item h2 a { color: var(--cc-navy-ink); }
.cc-search__item p { margin: 0; color: var(--cc-muted); }
.cc-search__type { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cc-navy) !important; }
.cc-search__item mark { background: #ffe7c7; color: inherit; padding: 0 1px; }
/* The library's filter bar overlaps a page band only when it directly follows one. */
.cc-library > .cc-filterbar { margin-top: 0; }
.cc-band + .cc-container > .cc-library > .cc-filterbar { margin-top: calc(var(--cc-gap) * -1 - 28px); }
/* Grid columns may shrink below their longest word; long words wrap instead of widening the page. */
@media (min-width: 640px) { .cc-grid--2, .cc-grid--3, .cc-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cc-card__body { min-width: 0; }
.cc-card__title, .cc-search__item h2 { overflow-wrap: anywhere; hyphens: auto; }
