/* ==========================================================================
   INNO-STEM BRIDGE prototype v2 - additions on top of partners' theme.css
   Layout: one-row sticky top bar; home = landing sections; call = single page
   ========================================================================== */
:root {
	color-scheme: light;
	--isb-topbar-h: 72px;
	--isb-surface: #FFFFFF;
	--isb-page: #EEF1FA;
	--isb-line: rgba(38, 24, 111, .12);
	--isb-muted: #5A5D75;
}
html { scroll-padding-top: calc(var(--isb-topbar-h) + 12px); }
body { margin: 0; background: var(--isb-page); color: var(--isb-ink); font-family: var(--isb-body); }
.isb-main { background: var(--isb-page); }
:focus-visible { outline: 3px solid var(--isb-mint); outline-offset: 3px; }
.isb-wrap { padding-left: max(var(--isb-pad), env(safe-area-inset-left, 0px)); padding-right: max(var(--isb-pad), env(safe-area-inset-right, 0px)); }
.skip-link:focus { position: fixed !important; z-index: 1000; background: #fff; color: var(--isb-navy); padding: 12px 16px; border-radius: 10px; }

/* ---------- Top bar: one standard row ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: #1B1464; }
.isb-topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; color: #fff; background: rgba(23, 17, 86, .94); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.isb-topbar__row { height: var(--isb-topbar-h); display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); }
.isb-topbar__logo { flex: none; display: block; line-height: 0; }
.isb-topbar__logo img { width: 150px; height: auto; }
.isb-topnav { display: flex; align-items: center; gap: clamp(4px, 1vw, 14px); margin-inline: auto; }
.isb-topnav a { position: relative; color: rgba(255, 255, 255, .82); text-decoration: none; font: 500 15px var(--isb-body); padding: 10px 6px; white-space: nowrap; transition: color .2s; }
.isb-topnav a::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--isb-mint); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--isb-ease); }
.isb-topnav a:hover { color: #fff; }
.isb-topnav a:hover::after, .isb-topnav a.is-active::after, .isb-topnav a[aria-current="page"]::after { transform: scaleX(1); }
.isb-topnav a.is-active, .isb-topnav a[aria-current="page"] { color: #fff; }
.isb-topbar__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.isb-topbar .isb-lang a { padding: 8px 10px; cursor: pointer; }
.isb-iconbtn { width: 40px; height: 40px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; transition: background .2s, color .2s; }
.isb-iconbtn:hover, .isb-iconbtn[aria-expanded="true"] { background: #fff; color: var(--isb-navy); }
.isb-iconbtn svg { width: 20px; height: 20px; }
.isb-burger { display: none; }
.isb-topbar .isb-progress { bottom: -1px; }

@media (max-width: 1179px) {
	.isb-burger { display: inline-flex; }
	.isb-topnav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); background: #1B1464; border-bottom: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .5); }
	.isb-topnav:not(.is-open) { display: none; }
	.isb-topnav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.isb-topnav a::after { left: 4px; right: auto; width: 28px; bottom: 8px; }
	.isb-topbar__actions { margin-left: auto; }
}
@media (max-width: 560px) {
	.isb-topbar__cta { display: none; }
	.isb-topbar__logo img { width: 124px; }
	.isb-topbar__actions { gap: 6px; }
}

/* ---------- Accessibility panel ---------- */
.isb-a11y { position: fixed; z-index: 70; top: calc(var(--isb-topbar-h) + env(safe-area-inset-top, 0px) + 8px); right: max(12px, env(safe-area-inset-right, 0px)); width: min(340px, calc(100% - 24px)); box-sizing: border-box; padding: 20px; border-radius: 20px; background: #fff; color: var(--isb-navy); box-shadow: 0 24px 60px -16px rgba(20, 15, 74, .45); display: flex; flex-direction: column; gap: 12px; }
.isb-a11y__head { display: flex; justify-content: space-between; align-items: center; }
.isb-a11y__head h2 { margin: 0; font: 700 18px var(--isb-display); color: var(--isb-navy); }
.isb-a11y__close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--isb-line); background: #fff; color: var(--isb-navy); font-size: 20px; cursor: pointer; }
.isb-a11y__label { margin: 4px 0 0; font: 500 12px var(--isb-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--isb-muted); }
.isb-a11y__opts { display: flex; gap: 8px; }
.isb-a11y__opts button { flex: 1; min-height: 44px; border-radius: 12px; border: 2px solid var(--isb-indigo); background: #fff; color: var(--isb-indigo); font: 600 15px var(--isb-body); cursor: pointer; }
.isb-a11y__opts button[aria-pressed="true"] { background: var(--isb-indigo); color: #fff; }
html.isb-still *, html.isb-still *::before, html.isb-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.isb-still .isb-reveal { opacity: 1 !important; translate: none !important; }
html.isb-still .isb-stages__list > li .isb-stage { opacity: 1 !important; transform: none !important; }

.isb-toast { position: fixed; z-index: 80; left: 50%; bottom: max(20px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); box-sizing: border-box; padding: 14px 20px; border-radius: 16px; background: var(--isb-navy); color: #fff; font: 400 14px/1.45 var(--isb-body); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }

/* ---------- Hero tweak: header is no longer overlaid ---------- */
.isb-hero__inner { min-height: min(820px, calc(100svh - var(--isb-topbar-h) - 80px)); }

/* ---------- Section heads ---------- */
.isb-section__lead { max-width: 640px; margin: 0; font: 400 18px/1.55 var(--isb-body); color: var(--isb-ink); text-wrap: pretty; }
.isb-section__head h2 { margin: 0; text-wrap: balance; }

/* status tags shared by programme cards, call cards and call pages */
.isb-tag { display: inline-flex; align-items: center; gap: 8px; flex: none; font: 500 12px var(--isb-mono); padding: 6px 12px; border-radius: 99px; background: #E2E5EC; color: #4A4D66; white-space: nowrap; }
.isb-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.isb-tag--plain::before { display: none; }
.isb-tag--open { background: var(--isb-mint); color: var(--isb-navy); }
.isb-tag--soon { background: #fff; color: var(--isb-indigo); box-shadow: inset 0 0 0 1px var(--isb-line); }
.isb-tag--closed { background: #E2E5EC; color: #5A5D75; }
.is-dark .isb-tag--plain, .isb-band .isb-tag--plain { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- Calls grid ---------- */
.isb-call .isb-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.isb-call__cta { position: relative; z-index: 2; }
.isb-call { min-height: 300px; }

/* ---------- Partners ---------- */
.isb-partners { background: var(--isb-page); }
.isb-partner-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.isb-partner-grid > li { display: flex; }
.isb-partner-grid > li > * { flex: 1; }
.isb-partner-grid > li.is-lead { grid-column: span 2; }
@media (max-width: 999px) { .isb-partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .isb-partner-grid > li.is-lead { grid-column: 1 / -1; } }
@media (max-width: 599px) { .isb-partner-grid { grid-template-columns: 1fr; } }
.isb-partner { position: relative; display: flex; flex-direction: column; gap: 18px; box-sizing: border-box; padding: 24px; border-radius: 28px; background: #fff; color: var(--isb-indigo); transition: box-shadow .3s, transform .3s; }
.isb-partner:has(.isb-partner__link):hover { box-shadow: 0 24px 50px -24px rgba(38, 24, 111, .45); transform: translateY(-3px); }
.isb-partner__logo { height: 104px; display: flex; align-items: center; justify-content: flex-start; }
.isb-partner__logo img { max-height: 100%; max-width: min(220px, 100%); width: auto; height: auto; object-fit: contain; }
.isb-partner__info { display: flex; flex-direction: column; gap: 6px; }
.isb-partner h3 { margin: 0; color: var(--isb-navy); font: 700 17px/1.25 var(--isb-display); letter-spacing: -.02em; text-wrap: balance; }
.isb-partner__meta { margin: 0; font: 500 12px/1.5 var(--isb-mono); color: var(--isb-muted); }
.isb-partner__role { margin: 0; font: 500 14px/1.5 var(--isb-body); color: var(--isb-ink); }
.isb-partner__link { margin-top: auto; align-self: flex-start; display: inline-flex; gap: 6px; font: 600 14px var(--isb-body); color: var(--isb-blue); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.isb-partner__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.isb-partner__link:hover { color: var(--isb-green); }
.isb-partner__nolink { margin-top: auto; font: 400 13px var(--isb-body); color: var(--isb-muted); }

.isb-partner--lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; align-items: center; padding: clamp(24px, 3vw, 40px); background: linear-gradient(150deg, #26186F, #2E3F9E 60%, #4371C4); color: #fff; overflow: hidden; }
.isb-partner--lead::before { content: ""; position: absolute; left: -80px; bottom: -120px; width: 280px; height: 280px; border-radius: 50%; background: var(--isb-mint); filter: blur(100px); opacity: .35; pointer-events: none; }
.isb-partner--lead > * { position: relative; }
.isb-partner--lead .isb-partner__logo { height: auto; min-height: 140px; justify-content: center; padding: 24px; border-radius: 22px; background: #fff; }
.isb-partner--lead .isb-partner__logo img { max-width: 100%; max-height: 120px; }
.isb-partner--lead .isb-partner__info { gap: 12px; }
.isb-partner--lead h3 { color: #fff; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.12; }
.isb-partner--lead .isb-partner__meta { color: rgba(255, 255, 255, .7); }
.isb-partner--lead .isb-partner__role { color: rgba(255, 255, 255, .88); font-size: 16px; }
.isb-partner--lead .isb-partner__link { color: var(--isb-mint); margin-top: 8px; }
.isb-partner__badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font: 600 12px var(--isb-mono); text-transform: uppercase; letter-spacing: .06em; padding: 7px 12px; border-radius: 99px; background: var(--isb-mint); color: var(--isb-navy); }
.isb-partner__badge::before { content: ""; width: 8px; height: 8px; transform: rotate(45deg); background: var(--isb-navy); }
@media (max-width: 699px) { .isb-partner--lead { grid-template-columns: 1fr; } }

/* ---------- Call single page ---------- */
.isb-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 12px var(--isb-mono); color: rgba(255, 255, 255, .65); }
.isb-crumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.isb-crumbs a:hover { color: var(--isb-mint); }
.isb-band { padding-top: clamp(40px, 5vw, 72px); }
.isb-band__lead { max-width: 760px; margin: 0; line-height: 1.55; text-wrap: pretty; }
.isb-band__title { margin: 0; max-width: 1000px; }
.isb-facts { margin: 8px 0 0; width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border-radius: 22px; overflow: hidden; background: rgba(255, 255, 255, .16); }
.isb-facts > div { padding: 18px 20px; background: rgba(20, 15, 74, .55); }
.isb-facts dt { font: 500 11px var(--isb-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--isb-mint); }
.isb-facts dd { margin: 6px 0 0; font: 600 16px/1.35 var(--isb-body); color: #fff; }
@media (max-width: 899px) { .isb-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .isb-facts { grid-template-columns: 1fr; } }
.isb-band__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.isb-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.isb-btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }

.isb-callpage { padding-block: clamp(48px, 6vw, 88px); background: #fff; }
.isb-callpage__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 979px) { .isb-callpage__grid { grid-template-columns: 1fr; } }
.isb-callpage__body { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.isb-callpage__body h2 { margin: 26px 0 0; color: var(--isb-navy); font: 700 clamp(22px, 2.2vw, 30px)/1.15 var(--isb-display); letter-spacing: -.03em; }
.isb-callpage__body h2:first-child { margin-top: 0; }
.isb-callpage__body p, .isb-callpage__body li { margin: 0; font: 400 17px/1.7 var(--isb-body); color: #23264f; }
.isb-callpage__body ul { margin: 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.isb-callpage__body ul li { position: relative; padding-left: 26px; }
.isb-callpage__body ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; transform: rotate(45deg); background: var(--isb-green); }
.isb-dates { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-left: 2px solid var(--isb-line); }
.isb-dates li { position: relative; display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 10px 0 10px 22px; }
.isb-dates li::before { content: ""; position: absolute; left: -7px; top: 18px; width: 12px; height: 12px; transform: rotate(45deg); background: #fff; border: 2px solid var(--isb-blue); box-sizing: border-box; }
.isb-dates time { font: 500 13px/1.9 var(--isb-mono); color: var(--isb-blue); }
@media (max-width: 559px) { .isb-dates li { grid-template-columns: 1fr; gap: 2px; } }
.isb-faq { display: flex; flex-direction: column; gap: 8px; }
.isb-faq details { border-radius: 18px; background: var(--isb-page); padding: 0 20px; }
.isb-faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative; font: 600 16px/1.4 var(--isb-body); color: var(--isb-navy); }
.isb-faq summary::-webkit-details-marker { display: none; }
.isb-faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font: 400 24px var(--isb-body); color: var(--isb-blue); }
.isb-faq details[open] summary::after { content: "−"; }
.isb-faq details p { padding-bottom: 18px; }

.isb-aside { position: sticky; top: calc(var(--isb-topbar-h) + 24px); display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: 28px; background: var(--isb-page); color: var(--isb-indigo); }
.isb-aside__row { display: flex; flex-direction: column; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid var(--isb-line); }
.isb-aside__row span { font: 500 11px var(--isb-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--isb-muted); }
.isb-aside__row b { font: 600 16px/1.4 var(--isb-body); color: var(--isb-navy); }
.isb-aside .isb-btn { width: 100%; box-sizing: border-box; }
.isb-aside__note { margin: 0; font: 400 13px/1.5 var(--isb-body); color: var(--isb-muted); }
.isb-aside__note a { color: var(--isb-blue); }

.isb-apply { background: var(--isb-page); }
.isb-apply__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 979px) { .isb-apply__grid { grid-template-columns: 1fr; } }
.isb-apply__intro { display: flex; flex-direction: column; gap: 18px; }
.isb-apply__intro h2 { margin: 0; color: var(--isb-navy); font: 800 clamp(30px, 3.6vw, 52px)/1.02 var(--isb-display); letter-spacing: -.045em; }
.isb-form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.isb-form legend { padding: 0 0 10px; font: 500 12px var(--isb-mono); text-transform: uppercase; color: #fff; }
.isb-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.isb-checks label { flex-direction: row; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .25); font: 400 14px var(--isb-body); text-transform: none; cursor: pointer; }
.isb-checks input { accent-color: var(--isb-mint); width: 16px; height: 16px; margin: 0; }
.isb-checks label:has(input:checked) { background: rgba(30, 255, 214, .16); border-color: var(--isb-mint); }
.isb-form__hint { margin: 0; font: 400 13px/1.5 var(--isb-body); color: rgba(255, 255, 255, .7); text-transform: none; }
.isb-form .isb-form__file input { padding: 12px; }

/* prototype marker for content still to confirm */
.isb-tbc { display: inline-block; font: 500 11px var(--isb-mono); padding: 2px 8px; border-radius: 6px; background: rgba(255, 196, 0, .22); color: inherit; vertical-align: middle; }

/* content stays visible at rest; reveal keeps only the slide-in */
.isb-js .isb-reveal { opacity: 1; }
.isb-topbar__logo { flex: 0 1 150px; min-width: 88px; }
.isb-topbar__logo img { width: 100%; max-width: 150px; }
@media (max-width: 360px) { .isb-topbar .isb-lang a { padding: 8px 7px; } .isb-topbar__row { gap: 10px; } }
.isb-partner-grid > li { min-width: 0; }

/* ==========================================================================
   v3: spacing system, calls 2-up, news archive + single post
   One vertical unit (--isb-sec) between blocks. Blocks on the same ground
   share one unit instead of stacking two.
   ========================================================================== */
:root { --isb-sec: clamp(72px, 8vw, 120px); --isb-head-gap: clamp(32px, 3.5vw, 48px); --isb-card-gap: clamp(16px, 1.6vw, 24px); }
.isb-section { padding-block: var(--isb-sec); }
.isb-section__head, .isb-section__head.is-centered { padding: 0 0 var(--isb-head-gap); }
.isb-timeline { padding-top: 0; }
.isb-calls-section { background: #fff; }
.isb-partners { background: var(--isb-page); }
.isb-resources-section { padding-top: var(--isb-sec); }
.isb-nl-banner-wrap { padding-block: 0; }
.isb-grid, .isb-partner-grid, .isb-news { gap: var(--isb-card-gap); }

.isb-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 767px) { .isb-grid--2 { grid-template-columns: 1fr; } }
.isb-grid--2 .isb-call .isb-card__text { max-width: 520px; }

/* placeholder covers (replaced by the featured image in WordPress) */
.isb-cover { position: relative; width: 100%; height: 100%; min-height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.isb-cover--1 { background: linear-gradient(135deg, #26186F, #4371C4); }
.isb-cover--2 { background: linear-gradient(135deg, #22B463, #1EFFD6); }
.isb-cover--3 { background: linear-gradient(135deg, #2E3F9E, #22B463); }
.isb-cover--4 { background: linear-gradient(135deg, #140F4A, #2E3F9E); }
.isb-cover::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px); background-size: 22px 22px; }
.isb-cover__mark { position: relative; width: 26%; aspect-ratio: 1; background: center / contain no-repeat; opacity: .85; }
.isb-cover__note { position: absolute; left: 16px; bottom: 14px; font: 500 11px var(--isb-mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.isb-cover--2 .isb-cover__note { color: rgba(20, 15, 74, .7); }

/* news cards */
.isb-newslist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--isb-card-gap); }
.isb-newslist > li { display: flex; min-width: 0; }
.isb-newslist > li > * { flex: 1; }
.isb-newslist > li.is-featured { grid-column: 1 / -1; }
@media (max-width: 999px) { .isb-newslist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .isb-newslist { grid-template-columns: 1fr; } }
.isb-ncard { position: relative; display: flex; flex-direction: column; border-radius: 28px; background: #fff; overflow: hidden; transition: box-shadow .3s, transform .3s; }
.isb-ncard:hover { box-shadow: 0 24px 50px -24px rgba(38, 24, 111, .45); transform: translateY(-3px); }
.isb-ncard__media { display: block; aspect-ratio: 16 / 10; }
.isb-ncard__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 28px; }
.isb-ncard__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 12px; font: 500 12px var(--isb-mono); color: var(--isb-muted); }
.isb-ncard__meta span { color: var(--isb-blue); }
.isb-ncard__title { margin: 0; color: var(--isb-navy); font: 700 20px/1.22 var(--isb-display); letter-spacing: -.025em; text-wrap: balance; }
.isb-ncard__title a { color: inherit; text-decoration: none; }
.isb-ncard__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.isb-ncard__text { margin: 0; font: 400 15px/1.55 var(--isb-body); color: var(--isb-ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.isb-ncard__more { margin-top: auto; padding-top: 4px; font: 600 14px var(--isb-body); color: var(--isb-blue); }
.isb-ncard--featured { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.isb-ncard--featured .isb-ncard__media { aspect-ratio: auto; min-height: 380px; }
.isb-ncard--featured .isb-ncard__body { justify-content: center; padding: clamp(28px, 4vw, 56px); gap: 16px; }
.isb-ncard--featured .isb-ncard__title { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.12; }
.isb-ncard--featured .isb-ncard__text { font-size: 17px; -webkit-line-clamp: 4; }
.isb-ncard--featured .isb-ncard__more { margin-top: 8px; }
@media (max-width: 799px) { .isb-ncard--featured { grid-template-columns: 1fr; } .isb-ncard--featured .isb-ncard__media { min-height: 0; aspect-ratio: 16 / 10; } }

/* news archive */
.isb-archive-sec { padding-top: clamp(40px, 5vw, 64px); }
.isb-archive__filter { margin-bottom: clamp(24px, 3vw, 40px); }
.isb-pagination { margin-top: clamp(32px, 4vw, 56px); }
.isb-underline-link--dark a { color: var(--isb-indigo); }

/* single post */
.isb-wrap--article { max-width: 1200px; }
.isb-band--article { padding-bottom: calc(clamp(40px, 5vw, 72px) + clamp(80px, 10vw, 160px)); }
.isb-band--article .isb-wrap { gap: 18px; }
.isb-article__meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 500 13px var(--isb-mono); color: rgba(255, 255, 255, .8); }
.isb-article__title { font-size: clamp(32px, 4.4vw, 60px) !important; max-width: 940px; }
.isb-article { background: #fff; padding-bottom: var(--isb-sec); }
.isb-article__cover { margin: calc(-1 * clamp(80px, 10vw, 160px)) 0 0; position: relative; }
.isb-article__cover .isb-cover { aspect-ratio: 16 / 8; border-radius: clamp(20px, 2.5vw, 32px); box-shadow: 0 40px 80px -40px rgba(20, 15, 74, .5); }
.isb-article__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); margin-top: clamp(40px, 5vw, 64px); align-items: start; }
@media (max-width: 979px) { .isb-article__grid { grid-template-columns: 1fr; } }
.isb-callpage__body .isb-article__lead { font: 500 clamp(18px, 1.6vw, 21px)/1.55 var(--isb-body); color: var(--isb-navy); }
.isb-callpage__body .isb-draft { padding: 14px 16px; border-radius: 14px; background: rgba(255, 196, 0, .18); font-size: 15px; }
.isb-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--isb-line); }
.isb-share span { margin-right: 6px; font: 500 12px var(--isb-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--isb-muted); }
.isb-share a, .isb-share button { padding: 10px 16px; border: 0; border-radius: 99px; background: var(--isb-page); color: var(--isb-navy); font: 600 14px var(--isb-body); text-decoration: none; cursor: pointer; }
.isb-share a:hover, .isb-share button:hover { background: var(--isb-indigo); color: #fff; }
.isb-backlink { align-self: flex-start; font: 600 15px var(--isb-body); color: var(--isb-blue); text-decoration: none; }
.isb-backlink:hover { color: var(--isb-green); }
.isb-aside__title { margin: 0; color: var(--isb-navy); font: 700 20px var(--isb-display); letter-spacing: -.02em; }
.isb-aside__call { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 16px; border-radius: 16px; background: #fff; color: var(--isb-navy); text-decoration: none; font: 600 15px/1.35 var(--isb-body); transition: transform .2s; }
.isb-aside__call:hover { transform: translateX(4px); }
.isb-more { background: var(--isb-page); }

/* theme.css zeroes margins inside isb-* blocks, so offsets here need the stronger hand */
.isb-article .isb-article__cover { margin: calc(-1 * clamp(80px, 10vw, 160px)) 0 0 !important; }
.isb-article .isb-article__grid { margin-top: clamp(40px, 5vw, 64px) !important; }
.isb-callpage__body h2 { margin-top: 18px !important; }
.isb-callpage__body h2:first-child, .isb-callpage__body .isb-article__lead + h2 { margin-top: 0 !important; }
.isb-footer__brand { display: flex; flex-direction: column; justify-content: flex-start !important; gap: 20px; }
.isb-footer__brand p { margin: 0; max-width: 300px; }

/* v3.1: theme.css resets margin-block on every child of an isb-* block.
   Layout spacing therefore comes from gap; the few real margins are forced here. */
.isb-archive-sec .isb-wrap { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.isb-archive-sec .isb-wrap > .isb-pagination { margin-top: clamp(8px, 1.5vw, 16px) !important; }
.isb-archive__filter { margin: 0 !important; align-self: flex-start; }
.isb-ncard__body > .isb-ncard__more { margin-top: auto !important; }
.isb-ncard--featured .isb-ncard__body > .isb-ncard__more { margin-top: 8px !important; }
.isb-partner > .isb-partner__link, .isb-partner > .isb-partner__nolink { margin-top: auto !important; }
.isb-partner--lead .isb-partner__info > .isb-partner__link { margin-top: 8px !important; }
.isb-band .isb-wrap > .isb-facts { margin-top: 8px !important; }
.isb-facts dd { margin-top: 6px !important; }
.isb-callpage__body > .isb-share { margin-top: 16px !important; }
.isb-a11y > .isb-a11y__label { margin-top: 4px !important; }

/* ==========================================================================
   WordPress theme layer (v1.0.0): things the static prototype did not have.
   ========================================================================== */
.admin-bar .isb-topbar { top: calc(env(safe-area-inset-top, 0px) + var(--wp-admin--admin-bar--height, 32px)); }
@media (max-width: 600px) { .admin-bar .isb-topbar { top: env(safe-area-inset-top, 0px); } }
.isb-topbar__name { font: 700 16px var(--isb-display); color: #fff; }
.isb-footer__link { font: 500 14px var(--isb-body); color: rgba(255, 255, 255, .8); text-decoration: none; word-break: break-all; }
.isb-footer__link:hover { color: var(--isb-mint); }

/* lists rendered as <ol>/<ul> without markers */
.isb-stages__list, .isb-grid, .isb-newslist, .isb-partner-grid { list-style: none; padding: 0; margin: 0; }
.isb-grid--1 { grid-template-columns: minmax(0, 1fr); }

/* EIT badge as an image */
.isb-badge-img { width: min(150px, 60%); height: auto; }

/* call header facts: as many columns as facts */
.isb-facts--1 { grid-template-columns: minmax(0, 1fr); }
.isb-facts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.isb-facts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 899px) { .isb-facts--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .isb-facts--2, .isb-facts--3 { grid-template-columns: 1fr; } }
.isb-aside__pdf { font: 600 14px var(--isb-body); color: var(--isb-blue); text-decoration: none; }
.isb-aside__pdf:hover { color: var(--isb-green); }
.isb-callpage__content > * + * { margin-top: 14px !important; }
.isb-res__soon { margin: 0; font: 500 12px var(--isb-mono); color: var(--isb-muted); }

/* news category filter as links */
.isb-filter a { display: inline-flex; align-items: center; border-radius: 99px; font: 500 13px var(--isb-body); white-space: nowrap; text-decoration: none; border: 1px solid var(--isb-indigo); padding: 10px 16px; color: var(--isb-indigo); transition: all .25s; }
.isb-filter a[aria-current="page"] { background: linear-gradient(135deg, #26186F, #4371C4); color: #fff; border-color: transparent; }
.isb-filter a:not([aria-current="page"]):hover { background: var(--isb-light); }

/* real photos in covers and news cards */
.isb-cover--photo { background: var(--isb-indigo); }
.isb-cover--photo::before { display: none; }
.isb-cover--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.isb-article__cover .isb-cover--photo { aspect-ratio: 16 / 8; }
.isb-news-card.has-photo { background: var(--isb-navy); }
.isb-news-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; z-index: 0; }
.isb-news-card.has-photo::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(20, 15, 74, .1), rgba(20, 15, 74, .85)); }
.isb-news-card > :not(.isb-news-card__img) { position: relative; z-index: 1; }
/* fewer than four news: the grid closes without holes */
.isb-news--n1 .isb-news__lead li { grid-column: 1 / -1; grid-row: span 1; }
.isb-news--n2 .isb-news__rest li:first-child { grid-row: span 2; }
.isb-news--n3 .isb-news__rest li { grid-column: span 2; }

/* text of news and pages (block editor content) */
.isb-entry.isb-prose { padding: 0; background: none; }
.isb-entry > * { margin-block: 0 1.1em; }
.isb-entry > *:last-child { margin-bottom: 0; }
.isb-entry p, .isb-entry li { font: 400 17px/1.7 var(--isb-body); color: #23264f; }
.isb-entry h2 { margin-block: 1.4em .5em; color: var(--isb-navy); font: 700 clamp(22px, 2.2vw, 30px)/1.15 var(--isb-display); letter-spacing: -.03em; }
.isb-entry h3 { margin-block: 1.2em .4em; color: var(--isb-navy); font: 700 clamp(18px, 1.8vw, 22px)/1.2 var(--isb-display); }
.isb-entry ul, .isb-entry ol { padding-left: 1.3em; }
.isb-entry li + li { margin-top: .35em; }
.isb-entry a { color: var(--isb-blue); text-decoration: underline; text-underline-offset: 3px; }
.isb-entry img { border-radius: 20px; height: auto; }
.isb-entry figure { margin-inline: 0; }
.isb-entry .wp-block-table { overflow-x: auto; }
.isb-entry table { width: 100%; border-collapse: collapse; font: 400 15px/1.5 var(--isb-body); }
.isb-entry th, .isb-entry td { padding: 12px 14px; border: 1px solid var(--isb-line); text-align: left; vertical-align: top; }
.isb-entry th { background: var(--isb-page); color: var(--isb-navy); font-weight: 600; }
.isb-entry blockquote { margin: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--isb-mint); }
.isb-page { background: #fff; padding-block: clamp(48px, 6vw, 88px) var(--isb-sec); }
.isb-entry--page { max-width: 820px; }
.isb-footer__brand .isb-topbar__logo { flex: none; align-self: flex-start; }
