/* =========================================================
   CERTIFICATION GURU — MAIN STYLESHEET
   Bootstrap 5 + Custom Design System
   Mobile-First | SEO-Optimized | Core Web Vitals Ready
   ========================================================= */

/* ── 1. CSS Custom Properties ── */
:root {
  --cg-navy:       #0F172A;
  --cg-blue:       #3B82F6;
  --cg-orange:     #F97316;
  --cg-green:      #10B981;
  --cg-purple:     #8B5CF6;
  --cg-red:        #EF4444;
  --cg-amber:      #F59E0B;
  --cg-surface:    #F8FAFC;
  --cg-card:       #FFFFFF;
  --cg-text:       #0F172A;
  --cg-muted:      #64748B;
  --cg-border:     #E2E8F0;
  --cg-font:       "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --cg-mono:       "JetBrains Mono", "Fira Code", monospace;
  --cg-radius:     12px;
  --cg-radius-sm:  8px;
  --cg-radius-lg:  16px;
  --cg-shadow:     0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --cg-shadow-md:  0 4px 12px rgba(0,0,0,.1), 0 8px 32px rgba(0,0,0,.08);
  --cg-shadow-lg:  0 8px 24px rgba(0,0,0,.12), 0 16px 48px rgba(0,0,0,.1);
  --cg-transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── 2. Base Reset & Typography ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--cg-font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--cg-text);
  background-color: var(--cg-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; }

a { color: var(--cg-blue); transition: color var(--cg-transition); }
a:hover { color: #2563EB; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--cg-font);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

code, kbd, pre, samp { font-family: var(--cg-mono); }

.fw-800 { font-weight: 800 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-500 { font-weight: 500 !important; }
.ls-wide { letter-spacing: 0.08em; }
.lh-relaxed { line-height: 1.8; }
.text-orange { color: var(--cg-orange) !important; }
.text-blue   { color: var(--cg-blue)   !important; }
.text-green  { color: var(--cg-green)  !important; }
.text-muted  { color: var(--cg-muted)  !important; }
.text-white-70  { color: rgba(255,255,255,.7); }
.text-white-50  { color: rgba(255,255,255,.5); }
.bg-surface     { background-color: var(--cg-surface) !important; }
.bg-dark-navy   { background-color: var(--cg-navy) !important; }
.bg-blue-tint   { background-color: #EFF6FF !important; }
.bg-blue        { background-color: var(--cg-blue) !important; }
.bg-red         { background-color: var(--cg-red) !important; }
.bg-sap         { background-color: #0070F3 !important; }
.text-sap       { color: #0070F3 !important; }

/* Skip link */
.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  background: var(--cg-navy);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

/* ── 3. Navigation ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  border-bottom: 1px solid var(--cg-border);
  transition: box-shadow var(--cg-transition);
}
.site-header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.1); }

.logo-text { font-weight: 800; font-size: 1.2rem; line-height: 1; }
.dot, .dot-blue { color: var(--cg-blue); }
.guru, .guru-orange { color: var(--cg-orange); }
.logo-text-lg { font-size: 1.5rem; }

.navbar-nav .nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--cg-text);
  padding: 0.5rem 0.75rem;
  border-radius: var(--cg-radius-sm);
  transition: background var(--cg-transition), color var(--cg-transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  background: var(--cg-surface);
  color: var(--cg-blue);
}
.navbar-nav .nav-link.active { color: var(--cg-blue); }

/* Mega Menu */
.mega-menu {
  width: 560px;
  border-radius: var(--cg-radius);
  margin-top: 8px;
  box-shadow: var(--cg-shadow-lg);
}
.mega-menu-item {
  border-radius: var(--cg-radius-sm);
  transition: background var(--cg-transition);
}
.mega-menu-item:hover { background: var(--cg-surface); }
.mega-menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--domain-color) 12%, transparent);
  font-size: 18px;
  flex-shrink: 0;
}

/* Nav Search */
.nav-search-wrapper { position: relative; max-width: 400px; }
.nav-search-wrapper .input-group-text,
.nav-search-wrapper .form-control {
  border-color: var(--cg-border);
  border-radius: 50px !important;
  height: 40px;
  font-size: 0.875rem;
}
.nav-search-wrapper .form-control:focus {
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
  border-color: var(--cg-blue);
  outline: none;
}
.nav-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: #fff;
  border-radius: var(--cg-radius);
  box-shadow: var(--cg-shadow-lg);
  border: 1px solid var(--cg-border);
  z-index: 1050;
  max-height: 400px;
  overflow-y: auto;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--cg-text);
  border-bottom: 1px solid var(--cg-border);
  transition: background var(--cg-transition);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--cg-surface); }
.search-result-code {
  font-family: var(--cg-mono);
  font-size: 0.75rem;
  background: var(--cg-surface);
  border: 1px solid var(--cg-border);
  border-radius: 4px;
  padding: 2px 6px;
  color: var(--cg-muted);
  white-space: nowrap;
}

/* Breadcrumbs */
.breadcrumb-wrapper { padding: 6px 0; background: #fff; }
.certguru-breadcrumb .breadcrumb { font-size: 0.8rem; }
.certguru-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: var(--cg-border); }
.certguru-breadcrumb .breadcrumb-item a { color: var(--cg-muted); text-decoration: none; }
.certguru-breadcrumb .breadcrumb-item a:hover { color: var(--cg-blue); }
.certguru-breadcrumb .breadcrumb-item.active { color: var(--cg-text); font-weight: 600; }

/* ── 4. Buttons ── */
.btn-cta {
  background: var(--cg-orange);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  padding: 12px 28px;
  transition: background var(--cg-transition), transform var(--cg-transition), box-shadow var(--cg-transition);
}
.btn-cta:hover {
  background: #EA6B10;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(249,115,22,.35);
}
.btn-cta:active { transform: translateY(0); }
.btn-cta:focus-visible { outline: 3px solid var(--cg-orange); outline-offset: 3px; }

.btn-outline-blue {
  background: transparent;
  color: var(--cg-blue);
  border: 2px solid var(--cg-blue);
  border-radius: 50px;
  font-weight: 600;
  padding: 10px 24px;
  transition: all var(--cg-transition);
}
.btn-outline-blue:hover { background: var(--cg-blue); color: #fff; }

.btn-outline-hero {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 50px;
  font-weight: 600;
  padding: 12px 28px;
  transition: all var(--cg-transition);
}
.btn-outline-hero:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.7); }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50px;
  font-weight: 600;
  padding: 12px 28px;
  transition: all var(--cg-transition);
  text-decoration: none;
  display: inline-block;
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.6); }

/* ── 5. Hero Section ── */
.hero-section {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 55%, #0F172A 100%);
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,.15);
  border: 1px solid rgba(249,115,22,.3);
  color: #FDBA74;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  transition: background var(--cg-transition);
}
.hero-badge:hover { background: rgba(249,115,22,.22); color: #FED7AA; }

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cg-orange);
  flex-shrink: 0;
  animation: pulse-anim 2s infinite;
}
@keyframes pulse-anim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}

/* Hero H1 */
.hero-h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero-subtitle { font-size: clamp(1rem, 2vw, 1.2rem); max-width: 560px; }

/* Hero Search */
.hero-search-form { position: relative; max-width: 640px; }
.hero-search {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 50px;
  padding: 4px;
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.hero-search-icon { padding: 0 12px 0 16px; display: flex; align-items: center; flex-shrink: 0; }
.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--cg-font);
  font-size: 1rem;
  color: var(--cg-text);
  background: transparent;
  padding: 14px 8px;
  min-width: 0;
}
.hero-search-input::placeholder { color: var(--cg-muted); }
.hero-search-btn {
  background: var(--cg-orange);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--cg-transition);
}
.hero-search-btn:hover { background: #EA6B10; }

/* Hero search results dropdown */
.hero-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: #fff;
  border-radius: var(--cg-radius);
  box-shadow: var(--cg-shadow-lg);
  border: 1px solid var(--cg-border);
  z-index: 1040;
  overflow: hidden;
  max-height: 360px;
  overflow-y: auto;
}

/* Popular tags */
.popular-tag {
  display: inline-block;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.75);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--cg-transition);
  margin-right: 6px;
  margin-bottom: 6px;
}
.popular-tag:hover { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.4); }

/* Hero trust stats */
.hero-trust-stats { margin-top: 1.5rem; }

/* Floating cert cards */
.hero-floating-cards {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.floating-card {
  position: absolute;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--cg-radius);
  padding: 16px 20px;
  min-width: 200px;
  box-shadow: var(--cg-shadow);
}
.fc-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.fc-name { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.fc-salary { font-size: 0.875rem; font-weight: 700; }
.fc-1 { top: 20px; left: 10%; animation: float1 4s ease-in-out infinite; }
.fc-2 { top: 50%; right: 5%; transform: translateY(-50%); animation: float2 5s ease-in-out infinite 0.5s; }
.fc-3 { bottom: 20px; left: 15%; animation: float3 4.5s ease-in-out infinite 1s; }
@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes float2 { 0%,100%{transform:translateY(-50%)} 50%{transform:translateY(calc(-50% - 10px))} }
@keyframes float3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@media (prefers-reduced-motion: reduce) {
  .floating-card { animation: none !important; }
  .pulse-dot { animation: none !important; }
}

/* ── 6. Section Common ── */
.section-title { font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -0.02em; }
.section-sub { font-size: 1.05rem; }

/* ── 7. Domain Cards ── */
.domains-section { background: var(--cg-surface); }

.domains-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
}
@media (min-width: 576px) { .domains-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .domains-grid { grid-template-columns: repeat(4, 1fr); } }

.domain-card {
  display: block;
  background: var(--cg-card);
  border: 1px solid var(--cg-border);
  border-radius: var(--cg-radius);
  border-left: 4px solid var(--domain-color, var(--cg-blue));
  transition: transform var(--cg-transition), box-shadow var(--cg-transition), border-color var(--cg-transition);
  overflow: hidden;
}
.domain-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--cg-shadow-md);
  border-left-color: var(--domain-color, var(--cg-blue));
  text-decoration: none;
}
.domain-card-inner { padding: 16px; }
.domain-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--domain-color) 12%, transparent);
  margin-bottom: 10px;
}
.domain-icon { font-size: 20px; }
.domain-name { font-size: 0.9rem; color: var(--cg-text); }
.domain-count { font-size: 0.75rem; }
.cert-pill {
  display: inline-block;
  background: var(--cg-surface);
  border: 1px solid var(--cg-border);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 2px 8px;
  color: var(--cg-muted);
  margin-right: 4px;
  margin-bottom: 2px;
}

/* ── 8. Trending Cards ── */
.trending-scroll-wrapper { overflow: hidden; }
.trending-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.trending-scroll::-webkit-scrollbar { display: none; }
.trending-card {
  flex: 0 0 260px;
  min-width: 260px;
  background: var(--cg-card);
  border: 1px solid var(--cg-border);
  border-radius: var(--cg-radius);
  padding: 20px;
  scroll-snap-align: start;
  transition: transform var(--cg-transition), box-shadow var(--cg-transition);
}
.trending-card:hover { transform: translateY(-2px); box-shadow: var(--cg-shadow-md); }
.tc-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: 0.02em;
}
.tc-name { font-size: 0.975rem; line-height: 1.4; }
.tc-cta { font-size: 0.85rem; font-weight: 700; }

/* Difficulty badges */
.difficulty-new    { background: #FFF7ED; color: #C2410C; font-size:.75rem; font-weight:700; padding:4px 10px; border-radius:50px; display:inline-block; }
.difficulty-easy   { background: #F0FDF4; color: #166534; font-size:.75rem; font-weight:700; padding:4px 10px; border-radius:50px; display:inline-block; }
.difficulty-medium { background: #FFFBEB; color: #92400E; font-size:.75rem; font-weight:700; padding:4px 10px; border-radius:50px; display:inline-block; }
.difficulty-hard   { background: #FEF2F2; color: #991B1B; font-size:.75rem; font-weight:700; padding:4px 10px; border-radius:50px; display:inline-block; }

/* ── 9. Definition Box (Featured Snippet) ── */
.definition-box {
  background: #EFF6FF;
  border-left: 4px solid var(--cg-blue);
  border-radius: 0 var(--cg-radius-sm) var(--cg-radius-sm) 0;
  padding: 20px 24px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #1E3A5F;
}

/* ── 10. Salary Section ── */
.salary-section { background: var(--cg-navy); }
.salary-stat-card {
  background: #1E293B;
  border: 1px solid #334155;
  border-radius: var(--cg-radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.salary-stat-number { font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1; }
.salary-stat-cert { font-size: 0.9rem; }
.salary-geo-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.6);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.salary-table { display: flex; flex-direction: column; gap: 2px; }
.salary-row {
  background: #1E293B;
  border-radius: var(--cg-radius-sm);
  padding: 12px 16px;
}
.salary-rank {
  width: 24px; height: 24px;
  background: rgba(249,115,22,.2);
  color: var(--cg-orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.salary-cert-name { font-size: 0.875rem; }
.salary-amount, .salary-uplift { font-size: 0.8rem; white-space: nowrap; }

/* ── 11. Compare Section ── */
.compare-slot {
  background: var(--cg-card);
  border: 2px dashed var(--cg-border);
  border-radius: var(--cg-radius);
  padding: 32px 24px;
  text-align: center;
  transition: border-color var(--cg-transition);
}
.compare-slot:hover { border-color: var(--cg-blue); }
.compare-add-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--cg-surface);
  border: 2px dashed var(--cg-border);
  font-size: 1.5rem;
  color: var(--cg-muted);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  font-weight: 300;
}
.compare-slot-label { color: var(--cg-muted); font-weight: 500; }
.vs-badge {
  width: 52px; height: 52px;
  background: var(--cg-navy);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
  box-shadow: var(--cg-shadow);
}

/* Compare Table */
.compare-table { font-size: 0.875rem; border-radius: var(--cg-radius); overflow: hidden; box-shadow: var(--cg-shadow); }
.compare-table thead { background: var(--cg-navy); color: #fff; }
.compare-table thead th { padding: 14px 20px; font-weight: 700; border: none; }
.compare-table tbody tr:nth-child(even) { background: var(--cg-surface); }
.compare-table tbody td { padding: 12px 20px; border-color: var(--cg-border); }
.compare-table tbody td:first-child { font-weight: 600; color: var(--cg-muted); }

/* ── 12. Country Grid ── */
.country-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0; padding: 0;
}
@media (min-width: 576px) { .country-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 992px) { .country-grid { grid-template-columns: repeat(9, 1fr); } }

.country-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 12px;
  background: var(--cg-card);
  border: 1px solid var(--cg-border);
  border-radius: var(--cg-radius);
  text-align: center;
  transition: transform var(--cg-transition), box-shadow var(--cg-transition), border-color var(--cg-transition);
}
.country-card:hover { transform: translateY(-3px); box-shadow: var(--cg-shadow-md); border-color: var(--cg-blue); text-decoration: none; }
.country-flag { font-size: 2rem; display: block; }
.country-name { font-size: 0.8rem; font-weight: 700; color: var(--cg-text); }
.country-sub { font-size: 0.68rem; line-height: 1.3; }

/* ── 13. Editorial Spotlight ── */
.editorial-card { position: relative; }
.editorial-badge {
  display: inline-block;
  background: rgba(249,115,22,.2);
  border: 1px solid rgba(249,115,22,.4);
  color: #FDBA74;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 0.06em;
}
.editorial-title { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
.editorial-graphic {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--cg-radius-lg);
  padding: 32px;
  text-align: center;
}
.eg-badge {
  background: #0070F3;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  padding: 12px 28px;
  border-radius: var(--cg-radius);
  display: inline-block;
  margin-bottom: 20px;
}
.eg-old { color: #EF4444; font-weight: 700; font-size: 1rem; }
.eg-arrow { color: rgba(255,255,255,.4); font-size: 1.5rem; margin: 8px 0; }
.eg-new { color: var(--cg-green); font-weight: 700; font-size: 1.1rem; }
.eg-year { color: var(--cg-orange); font-size: 2rem; font-weight: 800; margin-top: 16px; }

/* ── 14. Blog Grid ── */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  background: var(--cg-card);
  border: 1px solid var(--cg-border);
  border-radius: var(--cg-radius);
  overflow: hidden;
  transition: transform var(--cg-transition), box-shadow var(--cg-transition), border-left-color var(--cg-transition);
  border-left: 4px solid transparent;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--cg-shadow-md);
  border-left-color: var(--cg-orange);
}
.blog-card-img-wrap { display: block; overflow: hidden; aspect-ratio: 16/9; }
.blog-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.blog-card:hover .blog-card-img { transform: scale(1.03); }
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-domain-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--cg-surface);
  color: var(--cg-muted);
  border: 1px solid var(--cg-border);
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.blog-card-title { font-size: 1rem; line-height: 1.4; flex: 1; }
.blog-card-title a:hover { color: var(--cg-blue) !important; }
.blog-card-excerpt { font-size: 0.875rem; flex: 1; }
.blog-card-meta { padding-top: 12px; border-top: 1px solid var(--cg-border); margin-top: auto; }

/* ── 15. Roadmap Cards ── */
.roadmap-card {
  background: var(--cg-card);
  border: 1px solid var(--cg-border);
  border-radius: var(--cg-radius);
  border-top: 4px solid var(--rm-color, var(--cg-blue));
  transition: transform var(--cg-transition), box-shadow var(--cg-transition);
}
.roadmap-card:hover { transform: translateY(-3px); box-shadow: var(--cg-shadow-md); }
.rm-icon { font-size: 2rem; }
.rm-path { display: flex; flex-direction: column; gap: 0; }
.rm-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--cg-surface);
  border-radius: var(--cg-radius-sm);
}
.rm-step-num {
  width: 26px; height: 26px;
  background: var(--rm-color, var(--cg-blue));
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rm-step-name { font-size: 0.875rem; font-weight: 600; }
.rm-arrow { text-align: center; color: var(--cg-border); font-size: 0.875rem; padding: 2px 0; }
.btn-outline-domain {
  border: 2px solid var(--rm-color, var(--cg-blue));
  color: var(--rm-color, var(--cg-blue));
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 10px 20px;
  transition: all var(--cg-transition);
  text-decoration: none;
  display: block;
  text-align: center;
}
.btn-outline-domain:hover {
  background: var(--rm-color, var(--cg-blue));
  color: #fff;
}

/* ── 16. FAQ Section ── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--cg-card); border: 1px solid var(--cg-border); border-radius: var(--cg-radius); overflow: hidden; }
.faq-details summary { list-style: none; }
.faq-details summary::-webkit-details-marker { display: none; }
.faq-question {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
  font-size: 0.975rem;
  transition: background var(--cg-transition);
}
.faq-question:hover { background: var(--cg-surface); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--cg-surface);
  border: 1px solid var(--cg-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--cg-muted);
  transition: transform var(--cg-transition), background var(--cg-transition);
  font-style: normal;
}
.faq-details[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--cg-blue);
  border-color: var(--cg-blue);
  color: #fff;
}
.faq-answer {
  padding: 0 20px 18px;
  border-top: 1px solid var(--cg-border);
  margin-top: 0;
}
.faq-answer p {
  margin: 12px 0 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--cg-muted);
}

/* ── 17. Newsletter ── */
.newsletter-bell { font-size: 2.5rem; }
.newsletter-input-group {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: 4px;
  overflow: hidden;
}
.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--cg-font);
  font-size: 0.95rem;
  padding: 12px 16px;
  min-width: 0;
}
.newsletter-input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-btn {
  background: var(--cg-orange);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 24px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--cg-transition);
}
.newsletter-btn:hover { background: #EA6B10; }
.newsletter-response .alert { border-radius: 50px; font-size: 0.875rem; }

/* ── 18. Footer ── */
.site-footer { background: var(--cg-navy); }
.footer-heading { letter-spacing: 0.08em; font-size: 0.72rem !important; opacity: 0.6; }
.footer-link {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--cg-transition);
  display: block;
}
.footer-link:hover { color: rgba(255,255,255,.9); }
.footer-link-sm {
  color: rgba(255,255,255,.4);
  text-decoration: none;
  font-size: 0.75rem;
  transition: color var(--cg-transition);
}
.footer-link-sm:hover { color: rgba(255,255,255,.7); }
.footer-social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: all var(--cg-transition);
}
.footer-social-link:hover { background: rgba(255,255,255,.15); color: #fff; transform: translateY(-2px); }

/* Mobile domain link */
.mobile-domain-link { transition: background var(--cg-transition); }
.mobile-domain-link:hover { background: var(--cg-surface); }

/* ── 19. Mobile Bottom Nav ── */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--cg-border);
  padding: 8px 0 max(8px, env(safe-area-inset-bottom));
  z-index: 1020;
  justify-content: space-around;
  box-shadow: 0 -2px 12px rgba(0,0,0,.08);
}
.mobile-nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1;
  background: none;
  border: none;
  padding: 4px 8px;
  text-decoration: none;
  color: var(--cg-muted);
  font-family: var(--cg-font);
  font-size: 0.65rem;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--cg-transition);
  min-height: 48px;
  justify-content: center;
}
.mobile-nav-tab.active,
.mobile-nav-tab:hover { color: var(--cg-orange); }
.mobile-nav-tab.active svg,
.mobile-nav-tab:hover svg { stroke: var(--cg-orange); }

/* ── 20. Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 44px; height: 44px;
  background: var(--cg-navy);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--cg-transition), transform var(--cg-transition);
  z-index: 1010;
  box-shadow: var(--cg-shadow-md);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--cg-blue); transform: translateY(-2px); }

/* ── 21. Inner Page: Certification Guide ── */
.cert-hero {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 100%);
  padding: 60px 0;
}
.cert-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 576px) { .cert-meta-grid { grid-template-columns: repeat(4, 1fr); } }
.cert-meta-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--cg-radius-sm);
  padding: 14px;
  text-align: center;
}
.cert-meta-value { font-size: 1.25rem; font-weight: 800; color: #fff; }
.cert-meta-label { font-size: 0.72rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }

/* Step-by-step guide */
.steps-list { counter-reset: steps; list-style: none; padding: 0; }
.step-item {
  counter-increment: steps;
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.step-item::before {
  content: counter(steps);
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--cg-blue);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

/* Author bio */
.author-bio {
  background: var(--cg-surface);
  border: 1px solid var(--cg-border);
  border-radius: var(--cg-radius);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 40px;
}
.author-bio img { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.last-updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EFF6FF;
  color: #1D4ED8;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid #BFDBFE;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ECFDF5;
  color: #065F46;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid #A7F3D0;
}

/* Table of Contents */
.toc-box {
  background: var(--cg-surface);
  border: 1px solid var(--cg-border);
  border-left: 4px solid var(--cg-blue);
  border-radius: 0 var(--cg-radius-sm) var(--cg-radius-sm) 0;
  padding: 20px 24px;
  margin-bottom: 32px;
}
.toc-box ol { margin: 0; padding-left: 20px; }
.toc-box li { margin-bottom: 6px; }
.toc-box a { color: var(--cg-blue); font-size: 0.9rem; text-decoration: none; }
.toc-box a:hover { text-decoration: underline; }

/* Sources section */
.sources-section {
  background: var(--cg-surface);
  border: 1px solid var(--cg-border);
  border-radius: var(--cg-radius-sm);
  padding: 16px 20px;
  margin-top: 32px;
}

/* ── 22. Utility ── */
.container-xl { max-width: 1280px; padding-left: 20px; padding-right: 20px; }

/* ── 23. Accessibility ── */
:focus-visible {
  outline: 3px solid var(--cg-blue);
  outline-offset: 3px;
  border-radius: 4px;
}
*:focus:not(:focus-visible) { outline: none; }

/* ── 24. Print ── */
@media print {
  .site-header, .mobile-bottom-nav, .back-to-top, .footer-stats { display: none !important; }
  body { font-size: 12pt; }
  a::after { content: " (" attr(href) ")"; }
}

/* ── 25. Mobile-only padding for bottom nav ── */
@media (max-width: 991.98px) {
  body { padding-bottom: 80px; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .newsletter-input-group { flex-direction: column; border-radius: var(--cg-radius); padding: 12px; gap: 8px; }
  .newsletter-btn { border-radius: 50px; padding: 14px; }
  .newsletter-input { padding: 8px 4px; }
}

/* ── 26. Wordpress Core Classes ── */
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.wp-block-image img { border-radius: var(--cg-radius-sm); }
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  height: 1px; width: 1px;
  overflow: hidden;
  position: absolute;
}
