/**
 * SSBOGC Content Platform Stylesheet
 * Covers: Preparation Hub, Article UX (Quick Answer, Dynamic TOC, Bylines, CTAs),
 * FAQs Accordions, Success Stories Grid & Modals, Search UI, and 404 Layouts.
 *
 * @package SSBOGC_Core
 * @version 1.0.0
 */

:root {
	--ssb-navy-950: #090d16;
	--ssb-navy-900: #0f172a;
	--ssb-navy-800: #1e293b;
	--ssb-navy-700: #334155;
	--ssb-navy-600: #475569;
	--ssb-gold-500: #f59e0b;
	--ssb-gold-600: #d97706;
	--ssb-gold-700: #b45309;
	--ssb-gold-light: #fffbeb;
	--ssb-emerald-600: #059669;
	--ssb-emerald-500: #10b981;
	--ssb-emerald-light: #ecfdf5;
	--ssb-slate-50: #f8fafc;
	--ssb-slate-100: #f1f5f9;
	--ssb-slate-200: #e2e8f0;
	--ssb-slate-300: #cbd5e1;
	--ssb-radius-sm: 6px;
	--ssb-radius-md: 10px;
	--ssb-radius-lg: 16px;
	--ssb-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
	--ssb-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
	--ssb-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
	--ssb-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Shared Badges & Buttons
   ========================================================================== */
.ssbogc-badge-pill {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	background: var(--ssb-gold-light);
	color: var(--ssb-gold-700);
	border: 1px solid rgba(245, 158, 11, 0.3);
	border-radius: 9999px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.75rem;
}

/* Button styling intentionally removed.
   PRD Section 14.1: the theme owns visual components, the plugin owns
   business logic. These three classes were duplicated here with
   "color: ... !important", which overrode the theme and made demoted
   secondary buttons render white-on-transparent, i.e. invisible.
   .ssbogc-btn-primary / -secondary / -outline are defined in
   ssbogc-theme/assets/css/theme.css. */

/* ==========================================================================
   1. Preparation Hub (/blog/) Layout
   ========================================================================== */
.ssbogc-hub-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1.25rem 4rem;
	font-family: inherit;
	color: var(--ssb-navy-900);
}

.ssbogc-hub-hero {
	text-align: center;
	padding: 3rem 1.5rem;
	background: linear-gradient(135deg, #090d16 0%, #0f172a 60%, #1e293b 100%);
	border-radius: var(--ssb-radius-lg);
	color: #ffffff;
	margin-bottom: 2.5rem;
	box-shadow: var(--ssb-shadow-lg);
	position: relative;
	overflow: hidden;
}

.ssbogc-hub-hero::before {
	content: "";
	position: absolute;
	top: -50%;
	right: -20%;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0) 70%);
	pointer-events: none;
}

.ssbogc-hub-title {
	font-size: 2.25rem;
	font-weight: 800;
	color: #ffffff;
	margin: 0.5rem 0 1rem;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.ssbogc-hub-subtitle {
	font-size: 1.1rem;
	color: #cbd5e1;
	max-width: 780px;
	margin: 0 auto 2rem;
	line-height: 1.6;
}

.ssbogc-hub-search-wrap {
	max-width: 620px;
	margin: 0 auto;
}

/* Start Here Onboarding Box */
.ssbogc-start-here-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.75rem 2rem;
	background: #ffffff;
	border: 2px solid var(--ssb-gold-500);
	border-radius: var(--ssb-radius-md);
	box-shadow: 0 4px 14px rgba(245, 158, 11, 0.12);
	margin-bottom: 3.5rem;
}

/* A pill, not a block. Stacked in a 90px-wide box the label broke across two
   lines ("START" / "HERE") under the icon and read as a broken button; on one
   row it reads as the label it is. */
.ssbogc-start-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-shrink: 0;
	background: var(--ssb-gold-500);
	color: #0f172a;
	padding: 8px 14px;
	border-radius: 9999px;
	font-weight: 800;
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	white-space: nowrap;
}

/* The copy takes the slack, so neither the badge nor the CTA is squeezed. */
.ssbogc-start-text {
	flex: 1;
}

.ssbogc-start-cta {
	flex-shrink: 0;
}

.ssbogc-start-text h2.ssbogc-start-heading {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--ssb-navy-900);
	margin: 0 0 0.4rem;
}

.ssbogc-start-text p {
	font-size: 0.95rem;
	color: var(--ssb-navy-700);
	margin: 0;
	line-height: 1.5;
}

/* The row only stacked below 768px, which left tablets holding all three
   columns. The badge and the CTA both refuse to shrink, so the text was the
   only thing that could give: at 900px it was down to 38% of the card and the
   paragraph ran nine lines deep in a narrow ribbon. Stack from the tablet
   range up, left aligned — the phone rule further down still centres it. */
@media (max-width: 1024px) {
	.ssbogc-start-here-card {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.15rem;
	}

	.ssbogc-start-text {
		flex: 0 0 auto;
	}
}

/* 5-Stage Roadmap Cards Grid */
.ssbogc-section-heading-wrap {
	text-align: center;
	margin-bottom: 2.5rem;
}

.ssbogc-section-heading {
	font-size: 1.85rem;
	font-weight: 800;
	color: var(--ssb-navy-900);
	margin: 0.25rem 0 0.5rem;
}

.ssbogc-section-sub {
	color: var(--ssb-navy-600);
	font-size: 1rem;
	margin: 0;
}

.ssbogc-stages-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 1.5rem;
	margin-bottom: 3.5rem;
}

.ssbogc-stage-card {
	background: #ffffff;
	border: 1px solid var(--ssb-slate-200);
	border-radius: var(--ssb-radius-lg);
	padding: 1.75rem;
	box-shadow: var(--ssb-shadow-sm);
	display: flex;
	flex-direction: column;
	transition: var(--ssb-transition);
	position: relative;
}

.ssbogc-stage-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ssb-shadow-lg);
	border-color: var(--ssb-gold-500);
}

.ssbogc-stage-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}

.ssbogc-stage-number {
	font-size: 1.5rem;
	font-weight: 900;
	color: var(--ssb-gold-600);
	font-family: monospace;
}

.ssbogc-stage-icon {
	color: var(--ssb-navy-900);
	background: var(--ssb-slate-100);
	padding: 10px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ssbogc-stage-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--ssb-navy-900);
	margin: 0 0 0.35rem;
}

.ssbogc-stage-subtitle {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--ssb-gold-700);
	margin: 0 0 0.75rem;
}

.ssbogc-stage-desc {
	font-size: 0.92rem;
	color: var(--ssb-navy-600);
	line-height: 1.55;
	margin-bottom: 1.25rem;
	flex-grow: 1;
}

.ssbogc-stage-topics {
	background: var(--ssb-slate-50);
	border-radius: var(--ssb-radius-sm);
	padding: 0.85rem 1rem;
	margin-bottom: 1.25rem;
}

.ssbogc-topics-label {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--ssb-navy-700);
	margin-bottom: 0.4rem;
}

.ssbogc-topics-list {
	margin: 0;
	padding-left: 1.2rem;
	font-size: 0.85rem;
	color: var(--ssb-navy-800);
}

.ssbogc-topics-list li {
	margin-bottom: 0.25rem;
}

/* When the list holds real guides rather than static module names, the items
   are links and need to look clickable without turning the card into a wall
   of blue. */
.ssbogc-topics-list--linked li {
	margin-bottom: 0.4rem;
	line-height: 1.35;
}

.ssbogc-topics-list--linked a {
	color: var(--ssb-navy-800);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: var(--ssb-transition);
}

.ssbogc-topics-list--linked a:hover,
.ssbogc-topics-list--linked a:focus-visible {
	color: var(--ssb-navy-900);
	border-bottom-color: currentColor;
}

.ssbogc-stage-link {
	font-weight: 700;
	color: var(--ssb-navy-900);
	text-decoration: none;
	font-size: 0.92rem;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: var(--ssb-transition);
}

.ssbogc-stage-link:hover {
	color: var(--ssb-gold-600);
	transform: translateX(4px);
}

/* Entry Scheme Chips */
.ssbogc-entries-pills-wrap {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1rem;
	margin-bottom: 3.5rem;
}

.ssbogc-entry-chip {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid var(--ssb-slate-200);
	border-radius: var(--ssb-radius-md);
	padding: 1.2rem 1rem;
	text-decoration: none !important;
	color: inherit;
	box-shadow: var(--ssb-shadow-sm);
	transition: var(--ssb-transition);
	text-align: center;
}

.ssbogc-entry-chip:hover {
	border-color: var(--ssb-navy-900);
	box-shadow: var(--ssb-shadow-md);
	transform: translateY(-3px);
}

.ssbogc-chip-code {
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--ssb-navy-900);
	margin-bottom: 0.2rem;
}

.ssbogc-chip-name {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--ssb-gold-700);
	margin-bottom: 0.35rem;
}

.ssbogc-chip-desc {
	font-size: 0.75rem;
	color: var(--ssb-navy-600);
	line-height: 1.35;
}

/* Latest Articles Grid */
.ssbogc-articles-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 1.75rem;
	margin-bottom: 2.5rem;
}

.ssbogc-article-card {
	background: #ffffff;
	border: 1px solid var(--ssb-slate-200);
	border-radius: var(--ssb-radius-md);
	overflow: hidden;
	box-shadow: var(--ssb-shadow-sm);
	display: flex;
	flex-direction: column;
	transition: var(--ssb-transition);
}

.ssbogc-article-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ssb-shadow-lg);
}

.ssbogc-article-thumb-link {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--ssb-slate-100);
}

.ssbogc-article-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.ssbogc-article-card:hover .ssbogc-article-thumb {
	transform: scale(1.05);
}

.ssbogc-article-card-body {
	padding: 1.25rem 1.5rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.ssbogc-article-meta-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--ssb-navy-600);
	margin-bottom: 0.6rem;
}

.ssbogc-article-card-title {
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0 0 0.6rem;
	line-height: 1.35;
}

.ssbogc-article-card-title a {
	color: var(--ssb-navy-900);
	text-decoration: none;
	transition: color 0.2s ease;
}

.ssbogc-article-card-title a:hover {
	color: var(--ssb-gold-600);
}

.ssbogc-article-excerpt {
	font-size: 0.9rem;
	color: var(--ssb-navy-700);
	line-height: 1.5;
	margin-bottom: 1.25rem;
	flex-grow: 1;
}

.ssbogc-read-more-link {
	font-weight: 700;
	color: var(--ssb-navy-900);
	font-size: 0.88rem;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: var(--ssb-transition);
}

.ssbogc-read-more-link:hover {
	color: var(--ssb-gold-600);
	transform: translateX(4px);
}

/* Bottom Next Batch CTA Card */
.ssbogc-banner-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: 2.5rem;
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	border-radius: var(--ssb-radius-lg);
	color: #ffffff;
	box-shadow: var(--ssb-shadow-lg);
	margin-top: 3.5rem;
}

.ssbogc-banner-title {
	font-size: 1.75rem;
	font-weight: 800;
	color: #ffffff;
	margin: 0.4rem 0 0.6rem;
}

.ssbogc-banner-desc {
	font-size: 1rem;
	color: #cbd5e1;
	max-width: 620px;
	margin: 0 0 1rem;
	line-height: 1.55;
}

.ssbogc-banner-batch-info {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: var(--ssb-radius-sm);
	font-size: 0.88rem;
}

.ssbogc-banner-col-cta {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	min-width: 220px;
}

.ssbogc-banner-col-cta .ssbogc-btn-outline {
	border-color: #cbd5e1;
	color: #ffffff !important;
}

.ssbogc-banner-col-cta .ssbogc-btn-outline:hover {
	background: #ffffff;
	color: var(--ssb-navy-900) !important;
}

/* ==========================================================================
   2. Article UX (Quick Answer, Dynamic TOC, Bylines, CTAs)
   ========================================================================== */
.ssbogc-article-header-meta {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--ssb-slate-200);
	margin-bottom: 1.5rem;
	font-size: 0.85rem;
	color: var(--ssb-navy-600);
}

.ssbogc-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
}

.ssbogc-meta-item.reviewed-date {
	color: var(--ssb-emerald-600);
}

/* Quick Answer / Key Takeaways Callout */
.ssbogc-quick-answer-card {
	background: #f0fdf4;
	border-left: 4px solid var(--ssb-emerald-500);
	border-radius: 0 var(--ssb-radius-md) var(--ssb-radius-md) 0;
	padding: 1.5rem;
	margin: 1.5rem 0 2rem;
	box-shadow: var(--ssb-shadow-sm);
}

.ssbogc-qa-header {
	margin-bottom: 0.75rem;
}

.ssbogc-qa-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--ssb-emerald-600);
	letter-spacing: 0.04em;
}

.ssbogc-qa-body {
	font-size: 1rem;
	line-height: 1.6;
	color: #064e3b;
}

.ssbogc-qa-body p:last-child {
	margin-bottom: 0;
}

/* Dynamic Table of Contents (TOC) */
.ssbogc-article-toc {
	background: var(--ssb-slate-50);
	border: 1px solid var(--ssb-slate-200);
	border-radius: var(--ssb-radius-md);
	padding: 1.25rem 1.5rem;
	margin: 2rem 0;
	box-shadow: var(--ssb-shadow-sm);
}

.ssbogc-toc-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid var(--ssb-slate-200);
	padding-bottom: 0.75rem;
	margin-bottom: 0.75rem;
}

.ssbogc-toc-title {
	font-size: 1rem;
	font-weight: 800;
	color: var(--ssb-navy-900);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.ssbogc-toc-toggle-btn {
	background: none;
	border: none;
	color: var(--ssb-navy-600);
	font-size: 0.8rem;
	font-weight: 700;
	cursor: pointer;
	padding: 2px 8px;
	border-radius: var(--ssb-radius-sm);
}

.ssbogc-toc-toggle-btn:hover {
	background: var(--ssb-slate-200);
	color: var(--ssb-navy-900);
}

.ssbogc-toc-list {
	margin: 0;
	padding-left: 1.25rem;
	list-style-type: decimal;
}

.ssbogc-toc-item {
	margin-bottom: 0.4rem;
	font-size: 0.92rem;
	line-height: 1.45;
}

.ssbogc-toc-item.level-3 {
	margin-left: 1.25rem;
	list-style-type: circle;
	font-size: 0.88rem;
}

.ssbogc-toc-item a {
	color: var(--ssb-navy-800);
	text-decoration: none;
	transition: color 0.2s ease;
}

.ssbogc-toc-item a:hover {
	color: var(--ssb-gold-600);
	text-decoration: underline;
}

.ssbogc-toc-item a.active-heading {
	color: var(--ssb-gold-600);
	font-weight: 700;
}

/* Headings with smooth scroll margin */
h2[id^="ssb-section-"],
h3[id^="ssb-section-"] {
	scroll-margin-top: 90px;
}

/* Author Byline Box */
.ssbogc-author-byline-box {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1.5rem;
	background: var(--ssb-slate-50);
	border: 1px solid var(--ssb-slate-200);
	border-radius: var(--ssb-radius-md);
	margin: 2.5rem 0;
}

.ssbogc-author-initials {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--ssb-navy-900);
	color: var(--ssb-gold-500);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	font-weight: 800;
	border: 2px solid var(--ssb-gold-500);
}

/* The byline box is a flex row and this wrapper had no rule of its own, so it
   was free to shrink. A text-filled initials circle resisted that on its
   min-content width; an image does not, and collapsed to a 4px oval. */
.ssbogc-author-avatar-wrap {
	flex: 0 0 auto;
}

/* The author's photograph, where one is set. Same circle and gold edge the
   initials occupy, so the byline box is unchanged apart from the face.
   max-width overrides the theme's global img { max-width: 100% }, which would
   otherwise let the fixed width be squeezed by the flex row. */
.ssbogc-author-avatar {
	display: block;
	width: 56px;
	height: 56px;
	max-width: none;
	border-radius: 50%;
	object-fit: cover;
	object-position: center top;
	border: 2px solid var(--ssb-gold-500);
	background: var(--ssb-navy-900);
}

.ssbogc-author-label {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--ssb-gold-700);
	letter-spacing: 0.05em;
	display: block;
}

.ssbogc-author-name {
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--ssb-navy-900);
	margin: 0.15rem 0 0.35rem;
}

.ssbogc-author-bio {
	font-size: 0.88rem;
	color: var(--ssb-navy-600);
	margin: 0;
	line-height: 1.45;
}

/* Related Guides Section */
.ssbogc-related-guides-section {
	margin: 2.5rem 0;
	padding-top: 1.5rem;
	border-top: 1px solid var(--ssb-slate-200);
}

.ssbogc-related-title {
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--ssb-navy-900);
	margin-bottom: 1rem;
}

.ssbogc-related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
}

.ssbogc-related-card {
	padding: 1rem 1.25rem;
	background: #ffffff;
	border: 1px solid var(--ssb-slate-200);
	border-radius: var(--ssb-radius-sm);
	text-decoration: none !important;
	color: inherit;
	box-shadow: var(--ssb-shadow-sm);
	transition: var(--ssb-transition);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.ssbogc-related-card:hover {
	border-color: var(--ssb-gold-500);
	transform: translateY(-2px);
	box-shadow: var(--ssb-shadow-md);
}

.ssbogc-related-card-title {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--ssb-navy-900);
	margin: 0 0 0.5rem;
	line-height: 1.4;
}

.ssbogc-related-card-meta {
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--ssb-gold-700);
}

/* End-of-Article CTA Card */
.ssbogc-article-cta-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 2rem;
	background: linear-gradient(135deg, #090d16 0%, #0f172a 100%);
	border-radius: var(--ssb-radius-md);
	color: #ffffff;
	margin: 3rem 0 1.5rem;
	box-shadow: var(--ssb-shadow-lg);
}

.ssbogc-acta-title {
	font-size: 1.35rem;
	font-weight: 800;
	color: #ffffff;
	margin: 0.35rem 0 0.5rem;
}

.ssbogc-acta-text {
	font-size: 0.92rem;
	color: #cbd5e1;
	margin: 0 0 0.85rem;
	line-height: 1.5;
}

.ssbogc-acta-batch-highlight {
	font-size: 0.85rem;
	color: var(--ssb-gold-500);
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.ssbogc-seats-badge {
	background: rgba(245, 158, 11, 0.2);
	color: #ffffff;
	padding: 2px 8px;
	border-radius: 4px;
	font-weight: 700;
	font-size: 0.75rem;
}

.ssbogc-acta-action {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	min-width: 200px;
}

.ssbogc-acta-action .ssbogc-btn-outline {
	border-color: #94a3b8;
	color: #ffffff !important;
}

/* ==========================================================================
   3. FAQ Accordion
   ========================================================================== */
.ssbogc-faq-section {
	margin: 3.5rem 0;
}

.ssbogc-faq-header {
	text-align: center;
	margin-bottom: 2rem;
}

.ssbogc-faq-title {
	font-size: 1.85rem;
	font-weight: 800;
	color: var(--ssb-navy-900);
	margin: 0 0 0.5rem;
}

.ssbogc-faq-subtitle {
	font-size: 1rem;
	color: var(--ssb-navy-600);
	max-width: 640px;
	margin: 0 auto;
}

.ssbogc-faq-accordion {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	max-width: 860px;
	margin: 0 auto;
}

/* Two columns, filled left to right so the list reads the way text does —
   a newspaper fill (1,2,3 down the left, 4,5,6 down the right) makes the sort
   order impossible to follow without a rule between the columns.
   align-items:start stops an expanded panel from stretching the collapsed item
   beside it to match its height. The wider max-width is needed because 860px
   split in two leaves each question too narrow for one line. */
.ssbogc-faq-accordion--2col {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: 0.75rem 1.25rem;
	max-width: 1100px;
}

@media (max-width: 860px) {
	.ssbogc-faq-accordion--2col {
		grid-template-columns: minmax(0, 1fr);
	}
}

.ssbogc-faq-item {
	border: 1px solid var(--ssb-slate-200);
	border-radius: var(--ssb-radius-md);
	background: #ffffff;
	overflow: hidden;
	box-shadow: var(--ssb-shadow-sm);
	transition: var(--ssb-transition);
}

.ssbogc-faq-item:hover {
	border-color: var(--ssb-slate-300);
}

.ssbogc-faq-item.active {
	border-color: var(--ssb-navy-900);
	box-shadow: var(--ssb-shadow-md);
}

.ssbogc-faq-trigger {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.2rem 1.5rem;
	background: none;
	border: none;
	text-align: left;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--ssb-navy-900);
	cursor: pointer;
	transition: var(--ssb-transition);
}

.ssbogc-faq-trigger:focus-visible {
	outline: 2px solid var(--ssb-gold-500);
	outline-offset: -2px;
}

.ssbogc-faq-icon {
	color: var(--ssb-navy-600);
	transition: transform 0.3s ease;
	flex-shrink: 0;
	margin-left: 1rem;
}

.ssbogc-faq-trigger[aria-expanded="true"] .ssbogc-faq-icon {
	transform: rotate(180deg);
	color: var(--ssb-gold-600);
}

.ssbogc-faq-panel {
	padding: 0 1.5rem 1.25rem;
	font-size: 0.95rem;
	color: var(--ssb-navy-700);
	line-height: 1.6;
	border-top: 1px solid var(--ssb-slate-100);
	margin-top: -0.25rem;
}

.ssbogc-faq-content p {
	margin: 0.75rem 0 0;
}

/* ==========================================================================
   4. Success Stories Grid, Filters & Video Facades
   ========================================================================== */
.ssbogc-stories-section {
	margin: 3rem 0;
}

.ssbogc-stories-header {
	text-align: center;
	margin-bottom: 2.5rem;
}

.ssbogc-stories-title {
	font-size: 2rem;
	font-weight: 800;
	color: var(--ssb-navy-900);
	margin: 0.35rem 0 0.5rem;
}

.ssbogc-stories-subtitle {
	font-size: 1rem;
	color: var(--ssb-navy-600);
	max-width: 700px;
	margin: 0 auto;
}

/* Filter Toolbar */
.ssbogc-stories-filters-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	background: var(--ssb-slate-100);
	padding: 0.75rem 1rem;
	border-radius: var(--ssb-radius-md);
	margin-bottom: 2rem;
}

.ssbogc-filter-group-pills {
	display: flex;
	gap: 0.4rem;
	flex-wrap: wrap;
}

.ssbogc-filter-pill {
	padding: 6px 14px;
	background: #ffffff;
	border: 1px solid var(--ssb-slate-200);
	border-radius: 9999px;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--ssb-navy-700);
	cursor: pointer;
	transition: var(--ssb-transition);
}

.ssbogc-filter-pill:hover {
	background: var(--ssb-slate-200);
	color: var(--ssb-navy-900);
}

.ssbogc-filter-pill.active {
	background: var(--ssb-navy-900);
	border-color: var(--ssb-navy-900);
	color: #ffffff;
}

.ssbogc-board-select {
	padding: 6px 12px;
	border-radius: var(--ssb-radius-sm);
	border: 1px solid var(--ssb-slate-300);
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--ssb-navy-900);
	background: #ffffff;
	cursor: pointer;
}

/* Stories Cards */
.ssbogc-stories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 1.75rem;
}

.ssbogc-story-card {
	background: #ffffff;
	border: 1px solid var(--ssb-slate-200);
	border-radius: var(--ssb-radius-lg);
	padding: 1.5rem;
	box-shadow: var(--ssb-shadow-sm);
	display: flex;
	flex-direction: column;
	transition: var(--ssb-transition);
}

.ssbogc-story-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ssb-shadow-lg);
	border-color: var(--ssb-slate-300);
}

.ssbogc-story-card-top {
	display: flex;
	gap: 1rem;
	align-items: center;
	margin-bottom: 1rem;
}

.ssbogc-story-avatar-wrap {
	position: relative;
	width: 64px;
	height: 64px;
	flex-shrink: 0;
}

.ssbogc-story-avatar {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--ssb-gold-500);
}

.ssbogc-verified-badge {
	position: absolute;
	bottom: -2px;
	right: -2px;
	background: #ffffff;
	border-radius: 50%;
	display: flex;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.ssbogc-story-meta-col {
	flex-grow: 1;
}

.ssbogc-story-name {
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--ssb-navy-900);
	margin: 0 0 0.25rem;
}

.ssbogc-story-tags {
	display: flex;
	gap: 6px;
	margin-bottom: 0.25rem;
}

.ssbogc-entry-badge {
	background: var(--ssb-slate-100);
	color: var(--ssb-navy-800);
	font-size: 0.72rem;
	font-weight: 700;
	padding: 2px 6px;
	border-radius: 4px;
}

.ssbogc-year-badge {
	background: var(--ssb-gold-light);
	color: var(--ssb-gold-700);
	font-size: 0.72rem;
	font-weight: 700;
	padding: 2px 6px;
	border-radius: 4px;
}

.ssbogc-story-board-info {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 0.78rem;
	color: var(--ssb-navy-600);
}

.ssbogc-story-rec-highlight {
	background: var(--ssb-slate-50);
	border-left: 3px solid var(--ssb-navy-900);
	padding: 0.5rem 0.75rem;
	border-radius: 0 var(--ssb-radius-sm) var(--ssb-radius-sm) 0;
	font-size: 0.82rem;
	color: var(--ssb-navy-800);
	margin-bottom: 0.85rem;
}

.ssbogc-story-quote {
	font-size: 0.92rem;
	color: var(--ssb-navy-700);
	line-height: 1.55;
	font-style: italic;
	margin-bottom: 1.25rem;
	flex-grow: 1;
}

.ssbogc-btn-video-facade {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 8px 14px;
	background: #fee2e2;
	color: #991b1b;
	border: 1px solid #fca5a5;
	border-radius: var(--ssb-radius-sm);
	font-size: 0.82rem;
	font-weight: 700;
	cursor: pointer;
	transition: var(--ssb-transition);
}

.ssbogc-btn-video-facade:hover {
	background: #ef4444;
	color: #ffffff;
}

/* Video Modal */
.ssbogc-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}

.ssbogc-modal[hidden] {
	display: none !important;
}

.ssbogc-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.85);
	backdrop-filter: blur(4px);
}

.ssbogc-video-modal-box {
	position: relative;
	background: #0f172a;
	color: #ffffff;
	border-radius: var(--ssb-radius-lg);
	width: 100%;
	max-width: 760px;
	padding: 1.5rem;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
	z-index: 10;
}

.ssbogc-modal-close {
	position: absolute;
	top: 10px;
	right: 14px;
	background: none;
	border: none;
	color: #cbd5e1;
	font-size: 1.75rem;
	cursor: pointer;
}

.ssbogc-modal-heading {
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0 0 1rem;
	color: #ffffff;
}

.ssbogc-modal-video-embed-wrap {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
	overflow: hidden;
	border-radius: var(--ssb-radius-sm);
	background: #000000;
}

.ssbogc-modal-video-embed-wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* ==========================================================================
   5. Public Search & 404 UI
   ========================================================================== */
.ssbogc-search-box-wrap {
	position: relative;
	width: 100%;
}

.ssbogc-search-input-group {
	display: flex;
	align-items: center;
	background: #ffffff;
	border: 2px solid var(--ssb-slate-300);
	border-radius: var(--ssb-radius-md);
	padding: 4px 6px 4px 14px;
	box-shadow: var(--ssb-shadow-sm);
	transition: border-color 0.2s ease;
}

.ssbogc-search-input-group:focus-within {
	border-color: var(--ssb-gold-500);
	box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.ssbogc-search-icon {
	color: var(--ssb-navy-600);
	display: flex;
	align-items: center;
	margin-right: 8px;
}

.ssbogc-search-input {
	border: none;
	outline: none;
	width: 100%;
	font-size: 0.95rem;
	color: var(--ssb-navy-900);
	background: transparent;
}

.ssbogc-search-submit-btn {
	background: var(--ssb-navy-900);
	color: #ffffff;
	border: none;
	padding: 8px 16px;
	border-radius: var(--ssb-radius-sm);
	font-weight: 700;
	font-size: 0.88rem;
	cursor: pointer;
	transition: background 0.2s ease;
}

.ssbogc-search-submit-btn:hover {
	background: var(--ssb-navy-800);
}

/* Live Search Dropdown */
.ssbogc-live-search-results {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	background: #ffffff;
	border: 1px solid var(--ssb-slate-300);
	border-radius: var(--ssb-radius-md);
	box-shadow: var(--ssb-shadow-lg);
	z-index: 1000;
	max-height: 380px;
	overflow-y: auto;
	text-align: left;
}

.ssbogc-live-res-item {
	display: block;
	padding: 10px 14px;
	border-bottom: 1px solid var(--ssb-slate-100);
	text-decoration: none !important;
	color: inherit;
	transition: background 0.15s ease;
}

.ssbogc-live-res-item:hover,
.ssbogc-live-res-item:focus {
	background: var(--ssb-slate-50);
}

.ssbogc-live-res-title {
	font-weight: 700;
	font-size: 0.92rem;
	color: var(--ssb-navy-900);
	margin-bottom: 2px;
}

.ssbogc-live-res-badge {
	font-size: 0.7rem;
	font-weight: 700;
	background: var(--ssb-slate-200);
	color: var(--ssb-navy-800);
	padding: 1px 5px;
	border-radius: 3px;
	margin-right: 6px;
}

.ssbogc-live-res-excerpt {
	font-size: 0.8rem;
	color: var(--ssb-navy-600);
	margin: 0;
}

/* Search Results Page */
.ssbogc-search-results-page {
	max-width: 860px;
	margin: 2rem auto 4rem;
	padding: 0 1.25rem;
}

.ssbogc-search-results-header {
	margin-bottom: 2rem;
}

.ssbogc-search-results-title {
	font-size: 2rem;
	font-weight: 800;
	color: var(--ssb-navy-900);
	margin: 0.25rem 0 1.5rem;
}

.ssbogc-search-filter-tabs {
	display: flex;
	gap: 8px;
	border-bottom: 2px solid var(--ssb-slate-200);
	margin-bottom: 2rem;
}

.ssbogc-s-tab {
	background: none;
	border: none;
	padding: 8px 16px;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--ssb-navy-600);
	cursor: pointer;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	transition: var(--ssb-transition);
}

.ssbogc-s-tab.active {
	color: var(--ssb-navy-900);
	border-bottom-color: var(--ssb-gold-500);
}

.ssbogc-search-result-item {
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--ssb-slate-200);
}

.ssbogc-res-type-badge {
	font-size: 0.72rem;
	font-weight: 700;
	background: var(--ssb-slate-100);
	color: var(--ssb-navy-800);
	padding: 2px 6px;
	border-radius: 4px;
}

.ssbogc-res-title {
	font-size: 1.35rem;
	font-weight: 700;
	margin: 0.4rem 0 0.5rem;
}

.ssbogc-res-title a {
	color: var(--ssb-navy-900);
	text-decoration: none;
}

.ssbogc-res-title a:hover {
	color: var(--ssb-gold-600);
}

.ssbogc-res-excerpt {
	font-size: 0.95rem;
	color: var(--ssb-navy-700);
	line-height: 1.55;
	margin-bottom: 0.75rem;
}

.ssbogc-res-link {
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--ssb-navy-900);
	text-decoration: none;
}

.ssbogc-res-link:hover {
	color: var(--ssb-gold-600);
}

/* 404 Experience Layout */
.ssbogc-404-container {
	max-width: 800px;
	margin: 3rem auto 5rem;
	padding: 0 1.25rem;
	text-align: center;
}

.ssbogc-404-code {
	font-size: 5rem;
	font-weight: 900;
	color: var(--ssb-gold-500);
	line-height: 1;
	display: block;
	margin-bottom: 0.5rem;
	font-family: monospace;
}

.ssbogc-404-title {
	font-size: 2rem;
	font-weight: 800;
	color: var(--ssb-navy-900);
	margin: 0 0 0.75rem;
}

.ssbogc-404-desc {
	font-size: 1.05rem;
	color: var(--ssb-navy-600);
	max-width: 600px;
	margin: 0 auto 2rem;
	line-height: 1.55;
}

.ssbogc-404-search-box {
	max-width: 500px;
	margin: 0 auto 3rem;
}

.ssbogc-404-popular-section {
	text-align: left;
	margin-bottom: 3rem;
}

.ssbogc-404-popular-title {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--ssb-navy-900);
	margin-bottom: 1rem;
	text-align: center;
}

.ssbogc-404-popular-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
}

.ssbogc-404-guide-card {
	background: #ffffff;
	border: 1px solid var(--ssb-slate-200);
	border-radius: var(--ssb-radius-md);
	padding: 1.25rem;
	text-decoration: none !important;
	color: inherit;
	box-shadow: var(--ssb-shadow-sm);
	transition: var(--ssb-transition);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.ssbogc-404-guide-card:hover {
	border-color: var(--ssb-gold-500);
	transform: translateY(-2px);
	box-shadow: var(--ssb-shadow-md);
}

.ssbogc-404-guide-card h4 {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--ssb-navy-900);
	margin: 0 0 0.5rem;
}

.ssbogc-404-guide-card span {
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--ssb-gold-600);
}

.ssbogc-404-actions {
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 768px) {
	.ssbogc-hub-title {
		font-size: 1.75rem;
	}

	.ssbogc-start-here-card {
		flex-direction: column;
		text-align: center;
		padding: 1.5rem;
	}

	.ssbogc-banner-card {
		flex-direction: column;
		text-align: center;
		padding: 1.75rem;
	}

	.ssbogc-banner-batch-info {
		flex-direction: column;
	}

	.ssbogc-article-cta-card {
		flex-direction: column;
		text-align: center;
	}

	.ssbogc-stories-filters-bar {
		flex-direction: column;
		align-items: stretch;
	}

	.ssbogc-filter-group-pills {
		justify-content: center;
	}

	.ssbogc-board-select {
		width: 100%;
	}
}

/* ==========================================================================
   Hierarchical Breadcrumbs Navigation
   ========================================================================== */
.ssbogc-breadcrumbs-nav {
	margin: 1rem 0 1.5rem 0;
	padding: 0.5rem 0;
	font-size: 0.85rem;
	color: #64748b;
}

.ssbogc-breadcrumbs-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	gap: 0.25rem;
}

.ssbogc-breadcrumb-item {
	display: inline-flex;
	align-items: center;
	color: #64748b;
}

.ssbogc-breadcrumb-item a {
	color: #0284c7;
	text-decoration: none;
	transition: color 0.15s ease;
}

.ssbogc-breadcrumb-item a:hover {
	color: #0369a1;
	text-decoration: underline;
}

.ssbogc-breadcrumb-sep {
	margin: 0 0.4rem;
	color: #cbd5e1;
	font-size: 0.75rem;
}

.ssbogc-breadcrumb-item.current-item span {
	color: #0f172a;
	font-weight: 600;
}

