/* CODA Brand Centre template. Scoped to .cbc and .cbc-banner so nothing else on the site changes.
   Page chrome uses the live site's colours; swatches show the guideline values from ACF. */

.cbc, .cbc-banner, .cbc-lightbox, .cbc-toast {
	--cbc-navy: #001866;
	--cbc-blue: #009FE3;
	--cbc-cobalt: #0650A0;
	--cbc-ink: #000;
	--cbc-muted: #4F5978;
	--cbc-line: #E1E5EC;
	--cbc-ground: #F5F6F6;
	--cbc-panel: #fff;
	--cbc-soft: #E8ECF2;
	--cbc-r: 12px;
}

/* The theme turns off TT Norms' decorative "st" ligature on text; buttons don't inherit that, so set it everywhere here. */
.cbc, .cbc *, .cbc-banner, .cbc-banner *, .cbc-lightbox, .cbc-lightbox *, .cbc-toast { font-feature-settings: "liga" 0; }

/* ---------- banner additions ---------- */
.cbc-banner .banner-text .cbc-banner-intro { color: #fff; font-size: 20px; line-height: 30px; font-weight: 500; max-width: 720px; margin: 0 0 24px; }
.cbc-banner-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.cbc-banner-actions:empty { display: none; }
.cbc-banner .cbc-updated { color: #fff; margin: 0; }
.cbc-btn-outline {
	display: inline-flex; align-items: center; gap: 8px;
	border: 1.5px solid rgba(255,255,255,.65); color: #fff; background: transparent;
	border-radius: 150px; padding: 14.5px 30.5px; font-size: 22px; line-height: 21px; font-weight: 500;
	text-decoration: none; cursor: pointer; font-family: inherit;
}
.cbc-btn-outline:hover, .cbc-btn-outline:focus-visible { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

/* ---------- layout ---------- */
.cbc { padding-block: 80px 110px; }
.cbc *, .cbc *::before, .cbc *::after { box-sizing: border-box; }
.cbc [hidden] { display: none !important; }
.cbc :focus-visible, .cbc-lightbox :focus-visible { outline: 2px solid var(--cbc-blue); outline-offset: 2px; }
.cbc-ico { width: 16px; height: 16px; flex: none; }
.cbc-layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.cbc-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 110px; }

.cbc-rail { flex: 1 1 220px; max-width: 240px; position: sticky; top: calc(var(--cbc-offset, 85px) + 24px); display: flex; flex-direction: column; gap: 4px; }
.cbc-rail-label { font-size: 13px; line-height: 20px; letter-spacing: .12em; text-transform: uppercase; color: var(--cbc-muted); font-weight: 600; padding: 0 14px 10px; }
.cbc-rail a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--cbc-navy); text-decoration: none; font-size: 17px; line-height: 24px; font-weight: 500; border-left: 3px solid transparent; }
.cbc-rail a:hover { background: var(--cbc-panel); color: var(--cbc-navy); }
.cbc-rail a.is-on { background: var(--cbc-panel); border-left-color: var(--cbc-blue); }
.cbc-rail-help { margin-top: 20px; background: var(--cbc-soft); border-radius: 10px; padding: 18px; font-size: 14px; line-height: 21px; color: #3D4766; }
.cbc-rail-help strong { display: block; color: var(--cbc-navy); font-size: 15px; margin-bottom: 4px; }

@media (max-width: 991px) {
	.cbc { padding-top: 0; }
	.cbc-layout { gap: 0; }
	.cbc-rail {
		max-width: none; flex: 1 1 100%; flex-direction: row; gap: 8px; overflow-x: auto; z-index: 20;
		top: var(--cbc-offset, 85px); margin: 0 -12px; padding: 12px; background: var(--cbc-ground); border-bottom: 1px solid var(--cbc-line);
		scrollbar-width: none;
	}
	.cbc-rail::-webkit-scrollbar { display: none; }
	.cbc-rail-label, .cbc-rail-help { display: none; }
	.cbc-rail a { white-space: nowrap; border: 1px solid #C9D0DC; border-radius: 999px; padding: 7px 15px; font-size: 15px; background: var(--cbc-panel); }
	.cbc-rail a.is-on { background: var(--cbc-navy); border-color: var(--cbc-navy); color: #fff; }
	.cbc-main { padding-top: 48px; gap: 80px; }
}

.cbc-section { scroll-margin-top: calc(var(--cbc-offset, 85px) + 24px); display: flex; flex-direction: column; gap: 28px; min-width: 0; }
@media (max-width: 991px) { .cbc-section { scroll-margin-top: calc(var(--cbc-offset, 85px) + 80px); } }
.cbc-head { display: flex; flex-direction: column; gap: 12px; max-width: 780px; }
.cbc-head h2 { margin: 0; font-size: 52px; line-height: 65px; font-weight: 600; color: var(--cbc-ink); }
.cbc-head p { margin: 0; }
@media (max-width: 767px) { .cbc-head h2 { font-size: 36px; line-height: 44px; } }
.cbc-subhead { margin: 24px 0 0; font-size: 40px; line-height: 50px; font-weight: 500; color: var(--cbc-navy); }
@media (max-width: 767px) { .cbc-subhead { font-size: 30px; line-height: 38px; } }
.cbc-card { background: var(--cbc-panel); border: 1px solid var(--cbc-line); border-radius: var(--cbc-r); }
.cbc h3 { margin: 0; font-size: 22px; line-height: 28px; font-weight: 600; color: var(--cbc-navy); }
.cbc .defualt-btn.cbc-btn-sm, .cbc-btn-sm { padding: 11px 20px; font-size: 16px; line-height: 20px; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-family: inherit; }

/* ---------- reader ---------- */
.cbc-reader { background: var(--cbc-navy); color: #fff; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.cbc-reader:fullscreen { border-radius: 0; justify-content: center; padding: 3vh 5vw; }
.cbc-reader:fullscreen .cbc-stage-wrap { max-width: calc((100vh - 220px) * 16 / 9); width: 100%; margin: 0 auto; }
.cbc-reader-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cbc-chapters { display: flex; gap: 8px; flex-wrap: wrap; }
.cbc-chip { background: transparent; color: #C9D3F0; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 7px 15px; font-size: 14px; line-height: 20px; font-weight: 600; cursor: pointer; font-family: inherit; }
.cbc-chip:hover { color: #fff; border-color: #fff; }
.cbc-chip.is-on { background: #fff; color: var(--cbc-navy); border-color: #fff; }
.cbc-reader-tools { display: flex; gap: 8px; }
.cbc-icon-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.cbc-icon-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.cbc-icon-btn .cbc-ico { width: 18px; height: 18px; }

.cbc-stage-wrap { position: relative; padding: 0 12px 8px 0; }
.cbc-stage-wrap::before, .cbc-stage-wrap::after { content: ""; position: absolute; border-radius: 4px; }
.cbc-stage-wrap::before { inset: 8px 0 0 10px; background: #D9DCE2; }
.cbc-stage-wrap::after { inset: 4px 5px 4px 6px; background: #ECEEF1; }
.cbc-stage {
	position: relative; z-index: 1; aspect-ratio: 16 / 9; width: 100%; max-width: 100%;
	background: #fff; border-radius: 4px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.55);
	perspective: 2600px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; overflow: visible;
}
.cbc-stage.is-dragging { cursor: grabbing; }
.cbc-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; border-radius: 4px; pointer-events: none; -webkit-user-drag: none; }
.cbc-stage img:not([src]) { visibility: hidden; }
.cbc-leaf { position: absolute; inset: 0; z-index: 3; transform-origin: left center; transform-style: preserve-3d; will-change: transform; }
.cbc-shade { position: absolute; inset: 0; border-radius: 4px; background: linear-gradient(90deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.35)); opacity: 0; }
.cbc-cast { position: absolute; inset: 0; z-index: 2; border-radius: 4px; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,0) 55%); opacity: 0; }
.cbc-spine { position: absolute; left: 0; top: 0; bottom: 0; width: 6%; z-index: 4; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.14), rgba(0,0,0,0)); }
.cbc-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--cbc-muted); font-size: 16px; z-index: 1; }
.cbc-turn {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 48px; height: 48px; border-radius: 999px; border: 0;
	background: rgba(0,24,102,.88); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: opacity .2s;
}
.cbc-turn .cbc-ico { width: 20px; height: 20px; }
.cbc-prev { left: 16px; } .cbc-next { right: 16px; }
.cbc-stage:hover .cbc-turn, .cbc-turn:focus-visible { opacity: 1; }
.cbc-turn:disabled { display: none; }
@media (hover: none) { .cbc-turn { opacity: .9; width: 40px; height: 40px; } }
.cbc-reader-bottom { display: flex; align-items: center; gap: 16px; }
.cbc-count { font-size: 15px; color: #C9D3F0; white-space: nowrap; font-variant-numeric: tabular-nums; min-width: 64px; }
.cbc-count strong { color: #fff; }
.cbc-scrub { flex: 1; min-width: 0; accent-color: var(--cbc-blue); }
.cbc-reader-note { margin: 0; font-size: 14px; line-height: 20px; color: #9FB4E8; }
.cbc-reader-fallback { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cbc-reader-fallback p { margin: 0; color: #fff; }
.cbc-reader.is-failed .cbc-stage-wrap, .cbc-reader.is-failed .cbc-reader-bottom, .cbc-reader.is-failed .cbc-reader-note, .cbc-reader.is-failed .cbc-chapters, .cbc-reader.is-failed .cbc-fs { display: none; }
@media (max-width: 767px) { .cbc-reader { padding: 14px; } .cbc-reader-note { display: none; } }

/* ---------- tabs ---------- */
.cbc-seg { display: inline-flex; align-self: flex-start; background: var(--cbc-soft); border-radius: 999px; padding: 4px; gap: 2px; }
.cbc-seg button { background: transparent; color: var(--cbc-muted); border: 0; border-radius: 999px; padding: 10px 22px; font-size: 16px; line-height: 20px; font-weight: 600; cursor: pointer; font-family: inherit; }
.cbc-seg button[aria-selected="true"] { background: #fff; color: var(--cbc-navy); box-shadow: 0 1px 3px rgba(0,24,102,.18); }

/* ---------- logos ---------- */
.cbc-logo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1199px) { .cbc-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .cbc-logo-grid { grid-template-columns: minmax(0, 1fr); } }
.cbc-logo { overflow: hidden; display: flex; flex-direction: column; }
.cbc-logo-prev { position: relative; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; padding: 12%; }
.cbc-logo-prev img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.cbc-bg-white { background: #fff; border-bottom: 1px solid var(--cbc-line); }
.cbc-bg-navy { background: var(--cbc-navy); }
.cbc-bg-shell { background: #EFF0ED; }
.cbc-tag { position: absolute; top: 14px; left: 14px; background: var(--cbc-blue); color: #fff; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 5px 10px; }
.cbc-logo-info { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; justify-content: space-between; }
.cbc-logo-info p { margin: 4px 0 0; font-size: 15px; line-height: 22px; color: var(--cbc-muted); }
.cbc-dl-row { display: flex; gap: 8px; flex-wrap: wrap; }
.cbc-dl { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #C9D0DC; border-radius: 999px; padding: 6px 14px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--cbc-navy); text-decoration: none; background: #fff; }
.cbc-dl small { font-size: 13px; font-weight: 400; color: var(--cbc-muted); }
.cbc-dl:hover { border-color: var(--cbc-navy); color: var(--cbc-navy); background: var(--cbc-ground); }
.cbc-dl .cbc-ico { width: 14px; height: 14px; }

/* Secondary outline button on light backgrounds */
.cbc .cbc-btn-outline-navy { border-color: var(--cbc-navy); color: var(--cbc-navy); font-size: 18px; padding: 12px 24px; }
.cbc .cbc-btn-outline-navy:hover, .cbc .cbc-btn-outline-navy:focus-visible { background: var(--cbc-navy); color: #fff; border-color: var(--cbc-navy); }
.cbc .cbc-btn-outline-navy.cbc-btn-sm { font-size: 15px; padding: 9px 18px; }
.cbc-btn-outline .cbc-ico { width: 16px; height: 16px; }
.cbc-to-programs { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cbc-to-programs span { color: #3D4766; }

/* ---------- program logos ---------- */
.cbc-acc { background: #fff; border: 1px solid var(--cbc-line); border-radius: 16px; transition: border-color .25s, box-shadow .25s; }
.cbc-acc + .cbc-acc { margin-top: -6px; }
.cbc-acc:hover { border-color: #C9D0DC; }
.cbc-acc.is-open { border-color: var(--cbc-navy); box-shadow: 0 18px 40px -28px rgba(0,24,102,.5); }
.cbc-acc-h { margin: 0; }
.cbc-acc-btn {
	width: 100%; display: flex; align-items: center; gap: 16px; padding: 22px 24px; border: 0; background: transparent;
	border-radius: 16px; cursor: pointer; font-family: inherit; text-align: left; color: var(--cbc-navy);
}
.cbc-acc-title { font-size: 26px; line-height: 34px; font-weight: 500; }
.cbc-acc-count { font-size: 14px; line-height: 20px; color: var(--cbc-muted); background: var(--cbc-ground); border-radius: 999px; padding: 4px 12px; }
.cbc-acc-icon {
	margin-left: auto; width: 44px; height: 44px; flex: none; border-radius: 999px; border: 1px solid #C9D0DC;
	display: inline-flex; align-items: center; justify-content: center; color: var(--cbc-navy);
	transition: background-color .25s, border-color .25s, color .25s;
}
.cbc-acc-icon .cbc-ico { transform: rotate(90deg); transition: transform .35s cubic-bezier(.3,.7,.2,1); }
.cbc-acc-btn:hover .cbc-acc-icon { border-color: var(--cbc-navy); }
.cbc-acc.is-open .cbc-acc-icon { background: var(--cbc-navy); border-color: var(--cbc-navy); color: #fff; }
.cbc-acc.is-open .cbc-acc-icon .cbc-ico { transform: rotate(-90deg); }
.cbc-acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.3,.7,.2,1); }
.cbc-acc.is-open .cbc-acc-panel { grid-template-rows: 1fr; }
.cbc-acc-inner { min-height: 0; overflow: hidden; }
.cbc-acc-inner > .cbc-prog-grid { padding: 4px 24px 24px; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .35s; }
.cbc-acc.is-open .cbc-acc-inner > .cbc-prog-grid { opacity: 1; transform: none; transition-delay: .08s; }
.cbc-acc.is-open .cbc-acc-inner { overflow: visible; }
.cbc-acc.is-animating .cbc-acc-inner { overflow: hidden; }
@media (max-width: 575px) { .cbc-acc-btn { padding: 18px; gap: 10px; flex-wrap: wrap; } .cbc-acc-title { font-size: 21px; line-height: 28px; } .cbc-acc-icon { width: 38px; height: 38px; } .cbc-acc-inner > .cbc-prog-grid { padding: 0 18px 18px; } }
@media (prefers-reduced-motion: reduce) { .cbc-acc-panel, .cbc-acc-inner > .cbc-prog-grid, .cbc-acc-icon .cbc-ico { transition: none; } }
.cbc-prog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1199px) { .cbc-prog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .cbc-prog-grid { grid-template-columns: minmax(0, 1fr); } }
.cbc-prog-card {
	background: #fff; border: 1px solid var(--cbc-line); border-radius: var(--cbc-r); overflow: hidden;
	display: flex; flex-direction: column; padding: 0; text-align: left; cursor: pointer; font-family: inherit; color: inherit;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.cbc-prog-card:hover, .cbc-prog-card:focus-visible { border-color: var(--cbc-navy); box-shadow: 0 14px 30px -18px rgba(0,24,102,.45); transform: translateY(-2px); }
.cbc-prog-thumb { aspect-ratio: 16 / 7; width: 100%; display: flex; align-items: center; justify-content: center; padding: 8%; border-bottom: 1px solid var(--cbc-line); }
.cbc-prog-thumb img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.cbc-prog-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; width: 100%; }
.cbc-prog-name { font-size: 19px; line-height: 25px; font-weight: 600; color: var(--cbc-navy); }
.cbc-prog-meta { font-size: 14px; line-height: 20px; color: var(--cbc-muted); margin-top: -6px; }
.cbc-prog-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; line-height: 20px; font-weight: 600; color: var(--cbc-navy); }
.cbc-prog-link .cbc-ico { transition: transform .2s; }
.cbc-prog-card:hover .cbc-prog-link { text-decoration: underline; text-underline-offset: 3px; }
.cbc-prog-card:hover .cbc-prog-link .cbc-ico { transform: translateX(3px); }

.cbc-prog-dialog { position: fixed; inset: 0; margin: auto; height: fit-content; border: 0; padding: 0; background: transparent; width: min(1040px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 48px); overflow: auto; border-radius: 16px; }
.cbc-prog-dialog::backdrop { background: rgba(0,16,60,.72); }
.cbc-prog-panel { background: var(--cbc-ground); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.cbc-prog-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.cbc-prog-panel-head h3 { margin: 4px 0 0; font-size: 32px; line-height: 40px; }
.cbc-prog-close { width: 44px; height: 44px; flex: none; border-radius: 999px; border: 1px solid #C9D0DC; background: #fff; color: var(--cbc-navy); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.cbc-prog-close:hover { border-color: var(--cbc-navy); }
.cbc-prog-panel-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cbc-prog-panel-bar .cbc-seg { margin: 0; }
.cbc-prog-versions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 991px) { .cbc-prog-versions { grid-template-columns: minmax(0, 1fr); } .cbc-prog-panel { padding: 20px; } .cbc-prog-panel-head h3 { font-size: 24px; line-height: 30px; } }
.cbc-logo-prev.is-stacked { padding: 14%; }

.cbc-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 767px) { .cbc-rules { grid-template-columns: minmax(0, 1fr); } }
.cbc-rule { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.cbc-rule p { margin: 0; font-size: 15px; line-height: 24px; color: #3D4766; }
.cbc-rule-wide { grid-column: 1 / -1; }
.cbc-rule-fig { background: var(--cbc-ground); border-radius: 8px; padding: 22px; display: flex; justify-content: center; }
.cbc-rule-fig img { max-width: 100%; height: auto; }
.cbc-sizes { margin: 0; display: grid; gap: 10px; }
.cbc-sizes div { display: flex; justify-content: space-between; gap: 12px; background: var(--cbc-ground); border-radius: 8px; padding: 12px 16px; }
.cbc-sizes dt { font-weight: 500; }
.cbc-sizes dd { margin: 0; font-weight: 600; color: var(--cbc-navy); font-variant-numeric: tabular-nums; }
.cbc-donts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 991px) { .cbc-donts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .cbc-donts { grid-template-columns: minmax(0, 1fr); } }
.cbc-donts li { display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 22px; font-weight: 500; }
.cbc-dont-img { position: relative; display: block; background: var(--cbc-ground); border-radius: 8px; overflow: hidden; }
.cbc-dont-img img { display: block; width: 100%; height: auto; }
.cbc-dont-img .cbc-ico, .cbc-dont-mark .cbc-ico { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; padding: 5px; border-radius: 999px; background: #C8372D; color: #fff; stroke-width: 3; }
.cbc-donts li:has(.cbc-dont-mark) { flex-direction: row; align-items: center; gap: 12px; background: var(--cbc-ground); border-radius: 8px; padding: 12px 14px; }
.cbc-dont-mark { position: relative; width: 24px; height: 24px; flex: none; }
.cbc-dont-mark .cbc-ico { top: 0; right: 0; }

/* ---------- colours ---------- */
.cbc-palette { display: flex; flex-direction: column; gap: 18px; }
.cbc-pal-note { margin: -8px 0 0; font-size: 15px; line-height: 24px; color: #3D4766; }
.cbc-swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1199px) { .cbc-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .cbc-swatches { grid-template-columns: minmax(0, 1fr); } }
.cbc-swatch { overflow: hidden; display: flex; flex-direction: column; }
.cbc-sw-top { height: 150px; padding: 16px; display: flex; align-items: flex-end; font-size: 22px; line-height: 26px; font-weight: 700; color: var(--cbc-navy); }
.cbc-sw-top.is-dark { color: #fff; }
.cbc-sw-top.is-white { border-bottom: 1px solid var(--cbc-line); }
.cbc-tints { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); height: 28px; }
.cbc-tints span { display: flex; align-items: center; justify-content: center; font-size: 11px; line-height: 14px; font-weight: 700; color: rgba(0,24,102,.75); }
.cbc-vals { padding: 8px; display: flex; flex-direction: column; }
.cbc-val { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 10px; border: 0; border-radius: 6px; background: transparent; cursor: pointer; text-align: left; font-size: 14px; line-height: 20px; font-family: inherit; color: var(--cbc-ink); }
.cbc-val:hover { background: var(--cbc-ground); }
.cbc-val-l { color: var(--cbc-muted); font-size: 12px; letter-spacing: .06em; }
.cbc-val-v { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.cbc-val .cbc-ico { width: 13px; height: 13px; color: var(--cbc-muted); opacity: 0; transition: opacity .15s; }
.cbc-val:hover .cbc-ico, .cbc-val:focus-visible .cbc-ico { opacity: 1; }

/* ---------- partner kit ---------- */
.cbc-kit { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.cbc-tiles { flex: 1 1 380px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cbc-tile { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.cbc-tile img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; background: var(--cbc-soft); }
.cbc-tile figcaption, .cbc-badge figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--cbc-navy); }
.cbc-link-dl { display: inline-flex; align-items: center; gap: 5px; color: var(--cbc-cobalt); text-decoration: none; font-weight: 600; }
.cbc-link-dl:hover { color: var(--cbc-navy); text-decoration: underline; }
.cbc-link-dl .cbc-ico { width: 14px; height: 14px; }
.cbc-post { flex: 1.15 1 420px; min-width: 0; padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.cbc-post-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cbc-pblock { border-top: 1px solid var(--cbc-line); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.cbc-pblock p, .cbc-pblock li { font-size: 15px; line-height: 24px; margin: 0; }
.cbc .cbc-pblock ul { margin: 2px 0 0; padding-left: 22px; list-style: disc outside; }
.cbc .cbc-pblock ul li { list-style: disc outside; display: list-item; margin: 0 0 2px; padding: 0; }
.cbc .cbc-pblock ul li::marker { color: var(--cbc-cobalt); }
.cbc-eyebrow { font-size: 12px; line-height: 18px; letter-spacing: .12em; font-weight: 700; color: var(--cbc-cobalt); text-transform: uppercase; }

/* Badges come in two shapes, so they share a height rather than a box: each image fills its own frame. */
/* Height scales with the section width so two horizontal badges (about 8:3) always share a row. */
.cbc-badges { display: flex; flex-wrap: wrap; gap: 24px 20px; align-items: flex-start; container-type: inline-size; }
.cbc-badge { margin: 0; display: flex; flex-direction: column; gap: 8px; max-width: 100%; }
.cbc-badge img { display: block; height: min(180px, calc((100cqw - 21px) / 2 / 2.66)); width: auto; max-width: 100%; object-fit: contain; border-radius: 10px; }
.cbc-badge figcaption { width: 100%; }
@media (max-width: 575px) { .cbc-badge img { height: auto; max-height: 150px; } }

/* ---------- photos ---------- */
.cbc-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.cbc-fchip { background: #fff; color: var(--cbc-navy); border: 1px solid #C9D0DC; border-radius: 999px; padding: 9px 18px; font-size: 15px; line-height: 20px; font-weight: 600; cursor: pointer; font-family: inherit; }
.cbc-fchip.is-on { background: var(--cbc-navy); color: #fff; border-color: var(--cbc-navy); }
.cbc-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1199px) { .cbc-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .cbc-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cbc-photo { position: relative; aspect-ratio: 1; border: 0; padding: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--cbc-soft); font-family: inherit; }
.cbc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.cbc-photo:hover img { transform: scale(1.04); }
.cbc-photo-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; background: linear-gradient(transparent, rgba(0,24,102,.8)); color: #fff; font-size: 14px; line-height: 18px; font-weight: 600; text-align: left; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.cbc-photo-cap em { font-style: normal; font-weight: 500; font-size: 12px; opacity: .85; }

.cbc-lightbox { position: fixed; inset: 0; margin: auto; height: fit-content; width: fit-content; border: 0; padding: 0; background: transparent; max-width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px); }
.cbc-lightbox::backdrop { background: rgba(0,16,60,.92); }
.cbc-lb-in { display: flex; flex-direction: column; gap: 14px; }
.cbc-lb-in img { max-width: 100%; max-height: calc(100vh - 160px); width: auto; height: auto; margin: 0 auto; border-radius: 6px; display: block; }
.cbc-lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; color: #fff; font-family: inherit; }
.cbc-lb-bar strong { font-size: 17px; }
.cbc-lb-size { opacity: .75; font-size: 14px; margin-left: 6px; }
.cbc-lb-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cbc-lightbox .cbc-btn-outline.cbc-btn-sm { padding: 9.5px 18.5px; }

/* ---------- contact ---------- */
.cbc-contact { background: #fff; border: 1px solid var(--cbc-line); border-radius: 16px; padding: 36px; flex-direction: row; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cbc-contact > div:first-child { flex: 1 1 360px; min-width: 0; }
.cbc-contact h4 { margin: 0; font-size: 32px; line-height: 40px; font-weight: 500; color: var(--cbc-navy); }
.cbc-contact p { margin: 8px 0 0; color: #3D4766; }
.cbc-mail { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cbc-mail a { background: var(--cbc-ground); border-radius: 8px; padding: 10px 16px; font-weight: 600; color: var(--cbc-navy); text-decoration: none; word-break: break-all; }
@media (max-width: 767px) { .cbc-contact { padding: 24px; } .cbc-contact h4 { font-size: 26px; line-height: 32px; } }

/* ---------- seed report + toast ---------- */
.cbc-seed-report { background: #FFF8E1; border: 1px solid #F0D58C; border-radius: 10px; padding: 16px 20px; margin-bottom: 40px; font-size: 15px; line-height: 22px; }
.cbc-seed-report ul { margin: 8px 0 0; padding-left: 20px; }
.cbc-toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--cbc-navy); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 15px; line-height: 20px; font-weight: 600; opacity: 0; transition: opacity .25s, transform .25s; z-index: 99999; pointer-events: none; box-shadow: 0 10px 30px rgba(0,0,0,.25); max-width: calc(100% - 32px); text-align: center; }
.cbc-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
	.cbc-photo img, .cbc-turn, .cbc-toast, .cbc-prog-card, .cbc-prog-link .cbc-ico { transition: none; }
	.cbc-prog-card:hover { transform: none; }
}
