/**
 * SSBOGC Custom Theme Main Design System
 * 
 * Palette: Deep Navy & Military Gold
 * Typography: Outfit (Headings) + Inter (Body)
 * Version: 1.4.0
 */

:root {
	/* Colors */
	--ssbogc-navy-950: #050C18;
	--ssbogc-navy-900: #0A192F;
	--ssbogc-navy-850: #0E223D;
	--ssbogc-navy-800: #132B4F;
	--ssbogc-navy-700: #1B3A6B;
	--ssbogc-navy-600: #254E8C;
	
	--ssbogc-gold-400: #FBBF24;
	--ssbogc-gold-500: #F5A623;
	--ssbogc-gold-600: #D97706;
	--ssbogc-gold-700: #B45309;
	
	--ssbogc-gold-gradient: linear-gradient(135deg, #F5A623 0%, #D97706 100%);
	--ssbogc-navy-gradient: linear-gradient(180deg, #0A192F 0%, #050C18 100%);
	--ssbogc-hero-gradient: radial-gradient(circle at 80% 20%, rgba(245, 166, 35, 0.08) 0%, rgba(10, 25, 47, 0) 60%), linear-gradient(180deg, #0A192F 0%, #071324 100%);
	
	--ssbogc-white: #FFFFFF;
	--ssbogc-bg-light: #F8FAFC;
	--ssbogc-bg-subtle: #F1F5F9;
	--ssbogc-gray-100: #F1F5F9;
	--ssbogc-gray-200: #E2E8F0;
	--ssbogc-gray-300: #CBD5E1;
	--ssbogc-gray-400: #94A3B8;
	--ssbogc-gray-500: #64748B;
	--ssbogc-gray-600: #475569;
	--ssbogc-gray-700: #334155;
	--ssbogc-gray-800: #1E293B;
	--ssbogc-gray-900: #0F172A;

	--ssbogc-green-600: #16A34A;
	--ssbogc-green-700: #15803D;
	--ssbogc-green-50: #F0FDF4;
	--ssbogc-red-600: #DC2626;
	--ssbogc-red-50: #FEF2F2;

	/* Typography */
	--ssbogc-font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--ssbogc-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

	/* Layout & Spacing */
	--ssbogc-container-max: 1240px;
	--ssbogc-container-padding: 1.5rem;
	--ssbogc-radius-sm: 6px;
	--ssbogc-radius-md: 10px;
	--ssbogc-radius-lg: 16px;
	--ssbogc-radius-xl: 24px;
	--ssbogc-radius-full: 9999px;

	/* Shadows */
	--ssbogc-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--ssbogc-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--ssbogc-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	--ssbogc-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	--ssbogc-shadow-glow: 0 0 25px rgba(245, 166, 35, 0.25);

	/* Transitions */
	--ssbogc-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	--ssbogc-header-height: 80px;
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--ssbogc-font-body);
	color: var(--ssbogc-gray-800);
	background-color: var(--ssbogc-white);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ssbogc-font-heading);
	color: var(--ssbogc-navy-900);
	font-weight: 700;
	line-height: 1.25;
	margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2.25rem, 4vw + 1rem, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 2.5vw + 1rem, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 1.5vw + 0.75rem, 1.75rem); }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.1rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

p {
	margin-bottom: 1.25rem;
}

p:last-child {
	margin-bottom: 0;
}

a {
	color: var(--ssbogc-navy-700);
	text-decoration: none;
	transition: var(--ssbogc-transition);
}

a:hover {
	color: var(--ssbogc-gold-600);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

ul, ol {
	list-style-position: inside;
	margin-bottom: 1.25rem;
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.ssbogc-container {
	width: 100%;
	max-width: var(--ssbogc-container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--ssbogc-container-padding);
	padding-right: var(--ssbogc-container-padding);
}

.ssbogc-container-narrow {
	max-width: 900px;
}

.ssbogc-section {
	padding: 3.25rem 0;
	position: relative;
}

.ssbogc-section-dark {
	background-color: var(--ssbogc-navy-900);
	color: var(--ssbogc-gray-200);
}

.ssbogc-section-dark h1,
.ssbogc-section-dark h2,
.ssbogc-section-dark h3,
.ssbogc-section-dark h4 {
	color: var(--ssbogc-white);
}

.ssbogc-section-subtle {
	background-color: var(--ssbogc-bg-light);
	border-top: 1px solid var(--ssbogc-gray-200);
	border-bottom: 1px solid var(--ssbogc-gray-200);
}

.ssbogc-section-header {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 2.25rem auto;
}

.ssbogc-section-header p {
	font-size: 1.125rem;
	color: var(--ssbogc-gray-600);
}

.ssbogc-section-dark .ssbogc-section-header p {
	color: var(--ssbogc-gray-400);
}

/* ==========================================================================
   Badges & Micro Elements
   ========================================================================== */
.ssbogc-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0.85rem;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-radius: var(--ssbogc-radius-full);
	margin-bottom: 1rem;
}

.ssbogc-badge-gold {
	background: rgba(245, 166, 35, 0.15);
	color: var(--ssbogc-gold-400);
	border: 1px solid rgba(245, 166, 35, 0.35);
}

.ssbogc-badge-navy {
	background: var(--ssbogc-navy-900);
	color: var(--ssbogc-gold-400);
}

.ssbogc-badge-subtle {
	background: var(--ssbogc-gray-200);
	color: var(--ssbogc-navy-900);
}

/* green-600 on green-50 is 3.2:1, and this badge sets 0.7rem uppercase text.
   green-700 takes it to 4.7:1 without changing the badge's read. */
.ssbogc-badge-success {
	background: var(--ssbogc-green-50);
	color: var(--ssbogc-green-700);
	border: 1px solid rgba(22, 163, 74, 0.25);
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.ssbogc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	font-family: var(--ssbogc-font-heading);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	padding: 0.85rem 1.6rem;
	border-radius: var(--ssbogc-radius-md);
	cursor: pointer;
	border: 2px solid transparent;
	transition: var(--ssbogc-transition);
	text-align: center;
	line-height: 1.2;
}

.ssbogc-btn-primary {
	background: var(--ssbogc-gold-gradient);
	color: var(--ssbogc-navy-950);
	box-shadow: 0 4px 14px rgba(245, 166, 35, 0.35);
}

.ssbogc-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(245, 166, 35, 0.45);
	color: var(--ssbogc-navy-950);
}

.ssbogc-btn-secondary {
	background: var(--ssbogc-navy-900);
	color: var(--ssbogc-white);
}

.ssbogc-btn-secondary:hover {
	background: var(--ssbogc-navy-800);
	color: var(--ssbogc-gold-400);
	transform: translateY(-2px);
}

.ssbogc-btn-outline {
	background: transparent;
	color: var(--ssbogc-navy-900);
	border-color: var(--ssbogc-navy-900);
}

.ssbogc-btn-outline:hover {
	background: var(--ssbogc-navy-900);
	color: var(--ssbogc-white);
}

.ssbogc-btn-outline-white {
	background: transparent;
	color: var(--ssbogc-white);
	border-color: rgba(255, 255, 255, 0.4);
}

.ssbogc-btn-outline-white:hover {
	border-color: var(--ssbogc-gold-400);
	color: var(--ssbogc-gold-400);
	background: rgba(255, 255, 255, 0.05);
}

/* White on the WhatsApp brand green is only 2.0:1. Keeping the recognisable
   green and taking the label dark gets it to 9.8:1, and matches how the gold
   primary button already sets dark type on a bright fill. */
.ssbogc-btn-whatsapp {
	background: #25D366;
	color: var(--ssbogc-navy-950);
}

.ssbogc-btn-whatsapp:hover {
	background: #1EBE5D;
	color: var(--ssbogc-navy-950);
	transform: translateY(-2px);
}

/* The tel: button. A peer of the WhatsApp modifier above, so it supplies only
   colour and leaves shape to .ssbogc-btn. Navy rather than a carrier colour:
   WhatsApp owns green, and the call is the institute speaking for itself. */
.ssbogc-btn-call {
	background: var(--ssbogc-navy-900);
	color: var(--ssbogc-white);
}

.ssbogc-btn-call:hover {
	background: var(--ssbogc-navy-800);
	color: var(--ssbogc-gold-400);
	transform: translateY(-2px);
}

/* On the navy bands a solid navy button would disappear, so it inverts to a
   gold-edged outline there. */
.ssbogc-section-dark .ssbogc-btn-call,
.ssbogc-snapshot-band .ssbogc-btn-call,
.ssbogc-hero .ssbogc-btn-call,
.ssbogc-banner-card .ssbogc-btn-call {
	background: transparent;
	border-color: rgba(245, 166, 35, 0.5);
	color: var(--ssbogc-gold-400);
}

.ssbogc-section-dark .ssbogc-btn-call:hover,
.ssbogc-snapshot-band .ssbogc-btn-call:hover,
.ssbogc-hero .ssbogc-btn-call:hover,
.ssbogc-banner-card .ssbogc-btn-call:hover {
	background: rgba(245, 166, 35, 0.1);
	border-color: var(--ssbogc-gold-400);
	color: var(--ssbogc-gold-400);
}

.ssbogc-btn-sm {
	padding: 0.5rem 1rem;
	font-size: 0.85rem;
}

.ssbogc-btn-lg {
	padding: 1.1rem 2.2rem;
	font-size: 1.1rem;
}

.ssbogc-btn-group {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
}

/* ==========================================================================
   Announcement Bar (UX-ANN-001)
   ========================================================================== */
.ssbogc-announcement-bar {
	background: linear-gradient(90deg, #112240 0%, #1A365D 100%);
	color: var(--ssbogc-white);
	font-size: 0.875rem;
	padding: 0.6rem 0;
	border-bottom: 1px solid rgba(245, 166, 35, 0.2);
	position: relative;
	z-index: 100;
}

.ssbogc-announcement-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.ssbogc-announcement-content {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.ssbogc-announcement-badge {
	background: var(--ssbogc-gold-500);
	color: var(--ssbogc-navy-950);
	font-weight: 800;
	font-size: 0.7rem;
	padding: 0.15rem 0.5rem;
	border-radius: var(--ssbogc-radius-sm);
	letter-spacing: 0.05em;
}

.ssbogc-announcement-link {
	color: var(--ssbogc-gold-400);
	font-weight: 600;
	text-decoration: underline;
	margin-left: 0.25rem;
}

.ssbogc-announcement-close {
	background: transparent;
	border: none;
	color: var(--ssbogc-gray-400);
	font-size: 1.25rem;
	cursor: pointer;
	line-height: 1;
	padding: 0.2rem;
	transition: var(--ssbogc-transition);
}

.ssbogc-announcement-close:hover {
	color: var(--ssbogc-white);
}

/* ==========================================================================
   Smart Sticky Header (UX-HDR-001)
   ========================================================================== */
.ssbogc-site-header {
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	background: rgba(10, 25, 47, 0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	z-index: 999;
	transition: transform 0.3s ease, background 0.3s ease, padding 0.3s ease;
}

.ssbogc-site-header.ssbogc-header-hidden {
	transform: translateY(-100%);
}

.ssbogc-site-header.ssbogc-header-compact {
	padding: 0;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.ssbogc-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--ssbogc-header-height);
	transition: height 0.3s ease;
}

.ssbogc-header-compact .ssbogc-header-inner {
	height: 65px;
}

.ssbogc-brand {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	text-decoration: none;
}

/* The crest. Fixed box with width/height on the <img> so the header never
   reflows once the image decodes. Shrinks with the compact sticky header. */
.ssbogc-brand-logo {
	display: block;
	width: 46px;
	height: 46px;
	object-fit: contain;
	flex-shrink: 0;
	transition: width var(--ssbogc-transition, 0.25s ease), height var(--ssbogc-transition, 0.25s ease);
}

.ssbogc-header-compact .ssbogc-brand-logo--header {
	width: 38px;
	height: 38px;
}

.ssbogc-brand-title {
	font-family: var(--ssbogc-font-heading);
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--ssbogc-white);
	letter-spacing: 0.02em;
	line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
	.ssbogc-brand-logo {
		transition: none;
	}
}

/* Primary Desktop Navigation */
.ssbogc-primary-nav {
	display: none;
}

@media (min-width: 992px) {
	.ssbogc-primary-nav {
		display: flex;
		align-items: center;
	}
}

.ssbogc-nav-list {
	display: flex;
	align-items: center;
	list-style: none;
	gap: 1.75rem;
	margin: 0;
}

.ssbogc-nav-list a {
	color: var(--ssbogc-gray-300);
	font-size: 0.925rem;
	font-weight: 600;
	transition: var(--ssbogc-transition);
	position: relative;
	padding: 0.5rem 0;
}

.ssbogc-nav-list a:hover,
.ssbogc-nav-list .current-menu-item > a {
	color: var(--ssbogc-gold-400);
}

.ssbogc-nav-list .current-menu-item > a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--ssbogc-gold-500);
	border-radius: 2px;
}

.ssbogc-header-actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.ssbogc-header-cta {
	display: none;
}

@media (min-width: 768px) {
	.ssbogc-header-cta {
		display: inline-flex;
	}
}

/* Mobile Hamburger Toggle */
.ssbogc-menu-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: var(--ssbogc-radius-sm);
	cursor: pointer;
	padding: 8px;
}

@media (min-width: 992px) {
	.ssbogc-menu-toggle {
		display: none;
	}
}

.ssbogc-menu-toggle span {
	display: block;
	width: 100%;
	height: 2px;
	background-color: var(--ssbogc-white);
	border-radius: 2px;
	transition: var(--ssbogc-transition);
}

/* Mobile Slide-in Drawer */
.ssbogc-mobile-drawer {
	position: fixed;
	top: 0;
	right: -100%;
	width: 100%;
	max-width: 360px;
	height: 100vh;
	background: var(--ssbogc-navy-950);
	border-left: 1px solid rgba(255, 255, 255, 0.1);
	/* Above the sticky CTA bar and the plugin's floating widgets (99990-99991).
	   At 1000 both painted over this panel: the bar cut the Register button in
	   half and the WhatsApp bubble floated on top of the menu. */
	z-index: 99993;
	padding: 2rem 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
	overflow-y: auto;
}

.ssbogc-mobile-drawer.is-active {
	right: 0;
}

.ssbogc-drawer-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.65);
	backdrop-filter: blur(4px);
	z-index: 99992;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ssbogc-drawer-backdrop.is-active {
	opacity: 1;
	visibility: visible;
}

.ssbogc-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 2rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ssbogc-drawer-close {
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: var(--ssbogc-white);
	width: 36px;
	height: 36px;
	border-radius: var(--ssbogc-radius-full);
	font-size: 1.5rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ssbogc-drawer-nav .ssbogc-nav-list {
	flex-direction: column;
	align-items: flex-start;
	gap: 1.25rem;
}

.ssbogc-drawer-nav .ssbogc-nav-list a {
	font-size: 1.15rem;
	color: var(--ssbogc-white);
}

/* Fills the dead space the space-between column left between the nav and the
   footer CTA. */
.ssbogc-drawer-extras {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.ssbogc-drawer-batch {
	display: block;
	background: rgba(245, 166, 35, 0.1);
	border: 1px solid rgba(245, 166, 35, 0.3);
	border-radius: var(--ssbogc-radius-md);
	padding: 0.85rem 1rem;
	transition: var(--ssbogc-transition);
}

.ssbogc-drawer-batch:hover {
	background: rgba(245, 166, 35, 0.16);
	border-color: rgba(245, 166, 35, 0.5);
}

.ssbogc-drawer-batch-label {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ssbogc-gold-400);
	margin-bottom: 0.3rem;
}

.ssbogc-drawer-batch-date {
	display: block;
	font-family: var(--ssbogc-font-heading);
	font-size: 1.1rem;
	line-height: 1.2;
	color: var(--ssbogc-white);
}

.ssbogc-drawer-batch-meta {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.8rem;
	color: var(--ssbogc-gray-300);
}

.ssbogc-drawer-heading {
	display: block;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ssbogc-gray-400);
	margin-bottom: 0.75rem;
}

.ssbogc-drawer-contact a {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.4rem 0;
	font-size: 0.95rem;
	color: var(--ssbogc-white);
	transition: var(--ssbogc-transition);
}

.ssbogc-drawer-contact a:hover {
	color: var(--ssbogc-gold-400);
}

.ssbogc-drawer-contact a svg {
	flex-shrink: 0;
	color: var(--ssbogc-gold-500);
}

.ssbogc-drawer-hours {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin: 0.5rem 0 0;
	font-size: 0.8rem;
	line-height: 1.45;
	color: var(--ssbogc-gray-400);
}

.ssbogc-drawer-hours svg {
	flex-shrink: 0;
	margin-top: 2px;
}

.ssbogc-drawer-footer {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.ssbogc-hero {
	background: var(--ssbogc-hero-gradient);
	/* The shorthand above resets background-color to transparent. Backgrounds
	   are sized to the padding box but painted across the border box, so with
	   no-repeat the 1px bottom border was a strip no layer covered - it fell
	   through to whatever sat behind the section and read as a bright hairline
	   under the hero photograph. An explicit colour backs every layer. */
	background-color: var(--ssbogc-navy-900);
	color: var(--ssbogc-white);
	padding: 5rem 0 6rem 0;
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid rgba(245, 166, 35, 0.15);
}

/* Hero photograph, desktop only.
   Below 992px the grid stacks and the hero becomes far taller than it is wide
   (1194px tall at 768px, 1292px at 390px), so a landscape image would be
   cropped to a sliver by background-size: cover - the gradient alone reads
   better there.
   The scrim is not decoration: the white headline sits directly on this, and
   the photograph is bright. It is heaviest over the left column where the copy
   runs and lifts towards the right so the picture is still legible. If the
   file is missing the scrim alone still renders as the usual dark navy, so a
   404 degrades to the old look rather than to unreadable text. */
@media (min-width: 992px) {
	.ssbogc-hero {
		background-image:
			linear-gradient(
				90deg,
				rgba(10, 25, 47, 0.97) 0%,
				rgba(10, 25, 47, 0.99) 30%,
				rgba(10, 25, 47, 0.72) 52%,
				rgba(7, 19, 36, 0.55) 100%
			),
			/* Bottom fade. The collage is cropped mid-frame, so its lower edge
			   is bright ground meeting the solid navy of the band below with no
			   transition - it read as a hard line across the section boundary.
			   This settles the photograph into #0A192F, the exact background of
			   .ssbogc-snapshot-band beneath, so the two sections join. */
			linear-gradient(
				to bottom,
				rgba(10, 25, 47, 0) 60%,
				rgba(10, 25, 47, 0.55) 82%,
				rgba(10, 25, 47, 0.9) 94%,
				#0a192f 100%
			),
			url('../img/hero-background.webp');
		background-size: cover, cover, cover;
		/* Anchored top, biased right. Which axis gets cropped flips with the
		   viewport, and the instructor is at the top-right of the collage, so
		   both values matter:
		   - Wide (>=~1200px) the hero is proportionally wider than the image,
		     cover scales to width and the surplus HEIGHT is cropped. Centred,
		     that took ~60px off the top and cut the instructor's head off; top
		     spends the whole crop on the bottom edge, which is desk fronts.
		   - Narrower two-column widths (~1024px) the hero is taller than the
		     image ratio, so the crop flips to the horizontal axis - 385px of
		     it. Centred, the instructor fell outside the frame entirely; 75%
		     keeps him. The left fade is trimmed at that width, but the scrim
		     above is near-opaque over the copy, so legibility does not rely on
		     the photograph's own fade. */
		background-position: center, center, 75% top;
		background-repeat: no-repeat, no-repeat, no-repeat;
		/* Layers cover the border box, not just the padding box, so the fade
		   runs to the true bottom edge with no uncovered strip left over. */
		background-origin: border-box, border-box, border-box;
		/* The gold hairline is a brand detail that reads well over the flat
		   navy of the tablet and mobile hero. Over the photograph it is just
		   another line at the seam the fade exists to remove. */
		border-bottom-color: transparent;
	}
}

.ssbogc-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 40px 40px;
	pointer-events: none;
}

.ssbogc-hero-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3.5rem;
	align-items: center;
	position: relative;
	z-index: 2;
}

@media (min-width: 992px) {
	.ssbogc-hero-grid {
		grid-template-columns: 1.25fr 0.95fr;
	}
}

.ssbogc-hero-content {
	max-width: 680px;
}

.ssbogc-hero h1 {
	color: var(--ssbogc-white);
	margin-bottom: 1.25rem;
}

/* The institute's name is the headline. The possessive that precedes it is a
   small line above, the same hierarchy the brand uses on puneetssbogc.com. */
.ssbogc-hero-brand-prefix {
	display: block;
	font-size: clamp(0.85rem, 1.5vw, 1.05rem);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ssbogc-gold-400);
	margin-bottom: 0.5rem;
}

.ssbogc-hero-brand-main {
	display: block;
}

/* The course, directly under the brand. Sized between the headline and the
   body copy so the offer stays prominent without competing with the name. */
.ssbogc-hero-tagline {
	font-family: var(--ssbogc-font-heading);
	font-size: clamp(1.05rem, 2vw, 1.35rem);
	font-weight: 600;
	line-height: 1.4;
	color: var(--ssbogc-gray-200);
	margin: 0 0 1.25rem;
}

.ssbogc-hero-lead {
	font-size: 1.2rem;
	color: var(--ssbogc-gray-300);
	margin-bottom: 2rem;
	line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Hero photograph (right column)

   Replaces the admission fact card that used to sit here; the facts now run
   as the snapshot band below. The gold-tinted frame matches the director
   portrait treatment so the two photographic moments on the page agree.
   -------------------------------------------------------------------------- */
.ssbogc-hero-media {
	position: relative;
	max-width: 420px;
	margin-inline: auto;
}

.ssbogc-hero-media-frame {
	background: linear-gradient(135deg, rgba(245, 166, 35, 0.45) 0%, rgba(10, 25, 47, 0.85) 100%);
	padding: 10px;
	border-radius: var(--ssbogc-radius-xl);
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), var(--ssbogc-shadow-glow);
}

/* 4:5 box reserved up front, so the LCP image decoding never shifts the
   hero copy beside it (CLS, PRD Section 23.1). */
.ssbogc-hero-img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	height: auto;
	object-fit: cover;
	object-position: center 30%;
	border-radius: var(--ssbogc-radius-lg);
	background-color: var(--ssbogc-navy-800);
}

/* Two-column hero: the photograph's own ratio made it taller than the copy
   beside it, so centring left neither edge lined up. From here the frame is
   taken out of flow and pinned to the full height of its column, so the row
   height is set by the copy alone and the two blocks start and end on the
   same lines. min-height keeps the frame sensible if the copy is ever short;
   because the height never depends on the image, it still cannot shift. */
@media (min-width: 992px) {
	.ssbogc-hero-grid {
		align-items: stretch;
	}

	.ssbogc-hero-media {
		margin-inline: auto 0;
		min-height: 420px;
		width: 100%;
	}

	.ssbogc-hero-media-frame {
		position: absolute;
		inset: 0;
		box-sizing: border-box;
	}

	/* height:100% against the frame's definite box. An absolutely positioned
	   img with auto width/height ignores its insets and falls back to the
	   intrinsic size, so the frame's own padding does the inset instead. */
	.ssbogc-hero-img {
		aspect-ratio: auto;
		height: 100%;
	}
}

.ssbogc-hero-media-badge {
	position: absolute;
	left: -0.5rem;
	bottom: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	background: var(--ssbogc-navy-850);
	border: 1px solid rgba(245, 166, 35, 0.35);
	border-radius: var(--ssbogc-radius-md);
	padding: 0.75rem 1.15rem;
	box-shadow: var(--ssbogc-shadow-lg);
	max-width: 82%;
}

.ssbogc-hero-media-badge-kicker {
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ssbogc-gold-400);
}

.ssbogc-hero-media-badge strong {
	font-family: var(--ssbogc-font-heading);
	font-size: 1rem;
	color: var(--ssbogc-white);
	line-height: 1.25;
}

@media (max-width: 575px) {
	.ssbogc-hero-media-badge {
		left: 0;
		bottom: 1rem;
		padding: 0.6rem 0.9rem;
	}
}

/* ==========================================================================
   Batch Registration Snapshot band (homepage, below the hero)
   ========================================================================== */
/* Continues the hero's dark ground so the relocated facts still read as part
   of the hero. The proof grid's -3rem overlap lands on this band's padding. */
.ssbogc-snapshot-band {
	background: var(--ssbogc-navy-900);
	border-bottom: 1px solid rgba(245, 166, 35, 0.15);
	color: var(--ssbogc-white);
	padding: 2.5rem 0 5rem;
}

.ssbogc-snapshot-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.75rem;
}

.ssbogc-snapshot-title {
	font-size: 1.5rem;
	color: var(--ssbogc-white);
	margin: 0.5rem 0 0;
}

.ssbogc-snapshot-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 1.25rem;
}

.ssbogc-snapshot-item {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	background: rgba(17, 34, 64, 0.75);
	border: 1px solid rgba(245, 166, 35, 0.2);
	border-radius: var(--ssbogc-radius-md);
	padding: 1.1rem 1.25rem;
}

/* The icon was an emoji, which rendered in each platform's own colours and
   broke the band's gold-on-navy palette. It is now a stroked SVG from the
   shared set, sitting in a soft gold chip. */
.ssbogc-snapshot-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: var(--ssbogc-radius-md);
	background: rgba(245, 166, 35, 0.12);
	border: 1px solid rgba(245, 166, 35, 0.28);
	color: var(--ssbogc-gold-400);
}

.ssbogc-snapshot-item strong {
	display: block;
	font-family: var(--ssbogc-font-heading);
	font-size: 0.95rem;
	color: var(--ssbogc-gold-400);
	margin-bottom: 0.2rem;
}

.ssbogc-snapshot-item span:not(.ssbogc-snapshot-icon) {
	font-size: 0.92rem;
	color: var(--ssbogc-gray-200);
	line-height: 1.5;
}

/* The mentor's name, above his qualifications. Matches the specificity of the
   generic span rule above so it can lift the weight and colour. */
.ssbogc-snapshot-item span.ssbogc-snapshot-name {
	display: block;
	font-family: var(--ssbogc-font-heading);
	font-size: 1rem;
	font-weight: 600;
	color: var(--ssbogc-white);
}

/* The mentor's qualifications. A list rather than a run-on sentence, because
   each line is a separate credential a candidate may want to check. */
.ssbogc-snapshot-creds {
	margin: 0.35rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.35rem;
}

.ssbogc-snapshot-creds li {
	position: relative;
	padding-left: 0.95rem;
	font-size: 0.86rem;
	line-height: 1.45;
	color: var(--ssbogc-gray-300);
}

.ssbogc-snapshot-creds li::before {
	content: '';
	position: absolute;
	top: 0.55em;
	left: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--ssbogc-gold-500);
}

/* ==========================================================================
   Trust & Key Proof Grid
   ========================================================================== */
.ssbogc-proof-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.5rem;
	margin-top: -3rem;
	position: relative;
	z-index: 10;
}

.ssbogc-proof-card {
	background: var(--ssbogc-white);
	border-radius: var(--ssbogc-radius-lg);
	padding: 1.75rem;
	box-shadow: var(--ssbogc-shadow-lg);
	border: 1px solid var(--ssbogc-gray-200);
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	transition: var(--ssbogc-transition);
}

.ssbogc-proof-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ssbogc-shadow-xl);
	border-color: var(--ssbogc-gold-500);
}

.ssbogc-proof-stat {
	font-family: var(--ssbogc-font-heading);
	font-size: 2.25rem;
	font-weight: 800;
	color: var(--ssbogc-navy-900);
	line-height: 1;
}

.ssbogc-proof-label {
	font-size: 1rem;
	font-weight: 700;
	color: var(--ssbogc-gray-900);
}

.ssbogc-proof-desc {
	font-size: 0.875rem;
	color: var(--ssbogc-gray-600);
}

/* ==========================================================================
   Course Modules & Pillar Grid
   ========================================================================== */
.ssbogc-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 2rem;
}

.ssbogc-module-card {
	background: var(--ssbogc-white);
	border-radius: var(--ssbogc-radius-lg);
	padding: 2.25rem;
	border: 1px solid var(--ssbogc-gray-200);
	box-shadow: var(--ssbogc-shadow-sm);
	transition: var(--ssbogc-transition);
	display: flex;
	flex-direction: column;
}

.ssbogc-module-card:hover {
	border-color: var(--ssbogc-gold-500);
	transform: translateY(-4px);
	box-shadow: var(--ssbogc-shadow-lg);
}

.ssbogc-module-icon {
	width: 56px;
	height: 56px;
	background: rgba(10, 25, 47, 0.05);
	color: var(--ssbogc-navy-900);
	border-radius: var(--ssbogc-radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
	border: 1px solid var(--ssbogc-gray-200);
}

.ssbogc-module-card:hover .ssbogc-module-icon {
	background: var(--ssbogc-navy-900);
	color: var(--ssbogc-gold-400);
}

.ssbogc-module-list {
	list-style: none;
	margin: 1rem 0 0 0;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.ssbogc-module-list li {
	font-size: 0.925rem;
	color: var(--ssbogc-gray-700);
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
}

.ssbogc-module-list li::before {
	content: '✓';
	color: var(--ssbogc-gold-600);
	font-weight: 800;
}

/* ==========================================================================
   Director Profile Spotlight
   ========================================================================== */
.ssbogc-director-section {
	background: var(--ssbogc-navy-900);
	color: var(--ssbogc-white);
	overflow: hidden;
}

/* Headings inherit the global navy from the base h1-h6 rule, which on this
   section's navy ground rendered them invisible ("Mentorship with Real
   Selection Board Perspective" was navy-900 on navy-900). */
.ssbogc-director-section h2,
.ssbogc-director-section h3,
.ssbogc-director-section h4 {
	color: var(--ssbogc-white);
}

.ssbogc-director-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	align-items: center;
}

@media (min-width: 992px) {
	.ssbogc-director-grid {
		grid-template-columns: 0.85fr 1.15fr;
	}
}

/* Capped so the frame stays a portrait at every width. Without the cap the
   grid is single-column below 992px and the slot stretches to ~944px, which
   turned the same photo into a wide landscape crop on tablets while desktop
   showed it near-square. One aspect ratio everywhere means the subject is
   framed once and survives all breakpoints. */
.ssbogc-director-image-wrap {
	position: relative;
	width: 100%;
	max-width: 480px;
	margin-inline: auto;
}

@media (min-width: 992px) {
	/* In the two-column layout the grid track already constrains it. */
	.ssbogc-director-image-wrap {
		margin-inline: 0;
	}
}

.ssbogc-director-frame {
	background: linear-gradient(135deg, rgba(245, 166, 35, 0.4) 0%, rgba(10, 25, 47, 0.8) 100%);
	padding: 10px;
	border-radius: var(--ssbogc-radius-xl);
	box-shadow: var(--ssbogc-shadow-xl);
}

/* 4:5 portrait. aspect-ratio reserves the box before the image decodes, so
   nothing below it shifts (CLS, PRD Section 23.1). */
.ssbogc-director-img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	height: auto;
	object-fit: cover;
	object-position: center top;
	border-radius: var(--ssbogc-radius-lg);
	background-color: var(--ssbogc-navy-800);
}

/* Name and qualifications under the portrait, centred on the photograph. */
.ssbogc-director-caption {
	margin-top: 1.75rem;
	text-align: center;
}

.ssbogc-director-caption-name {
	font-family: var(--ssbogc-font-heading);
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.2;
	color: var(--ssbogc-white);
	margin: 0;
}

/* Short gold rule separating the name from its qualifications. */
.ssbogc-director-caption-rule {
	display: block;
	width: 44px;
	height: 2px;
	margin: 0.85rem auto;
	border-radius: var(--ssbogc-radius-full);
	background: var(--ssbogc-gold-gradient);
}

/* Each qualification is its own pill. As one comma-separated run these wrapped
   into three ragged centred lines that were hard to read; as pills they break
   on their own boundaries and echo the badge language used elsewhere. */
.ssbogc-director-credentials {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.45rem;
}

.ssbogc-director-credentials li {
	margin: 0;
	padding: 0.4rem 0.85rem;
	font-size: 0.78rem;
	line-height: 1.35;
	color: var(--ssbogc-gray-200);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(245, 166, 35, 0.22);
	border-radius: var(--ssbogc-radius-full);
}

/* Fallback for a credentials value saved without pipe separators. */
.ssbogc-director-caption-credentials {
	font-size: 0.85rem;
	line-height: 1.6;
	color: var(--ssbogc-gray-300);
	margin: 0;
}

/* Pull quote. Was a plain left-rule; the oversized gold quote mark and tinted
   panel give the section its one moment of character. */
.ssbogc-director-quote {
	position: relative;
	margin: 1.5rem 0;
	padding: 1.25rem 1.5rem 1.25rem 3.25rem;
	background: rgba(245, 166, 35, 0.07);
	border: 1px solid rgba(245, 166, 35, 0.22);
	border-radius: var(--ssbogc-radius-lg);
}

.ssbogc-director-quote::before {
	content: '\201C';
	position: absolute;
	top: 0.35rem;
	left: 0.9rem;
	font-family: var(--ssbogc-font-heading);
	font-size: 3.5rem;
	line-height: 1;
	color: var(--ssbogc-gold-500);
	opacity: 0.55;
}

.ssbogc-director-quote p {
	margin: 0;
	font-size: 1rem;
	font-style: italic;
	line-height: 1.65;
	color: var(--ssbogc-gray-200);
}

.ssbogc-director-lead {
	color: var(--ssbogc-gray-300);
	margin-bottom: 1.5rem;
}

/* Qualifications, in the copy column rather than under the portrait. Two
   columns on desktop so four items read as one tidy block instead of the
   ragged 2-1-1 the centred pills produced. */
.ssbogc-director-credential-grid {
	list-style: none;
	margin: 0 0 1.75rem;
	padding: 1.25rem 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.7rem 1.5rem;
}

@media (min-width: 640px) {
	.ssbogc-director-credential-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.ssbogc-director-credential-grid li {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.45;
	color: var(--ssbogc-gray-200);
}

.ssbogc-director-credential-grid svg {
	flex-shrink: 0;
	margin-top: 3px;
	color: var(--ssbogc-gold-500);
}

.ssbogc-director-caption-role {
	margin: 0.3rem 0 0;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ssbogc-gold-400);
}

/* ==========================================================================
   Upcoming Batches UI (Section 9)
   ========================================================================== */
.ssbogc-batches-table-wrapper {
	background: var(--ssbogc-white);
	border-radius: var(--ssbogc-radius-lg);
	box-shadow: var(--ssbogc-shadow-md);
	border: 1px solid var(--ssbogc-gray-200);
	overflow: hidden;
	margin-bottom: 2.5rem;
}

.ssbogc-batch-card-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	gap: 1.75rem;
}

.ssbogc-batch-card {
	background: var(--ssbogc-white);
	border: 1px solid var(--ssbogc-gray-200);
	border-radius: var(--ssbogc-radius-lg);
	padding: 1.75rem;
	box-shadow: var(--ssbogc-shadow-sm);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: var(--ssbogc-transition);
}

.ssbogc-batch-card:hover {
	border-color: var(--ssbogc-gold-500);
	box-shadow: var(--ssbogc-shadow-lg);
	transform: translateY(-3px);
}

.ssbogc-batch-card-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 1rem;
}

.ssbogc-batch-dates {
	font-family: var(--ssbogc-font-heading);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--ssbogc-navy-900);
}

.ssbogc-batch-meta {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
	font-size: 0.925rem;
	color: var(--ssbogc-gray-600);
}

/* ==========================================================================
   Breadcrumbs & Article Layout (Section 16.7 & Phase 5)
   ========================================================================== */
.ssbogc-breadcrumb-nav {
	padding: 1rem 0;
	font-size: 0.875rem;
	color: var(--ssbogc-gray-500);
}

.ssbogc-breadcrumb-nav ol {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	margin: 0;
}

.ssbogc-breadcrumb-nav li + li::before {
	content: '/';
	color: var(--ssbogc-gray-400);
	margin-right: 0.5rem;
}

.ssbogc-article-header {
	max-width: 820px;
	margin: 0 auto 3rem auto;
}

.ssbogc-article-content {
	max-width: 820px;
	margin: 0 auto;
	font-size: 1.125rem;
	line-height: 1.8;
	color: var(--ssbogc-gray-800);
}

.ssbogc-article-content h2 {
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--ssbogc-gray-100);
}

.ssbogc-article-content h3 {
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}

.ssbogc-quick-answer {
	background: #EFF6FF;
	border-left: 4px solid #2563EB;
	padding: 1.5rem;
	border-radius: 0 var(--ssbogc-radius-md) var(--ssbogc-radius-md) 0;
	margin: 2rem 0;
}

.ssbogc-quick-answer-title {
	font-weight: 700;
	color: #1E40AF;
	margin-bottom: 0.5rem;
}

/* ==========================================================================
   Mobile Context-Aware Sticky Bottom Bar (UX-CTA-001)
   ========================================================================== */
.ssbogc-mobile-sticky-bar {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: rgba(10, 25, 47, 0.96);
	backdrop-filter: blur(10px);
	border-top: 1px solid rgba(245, 166, 35, 0.3);
	padding: 0.65rem 1rem;
	/* Above the plugin's floating widgets (99990). At 998 they painted over
	   the bar, so the buttons underneath could not be tapped. */
	z-index: 99991;
	box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767px) {
	.ssbogc-mobile-sticky-bar {
		display: grid;
		grid-template-columns: 1fr 1fr 1.5fr;
		gap: 0.5rem;
	}
	body {
		padding-bottom: 70px; /* Prevent bottom CTA overlap */
	}
}

.ssbogc-sticky-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	font-family: var(--ssbogc-font-heading);
	font-weight: 700;
	font-size: 0.85rem;
	padding: 0.65rem 0.5rem;
	border-radius: var(--ssbogc-radius-sm);
	color: var(--ssbogc-white);
	text-align: center;
	text-decoration: none;
}

/* The drawer is aria-modal, so the bar behind it should not stay visible or
   tappable. The backdrop precedes the bar in the body, so a sibling selector
   handles it without needing a body class from JS. */
.ssbogc-drawer-backdrop.is-active ~ .ssbogc-mobile-sticky-bar {
	display: none;
}

.ssbogc-sticky-call {
	background: rgba(255, 255, 255, 0.1);
}

.ssbogc-sticky-wa {
	background: #25D366;
	color: var(--ssbogc-navy-950);
}

.ssbogc-sticky-register {
	background: var(--ssbogc-gold-gradient);
	color: var(--ssbogc-navy-950);
}

/* These three had no hover state of their own, so they inherited the global
   a:hover colour (gold-600). On the gold Register button that was amber type
   on an amber fill — a 1:1 ratio, invisible — and it fought the brand colour
   on the other two. Each keeps its own label colour and moves its background
   instead. */
.ssbogc-sticky-btn:hover,
.ssbogc-sticky-btn:focus-visible {
	color: var(--ssbogc-white);
}

.ssbogc-sticky-call:hover,
.ssbogc-sticky-call:focus-visible {
	background: rgba(255, 255, 255, 0.2);
	color: var(--ssbogc-white);
}

.ssbogc-sticky-wa:hover,
.ssbogc-sticky-wa:focus-visible {
	background: #1EBE5D;
	color: var(--ssbogc-navy-950);
}

.ssbogc-sticky-register:hover,
.ssbogc-sticky-register:focus-visible {
	background: linear-gradient(135deg, #FBBF24 0%, #F5A623 100%);
	color: var(--ssbogc-navy-950);
}

.ssbogc-sticky-btn:focus-visible {
	outline: 2px solid var(--ssbogc-gold-400);
	outline-offset: 2px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.ssbogc-site-footer {
	background: var(--ssbogc-navy-950);
	color: var(--ssbogc-gray-400);
	padding: 5rem 0 2rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.925rem;
}

/* The floating WhatsApp circle is fixed 24px from the bottom and 24px from the
   right, and is 60px across, so it occupies an 84px square in the bottom right
   corner of the viewport — nothing more.

   This used to be answered with 6.5rem of padding under the whole footer,
   which cleared the circle but left a band of empty navy across the full width
   that read as a layout fault. The collision is horizontal, so the reservation
   is too: only the copyright, which sits at that corner, is inset. The divider
   above it still runs the full width. */
@media (min-width: 768px) {
	.ssbogc-footer-copyright {
		padding-right: 84px;
	}
}

.ssbogc-footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	margin-bottom: 4rem;
}

@media (min-width: 576px) {
	.ssbogc-footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 992px) {
	.ssbogc-footer-grid {
		grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	}
}

.ssbogc-footer-brand-name {
	font-family: var(--ssbogc-font-heading);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--ssbogc-white);
	margin: 0 0 0.6rem;
}

.ssbogc-footer-col h4 {
	color: var(--ssbogc-white);
	font-size: 1.1rem;
	margin-bottom: 1.25rem;
	position: relative;
	padding-bottom: 0.5rem;
}

.ssbogc-footer-col h4::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 30px;
	height: 2px;
	background: var(--ssbogc-gold-500);
}

.ssbogc-footer-links {
	list-style: none;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

/* The contact links in column 1 carry no class, so they were falling through
   to the global `a` colour (navy-700) on the footer's navy-950 ground: a
   1.7:1 ratio. Every footer link now starts from a legible grey. */
.ssbogc-site-footer a {
	color: var(--ssbogc-gray-300);
}

.ssbogc-site-footer a:hover {
	color: var(--ssbogc-gold-400);
}

.ssbogc-footer-links a {
	color: var(--ssbogc-gray-400);
}

.ssbogc-footer-links a:hover {
	color: var(--ssbogc-gold-400);
	padding-left: 4px;
}

/* Opens the consent modal. A button because it performs an action rather than
   navigating, styled to sit in the list with its neighbours. */
.ssbogc-footer-link-button {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	color: var(--ssbogc-gray-400);
	cursor: pointer;
	text-align: left;
	transition: var(--ssbogc-transition);
}

.ssbogc-footer-link-button:hover {
	color: var(--ssbogc-gold-400);
	padding-left: 4px;
}

/* Editor content on generic pages ---------------------------------------
   The policy pages are long-form documents written in the block editor, and
   nothing was styling what the editor emits: headings ran into their
   paragraphs, lists sat flush against the text, and the fee table rendered as
   bare unpadded cells. */

.ssbogc-entry-content > *:first-child {
	margin-top: 0;
}

.ssbogc-entry-content p,
.ssbogc-entry-content li {
	line-height: 1.75;
}

.ssbogc-entry-content p {
	margin: 0 0 1.15rem;
}

.ssbogc-entry-content h2 {
	margin: 2.75rem 0 1rem;
	padding-bottom: 0.5rem;
	font-size: 1.45rem;
	border-bottom: 1px solid var(--ssbogc-gray-200);
}

.ssbogc-entry-content h3 {
	margin: 1.9rem 0 0.75rem;
	font-size: 1.1rem;
}

.ssbogc-entry-content ul,
.ssbogc-entry-content ol {
	margin: 0 0 1.25rem;
	padding-left: 1.35rem;
}

.ssbogc-entry-content li {
	margin-bottom: 0.5rem;
}

.ssbogc-entry-content li::marker {
	color: var(--ssbogc-gold-600);
}

.ssbogc-entry-content strong {
	color: var(--ssbogc-navy-900);
}

/* Buttons are excluded. This selector is two classes deep, so it outranks the
   single-class button rules (.ssbogc-btn, .btn-ssbogc-primary) and repainted
   every button that appeared inside page content — which is how the Thank You
   page's "Send payment proof on WhatsApp" CTA ended up navy text on a navy
   fill, a contrast ratio of about 1.5:1 and effectively unreadable. Excluding
   them here lets each button keep the colour its own rule sets. */
.ssbogc-entry-content a:not([class*="btn"]) {
	color: var(--ssbogc-navy-700);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ssbogc-entry-content a:not([class*="btn"]):hover {
	color: var(--ssbogc-gold-600);
}

/* Wide content scrolls inside its own box rather than pushing the page out. */
.ssbogc-entry-content figure.wp-block-table,
.ssbogc-entry-content figure.wp-table {
	margin: 0 0 1.5rem;
	overflow-x: auto;
}

.ssbogc-entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.92rem;
	background: var(--ssbogc-white, #fff);
	border: 1px solid var(--ssbogc-gray-200);
	border-radius: var(--ssbogc-radius-md, 8px);
	overflow: hidden;
}

.ssbogc-entry-content thead th {
	background: var(--ssbogc-bg-light);
	font-family: var(--ssbogc-font-heading);
	font-size: 0.78rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--ssbogc-gray-600);
}

.ssbogc-entry-content th,
.ssbogc-entry-content td {
	padding: 0.7rem 0.9rem;
	text-align: left;
	border-bottom: 1px solid var(--ssbogc-gray-200);
}

.ssbogc-entry-content tbody tr:last-child th,
.ssbogc-entry-content tbody tr:last-child td {
	border-bottom: none;
}

/* The fee columns are figures; they read faster right-aligned. Scoped to that
   table alone — the cookie policy's table is prose and must wrap, left. */
.ssbogc-entry-content .wp-table td + td,
.ssbogc-entry-content .wp-table thead th + th {
	text-align: right;
	white-space: nowrap;
}

/* Footer column 1: who the institute is, and nothing else. */

.ssbogc-footer-brand-line {
	margin: 0 0 0.5rem;
	font-size: 0.9rem;
	line-height: 1.4;
	color: var(--ssbogc-gold-400);
}

.ssbogc-footer-brand-desc {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--ssbogc-gray-300);
}

.ssbogc-footer-brand-desc strong {
	color: var(--ssbogc-white);
}

/* Footer column 4: address block.
   The contact rows used emoji (a pin, a phone, a speech bubble, an envelope),
   which render as a different picture in every OS font and came out as flat
   colour blocks on this dark ground. These are the same stroked SVGs the
   Contact page cards use, so they inherit the footer's text colour and stay
   one visual family with the rest of the site. */

.ssbogc-footer-contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	font-size: 0.875rem;
}

.ssbogc-footer-contact > li {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
}

.ssbogc-footer-contact-icon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: var(--ssbogc-radius-sm, 6px);
	background: rgba(255, 255, 255, 0.06);
	color: var(--ssbogc-gold-400);
}

.ssbogc-footer-contact-body {
	min-width: 0;
	line-height: 1.55;
	color: var(--ssbogc-gray-300);
}

.ssbogc-footer-contact-body address {
	font-style: normal;
	margin: 0;
}

.ssbogc-footer-contact-action {
	display: inline-block;
	margin-top: 0.25rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--ssbogc-gold-400);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ssbogc-footer-col--brand .ssbogc-social {
	margin-top: 1.5rem;
}

/* Footer bottom strip: legal links replace the old institutional statement. */

.ssbogc-footer-legal {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.5rem 1.25rem;
	font-size: 0.8125rem;
}

@media (min-width: 768px) {
	.ssbogc-footer-legal {
		justify-content: flex-start;
	}
}

.ssbogc-footer-legal a,
.ssbogc-footer-legal .ssbogc-footer-link-button {
	color: var(--ssbogc-gray-400);
}

.ssbogc-footer-legal a:hover,
.ssbogc-footer-legal .ssbogc-footer-link-button:hover {
	color: var(--ssbogc-gold-400);
}

.ssbogc-footer-copyright {
	color: var(--ssbogc-gray-400);
	white-space: nowrap;
}

/* Social profiles ------------------------------------------------------
   One component, two dressings: compact icon buttons in the footer, and a
   labelled row with handles on the Contact page where there is room to say
   which account each icon opens. */

.ssbogc-social {
	margin-top: 1.25rem;
}

.ssbogc-social-label {
	display: block;
	margin-bottom: 0.6rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ssbogc-gray-400, #94a3b8);
}

.ssbogc-social-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ssbogc-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	text-decoration: none;
	transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.ssbogc-social-link:focus-visible {
	outline: 2px solid var(--ssbogc-gold-500);
	outline-offset: 3px;
}

/* Footer: square icon buttons on the dark ground. Each network takes its own
   brand colour on hover, which is the only cue that reads instantly at 18px. */
.ssbogc-social--footer .ssbogc-social-link {
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--ssbogc-radius-md, 8px);
	color: var(--ssbogc-gray-300, #cbd5e1);
	background: rgba(255, 255, 255, 0.04);
}

.ssbogc-social--footer .ssbogc-social-link:hover {
	color: #fff;
	border-color: transparent;
}

.ssbogc-social--footer .ssbogc-social-link--youtube:hover {
	background: #ff0000;
}

.ssbogc-social--footer .ssbogc-social-link--instagram:hover {
	/* Instagram has no single flat brand colour; this is its published
	   gradient, trimmed to the three stops that survive at this size. */
	background: linear-gradient(45deg, #f09433 0%, #dc2743 50%, #bc1888 100%);
}

.ssbogc-social--footer .ssbogc-social-link--facebook:hover {
	background: #1877f2;
}

/* Contact page: wider pills that name the account. */
.ssbogc-social--contact {
	margin-top: 0.85rem;
}

.ssbogc-social--contact .ssbogc-social-list {
	gap: 0.5rem;
}

.ssbogc-social--contact .ssbogc-social-link {
	padding: 0.5rem 0.85rem;
	border: 1px solid var(--ssbogc-gray-200);
	border-radius: 999px;
	color: var(--ssbogc-navy-900);
	background: var(--ssbogc-white, #fff);
}

.ssbogc-social--contact .ssbogc-social-link:hover {
	border-color: var(--ssbogc-gold-500);
	background: var(--ssbogc-bg-light);
}

.ssbogc-social--contact .ssbogc-social-text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.ssbogc-social--contact .ssbogc-social-network {
	font-size: 0.85rem;
	font-weight: 700;
}

.ssbogc-social--contact .ssbogc-social-handle {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--ssbogc-gray-500);
}

.ssbogc-social-icon {
	flex: none;
}

.ssbogc-footer-bottom {
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
	text-align: center;
	font-size: 0.8125rem;
}

@media (min-width: 768px) {
	.ssbogc-footer-bottom {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		text-align: left;
	}
}

/* Accessible Reduced Motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ==========================================================================
   Homepage: Training Methodology (section 6)
   Mobile-first: a single stacked list, becoming a two-column grid at 768px.
   ========================================================================== */

/* Two columns on desktop: the photograph and the fixed facts sit in a sticky
   rail, the fifteen days run beside it as a connected timeline. Previously the
   steps were five equal cards in a 2+2+1 grid, which read as unordered tiles
   rather than a progression, and the day range was buried under the copy. */
.ssbogc-methodology-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: start;
}

@media (min-width: 992px) {
	.ssbogc-methodology-layout {
		grid-template-columns: 0.85fr 1.15fr;
		gap: 3.5rem;
	}

	.ssbogc-methodology-aside {
		position: sticky;
		top: calc(var(--ssbogc-header-height) + 1.5rem);
	}
}

.ssbogc-methodology-figure {
	margin: 0 0 1.25rem;
}

.ssbogc-methodology-figure img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	object-fit: cover;
	border-radius: var(--ssbogc-radius-lg);
	box-shadow: var(--ssbogc-shadow-lg);
	background-color: var(--ssbogc-gray-100);
}

.ssbogc-methodology-figure figcaption {
	margin-top: 0.85rem;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--ssbogc-gray-600);
}

/* The three fixed facts, lifted out of the trailing sentence they were in. */
/* auto-fit, not a fixed count. This declared three columns from when there was
   a third fact; dropping the rest day (aac37f7) left two items in a three-track
   grid, so each box was squeezed into a third of the row and an empty track sat
   beside them. At 390px that meant 106px boxes with "9:30 AM - 3:00 PM" wrapping
   over three lines. auto-fit collapses the empty tracks and follows the item
   count, so adding a fact back needs no change here. */
.ssbogc-methodology-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 0.75rem;
	margin: 0 0 1rem;
}

.ssbogc-methodology-facts > div {
	background: var(--ssbogc-white);
	border: 1px solid var(--ssbogc-gray-200);
	border-radius: var(--ssbogc-radius-md);
	padding: 0.75rem 0.85rem;
}

.ssbogc-methodology-facts dt {
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ssbogc-gray-500);
	margin-bottom: 0.2rem;
}

.ssbogc-methodology-facts dd {
	margin: 0;
	font-family: var(--ssbogc-font-heading);
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.2;
	color: var(--ssbogc-navy-900);
}

.ssbogc-methodology-note {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.5;
	color: var(--ssbogc-gray-500);
}

/* Timeline ------------------------------------------------------------- */

.ssbogc-methodology-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

/* The rail is drawn per step rather than once down the whole list: a single
   full-height line ran ~90px past the last node into empty space, because the
   list is as tall as its final card, not its final node. A segment per step
   (except the last) bridges node to node and always ends on node 05. */
.ssbogc-methodology-step:not(:last-child)::before {
	content: '';
	position: absolute;
	left: 21px;
	top: 44px;
	bottom: -1.25rem;
	width: 2px;
	background: var(--ssbogc-gray-200);
}

.ssbogc-methodology-step {
	position: relative;
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 1.25rem;
	align-items: start;
}

.ssbogc-methodology-step + .ssbogc-methodology-step {
	margin-top: 1.25rem;
}

/* Node on the rail. Solid ground so the rail does not show through. */
.ssbogc-methodology-num {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--ssbogc-radius-full);
	font-family: var(--ssbogc-font-heading);
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1;
	color: var(--ssbogc-navy-900);
	background: var(--ssbogc-white);
	border: 2px solid var(--ssbogc-gray-200);
	font-variant-numeric: tabular-nums;
	transition: var(--ssbogc-transition);
}

.ssbogc-methodology-body {
	background: var(--ssbogc-white);
	border: 1px solid var(--ssbogc-gray-200);
	border-radius: var(--ssbogc-radius-lg);
	padding: 1.25rem 1.4rem;
	box-shadow: var(--ssbogc-shadow-sm);
	transition: var(--ssbogc-transition);
}

.ssbogc-methodology-step:hover .ssbogc-methodology-body {
	border-color: var(--ssbogc-gold-500);
	box-shadow: var(--ssbogc-shadow-md);
}

.ssbogc-methodology-step:hover .ssbogc-methodology-num {
	color: var(--ssbogc-navy-950);
	background: var(--ssbogc-gold-gradient);
	border-color: transparent;
}

/* Day range leads the card now: it is the thing a reader scans for. */
.ssbogc-methodology-days {
	display: inline-block;
	margin-bottom: 0.5rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ssbogc-gold-700);
	background: #FFF7ED;
	border: 1px solid rgba(245, 166, 35, 0.3);
	border-radius: var(--ssbogc-radius-full);
	padding: 0.22rem 0.7rem;
}

.ssbogc-methodology-step h3 {
	font-size: 1.1rem;
	margin: 0 0 0.4rem;
}

.ssbogc-methodology-step p {
	margin: 0;
	color: var(--ssbogc-gray-600);
	font-size: 0.95rem;
	line-height: 1.6;
}

@media (max-width: 479px) {
	.ssbogc-methodology-step:not(:last-child)::before {
		left: 17px;
		top: 36px;
	}

	.ssbogc-methodology-step {
		grid-template-columns: 36px 1fr;
		gap: 0.85rem;
	}

	.ssbogc-methodology-num {
		width: 36px;
		height: 36px;
		font-size: 0.85rem;
	}

	.ssbogc-methodology-body {
		padding: 1rem 1.1rem;
	}
}

/* ==========================================================================
   Homepage: Video / Institute Overview (section 10)
   ========================================================================== */

.ssbogc-video-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: start;
}

.ssbogc-video-main {
	border-radius: var(--ssbogc-radius-lg);
	overflow: hidden;
	box-shadow: var(--ssbogc-shadow-lg);
}

/* Reserve 16:9 before the image loads so nothing below it jumps. */
.ssbogc-video-placeholder {
	aspect-ratio: 16 / 9;
	background: var(--ssbogc-gray-100);
}

.ssbogc-video-placeholder img,
.ssbogc-video-main img,
.ssbogc-video-main iframe {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ssbogc-video-facts h3 {
	font-size: 1.25rem;
	margin: 0 0 1rem;
}

.ssbogc-video-facts .ssbogc-btn {
	margin-top: 1.5rem;
}

@media (min-width: 992px) {
	.ssbogc-video-grid {
		grid-template-columns: 1.6fr 1fr;
		gap: 2.5rem;
	}
}

/* ==========================================================================
   Homepage: Contact / Location (section 13)
   ========================================================================== */

.ssbogc-contact-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: start;
}

/* The CTA sits below the card grid, spanning both columns. */
.ssbogc-contact-details-cta {
	grid-column: 1 / -1;
	margin-top: 0.35rem;
}

.ssbogc-contact-item {
	margin-bottom: 1.5rem;
}

.ssbogc-contact-item h3 {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ssbogc-gray-500);
	margin: 0 0 0.35rem;
}

.ssbogc-contact-item p {
	margin: 0;
	font-size: 1rem;
	color: var(--ssbogc-gray-800);
	line-height: 1.6;
}

.ssbogc-contact-item a {
	color: var(--ssbogc-navy-700);
	font-weight: 600;
}

/* The facade inside carries `margin: 20px 0` from the plugin: vertical
   breathing room but nothing horizontal, so the card sat flush against this
   box's left and right edges while leaving 21px above it. Padding on the
   wrapper spaces all four sides equally, and the facade's own margin is
   zeroed here so it does not double up. min-height is gone with it: at 320px
   against a ~210px card it left 89px of empty grey below. */
.ssbogc-contact-map {
	border-radius: var(--ssbogc-radius-lg);
	overflow: hidden;
	box-shadow: var(--ssbogc-shadow-md);
	background: var(--ssbogc-gray-100);
	padding: 1.25rem;
}

.ssbogc-contact-map .ssbogc-maps-facade {
	margin: 0;
}

.ssbogc-contact-map iframe,
.ssbogc-contact-map img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 320px;
	border: 0;
}

@media (min-width: 992px) {
	.ssbogc-contact-grid {
		grid-template-columns: 1fr 1.3fr;
		gap: 3rem;
	}
}

/* ==========================================================================
   Batch cards
   The plugin emits .ssbogc-batches-cards-grid / .batch-header / .batch-dates /
   .batch-details / .batch-footer, none of which had any rule. The "grid"
   therefore computed to display:block and stacked four cards in a single
   column ~1,400px tall. These styles are the missing contract.
   ========================================================================== */

/* Flex rather than grid, so a row that is not full is centred. auto-fill was
   laying down four 283px tracks and dropping three cards into the first three,
   leaving 303px of dead space on the right of the course page; auto-fit alone
   would fix that case but still left a ragged last row wherever the batch
   count is not a multiple of the column count. */
.ssbogc-batches-cards-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.25rem;
}

.ssbogc-batches-cards-grid > .ssbogc-batch-card {
	flex: 1 1 280px;
	max-width: 360px;
}

.ssbogc-batch-card {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	background: var(--ssbogc-white);
	border: 1px solid var(--ssbogc-gray-200);
	border-radius: var(--ssbogc-radius-lg);
	padding: 1.25rem;
	box-shadow: var(--ssbogc-shadow-sm);
	transition: var(--ssbogc-transition);
}

.ssbogc-batch-card:hover {
	box-shadow: var(--ssbogc-shadow-md);
	border-color: var(--ssbogc-gray-300);
}

.ssbogc-batch-card.is-full {
	opacity: 0.85;
	background: var(--ssbogc-gray-100);
}

.ssbogc-batch-card .batch-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
}

.ssbogc-batch-card .batch-header h4 {
	margin: 0;
	font-size: 1rem;
	line-height: 1.35;
}

.ssbogc-batch-card .badge-status {
	flex-shrink: 0;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0.2rem 0.55rem;
	border-radius: var(--ssbogc-radius-full);
	background: var(--ssbogc-gray-200);
	color: var(--ssbogc-gray-700);
	white-space: nowrap;
}

.ssbogc-batch-card .badge-available { background: var(--ssbogc-green-50); color: var(--ssbogc-green-700); }
.ssbogc-batch-card .badge-limited,
.ssbogc-batch-card .badge-filling.fast,
.ssbogc-batch-card .badge-filling { background: #FFF7ED; color: var(--ssbogc-gold-700); }
.ssbogc-batch-card .badge-full { background: var(--ssbogc-red-50); color: var(--ssbogc-red-600); }

.ssbogc-batch-card .batch-dates {
	font-size: 0.95rem;
	color: var(--ssbogc-navy-900);
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--ssbogc-gray-200);
}

/* Label/value pairs rather than run-on sentences: at card width the old
   "Duration: 15 Days • Timings: 09:30 AM - 03:00 PM" wrapped mid-value. */
.ssbogc-batch-card .batch-details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.65rem 0.75rem;
	margin: 0;
	/* Pushes the footer to the card bottom so buttons align across the row. */
	flex: 1 1 auto;
	align-content: start;
	padding-top: 0.75rem;
	border-top: 1px solid var(--ssbogc-gray-200);
}

.ssbogc-batch-card .batch-details > div {
	min-width: 0;
}

.ssbogc-batch-card .batch-details dt {
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ssbogc-gray-500);
	margin-bottom: 0.15rem;
}

.ssbogc-batch-card .batch-details dd {
	margin: 0;
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--ssbogc-navy-900);
}

/* The fee is the number people compare, so it gets its own weight. */
.ssbogc-batch-card .batch-details-fee dd {
	font-family: var(--ssbogc-font-heading);
	font-size: 1.05rem;
	font-weight: 800;
}

/* The GT-only line sits under the fee as a secondary option, never competing
   with the headline fee: same row rhythm, lighter weight, with the joining
   date on its own line so it cannot be misread as the batch start date. */
.ssbogc-batch-card .batch-details-gt dd {
	font-size: 0.9rem;
	font-weight: 700;
}

.ssbogc-batch-card .batch-details-gt dd small {
	display: block;
	margin-top: 0.1rem;
	font-size: 0.76rem;
	font-weight: 600;
	color: var(--ssbogc-gray-500);
}

.ssbogc-batch-card .batch-footer {
	margin-top: 0.25rem;
}

.ssbogc-batch-card .btn-register-batch,
.ssbogc-batch-card .btn-waitlist-trigger,
.ssbogc-batch-card .btn-batch-closed {
	display: block;
	width: 100%;
	text-align: center;
	font-family: var(--ssbogc-font-heading);
	font-weight: 700;
	font-size: 0.85rem;
	padding: 0.6rem 1rem;
	border-radius: var(--ssbogc-radius-md);
	border: 0;
	cursor: pointer;
	transition: var(--ssbogc-transition);
}

.ssbogc-batch-card .btn-register-batch {
	background: var(--ssbogc-navy-900);
	color: var(--ssbogc-white);
}

.ssbogc-batch-card .btn-register-batch:hover {
	background: var(--ssbogc-navy-700);
	color: var(--ssbogc-gold-400);
}

.ssbogc-batch-card .btn-waitlist-trigger {
	background: var(--ssbogc-gray-200);
	color: var(--ssbogc-gray-700);
}

.ssbogc-batch-card .btn-waitlist-trigger:hover {
	background: var(--ssbogc-gray-300);
}

.ssbogc-batch-card .btn-batch-closed {
	background: var(--ssbogc-gray-100);
	color: var(--ssbogc-gray-500);
	cursor: default;
}

.ssbogc-batches-empty {
	text-align: center;
	color: var(--ssbogc-gray-500);
	padding: 2rem 1rem;
}

/* ==========================================================================
   Homepage density
   The page ran to ~14,400px, about 32 laptop screens, with a button ending
   almost every section. These rules tighten the rhythm and demote the
   secondary links so the Register CTA is not competing with thirteen peers.
   ========================================================================== */

.ssbogc-section-footer-cta {
	text-align: center;
	margin-top: 2rem;
}

/* Section-ending links are navigation, not calls to action. Rendering them
   as quiet text links leaves the gold button meaning one thing on the page. */
.ssbogc-section-footer-cta .ssbogc-btn-secondary {
	background: transparent;
	color: var(--ssbogc-navy-700);
	border: 1px solid var(--ssbogc-gray-300);
	box-shadow: none;
	font-size: 0.9rem;
	padding: 0.6rem 1.25rem;
}

.ssbogc-section-footer-cta .ssbogc-btn-secondary:hover {
	background: var(--ssbogc-gray-100);
	color: var(--ssbogc-navy-900);
	border-color: var(--ssbogc-gray-400);
	transform: none;
}

/* Card grids: even columns and consistent gaps across the page. */
.ssbogc-card-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 640px) {
	.ssbogc-card-grid {
		grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	}
}

/* Four-up variant. auto-fit with a 290px floor needs 1,220px to seat four
   tracks but the container is 1,192px, so the fourth card dropped to a row of
   its own. Explicit tracks with a zero floor keep the four on one row and let
   them share whatever width there is. */
@media (min-width: 640px) {
	.ssbogc-card-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.ssbogc-card-grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Slightly tighter icon in the narrower four-up card. */
.ssbogc-card-grid--4 .ssbogc-module-icon {
	width: 48px;
	height: 48px;
	margin-bottom: 1.1rem;
}

.ssbogc-module-card {
	padding: 1.5rem;
}

.ssbogc-module-card h3 {
	font-size: 1.15rem;
}

.ssbogc-module-card p {
	font-size: 0.95rem;
	color: var(--ssbogc-gray-600);
}

/* Trust strip: was four uneven boxes with cramped copy. */
.ssbogc-proof-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	margin: -2rem auto 0;
	position: relative;
	z-index: 2;
}

@media (min-width: 900px) {
	.ssbogc-proof-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.ssbogc-proof-card {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	background: var(--ssbogc-white);
	border: 1px solid var(--ssbogc-gray-200);
	border-radius: var(--ssbogc-radius-lg);
	box-shadow: var(--ssbogc-shadow-md);
	padding: 1.25rem;
}

.ssbogc-proof-stat {
	font-family: var(--ssbogc-font-heading);
	font-size: clamp(1.4rem, 2.5vw, 1.9rem);
	font-weight: 800;
	color: var(--ssbogc-navy-900);
	line-height: 1.1;
}

.ssbogc-proof-label {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--ssbogc-navy-700);
}

.ssbogc-proof-desc {
	font-size: 0.8rem;
	color: var(--ssbogc-gray-500);
	line-height: 1.45;
}

/* The hub teaser sits inside a homepage section that already has its own
   heading, so its internal top spacing is redundant. */
.home .ssbogc-section .ssbogc-hub-container {
	padding-top: 0;
}

.home .ssbogc-section .ssbogc-hub-container > section:first-child {
	margin-top: 0;
}

/* ==========================================================================
   Preparation Hub teaser on the homepage
   The stage cards are built for /blog/, where the full description and module
   list belong. Inside a homepage section the same five cards ran to 515px
   each. Here they collapse to a compact numbered roadmap: same markup, same
   links, a fifth of the height.

   Every selector below is scoped to .home. It used to be scoped to
   .ssbogc-section alone, on the assumption that only the homepage wrapped the
   hub in one — but /blog/ does too, so the collapse applied there as well and
   hid the description, the guide links and the "Read Guides" footer on the
   page those belong to. They were display:none, so nothing in the card body
   could be clicked.
   ========================================================================== */

.home .ssbogc-section .ssbogc-hub-stages-section .ssbogc-section-heading-wrap,
.home .ssbogc-section .ssbogc-hub-stages-section .ssbogc-stage-subtitle,
.home .ssbogc-section .ssbogc-hub-stages-section .ssbogc-stage-desc,
.home .ssbogc-section .ssbogc-hub-stages-section .ssbogc-stage-topics,
.home .ssbogc-section .ssbogc-hub-stages-section .ssbogc-stage-footer,
.home .ssbogc-section .ssbogc-hub-stages-section .ssbogc-stage-icon {
	display: none;
}

.home .ssbogc-section .ssbogc-hub-stages-section .ssbogc-stages-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
	margin: 0 0 1.75rem;
}

@media (min-width: 760px) {
	.home .ssbogc-section .ssbogc-hub-stages-section .ssbogc-stages-grid {
		grid-template-columns: repeat(5, 1fr);
	}
}

.home .ssbogc-section .ssbogc-hub-stages-section .ssbogc-stage-card {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 0;
	height: auto;
	padding: 0.85rem 0.9rem;
	background: var(--ssbogc-white);
	border: 1px solid var(--ssbogc-gray-200);
	border-radius: var(--ssbogc-radius-md);
	box-shadow: none;
}

.home .ssbogc-section .ssbogc-hub-stages-section .ssbogc-stage-card-header {
	display: block;
	margin: 0;
	flex-shrink: 0;
}

.home .ssbogc-section .ssbogc-hub-stages-section .ssbogc-stage-number {
	font-family: var(--ssbogc-font-heading);
	font-size: 0.95rem;
	font-weight: 800;
	color: var(--ssbogc-gold-600);
	font-variant-numeric: tabular-nums;
}

/* Drop the "Stage 1: " prefix on the compact strip; the number already says it. */
.home .ssbogc-section .ssbogc-hub-stages-section .ssbogc-stage-title {
	margin: 0;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ssbogc-navy-900);
}

/* The teaser's article stream sits under the roadmap. */
.home .ssbogc-section .ssbogc-hub-articles-stream .ssbogc-section-heading-wrap {
	display: none;
}

.ssbogc-section-footer-note {
	color: var(--ssbogc-gray-600);
	margin-bottom: 0.85rem;
	font-size: 0.95rem;
}

/* On mobile the sticky bottom bar already offers Call / WhatsApp / Register,
   and the floating bubble sat on top of its Register button, covering the
   primary conversion action and duplicating the WhatsApp one. Desktop keeps
   the bubble, where there is no sticky bar. */
@media (max-width: 767px) {
	.ssbogc-floating-wa {
		display: none;
	}
}

/* Registration countdown on a batch card. Real per-batch deadline, set by the
   administrator; the card omits this block entirely when none is set. Rendered
   as segmented tiles with a live seconds unit, so the deadline reads as a
   running clock instead of a static label. */
.ssbogc-batch-card .batch-countdown {
	/* Gradient end kept light enough that the gold-700 label clears 4.5:1
	   against the darkest point of the panel, not just the lightest. */
	background: linear-gradient(180deg, #FFFBF5 0%, #FFF3E4 100%);
	border: 1px solid rgba(245, 166, 35, 0.4);
	border-radius: var(--ssbogc-radius-md);
	padding: 0.6rem 0.7rem 0.7rem;
}

.ssbogc-batch-card .batch-countdown-label {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ssbogc-gold-700);
	margin-bottom: 0.5rem;
}

/* Pulsing dot: the one piece of chrome that says "this is live". */
.ssbogc-batch-card .batch-countdown-live {
	width: 7px;
	height: 7px;
	flex-shrink: 0;
	border-radius: var(--ssbogc-radius-full);
	background: var(--ssbogc-red-600);
	box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5);
	animation: ssbogc-countdown-pulse 2s ease-out infinite;
}

@keyframes ssbogc-countdown-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5); }
	70%  { box-shadow: 0 0 0 7px rgba(220, 38, 38, 0); }
	100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.ssbogc-batch-card .batch-countdown-clock {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.3rem;
}

.ssbogc-batch-card .batch-countdown-unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.1rem;
	background: var(--ssbogc-white);
	border: 1px solid rgba(245, 166, 35, 0.3);
	border-radius: var(--ssbogc-radius-sm);
	padding: 0.35rem 0.15rem;
}

.ssbogc-batch-card .batch-countdown-value {
	font-family: var(--ssbogc-font-heading);
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1;
	color: var(--ssbogc-navy-900);
	/* Tabular figures stop the tiles resizing as digits change. */
	font-variant-numeric: tabular-nums;
}

.ssbogc-batch-card .batch-countdown-unit-label {
	font-size: 0.58rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ssbogc-gray-500);
	line-height: 1;
}

/* The seconds tile carries the eye, so it gets the accent. */
.ssbogc-batch-card .batch-countdown-unit--s {
	background: var(--ssbogc-navy-900);
	border-color: var(--ssbogc-navy-900);
}

.ssbogc-batch-card .batch-countdown-unit--s .batch-countdown-value {
	color: var(--ssbogc-gold-400);
}

.ssbogc-batch-card .batch-countdown-unit--s .batch-countdown-unit-label {
	color: var(--ssbogc-gray-400);
}

/* Fires once per digit change, not on every tick. Transform only, never
   opacity: if the animation is throttled or interrupted mid-flight the digit
   must still be readable, and fading from 0 left it invisible. */
.ssbogc-batch-card .batch-countdown-value.is-ticking {
	animation: ssbogc-countdown-flip 0.3s ease-out;
}

@keyframes ssbogc-countdown-flip {
	0%   { transform: translateY(-28%); }
	100% { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	.ssbogc-batch-card .batch-countdown-live,
	.ssbogc-batch-card .batch-countdown-value.is-ticking {
		animation: none;
	}
}

.ssbogc-batch-card .batch-countdown.is-closed {
	background: var(--ssbogc-gray-100);
	border-color: var(--ssbogc-gray-300);
}

.ssbogc-batch-card .batch-countdown.is-closed .batch-countdown-clock {
	display: block;
	font-family: var(--ssbogc-font-heading);
	font-weight: 800;
	color: var(--ssbogc-gray-500);
}

.ssbogc-batch-card .batch-countdown.is-closed .batch-countdown-live {
	display: none;
}

/* Seats meter. The bar shows seats actually taken, so it never overstates how
   full a batch is; the "only a few left" state appears only inside the real
   last fifth of capacity. */
.ssbogc-batch-card .batch-seats-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.35rem;
}

.ssbogc-batch-card .batch-seats-label {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--ssbogc-gray-500);
}

.ssbogc-batch-card .batch-seats-value {
	font-size: 0.8rem;
	color: var(--ssbogc-gray-500);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.ssbogc-batch-card .batch-seats-value strong {
	font-size: 0.95rem;
	color: var(--ssbogc-navy-900);
}

.ssbogc-batch-card .batch-seats-bar {
	height: 5px;
	border-radius: var(--ssbogc-radius-full);
	background: var(--ssbogc-gray-200);
	overflow: hidden;
}

.ssbogc-batch-card .batch-seats-bar > span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--ssbogc-navy-700);
}

.ssbogc-batch-card .batch-seats.is-low .batch-seats-label,
.ssbogc-batch-card .batch-seats.is-low .batch-seats-value strong {
	color: var(--ssbogc-red-600);
}

.ssbogc-batch-card .batch-seats.is-low .batch-seats-bar > span {
	background: var(--ssbogc-red-600);
}

/* Visually hidden but available to screen readers. */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ==========================================================================
   Migrated content pages
   Structures introduced when the four live pages were brought across.
   ========================================================================== */

/* Shared page banner (About, Director, Course). */
.ssbogc-page-banner {
	background: var(--ssbogc-hero-gradient);
	color: var(--ssbogc-white);
	padding: 3.5rem 0 3rem;
	border-bottom: 1px solid rgba(245, 166, 35, 0.2);
}

.ssbogc-page-banner h1 {
	color: var(--ssbogc-white);
	margin-bottom: 0.85rem;
}

.ssbogc-page-banner-lead {
	font-size: 1.1rem;
	color: var(--ssbogc-gray-300);
	max-width: 780px;
	line-height: 1.6;
	margin: 0;
}

/* Director biography: portrait and facts beside the narrative. */
.ssbogc-bio-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: start;
}

@media (min-width: 900px) {
	.ssbogc-bio-layout {
		grid-template-columns: minmax(260px, 340px) 1fr;
		gap: 3.5rem;
	}
	.ssbogc-bio-aside {
		position: sticky;
		top: 110px;
	}
}

.ssbogc-bio-portrait {
	max-width: 340px;
	margin: 0 auto 1.5rem;
	border-radius: var(--ssbogc-radius-lg);
	overflow: hidden;
	box-shadow: var(--ssbogc-shadow-lg);
}

.ssbogc-bio-facts {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	margin: 0;
	padding: 1.25rem;
	background: var(--ssbogc-bg-light);
	border: 1px solid var(--ssbogc-gray-200);
	border-radius: var(--ssbogc-radius-lg);
}

.ssbogc-bio-facts dt {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--ssbogc-gray-500);
	margin-bottom: 0.15rem;
}

.ssbogc-bio-facts dd {
	margin: 0;
	font-size: 0.95rem;
	color: var(--ssbogc-navy-900);
	font-weight: 600;
	line-height: 1.4;
}

.ssbogc-bio-body h2 {
	font-size: 1.4rem;
	margin-top: 2.25rem;
}

.ssbogc-bio-body h2:first-child {
	margin-top: 0;
}

.ssbogc-bio-quote {
	margin: 1.75rem 0;
	padding: 1.25rem 1.5rem;
	border-left: 4px solid var(--ssbogc-gold-500);
	background: var(--ssbogc-bg-light);
	border-radius: 0 var(--ssbogc-radius-md) var(--ssbogc-radius-md) 0;
}

.ssbogc-bio-quote p {
	margin: 0;
	font-size: 1.05rem;
	font-style: italic;
	color: var(--ssbogc-navy-900);
}

/* Mission / Vision pair. */
.ssbogc-mv-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 860px) {
	.ssbogc-mv-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.ssbogc-mv-card {
	background: var(--ssbogc-white);
	border: 1px solid var(--ssbogc-gray-200);
	border-radius: var(--ssbogc-radius-lg);
	padding: 1.75rem;
	box-shadow: var(--ssbogc-shadow-sm);
}

.ssbogc-mv-card h2 {
	font-size: 1.3rem;
	margin-bottom: 0.75rem;
}

.ssbogc-mv-card p {
	margin: 0;
	color: var(--ssbogc-gray-600);
	font-size: 0.97rem;
}

/* Numbered "Idea Behind SSBOGC" list. */
.ssbogc-idea-list {
	counter-reset: idea;
	list-style: none;
	max-width: 860px;
	margin: 0 auto;
	padding: 0;
	display: grid;
	gap: 0.85rem;
}

.ssbogc-idea-list li {
	counter-increment: idea;
	position: relative;
	padding: 1rem 1.25rem 1rem 3.25rem;
	background: var(--ssbogc-white);
	border: 1px solid var(--ssbogc-gray-200);
	border-radius: var(--ssbogc-radius-md);
	color: var(--ssbogc-gray-700);
	font-size: 0.97rem;
}

.ssbogc-idea-list li::before {
	content: counter(idea, decimal-leading-zero);
	position: absolute;
	left: 1.1rem;
	top: 1rem;
	font-family: var(--ssbogc-font-heading);
	font-weight: 800;
	color: var(--ssbogc-gold-600);
	font-variant-numeric: tabular-nums;
}

/* Homepage "Why Choose" lead paragraph and course-includes box. */
.ssbogc-why-lead {
	max-width: 860px;
	margin: 0 auto 2rem;
	text-align: center;
	color: var(--ssbogc-gray-600);
	font-size: 1.02rem;
}

.ssbogc-includes-box {
	margin-top: 2rem;
	padding: 1.5rem 1.75rem;
	background: var(--ssbogc-navy-900);
	color: var(--ssbogc-white);
	border-radius: var(--ssbogc-radius-lg);
}

.ssbogc-includes-box h3 {
	color: var(--ssbogc-gold-400);
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 0.9rem;
}

.ssbogc-includes-box ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.5rem 1.5rem;
	font-size: 0.95rem;
	color: var(--ssbogc-gray-200);
}

@media (min-width: 700px) {
	.ssbogc-includes-box ul {
		grid-template-columns: repeat(3, 1fr);
	}
}

.ssbogc-includes-box li::before {
	content: "\2713";
	color: var(--ssbogc-gold-500);
	font-weight: 700;
	margin-right: 0.5rem;
}

/* Course page: outcomes, curriculum, day-by-day schedule, fees. */
.ssbogc-outcome-list {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
	max-width: 900px;
}

@media (min-width: 760px) {
	.ssbogc-outcome-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

.ssbogc-outcome-list li {
	position: relative;
	padding: 0.9rem 1rem 0.9rem 2.75rem;
	background: var(--ssbogc-white);
	border: 1px solid var(--ssbogc-gray-200);
	border-radius: var(--ssbogc-radius-md);
	font-size: 0.95rem;
	color: var(--ssbogc-gray-700);
}

.ssbogc-outcome-list li::before {
	content: "\2713";
	position: absolute;
	left: 1rem;
	color: var(--ssbogc-gold-600);
	font-weight: 800;
}

.ssbogc-curriculum-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 760px) {
	.ssbogc-curriculum-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.ssbogc-curriculum-card {
	background: var(--ssbogc-white);
	border: 1px solid var(--ssbogc-gray-200);
	border-radius: var(--ssbogc-radius-lg);
	padding: 1.5rem;
	box-shadow: var(--ssbogc-shadow-sm);
}

.ssbogc-curriculum-card h3 {
	font-size: 1.05rem;
	margin-bottom: 0.75rem;
	padding-bottom: 0.6rem;
	border-bottom: 2px solid var(--ssbogc-gold-500);
}

.ssbogc-curriculum-card ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.45rem;
	font-size: 0.92rem;
	color: var(--ssbogc-gray-600);
}

.ssbogc-curriculum-card li::before {
	content: "\2022";
	color: var(--ssbogc-gold-600);
	font-weight: 700;
	margin-right: 0.55rem;
}

/* Class timings, under the curriculum grid. Carried the schedule section's
   subheading before that section was replaced by the grid above. */
.ssbogc-curriculum-note {
	margin: 1.5rem auto 0;
	max-width: 62ch;
	text-align: center;
	font-size: 0.95rem;
	color: var(--ssbogc-gray-600);
}

/* The .ssbogc-schedule rules below are no longer used by any template: the
   day-by-day section on the course page was replaced by the Course Content
   grid. Kept so restoring that section stays a one-file change; delete them
   if the day view is ruled out for good. */
.ssbogc-schedule {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.7rem;
}

.ssbogc-schedule-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.4rem;
	background: var(--ssbogc-white);
	border: 1px solid var(--ssbogc-gray-200);
	border-radius: var(--ssbogc-radius-md);
	padding: 1rem 1.15rem;
}

@media (min-width: 700px) {
	.ssbogc-schedule-row {
		grid-template-columns: 84px 1fr;
		gap: 1.25rem;
		align-items: start;
	}
}

.ssbogc-schedule-day {
	font-family: var(--ssbogc-font-heading);
	font-weight: 800;
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ssbogc-gold-700);
	white-space: nowrap;
}

.ssbogc-schedule-body h3 {
	font-size: 1rem;
	margin: 0 0 0.35rem;
}

.ssbogc-schedule-body ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
	font-size: 0.88rem;
	color: var(--ssbogc-gray-600);
}

.ssbogc-schedule-body li::before {
	content: "\2022";
	color: var(--ssbogc-gray-400);
	margin-right: 0.4rem;
}

.ssbogc-schedule-row.is-rest {
	background: var(--ssbogc-bg-light);
	border-style: dashed;
}

.ssbogc-schedule-row.is-rest h3 {
	color: var(--ssbogc-gray-500);
	font-weight: 600;
}

.ssbogc-note-box {
	margin-top: 1.75rem;
	padding: 1.35rem 1.5rem;
	background: #FFF7ED;
	border: 1px solid rgba(245, 166, 35, 0.35);
	border-radius: var(--ssbogc-radius-lg);
}

.ssbogc-note-box h3 {
	font-size: 0.85rem;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--ssbogc-gold-700);
	margin-bottom: 0.7rem;
}

.ssbogc-note-box ul {
	list-style: disc;
	margin: 0;
	padding-left: 1.25rem;
	display: grid;
	gap: 0.5rem;
	font-size: 0.92rem;
	color: var(--ssbogc-gray-700);
}

.ssbogc-fee-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 860px) {
	.ssbogc-fee-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.ssbogc-fee-card {
	background: var(--ssbogc-white);
	border: 1px solid var(--ssbogc-gray-200);
	border-radius: var(--ssbogc-radius-lg);
	padding: 1.75rem;
	box-shadow: var(--ssbogc-shadow-sm);
}

.ssbogc-fee-card h3 {
	font-size: 1.1rem;
	margin-bottom: 0.4rem;
}

.ssbogc-fee-headline {
	font-family: var(--ssbogc-font-heading);
	font-size: 2rem;
	font-weight: 800;
	color: var(--ssbogc-navy-900);
	margin-bottom: 1rem;
}

.ssbogc-fee-headline span {
	font-size: 1.15rem;
	color: var(--ssbogc-gray-500);
}

.ssbogc-fee-card ul {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	display: grid;
	gap: 0.5rem;
	font-size: 0.93rem;
	color: var(--ssbogc-gray-600);
}

.ssbogc-fee-card li::before {
	content: "\2022";
	color: var(--ssbogc-gold-600);
	font-weight: 700;
	margin-right: 0.55rem;
}

.ssbogc-fee-note {
	margin: 0;
	padding-top: 0.85rem;
	border-top: 1px solid var(--ssbogc-gray-200);
	font-size: 0.85rem;
	color: var(--ssbogc-gray-500);
	line-height: 1.55;
}

/* Student testimonial cards: video still + name and recommendation.
   Flex rather than grid so an incomplete last row is centred. */
.ssbogc-testimonial-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5rem;
}

.ssbogc-testimonial-card {
	flex: 0 1 100%;
	display: flex;
	flex-direction: column;
	background: var(--ssbogc-white);
	border: 1px solid var(--ssbogc-gray-200);
	border-radius: var(--ssbogc-radius-lg);
	overflow: hidden;
	box-shadow: var(--ssbogc-shadow-sm, 0 1px 3px rgba(15, 23, 42, 0.08));
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ssbogc-testimonial-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--ssbogc-shadow-md);
}

@media (min-width: 620px) {
	.ssbogc-testimonial-card {
		flex-basis: calc((100% - 1.5rem) / 2);
	}
}

@media (min-width: 1000px) {
	.ssbogc-testimonial-card {
		flex-basis: calc((100% - 3rem) / 3);
	}
}

.ssbogc-testimonial-card .ssbogc-youtube-facade {
	border-radius: 0;
	box-shadow: none;
}

.ssbogc-testimonial-meta {
	padding: 1rem 1.15rem 1.15rem;
}

.ssbogc-testimonial-meta h3 {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
	line-height: 1.3;
	color: var(--ssbogc-navy-900);
}

.ssbogc-testimonial-meta p {
	margin: 0;
	font-size: 0.86rem;
	line-height: 1.5;
	color: var(--ssbogc-gray-600);
}

.ssbogc-testimonial-tag {
	display: inline-block;
	margin-right: 0.35rem;
	padding: 1px 8px;
	border-radius: 999px;
	background: rgba(22, 163, 74, 0.12);
	color: #15803d;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	vertical-align: 1px;
}

.ssbogc-testimonial-more {
	margin: 2rem 0 0;
	text-align: center;
	font-weight: 600;
}

.ssbogc-testimonial-more a {
	color: var(--ssbogc-navy-900);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ssbogc-testimonial-more a:hover {
	color: var(--ssbogc-gold-700, #b45309);
}

@media (prefers-reduced-motion: reduce) {
	.ssbogc-testimonial-card,
	.ssbogc-testimonial-card:hover {
		transition: none;
		transform: none;
	}
}

/* Testimonial video wall. */
.ssbogc-video-grid-multi {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 620px) {
	.ssbogc-video-grid-multi {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1000px) {
	.ssbogc-video-grid-multi {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ==========================================================================
   Registration form
   The plugin emits .ssbogc-form-wrapper, .ssbogc-steps-indicator,
   .ssbogc-form-step, .form-field-row, .form-field-grid,
   .form-checkbox-row and .ssbogc-fee-summary-box. None had a rule, so all
   three steps rendered at once, stacked, at browser-default field sizes.
   The step JS was already correct: it toggles .active, which nothing styled.
   ========================================================================== */

.ssbogc-form-wrapper {
	max-width: 780px;
	margin: 0 auto;
	background: var(--ssbogc-white);
	border: 1px solid var(--ssbogc-gray-200);
	border-radius: var(--ssbogc-radius-lg);
	box-shadow: var(--ssbogc-shadow-md);
	padding: 1.75rem;
}

@media (min-width: 700px) {
	.ssbogc-form-wrapper {
		padding: 2.5rem;
	}
}

/* Step indicator ------------------------------------------------------- */

.ssbogc-steps-indicator {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.5rem;
	margin-bottom: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--ssbogc-gray-200);
}

.ssbogc-steps-indicator .step-badge {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--ssbogc-gray-500);
	line-height: 1.25;
	padding-top: 0.4rem;
	border-top: 3px solid var(--ssbogc-gray-200);
	transition: var(--ssbogc-transition);
}

.ssbogc-steps-indicator .step-badge span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	border-radius: var(--ssbogc-radius-full);
	background: var(--ssbogc-gray-200);
	color: var(--ssbogc-gray-600);
	font-family: var(--ssbogc-font-heading);
	font-weight: 800;
	font-size: 0.8rem;
}

.ssbogc-steps-indicator .step-badge.active {
	color: var(--ssbogc-navy-900);
	border-top-color: var(--ssbogc-gold-500);
}

.ssbogc-steps-indicator .step-badge.active span {
	background: var(--ssbogc-gold-gradient);
	color: var(--ssbogc-navy-950);
}

/* Step panels ---------------------------------------------------------- */

.ssbogc-form-step {
	display: none;
}

.ssbogc-form-step.active {
	display: block;
}

.ssbogc-form-step h3 {
	font-size: 1.15rem;
	margin-bottom: 1.25rem;
	padding-bottom: 0.6rem;
	border-bottom: 2px solid var(--ssbogc-gold-500);
}

/* Fields --------------------------------------------------------------- */

.form-field-row {
	margin-bottom: 1.1rem;
}

.form-field-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0 1.25rem;
}

@media (min-width: 620px) {
	.form-field-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.ssbogc-form-wrapper label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--ssbogc-navy-900);
	margin-bottom: 0.35rem;
}

.ssbogc-form-wrapper input[type="text"],
.ssbogc-form-wrapper input[type="email"],
.ssbogc-form-wrapper input[type="tel"],
.ssbogc-form-wrapper input[type="date"],
.ssbogc-form-wrapper input[type="password"],
.ssbogc-form-wrapper select,
.ssbogc-form-wrapper textarea {
	width: 100%;
	font-family: var(--ssbogc-font-body);
	font-size: 1rem;
	color: var(--ssbogc-gray-800);
	background: var(--ssbogc-white);
	/* 44px min keeps the touch target usable on mobile. */
	min-height: 44px;
	padding: 0.6rem 0.85rem;
	border: 1px solid var(--ssbogc-gray-300);
	border-radius: var(--ssbogc-radius-md);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	appearance: none;
	-webkit-appearance: none;
}

.ssbogc-form-wrapper select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.9rem center;
	padding-right: 2.25rem;
}

.ssbogc-form-wrapper input:focus,
.ssbogc-form-wrapper select:focus,
.ssbogc-form-wrapper textarea:focus {
	outline: none;
	border-color: var(--ssbogc-gold-500);
	box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.18);
}

.ssbogc-form-wrapper input:invalid:not(:placeholder-shown) {
	border-color: var(--ssbogc-red-600);
}

.form-help-text,
.field-hint {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.78rem;
	color: var(--ssbogc-gray-500);
	line-height: 1.45;
}

/* Checkboxes and declarations ------------------------------------------ */

.form-checkbox-row {
	margin-bottom: 0.85rem;
}

/* The label holds a checkbox, a <strong>, and a bare text node: three
   children. As a two-column grid the text became a third item and wrapped to
   its own row, so `auto` sized column one to the full sentence. Indenting the
   block and taking the checkbox out of flow lets the rest stay inline
   regardless of how many elements the declaration is split into. */
.form-checkbox-row label {
	display: block;
	position: relative;
	padding-left: 1.85rem;
	font-size: 0.88rem;
	font-weight: 400;
	line-height: 1.55;
	color: var(--ssbogc-gray-700);
	margin-bottom: 0;
	cursor: pointer;
}

.form-checkbox-row input[type="checkbox"] {
	position: absolute;
	left: 0;
	top: 0.18rem;
	width: 18px;
	height: 18px;
	accent-color: var(--ssbogc-gold-600);
	cursor: pointer;
}

.form-checkbox-row strong {
	color: var(--ssbogc-navy-900);
}

/* Course track choice --------------------------------------------------
   The first question on the form, because it changes the fee, the hostel
   nights and the date the candidate reports on. Rendered as two cards
   rather than a select so both fees are visible side by side without a
   click. */

.ssbogc-track-choice {
	border: none;
	padding: 0;
	margin: 0 0 1.5rem;
}

.ssbogc-track-choice legend {
	padding: 0;
	margin-bottom: 0.65rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--ssbogc-navy-900);
}

.ssbogc-form-wrapper .ssbogc-track-option {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	padding: 1rem 1.1rem;
	margin-bottom: 0.6rem;
	background: var(--ssbogc-white, #fff);
	border: 1px solid var(--ssbogc-gray-200);
	border-radius: var(--ssbogc-radius-md);
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ssbogc-form-wrapper .ssbogc-track-option:hover {
	border-color: var(--ssbogc-gold-500);
}

/* :has() carries the selected state without asking the script to toggle a
   class; browsers without it simply show the radio, which still reads
   correctly. */
.ssbogc-form-wrapper .ssbogc-track-option:has(input:checked) {
	border-color: var(--ssbogc-gold-500);
	box-shadow: inset 0 0 0 1px var(--ssbogc-gold-500);
	background: var(--ssbogc-bg-light);
}

.ssbogc-form-wrapper .ssbogc-track-option:has(input:focus-visible) {
	outline: 2px solid var(--ssbogc-gold-600);
	outline-offset: 2px;
}

.ssbogc-form-wrapper .ssbogc-track-option input[type="radio"] {
	margin-top: 0.25rem;
	width: 18px;
	height: 18px;
	accent-color: var(--ssbogc-gold-600);
	flex: none;
	cursor: pointer;
}

.ssbogc-form-wrapper .ssbogc-track-option .track-body {
	flex: 1 1 auto;
	min-width: 0;
}

.ssbogc-form-wrapper .ssbogc-track-option .track-name {
	display: block;
	font-family: var(--ssbogc-font-heading);
	font-size: 1rem;
	color: var(--ssbogc-navy-900);
	margin-bottom: 0.15rem;
}

.ssbogc-form-wrapper .ssbogc-track-option .track-meta {
	display: block;
	font-size: 0.85rem;
	line-height: 1.5;
	color: var(--ssbogc-gray-500);
}

.ssbogc-form-wrapper .ssbogc-track-option .track-fee {
	flex: none;
	font-family: var(--ssbogc-font-heading);
	font-size: 1.05rem;
	color: var(--ssbogc-navy-900);
	white-space: nowrap;
}

.ssbogc-track-reporting {
	margin: 0.2rem 0 0;
	padding: 0.7rem 0.9rem;
	background: var(--ssbogc-bg-light);
	border-left: 3px solid var(--ssbogc-gold-500);
	border-radius: 0 var(--ssbogc-radius-sm, 4px) var(--ssbogc-radius-sm, 4px) 0;
	font-size: 0.88rem;
	line-height: 1.55;
	color: var(--ssbogc-gray-600);
}

.ssbogc-track-reporting strong {
	color: var(--ssbogc-navy-900);
}

@media (max-width: 480px) {
	.ssbogc-form-wrapper .ssbogc-track-option {
		flex-wrap: wrap;
	}

	.ssbogc-form-wrapper .ssbogc-track-option .track-fee {
		width: 100%;
		/* Below 480px the radio takes its own line, so the title, the
		   description and the fee all start at the card padding. */
		padding-left: 0;
	}
}

/* Fee summary ---------------------------------------------------------- */

.ssbogc-fee-summary-box {
	background: var(--ssbogc-bg-light);
	border: 1px solid var(--ssbogc-gray-200);
	border-left: 4px solid var(--ssbogc-gold-500);
	border-radius: var(--ssbogc-radius-md);
	padding: 1.25rem 1.4rem;
	margin-bottom: 1.75rem;
}

.ssbogc-fee-summary-box h4 {
	font-size: 0.82rem;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--ssbogc-gray-500);
	margin-bottom: 0.8rem;
}

.ssbogc-fee-summary-box p {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0 0 0.45rem;
	font-size: 0.92rem;
	color: var(--ssbogc-gray-600);
}

.ssbogc-fee-summary-box strong {
	color: var(--ssbogc-navy-900);
	font-family: var(--ssbogc-font-heading);
}

.ssbogc-fee-summary-box small {
	display: block;
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--ssbogc-gray-200);
	font-size: 0.8rem;
	color: var(--ssbogc-gray-500);
	line-height: 1.5;
}

/* Registration v2: choice pills, inline errors, review ------------------ */

.ssbogc-choice-group {
	border: none;
	padding: 0;
	margin: 0 0 1.25rem;
}

.ssbogc-choice-group[hidden] {
	display: none;
}

.ssbogc-choice-group legend {
	padding: 0;
	margin-bottom: 0.6rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--ssbogc-navy-900);
}

.ssbogc-legend-note,
.ssbogc-optional {
	font-weight: 400;
	font-size: 0.8rem;
	color: var(--ssbogc-gray-500);
}

.ssbogc-choice-pills {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.6rem;
}

@media (min-width: 480px) {
	.ssbogc-choice-pills {
		grid-template-columns: repeat(2, 1fr);
	}
}

.ssbogc-form-wrapper .ssbogc-choice-pills label {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 48px;
	margin: 0;
	padding: 0.7rem 1rem;
	border: 1px solid var(--ssbogc-gray-300);
	border-radius: var(--ssbogc-radius-md);
	background: var(--ssbogc-white);
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--ssbogc-navy-900);
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.ssbogc-choice-pills input[type="radio"] {
	width: 18px;
	height: 18px;
	flex: none;
	accent-color: var(--ssbogc-gold-600);
	cursor: pointer;
}

.ssbogc-form-wrapper .ssbogc-choice-pills label:hover {
	border-color: var(--ssbogc-gold-500);
}

.ssbogc-form-wrapper .ssbogc-choice-pills label:has(input:checked) {
	border-color: var(--ssbogc-gold-500);
	box-shadow: inset 0 0 0 1px var(--ssbogc-gold-500);
	background: var(--ssbogc-bg-light);
}

.ssbogc-batch-choice .ssbogc-batch-option {
	align-items: center;
}

.ssbogc-batch-empty {
	padding: 0.9rem 1rem;
	background: var(--ssbogc-bg-light);
	border-radius: var(--ssbogc-radius-md);
	font-size: 0.9rem;
	color: var(--ssbogc-gray-700);
}

/* +91 prefix on phone inputs */
.ssbogc-input-prefix {
	display: flex;
	align-items: stretch;
}

.ssbogc-input-prefix span {
	display: inline-flex;
	align-items: center;
	padding: 0 0.75rem;
	border: 1px solid var(--ssbogc-gray-300);
	border-right: none;
	border-radius: var(--ssbogc-radius-md) 0 0 var(--ssbogc-radius-md);
	background: var(--ssbogc-gray-100);
	color: var(--ssbogc-gray-600);
	font-weight: 600;
	font-size: 0.95rem;
}

.ssbogc-form-wrapper .ssbogc-input-prefix input[type="tel"] {
	border-radius: 0 var(--ssbogc-radius-md) var(--ssbogc-radius-md) 0;
	min-width: 0;
}

/* Day / month / year */
.ssbogc-dob-group {
	display: grid;
	grid-template-columns: 0.8fr 1fr 1.1fr;
	gap: 0.5rem;
}

/* Inline errors */
.field-error {
	display: block;
	margin-top: 0.4rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--ssbogc-red-600, #dc2626);
	line-height: 1.4;
}

.has-error input:not([type="radio"]):not([type="checkbox"]),
.has-error select,
.has-error .ssbogc-input-prefix span {
	border-color: var(--ssbogc-red-600, #dc2626);
}

.has-error .ssbogc-choice-pills label,
.has-error.ssbogc-track-choice .ssbogc-track-option {
	border-color: rgba(220, 38, 38, 0.55);
}

.form-checkbox-row.has-error label {
	color: var(--ssbogc-red-600, #dc2626);
}

.ssbogc-steps-indicator .step-badge.done {
	color: var(--ssbogc-navy-900);
	border-top-color: var(--ssbogc-gold-500);
}

.ssbogc-form-wrapper .ssbogc-minor-consent {
	padding: 0.85rem 1rem;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: var(--ssbogc-radius-md);
}

.ssbogc-form-wrapper .ssbogc-minor-consent[hidden] {
	display: none;
}

/* Review screen */
.ssbogc-review {
	display: grid;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.ssbogc-review-section {
	border: 1px solid var(--ssbogc-gray-200);
	border-radius: var(--ssbogc-radius-md);
	padding: 1rem 1.1rem;
}

.ssbogc-review-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.6rem;
}

.ssbogc-review-head h4 {
	margin: 0;
	font-size: 0.82rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ssbogc-gray-500);
}

.ssbogc-review-edit {
	background: none;
	border: none;
	padding: 0.25rem 0.4rem;
	color: var(--ssbogc-gold-700, #b45309);
	font-weight: 700;
	font-size: 0.85rem;
	text-decoration: underline;
	cursor: pointer;
}

.ssbogc-review dl {
	display: grid;
	grid-template-columns: minmax(110px, 38%) 1fr;
	gap: 0.35rem 0.75rem;
	margin: 0;
	font-size: 0.9rem;
}

.ssbogc-review dt {
	color: var(--ssbogc-gray-500);
}

.ssbogc-review dd {
	margin: 0;
	color: var(--ssbogc-navy-900);
	font-weight: 600;
	overflow-wrap: anywhere;
}

/* Actions -------------------------------------------------------------- */

.ssbogc-form-wrapper .form-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--ssbogc-gray-200);
}

.ssbogc-form-wrapper .btn-next-step,
.ssbogc-form-wrapper .btn-submit,
.ssbogc-form-wrapper .btn-prev-step {
	font-family: var(--ssbogc-font-heading);
	font-weight: 700;
	font-size: 0.95rem;
	min-height: 46px;
	padding: 0.7rem 1.5rem;
	border-radius: var(--ssbogc-radius-md);
	border: 2px solid transparent;
	cursor: pointer;
	transition: var(--ssbogc-transition);
}

.ssbogc-form-wrapper .btn-next-step,
.ssbogc-form-wrapper .btn-submit {
	/* Forward action carries the page's primary weight. */
	background: var(--ssbogc-gold-gradient);
	color: var(--ssbogc-navy-950);
	box-shadow: 0 4px 14px rgba(245, 166, 35, 0.35);
	margin-left: auto;
}

.ssbogc-form-wrapper .btn-next-step:hover,
.ssbogc-form-wrapper .btn-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(245, 166, 35, 0.45);
}

.ssbogc-form-wrapper .btn-prev-step {
	background: transparent;
	color: var(--ssbogc-gray-600);
	border-color: var(--ssbogc-gray-300);
}

.ssbogc-form-wrapper .btn-prev-step:hover {
	background: var(--ssbogc-gray-100);
	color: var(--ssbogc-navy-900);
}

.ssbogc-form-wrapper .btn-submit:disabled,
.ssbogc-form-wrapper .btn-next-step:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* Messages ------------------------------------------------------------- */

#ssbogc-form-messages:empty {
	display: none;
}

#ssbogc-form-messages .ssbogc-msg-error,
#ssbogc-form-messages .ssbogc-msg-success {
	padding: 0.85rem 1rem;
	border-radius: var(--ssbogc-radius-md);
	font-size: 0.9rem;
	line-height: 1.5;
}

#ssbogc-form-messages .ssbogc-msg-error {
	background: var(--ssbogc-red-50);
	border: 1px solid rgba(220, 38, 38, 0.3);
	color: var(--ssbogc-red-600);
}

#ssbogc-form-messages .ssbogc-msg-success {
	background: var(--ssbogc-green-50);
	border: 1px solid rgba(22, 163, 74, 0.3);
	color: var(--ssbogc-green-600);
}

/* Registration page layout --------------------------------------------- */

.ssbogc-registration-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: start;
}

@media (min-width: 1000px) {
	.ssbogc-registration-layout {
		grid-template-columns: 1fr minmax(280px, 340px);
		gap: 2.5rem;
	}
	.ssbogc-registration-aside {
		position: sticky;
		top: 110px;
	}
	/* The form is centred on its own; inside the two-column layout it should
	   fill its track instead. */
	.ssbogc-registration-layout .ssbogc-form-wrapper {
		max-width: none;
		margin: 0;
	}
}

.ssbogc-reg-steps-card {
	background: var(--ssbogc-navy-900);
	color: var(--ssbogc-white);
	border-radius: var(--ssbogc-radius-lg);
	padding: 1.5rem;
}

.ssbogc-reg-steps-card h3 {
	color: var(--ssbogc-gold-400);
	font-size: 0.82rem;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

.ssbogc-reg-steps-card ol {
	list-style: none;
	counter-reset: regstep;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.85rem;
}

.ssbogc-reg-steps-card li {
	counter-increment: regstep;
	position: relative;
	padding-left: 2rem;
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--ssbogc-gray-300);
}

.ssbogc-reg-steps-card li::before {
	content: counter(regstep);
	position: absolute;
	left: 0;
	top: 0;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--ssbogc-radius-full);
	background: rgba(245, 166, 35, 0.2);
	color: var(--ssbogc-gold-400);
	font-family: var(--ssbogc-font-heading);
	font-weight: 800;
	font-size: 0.72rem;
}

.ssbogc-reg-note {
	margin-top: 1.25rem;
	padding: 1rem 1.15rem;
	background: var(--ssbogc-bg-light);
	border: 1px solid var(--ssbogc-gray-200);
	border-radius: var(--ssbogc-radius-md);
	font-size: 0.85rem;
	color: var(--ssbogc-gray-600);
	line-height: 1.55;
}

/* ==========================================================================
   Contact page
   Replaces an inline <style> block the template injected mid-body, which
   also fought the .ssbogc-contact-grid rules the homepage already defines.
   ========================================================================== */

.ssbogc-contact-page-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: start;
}

@media (min-width: 992px) {
	.ssbogc-contact-page-grid {
		grid-template-columns: 1fr 1.15fr;
		gap: 3rem;
	}
}

.ssbogc-contact-note {
	font-size: 0.85rem;
	color: var(--ssbogc-gray-500);
}

.ssbogc-contact-form-card {
	background: var(--ssbogc-white);
	border: 1px solid var(--ssbogc-gray-200);
	border-radius: var(--ssbogc-radius-lg);
	box-shadow: var(--ssbogc-shadow-lg);
	padding: 1.75rem;
}

@media (min-width: 700px) {
	.ssbogc-contact-form-card {
		padding: 2.25rem;
	}
}

.ssbogc-contact-form-card h2 {
	font-size: 1.4rem;
	margin-bottom: 0.35rem;
}

.ssbogc-contact-form-lead {
	font-size: 0.92rem;
	color: var(--ssbogc-gray-600);
	margin-bottom: 1.5rem;
}

/* The enquiry form shares the registration form's field styling. */
.ssbogc-contact-form-wrapper .form-field-row {
	margin-bottom: 1.1rem;
}

.ssbogc-contact-form-wrapper label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--ssbogc-navy-900);
	margin-bottom: 0.35rem;
}

.ssbogc-contact-form-wrapper input[type="text"],
.ssbogc-contact-form-wrapper input[type="email"],
.ssbogc-contact-form-wrapper input[type="tel"],
.ssbogc-contact-form-wrapper select,
.ssbogc-contact-form-wrapper textarea {
	width: 100%;
	font-family: var(--ssbogc-font-body);
	font-size: 1rem;
	color: var(--ssbogc-gray-800);
	background: var(--ssbogc-white);
	min-height: 44px;
	padding: 0.6rem 0.85rem;
	border: 1px solid var(--ssbogc-gray-300);
	border-radius: var(--ssbogc-radius-md);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ssbogc-contact-form-wrapper textarea {
	min-height: 120px;
	resize: vertical;
}

.ssbogc-contact-form-wrapper input:focus,
.ssbogc-contact-form-wrapper select:focus,
.ssbogc-contact-form-wrapper textarea:focus {
	outline: none;
	border-color: var(--ssbogc-gold-500);
	box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.18);
}

.ssbogc-contact-form-wrapper button[type="submit"],
.ssbogc-contact-form-wrapper .btn-submit {
	width: 100%;
	font-family: var(--ssbogc-font-heading);
	font-weight: 700;
	font-size: 0.95rem;
	min-height: 46px;
	padding: 0.7rem 1.5rem;
	border: 0;
	border-radius: var(--ssbogc-radius-md);
	background: var(--ssbogc-gold-gradient);
	color: var(--ssbogc-navy-950);
	box-shadow: 0 4px 14px rgba(245, 166, 35, 0.35);
	cursor: pointer;
	transition: var(--ssbogc-transition);
}

.ssbogc-contact-form-wrapper button[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(245, 166, 35, 0.45);
}

/* Visiting section: map beside the practical notes. */
.ssbogc-visit-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: start;
}

/* The two-column rule that used to sit here is gone with the notes: they moved
   up beside the photograph, leaving the map as the grid's only child, so it
   takes the full width instead of a 1.2fr track with an empty one beside it. */

.ssbogc-visit-notes {
	margin-top: 1.75rem;
}

/* No min-height: the facade card sizes itself, and forcing 320px left ~109px
   of empty grey below it. Once the visitor loads the map, the iframe rule
   below gives it a real height. */
.ssbogc-visit-map {
	border-radius: var(--ssbogc-radius-lg);
	overflow: hidden;
}

.ssbogc-visit-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 340px;
	border: 0;
}

.ssbogc-visit-notes .ssbogc-contact-item p {
	font-size: 0.93rem;
	color: var(--ssbogc-gray-600);
}

/* ==========================================================================
   Contact detail cards
   Replaces a flat label/value list. Two columns of cards, with the address
   and email spanning both because their values are long. Actionable cards
   (phone, WhatsApp, email) are anchors and behave like one target.
   ========================================================================== */

.ssbogc-contact-details {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.9rem;
}

@media (min-width: 560px) {
	.ssbogc-contact-details {
		grid-template-columns: repeat(2, 1fr);
	}
	.ssbogc-contact-card--wide {
		grid-column: 1 / -1;
	}
}

.ssbogc-contact-card {
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
	padding: 1.1rem 1.15rem;
	background: var(--ssbogc-white);
	border: 1px solid var(--ssbogc-gray-200);
	border-radius: var(--ssbogc-radius-lg);
	box-shadow: var(--ssbogc-shadow-sm);
	transition: var(--ssbogc-transition);
	/* Anchors in this grid must not inherit link colour for their body text. */
	color: inherit;
	text-decoration: none;
}

.ssbogc-contact-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	border-radius: var(--ssbogc-radius-md);
	background: var(--ssbogc-navy-900);
	color: var(--ssbogc-gold-400);
	transition: var(--ssbogc-transition);
}

.ssbogc-contact-card-body {
	display: block;
	min-width: 0;
}

.ssbogc-contact-card-label {
	display: block;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--ssbogc-gray-500);
	margin-bottom: 0.2rem;
}

.ssbogc-contact-card-value {
	display: block;
	margin: 0;
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.45;
	color: var(--ssbogc-navy-900);
	/* Long email addresses must not push the card wider than its track. */
	overflow-wrap: anywhere;
}

.ssbogc-contact-card-hint {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.78rem;
	font-weight: 400;
	color: var(--ssbogc-gray-500);
	line-height: 1.45;
}

/* Actionable cards ----------------------------------------------------- */

.ssbogc-contact-card--link {
	cursor: pointer;
}

.ssbogc-contact-card--link:hover {
	border-color: var(--ssbogc-gold-500);
	box-shadow: var(--ssbogc-shadow-md);
	transform: translateY(-2px);
	color: inherit;
}

.ssbogc-contact-card--link:hover .ssbogc-contact-card-icon {
	background: var(--ssbogc-gold-gradient);
	color: var(--ssbogc-navy-950);
}

.ssbogc-contact-card--link:focus-visible {
	outline: 2px solid var(--ssbogc-gold-500);
	outline-offset: 2px;
}

.ssbogc-contact-card--whatsapp .ssbogc-contact-card-icon {
	background: #16A34A;
	color: var(--ssbogc-white);
}

.ssbogc-contact-card--whatsapp:hover .ssbogc-contact-card-icon {
	background: #15803D;
	color: var(--ssbogc-white);
}

/* The query window is the one candidates most often get wrong, so it is
   tinted rather than left to blend into the grid. */
.ssbogc-contact-card--accent {
	background: #FFF7ED;
	border-color: rgba(245, 166, 35, 0.4);
}

/* The warm tint drops the card's grey type to 4.5:1 exactly; one step darker
   clears AA with room to spare. */
.ssbogc-contact-card--accent .ssbogc-contact-card-label,
.ssbogc-contact-card--accent .ssbogc-contact-card-hint {
	color: var(--ssbogc-gray-600);
}

.ssbogc-contact-card--accent .ssbogc-contact-card-icon {
	background: var(--ssbogc-gold-gradient);
	color: var(--ssbogc-navy-950);
}

/* Inline action inside a non-link card. */
.ssbogc-contact-card-action {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 0.65rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--ssbogc-navy-700);
}

.ssbogc-contact-card-action:hover {
	color: var(--ssbogc-gold-600);
}

.ssbogc-contact-card-action .ssbogc-icon {
	transition: transform 0.2s ease;
}

.ssbogc-contact-card-action:hover .ssbogc-icon {
	transform: rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
	.ssbogc-contact-card,
	.ssbogc-contact-card-icon,
	.ssbogc-contact-card-action .ssbogc-icon {
		transition: none;
	}
	.ssbogc-contact-card--link:hover {
		transform: none;
	}
	.ssbogc-contact-card-action:hover .ssbogc-icon {
		transform: none;
	}
}

/* Visiting notes reuse the card shell. */
.ssbogc-visit-notes .ssbogc-contact-item {
	display: flex;
	gap: 0.9rem;
	align-items: flex-start;
	padding: 1.1rem 1.15rem;
	background: var(--ssbogc-white);
	border: 1px solid var(--ssbogc-gray-200);
	border-radius: var(--ssbogc-radius-lg);
	margin-bottom: 0.9rem;
}

.ssbogc-visit-notes .ssbogc-contact-item h3 {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--ssbogc-gray-500);
	margin-bottom: 0.25rem;
}

/* ==========================================================================
   Photographic components (banner, split, gallery)

   Shared by the homepage and the About, Course, Dehradun, Contact and Batches
   templates. Every box locks its ratio before the image decodes.
   ========================================================================== */

/* A wide photograph that breaks up a run of body copy or cards. Capped well
   inside the container: at full 1192px width the 16:9 box came out 671px tall
   and swamped the section it was meant to punctuate. */
.ssbogc-media-banner {
	max-width: 780px;
	margin: 0 auto 3rem;
}

/* The banner carried a bottom margin but no top one, so where it follows copy
   (the outcome list on the course page, the article body on the Dehradun page)
   the image sat flush against the last line. Skipped when the banner opens a
   section, where the section's own padding already provides the space. */
.ssbogc-media-banner:not(:first-child) {
	margin-top: 2.5rem;
}

.ssbogc-media-banner-img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	object-fit: cover;
	border-radius: var(--ssbogc-radius-lg);
	box-shadow: var(--ssbogc-shadow-lg);
	background-color: var(--ssbogc-gray-100);
}

/* The 16:9 crop is right for wide classroom and campus shots, but it takes a
   slice off the top and bottom of anything squarer. On the felicitation
   photograph that slice lands on the heads, so this modifier hands the box
   back to the image's own ratio. The width/height attributes still reserve
   the space, so nothing shifts while it decodes. */
.ssbogc-media-banner-natural .ssbogc-media-banner-img {
	aspect-ratio: auto;
	object-fit: contain;
}

.ssbogc-media-banner figcaption {
	margin-top: 0.85rem;
	font-size: 0.9rem;
	color: var(--ssbogc-gray-600);
	text-align: center;
}

/* A section's photograph beside its copy. Stacks image-first on mobile. */
.ssbogc-media-split {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: center;
}

/* Copy measure, not block width, is what stops a few lines being stranded
   across a wide column. Capping the block instead centred it inside the
   container, which left this block's edges 186px inside the full-width grid
   directly below it in the same section. Scoped to paragraphs so cards placed
   in this column keep the full width. */
.ssbogc-media-split-body > p {
	max-width: 58ch;
}

.ssbogc-media-split-figure {
	margin: 0;
}

.ssbogc-media-split-figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--ssbogc-radius-lg);
	box-shadow: var(--ssbogc-shadow-lg);
	background-color: var(--ssbogc-gray-100);
}

/* Single column, so the portrait keeps a ratio of its own. */
.ssbogc-media-split-figure--portrait img {
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

/* Collapse the first and last margins inside the copy column so its text
   starts and ends flush with the photograph's edges rather than 32px below
   and 15px above them. */
.ssbogc-media-split-body > :first-child {
	margin-top: 0;
}

.ssbogc-media-split-body > :last-child,
.ssbogc-media-split-body > :last-child > :last-child {
	margin-bottom: 0;
}

/* Two columns. A fixed figure track rather than a fraction of the container:
   at 0.8fr the portrait came out 461px wide and therefore 691px tall, towering
   over copy that was only 176px.

   The photograph is then taken out of flow and pinned to its column, so the
   row height comes from the copy alone and the image fills it, top edge level
   with the heading and bottom edge with the last line. Sizing it by its own
   ratio instead left it either overshooting the copy or stopping short. This
   block sits after the base rules deliberately: the ratio override below has
   the same specificity as the rule it replaces, so order is what decides it.
   min-height keeps the frame sensible where the copy is brief. */
@media (min-width: 768px) {
	.ssbogc-media-split {
		grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
		gap: 2.5rem;
		align-items: stretch;
	}

	.ssbogc-media-split-figure {
		position: relative;
		min-height: 420px;
	}

	.ssbogc-media-split-figure--portrait img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		aspect-ratio: auto;
	}
}

/* Photo gallery. Every frame is a 16:9 still, so the boxes match the sources
   and nothing is cropped away. The caption sits in a white card below the
   photo rather than on top of it: an overlay covered the faces, which are
   the point of these pictures. */
.ssbogc-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.25rem;
	margin-top: 2.5rem;
}

.ssbogc-gallery-item {
	display: flex;
	flex-direction: column;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--ssbogc-gray-200);
	border-radius: var(--ssbogc-radius-lg);
	background-color: var(--ssbogc-white);
	box-shadow: var(--ssbogc-shadow-sm);
	transition: var(--ssbogc-transition);
}

.ssbogc-gallery-item:hover {
	box-shadow: var(--ssbogc-shadow-lg);
	transform: translateY(-3px);
}

.ssbogc-gallery-item img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	object-fit: cover;
	background-color: var(--ssbogc-gray-100);
}

.ssbogc-gallery-item figcaption {
	flex: 1;
	padding: 0.95rem 1.05rem 1.05rem;
	border-top: 3px solid var(--ssbogc-gold-500);
	font-size: 0.86rem;
	line-height: 1.55;
	color: var(--ssbogc-gray-600);
}

.ssbogc-gallery-kicker {
	display: block;
	margin-bottom: 0.25rem;
	font-family: var(--ssbogc-font-heading);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ssbogc-navy-900);
}

@media (prefers-reduced-motion: reduce) {
	.ssbogc-gallery-item {
		transition: none;
	}

	.ssbogc-gallery-item:hover {
		transform: none;
	}
}


/* ==========================================================================
   Archives
   Category, tag, author and date listings, plus the pagination control they
   share with the Preparation Hub — .ssbogc-pagination-wrap was emitted by the
   hub shortcode but never had a rule, so paginate_links() rendered bare.
   ========================================================================== */

.ssbogc-archive-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 2rem;
	font-size: 0.85rem;
	color: var(--ssbogc-gray-500);
}

.ssbogc-archive-breadcrumb a {
	color: var(--ssbogc-navy-700);
	text-decoration: none;
}

.ssbogc-archive-breadcrumb a:hover,
.ssbogc-archive-breadcrumb a:focus {
	color: var(--ssbogc-gold-600);
	text-decoration: underline;
}

.ssbogc-archive-breadcrumb span[aria-hidden="true"] {
	color: var(--ssbogc-gray-300);
}

.ssbogc-pagination-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	margin-top: 3rem;
}

.ssbogc-pagination-wrap .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	height: 2.75rem;
	padding: 0 0.85rem;
	border: 1px solid var(--ssbogc-gray-200);
	border-radius: var(--ssbogc-radius-sm);
	font-family: var(--ssbogc-font-heading);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--ssbogc-navy-900);
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ssbogc-pagination-wrap a.page-numbers:hover,
.ssbogc-pagination-wrap a.page-numbers:focus {
	background-color: var(--ssbogc-gray-100);
	border-color: var(--ssbogc-gold-500);
	color: var(--ssbogc-gold-700);
}

.ssbogc-pagination-wrap .page-numbers.current {
	background: var(--ssbogc-navy-900);
	border-color: var(--ssbogc-navy-900);
	color: var(--ssbogc-white);
}

.ssbogc-pagination-wrap .page-numbers.dots {
	border-color: transparent;
	color: var(--ssbogc-gray-500);
}

/* Article banner. The 16:9 box is enforced here as well as by the cropped
   image size, because an image uploaded before that size existed — or one too
   small for WordPress to crop — is served at its own ratio. object-fit then
   centre-crops it into the same frame, so every article opens on one shape. */
.ssbogc-article-cover {
	margin: 0 0 2.5rem;
	border-radius: var(--ssbogc-radius-lg);
	overflow: hidden;
	box-shadow: var(--ssbogc-shadow-md);
	background: var(--ssbogc-gray-100);
}

.ssbogc-article-cover-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* Last-resort cover panel, used only when GD cannot draw a generated cover. */
.ssbogc-cover-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: var(--ssbogc-hero-gradient);
}

.ssbogc-cover-placeholder-mark {
	font-family: var(--ssbogc-font-heading);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ssbogc-gold-500);
}

/* the_posts_pagination() nests its links inside nav > .nav-links, so the flex
   row has to be re-established on that child; paginate_links() emits the links
   directly and is already handled above. */
.ssbogc-pagination-wrap .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
}

.ssbogc-pagination-wrap .navigation {
	width: 100%;
}

/* Hero crest, tablet and mobile only.
   The hero background photograph is desktop-only (the collage is landscape and
   the stacked hero is portrait), so below 992px the band opened on plain text.
   The crest gives it an anchor there. Hidden from 992px up, where the
   photograph and the two-column layout carry the section instead.
   alt="" because the brand name is stated in the <h1> immediately below it —
   announcing the crest as well would just repeat it to a screen reader. */
.ssbogc-hero-crest {
	display: block;
	width: clamp(100px, 26vw, 140px);
	height: auto;
	margin: 0 auto 1.25rem;
}

@media (min-width: 992px) {
	.ssbogc-hero-crest {
		display: none;
	}
}

/* Hero copy centres under the crest below 992px.
   Scoped to a max-width query rather than centring in the base and undoing it
   at 992px: the desktop hero is a two-column layout whose copy is deliberately
   left-aligned against the background photograph, and a reset that missed one
   property would have quietly changed it. This way the desktop rules are never
   in the cascade at all.
   .ssbogc-hero-content also loses its 680px cap here so the centred column is
   measured from the container, not from a box pinned to the left edge. */
@media (max-width: 991.98px) {
	.ssbogc-hero-content {
		max-width: none;
		text-align: center;
	}

	.ssbogc-hero-lead {
		margin-inline: auto;
		max-width: 60ch;
	}

	.ssbogc-hero-content .ssbogc-btn-group {
		justify-content: center;
	}
}

/* ==========================================================================
   Google review badge
   States the Business Profile standing and links out to it. Sits on the navy
   hero and on white page content, so it takes its colour from the surface via
   currentColor rather than hard-coding two variants.
   ========================================================================== */

.ssbogc-review-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.55rem 0.95rem;
	border: 1px solid rgba(245, 166, 35, 0.35);
	border-radius: var(--ssbogc-radius-full);
	background: rgba(10, 25, 47, 0.55);
	font-size: 0.86rem;
	line-height: 1;
	color: var(--ssbogc-gray-200);
	text-decoration: none;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

a.ssbogc-review-badge:hover,
a.ssbogc-review-badge:focus {
	border-color: var(--ssbogc-gold-500);
	background: rgba(10, 25, 47, 0.75);
}

.ssbogc-review-badge-stars {
	display: inline-flex;
	gap: 1px;
	color: var(--ssbogc-gold-500);
}

.ssbogc-review-badge-text strong {
	font-family: var(--ssbogc-font-heading);
	font-weight: 800;
	color: var(--ssbogc-white);
	margin-right: 0.3rem;
}

/* On light surfaces the navy fill and pale text invert. */
.ssbogc-review-badge--onlight {
	background: var(--ssbogc-white);
	border-color: var(--ssbogc-gray-200);
	color: var(--ssbogc-gray-600);
	box-shadow: var(--ssbogc-shadow-sm);
}

.ssbogc-review-badge--onlight .ssbogc-review-badge-text strong {
	color: var(--ssbogc-navy-900);
}

a.ssbogc-review-badge--onlight:hover,
a.ssbogc-review-badge--onlight:focus {
	background: var(--ssbogc-white);
	border-color: var(--ssbogc-gold-500);
}

/* In the hero the badge follows the buttons; centred with the rest of the copy
   below 992px, left-aligned beside it on desktop. */
.ssbogc-hero .ssbogc-review-badge {
	margin-top: 1.5rem;
}

.ssbogc-batch-card .batch-card-label {
	align-self: flex-start;
	padding: 0.32rem 0.7rem;
	border-radius: var(--ssbogc-radius-full);
	background: #FFF7ED;
	color: #9A4D00;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.045em;
	text-transform: uppercase;
}

/* Batch card detail panel */
.ssbogc-batch-card {
	border-color: #d7e0ec;
	box-shadow: 0 4px 16px rgba(15, 35, 62, 0.06);
}

.ssbogc-batch-card .batch-details {
	gap: 0.55rem;
	padding-top: 0.9rem;
}

.ssbogc-batch-card .batch-details > div {
	padding: 0.55rem 0.65rem;
	border: 1px solid #e6edf5;
	border-radius: 0.65rem;
	background: #f8fafd;
}

.ssbogc-batch-card .batch-details dt {
	display: flex;
	align-items: center;
	gap: 0.42rem;
	line-height: 1.35;
	margin-bottom: 0.35rem;
}

.ssbogc-batch-card .batch-details dt .fa-solid {
	width: 1.3rem;
	height: 1.3rem;
	border-radius: 0.35rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #e7eef8;
	color: #19436d;
	font-size: 0.68rem;
	letter-spacing: 0;
	flex: none;
}

.ssbogc-batch-card .batch-details dd {
	overflow-wrap: anywhere;
}

.ssbogc-batch-card .batch-details-hostel {
	grid-column: 1 / -1;
}

.ssbogc-batch-card .hostel-availability {
	display: flex;
	align-items: center;
	gap: 1rem;
	white-space: nowrap;
	overflow-wrap: normal;
}

.ssbogc-batch-card .hostel-option {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	min-width: 0;
	font-size: 0.82rem;
}

.ssbogc-batch-card .hostel-check {
	color: #138a50;
	font-size: 0.95rem;
}

.ssbogc-batch-card .hostel-state {
	color: #9a4d00;
	font-size: 0.76rem;
	font-weight: 700;
}

@media (max-width: 540px) {
	.ssbogc-batches-cards-grid > .ssbogc-batch-card {
		flex-basis: 100%;
		max-width: 100%;
	}

	.ssbogc-batch-card .batch-details {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.5rem;
	}

	.ssbogc-batch-card .batch-details > div {
		padding: 0.55rem;
	}
}

@media (max-width: 370px) {
	.ssbogc-batch-card .batch-details {
		grid-template-columns: minmax(0, 1fr);
	}

	.ssbogc-batch-card .hostel-availability {
		gap: 0.7rem;
	}
}


/* Batch card heading: editorial date hierarchy and quiet availability state. */
.ssbogc-batch-card .batch-header {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.45rem;
	padding-bottom: 0.2rem;
}

.ssbogc-batch-card .batch-header-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	min-width: 0;
}

.ssbogc-batch-card .batch-kicker {
	color: #56708e;
	font-size: 0.67rem;
	font-weight: 800;
	letter-spacing: 0.105em;
	text-transform: uppercase;
	white-space: nowrap;
}

.ssbogc-batch-card .batch-header .batch-card-label {
	max-width: 62%;
	margin: 0;
	padding: 0.27rem 0.6rem;
	font-size: 0.64rem;
	line-height: 1.25;
	text-align: center;
	white-space: normal;
	overflow-wrap: anywhere;
	flex: 0 1 auto;
}

.ssbogc-batch-card .batch-header h4 {
	margin: 0;
	font-size: 1.13rem;
	line-height: 1.3;
	letter-spacing: -0.025em;
	color: #102139;
	text-wrap: balance;
}

.ssbogc-batch-card .batch-header .badge-status {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0;
	border-radius: 0;
	background: transparent;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.035em;
}

.ssbogc-batch-card .batch-status-dot {
	width: 0.42rem;
	height: 0.42rem;
	border-radius: 50%;
	background: currentColor;
	flex: none;
}

.ssbogc-batch-card .batch-header .badge-filling-fast,
.ssbogc-batch-card .batch-header .badge-limited {
	color: #a35b0a;
}

.ssbogc-batch-card .batch-header .badge-full,
.ssbogc-batch-card .batch-header .badge-closed,
.ssbogc-batch-card .batch-header .badge-expired {
	color: #b42332;
}

@media (max-width: 370px) {
	.ssbogc-batch-card .batch-header-meta {
		align-items: flex-start;
	}
	.ssbogc-batch-card .batch-header .batch-card-label {
		max-width: 56%;
	}
}


/* Give the batch card the available phone width instead of nesting it in two padded panels. */
@media (max-width: 540px) {
	.ssbogc-batches-table-wrapper {
		margin-left: -10px;
		margin-right: -10px;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		overflow: visible;
	}

	.ssbogc-batches-cards-grid {
		gap: 1rem;
	}

	.ssbogc-batches-cards-grid > .ssbogc-batch-card {
		min-width: 0;
		padding: 1rem;
		border-radius: 1rem;
		box-shadow: 0 5px 18px rgba(15, 35, 62, 0.08);
	}

	.ssbogc-batch-card .batch-header {
		gap: 0.38rem;
	}

	.ssbogc-batch-card .batch-header h4 {
		font-size: 1.18rem;
		line-height: 1.27;
	}

	.ssbogc-batch-card .batch-details > div {
		padding: 0.65rem;
	}

	.ssbogc-batch-card .btn-register-batch,
	.ssbogc-batch-card .btn-waitlist-trigger,
	.ssbogc-batch-card .btn-batch-closed {
		min-height: 44px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
}

@media (max-width: 540px) {
  .ssbogc-batches-table-wrapper { padding: 0 !important; }
}


@media (min-width: 371px) {
  .ssbogc-batch-card .batch-details { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}

