/**
 * CareerVault – Main Stylesheet
 * Design System + Base Layout
 */

/* ==========================================================================
   CSS Variables – Design Tokens
   ========================================================================== */
:root {
	/* Brand */
	--color-primary: #0B3D91;
	--color-primary-dark: #082E6E;
	--color-primary-light: #1A56C4;
	--color-secondary: #0D9488;
	--color-secondary-dark: #0F766E;
	--color-secondary-light: #14B8A6;

	/* Neutrals */
	--color-background: #F8FAFC;
	--color-surface: #FFFFFF;
	--color-border: #E2E8F0;
	--color-border-strong: #CBD5E1;
	--color-text: #0F172A;
	--color-text-secondary: #334155;
	--color-text-muted: #64748B;
	--color-text-inverse: #FFFFFF;

	/* Semantic */
	--color-success: #059669;
	--color-success-bg: #ECFDF5;
	--color-warning: #D97706;
	--color-warning-bg: #FFFBEB;
	--color-error: #DC2626;
	--color-error-bg: #FEF2F2;
	--color-info: #0284C7;
	--color-info-bg: #F0F9FF;

	/* Typography */
	--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;

	--text-display: clamp(2.5rem, 5vw, 3.5rem);
	--text-h1: clamp(2rem, 4vw, 2.75rem);
	--text-h2: clamp(1.5rem, 3vw, 2rem);
	--text-h3: 1.25rem;
	--text-h4: 1.125rem;
	--text-body-lg: 1.125rem;
	--text-body: 1rem;
	--text-small: 0.875rem;
	--text-caption: 0.75rem;

	--leading-tight: 1.25;
	--leading-snug: 1.375;
	--leading-normal: 1.5;
	--leading-relaxed: 1.625;

	/* Spacing */
	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 0.75rem;
	--space-4: 1rem;
	--space-5: 1.25rem;
	--space-6: 1.5rem;
	--space-8: 2rem;
	--space-10: 2.5rem;
	--space-12: 3rem;
	--space-16: 4rem;
	--space-20: 5rem;
	--space-24: 6rem;

	/* Radius */
	--radius-sm: 0.375rem;
	--radius-md: 0.5rem;
	--radius-lg: 0.75rem;
	--radius-xl: 1rem;
	--radius-full: 9999px;

	/* Shadows */
	--shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
	--shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
	--shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
	--shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
	--shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);

	/* Layout */
	--container-max: 1200px;
	--container-narrow: 720px;
	--header-height: 64px;
	--sidebar-width: 260px;

	/* Transitions */
	--ease: cubic-bezier(0.4, 0, 0.2, 1);
	--duration-fast: 150ms;
	--duration-normal: 200ms;
	--duration-slow: 300ms;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
	box-sizing: border-box;
}

html {
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: var(--text-body);
	line-height: var(--leading-normal);
	color: var(--color-text);
	background-color: var(--color-background);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, svg {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color var(--duration-fast) var(--ease);
}

a:hover {
	color: var(--color-primary-dark);
}

button {
	font-family: inherit;
	cursor: pointer;
	border: none;
	background: none;
}

/* Focus styles */
:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
}

.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;
}

.skip-link:focus {
	position: fixed;
	top: var(--space-4);
	left: var(--space-4);
	z-index: 10000;
	width: auto;
	height: auto;
	padding: var(--space-3) var(--space-4);
	margin: 0;
	overflow: visible;
	clip: auto;
	white-space: normal;
	background: var(--color-primary);
	color: var(--color-text-inverse);
	border-radius: var(--radius-md);
	font-weight: 600;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: var(--leading-tight);
	color: var(--color-text);
	margin: 0 0 var(--space-4);
}

h1, .text-h1 { font-size: var(--text-h1); }
h2, .text-h2 { font-size: var(--text-h2); }
h3, .text-h3 { font-size: var(--text-h3); font-weight: 600; }
h4, .text-h4 { font-size: var(--text-h4); font-weight: 600; }

.text-display {
	font-family: var(--font-display);
	font-size: var(--text-display);
	font-weight: 800;
	line-height: var(--leading-tight);
	letter-spacing: -0.02em;
}

.text-body-lg { font-size: var(--text-body-lg); }
.text-body { font-size: var(--text-body); }
.text-small { font-size: var(--text-small); }
.text-caption { font-size: var(--text-caption); color: var(--color-text-muted); }

.text-muted { color: var(--color-text-muted); }
.text-secondary { color: var(--color-text-secondary); }

p {
	margin: 0 0 var(--space-4);
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
	width: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--space-4);
}

@media (min-width: 768px) {
	.container { padding-inline: var(--space-6); }
}

@media (min-width: 1280px) {
	.container { padding-inline: var(--space-8); }
}

.container-narrow {
	max-width: var(--container-narrow);
}

.site-main {
	min-height: calc(100vh - var(--header-height) - 320px);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	height: var(--header-height);
	background: var(--color-surface);
	border-bottom: 1px solid var(--color-border);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	gap: var(--space-6);
}

.header-brand {
	flex-shrink: 0;
}

.site-logo-text {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.25rem;
	color: var(--color-text);
	text-decoration: none;
}

.logo-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: var(--color-primary);
	color: white;
	border-radius: var(--radius-md);
	font-size: 0.875rem;
	font-weight: 800;
}

.custom-logo-link img {
	max-height: 40px;
	width: auto;
}

.header-nav {
	display: none;
	flex: 1;
	justify-content: center;
}

@media (min-width: 1024px) {
	.header-nav { display: flex; }
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: var(--space-1);
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-menu a {
	display: block;
	padding: var(--space-2) var(--space-3);
	font-size: var(--text-small);
	font-weight: 500;
	color: var(--color-text-secondary);
	border-radius: var(--radius-md);
	transition: color var(--duration-fast), background var(--duration-fast);
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
	color: var(--color-primary);
	background: rgba(11, 61, 145, 0.06);
}

.header-actions {
	display: none;
	align-items: center;
	gap: var(--space-3);
}

@media (min-width: 1024px) {
	.header-actions { display: flex; }
}

.header-auth {
	display: flex;
	align-items: center;
	gap: var(--space-2);
}

/* User menu */
.header-user-menu {
	position: relative;
}

.user-menu-toggle {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	padding: var(--space-1) var(--space-2);
	border-radius: var(--radius-md);
	transition: background var(--duration-fast);
}

.user-menu-toggle:hover {
	background: var(--color-background);
}

.user-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: var(--color-primary);
	color: white;
	border-radius: var(--radius-full);
	font-size: var(--text-small);
	font-weight: 600;
}

.user-name {
	font-size: var(--text-small);
	font-weight: 500;
	color: var(--color-text);
}

.user-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 200px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	padding: var(--space-2);
	z-index: 100;
}

.user-dropdown a {
	display: block;
	padding: var(--space-2) var(--space-3);
	font-size: var(--text-small);
	color: var(--color-text-secondary);
	border-radius: var(--radius-md);
}

.user-dropdown a:hover {
	background: var(--color-background);
	color: var(--color-text);
}

.user-dropdown hr {
	border: none;
	border-top: 1px solid var(--color-border);
	margin: var(--space-2) 0;
}

/* Mobile menu */
.mobile-menu-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: var(--color-text);
	border-radius: var(--radius-md);
}

@media (min-width: 1024px) {
	.mobile-menu-toggle { display: none; }
}

.mobile-menu {
	position: absolute;
	top: var(--header-height);
	left: 0;
	right: 0;
	background: var(--color-surface);
	border-bottom: 1px solid var(--color-border);
	box-shadow: var(--shadow-lg);
	padding: var(--space-4);
	z-index: 999;
}

.mobile-menu .nav-menu {
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}

.mobile-menu .nav-menu a {
	padding: var(--space-3) var(--space-4);
	font-size: var(--text-body);
}

.mobile-menu-actions {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	margin-top: var(--space-4);
	padding-top: var(--space-4);
	border-top: 1px solid var(--color-border);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	padding: 0.625rem 1.25rem;
	font-family: var(--font-sans);
	font-size: var(--text-small);
	font-weight: 600;
	line-height: 1.25;
	border-radius: var(--radius-md);
	border: 1px solid transparent;
	cursor: pointer;
	transition: background var(--duration-fast) var(--ease),
				color var(--duration-fast) var(--ease),
				border-color var(--duration-fast) var(--ease),
				box-shadow var(--duration-fast) var(--ease);
	text-decoration: none;
	white-space: nowrap;
}

.btn:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
}

.btn-primary {
	background: var(--color-primary);
	color: var(--color-text-inverse);
	border-color: var(--color-primary);
}

.btn-primary:hover {
	background: var(--color-primary-dark);
	border-color: var(--color-primary-dark);
	color: var(--color-text-inverse);
}

.btn-secondary {
	background: var(--color-secondary);
	color: var(--color-text-inverse);
	border-color: var(--color-secondary);
}

.btn-secondary:hover {
	background: var(--color-secondary-dark);
	color: var(--color-text-inverse);
}

.btn-outline {
	background: transparent;
	color: var(--color-primary);
	border-color: var(--color-border-strong);
}

.btn-outline:hover {
	background: var(--color-background);
	border-color: var(--color-primary);
}

.btn-ghost {
	background: transparent;
	color: var(--color-text-secondary);
	border-color: transparent;
}

.btn-ghost:hover {
	background: var(--color-background);
	color: var(--color-text);
}

.btn-sm {
	padding: 0.375rem 0.875rem;
	font-size: var(--text-caption);
}

.btn-lg {
	padding: 0.875rem 1.75rem;
	font-size: var(--text-body);
}

.btn-block {
	display: flex;
	width: 100%;
}

.btn:disabled,
.btn.is-disabled {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none;
}

.btn .icon {
	flex-shrink: 0;
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-xs);
}

.card-body {
	padding: var(--space-6);
}

.card-hover {
	transition: box-shadow var(--duration-normal) var(--ease),
				border-color var(--duration-normal) var(--ease);
}

.card-hover:hover {
	box-shadow: var(--shadow-md);
	border-color: var(--color-border-strong);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	background: var(--color-text);
	color: #94A3B8;
	padding: var(--space-16) 0 var(--space-8);
	margin-top: var(--space-20);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-10);
	margin-bottom: var(--space-12);
}

@media (min-width: 640px) {
	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.footer-grid {
		grid-template-columns: 1.5fr repeat(4, 1fr);
	}
}

.footer-brand .site-logo-text {
	color: white;
	margin-bottom: var(--space-4);
}

.footer-brand .logo-mark {
	background: var(--color-secondary);
}

.footer-tagline {
	font-size: var(--text-small);
	line-height: var(--leading-relaxed);
	margin-bottom: var(--space-4);
	max-width: 280px;
}

.footer-social {
	display: flex;
	gap: var(--space-3);
}

.footer-heading {
	font-family: var(--font-display);
	font-size: var(--text-small);
	font-weight: 600;
	color: white;
	margin-bottom: var(--space-4);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-col li {
	margin-bottom: var(--space-2);
}

.footer-col a {
	font-size: var(--text-small);
	color: #94A3B8;
	transition: color var(--duration-fast);
}

.footer-col a:hover {
	color: white;
}

.footer-bottom {
	padding-top: var(--space-8);
	border-top: 1px solid #1E293B;
	text-align: center;
}

.footer-disclaimer {
	font-size: var(--text-caption);
	color: #64748B;
	max-width: 720px;
	margin: 0 auto var(--space-4);
	line-height: var(--leading-relaxed);
}

.footer-copyright {
	font-size: var(--text-caption);
	color: #64748B;
	margin: 0;
}

/* ==========================================================================
   Homepage Hero
   ========================================================================== */
.hero {
	padding: var(--space-16) 0 var(--space-20);
	background: linear-gradient(180deg, #F0F7FF 0%, var(--color-background) 100%);
	overflow: hidden;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-12);
	align-items: center;
}

@media (min-width: 1024px) {
	.hero-grid {
		grid-template-columns: 1fr 1.1fr;
		gap: var(--space-16);
	}
}

.hero-content {
	max-width: 540px;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	padding: var(--space-1) var(--space-3);
	background: rgba(11, 61, 145, 0.08);
	color: var(--color-primary);
	font-size: var(--text-caption);
	font-weight: 600;
	border-radius: var(--radius-full);
	margin-bottom: var(--space-6);
}

.hero h1 {
	margin-bottom: var(--space-5);
	letter-spacing: -0.025em;
}

.hero-lead {
	font-size: var(--text-body-lg);
	color: var(--color-text-secondary);
	line-height: var(--leading-relaxed);
	margin-bottom: var(--space-8);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
}

/* Hero Mockup */
.hero-visual {
	position: relative;
}

.browser-frame {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-xl);
	overflow: hidden;
}

.browser-chrome {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	padding: var(--space-3) var(--space-4);
	background: #F1F5F9;
	border-bottom: 1px solid var(--color-border);
}

.browser-dots {
	display: flex;
	gap: 6px;
}

.browser-dots span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #CBD5E1;
}

.browser-dots span:nth-child(1) { background: #F87171; }
.browser-dots span:nth-child(2) { background: #FBBF24; }
.browser-dots span:nth-child(3) { background: #34D399; }

.browser-url {
	flex: 1;
	height: 24px;
	background: white;
	border-radius: var(--radius-sm);
	border: 1px solid var(--color-border);
	font-size: 11px;
	color: var(--color-text-muted);
	display: flex;
	align-items: center;
	padding: 0 var(--space-3);
}

.browser-content {
	display: grid;
	grid-template-columns: 200px 1fr;
	min-height: 340px;
}

@media (max-width: 640px) {
	.browser-content {
		grid-template-columns: 1fr;
	}
	.builder-sidebar-mock { display: none; }
}

.builder-sidebar-mock {
	background: #F8FAFC;
	border-right: 1px solid var(--color-border);
	padding: var(--space-4);
}

.builder-sidebar-mock .mock-section {
	padding: var(--space-2) var(--space-3);
	font-size: 12px;
	color: var(--color-text-muted);
	border-radius: var(--radius-sm);
	margin-bottom: 2px;
}

.builder-sidebar-mock .mock-section.active {
	background: rgba(11, 61, 145, 0.08);
	color: var(--color-primary);
	font-weight: 600;
}

.builder-sidebar-mock .mock-section.done {
	color: var(--color-success);
}

.cv-preview-mock {
	padding: var(--space-5);
	background: #E2E8F0;
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

.cv-page-mock {
	width: 100%;
	max-width: 280px;
	background: white;
	box-shadow: var(--shadow-md);
	padding: var(--space-5);
	font-size: 9px;
	line-height: 1.4;
	color: #334155;
}

.cv-page-mock .cv-name {
	font-size: 14px;
	font-weight: 700;
	color: var(--color-primary);
	margin-bottom: 2px;
}

.cv-page-mock .cv-title {
	font-size: 10px;
	color: var(--color-text-muted);
	margin-bottom: 8px;
}

.cv-page-mock .cv-section-title {
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-primary);
	border-bottom: 1px solid #E2E8F0;
	padding-bottom: 2px;
	margin: 10px 0 4px;
}

.cv-page-mock .cv-line {
	height: 6px;
	background: #E2E8F0;
	border-radius: 2px;
	margin-bottom: 3px;
}

.cv-page-mock .cv-line.w-80 { width: 80%; }
.cv-page-mock .cv-line.w-60 { width: 60%; }
.cv-page-mock .cv-line.w-40 { width: 40%; }

/* Feature Strip */
.feature-strip {
	padding: var(--space-8) 0;
	background: var(--color-surface);
	border-bottom: 1px solid var(--color-border);
}

.feature-strip-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-6) var(--space-10);
}

.feature-item {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	font-size: var(--text-small);
	font-weight: 500;
	color: var(--color-text-secondary);
}

.feature-item .icon {
	color: var(--color-secondary);
	flex-shrink: 0;
}

/* Sections */
.section {
	padding: var(--space-20) 0;
}

.section-header {
	text-align: center;
	max-width: 560px;
	margin: 0 auto var(--space-12);
}

.section-header h2 {
	margin-bottom: var(--space-4);
}

.section-header p {
	color: var(--color-text-secondary);
	font-size: var(--text-body-lg);
	margin: 0;
}

/* Process Steps */
.process-steps {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-4);
	max-width: 800px;
	margin: 0 auto;
}

@media (min-width: 768px) {
	.process-steps {
		grid-template-columns: repeat(4, 1fr);
		gap: var(--space-6);
	}
}

@media (min-width: 1024px) {
	.process-steps {
		grid-template-columns: repeat(7, 1fr);
	}
}

.process-step {
	text-align: center;
	position: relative;
}

.process-step-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0 auto var(--space-3);
	background: var(--color-primary);
	color: white;
	font-weight: 700;
	font-size: var(--text-small);
	border-radius: var(--radius-full);
}

.process-step-label {
	font-size: var(--text-caption);
	font-weight: 500;
	color: var(--color-text-secondary);
}

/* Template Gallery Preview on Homepage */
.template-preview-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-4);
}

@media (min-width: 768px) {
	.template-preview-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: var(--space-6);
	}
}

.template-card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: box-shadow var(--duration-normal), border-color var(--duration-normal);
}

.template-card:hover {
	box-shadow: var(--shadow-md);
	border-color: var(--color-border-strong);
}

.template-card-thumb {
	aspect-ratio: 210 / 297;
	background: #F1F5F9;
	position: relative;
	overflow: hidden;
}

.template-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

.template-card-body {
	padding: var(--space-3) var(--space-4);
}

.template-card-name {
	font-size: var(--text-small);
	font-weight: 600;
	margin: 0 0 2px;
	color: var(--color-text);
}

.template-card-meta {
	font-size: var(--text-caption);
	color: var(--color-text-muted);
	margin: 0;
}

.template-card-actions {
	display: flex;
	gap: var(--space-2);
	padding: 0 var(--space-4) var(--space-4);
}

/* CTA Section */
.cta-section {
	padding: var(--space-20) 0;
	background: var(--color-primary);
	color: white;
	text-align: center;
}

.cta-section h2 {
	color: white;
	margin-bottom: var(--space-4);
}

.cta-section p {
	color: rgba(255,255,255,0.85);
	font-size: var(--text-body-lg);
	max-width: 480px;
	margin: 0 auto var(--space-8);
}

.cta-section .btn-primary {
	background: white;
	color: var(--color-primary);
	border-color: white;
}

.cta-section .btn-primary:hover {
	background: #F1F5F9;
}

/* ==========================================================================
   Utility
   ========================================================================== */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Ad slots */
.ad-slot {
	min-height: 0;
}

.ad-banner {
	max-width: 728px;
	margin: var(--space-8) auto;
	text-align: center;
}

.ad-sidebar {
	margin-bottom: var(--space-6);
}

.ad-inline {
	margin: var(--space-6) 0;
}

.ad-template-gallery {
	grid-column: 1 / -1;
	text-align: center;
	padding: var(--space-4) 0;
}