/* SBC Focus Cards — Frontend styles (v1.6.1)
 * Desktop: image-card selectors + two-column content panel, slide-in from right.
 * Mobile (<720px): vertical accordion — panels drop down beneath their card.
 * Scroll behavior honors any sticky site header via scroll-margin-top with
 * value injected from JS as --sbc-fc-sticky-offset on the block element.
 * Light theme only.
 */

.sbc-fc-block {
	margin: 32px 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	overflow-x: hidden;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	--sbc-fc-accent: #c8102e;
	--sbc-fc-ink: #0e1a2b;
	--sbc-fc-ink-soft: #475569;
	--sbc-fc-bg-soft: #f6f7f9;
	--sbc-fc-rule: #d9dde3;
	--sbc-fc-rule-soft: #e9ecf1;
	--sbc-fc-teal: #2b6e80;
}

.sbc-fc-block *,
.sbc-fc-block *::before,
.sbc-fc-block *::after {
	box-sizing: border-box;
}

.sbc-fc-block img {
	max-width: 100%;
	height: auto;
}

.sbc-fc-inner {
	max-width: 1280px;
	width: 100%;
	margin: 0 auto;
	padding: 0 48px;
	box-sizing: border-box;
}

/* ============================================================ */
/* Image-card selector row (4 desktop / 2 tablet / 1 mobile)     */
/* ============================================================ */

.sbc-fc-card-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-bottom: 48px;
}

.sbc-fc-card-selector {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 0 0 14px 0;
	background: transparent;
	border: none;
	cursor: pointer;
	font-family: inherit;
	text-align: left;
	transition: filter .3s ease;
}

.sbc-fc-card-selector:focus-visible {
	outline: 2px solid var(--sbc-fc-accent);
	outline-offset: 4px;
	border-radius: 8px;
}

.sbc-fc-card-image {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	border-radius: 8px;
	overflow: hidden;
	background: var(--sbc-fc-bg-soft);
}

.sbc-fc-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: filter .3s ease;
}

.sbc-fc-card-label {
	font-size: 15px;
	font-weight: 600;
	color: var(--sbc-fc-ink);
	line-height: 1.3;
	padding: 0 4px;
}

.sbc-fc-card-underline {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--sbc-fc-accent);
	opacity: 0;
	transition: opacity .3s ease;
}

/* Chevron is hidden by default (desktop tab mode);
   only displayed when block is in accordion mode (< 720px or .is-accordion-mode). */
.sbc-fc-card-chevron {
	display: none;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	color: #94a3b8;
	transition: transform .3s ease, color .2s ease;
}

/* Inactive cards: desaturated image, muted label */
.sbc-fc-card-selector:not(.is-active) .sbc-fc-card-image img {
	filter: grayscale(100%);
}

.sbc-fc-card-selector:not(.is-active) .sbc-fc-card-label {
	color: var(--sbc-fc-ink-soft);
}

.sbc-fc-card-selector:not(.is-active):hover .sbc-fc-card-image img {
	filter: grayscale(50%);
}

/* Active card: color image + red underline */
.sbc-fc-card-selector.is-active .sbc-fc-card-underline {
	opacity: 1;
}

/* ============================================================ */
/* Content panel container — slide-right animation               */
/* ============================================================ */

.sbc-fc-panels {
	position: relative;
	min-height: 360px;
}

.sbc-fc-content-panel {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: start;
}

.sbc-fc-content-panel[hidden] {
	display: none;
}

.sbc-fc-content-panel.is-active {
	animation: sbc-fc-slide-right 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes sbc-fc-slide-right {
	from { opacity: 0; transform: translateX(60vw); }
	to   { opacity: 1; transform: translateX(0); }
}

/* ============================================================ */
/* Panel — left column: heading + body + CTA                     */
/* ============================================================ */

.sbc-fc-panel-text {
	min-width: 0;
}

.sbc-fc-subslot-heading {
	margin: 0 0 16px 0;
	color: var(--sbc-fc-ink);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	font-family: inherit;
}

.sbc-fc-subslot-body {
	color: var(--sbc-fc-ink-soft);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	margin: 0 0 28px 0;
	font-family: inherit;
}

/* ============================================================ */
/* Panel — right column: Quick Access list                        */
/* ============================================================ */

.sbc-fc-quick-access {
	min-width: 0;
}

.sbc-fc-quick-access-heading {
	margin: 0 0 16px 0;
	color: var(--sbc-fc-ink);
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--sbc-fc-rule-soft);
}

.sbc-fc-quick-access-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sbc-fc-quick-access-item {
	margin-bottom: 10px;
}

.sbc-fc-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--sbc-fc-ink);
	text-decoration: none;
	font-size: 14px;
	line-height: 1.4;
	border-bottom: 1px solid transparent;
	transition: color .15s ease, border-bottom-color .15s ease;
}

.sbc-fc-link:hover {
	color: var(--sbc-fc-accent);
	border-bottom-color: var(--sbc-fc-accent);
}

.sbc-fc-link-lock {
	display: none;
}

.sbc-fc-link-lock svg {
	width: 1em;
	height: 1em;
	display: block;
}

.sbc-fc-link-lock--closed {
	color: var(--sbc-fc-accent);
}

.sbc-fc-link-lock--open {
	color: #16a34a;
}

.sbc-fc-link--gated.is-locked .sbc-fc-link-lock--closed {
	display: inline-flex;
}

.sbc-fc-link--gated:not(.is-locked) .sbc-fc-link-lock--open {
	display: inline-flex;
}

/* ============================================================ */
/* CTA button (pill with arrow)                                  */
/* ============================================================ */

.sbc-fc-cta-wrapper {
	margin-top: 8px;
}

.sbc-fc-cta-button {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 14px 28px;
	border: 1.5px solid var(--sbc-fc-ink);
	border-radius: 999px;
	background: transparent;
	color: var(--sbc-fc-ink);
	font-weight: 500;
	font-size: 15px;
	text-decoration: none;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.sbc-fc-cta-button:hover {
	background: var(--sbc-fc-accent);
	color: #ffffff;
	border-color: var(--sbc-fc-accent);
}

.sbc-fc-cta-button:hover .sbc-fc-cta-button-arrow {
	color: #ffffff;
}

.sbc-fc-cta-button-arrow {
	color: var(--sbc-fc-accent);
	font-size: 16px;
	transition: color .2s ease;
}

.sbc-fc-cta-button-lock {
	display: none;
}

.sbc-fc-cta-button-lock svg {
	width: 1em;
	height: 1em;
	display: block;
}

.sbc-fc-cta-button-lock--closed {
	color: var(--sbc-fc-accent);
}

.sbc-fc-cta-button-lock--open {
	color: #16a34a;
}

.sbc-fc-cta-button--gated.is-locked .sbc-fc-cta-button-lock--closed {
	display: inline-flex;
}

.sbc-fc-cta-button--gated:not(.is-locked) .sbc-fc-cta-button-lock--open {
	display: inline-flex;
}

/* ============================================================ */
/* CTA Modal (shared infrastructure)                             */
/* ============================================================ */

.sbc-fc-cta-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100vw;
	height: 100vh;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(14, 26, 43, 0.4);
	padding: 24px;
	box-sizing: border-box;
	animation: sbc-fc-modal-fade 0.2s ease-out;
}

.sbc-fc-cta-modal[hidden] {
	display: none;
}

@keyframes sbc-fc-modal-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

.sbc-fc-cta-modal-content {
	background: white;
	border-radius: 8px;
	padding: 40px 48px;
	max-width: 560px;
	width: 100%;
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	box-shadow: 0 24px 80px rgba(14, 26, 43, 0.25);
	position: relative;
	animation: sbc-fc-modal-pop 0.3s ease-out;
}

@keyframes sbc-fc-modal-pop {
	from { transform: scale(0.95); }
	to   { transform: scale(1); }
}

.sbc-fc-cta-modal-close {
	position: absolute;
	top: 12px; right: 16px;
	background: transparent;
	border: none;
	font-size: 28px;
	line-height: 1;
	color: #94a3b8;
	cursor: pointer;
	padding: 4px 10px;
}

.sbc-fc-cta-modal-close:hover {
	color: var(--sbc-fc-ink);
}

.sbc-fc-cta-modal-badge {
	display: inline-block;
	padding: 4px 12px;
	margin: 0 0 16px 0;
	background: #334155;
	color: #ffffff;
	font-size: 11px;
	font-style: italic;
	font-weight: 500;
	letter-spacing: 0.02em;
	border-radius: 999px;
}

.sbc-fc-cta-modal-headline {
	margin: 0 0 16px 0;
	color: var(--sbc-fc-ink);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
}

.sbc-fc-cta-modal-body {
	color: var(--sbc-fc-ink-soft);
	font-size: 16px;
	line-height: 1.5;
	margin: 0 0 24px 0;
}

.sbc-fc-cta-modal-image {
	max-width: 100%;
	border-radius: 4px;
	margin-bottom: 16px;
}

.sbc-fc-cta-modal-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.sbc-fc-cta-modal-primary,
.sbc-fc-cta-modal-secondary {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: all 0.15s;
}

.sbc-fc-cta-modal-primary {
	background: #c00000;
	color: white;
	border: 1px solid #c00000;
}

.sbc-fc-cta-modal-primary:hover {
	background: #9c0000;
	border-color: #9c0000;
	color: white;
}

.sbc-fc-cta-modal-secondary {
	background: white;
	color: var(--sbc-fc-ink);
	border: 1px solid var(--sbc-fc-ink);
}

.sbc-fc-cta-modal-secondary:hover {
	background: var(--sbc-fc-ink);
	color: white;
}

/* ============================================================ */
/* Responsive — tablet (2-col card grid) and mobile (accordion)  */
/* ============================================================ */

/* Tablet: 2-column tab grid, panels still below the cards. */
@media (max-width: 900px) {
	.sbc-fc-inner {
		padding: 0 24px;
	}
	.sbc-fc-card-row {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
		margin-bottom: 32px;
	}
	.sbc-fc-card-label {
		font-size: 14px;
	}
	.sbc-fc-content-panel {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.sbc-fc-subslot-heading {
		font-size: 26px;
	}
}

/* ============================================================ */
/* Mobile (<720px): vertical accordion                            */
/* Frontend JS adds .is-accordion-mode and moves each panel to   */
/* sit as the next sibling of its own card-selector inside       */
/* .sbc-fc-card-row. Panels collapse via max-height transition.  */
/* ============================================================ */
.sbc-fc-block.is-accordion-mode .sbc-fc-inner {
	padding: 0 20px;
}

.sbc-fc-block.is-accordion-mode .sbc-fc-card-row {
	display: block;
	margin-bottom: 0;
}

/* Card-selector becomes a horizontal pill: small image + label + chevron. */
.sbc-fc-block.is-accordion-mode .sbc-fc-card-selector {
	flex-direction: row;
	align-items: center;
	gap: 16px;
	padding: 16px 0;
	width: 100%;
}

.sbc-fc-block.is-accordion-mode .sbc-fc-card-image {
	width: 72px;
	height: 72px;
	aspect-ratio: 1 / 1;
	flex-shrink: 0;
}

.sbc-fc-block.is-accordion-mode .sbc-fc-card-label {
	flex: 1;
	min-width: 0;
	font-size: 16px;
	font-weight: 600;
	padding: 0;
}

.sbc-fc-block.is-accordion-mode .sbc-fc-card-underline {
	display: none;
}

/* Chevron visible in accordion mode. */
.sbc-fc-block.is-accordion-mode .sbc-fc-card-chevron {
	display: block;
}

.sbc-fc-block.is-accordion-mode .sbc-fc-card-selector.is-open .sbc-fc-card-chevron {
	transform: rotate(180deg);
	color: var(--sbc-fc-accent);
}

/* In accordion mode, "active" desaturation does not apply; only "open" matters.
   When closed, image is grayscale; when open, image is full color. */
.sbc-fc-block.is-accordion-mode .sbc-fc-card-selector:not(.is-open) .sbc-fc-card-image img {
	filter: grayscale(100%);
}

.sbc-fc-block.is-accordion-mode .sbc-fc-card-selector.is-open .sbc-fc-card-image img {
	filter: none;
}

.sbc-fc-block.is-accordion-mode .sbc-fc-card-selector:not(.is-open) .sbc-fc-card-label {
	color: var(--sbc-fc-ink-soft);
}

.sbc-fc-block.is-accordion-mode .sbc-fc-card-selector.is-open .sbc-fc-card-label {
	color: var(--sbc-fc-ink);
}

/* The .sbc-fc-card-pair is the JS-created wrapper holding a card + its panel.
   scroll-margin-top uses --sbc-fc-sticky-offset (set by JS at runtime to the
   measured height of any fixed/sticky site header) so that scrollIntoView
   lands the card just below the chrome instead of behind it. Default 0 if
   JS hasn't run yet or no header is present. */
.sbc-fc-block.is-accordion-mode .sbc-fc-card-pair {
	display: block;
	border-top: 1px solid var(--sbc-fc-rule-soft);
	scroll-margin-top: var(--sbc-fc-sticky-offset, 0px);
}

.sbc-fc-block.is-accordion-mode .sbc-fc-card-pair:last-child {
	border-bottom: 1px solid var(--sbc-fc-rule-soft);
}

/* Panels: in accordion mode, no grid layout — block-flow with max-height transition.
   Default closed: max-height 0, no padding. Open: max-height grows. */
.sbc-fc-block.is-accordion-mode .sbc-fc-content-panel {
	display: block;
	max-height: 0;
	overflow: hidden;
	transition: max-height .4s cubic-bezier(0.22, 1, 0.36, 1);
	animation: none;
	gap: 0;
}

.sbc-fc-block.is-accordion-mode .sbc-fc-content-panel[hidden] {
	/* In accordion mode we don't rely on [hidden]; we control via .is-open. */
	display: block;
}

.sbc-fc-block.is-accordion-mode .sbc-fc-content-panel.is-open {
	max-height: 4000px;
	animation: none;
}

.sbc-fc-block.is-accordion-mode .sbc-fc-panel-text,
.sbc-fc-block.is-accordion-mode .sbc-fc-panel-subsections {
	padding: 4px 0 24px 0;
}

.sbc-fc-block.is-accordion-mode .sbc-fc-content-panel.is-open .sbc-fc-panel-text {
	padding-top: 4px;
}

/* Tighten typography for narrow screens. */
.sbc-fc-block.is-accordion-mode .sbc-fc-subslot-heading {
	font-size: 24px;
	margin-bottom: 14px;
}

.sbc-fc-block.is-accordion-mode .sbc-fc-subslot-body {
	font-size: 15px;
	margin-bottom: 22px;
}

/* In accordion mode, panels container becomes empty (panels moved out).
   Hide it to avoid any leftover spacing. */
.sbc-fc-block.is-accordion-mode .sbc-fc-panels {
	display: none;
}


/* ===== SBC Focus Tabs ================================================== */

.sbc-ft-block {
	margin: 32px 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	overflow-x: hidden;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	--sbc-ft-accent: #c8102e;
	--sbc-ft-ink: #0e1a2b;
	--sbc-ft-ink-soft: #475569;
	--sbc-ft-tab-ink: #6b7280;
	--sbc-ft-tab-num: #9aa3b0;
	--sbc-ft-rule: #d9dde3;
	--sbc-ft-rule-soft: #e9ecf1;
}

.sbc-ft-block *,
.sbc-ft-block *::before,
.sbc-ft-block *::after {
	box-sizing: border-box;
}

.sbc-ft-block img {
	max-width: 100%;
	height: auto;
}

.sbc-ft-inner {
	max-width: 1280px;
	width: 100%;
	margin: 0 auto;
	padding: 0 48px;
	box-sizing: border-box;
}

/* Tab row with pill-card selectors and dividers */
.sbc-ft-tab-row {
	display: flex;
	align-items: center;
	gap: 0;
	margin-bottom: 56px;
	flex-wrap: wrap;
	row-gap: 16px;
	border-bottom: none;
}

.sbc-ft-tab-selector {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 22px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	background: transparent;
	color: var( --sbc-ft-tab-ink );
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
	white-space: nowrap;
	margin: 0;
}

.sbc-ft-tab-selector:hover {
	color: var( --sbc-ft-ink );
}

.sbc-ft-tab-selector.is-active {
	border-color: var( --sbc-ft-accent );
	color: var( --sbc-ft-ink );
	background: #fff;
	font-weight: 500;
}

.sbc-ft-tab-number {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 12px;
	font-weight: 600;
	color: var( --sbc-ft-tab-num );
	letter-spacing: 0.04em;
	opacity: 1;
}

.sbc-ft-tab-selector:hover .sbc-ft-tab-number {
	color: var( --sbc-ft-ink-soft );
}

.sbc-ft-tab-selector.is-active .sbc-ft-tab-number {
	color: var( --sbc-ft-accent );
}

.sbc-ft-tab-label {
	flex: 0 0 auto;
}

/* Divider between pill tabs on desktop — short horizontal line. */
.sbc-ft-tab-divider {
	display: inline-block;
	width: 28px;
	height: 1px;
	background: var( --sbc-ft-rule );
	flex-shrink: 0;
	align-self: center;
}

/* Content panel with slide-in-from-right */
.sbc-ft-content-panel {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 0;
	align-items: start;
	min-height: 460px;
}

.sbc-ft-content-panel.is-active {
	animation: sbc-ft-slide-in 0.9s cubic-bezier( 0.22, 1, 0.36, 1 );
}

.sbc-ft-content-panel[hidden] {
	display: none;
}

@keyframes sbc-ft-slide-in {
	from {
		opacity: 0;
		transform: translateX( 40vw );
	}
	to {
		opacity: 1;
		transform: translateX( 0 );
	}
}

.sbc-ft-subslot-heading {
	margin: 0 0 18px 0;
	color: var( --sbc-ft-ink );
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	font-family: inherit;
}

.sbc-ft-subslot-body {
	color: var( --sbc-ft-ink-soft );
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	margin: 0 0 28px 0;
	font-family: inherit;
}

/* Quick Access subsection */
.sbc-ft-quick-access-heading {
	margin: 0 0 12px 0;
	padding-bottom: 8px;
	border-bottom: 1px solid var( --sbc-ft-rule-soft );
	color: var( --sbc-ft-ink );
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.sbc-ft-quick-access-list {
	list-style: none;
	padding: 0;
	margin: 0 0 28px 0;
}

.sbc-ft-quick-access-item {
	margin-bottom: 8px;
}

/* Link styling - no underline by default, bottom border on hover */
.sbc-ft-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var( --sbc-ft-ink );
	text-decoration: none;
	font-size: 14px;
	line-height: 1.45;
	border-bottom: 1px solid transparent;
	transition: border-color 0.15s ease, color 0.15s ease;
	padding-bottom: 1px;
}

.sbc-ft-link:hover {
	color: var( --sbc-ft-accent );
	border-bottom-color: var( --sbc-ft-accent );
}

.sbc-ft-link-lock {
	display: none;
}

.sbc-ft-link-lock svg {
	width: 1em;
	height: 1em;
	display: block;
}

.sbc-ft-link-lock--closed {
	color: var( --sbc-ft-accent );
}

.sbc-ft-link-lock--open {
	color: #16a34a; /* green: access granted */
}

/* Show closed lock only when gated AND user lacks access. */
.sbc-ft-link--gated.is-locked .sbc-ft-link-lock--closed {
	display: inline-flex;
}

/* Show open lock only when gated AND user has access. */
.sbc-ft-link--gated:not(.is-locked) .sbc-ft-link-lock--open {
	display: inline-flex;
}

/* CTA button */
.sbc-ft-cta-wrapper {
	margin-top: 8px;
}

.sbc-ft-cta-button {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 14px 28px;
	border: 1.5px solid var( --sbc-ft-ink );
	border-radius: 999px;
	background: transparent;
	color: var( --sbc-ft-ink );
	font-weight: 500;
	font-size: 15px;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sbc-ft-cta-button:hover {
	background: var( --sbc-ft-ink );
	color: white;
}

.sbc-ft-cta-button-lock {
	display: none;
}

.sbc-ft-cta-button-lock svg {
	width: 1em;
	height: 1em;
	display: block;
}

.sbc-ft-cta-button-lock--closed {
	color: var( --sbc-ft-accent );
}

.sbc-ft-cta-button-lock--open {
	color: #16a34a;
}

.sbc-ft-cta-button--gated.is-locked .sbc-ft-cta-button-lock--closed {
	display: inline-flex;
}

.sbc-ft-cta-button--gated:not(.is-locked) .sbc-ft-cta-button-lock--open {
	display: inline-flex;
}

/* Hero image — must fit inside its wrap, never overflow viewport. */
.sbc-ft-hero-image {
	display: block;
	max-width: 100%;
	width: 100%;
	height: auto;
	border-radius: 4px;
	object-fit: cover;
}

/* Mobile */
/* ===== focus-tabs responsive ===== */

@media ( max-width: 900px ) {
	.sbc-ft-inner {
		padding: 0 24px;
	}
	.sbc-ft-content-panel {
		grid-template-columns: 1fr;
		gap: 24px;
		min-height: 0;
	}
	.sbc-ft-content-right {
		order: -1;
	}
	.sbc-ft-hero-image-wrap {
		max-height: 280px;
		aspect-ratio: 16 / 9;
	}
	.sbc-ft-subslot-heading {
		font-size: 26px;
	}
}

@media ( max-width: 768px ) {
	.sbc-ft-inner {
		padding: 0 20px;
	}
	/* Tab row scrolls horizontally on phones */
	.sbc-ft-tab-row {
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		margin-bottom: 24px;
		padding-bottom: 12px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
		scrollbar-color: var( --sbc-ft-accent ) transparent;
		row-gap: 0;
	}
	.sbc-ft-tab-row::-webkit-scrollbar {
		height: 3px;
	}
	.sbc-ft-tab-row::-webkit-scrollbar-track {
		background: transparent;
	}
	.sbc-ft-tab-row::-webkit-scrollbar-thumb {
		background: var( --sbc-ft-accent );
		border-radius: 2px;
	}
	.sbc-ft-tab-selector {
		flex-shrink: 0;
		padding: 10px 16px;
		font-size: 14px;
	}
	/* Dividers between pills look awkward in horizontal-scroll mode — hide them. */
	.sbc-ft-tab-divider {
		display: none;
	}
	.sbc-ft-hero-image-wrap {
		max-height: 220px;
		aspect-ratio: 16 / 9;
	}
}

@media ( max-width: 480px ) {
	.sbc-ft-inner {
		padding: 0 16px;
	}
	.sbc-ft-subslot-heading {
		font-size: 22px;
	}
	.sbc-ft-subslot-body {
		font-size: 15px;
	}
	.sbc-ft-tab-selector {
		padding: 8px 14px;
		font-size: 13px;
	}
	.sbc-ft-cta-button {
		padding: 12px 22px;
		font-size: 14px;
	}
}

/* ===== SHARED v1.5.1 — Quick Links subsection + MORE link + List modal ===== */

/* One subsection per subslot. The <ul> is laid out as a 2-column grid:
 * items 1-3 fill column 1, items 4-6 fill column 2, then any MORE row.
 * Works for both .sbc-ft-* (Focus Tabs) and .sbc-fc-* (Focus Cards). */

.sbc-ft-quick-links,
.sbc-fc-quick-links {
	margin: 0 0 28px 0;
}

.sbc-ft-quick-links-heading,
.sbc-fc-quick-links-heading {
	margin: 0 0 12px 0;
	padding-bottom: 8px;
	border-bottom: 1px solid #e9ecf1;
	color: #0e1a2b;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* The link list — 2-column grid of items, MORE row spans both columns. */
.sbc-ft-quick-links-list,
.sbc-fc-quick-links-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 32px;
	row-gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.sbc-ft-quick-links-item,
.sbc-fc-quick-links-item {
	margin: 0;
	min-width: 0;
}

/* MORE row spans the full width below the items, with a divider above it. */
.sbc-ft-quick-links-more,
.sbc-fc-quick-links-more {
	grid-column: 1 / -1;
	margin-top: 4px;
	padding-top: 10px;
	border-top: 1px solid #e9ecf1;
}

.sbc-ft-link--more,
.sbc-fc-link--more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #c8102e;
	text-decoration: none;
	border-bottom: none;
}

.sbc-ft-link--more:hover,
.sbc-fc-link--more:hover {
	color: #9c0000;
}

.sbc-ft-link-more-arrow,
.sbc-fc-link-more-arrow {
	font-size: 14px;
}

/* Link styling inside Quick Links — inherit base .sbc-XX-link rules.
 * We just need to make sure the gated lock icons and hover behavior work
 * the same way they do in the legacy single-column layout. */

/* List modal — opened by clicking a MORE link. Up to 5 cols × 6 rows of links. */
.sbc-ft-list-modal,
.sbc-fc-list-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100vw;
	height: 100vh;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba( 14, 26, 43, 0.4 );
	padding: 24px;
	box-sizing: border-box;
	animation: sbc-list-modal-fade 0.2s ease-out;
}

.sbc-ft-list-modal[hidden],
.sbc-fc-list-modal[hidden] {
	display: none;
}

@keyframes sbc-list-modal-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

.sbc-ft-list-modal-content,
.sbc-fc-list-modal-content {
	background: #ffffff;
	border-radius: 8px;
	padding: 40px 48px;
	max-width: 1080px;
	width: 100%;
	max-height: calc( 100vh - 48px );
	overflow-y: auto;
	box-shadow: 0 24px 80px rgba( 14, 26, 43, 0.25 );
	position: relative;
	animation: sbc-list-modal-pop 0.3s ease-out;
}

@keyframes sbc-list-modal-pop {
	from { transform: scale( 0.95 ); }
	to   { transform: scale( 1 ); }
}

.sbc-ft-list-modal-close,
.sbc-fc-list-modal-close {
	position: absolute;
	top: 12px; right: 16px;
	background: transparent;
	border: none;
	font-size: 28px;
	line-height: 1;
	color: #94a3b8;
	cursor: pointer;
	padding: 4px 10px;
}

.sbc-ft-list-modal-close:hover,
.sbc-fc-list-modal-close:hover {
	color: #0e1a2b;
}

.sbc-ft-list-modal-title,
.sbc-fc-list-modal-title {
	margin: 0 0 24px 0;
	color: #0e1a2b;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	border-bottom: 1px solid #e9ecf1;
	padding-bottom: 14px;
}

.sbc-ft-list-modal-grid,
.sbc-fc-list-modal-grid {
	display: grid;
	grid-template-columns: repeat( 5, 1fr );
	gap: 14px 32px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.sbc-ft-list-modal-grid li,
.sbc-fc-list-modal-grid li {
	margin: 0;
}

.sbc-ft-list-modal-grid a,
.sbc-fc-list-modal-grid a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #0e1a2b;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.45;
	border-bottom: 1px solid transparent;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.sbc-ft-list-modal-grid a:hover,
.sbc-fc-list-modal-grid a:hover {
	color: #c8102e;
	border-bottom-color: #c8102e;
}

/* Quick Links — collapse to single column on tablet and below. */
@media ( max-width: 900px ) {
	.sbc-ft-quick-links-list,
	.sbc-fc-quick-links-list {
		grid-template-columns: 1fr;
		column-gap: 0;
	}
	.sbc-ft-list-modal-grid,
	.sbc-fc-list-modal-grid {
		grid-template-columns: repeat( 2, 1fr );
		gap: 12px 20px;
	}
	.sbc-ft-list-modal-content,
	.sbc-fc-list-modal-content {
		padding: 28px 24px;
	}
}

@media ( max-width: 560px ) {
	.sbc-ft-list-modal-grid,
	.sbc-fc-list-modal-grid {
		grid-template-columns: 1fr;
	}
}

/* Focus-cards panel: column wrapper for the quick links area. */
.sbc-fc-panel-subsections {
	min-width: 0;
}
/* Hero image wrap for focus-tabs panel right column — 4:3 aspect, 8px radius.
 * Hard-capped to container width so it never causes page overflow. */
.sbc-ft-hero-image-wrap {
	width: 100%;
	max-width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	overflow: hidden;
	background: #f6f7f9;
	box-sizing: border-box;
}

.sbc-ft-hero-image-wrap img.sbc-ft-hero-image {
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
	display: block;
	border-radius: 0;
}
