/* SBP section styles. Tokens come from theme.json (--wp--preset--*); these classes give the
   A + C comp layouts to ordinary core blocks, so staff can still edit every word and photo.
   Breakpoints: phone < 782px (WordPress's own), tablet < 1100px. */

:root {
	--sbp-blue: var(--wp--preset--color--blue);
	--sbp-orange: var(--wp--preset--color--orange);
	--sbp-ink: var(--wp--preset--color--ink);
	--sbp-grey: var(--wp--preset--color--grey);
	--sbp-line: var(--wp--preset--color--line);
	--sbp-deep: var(--wp--preset--color--blue-deep);
	--sbp-gutter: clamp(16px, 3.4vw, 48px);
	--sbp-display: var(--wp--preset--font-family--display);
}

html { scroll-padding-top: 140px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
/* Full-width sections carry the page gutter themselves (an inline padding, as on the blue band, wins). */
.wp-block-post-content > .wp-block-group,
.sbp-foot { padding-left: var(--sbp-gutter); padding-right: var(--sbp-gutter); }
.wp-block-post-content > * { margin-block: 0; }

/* ---------- shared pieces ---------- */
.is-style-label {
	font-family: var(--sbp-display);
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	line-height: 1.4;
}
.is-style-label a { text-decoration: none; }
.is-style-numeral { font-weight: 200; line-height: 0.9; color: var(--sbp-blue); }
.has-orange-color.is-style-numeral { color: var(--sbp-orange); }
/* Orange on the blue panel is 2.5:1, below the 4.5:1 text minimum: labels there use beige, like the pathway band. */
.has-blue-background-color .is-style-label.has-orange-color { color: var(--wp--preset--color--beige) !important; }
/* Menu sections with no page of their own render as text, not as links without an address. */
span.wp-block-navigation-item__content { cursor: default; }
.sbp-star {
	display: inline-block;
	width: 22px;
	height: 22px;
	background: var(--sbp-orange);
	-webkit-mask: url("../brand/diamond-mask.svg") center / contain no-repeat;
	mask: url("../brand/diamond-mask.svg") center / contain no-repeat;
}
.wp-block-separator.is-style-star { border: 0; width: 22px; height: 22px; } /* editor preview */
.is-style-card { background: #fff; border-radius: 4px; padding: 28px; }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: currentColor;
	border: 1.5px solid currentColor;
	padding: 14.5px 26.5px;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--sbp-deep); color: #fff; border-color: var(--sbp-deep); }
.sbp-more { font-family: var(--sbp-display); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em; }
.sbp-more a { text-decoration: none; }
.sbp-more--after { margin-top: 28px !important; }
.sbp-more--pair a + a { margin-left: 32px; }

/* Texture: the manual's circle tile, white at 8% on blue grounds */
.sbp-tile { position: relative; overflow: hidden; isolation: isolate; }
.sbp-tile::before {
	content: "";
	position: absolute;
	z-index: -1;
	right: -200px;
	top: -240px;
	width: 720px;
	aspect-ratio: 410 / 656;
	background: url("../brand/circle-tile.webp") center / contain no-repeat;
	filter: brightness(0) invert(1);
	opacity: 0.08;
	pointer-events: none;
}

/* Split section: title column + content column (A's 1fr 2fr) */
.sbp-split {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 32px 64px;
	align-items: start;
}
.sbp-split > * { margin: 0 !important; min-width: 0; } /* min-width: a wide table scrolls inside its column instead of widening the page */
.sbp-split--joining { grid-template-columns: 4fr 8fr; }
.sbp-rule-bottom { border-bottom: 1px solid var(--sbp-line); }
.sbp-rule-top { border-top: 1px solid var(--sbp-line); }

/* Cards in three or four columns */
.sbp-grid-3, .sbp-grid-4 { display: grid; gap: 32px; }
.sbp-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sbp-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sbp-grid-3 > *, .sbp-grid-4 > * { margin: 0 !important; }
.sbp-topline { border-top: 2px solid var(--sbp-blue); padding-top: 18px; }

/* ---------- header ---------- */
/* WordPress wraps the header part in a div exactly as tall as the bar, which leaves sticky no room to stick.
   display: contents lets the bar stick to the whole page instead. */
.wp-block-template-part:has(> .sbp-topbar) { display: contents; }
.admin-bar .sbp-topbar { top: 32px; }
@media (max-width: 782px) { .admin-bar .sbp-topbar { top: 46px; } }
.sbp-topbar {
	position: sticky;
	top: 0;
	z-index: 50;
	min-height: 96px;
	padding: 0 var(--sbp-gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	background: #fff;
	color: var(--sbp-ink);
	box-shadow: 0 1px 0 var(--sbp-line);
	transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.admin-bar .sbp-topbar { top: var(--wp-admin--admin-bar--height, 0); }
.sbp-topbar .sbp-logo { margin: 0; flex: 0 0 auto; }
.sbp-topbar .sbp-logo img { height: 66px; width: auto; display: block; }
.sbp-topbar .sbp-logo img.sbp-logo--light { display: none; }
/* WordPress's flow layout puts a top margin on every item after the first; in a centred flex bar that pushes the menu down. */
.sbp-topbar > * { margin: 0 !important; }
.sbp-topbar .wp-block-navigation { gap: 22px; font-size: 11px; letter-spacing: 0.12em; }
.sbp-topbar .wp-block-navigation__container > .wp-block-navigation-item { flex: 0 0 auto; white-space: nowrap; }
/* Below 1366px the six sections no longer fit on one line: use the full-screen menu, as the tablet comps do. */
@media (max-width: 1365px) {
	.sbp-topbar .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.sbp-topbar .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
	.sbp-topbar .sbp-lang { margin-left: auto !important; }
	.sbp-topbar .wp-block-navigation { order: 3; }
}
.sbp-topbar .wp-block-navigation a { text-decoration: none; }
/* Desktop dropdowns as the comps: a small chevron, and a panel that hangs from the bar's bottom edge under an orange rule.
   Items sit centred in the 96px bar, so the panel drops by half the bar from the item's middle; ::after bridges the gap for hover. */
.sbp-topbar .wp-block-navigation__submenu-icon { width: auto; height: auto; margin-left: 6px; padding: 0; transform: none !important; }
.sbp-topbar .wp-block-navigation__submenu-icon svg { display: none; }
.sbp-topbar .wp-block-navigation__submenu-icon::after,
.sbp-lang > button::after { content: ""; display: block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: 0.7; }
.sbp-topbar .wp-block-navigation .has-child .wp-block-navigation__submenu-container { color: var(--sbp-ink); background: #fff; border: 0; border-top: 3px solid var(--sbp-orange); box-shadow: 0 18px 40px rgba(12, 92, 151, 0.18); padding: 10px 0; }
/* !important: core's :hover rule (higher specificity) resets min-width to 200px, so long items spilled out of the panel. */
.sbp-topbar .wp-block-navigation__container > .has-child > .wp-block-navigation__submenu-container { min-width: 290px !important; width: max-content !important; }
.sbp-topbar .wp-block-navigation .wp-block-navigation__submenu-container a { padding: 11px 24px; font-family: var(--wp--preset--font-family--body); font-size: 17px; line-height: 1.35; text-transform: none; letter-spacing: 0; font-weight: 400; box-shadow: none !important; }
.sbp-topbar .wp-block-navigation .wp-block-navigation__submenu-container a:hover,
.sbp-topbar .wp-block-navigation .wp-block-navigation__submenu-container a:focus { background: var(--wp--preset--color--beige); color: var(--sbp-blue); }
/* The page you are on: blue, bold, orange bar on the left (the phone menu marks it blue and bold too) */
.sbp-topbar .wp-block-navigation .wp-block-navigation__submenu-container .current-menu-item > a { color: var(--sbp-blue); font-weight: 600; box-shadow: inset 3px 0 0 var(--sbp-orange) !important; }
@media (min-width: 1366px) {
	.sbp-topbar .wp-block-navigation__container > .has-child > .wp-block-navigation__submenu-container { top: calc(50% + 48px) !important; left: -22px !important; }
	/* the last two sections open leftwards; Contact and Careers (phone-only) follow them */
	.sbp-topbar .wp-block-navigation__container > .has-child:nth-last-child(-n+4) > .wp-block-navigation__submenu-container { left: auto !important; right: -22px !important; }
	.sbp-topbar .wp-block-navigation__container > .has-child::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 48px; }
	/* menu centred between logo and the language + search pair, which sit 14px apart */
	.sbp-topbar { justify-content: flex-start; }
	.sbp-topbar .wp-block-navigation, .sbp-topbar .sbp-lang { margin-left: auto !important; }
	.sbp-topbar .sbp-search-btn { margin-left: -10px !important; }
}
/* Phone / tablet full-screen menu, as the comps: each section is a row with + / -, its links indented underneath, lines between rows.
   The section's own toggle button is stretched over the row; sbp.js opens and closes it (class is-open).
   The .wp-block-navigation prefix outranks the desktop dropdown rules above (card, shadow, orange rule, 290px width). */
.sbp-topbar .wp-block-navigation__responsive-container.is-menu-open { padding: 24px var(--sbp-gutter); color: var(--sbp-ink); }
.sbp-topbar .is-menu-open .wp-block-navigation__responsive-container-content,
.sbp-topbar .is-menu-open .wp-block-navigation__container,
.sbp-topbar .is-menu-open .wp-block-navigation-item { align-items: stretch !important; text-align: left; }
.sbp-topbar .is-menu-open .wp-block-navigation__container { gap: 0 !important; width: 100%; margin-top: 8px; border-top: 1px solid var(--sbp-line); }
.sbp-topbar .wp-block-navigation .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item { position: relative; width: 100%; border-bottom: 1px solid var(--sbp-line); }
.sbp-topbar .wp-block-navigation .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > a { display: block; padding: 18px 40px 18px 0 !important; font-family: var(--sbp-display); font-size: 15px; font-weight: 500; line-height: 1.3; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sbp-blue); box-shadow: none; }
.sbp-topbar .wp-block-navigation .is-menu-open .has-child > .wp-block-navigation__submenu-icon { display: block !important; position: absolute; top: 0; left: 0; right: 0; width: 100%; height: 59px; margin: 0; padding: 0; background: none; border: 0; color: var(--sbp-ink); cursor: pointer; z-index: 2; }
.sbp-topbar .wp-block-navigation .is-menu-open .has-child > .wp-block-navigation__submenu-icon::after { content: "+"; position: absolute; right: 4px; top: 50%; width: auto; height: auto; border: 0; transform: translateY(-50%); opacity: 1; font: 400 26px/1 var(--sbp-display); }
.sbp-topbar .wp-block-navigation .is-menu-open .has-child.is-open > .wp-block-navigation__submenu-icon::after { content: "\2013"; }
.sbp-topbar .wp-block-navigation .is-menu-open .has-child > .wp-block-navigation__submenu-container { display: none !important; position: static !important; min-width: 0 !important; width: 100% !important; padding: 0 0 12px !important; border: 0; box-shadow: none; background: none; opacity: 1 !important; visibility: visible !important; height: auto !important; }
.sbp-topbar .wp-block-navigation .is-menu-open .has-child.is-open > .wp-block-navigation__submenu-container { display: flex !important; flex-direction: column; }
.sbp-topbar .wp-block-navigation .is-menu-open .wp-block-navigation__submenu-container a { display: block; padding: 11px 0 11px 16px !important; font-size: 18px; color: var(--sbp-ink); background: none; }
.sbp-topbar .wp-block-navigation .is-menu-open .wp-block-navigation__submenu-container a:hover,
.sbp-topbar .wp-block-navigation .is-menu-open .wp-block-navigation__submenu-container a:focus-visible { background: none; color: var(--sbp-blue); }
.sbp-topbar .wp-block-navigation .is-menu-open .wp-block-navigation__submenu-container .current-menu-item > a { font-weight: 600; color: var(--sbp-blue); box-shadow: none !important; }
.sbp-topbar .wp-block-navigation-item.current-menu-item > a,
.sbp-topbar .wp-block-navigation-item.current-menu-ancestor > a { box-shadow: 0 2px 0 var(--sbp-orange); }
/* Search, as the comps: the magnifier opens a panel under the top bar over a dimmed page (sbp.js sets its top). */
.sbp-search-btn { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; background: none; border: 0; color: inherit; cursor: pointer; }
.sbp-ss-back { position: fixed; inset: 0; z-index: 40; background: rgba(31, 42, 54, 0.45); }
.sbp-ss { position: fixed; left: 0; right: 0; z-index: 45; background: #fff; color: var(--sbp-ink); box-shadow: 0 24px 48px rgba(12, 92, 151, 0.18); }
.sbp-ss__in { max-width: 960px; margin: 0 auto; padding: 36px 48px 40px; }
.sbp-ss__row { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--sbp-blue); }
.sbp-ss__row svg { flex: 0 0 auto; color: var(--sbp-blue); }
.sbp-ss__row input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 30px; font-weight: 300; color: var(--sbp-ink); padding: 14px 0; }
.sbp-ss__row input::placeholder { color: #9a9b9d; }
.sbp-ss__row input::-webkit-search-cancel-button { display: none; }
.sbp-ss__x { flex: 0 0 auto; width: 44px; height: 44px; background: none; border: 0; font-size: 30px; line-height: 1; color: var(--sbp-ink); cursor: pointer; }
.sbp-ss__list { list-style: none; margin: 8px 0 0; padding: 0; }
.sbp-ss__list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--sbp-line); text-decoration: none; color: var(--sbp-ink); font-size: 19px; }
.sbp-ss__list a:hover, .sbp-ss__list a:focus { background: var(--wp--preset--color--beige); outline: 0; }
.sbp-ss__list a.sbp-ss__all { justify-content: flex-start; color: var(--sbp-blue); font-size: 17px; border-bottom: 0; }
.sbp-ss mark, .sbp-results mark { background: none; color: var(--sbp-blue); font-weight: 700; }
.sbp-ss__list small { font-family: var(--sbp-display); text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; color: var(--wp--preset--color--orange-text); white-space: nowrap; }
.sbp-ss__none { padding: 20px 4px; margin: 0; color: var(--sbp-grey); font-size: 17px; }
.sbp-topbar.is-searching { background: #fff !important; color: var(--sbp-ink) !important; box-shadow: 0 1px 0 var(--sbp-line) !important; }
.sbp-topbar.is-searching .sbp-logo img.sbp-logo--light { display: none !important; }
.sbp-topbar.is-searching .sbp-logo img.sbp-logo--dark { display: block !important; }
@media (max-width: 781px) {
	.sbp-ss { bottom: 0; overflow-y: auto; }
	.sbp-ss__in { padding: 14px 16px 24px; }
	.sbp-ss__row svg { width: 22px; height: 22px; }
	.sbp-ss__row input { font-size: 21px; }
}

/* Search results page */
.sbp-search-page { padding: 0 var(--sbp-gutter) 100px; }
.sbp-search-page .sbp-page-head { max-width: 960px; }
.sbp-search-page .sbp-search-count { margin: 10px 0 0; color: var(--sbp-grey); font-size: 17px; }
.sbp-search-page .sbp-ss__row { margin-top: 32px; }
.sbp-search-page .sbp-ss__row input { font-size: 24px; }
.sbp-results { max-width: 960px; margin-top: 32px; }
.sbp-results .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.sbp-results .wp-block-post-template > li { margin: 0; padding: 26px 0; border-bottom: 1px solid var(--sbp-line); }
.sbp-results .wp-block-post-template > li > * { margin: 0; }
.sbp-results .sbp-result__section { font-size: 11px; letter-spacing: 0.12em; color: var(--wp--preset--color--orange-text); margin-bottom: 8px; }
.sbp-results .wp-block-post-title { font-family: var(--wp--preset--font-family--body); text-transform: none; letter-spacing: 0; font-size: 22px; font-weight: 600; line-height: 1.3; }
.sbp-results .wp-block-post-title a { color: var(--sbp-blue); text-decoration: none; }
.sbp-results .wp-block-post-title a:hover { text-decoration: underline; }
.sbp-results .sbp-result__snippet { margin-top: 8px; color: var(--sbp-grey); font-size: 17px; line-height: 1.55; }
.sbp-results .wp-block-query-pagination { margin-top: 32px; gap: 16px; font-size: 17px; }
.sbp-search-none { font-size: 18px; line-height: 1.55; margin: 0; padding-top: 26px; max-width: 760px; }
.sbp-search-links { list-style: none; margin: 18px 0 8px; padding: 0; display: grid; gap: 10px; font-size: 18px; }
.sbp-search-links a, .sbp-search-none a { color: var(--sbp-blue); }

/* Language: the active one with a chevron; the choice drops from the bar's bottom edge like the menus. */
.sbp-lang { position: relative; align-self: stretch; display: flex; align-items: center; }
.sbp-lang > button { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: inherit; font-family: var(--sbp-display); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; opacity: 0.75; cursor: pointer; }
.sbp-lang__panel { display: none; position: absolute; top: 100%; right: -22px; min-width: 220px; padding: 10px 0; background: #fff; border-top: 3px solid var(--sbp-orange); box-shadow: 0 18px 40px rgba(12, 92, 151, 0.18); z-index: 60; }
.sbp-lang.is-open .sbp-lang__panel { display: block; }
.sbp-lang__panel a { display: block; padding: 11px 24px; font-size: 17px; line-height: 1.35; color: var(--sbp-ink); text-decoration: none; white-space: nowrap; }
.sbp-lang__panel a:hover, .sbp-lang__panel a:focus { background: var(--wp--preset--color--beige); color: var(--sbp-blue); }
.sbp-lang__panel a[aria-current] { font-weight: 600; color: var(--sbp-blue); }

/* Over the photo hero (front page): transparent with the white logo until the page scrolls */
.has-photo-hero .sbp-topbar:not(.is-scrolled) { background: transparent; color: #fff; box-shadow: none; }
.has-photo-hero .sbp-topbar:not(.is-scrolled) .sbp-logo img.sbp-logo--light { display: block; }
.has-photo-hero .sbp-topbar:not(.is-scrolled) .sbp-logo img.sbp-logo--dark { display: none; }
.has-photo-hero .sbp-topbar { margin-bottom: -96px; }
/* ...and white while a menu or the language choice is open, as the comps */
.has-photo-hero .sbp-topbar:is(:has(.has-child:hover), :has(.has-child:focus-within), :has(.sbp-lang.is-open)) { background: #fff; color: var(--sbp-ink); box-shadow: 0 1px 0 var(--sbp-line); }
.has-photo-hero .sbp-topbar:is(:has(.has-child:hover), :has(.has-child:focus-within), :has(.sbp-lang.is-open)) .sbp-logo img.sbp-logo--light { display: none; }
.has-photo-hero .sbp-topbar:is(:has(.has-child:hover), :has(.has-child:focus-within), :has(.sbp-lang.is-open)) .sbp-logo img.sbp-logo--dark { display: block; }

/* ---------- hero (core/cover) ---------- */
.sbp-hero.wp-block-cover { min-height: clamp(640px, 100vh, 1000px) !important; padding: 0 var(--sbp-gutter) 48px; align-items: flex-end; }
.sbp-hero .wp-block-cover__background {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.7) 100%) !important; /* neutral scrim (Pak Rusli, 22 Oct 2026) */
	opacity: 1 !important;
}
.sbp-hero .wp-block-cover__inner-container { width: 100%; max-width: none; }
.sbp-hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.sbp-hero__row > * { margin: 0 !important; }
.sbp-hero h1 { color: #fff; letter-spacing: 0.08em; margin: 0; }
.sbp-hero .sbp-hero__tagline { margin: 22px 0 0; font-size: var(--wp--preset--font-size--subtitle); line-height: 1.3; }
.sbp-hero .is-style-label { margin: 18px 0 0; opacity: 0.92; }
.sbp-hero .wp-block-buttons { flex: 0 0 auto; }

/* ---------- pillars: four columns, no numerals (David, 23 Oct 2026) ---------- */
.sbp-pillars > h2 { margin-bottom: 36px; }
.sbp-pillar-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; border-top: 2px solid var(--sbp-blue); padding-top: 32px; }
.sbp-pillar > * { margin: 0 !important; }
.sbp-pillar h3 { margin-top: 22px !important; margin-bottom: 10px !important; font-size: 19px; }
.sbp-pillar h3 a { text-decoration: none; color: inherit; }
.sbp-pillar p { color: var(--sbp-grey); font-size: 17px; line-height: 1.5; }
.sbp-pillar figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; display: block; }

/* ---------- statistics ---------- */
.sbp-stat .is-style-numeral { font-size: 72px; margin: 0; }
.sbp-stat p:not(.is-style-numeral) { margin: 14px 0 0; font-size: 16px; line-height: 1.45; }
.sbp-note { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--sbp-line); font-size: 16px; color: var(--sbp-grey); }

/* ---------- blue band ---------- */
.sbp-band { color: #fff; }
.sbp-band h2 { color: #fff; }
.sbp-band a { color: #fff; }
.sbp-band__inner { padding-left: var(--sbp-gutter); padding-right: var(--sbp-gutter); }
.sbp-band__photo { margin: 0 !important; }
.sbp-band__photo img { width: 100%; height: 480px; object-fit: cover; display: block; }

/* ---------- events ---------- */
.sbp-event .is-style-numeral { font-size: 44px; margin: 0; }
.sbp-event p.sbp-event__name { margin: 14px 0 0; font-size: 20px; font-weight: 600; }
.sbp-event p.sbp-event__date { margin: 4px 0 0; font-size: 17px; color: var(--sbp-grey); }

/* ---------- SBP Stories (query loop) ---------- */
.sbp-stories__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--sbp-ink); }
.sbp-stories__head > * { margin: 0 !important; }
.sbp-stories .wp-block-post-template {
	margin-top: 56px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px 40px;
	align-items: start;
}
.sbp-stories .wp-block-post-template > li { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.sbp-stories .wp-block-post-template > li > * { margin: 0; }
.sbp-stories .wp-block-post-featured-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sbp-stories .wp-block-post-title { font-family: var(--wp--preset--font-family--body); text-transform: none; letter-spacing: 0; font-size: 17px; line-height: 1.4; font-weight: 400; color: var(--sbp-ink); }
.sbp-stories .wp-block-post-title a { text-decoration: none; color: inherit; }
.sbp-stories .taxonomy-category a { color: var(--wp--preset--color--orange-text); text-decoration: none; }
/* the editorial rhythm from the comp: wide, narrow, narrow, wide */
.sbp-stories .wp-block-post-template > li:nth-child(4n + 1),
.sbp-stories .wp-block-post-template > li:nth-child(4n) { grid-column: span 2; }
.sbp-stories .wp-block-post-template > li:nth-child(4n + 1) .wp-block-post-featured-image img { aspect-ratio: 16 / 10; }
.sbp-stories .wp-block-post-template > li:nth-child(4n) .wp-block-post-featured-image img { aspect-ratio: 16 / 9; }
.sbp-stories .wp-block-post-template > li:nth-child(4n + 1) .wp-block-post-title,
.sbp-stories .wp-block-post-template > li:nth-child(4n) .wp-block-post-title { font-size: 30px; line-height: 1.25; font-weight: 300; }
.sbp-stories .wp-block-post-template > li:nth-child(4n + 2) { padding-top: 120px; }
.sbp-stories .wp-block-post-template > li:nth-child(4n + 3) { padding-top: 80px; }
.sbp-stories .wp-block-post-template > li:nth-child(4n + 3) .wp-block-post-featured-image img { aspect-ratio: 3 / 4; }

/* ---------- alumni ---------- */
.sbp-alumni__head { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: end; }
.sbp-alumni__head > * { margin: 0 !important; }
/* heading with a line under it, links on the right (homepage graduates) */
.sbp-alumni__head:has(> .sbp-muted) { display: grid; grid-template-columns: 1fr auto; column-gap: 40px; }
.sbp-alumni__head > .sbp-muted { grid-row: 2; margin-top: 12px !important; font-size: 18px; }
.sbp-alumni__head:has(> .sbp-muted) > .sbp-more { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
@media (max-width: 781px) { .sbp-alumni__head:has(> .sbp-muted) { display: flex; } }
.sbp-profile { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; }
.sbp-profile > * { margin: 0 !important; }
.sbp-profile figure img { width: 320px; height: 340px; object-fit: cover; object-position: 50% 40%; border-radius: 4px; display: block; }
.sbp-profile__quote { font-size: 26px; line-height: 1.42; margin: 16px 0 0; }
.sbp-profile__who { font-size: 19px; color: var(--sbp-grey); margin: 18px 0 0; }
.sbp-dest { min-height: 160px; display: flex; flex-direction: column; justify-content: space-between; }
.sbp-dest > * { margin: 0 !important; }
.sbp-dest p.sbp-dest__uni { font-size: 20px; font-weight: 400; }
.sbp-dest__course { display: block; font-size: 17px; font-weight: 300; color: var(--sbp-grey); }
.sbp-dest p.sbp-dest__who { display: flex; align-items: center; gap: 12px; margin-top: 18px !important; font-size: 17px; }
.sbp-dest__who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.sbp-flags { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 20px; }
.sbp-flag { background: #fff; border-radius: 4px; padding: 22px 24px; display: flex; align-items: center; gap: 18px; font-size: 16px; color: var(--sbp-grey); }
.sbp-flag img { width: 56px; height: 42px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px var(--sbp-line); flex: 0 0 auto; }
.sbp-flag__country { display: block; font-size: 20px; color: var(--sbp-ink); }
@media (max-width: 1099px) { .sbp-flags { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 781px) {
	.sbp-flags { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.sbp-flag { padding: 12px 14px; gap: 14px; font-size: 14px; }
	.sbp-flag img { width: 40px; height: 30px; }
	.sbp-flag__country { font-size: 16px; }
}

/* ---------- testimonial ---------- */
.sbp-quote.wp-block-quote { border: 0; padding: 0; margin: 0; }
.sbp-quote p { font-size: var(--wp--preset--font-size--quote); line-height: 1.4; font-weight: 300; margin: 0; }
.sbp-quote cite { display: block; margin-top: 22px; font-size: 15px; font-style: normal; color: var(--sbp-grey); }
/* A testimonial of several paragraphs reads at body-lead size; the quote preset is for one-line pull quotes. */
.sbp-quote:has(p + p) { max-width: 40em; }
.sbp-quote:has(p + p) p { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.6; }
.sbp-quote:has(p + p) p + p { margin-top: 0.9em; }
.sbp-quote:has(p + p) cite { margin-top: 26px; }
.sbp-quote-photo { margin-top: 28px !important; }
.sbp-quote-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; border-radius: 4px; }
.sbp-quote-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 56px !important; padding-top: 36px; border-top: 1px solid var(--sbp-line); }
.sbp-quote--small p:not(.is-style-label) { margin-top: 10px; font-size: 21px; line-height: 1.45; }
.sbp-quote--small .is-style-label { font-size: 13px; }
.sbp-quote--small cite { margin-top: 14px; font-size: 16px; }

/* ---------- campuses ---------- */
.sbp-campus.wp-block-cover { min-height: 460px !important; border-radius: 6px; padding: 0; align-items: flex-end; }
.sbp-campus .wp-block-cover__background { background: linear-gradient(0deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0) 45%) !important; opacity: 1 !important; }
.sbp-campus .wp-block-cover__inner-container { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }
.sbp-campus .wp-block-cover__inner-container { width: 100%; padding: 72px 32px 32px; }
.sbp-campus .wp-block-cover__inner-container > * { margin: 0; }
.sbp-campus h3 { color: #fff; margin-top: 8px; }
.sbp-campus h3 a { color: inherit; text-decoration: none; }
.sbp-campus p.sbp-campus__address { color: var(--wp--preset--color--beige); font-size: 15px; margin-top: 6px; }
.sbp-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sbp-grid-2 > * { margin: 0 !important; }

/* ---------- joining steps + visit panel ---------- */
.sbp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.sbp-steps > * { margin: 0 !important; border-top: 2px solid var(--sbp-blue); padding-top: 20px; }
.sbp-steps .is-style-numeral { font-size: 56px; margin: 0; }
.sbp-steps h3 { font-size: 16px; color: var(--sbp-ink); margin: 12px 0 8px; letter-spacing: 0.1em; }
.sbp-steps p:not(.is-style-numeral) { margin: 0; font-size: 16px; color: var(--sbp-grey); }
.sbp-cta { border-radius: 6px; display: flex; flex-wrap: wrap; gap: 32px 56px; justify-content: space-between; align-items: center; }
.sbp-cta > * { margin: 0 !important; }
.sbp-cta h2 { color: #fff; max-width: 720px; letter-spacing: 0.06em; font-size: var(--wp--preset--font-size--quote); line-height: 1.2; flex: 1 1 360px; }
.sbp-cta > .wp-block-buttons { flex: 0 0 auto; }
.sbp-cta > .wp-block-buttons { flex-wrap: wrap; max-width: 100%; } /* two buttons side by side ran past a phone screen */

/* ---------- footer ---------- */
.sbp-foot { color: #fff; font-size: 15px; }
.sbp-foot a { color: #fff; text-decoration: none; }
.sbp-foot a:hover { text-decoration: underline; color: #fff; }
/* Links inside running text (phone numbers) need an underline, not colour alone, to read as links. */
.sbp-foot__base a[href^="tel:"] { text-decoration: underline; text-underline-offset: 3px; }
.sbp-foot__cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
.sbp-foot__cols > * { margin: 0 !important; display: flex; flex-direction: column; gap: 10px; }
.sbp-foot__cols > * > * { margin: 0 !important; }
.sbp-foot__logos { gap: 22px !important; }
.sbp-foot__logos img { height: 64px; width: auto; }
.sbp-foot__logos figure + figure img { height: 72px; }
.sbp-foot__base { margin-top: 52px !important; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.35); display: flex; flex-wrap: wrap; gap: 20px 56px; font-size: 14px; opacity: 0.9; }
.sbp-foot__base > * { margin: 0 !important; }
.sbp-foot__base > :last-child { margin-left: auto !important; align-self: end; text-align: right; }

/* ================= inner pages ================= */

/* Photo hero (core/cover) with breadcrumb, kicker, title, intro and actions */
.sbp-page-hero.wp-block-cover { min-height: 620px !important; padding: 0 var(--sbp-gutter) 52px; align-items: flex-end; }
.sbp-page-hero--short.wp-block-cover { min-height: 580px !important; }
.sbp-page-hero .wp-block-cover__background {
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0) 70%), linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.7) 100%) !important;
	opacity: 1 !important;
}
.sbp-page-hero .wp-block-cover__inner-container { width: 100%; max-width: none; }
/* Admissions: the Setraduta photo fades in over the Kota Baru Parahyangan one, and back */
.sbp-hero-loop::before { content: ""; position: absolute; inset: 0; z-index: 1; background: url(../images/setra-courtyard.webp) center 45% / cover; opacity: 0; animation: sbp-hero-loop 12s ease-in-out infinite; }
@media (max-width: 781px) { .sbp-hero-loop::before { background-image: url(../images/setra-courtyard-800.webp); } }
.sbp-hero-loop .wp-block-cover__background { z-index: 2; }
.sbp-hero-loop .wp-block-cover__inner-container { z-index: 3; }
@keyframes sbp-hero-loop { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sbp-hero-loop::before { animation: none; } }
/* Campus & Facilities: four campus photos in turn. ::before shows the lab, then swaps to the computer room while ::after (the field) covers it */
.sbp-hero-loop4::before, .sbp-hero-loop4::after { content: ""; position: absolute; inset: 0; z-index: 1; background: url(../images/campus-loop-1.jpg) center / cover; opacity: 0; animation: sbp-loop4-a 24s ease-in-out infinite; }
.sbp-hero-loop4::after { background-image: url(../images/campus-loop-2.jpg); animation-name: sbp-loop4-b; }
.sbp-hero-loop4 .wp-block-cover__background { z-index: 2; }
.sbp-hero-loop4 .wp-block-cover__inner-container { z-index: 3; }
@keyframes sbp-loop4-a { 0%, 21% { opacity: 0; background-image: url(../images/campus-loop-1.jpg); } 25% { opacity: 1; } 59.9% { background-image: url(../images/campus-loop-1.jpg); } 60%, 96% { opacity: 1; background-image: url(../images/campus-loop-4.jpg); } 100% { opacity: 0; background-image: url(../images/campus-loop-4.jpg); } }
@keyframes sbp-loop4-b { 0%, 46% { opacity: 0; } 50%, 71% { opacity: 1; } 75%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sbp-hero-loop4::before, .sbp-hero-loop4::after { animation: none; } }
.sbp-page-hero h1 { color: #fff; font-size: clamp(40px, 5vw, 64px); line-height: 1.05; margin: 12px 0 0; }
.sbp-page-hero .sbp-page-hero__intro { margin: 20px 0 0; max-width: 760px; font-size: var(--wp--preset--font-size--lead); line-height: 1.4; }
.sbp-page-hero .is-style-label { margin: 0; }
.sbp-page-hero .sbp-hero__row { align-items: flex-end; }

/* Kicker: small orange caps above a heading; on photos it is white with an orange dash */
.sbp-kicker { color: var(--wp--preset--color--orange-text); margin: 0; }
.sbp-page-hero .sbp-kicker, .sbp-panel .sbp-kicker { color: #fff; display: inline-flex; align-items: center; gap: 12px; }
.sbp-page-hero .sbp-kicker::before { content: ""; width: 28px; height: 2px; background: var(--sbp-orange); }
.sbp-panel .sbp-kicker { color: var(--sbp-orange); }
.sbp-kicker + h2, .sbp-kicker + h1 { margin-top: 14px !important; }

/* Breadcrumb (Rank Math), marked up as BreadcrumbList */
.rank-math-breadcrumb { font-size: 15px; margin: 0 0 22px; }
.rank-math-breadcrumb p { margin: 0; }
.rank-math-breadcrumb .separator { margin: 0 4px; }
.sbp-page-hero .rank-math-breadcrumb, .sbp-page-hero .rank-math-breadcrumb a { color: #fff; opacity: 0.92; }
.sbp-crumb-dark .rank-math-breadcrumb, .sbp-crumb-dark .rank-math-breadcrumb a { color: var(--sbp-grey); }

/* On this page */
.sbp-onpage { display: flex; gap: 12px 36px; align-items: center; flex-wrap: wrap; padding-top: 18px !important; padding-bottom: 18px !important; font-size: 17px; }
.sbp-onpage > * { margin: 0 !important; }
.sbp-onpage a { text-decoration: none; }
.sbp-onpage a[aria-current] { color: var(--sbp-ink); text-decoration: underline; text-decoration-color: var(--sbp-orange); text-decoration-thickness: 2px; text-underline-offset: 8px; }
/* Sticks under the top bar so it works as page navigation (96px desktop, 68px phone) */
.sbp-onpage { position: sticky; top: calc(96px + var(--wp-admin--admin-bar--height, 0px)); z-index: 40; box-shadow: 0 1px 0 var(--sbp-line); }
/* core gives the lightbox expand button z-index 100, which pokes through the sticky bars and header; it only needs to sit above its own image */
.wp-block-image.wp-lightbox-container button { z-index: 2; }
html:has(.sbp-onpage) { scroll-padding-top: 180px; }
@media (max-width: 781px) { .sbp-onpage { top: calc(68px + var(--wp-admin--admin-bar--height, 0px)); } html:has(.sbp-onpage) { scroll-padding-top: 140px; } }

/* Wide split: title column + 3fr content (A) */
.sbp-split--wide { grid-template-columns: 1fr 3fr; gap: 48px 64px; }
.sbp-muted { color: var(--sbp-grey); }

/* Blue panel (C) */
.sbp-panel { border-radius: 6px; color: #fff; }
.sbp-panel h2, .sbp-panel h3 { color: #fff; }
.sbp-panel a:not(.wp-block-button__link) { color: #fff; }
.sbp-panel__head { display: flex; justify-content: space-between; align-items: end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 56px !important; }
.sbp-panel__head > * { margin: 0 !important; }
.sbp-pathway { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.sbp-pathway > * { margin: 0 !important; border-top: 2px solid var(--sbp-orange); padding-top: 24px; }
.sbp-pathway > * > * { margin: 0; }
.sbp-pathway .is-style-label { color: var(--wp--preset--color--beige); }
.sbp-pathway h3 { font-size: 20px; line-height: 1.3; margin-top: 12px; }
.sbp-pathway .sbp-pathway__exam { margin-top: 18px; font-size: 26px; line-height: 1.25; color: var(--sbp-orange); }
.sbp-pathway .sbp-pathway__when { margin-top: 12px; font-size: 17px; color: var(--wp--preset--color--beige); }
.sbp-pathway .sbp-pathway__where { margin-top: 22px; font-size: 16px; }

/* Subject columns divided by hairlines */
.sbp-columns-ruled { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--sbp-line); }
.sbp-columns-ruled > * { margin: 0 !important; padding: 28px 28px 8px; border-right: 1px solid var(--sbp-line); }
.sbp-columns-ruled > :first-child { padding-left: 0; }
.sbp-columns-ruled > :last-child { padding-right: 0; border-right: 0; }
.sbp-columns-ruled--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sbp-columns-ruled--4 > * { padding: 24px 24px 0; }
.sbp-columns-ruled--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sbp-columns-ruled--5 > * { padding: 24px 20px 0; }
.sbp-columns-ruled--5 .sbp-uni + .sbp-uni { margin-top: 10px; }
.sbp-columns-ruled--2x2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sbp-columns-ruled--2x2 > * { padding: 28px !important; border-bottom: 1px solid var(--sbp-line); }
.sbp-columns-ruled--2x2 > :nth-child(odd) { padding-left: 0 !important; }
.sbp-columns-ruled--2x2 > :nth-child(even) { border-right: 0; }
.sbp-columns-ruled ul { margin: 16px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.sbp-columns-ruled .sbp-subhead { margin: 18px 0 6px; font-weight: 600; }
.sbp-columns-ruled .sbp-subhead:first-of-type { margin-top: 16px; }
.sbp-columns-ruled .sbp-subhead + ul { margin-top: 0; }

/* Photo beside text (5 : 7) */
.sbp-media-split { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.sbp-media-split > * { margin: 0 !important; }
.sbp-media-split > figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.sbp-alumni-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.sbp-alumni-pair > * { margin: 0 !important; }
.sbp-alumni-pair--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .sbp-alumni-pair--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sbp-alumni-card { display: flex; flex-direction: column; gap: 24px; padding: 28px; border: 1px solid var(--sbp-line); border-radius: 4px; }
.sbp-alumni-card > *, .sbp-alumni-card > .wp-block-group > * { margin: 0; }
.sbp-alumni-card__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; border-radius: 4px; }
.sbp-alumni-card .is-style-label { margin-bottom: 12px; }
.sbp-alumni-card__quote { font-size: 21px; line-height: 1.45; font-weight: 300; }
.sbp-alumni-card .sbp-profile__who { margin-top: 14px; font-size: 16px; }

/* Numbered rows: 1, 2, 3 beside a heading and a line (assessment, visit steps) */
.sbp-rows { border-top: 1px solid var(--sbp-line); margin-top: 36px !important; }
.sbp-row { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--sbp-line); align-items: start; }
.sbp-rows > * { margin: 0 !important; } /* rows space themselves with padding; WordPress's flow margins would stagger the two-column grid */
.sbp-row > * { margin: 0 !important; }
.sbp-row .is-style-numeral { font-size: 44px; line-height: 1; }
.sbp-row h3 { font-size: 17px; margin: 4px 0 8px !important; }
.sbp-row p:not(.is-style-numeral) { color: var(--sbp-grey); }
.sbp-rows--compact .sbp-row { grid-template-columns: 32px 1fr; gap: 18px; padding: 16px 0; align-items: baseline; }
.sbp-rows--compact .sbp-row .is-style-numeral { font-size: 32px; }
.sbp-rows--compact .sbp-row p:not(.is-style-numeral) { color: var(--sbp-ink); }

/* FAQ (core/details): large tap targets */
.sbp-faq { border-top: 1px solid var(--sbp-line); }
.sbp-faq > * { margin: 0 !important; }
.sbp-faq .wp-block-details { border-bottom: 1px solid var(--sbp-line); }
.sbp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font-size: 21px; font-weight: 600; color: var(--sbp-ink); }
.sbp-faq summary::-webkit-details-marker { display: none; }
.sbp-faq summary::after { content: "+"; font-family: var(--sbp-display); font-size: 26px; font-weight: 400; color: var(--sbp-blue); flex: 0 0 auto; }
.sbp-faq details[open] summary::after { content: "–"; }
.sbp-faq details > :not(summary) { margin: 0 0 24px; max-width: 760px; color: var(--sbp-grey); }
.sbp-faq details[open] { padding-bottom: 24px; } /* the answer's own bottom margin is reset to 0 by a later core rule */

/* Recognition: Cambridge logo beside a statement */
.sbp-recognition { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: center; }
.sbp-recognition > * { margin: 0 !important; }
.sbp-uni { font-size: 19px; margin-top: 10px !important; }

/* Cards linking to the other strengths */
.sbp-strength-card figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.sbp-strength-card__name { display: flex; gap: 16px; align-items: baseline; margin-top: 18px !important; }
.sbp-strength-card__name > * { margin: 0 !important; }
.sbp-strength-card .is-style-numeral { font-size: 44px; line-height: 1; }
.sbp-strength-card h3 { font-size: 18px; }
.sbp-strength-card h3 a { text-decoration: none; color: inherit; }

/* Admissions: four ways to start (BRD §12) */
.sbp-ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--sbp-line); border-top: 0; }
.sbp-ways > * { margin: 0 !important; padding: 32px 28px; border-right: 1px solid var(--sbp-line); display: flex; flex-direction: column; gap: 10px; }
.sbp-ways > :last-child { border-right: 0; }
.sbp-ways > * > * { margin: 0 !important; }
.sbp-ways h2, .sbp-ways h3 { font-size: 19px; line-height: 1.3; }
.sbp-ways h2 a, .sbp-ways h3 a { text-decoration: none; color: inherit; }
.sbp-ways p:not(.is-style-label) { font-size: 16px; color: var(--sbp-grey); }
.sbp-ways > .has-blue-background-color { color: #fff; border-right: 0; }
.sbp-ways > .has-blue-background-color :is(h2, h3) { color: #fff; white-space: nowrap; font-size: 18px; }
:lang(id) .sbp-ways > .has-blue-background-color :is(h2, h3) { white-space: normal; } /* "Jadwalkan Kunjungan Sekolah →" is too long for one line */
.sbp-ways > .has-blue-background-color p:not(.is-style-label) { color: var(--wp--preset--color--beige); }
.sbp-campus-card.is-style-card { padding: 36px 36px 32px; border-top: 4px solid var(--sbp-blue); }
.sbp-campus-card > * { margin: 0 !important; }
.sbp-campus-card h3 { font-size: 22px; }
.sbp-campus-card > .sbp-kicker { margin-bottom: 12px !important; }
.sbp-campus-card > .sbp-muted { margin-top: 16px !important; font-size: 16px; }
.sbp-campus-card__levels { margin-top: 22px !important; font-weight: 600; }
.sbp-levels { margin-top: 14px !important; border-top: 1px solid var(--sbp-line); }
.sbp-levels > p { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--sbp-line); }
.sbp-dates { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--sbp-line); }
.sbp-dates li { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--sbp-line); }
.sbp-dates__day { font-family: var(--sbp-display); font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--sbp-blue); }

/* Table (core/table) */
.sbp-table { margin: 0 !important; }
.sbp-table table { width: 100%; border-collapse: collapse; background: #fff; font-size: 19px; }
.sbp-table thead { border: 0; }
.sbp-table th { text-align: left; padding: 20px 24px; border: 0; font-family: var(--sbp-display); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em; color: var(--sbp-grey); }
.sbp-table th:nth-child(n + 4) { color: var(--sbp-blue); font-weight: 600; }
.sbp-table td { padding: 22px 24px; border: 0; border-top: 1px solid var(--sbp-line); }
.sbp-table td:first-child { font-weight: 600; }
.sbp-table td:nth-child(n + 4) { color: var(--sbp-blue); }
.sbp-table--plain th:nth-child(n + 4) { color: var(--sbp-grey); font-weight: 500; }
.sbp-table--plain td:nth-child(n + 4) { color: inherit; }
.sbp-table--plain table { font-size: 20px; }
.sbp-table--schedule table { font-size: clamp(16px, 1.4vw, 20px); }
.sbp-table--schedule th, .sbp-table--schedule td { padding-left: 14px; padding-right: 14px; }
.sbp-table--schedule th, .sbp-table--schedule td:not(:first-child) { white-space: nowrap; }
.sbp-table--days table { font-size: clamp(15px, 1.2vw, 18px); }
.sbp-table--days th, .sbp-table--days td { padding-left: 12px; padding-right: 12px; white-space: nowrap; }
.sbp-table--plain.sbp-table--days th:nth-child(n + 4) { color: inherit; font-weight: inherit; }
.sbp-table-caption { margin: 32px 0 8px !important; }

/* Talk to Admissions panel: actions beside contact details */
.sbp-talk { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.sbp-talk > * { margin: 0 !important; }
.sbp-talk__details { display: grid; gap: 14px; font-size: 18px; color: var(--wp--preset--color--beige); border-left: 1px solid rgba(255, 255, 255, 0.3); padding-left: 40px; }
.sbp-talk__details > * { margin: 0 !important; }
.sbp-talk__details strong { color: #fff; font-weight: 600; }
.sbp-talk__details a { text-decoration: underline; text-underline-offset: 3px; }

/* Book a School Visit */
.sbp-visit { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.sbp-visit > * { margin: 0 !important; }
.sbp-visit h1 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.12; }
.sbp-campus-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px !important; }
.sbp-campus-pair > * > * { margin: 0; }
.sbp-campus-pair figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.sbp-campus-pair .sbp-campus-pair__name { margin-top: 12px; font-weight: 600; }
.sbp-campus-pair .sbp-campus-pair__where { margin-top: 2px; font-size: 15px; color: var(--sbp-grey); }
.sbp-callout { padding: 20px 22px !important; font-size: 17px; }

/* Lead forms (rendered by the sbp-leads plugin): big fields for older readers */
.sbp-form { border: 1px solid var(--sbp-line); border-top: 4px solid var(--sbp-blue); padding: 44px 44px 40px; display: grid; gap: 40px; box-shadow: 0 10px 40px rgba(12, 92, 151, 0.08); background: #fff; }
.sbp-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 20px; min-width: 0; }
.sbp-form legend { padding: 0; margin-bottom: 20px; font-family: var(--sbp-display); font-size: 18px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sbp-blue); }
.sbp-form__row { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 20px; align-items: end; }
.sbp-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sbp-field > span { font-weight: 600; font-size: 17px; color: var(--sbp-ink); }
.sbp-field small { font-size: 15px; color: var(--sbp-grey); font-weight: 400; }
.sbp-input { box-sizing: border-box; width: 100%; min-height: 56px; padding: 14px 16px; border: 1.5px solid #B9BBBE; border-radius: 6px; background: #fff; font: inherit; font-size: 18px; color: var(--sbp-ink); }
.sbp-input:focus { outline: 3px solid rgba(12, 92, 151, 0.25); border-color: var(--sbp-blue); }
select.sbp-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230C5C97' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.sbp-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sbp-choice { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1.5px solid #B9BBBE; border-radius: 6px; cursor: pointer; font-size: 17px; }
.sbp-choice input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--sbp-blue); flex: 0 0 auto; }
.sbp-choice:has(input:checked) { border-color: var(--sbp-blue); background: rgba(12, 92, 151, 0.05); }
.sbp-choice small { display: block; font-size: 15px; color: var(--sbp-grey); }
.sbp-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--sbp-grey); }
.sbp-consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--sbp-blue); flex: 0 0 auto; }
.sbp-form__end { display: grid; gap: 18px; }
.sbp-form__submit { width: 100%; border: 0; border-radius: 999px; padding: 20px; cursor: pointer; background: var(--sbp-orange); color: var(--sbp-ink); font-family: var(--sbp-display); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; }
.sbp-form__submit:hover { background: var(--sbp-deep); color: #fff; }
.sbp-form__note { margin: 0; font-size: 16px; text-align: center; color: var(--sbp-grey); }
.sbp-hp { position: absolute; left: -9999px; } /* honeypot: hidden from people, filled by bots */
.sbp-field .sbp-field__error, .sbp-field__error { color: #B42318; font-size: 16px; font-weight: 600; }
.sbp-input[aria-invalid="true"] { border-color: #B42318; }
.sbp-form__alert { margin: 0; padding: 16px 18px; border-left: 4px solid #B42318; background: #FEF3F2; color: var(--sbp-ink); font-size: 17px; }
.sbp-form__alert:focus, .sbp-form--done:focus { outline: 3px solid rgba(12, 92, 151, 0.25); }
.sbp-form--done { gap: 12px; }
.sbp-form--done > * { margin: 0; }
.sbp-form__done-title { font-family: var(--sbp-display); font-size: 22px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.3; color: var(--sbp-blue); }
.sbp-form__submit:disabled { opacity: 0.6; cursor: progress; }
.sbp-choices--stack { grid-template-columns: 1fr; }
.sbp-form__download { display: inline-block; padding: 16px 28px; border-radius: 999px; background: var(--sbp-orange); color: var(--sbp-ink); text-decoration: none; font-family: var(--sbp-display); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; }
.sbp-form__download:hover { background: var(--sbp-deep); color: #fff; }

/* ================= more inner pages ================= */

/* Plain page header (pages without a photo hero) */
.sbp-page-head { padding-top: 40px !important; }
.sbp-page-head > * { margin: 0; }
.sbp-page-head .sbp-kicker { margin-top: 40px; }
.sbp-page-head h1 { font-size: clamp(36px, 4vw, 52px); line-height: 1.1; margin-top: 14px; }
.sbp-page-head .sbp-page-head__intro { margin-top: 22px; max-width: 820px; font-size: var(--wp--preset--font-size--lead); line-height: 1.5; }

.sbp-stack-40 { display: grid; gap: 40px; }
.sbp-stack-40 > * { margin: 0 !important; }

/* Values: one round letter per value, B I N A / P E R S A D A */
.sbp-values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
.sbp-values > * { margin: 0 !important; display: flex; gap: 16px; align-items: center; }
.sbp-values--divided { margin-top: 40px !important; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.3); }
.sbp-value__letter { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0; font-family: var(--sbp-display); font-size: 26px; font-weight: 500; background: #fff; color: var(--sbp-blue); }
.sbp-value--orange .sbp-value__letter { background: var(--sbp-orange); color: var(--sbp-ink); }
.sbp-value p:last-child { margin: 0; font-size: 20px; }

/* Numbered rows in two columns (beliefs) */
.sbp-rows--2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.sbp-rows--2col .sbp-row { grid-template-columns: 40px 1fr; gap: 20px; padding: 26px 0; }
.sbp-rows--2col .sbp-row p:not(.is-style-numeral) { color: var(--sbp-ink); font-size: 21px; line-height: 1.45; margin-top: 4px !important; }

/* Five columns with a blue top line */
.sbp-grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.sbp-grid-5 > * { margin: 0 !important; }
.sbp-grid-5 .is-style-numeral { font-size: 40px; margin: 0; }
.sbp-grid-5 h3 { font-size: 16px; line-height: 1.35; margin-top: 14px; }

/* Cards with a list inside */
.sbp-card-list .is-style-card { padding: 30px 28px; }
.sbp-card-list h3 { font-size: 22px; margin: 6px 0 18px !important; }
.sbp-card-list ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 17px; }

/* Welcome letter: photo stays in view while the letter scrolls */
.sbp-welcome { display: grid; grid-template-columns: 4fr 8fr; gap: 72px; align-items: start; }
.sbp-welcome > * { margin: 0 !important; }
.sbp-welcome > .wp-block-group:first-child { position: sticky; top: 120px; }
.sbp-welcome figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; display: block; }
.sbp-welcome__name { margin: 18px 0 0 !important; font-family: var(--sbp-display); font-size: 20px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sbp-blue); }
.sbp-welcome__role { margin: 0 !important; color: var(--sbp-grey); }
.sbp-letter { font-size: 20px; line-height: 1.65; }
.sbp-letter p { margin: 0 0 18px; }
.sbp-letter .sbp-letter__open { font-size: 26px; line-height: 1.45; }
.sbp-letter .sbp-letter__sign { margin: 36px 0 0; padding-top: 24px; border-top: 1px solid var(--sbp-line); font-size: 20px; }
.sbp-welcome .sbp-letter { background: #fff; padding: 56px 64px; border-left: 4px solid var(--sbp-orange); }
.sbp-welcome__who { display: flex; gap: 18px; align-items: center; margin-top: 32px !important; }
.sbp-welcome__who > * { margin: 0 !important; }
.sbp-welcome__who + .sbp-welcome__who { margin-top: 20px !important; }
.sbp-welcome__who strong { font-size: 18px; color: var(--sbp-blue); }
/* Principals: a portrait (placeholder until SBP sends photos) beside name, role and years */
.sbp-principal { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; padding: 32px; background: var(--wp--preset--color--beige); border-radius: 4px; }
.sbp-principal > *, .sbp-principal > * > * { margin: 0 !important; }
.sbp-principal h3 { margin-top: 12px !important; margin-bottom: 6px !important; font-size: 24px; line-height: 1.25; }
.sbp-principal__role { font-size: 19px; }
.sbp-principal__facts { margin-top: 24px !important; padding-top: 18px; border-top: 1px solid var(--sbp-line); line-height: 1.8; }
.sbp-principals { margin-top: 24px !important; }
.sbp-portrait { width: 100%; aspect-ratio: 4 / 5; background: #fff; display: grid; place-items: center; color: var(--sbp-orange); }
.sbp-portrait .sbp-star { width: 40px; height: 40px; opacity: 0.5; }
.sbp-portrait--small { width: 88px; height: 110px; flex: 0 0 auto; }
img.sbp-portrait { display: block; height: auto; object-fit: cover; background: none; }
img.sbp-portrait--small { height: 110px; }
.sbp-portrait--small .sbp-star { width: 24px; height: 24px; }
@media (max-width: 781px) {
	.sbp-principal { grid-template-columns: 110px 1fr; gap: 18px; padding: 20px; }
	.sbp-welcome .sbp-letter { padding: 28px 22px; }
	.sbp-welcome > .wp-block-group:first-child { position: static; }
}

/* Ruled list of headed items (values and leadership) */
.sbp-ruled { border-top: 1px solid var(--sbp-line); margin-top: 32px !important; }
.sbp-ruled > * { margin: 0 !important; padding: 24px 0; border-bottom: 1px solid var(--sbp-line); }
.sbp-ruled h3 { font-size: 18px; margin: 0 0 8px !important; }
.sbp-ruled p { margin: 0; color: var(--sbp-grey); }
.sbp-kc-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.sbp-kc-links a { color: var(--sbp-blue); text-decoration: none; font-size: 20px; }
.sbp-ruled--2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.sbp-wide-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 4px; display: block; }
.sbp-wide-photo { margin-top: 36px !important; }

/* Photo cards: image flush to the top of a white card */
.sbp-photo-card.is-style-card { padding: 0; overflow: hidden; }
.sbp-photo-card figure { margin: 0 !important; }
.sbp-photo-card figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.sbp-photo-card .sbp-photo-card__body { padding: 26px 26px 30px; }
.sbp-photo-card .sbp-photo-card__body > * { margin: 0; }
.sbp-photo-card h3 { font-size: 18px; margin: 8px 0 10px !important; }
.sbp-photo-card .sbp-photo-card__body p:last-child { color: var(--sbp-grey); }

/* Club groups: photo, count, name, ruled list */
.sbp-club figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.sbp-club > * { margin: 0 !important; }
.sbp-club .sbp-kicker { margin-top: 24px !important; }
.sbp-club h2 { font-size: 24px; margin: 8px 0 18px !important; }
.sbp-clubs-4 { align-items: start; }
.sbp-clubs-4 .sbp-club h2 { font-size: 22px; line-height: 1.25; margin: 8px 0 12px !important; }
.sbp-club .sbp-club__desc { margin: 0 0 18px !important; font-size: 17px; line-height: 1.5; }
.sbp-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sbp-line); }
.sbp-lines li { padding: 13px 0; border-bottom: 1px solid var(--sbp-line); }
.sbp-lines li em { font-style: normal; color: var(--sbp-grey); }

/* Chips */
.sbp-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.sbp-chips li { background: #fff; border-radius: 999px; padding: 12px 22px; font-size: 18px; }

.sbp-competitions-block { margin-top: 48px !important; padding-top: 28px; border-top: 1px solid var(--sbp-line); }
.sbp-competitions-block > * { margin: 0; }
.sbp-competitions { margin-top: 12px !important; font-size: 21px; line-height: 1.5; }
.sbp-competitions-block .sbp-more { margin-top: 16px !important; }

/* Big figure beside a statement */
.sbp-figure { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: center; }
.sbp-figure > * { margin: 0 !important; }
.sbp-figure .is-style-numeral { font-size: 96px; margin: 0; }
.sbp-figure .sbp-figure__caption { margin-top: 14px; font-size: 20px; }
.sbp-columns-ruled--top { border-top: 2px solid var(--sbp-blue); }
.sbp-columns-ruled--top > * { padding-bottom: 0; }
.sbp-columns-ruled h3 { font-size: 18px; margin: 10px 0 0; }

/* Rows led by a big number (olympiads) */
.sbp-rows--stats .sbp-row { grid-template-columns: 160px 1fr; gap: 32px; padding: 26px 0; align-items: center; }
.sbp-rows--stats .sbp-row .is-style-numeral { font-size: 64px; }
.sbp-rows--stats .sbp-row p:not(.is-style-numeral) { color: var(--sbp-ink); font-size: 20px; }

/* Cards on a white page are beige */
.sbp-on-white .is-style-card, .is-style-card.sbp-on-white { background: var(--wp--preset--color--beige); }

/* Text cards (competitions) */
.sbp-text-card.is-style-card { padding: 36px 36px 40px; }
.sbp-text-card > * { margin: 0; }
.sbp-text-card h3 { font-size: 22px; margin: 10px 0 14px; }
.sbp-profile__quote--large { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.4; margin-top: 20px; }
.sbp-graduates .sbp-alumni__head { margin-bottom: 40px; }

/* Quote cards (alumni news) */
.sbp-quote-card.is-style-card { padding: 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.sbp-quote-card > * { margin: 0 !important; }
.sbp-quote-card .sbp-quote-card__text { margin-top: 14px !important; font-size: 21px; line-height: 1.5; }
.sbp-quote-card .sbp-quote-card__who { color: var(--sbp-grey); }
.sbp-quote-card__who:has(img, .sbp-initials) { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; align-items: center; }
.sbp-quote-card__who img, .sbp-initials { grid-row: 1 / span 3; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.sbp-initials { display: grid; place-items: center; background: var(--wp--preset--color--beige); color: var(--sbp-blue); font-family: var(--sbp-display); font-weight: 600; letter-spacing: 0.08em; }

/* Job openings (core/details) */
.sbp-faq summary:has(.sbp-job__meta) { display: grid; grid-template-columns: 1fr auto; column-gap: 24px; row-gap: 2px; align-items: start; }
.sbp-faq summary:has(.sbp-job__meta) br { display: none; }
.sbp-faq summary:has(.sbp-job__meta)::after { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.sbp-faq summary .sbp-job__meta { grid-column: 1; font-size: 16px; font-weight: 400; color: var(--sbp-grey); }
.sbp-job { padding: 0 0 28px; max-width: 760px; color: var(--sbp-grey); }
.sbp-job > * { margin: 0 0 10px !important; }
.sbp-job ul { padding-left: 22px; display: grid; gap: 6px; }
.sbp-job .wp-block-buttons { margin-top: 22px !important; }

/* Careers header: title beside a photo */
.sbp-head-photo { display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: end; }
.sbp-head-photo > * { margin: 0 !important; }
.sbp-head-photo figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }

.sbp-job-filter { margin-top: 28px; display: grid; justify-items: start; gap: 2px; }
.sbp-job-filter button { font: inherit; font-size: 17px; border: 0; padding: 6px 0; background: none; color: var(--sbp-grey); cursor: pointer; }
.sbp-job-filter button[aria-pressed="true"] { font-weight: 600; color: var(--sbp-blue); }
.sbp-job .sbp-job__head { font-weight: 600; color: var(--sbp-ink); }
.sbp-talk__email a { color: #fff; font-size: clamp(20px, 2vw, 26px); text-decoration: none; }
.sbp-head-photo .sbp-page-head { padding-top: 0 !important; }
.sbp-page-head .rank-math-breadcrumb, .sbp-page-head .rank-math-breadcrumb a,
.sbp-visit .rank-math-breadcrumb, .sbp-visit .rank-math-breadcrumb a { color: var(--sbp-grey); }
.sbp-coming-up > .sbp-grid-3 { margin-top: 20px; }
.sbp-coming-up .is-style-numeral { font-size: 48px; }

/* Academic calendar rows: date · what · who */
.sbp-calendar { border-top: 2px solid var(--sbp-blue); }
[data-calendar] > section { padding-left: var(--sbp-gutter); padding-right: var(--sbp-gutter); }
[data-calendar][hidden] { display: none; }
.sbp-dept-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 32px var(--sbp-gutter) 0; padding: 4px; border: 2px solid var(--sbp-blue); border-radius: 999px; }
.sbp-dept-tab { font: inherit; font-size: 18px; font-weight: 600; border: 0; border-radius: 999px; padding: 12px 22px; background: transparent; color: var(--sbp-blue); cursor: pointer; }
.sbp-dept-tab[aria-pressed="true"] { background: var(--sbp-blue); color: #fff; }
.sbp-calendar__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.sbp-calendar__head h2 { margin: 0; font-size: 30px; }
.sbp-calendar__head .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 781px) {
	.sbp-dept-tabs { display: grid; grid-template-columns: auto 1fr; margin-top: 20px; border-radius: 28px; }
	.sbp-dept-tab { font-size: 15px; padding: 10px 16px; border-radius: 24px; }
	.sbp-calendar__head { margin-bottom: 28px; }
	.sbp-calendar__head h2 { font-size: 20px; }
	.sbp-calendar__head .wp-block-buttons { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
	.sbp-calendar__head .wp-block-button__link { width: 100%; padding: 14px 8px; }
	.sbp-pillars > h2 { font-size: 20px; margin-bottom: 16px; }
	.sbp-more--pair a { display: inline-block; }
	.sbp-more--pair a + a { margin-left: 0; margin-top: 8px; }
	.sbp-more--pair { display: flex; flex-direction: column; align-items: flex-start; }
}
.sbp-calendar__row { display: grid; grid-template-columns: 300px 1fr 220px; gap: 32px; padding: 24px 0; border-bottom: 1px solid var(--sbp-line); }
.sbp-calendar__row.is-past { opacity: 0.55; }
.sbp-calendar__date { font-size: 20px; font-weight: 600; color: var(--sbp-blue); }
.sbp-calendar__what strong { font-size: 20px; font-weight: 600; }
.sbp-calendar__what p { margin: 6px 0 0; color: var(--sbp-grey); }
.sbp-calendar__who { text-align: right; color: var(--sbp-grey); }

/* ================= results, stories ================= */

/* Achievements by year */
.sbp-year { margin: 0; font-family: var(--wp--preset--font-family--body); font-size: clamp(56px, 7vw, 96px); font-weight: 200; line-height: 1; text-transform: none; letter-spacing: 0; color: var(--sbp-blue); }
.sbp-achievements { border-top: 2px solid var(--sbp-blue); }
.sbp-achievement { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 28px 0; border-bottom: 1px solid var(--sbp-line); }
.sbp-achievement p, .sbp-achievement h3 { margin: 0; }
.sbp-achievement h3 { font-size: 19px; line-height: 1.3; margin-top: 10px; }
.sbp-achievement__result { font-size: 20px; }
.sbp-achievement .sbp-muted { margin-top: 10px; }
.sbp-year-nav { display: flex; flex-wrap: wrap; gap: 12px; padding: 36px var(--sbp-gutter) 56px; }
/* Year pills stay under the header as a page navigation (user, 11 Nov 2026). */
.sbp-year-nav { position: sticky; top: calc(96px + var(--wp-admin--admin-bar--height, 0px)); z-index: 40; background: #fff; padding-top: 16px; padding-bottom: 16px; box-shadow: 0 1px 0 var(--sbp-line); }
html:has(.sbp-year-nav) { scroll-padding-top: 190px; }
@media (max-width: 781px) { .sbp-year-nav { top: calc(68px + var(--wp-admin--admin-bar--height, 0px)); flex-wrap: nowrap; overflow-x: auto; gap: 8px; } .sbp-year-nav .sbp-pill-link { white-space: nowrap; padding: 10px 18px; } html:has(.sbp-year-nav) { scroll-padding-top: 150px; } }
.sbp-pill-link { display: inline-block; padding: 12px 24px; border: 1.5px solid var(--sbp-blue); border-radius: 999px; font-family: var(--sbp-display); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--sbp-blue); text-decoration: none; }
.sbp-pill-link:hover { background: var(--sbp-blue); color: #fff; }

/* Counts in a ruled row (destinations by country, IGCSE headline figures) */
.sbp-counts { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); border-top: 2px solid var(--sbp-blue); }
.sbp-counts > * { margin: 0 !important; padding: 32px 32px 0; border-left: 1px solid var(--sbp-line); }
.sbp-counts > :first-child { padding-left: 0; border-left: 0; }
.sbp-counts p { margin: 0; }
.sbp-counts .is-style-numeral { font-size: 72px; }
.sbp-counts--large .is-style-numeral { font-size: 88px; }
.sbp-counts .sbp-count__label { margin-top: 14px; font-size: 20px; }
.sbp-counts .sbp-count__words { font-size: 44px; font-weight: 300; line-height: 1.1; color: var(--sbp-blue); min-height: 88px; display: flex; align-items: flex-end; }

/* Results tables */
.sbp-table--destinations td:first-child { font-weight: 600; }
.sbp-table--destinations td:last-child { color: var(--sbp-grey); }
.sbp-dest-note { color: var(--wp--preset--color--orange-text); font-size: 16px; }
.sbp-table--results th:last-child, .sbp-table--results td:last-child { text-align: right; }
.sbp-table--results td:last-child { font-weight: 600; }
.sbp-table--results td:first-child { font-weight: 400; }
.sbp-table--years { overflow-x: auto; }
.sbp-table--years th:not(:first-child), .sbp-table--years td:not(:first-child) { text-align: right; }
.sbp-table--years tr:nth-child(even) td:not(:first-child) { font-weight: 600; }

.sbp-ruled--ink p { color: var(--sbp-ink); }
.sbp-wide-lead { margin-top: 48px !important; max-width: 900px; }
.sbp-quote-label { margin-top: 14px; font-size: 24px; letter-spacing: 0.12em; line-height: 1.3; }
.sbp-destinations-list > h2 { margin-bottom: 20px; }
.sbp-destinations-list > .sbp-wide-lead { margin: 0 0 40px !important; }
.sbp-grad { display: flex; align-items: center; gap: 16px; }
.sbp-grad img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: var(--wp--preset--color--beige); }
.sbp-dest-countries > h2 { margin-bottom: 28px; }
.sbp-dest-countries .sbp-flags { gap: 0; border-top: 2px solid var(--sbp-blue); }
/* Destinations: logos under the map of universities and schools that accepted SBP alumni (SBP slides, 6 Nov 2026) */
.sbp-map > .sbp-unis__region { margin: 36px 0 16px !important; color: var(--sbp-grey); } /* .sbp-map > * zeroes margins */
.sbp-unis__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sbp-unis__item { margin: 0; padding: 20px 16px 16px; border: 1px solid var(--sbp-line); border-radius: 4px; display: grid; grid-template-rows: 96px auto; gap: 12px; justify-items: center; text-align: center; }
.sbp-unis__item img { max-width: 100%; max-height: 76px; align-self: center; object-fit: contain; }
.sbp-unis__item figcaption { font-size: 14px; line-height: 1.35; color: var(--sbp-grey); }
@media (max-width: 781px) {
	.sbp-unis__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sbp-unis__item { grid-template-rows: 64px auto; }
	.sbp-unis__item img { max-height: 52px; }
	.sbp-unis__item figcaption { font-size: 13px; }
}
.sbp-dest-countries .sbp-flag { display: block; padding: 32px 32px 0; border-radius: 0; background: none; border-left: 1px solid var(--sbp-line); }
.sbp-dest-countries .sbp-flag:first-child { padding-left: 0; border-left: 0; }
.sbp-dest-countries .sbp-flag img { width: 64px; height: 48px; display: block; margin-bottom: 16px; }
.sbp-map { display: grid; grid-template-columns: 3fr 2fr; gap: 56px; align-items: start; }
.sbp-map > * { margin: 0 !important; }
.sbp-map__svg { border-radius: 4px; overflow: hidden; }
.sbp-map h2 { margin-bottom: 20px; }
.sbp-ruled--blue { border-top: 2px solid var(--sbp-blue); margin-top: 0 !important; }
.sbp-ruled--blue > * { padding: 14px 0; }
.sbp-ruled--blue p { margin: 0 !important; }
@media (max-width: 1099px) { .sbp-map { grid-template-columns: 1fr; } }
@media (max-width: 781px) {
	.sbp-dest-countries .sbp-flags { display: block; }
	.sbp-dest-countries .sbp-flag { display: flex; padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--sbp-line); }
	.sbp-dest-countries .sbp-flag img { width: 40px; height: 30px; margin: 0; }
	.sbp-grad img { width: 44px; height: 44px; }
}
.sbp-grid-2 + .sbp-muted, .sbp-grid-2 ~ p { margin-top: 24px; }

/* Sections in templates (outside post content) carry the page gutter themselves */
.sbp-pad-x { padding-left: var(--sbp-gutter) !important; padding-right: var(--sbp-gutter) !important; }
.sbp-story-meta .wp-block-post-date::before { content: "· "; }
/* Story cards (SBP Stories list, More stories) */
.sbp-story-cards .wp-block-post-template { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.sbp-story-cards .wp-block-post-template > li { margin: 0; display: flex; flex-direction: column; }
.sbp-story-cards .wp-block-post-template > li > * { margin: 0; }
.sbp-story-cards .wp-block-post-featured-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; display: block; }
.sbp-story-meta { display: flex; flex-wrap: wrap; gap: 0 8px; margin-top: 16px !important; color: var(--wp--preset--color--orange-text); }
.sbp-story-meta > * { margin: 0 !important; }
.sbp-story-meta a { color: inherit; text-decoration: none; }
.sbp-story-cards .wp-block-post-title { margin: 8px 0 !important; font-size: 20px; line-height: 1.3; }
.sbp-story-cards .wp-block-post-title a { color: inherit; text-decoration: none; }
.sbp-story-cards .wp-block-post-title a:hover { text-decoration: underline; }
.sbp-story-cards .wp-block-post-excerpt { color: var(--sbp-grey); }
.sbp-story-cards .wp-block-post-excerpt p { margin: 0; }
.sbp-story-cards .wp-block-post-excerpt__more-text { display: none; }

/* Latest story, large */
.sbp-story-lead .wp-block-post-template > li { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: center; }
.sbp-story-lead .wp-block-post-template > li > * { margin: 0; }
.sbp-story-lead .wp-block-post-featured-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 70%; border-radius: 4px; display: block; }
.sbp-story-lead .wp-block-post-title { font-size: 40px; line-height: 1.15; margin: 14px 0 0 !important; }
.sbp-story-lead .wp-block-post-title a { color: inherit; text-decoration: none; }
.sbp-story-lead .wp-block-post-excerpt { margin-top: 20px !important; font-size: 22px; line-height: 1.5; }
.sbp-story-lead .wp-block-post-excerpt p { margin: 0; }
.sbp-story-lead .wp-block-read-more { margin-top: 24px; display: inline-block; font-family: var(--sbp-display); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em; text-decoration: none; }

/* One story */
.sbp-article { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
.sbp-article > * { margin: 0 !important; }
.sbp-article h1 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.12; margin-top: 14px !important; }
.sbp-article .wp-block-post-excerpt { margin-top: 20px; font-size: 22px; line-height: 1.5; }
.sbp-article .wp-block-post-excerpt p { margin: 0; }
.sbp-article .wp-block-post-featured-image img { width: 100%; max-height: 720px; object-fit: cover; border-radius: 4px; display: block; }
.sbp-article .wp-block-post-content { margin-top: 36px; font-size: 21px; line-height: 1.65; max-width: 760px; }
.sbp-article .wp-block-post-content > p { margin: 0 0 20px; }
.sbp-article .wp-block-post-content .wp-block-gallery.has-nested-images { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sbp-article .wp-block-post-content .wp-block-gallery.has-nested-images figure.wp-block-image { width: auto !important; margin: 0; }
.sbp-article .wp-block-post-content .wp-block-gallery img { aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.sbp-article .wp-block-post-content .sbp-grid-3 p { margin: 10px 0 0; font-size: 18px; }
.sbp-article .wp-block-post-content .sbp-grid-3 strong { color: var(--sbp-blue); font-weight: 600; }
.sbp-article .wp-block-post-content h2 { font-size: 20px; margin-top: 40px; }

/* Privacy Notice and Terms of Use (EN + ID): long legal text, readable line length, quiet headings */
.sbp-legal > * { max-width: 760px; }
.sbp-legal { font-size: 18px; line-height: 1.65; }
.sbp-legal > p, .sbp-legal li { margin: 0 0 14px; }
.sbp-legal ul { margin: 0 0 14px; padding-left: 1.2em; }
.sbp-legal h2 { font-size: 22px; line-height: 1.3; text-transform: none; letter-spacing: normal; margin: 44px 0 14px; }

/* Phone action bar: WhatsApp | Book a School Visit, always in reach (BRD §8) */
.wp-block-buttons.sbp-actionbar { display: none; }

/* ---------- Book / WhatsApp: footer row, floating buttons (desktop, tablet), phone action bar close ---------- */
.sbp-foot-cta { gap: 14px; padding-bottom: 36px; margin-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.35); }
.sbp-foot-cta .is-style-outline .wp-block-button__link { color: #fff; border-color: #fff; }
.sbp-fab { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; flex-direction: row; align-items: center; gap: 8px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
.sbp-fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.sbp-fab a { box-shadow: 0 3px 10px rgba(31, 42, 54, 0.16); padding: 9px 16px; font-size: 13px; letter-spacing: 0.08em; } /* compact: Pak Rusli found them too big (27 Oct 2026); text stays 13px */
.sbp-fab .is-style-outline, .sbp-fab a:nth-child(2) { background: #fff; }
.sbp-fab .sbp-fab__top { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: var(--sbp-blue); color: #fff; font-size: 17px; text-decoration: none; }
.sbp-fab.is-over-foot a:not(.sbp-fab__top) { display: none; }
@media (prefers-reduced-motion: reduce) { .sbp-fab { transition: none; } }
.sbp-actionbar__close { position: absolute; top: -14px; right: 10px; width: 28px; height: 28px; padding: 0; border-radius: 50%; border: 1px solid var(--sbp-line); background: #fff; color: var(--sbp-grey); font-size: 18px; line-height: 1; display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 6px rgba(31, 42, 54, 0.15); }
.sbp-actionbar__close::before { content: ""; position: absolute; inset: -8px; }
.sbp-actionbar[hidden] { display: none !important; }

/* ---------- tablet ---------- */
@media (max-width: 1099px) {
	.sbp-topbar { min-height: 80px; }
	.has-photo-hero .sbp-topbar { margin-bottom: -80px; }
	.sbp-topbar .sbp-logo img { height: 52px; }
	.sbp-pillar-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
	.sbp-quote-pair { grid-template-columns: 1fr; }
	.sbp-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sbp-foot__cols { grid-template-columns: repeat(2, 1fr); }
	.sbp-foot__cols > :first-child { grid-column: 1 / -1; flex-direction: row; }
	.sbp-pathway, .sbp-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sbp-ways > :nth-child(2) { border-right: 0; }
	.sbp-ways > :nth-child(-n + 2) { border-bottom: 1px solid var(--sbp-line); }
	.sbp-media-split, .sbp-visit { gap: 40px; }
	.sbp-talk { grid-template-columns: 1fr; }
	.sbp-talk__details { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.3); padding-top: 28px; }
	.sbp-columns-ruled--4, .sbp-columns-ruled--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sbp-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sbp-welcome { grid-template-columns: 1fr 2fr; gap: 40px; }
	.sbp-calendar__row { grid-template-columns: 220px 1fr; }
	.sbp-calendar__who { grid-column: 2; text-align: left; }
	.sbp-story-cards .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sbp-achievement { grid-template-columns: 220px 1fr; gap: 28px; }
}

/* ---------- phone ---------- */
@media (max-width: 781px) {
	html { scroll-padding-top: 100px; }
	body { padding-bottom: 72px; } /* room for the fixed action bar */
	.sbp-topbar { min-height: 68px; gap: 12px; }
	.has-photo-hero .sbp-topbar { margin-bottom: -68px; }
	.sbp-topbar .sbp-logo img { height: 44px; }
	.sbp-hero.wp-block-cover { min-height: clamp(600px, calc(100svh - 68px), 860px) !important; padding-bottom: 28px; }
	.sbp-hero .wp-block-buttons { width: 100%; }
	/* Book and WhatsApp are already in the action bar at the bottom; they come back if the bar is closed. Contact us stays. */
	.sbp-hero .wp-block-button:not(.sbp-text-link) { display: none; }
	body:has(.sbp-actionbar[hidden]) .sbp-hero .wp-block-button { display: block; }
	.sbp-split, .sbp-split--joining, .sbp-grid-3, .sbp-grid-2, .sbp-steps, .sbp-profile { grid-template-columns: 1fr; }
	.sbp-grid-4 { grid-template-columns: 1fr; }
	.sbp-ruled--2col, .sbp-kc-links { grid-template-columns: 1fr; }
	.sbp-wide-photo img { aspect-ratio: 16 / 10; }
	.sbp-pillar-list { display: block; padding-top: 0; }
	.sbp-pillar { display: grid; grid-template-columns: 1fr 88px; column-gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--sbp-line); }
	.sbp-pillar figure { grid-column: 2; grid-row: 1 / span 2; }
	.sbp-pillar h3 { grid-column: 1; margin-top: 0 !important; font-size: 13px; }
	.sbp-pillar p { grid-column: 1; font-size: 13px; }
	.sbp-stat .is-style-numeral { font-size: 56px; }
	.sbp-band__photo img { height: 280px; }
	.sbp-stories .wp-block-post-template { grid-template-columns: 1fr; gap: 40px; }
	.sbp-stories .wp-block-post-template > li { grid-column: auto !important; padding-top: 0 !important; }
	.sbp-stories .wp-block-post-template > li .wp-block-post-title { font-size: 21px !important; }
	.sbp-stories .wp-block-post-featured-image img { aspect-ratio: 4 / 3 !important; }
	.sbp-profile figure img { width: 100%; height: 300px; }
	.sbp-profile__quote { font-size: 21px; }
	.sbp-campus.wp-block-cover { min-height: 360px !important; }
	.sbp-foot__cols { grid-template-columns: 1fr; }
	.sbp-foot__cols > :first-child { flex-direction: column; }
	.sbp-foot__base > :last-child { margin-left: 0 !important; text-align: left; }
	.sbp-foot-cta { display: none !important; }
	.wp-block-buttons.sbp-actionbar {
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 40;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		padding: 10px 12px;
		background: #fff;
		border-top: 1px solid var(--sbp-line);
	}
	.sbp-actionbar > * { margin: 0 !important; }
	.sbp-actionbar .wp-block-button__link { width: 100%; padding: 14px 10px; font-size: 11px; }
	/* Page hero on phones: kicker and title stay on the photo, breadcrumb and intro sit below it on white.
	   The wrappers step aside (display: contents) so every piece lands in one grid; rows 1 to 3 are the photo. */
	.sbp-page-hero.wp-block-cover { display: grid; grid-template-columns: 100%; grid-template-rows: 300px auto auto auto auto; align-items: end; min-height: 0 !important; padding: 0 0 26px; }
	.sbp-page-hero .wp-block-cover__inner-container, .sbp-page-hero .sbp-hero__row, .sbp-page-hero .sbp-hero__row > .wp-block-group { display: contents; }
	.sbp-page-hero.wp-block-cover > .wp-block-cover__image-background, .sbp-page-hero.wp-block-cover > .wp-block-cover__background, .sbp-page-hero.sbp-hero-loop::before, .sbp-page-hero.sbp-hero-loop4::before, .sbp-page-hero.sbp-hero-loop4::after { position: relative; inset: auto; grid-column: 1; grid-row: 1 / 4; align-self: stretch; width: 100%; height: 100%; }
	.sbp-page-hero.wp-block-cover > .wp-block-cover__background { z-index: 2; background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.75) 100%) !important; }
	.sbp-page-hero :is(.sbp-kicker, h1, .rank-math-breadcrumb, .sbp-page-hero__intro) { position: relative; z-index: 3; grid-column: 1; margin-left: var(--sbp-gutter); margin-right: var(--sbp-gutter); }
	.sbp-page-hero .sbp-kicker { grid-row: 2; justify-self: start; }
	.sbp-page-hero h1 { grid-row: 3; margin-bottom: 24px; }
	.sbp-page-hero .rank-math-breadcrumb { grid-row: 4; margin-top: 22px; margin-bottom: 12px; }
	.sbp-page-hero .rank-math-breadcrumb, .sbp-page-hero .rank-math-breadcrumb a { color: var(--sbp-grey); opacity: 1; }
	.sbp-page-hero .sbp-page-hero__intro { grid-row: 5; margin-top: 0; color: var(--sbp-ink); }
	.sbp-page-hero .wp-block-buttons { display: none; } /* the sticky bar below carries the same two buttons */
	.sbp-split--wide, .sbp-media-split, .sbp-visit, .sbp-recognition, .sbp-pathway, .sbp-ways, .sbp-columns-ruled, .sbp-columns-ruled--4, .sbp-columns-ruled--5, .sbp-columns-ruled--2x2, .sbp-campus-pair, .sbp-choices, .sbp-form__row { grid-template-columns: 1fr; }
	.sbp-onpage { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; gap: 24px; -webkit-overflow-scrolling: touch; }
	.sbp-columns-ruled > * { padding: 24px 0 8px !important; border-right: 0; border-bottom: 1px solid var(--sbp-line); }
	.sbp-ways > * { border-right: 0 !important; border-bottom: 1px solid var(--sbp-line); padding: 24px 20px; }
	.sbp-ways > .has-blue-background-color :is(h2, h3) { white-space: normal; }
	.sbp-recognition figure { max-width: 220px; }
	.sbp-media-split > figure img { aspect-ratio: 4 / 3; }
	.sbp-alumni-pair { grid-template-columns: 1fr; gap: 14px; }
	.sbp-alumni-card { gap: 16px; padding: 20px; }
	.sbp-alumni-card__quote { font-size: 17px; }
	.sbp-alumni-card .sbp-profile__who { font-size: 14px; }
	.sbp-panel { padding: 48px 24px !important; }
	.sbp-panel__head { margin-bottom: 32px !important; }
	.sbp-pathway { gap: 28px; }
	.sbp-table { overflow-x: auto; }
	.sbp-table table { min-width: 640px; font-size: 17px; }
	.sbp-table--results table { min-width: 0; }
	.sbp-form { padding: 28px 20px; gap: 32px; }
	.sbp-faq summary { font-size: 19px; }
	.sbp-hide-phone { display: none !important; } /* decorative photos that would push a form below the fold */
	.sbp-values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
	.sbp-value__letter { width: 52px; height: 52px; font-size: 22px; }
	.sbp-value p:last-child { font-size: 17px; }
	.sbp-rows--2col, .sbp-welcome, .sbp-figure, .sbp-head-photo { grid-template-columns: 1fr; }
	.sbp-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sbp-welcome > .wp-block-group:first-child { position: static; max-width: 280px; }
	.sbp-figure .is-style-numeral { font-size: 72px; }
	.sbp-rows--stats .sbp-row { grid-template-columns: 72px 1fr; gap: 18px; }
	.sbp-rows--stats .sbp-row .is-style-numeral { font-size: 48px; }
	.sbp-calendar__row { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
	.sbp-calendar__who { grid-column: auto; }
	.sbp-chips li { font-size: 16px; padding: 10px 18px; }
	.sbp-achievement, .sbp-article, .sbp-story-lead .wp-block-post-template > li { grid-template-columns: 1fr; gap: 12px; }
	.sbp-story-lead .wp-block-post-template > li { gap: 20px; }
	.sbp-story-lead .wp-block-post-title { font-size: 28px; }
	.sbp-story-cards .wp-block-post-template { grid-template-columns: 1fr; gap: 36px; }
	.sbp-counts { grid-template-columns: 1fr; border-top-width: 2px; }
	.sbp-counts > * { padding: 16px 0 !important; border-left: 0; border-bottom: 1px solid var(--sbp-line); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
	.sbp-counts .is-style-numeral { font-size: 40px !important; order: 2; }
	.sbp-counts .sbp-count__label { margin-top: 0; }
	.sbp-counts .sbp-count__words { font-size: 28px; min-height: 0; }
	.sbp-counts--stack > * { display: block; }
	.sbp-article .wp-block-post-content { font-size: 18px; margin-top: 24px; }
	.sbp-article .wp-block-post-excerpt { font-size: 18px; }
}
.sbp-table:focus-visible { outline: 3px solid rgba(12, 92, 151, 0.4); outline-offset: 2px; }

/* ---------- Phase 1 pages: strengths, contact, Knowledge Centre ---------- */
/* Subject lists: a ruled list, not pills (they read as buttons and wrapped badly) */
.sbp-chips.sbp-chips--line { display: block; margin-top: 20px; }
.sbp-chips.sbp-chips--line li { background: none; border: 0; border-top: 1px solid var(--sbp-line); border-radius: 0; padding: 11px 0; font-size: 17px; line-height: 1.4; }
.sbp-chips.sbp-chips--line li:last-child { border-bottom: 1px solid var(--sbp-line); }
.sbp-strength-card h3 a:hover, .sbp-strength-card h3 a:focus-visible { text-decoration: underline; }
.sbp-contact { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.sbp-contact > * { margin: 0 !important; }
.sbp-contact__details { display: grid; gap: 26px; font-size: 19px; margin-top: 36px !important; }
.sbp-contact__details > * { margin: 0 !important; }
.sbp-contact__place > * { margin: 0 !important; }
.sbp-contact__place h3 { font-size: 17px; margin-bottom: 4px !important; }
.sbp-contact__place .sbp-kicker + p { margin-top: 8px !important; }
.sbp-contact__place h3 + p { margin-top: 4px !important; }
.sbp-contact h1 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.12; }
.sbp-form__title { margin: 0 !important; font-size: 22px; }
.sbp-kc { display: grid; grid-template-columns: 8fr 4fr; gap: 72px; align-items: start; }
.sbp-kc > * { margin: 0 !important; min-width: 0; }
.sbp-kc .rank-math-breadcrumb { margin-bottom: 40px; }
.sbp-kc h1 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.12; margin-top: 14px !important; }
.sbp-knowledge-meta { margin-top: 18px !important; font-size: 16px; color: var(--sbp-grey); }
.sbp-answer { margin-top: 28px !important; padding: 26px 30px; background: var(--wp--preset--color--beige); border-left: 4px solid var(--wp--preset--color--orange); }
.sbp-answer > * { margin: 0 !important; }
.sbp-answer .wp-block-post-excerpt { margin-top: 10px !important; font-size: 22px; line-height: 1.5; }
.sbp-answer .wp-block-post-excerpt p { margin: 0; }
.sbp-kc .wp-block-post-content { font-size: 20px; line-height: 1.65; max-width: 760px; }
.sbp-kc .wp-block-post-content h2 { margin: 40px 0 14px; font-size: 22px; }
.sbp-kc .wp-block-post-content p { margin: 0 0 18px; }
.sbp-kc__aside { position: sticky; top: 150px; margin-top: 120px !important; }
.sbp-related { border-top: 2px solid var(--sbp-blue); padding-top: 18px; }
.sbp-related ul { list-style: none; padding: 0; margin: 6px 0 0; }
.sbp-related li { padding: 16px 0; border-bottom: 1px solid var(--sbp-line); font-size: 19px; }
.sbp-related li a { text-decoration: none; }
.sbp-related .sbp-more { margin: 22px 0 0; }
.sbp-related .sbp-more + .sbp-more { margin-top: 12px; }
.sbp-questions { display: grid; border-top: 1px solid var(--sbp-line); }
.sbp-question { padding: 24px 0; border-bottom: 1px solid var(--sbp-line); }
.sbp-question > * { margin: 0 !important; }
.sbp-question h3 { font-size: 18px; margin-bottom: 8px !important; }
.sbp-question h3 a { text-decoration: none; }
.sbp-question p { color: var(--sbp-grey); }
@media (max-width: 1099px) {
	.sbp-contact { gap: 40px; }
}
@media (max-width: 781px) {
	.sbp-contact, .sbp-kc { grid-template-columns: 1fr; gap: 40px; }
	.sbp-kc__aside { position: static; margin-top: 0 !important; }
}
/* Contact and Careers: extra items in the phone menu only, as the comps */
.sbp-topbar .sbp-menu-phone { display: none; }
.sbp-topbar .is-menu-open .sbp-menu-phone { display: flex; }

/* ---------- shapes from the AC comps (Phase 1 pages) ---------- */
.sbp-split > * > .is-style-star, .sbp-split > * > .sbp-star { margin-top: 22px; }
.sbp-split > * > p.has-lead-font-size + *, .sbp-split > * > .sbp-muted + .wp-block-group, .sbp-split > * > .sbp-muted + figure { margin-top: 28px !important; }
.sbp-split > * > .sbp-more--after { margin-top: 28px !important; }
.sbp-img-wide img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; display: block; border-radius: 4px; }
.sbp-img-wide { margin: 0 0 28px !important; }
.sbp-img-wide + .sbp-ruled { margin-top: 0 !important; }
.sbp-ruled--flush { border-top: 0; margin-top: 0 !important; }
.sbp-list-2col { list-style: none; margin: 24px 0 0 !important; padding: 0; border-top: 1px solid var(--sbp-line); columns: 2; column-gap: 40px; }
.sbp-list-2col li { padding: 12px 0; border-bottom: 1px solid var(--sbp-line); break-inside: avoid; }
.sbp-grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.sbp-grid-5 > *, .sbp-grid-2 > * { margin: 0 !important; }
.sbp-step { border-top: 2px solid var(--sbp-blue); padding-top: 16px; }
.sbp-step > * { margin: 0 !important; }
.sbp-step h3 + .sbp-muted { margin-top: 8px !important; font-size: 15px; line-height: 1.5; }
.sbp-step .is-style-numeral { font-size: 36px; line-height: 1; }
.sbp-step h3 { margin-top: 10px !important; font-size: 15px; line-height: 1.35; }
.sbp-grid--photos { gap: 32px 24px; }
.sbp-fac > * { margin: 0 !important; }
.sbp-fac figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; border-radius: 4px; }
.sbp-fac .sbp-kicker { margin-top: 10px !important; }
.sbp-fac h3 { margin-top: 4px !important; font-size: 16px; }
.sbp-fac .sbp-muted { margin-top: 4px !important; font-size: 15px; }
.sbp-logo-split { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: center; }
.sbp-logo-split > * { margin: 0 !important; }
.sbp-logo-split > * > * + * { margin-top: 16px; }
.sbp-logo-img img { width: 100%; height: auto; display: block; }
.sbp-bignum { display: flex; gap: 20px; align-items: baseline; padding-bottom: 22px; border-bottom: 2px solid var(--sbp-blue); }
.sbp-bignum > * { margin: 0 !important; }
.sbp-bignum .is-style-numeral { font-size: 72px; line-height: 1; }
.sbp-bignum__caption { font-size: 20px; }
.sbp-split .sbp-grid-4 .sbp-strength-card .is-style-numeral { font-size: 36px; }
.sbp-split .sbp-grid-4 .sbp-strength-card h3 { font-size: 16px; }
.sbp-split .sbp-grid-4 .sbp-strength-card__name { gap: 12px; margin-top: 14px !important; }
@media (max-width: 1099px) {
	.sbp-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 781px) {
	.sbp-grid-5, .sbp-logo-split { grid-template-columns: 1fr; }
	.sbp-list-2col { columns: 1; }
	.sbp-logo-split .sbp-logo-img { max-width: 200px; }
}
/* Stages table (Academic Approach): straight on the grey section, as the comp */
.sbp-table--stages table { background: transparent; }
.sbp-table--stages th, .sbp-table--stages td { padding: 20px 24px 20px 0 !important; }
.sbp-table--stages th { padding-top: 0 !important; }
.sbp-table--stages td:first-child { font-weight: 600; white-space: nowrap; }
.sbp-table--stages td:nth-child(2) { white-space: nowrap; }
.sbp-table--stages td:nth-child(3) { color: var(--sbp-blue); }
.sbp-table--stages td:nth-child(4) { color: var(--sbp-grey); }

/* 29 Oct 2026: Pak Rusli's 27 Oct feedback */
.sbp-text-link .wp-block-button__link { background: none; border: 0; padding: 0 0 0 8px; color: inherit; text-decoration: underline; text-underline-offset: 5px; align-self: center; }
.sbp-hero__row .wp-block-buttons { align-items: center; }
.sbp-world-map { margin: 0 0 20px; background: #fff; border-radius: 4px; padding: 24px; }
.sbp-world-map img { display: block; width: 100%; height: auto; }
.sbp-grads { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 20px; margin: 0 0 20px; }
.sbp-grads__label { margin: 8px 0 12px; }
.sbp-grad-card { background: #fff; border-radius: 4px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; }
.sbp-grad-card img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: var(--wp--preset--color--beige); }
.sbp-grad-card__name { display: block; font-size: 18px; font-weight: 600; color: var(--sbp-ink); }
.sbp-grad-card__uni { display: block; margin-top: 2px; font-size: 16px; line-height: 1.35; color: var(--sbp-grey); }
@media (max-width: 1099px) { .sbp-grads { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; } .sbp-world-map { padding: 10px; } }
@media (max-width: 767px) { .sbp-grads { grid-template-columns: 1fr; gap: 10px; } .sbp-grad-card img { width: 44px; height: 44px; } .sbp-grad-card__name { font-size: 16px; } .sbp-grad-card__uni { font-size: 15px; } }
.sbp-map--world { display: block; }
.sbp-map--world .sbp-map__svg { margin: 28px 0 32px !important; }
.sbp-map--world .sbp-ruled { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; }
.sbp-map--world .sbp-wide-lead { margin-top: 48px !important; }
@media (max-width: 1099px) { .sbp-map--world .sbp-ruled { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .sbp-map--world .sbp-ruled { grid-template-columns: 1fr; } }
/* Eleven Values: the name reads B-I-N-A / P-E-R-S-A-D-A, one letter per column (Pak Rusli, 27 Oct 2026); phones keep the circles */
@media (min-width: 1100px) {
	.sbp-values { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 20px; }
	.sbp-values > * { display: block; padding-top: 18px; border-top: 3px solid #fff; }
	.sbp-values > .sbp-value--orange { border-top-color: var(--sbp-orange); }
	.sbp-values .sbp-value__letter, .sbp-values .sbp-value--orange .sbp-value__letter { width: auto; height: auto; display: block; background: none; color: inherit; font-size: 60px; line-height: 1; border-radius: 0; }
	.sbp-values .sbp-value p:last-child { margin-top: 14px; font-size: 17px; line-height: 1.3; }
	.sbp-values--divided { margin-top: 48px !important; padding-top: 0; border-top: 0; }
}
/* Cambridge recognition as flag cards (Pak Rusli, 27 Oct 2026) */
.sbp-rec-label { margin: 56px 0 18px !important; font-size: 13px; }
.sbp-rec-cards { gap: 20px; }
.sbp-rec-card { background: var(--wp--preset--color--beige); border-radius: 4px; padding: 28px; }
.sbp-rec-card__country { display: flex; align-items: center; gap: 14px; margin: 0 0 4px; font-size: 13px; }
.sbp-rec-card img, .sbp-rec-also img { object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px var(--sbp-line); flex: 0 0 auto; }
.sbp-rec-card .sbp-uni { margin: 12px 0 0; font-size: 19px; line-height: 1.35; }
.sbp-rec-also { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 36px; margin-top: 28px !important; padding-top: 24px; border-top: 1px solid var(--sbp-line); font-size: 18px; }
.sbp-rec-also > span { display: inline-flex; align-items: center; gap: 12px; }
.sbp-rec-also .is-style-label { font-size: 13px; }
@media (max-width: 767px) { .sbp-rec-also { display: grid; gap: 10px; font-size: 17px; } }
/* Mandarin: the Class of 2026 in China, as an article with faces (Pak Rusli, 27 Oct 2026) */
.sbp-faces { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px 12px; margin-top: 32px !important; }
.sbp-faces > span { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 15px; color: var(--sbp-grey); }
.sbp-faces img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: var(--wp--preset--color--beige); }
@media (max-width: 767px) { .sbp-faces { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sbp-faces img { width: 64px; height: 64px; } .sbp-faces > span { font-size: 13px; } }
.sbp-span-all { grid-column: 1 / -1; margin-top: 56px !important; }
.sbp-grid--photos img[src*="basketball-match"] { object-position: center 15%; }
.sbp-en-photos figure { margin: 0; }
.sbp-en-photos img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-radius: 4px; }
.sbp-en-photos figcaption { margin-top: 8px; font-size: 15px; color: var(--sbp-grey); text-align: left; }
.sbp-table--winners { margin-top: 14px; border-top: 2px solid var(--sbp-blue); }
.sbp-table--winners table { min-width: 0 !important; background: transparent; }
.sbp-table--winners td { padding: 18px 24px 18px 0; vertical-align: top; border-bottom: 1px solid var(--sbp-line); }
.sbp-table--winners td:first-child { width: 40%; }
@media (max-width: 767px) { .sbp-table--winners tr, .sbp-table--winners td { display: block; width: auto !important; } .sbp-table--winners td { padding: 4px 0; border: 0; } .sbp-table--winners tr { padding: 12px 0; border-bottom: 1px solid var(--sbp-line); } .sbp-en-photos { grid-template-columns: 1fr 1fr; } }
/* Primary School / Secondary School pages (29 Oct 2026) */
.sbp-glance { border-top: 2px solid var(--sbp-blue); margin-bottom: 40px !important; }
.sbp-glance .sbp-glance__value { margin: 10px 0 0; font-size: 22px; line-height: 1.35; color: var(--sbp-blue); }
.sbp-years { border-top: 1px solid var(--sbp-line); margin-top: 32px !important; }
.sbp-years > details { border-bottom: 1px solid var(--sbp-line); margin: 0 !important; }
.sbp-years summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font-size: 21px; font-weight: 600; color: var(--sbp-ink); }
.sbp-years summary::-webkit-details-marker { display: none; }
.sbp-years summary::after { content: "+"; font-family: var(--sbp-display); font-size: 26px; font-weight: 400; color: var(--sbp-blue); }
.sbp-years details[open] summary::after { content: "–"; }
.sbp-years__ages { display: block; font-size: 15px; font-weight: 400; color: var(--sbp-grey); }
.sbp-year-body { display: grid; grid-template-columns: 5fr 4fr; gap: 48px; padding: 8px 0 32px; }
.sbp-year-body .is-style-label { margin: 0 0 6px; font-size: 13px; color: var(--wp--preset--color--orange-text); }
.sbp-year-subjects > .wp-block-group { padding: 12px 0; border-bottom: 1px solid var(--sbp-line); }
.sbp-year-subjects > .wp-block-group > * { margin: 0; }
.sbp-year-subjects .sbp-muted { margin-top: 2px; font-size: 16px; }
.sbp-year-side { display: grid; gap: 28px; align-content: start; }
.sbp-year-side > * > * { margin: 0 0 8px; }
.sbp-year-side ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.sbp-years__tabs { display: none; }
.sbp-years.is-tabs { border-top: 0; }
.sbp-years.is-tabs .sbp-years__tabs { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 8px; margin-bottom: 40px; }
.sbp-years.is-tabs > details { border: 0; }
.sbp-years.is-tabs > details:not([open]) { display: none; }
.sbp-years.is-tabs > details > summary { display: block; pointer-events: none; padding-top: 0; font-family: var(--sbp-display); font-size: 28px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sbp-blue); }
.sbp-years.is-tabs > details > summary::after { content: none; }
.sbp-years__tab { font: inherit; text-align: left; border: 1px solid var(--sbp-line); border-radius: 4px; background: #fff; padding: 14px 16px; cursor: pointer; color: var(--sbp-blue); font-family: var(--sbp-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; }
.sbp-years__tab .sbp-years__ages { margin-top: 4px; font-family: var(--wp--preset--font-family--body); text-transform: none; letter-spacing: 0; font-size: 14px; }
.sbp-years__tab[aria-pressed="true"] { background: var(--sbp-blue); border-color: var(--sbp-blue); color: #fff; }
.sbp-years__tab[aria-pressed="true"] .sbp-years__ages { color: #fff; }
@media (max-width: 1099px) { .sbp-year-body { grid-template-columns: 1fr; gap: 24px; } .sbp-years summary { font-size: 19px; } }
.sbp-years.is-tabs > details > summary .sbp-years__ages { margin-top: 6px; font-family: var(--wp--preset--font-family--body); font-size: 17px; text-transform: none; letter-spacing: 0; }
.sbp-year-subjects > .wp-block-group > * + * { margin-top: 2px; }
/* grid items: WordPress flow layout gives every block after the first a top margin, which pushes grid columns 2+ down */
.sbp-pillar-list > *, .sbp-year-body > *, .sbp-campus-pair > * { margin: 0 !important; }

/* Under construction page (pattern page-under-construction): same look as the coming-soon screen in mu-plugins/sbp-coming-soon.php. */
.sbp-uc { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; padding: 0 !important; }
.sbp-uc > * { margin: 0 !important; }
.sbp-uc__photo.wp-block-cover { min-height: 100%; padding: 0; background: var(--sbp-blue); }
.sbp-uc__text { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 88px); }
.sbp-uc__text > * { margin: 0 0 1.2em; max-width: 32em; }
.sbp-uc__logo img { width: 260px; height: auto; }
.sbp-uc__text > .sbp-uc__logo { margin-bottom: 56px; }
.sbp-uc .sbp-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sbp-uc .sbp-kicker::before { content: ""; width: 28px; height: 2px; background: var(--sbp-orange); }
.sbp-uc h1 { max-width: 16em; margin: 0 0 20px !important; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; letter-spacing: 0.06em; color: var(--sbp-blue); }
.sbp-uc .wp-block-buttons { gap: 12px; margin: 12px 0 36px; }
.sbp-uc .is-style-outline > .wp-block-button__link { color: var(--sbp-blue); }
.sbp-uc .wp-block-button__link span { display: block; margin-top: 6px; font: 400 15px/1.2 var(--wp--preset--font-family--body); text-transform: none; letter-spacing: 0; }
.sbp-uc .sbp-uc__thanks { padding-top: 24px; border-top: 1px solid var(--wp--preset--color--line, #D9DADB); color: #68686A; }
@media (max-width: 781px) {
	.sbp-uc { grid-template-columns: 1fr; grid-template-rows: 34vh auto; }
	.sbp-uc__logo img { width: 220px; }
	.sbp-uc__text > .sbp-uc__logo { margin-bottom: 40px; }
	.sbp-uc .wp-block-button { flex: 1 1 100%; text-align: center; }
}

/* SBP Stories page navigation: numbered circles, current page filled, newer/older as outlined pills */
.sbp-pager { margin-top: 72px !important; padding-top: 40px; border-top: 1px solid var(--sbp-line); gap: 12px; align-items: center; flex-wrap: wrap; font-family: var(--sbp-display); }
.sbp-pager .wp-block-query-pagination-numbers { display: flex; gap: 8px; margin: 0 8px; }
.sbp-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 6px; border-radius: 22px; font-size: 15px; font-weight: 500; color: var(--sbp-blue); text-decoration: none; }
.sbp-pager a.page-numbers:hover { background: var(--wp--preset--color--beige); }
.sbp-pager .page-numbers.current { background: var(--sbp-blue); color: #fff; }
.sbp-pager .page-numbers.dots { min-width: 24px; color: var(--sbp-grey); }
.sbp-pager .wp-block-query-pagination-previous, .sbp-pager .wp-block-query-pagination-next { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; border: 1px solid var(--sbp-blue); border-radius: 22px; font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sbp-blue); text-decoration: none; }
.sbp-pager .wp-block-query-pagination-previous:hover, .sbp-pager .wp-block-query-pagination-next:hover { background: var(--sbp-blue); color: #fff; }
@media (max-width: 781px) { .sbp-pager { margin-top: 48px !important; padding-top: 28px; } .sbp-pager .wp-block-query-pagination-previous, .sbp-pager .wp-block-query-pagination-next { padding: 0 16px; } }

/* A ruled list that opens a split column lines up with the section title, not 32px below it (Mandarin "Di SBP") */
.sbp-split > * > .sbp-ruled:first-child { margin-top: 0 !important; }
/* Strength titles top-aligned with the numeral (user, 10 Nov); 2px brings the caps level with the digit tops */
.sbp-strength-card__name { align-items: flex-start; }
.sbp-strength-card__name h3 { padding-top: 2px; }

/* Block editor: the title at the size the page shows it (single.html), not the hero h1 size */
.editor-post-title.wp-block-post-title { font-size: var(--wp--preset--font-size--title); line-height: 1.15; margin-bottom: 40px !important; }
.sbp-nowrap { white-space: nowrap; }
