/* ============================================================
   Ripples Info – SAP Training Institute
   styles.css  |  v1.1  (2026-05-14: wp-global-styles dequeued for course pages;
                          meta-box screen fix; filemtime cache-bust)
   ============================================================ */

/* ── 1. Google Fonts & Variables ─────────────────────────── */
/* Google Fonts are enqueued via functions.php — no @import needed here */

:root {
  --primary:        #1a3a8f;   /* deep navy-blue */
  --primary-dark:   #122970;
  --primary-light:  #2451b3;
  --secondary:      #4f46e5;   /* indigo */
  --accent:         #0ea5e9;   /* sky-blue */
  --gold:           #f59e0b;   /* amber CTA */
  --gold-dark:      #d97706;
  --success:        #10b981;
  --text-dark:      #0f172a;
  --text-body:      #334155;
  --text-muted:     #64748b;
  --bg-light:       #f0f4ff;
  --bg-white:       #ffffff;
  --border:         #e2e8f0;
  --shadow-sm:      0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:      0 4px 12px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:      0 20px 40px rgba(0,0,0,.12);
  --shadow-xl:      0 25px 50px rgba(0,0,0,.18);
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-xl:      30px;
  --transition:     all 0.3s ease;
  --font-head:      'Poppins', sans-serif;
  --font-body:      'Inter', sans-serif;
  --section-pattern: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
}

/* site-wrapper drives the sticky-footer layout so body stays display:block —
   Safari iOS treats a flex body as a containing block for position:fixed,
   causing fixed overlays to render off-screen when the page is scrolled. */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main { flex: 1 0 auto; }

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* ── 3. Utility Classes ──────────────────────────────────── */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none !important; }

.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }
@media (max-width: 768px) { .section-pad-sm { padding: 48px 0; } }
@media (max-width: 480px) { .section-pad { padding: 52px 0; } .section-pad-sm { padding: 40px 0; } }

.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.badge-blue   { background: #dbeafe; color: var(--primary); }
.badge-indigo { background: #e0e7ff; color: var(--secondary); }
.badge-teal   { background: #e0f2fe; color: #0369a1; }
.badge-purple { background: #ede9fe; color: #6d28d9; }
.badge-cyan   { background: #cffafe; color: #0e7490; }
.badge-gold   { background: #fef3c7; color: var(--gold-dark); }
.badge-green  { background: #d1fae5; color: #065f46; }

/* ── 4. Typography ───────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); color: var(--text-dark); line-height: 1.25; }

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: .75rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}
.section-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

/* ── 5. Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 4px 15px rgba(245,158,11,.4);
}
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(245,158,11,.4); }

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-secondary:hover { background: rgba(255,255,255,.12); border-color: #fff; }

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

.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white:hover { background: var(--bg-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-sm  { padding: 8px 20px; font-size: .85rem; }
.btn-lg  { padding: 16px 36px; font-size: 1.05rem; }

/* ── 6. Navigation ───────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10000;
  background: rgba(26, 58, 143, .97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.navbar.scrolled {
  background: rgba(18, 41, 112, .98);
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}

/* Push navbar below WP admin bar when logged in */
.admin-bar .navbar { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .navbar { top: 46px; }
}
/* Compensate hero top padding for admin bar height */
.admin-bar .hero { padding-top: 132px; }
@media screen and (max-width: 782px) {
  .admin-bar .hero { padding-top: 146px; }
}
/* Compensate page-hero top padding for admin bar (inner pages — About, Corporate, Courses, Contact) */
.admin-bar .page-hero { padding-top: 162px; }
@media screen and (max-width: 782px) {
  .admin-bar .page-hero { padding-top: 154px; }
}

/* Hero padding reduction for mobile */
@media (max-width: 768px) {
  .hero { padding-top: 100px; padding-bottom: 52px; }
}
@media (max-width: 480px) {
  .hero { min-height: auto; padding-top: 96px; padding-bottom: 44px; }
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo */
.logo,
.navbar .custom-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img,
.navbar .custom-logo {
  height: 48px !important;
  width: auto !important;
  max-width: 180px !important;
  display: block;
  background: #fff;
  border-radius: 8px;
  padding: 4px 10px;
  object-fit: contain;
}

/* Nav collapse: desktop inline flex row inside .nav-container; mobile becomes fixed slide-down panel */
.nav-collapse {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 4px;
  margin-left: 40px;
}

/* Primary menu */
.nav-menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }

.nav-link {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active { color: #fff; background: rgba(255,255,255,.1); }

/* WordPress menu CTA class — users can assign via Appearance > Menus */
.nav-menu .nav-cta {
  background: var(--gold);
  color: #fff !important;
  border-radius: 8px;
  padding: 10px 22px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(245,158,11,.35);
}
.nav-menu .nav-cta:hover { background: var(--gold-dark) !important; transform: translateY(-1px); }

/* Active menu item – handled server-side by WordPress */
.nav-menu .current-menu-item > .nav-link,
.nav-menu .current-menu-ancestor > .nav-link,
.nav-menu .current-page-ancestor > .nav-link { color: #fff; background: rgba(255,255,255,.1); }

/* Dropdown submenus */
.nav-menu .menu-item-has-children { position: relative; }
.nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: rgba(18,41,112,.98);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 100;
}
.nav-menu .menu-item-has-children:hover > .sub-menu,
.nav-menu .menu-item-has-children:focus-within > .sub-menu,
.nav-menu .menu-item-has-children.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-menu .sub-menu .nav-link {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  white-space: nowrap;
}

/* Nav action buttons (WhatsApp + CTA) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 600;
  font-family: var(--font-head);
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.nav-whatsapp {
  background: #25d366;
  color: #fff;
}
.nav-whatsapp:hover { background: #1ebe5d; color: #fff; transform: translateY(-1px); }
.nav-cta-btn {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 4px 15px rgba(245,158,11,.35);
}
.nav-cta-btn:hover { background: var(--gold-dark); color: #fff; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: transparent;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 7. Hero – Home ──────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--section-pattern);
}
.hero--has-bg-image {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .18;
}
.hero-blob-1 { width: 500px; height: 500px; background: var(--accent); top: -100px; right: -100px; }
.hero-blob-2 { width: 350px; height: 350px; background: var(--gold); bottom: -80px; left: -80px; }

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: 6px 16px;
  color: rgba(255,255,255,.9);
  font-size: .82rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-badge i { color: var(--gold); }

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-title span { color: var(--gold); }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-stats {
  display: flex;
  gap: clamp(16px, 2.5vw, 32px);
  flex-wrap: nowrap;
  align-items: flex-start;
}
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-stat-label { font-size: .78rem; color: rgba(255,255,255,.65); margin-top: 2px; }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card-stack {
  position: relative;
  width: 400px;
  height: 500px;
}
.hero-card {
  position: absolute;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  color: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
/* Card 1 — top-right (BTP Administration) */
.hero-card-sub {
  width: 210px;
  top: 10px;
  right: 10px;
  z-index: 3;
  background: rgba(14,165,233,.28);
  border-color: rgba(14,165,233,.35);
  transform: rotate(3deg);
}
/* Card 2 — middle-center (S/4HANA Administration) */
.hero-card-third {
  width: 210px;
  top: 170px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  z-index: 2;
  background: rgba(16,185,129,.25);
  border-color: rgba(16,185,129,.4);
}
/* Card 3 — bottom-left (HANA On-Premise) */
.hero-card-main {
  width: 270px;
  bottom: 10px;
  left: 10px;
  z-index: 1;
  background: rgba(255,255,255,.13);
  transform: rotate(1deg);
}
.hero-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.hero-card h4 { font-size: .92rem; margin-bottom: 4px; font-weight: 600; }
.hero-card p  { font-size: .76rem; opacity: .78; line-height: 1.4; }
.hero-cert-badge {
  position: absolute;
  top: 50%;
  right: -18px;
  transform: translateY(-50%);
  background: var(--gold);
  color: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(245,158,11,.45);
  z-index: 4;
}
.hero-cert-badge strong { display: block; font-size: 1.2rem; font-family: var(--font-head); }
.hero-cert-badge span { font-size: .7rem; opacity: .88; }

/* ── 8. Trusted By ───────────────────────────────────────── */
.trusted-bar {
  background: var(--bg-light);
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.trusted-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.trusted-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.trusted-logos {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.trusted-logo {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: .6;
  letter-spacing: .5px;
  transition: var(--transition);
}
.trusted-logo:hover { opacity: 1; color: var(--primary); }

/* ── 9. Section – Courses Overview ──────────────────────── */
.courses-overview { background: var(--bg-white); }
.courses-overview .section-subtitle { max-width: none; }
.courses-grid {
  display: grid;
  gap: 28px;
  margin-top: 3rem;
  grid-template-columns: repeat(var(--course-cols-desktop, 3), 1fr);
}
@media (max-width: 768px) {
  .courses-grid { grid-template-columns: repeat(var(--course-cols-tablet, 2), 1fr); }
}
@media (max-width: 480px) {
  .courses-grid { grid-template-columns: repeat(var(--course-cols-mobile, 1), 1fr); }
}
.course-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.course-card-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.course-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  opacity: .15;
}
.cc-blue   { background: linear-gradient(135deg, #1a3a8f, #2563eb); }
.cc-indigo { background: linear-gradient(135deg, #4338ca, #6366f1); }
.cc-teal   { background: linear-gradient(135deg, #0369a1, #0ea5e9); }
.cc-purple { background: linear-gradient(135deg, #6d28d9, #8b5cf6); }
.cc-green  { background: linear-gradient(135deg, #059669, #10b981); }
.cc-cyan   { background: linear-gradient(135deg, #0e7490, #06b6d4); }

.course-card-img span { position: relative; z-index: 1; font-size: 3.5rem; }
.course-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.course-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.course-card-badge { margin-bottom: 24px; }
.course-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0;
  line-height: 1.35;
}
.course-card-title a { color: inherit; text-decoration: none; }
.course-card-title a:hover { color: var(--primary); }

/* ── Compact homepage card — tagline replaces long description ─── */
.course-card-tagline {
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: .3px;
  text-transform: uppercase;
  margin-top: 6px;
  margin-bottom: 12px;
}
.course-card--compact .course-card-badge { margin-bottom: 10px; }
.course-card--compact .course-card-img   { height: 130px; }
.course-card--compact .course-card-body  { padding: 18px; }
.course-card--compact .course-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark, #1a1a2e);
  margin-bottom: 0;
  line-height: 1.35;
}
.course-card--compact .course-card-batch { margin-bottom: 10px; padding: 9px 11px; }
.course-card--compact .course-batch-item { font-size: .82rem; }

.course-card-desc {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-top: 0;
  margin-bottom: 40px;
}
.course-card-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.course-meta-item {
  display: inline-flex;
  align-items: center;
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 500;
}
.course-card-footer {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.course-card-footer .btn {
  flex: 1 1 120px;
  min-width: 0;
  justify-content: center;
  text-align: center;
}
.course-price {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}
.course-price span { font-size: .75rem; font-weight: 400; color: var(--text-muted); }

/* ── Course Card — Integrated Batch Panel ──────────────────────── */
.course-card-batch {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 13px;
  margin-bottom: 14px;
}
.course-batch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  gap: 8px;
}
.course-batch-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-dark);
}
.course-batch-star { color: #f59e0b; font-size: .76rem; }
.course-batch-mode-badge { font-size: .74rem; padding: 2px 8px; flex-shrink: 0; }
.course-batch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 12px;
}
.course-batch-item {
  display: flex;
  flex-direction: column;
  font-size: .90rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.course-batch-item strong {
  font-size: .73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .45px;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.course-batch-item.seats-low    { color: #b45309; }
.course-batch-item.seats-urgent { color: #b91c1c; }

/* Mobile: stack CTAs and collapse batch grid */
@media (max-width: 480px) {
  .course-card-footer { flex-direction: column; }
  .course-card-footer .btn { width: 100%; flex: 0 0 auto; }
  .course-batch-grid { grid-template-columns: 1fr; }
  .course-batch-item { font-size: .87rem; }
}

/* ── 9b. Homepage Course Cards (hcc-) ───────────────────── */
/* Independent layout — evolves separately from archive cards. */

.homepage-courses-grid {
  display: grid;
  gap: 24px;
  margin-top: 3rem;
  grid-template-columns: repeat(var(--course-cols-desktop, 3), 1fr);
}
@media (max-width: 768px) {
  .homepage-courses-grid { grid-template-columns: repeat(var(--course-cols-tablet, 2), 1fr); }
}
@media (max-width: 480px) {
  .homepage-courses-grid { grid-template-columns: repeat(var(--course-cols-mobile, 1), 1fr); }
}

.home-course-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.home-course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.hcc-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.hcc-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  opacity: .15;
}
.hcc-img span { position: relative; z-index: 1; font-size: 3rem; }
.hcc-img img  { width: 100%; height: 100%; object-fit: cover; display: block; }

.hcc-body   { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.hcc-badge  { margin-bottom: 18px; }
.hcc-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0;
  line-height: 1.35;
}
.hcc-title a       { color: inherit; text-decoration: none; }
.hcc-title a:hover { color: var(--primary); }
.hcc-desc {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-top: 8px;
  margin-bottom: 14px;
}
.hcc-footer {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hcc-footer .btn {
  flex: 1 1 110px;
  min-width: 0;
  justify-content: center;
  text-align: center;
}
@media (max-width: 480px) {
  .hcc-footer { flex-direction: column; }
  .hcc-footer .btn { width: 100%; flex: 0 0 auto; }
}

/* ── 9c. Archive Course Cards (acc-) ────────────────────── */
/* Independent layout — evolves separately from homepage cards. */

.archive-courses-grid {
  display: grid;
  gap: 28px;
  margin-top: 3rem;
  grid-template-columns: repeat(var(--course-cols-desktop, 3), 1fr);
}
@media (max-width: 768px) {
  .archive-courses-grid { grid-template-columns: repeat(var(--course-cols-tablet, 2), 1fr); }
}
@media (max-width: 480px) {
  .archive-courses-grid { grid-template-columns: repeat(var(--course-cols-mobile, 1), 1fr); }
}

.archive-course-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.archive-course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.acc-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.acc-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  opacity: .15;
}
.acc-img span { position: relative; z-index: 1; font-size: 3.5rem; }
.acc-img img  { width: 100%; height: 100%; object-fit: cover; display: block; }

.acc-body   { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.acc-badge  { margin-bottom: 24px; }
.acc-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0;
  line-height: 1.35;
}
.acc-title a       { color: inherit; text-decoration: none; }
.acc-title a:hover { color: var(--primary); }
.acc-desc {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-top: 8px;
  margin-bottom: 16px;
}
.acc-footer {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.acc-footer .btn {
  flex: 1 1 120px;
  min-width: 0;
  justify-content: center;
  text-align: center;
}
@media (max-width: 480px) {
  .acc-footer { flex-direction: column; }
  .acc-footer .btn { width: 100%; flex: 0 0 auto; }
}

/* ── 10. Why Choose Us ───────────────────────────────────── */
.why-us { background: var(--bg-light); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 3rem;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.fi-blue   { background: #dbeafe; color: var(--primary); }
.fi-indigo { background: #e0e7ff; color: var(--secondary); }
.fi-teal   { background: #cffafe; color: #0891b2; }
.fi-green  { background: #d1fae5; color: #059669; }
.fi-purple { background: #ede9fe; color: #7c3aed; }
.fi-gold   { background: #fef3c7; color: var(--gold-dark); }

.feature-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.feature-card p  { font-size: .875rem; color: var(--text-muted); line-height: 1.65; }

/* ── 11. Testimonials ────────────────────────────────────── */
.testimonials { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--secondary) 100%); }
.testimonials .section-title    { color: #fff; }
.testimonials .section-subtitle { color: rgba(255,255,255,.7); max-width: 640px; }
.testimonials .section-eyebrow  { color: var(--gold); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 3rem;
}
.testimonial-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
}
.testimonial-card:hover {
  background: rgba(255,255,255,.13);
  transform: translateY(-3px);
}
.testimonial-stars { color: var(--gold); font-size: .95rem; margin-bottom: 14px; }
.testimonial-text {
  font-size: .9rem;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-name  { font-weight: 600; color: #fff; font-size: .9rem; }
.testimonial-role  { font-size: .75rem; color: rgba(255,255,255,.6); margin-top: 1px; }

/* ── 12. CTA Banner ──────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(90deg, var(--accent) 0%, var(--secondary) 100%);
  padding: 70px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; margin-bottom: .5rem; }
.cta-text p  { color: rgba(255,255,255,.8); font-size: 1.05rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── 13. Footer ──────────────────────────────────────────── */
.site-footer {
  background: #080f2a;
  color: rgba(255,255,255,.75);
  margin-top: auto;
  flex-shrink: 0;
}
.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 0 0;
}

/* 4-column main grid */
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Column headings */
.footer-col-title {
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 20px;
}

/* Logo */
.footer-logo { margin-bottom: 20px; }
.footer-logo a,
.footer-logo .custom-logo-link { display: block; width: fit-content; }
.footer-logo img,
.footer-logo .custom-logo {
  height: 52px !important;
  width: auto !important;
  display: block;
  background: #fff;
  border-radius: 8px;
  padding: 4px 10px;
  object-fit: contain;
}

/* Brand column: about text */
.footer-brand-text p,
.footer-col--brand .widget p {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  margin: 0 0 20px;
  max-width: 300px;
}
.footer-col--brand .widget-title { display: none; }

/* Social icons */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: rgba(255,255,255,.65);
  transition: var(--transition);
  text-decoration: none;
  flex-shrink: 0;
}
.footer-social-icon i { font-size: 1rem; line-height: 1; }
.footer-social-icon:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255,255,255,.05);
}

/* Nav columns (Quick Links, SAP Courses) */
.footer-col-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col-nav li { margin-bottom: 12px; }
.footer-col-nav li:last-child { margin-bottom: 0; }
.footer-col-nav a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: var(--transition);
}
.footer-col-nav a:hover { color: var(--accent); padding-left: 3px; }

/* Widget fallback nav columns */
.footer-col--links .widget ul,
.footer-col--courses .widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col--links .widget ul li,
.footer-col--courses .widget ul li { margin-bottom: 12px; }
.footer-col--links .widget ul a,
.footer-col--courses .widget ul a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: var(--transition);
}
.footer-col--links .widget ul a:hover,
.footer-col--courses .widget ul a:hover { color: var(--accent); }

/* Contact column */
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: .875rem;
  color: rgba(255,255,255,.65);
}
.footer-contact-item:last-child { margin-bottom: 0; }
.footer-contact-icon {
  display: flex;
  align-items: center;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-item a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: var(--transition);
}
.footer-contact-item a:hover { color: var(--accent); }
.footer-address {
  font-style: normal;
  line-height: 1.6;
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  flex-wrap: wrap;
}
.footer-copyright p {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  margin: 0;
}
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-bottom-links a {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  text-decoration: none;
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

.footer-credit {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  margin: 0;
}
.footer-credit a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: var(--transition);
}
.footer-credit a:hover { color: #fff; }

/* ── 14. Page Hero (Inner Pages) ────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--secondary) 100%);
  padding: 130px 0 80px;
  text-align: center;
  position: relative;
}
@media (max-width: 768px) { .page-hero { padding: 108px 0 56px; } }
@media (max-width: 480px) { .page-hero { padding: 96px 0 44px; } }
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--section-pattern);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.625rem, 3vw, 2.25rem); color: #fff; margin-bottom: 1rem; line-height: 1.2; }
.page-hero p  { font-size: 1rem; color: rgba(255,255,255,.8); max-width: 860px; margin: 0 auto; line-height: 1.75; }
.page-hero .hero-note {
  font-size: .9rem;
  color: rgba(255,255,255,.75);
  margin-top: .75rem;
  max-width: 100%;
}
.page-hero .hero-actions { justify-content: center; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 1.5rem;
  font-size: .85rem;
}

/* ── Salary Banner ────────────────────────────────────────── */
.salary-banner {
  background: linear-gradient(135deg,#0f172a,#1e1b4b);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}
.salary-banner-title { flex: 0 0 auto; }
.salary-banner-title h3 { color: #fff; font-size: 1rem; margin: 0 0 4px; }
.salary-banner-title p  { color: rgba(255,255,255,.6); font-size: .8rem; margin: 0; }
.salary-range-list { display: flex; flex-wrap: wrap; gap: .75rem; flex: 1; }
.salary-chip {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .35rem .9rem;
  font-size: .8rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.salary-chip strong { color: #a78bfa; }

/* ── Companies Grid ───────────────────────────────────────── */
.companies-grid { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.company-chip {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .35rem .85rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-body);
}

/* ── Batch Starting Badge (course hero) ───────────────────── */
.batch-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(251,191,36,.15);
  border: 1px solid rgba(251,191,36,.45);
  border-radius: 8px;
  padding: .5rem 1.1rem;
  margin-bottom: 1.25rem;
  font-size: .85rem;
  color: #fff;
  font-weight: 500;
}
.batch-badge i { color: #fbbf24; font-size: 1rem; }
.batch-badge strong { color: #fde68a; font-weight: 700; font-size: .95rem; }
.batch-badge-seats {
  background: rgba(251,191,36,.2);
  border: 1px solid rgba(251,191,36,.3);
  border-radius: 50px;
  padding: .15rem .65rem;
  font-size: .72rem;
  font-weight: 600;
  color: #fde68a;
  letter-spacing: .03em;
}
.breadcrumb a   { color: rgba(255,255,255,.65); transition: var(--transition); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.35); }
.breadcrumb .breadcrumb-current { color: var(--gold); font-weight: 500; }

/* ── 15. Course Detail Pages ─────────────────────────────── */
.course-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--secondary) 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) { .course-hero { padding: 100px 0 52px; } }
@media (max-width: 480px) { .course-hero { padding: 92px 0 40px; } }
.course-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--section-pattern);
}
.course-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 50px;
  align-items: start;
}
.course-hero-badge { margin-bottom: 14px; }
.course-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.course-hero-tagline {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 1.5rem;
  max-width: 560px;
}
.course-hero-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.course-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: .8rem;
  color: rgba(255,255,255,.85);
}
.course-pill i { color: var(--gold); }
.course-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Download Syllabus / WhatsApp hero button */
.btn-syllabus {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  border: 2px solid rgba(255,255,255,.35);
  color: rgba(255,255,255,.9);
  border-radius: 8px;
  padding: .65rem 1.25rem;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, border-color .2s;
  cursor: pointer;
}
.btn-syllabus:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
  color: #fff;
}

/* Enrollment Card */
.enroll-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.enroll-card-header {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  padding: 20px 24px;
  color: #fff;
  text-align: center;
}
.enroll-card-header p { font-size: .78rem; opacity: .75; text-transform: uppercase; letter-spacing: .07em; font-weight: 600; margin: 0; }
.enroll-card-header h3 { font-size: 1.9rem; font-weight: 800; letter-spacing: -.01em; margin: 6px 0 0; color: #fde68a; line-height: 1.1; }
.enroll-card-body { padding: 24px; }
.enroll-features { margin-bottom: 20px; }
.enroll-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: .875rem;
  color: var(--text-body);
}
.enroll-feature:last-child { border-bottom: none; }
.enroll-feature i { color: var(--success); font-size: .9rem; width: 16px; }
.enroll-card-footer { padding: 0 24px 24px; }
.enroll-card-footer .btn { width: 100%; justify-content: center; margin-bottom: 10px; }

/* ── Hero Rating Badge ────────────────────────────────────── */
.hero-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .3rem .9rem;
  font-size: .78rem;
  color: #fff;
  margin-bottom: .75rem;
}
.hero-rating-badge .stars { color: #fbbf24; }

/* ── Hero Salary Pill ─────────────────────────────────────── */
.course-hero-salary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(167,139,250,.15);
  border: 1px solid rgba(167,139,250,.3);
  border-radius: 6px;
  padding: .4rem .9rem;
  margin-bottom: 1rem;
  font-size: .82rem;
  color: #ddd6fe;
}
.course-hero-salary strong { color: #c4b5fd; }

/* ── Trust Stats Bar ──────────────────────────────────────── */
.trust-stats-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.trust-stats-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.trust-stats-inner::-webkit-scrollbar { display: none; }
.trust-stat {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem 1.5rem;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}
.trust-stat:last-child { border-right: none; }
.trust-stat i { font-size: 1.2rem; color: var(--primary); }
.trust-stat-info strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  white-space: nowrap;
}
.trust-stat-info span {
  font-size: .72rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .trust-stats-inner { justify-content: flex-start; }
  .trust-stat { padding: .5rem 1rem; }
}
.enroll-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--text-muted);
}
.enroll-guarantee i { color: var(--success); }

/* Course Content Layout */
.course-layout {
  padding: 70px 0;
  background: var(--bg-white);
}
.course-content {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 50px;
  align-items: start;
}
.course-sidebar { position: sticky; top: 90px; }

/* Sections within course page */
.course-section { margin-bottom: 50px; }
.course-section h2 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-light);
}
/* Section heading icon — accent colour + right gap (replaces repeated inline styles) */
.course-section h2 i { color: var(--accent); margin-right: 8px; }
.course-section p { font-size: .95rem; line-height: 1.8; color: var(--text-body); margin-bottom: 14px; }

/* Key Features */
.key-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.key-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.key-feature i { color: var(--accent); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.key-feature-text h4 { font-size: .9rem; margin-bottom: 4px; }
.key-feature-text p  { font-size: .8rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* Curriculum */
.curriculum-module {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--bg-light);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}
.module-header:hover { background: #e8edf8; }
.module-header.active { background: var(--primary); color: #fff; }
.module-header.active .module-toggle { color: #fff; }
.module-title-wrap { display: flex; align-items: center; gap: 12px; }
.module-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--font-head);
}
.module-header.active .module-num { background: rgba(255,255,255,.2); }
.module-name { font-weight: 600; font-size: .95rem; }
.module-toggle { color: var(--text-muted); transition: var(--transition); }
.module-toggle.rotated { transform: rotate(180deg); }
.module-body {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.module-body.open { padding: 16px 20px; max-height: 500px; }
.module-topics li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: .875rem;
  color: var(--text-body);
}
.module-topics li:last-child { border-bottom: none; }
.module-topics li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Tools Section */
.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
}
.tool-chip:hover { border-color: var(--accent); color: var(--primary); background: #e0f2fe; }
.tool-chip i { color: var(--accent); }

/* Duration Info */
.duration-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.duration-card {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.duration-card i { font-size: 1.75rem; color: var(--primary); margin-bottom: 10px; }
.duration-card h4 { font-size: .85rem; color: var(--text-muted); margin-bottom: 6px; }
.duration-card p { font-size: 1rem; font-weight: 700; color: var(--text-dark); font-family: var(--font-head); }

/* Career Opportunities */
.career-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.career-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
}
.career-item:hover { border-color: var(--accent); color: var(--primary); }
.career-item i { color: var(--success); }

/* Who Should Enroll */
.enroll-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.enroll-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: var(--text-body);
}
.enroll-item i { color: var(--primary); flex-shrink: 0; }

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: .97rem;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: var(--transition);
  user-select: none;
}
.faq-question:hover { color: var(--primary); background: var(--bg-light); }
.faq-question i { color: var(--text-muted); transition: var(--transition); }
.faq-question.active { color: var(--primary); background: var(--bg-light); }
.faq-question.active i { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-answer.open { max-height: 600px; padding: 0 24px 20px; }
.faq-answer p { font-size: .92rem; color: var(--text-muted); line-height: 1.75; }
.faq-answer ul,.faq-answer ol { font-size: .875rem; color: var(--text-muted); line-height: 1.7; padding-left: 1.25rem; }
.faq-answer-inner { padding: 0; }

/* button.faq-question reset — allows semantic <button> inside the accordion */
button.faq-question {
  width: 100%;
  border: none;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  outline-offset: 2px;
}
button.faq-question:focus-visible { outline: 2px solid var(--primary); }

/* FAQ section heading */
.faq-section-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

/* Course SEO sections */
.course-seo-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.course-seo-heading i { color: var(--primary); font-size: 1.2rem; }

.course-outcomes-list,
.course-prereq-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.course-outcomes-list li,
.course-prereq-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--text-body);
  line-height: 1.6;
}
.course-outcomes-list li i { color: var(--success); font-size: .9rem; flex-shrink: 0; margin-top: 2px; }
.course-prereq-list li i  { color: var(--primary); font-size: .75rem; flex-shrink: 0; margin-top: 4px; }

.course-career-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.course-career-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-dark);
}
.course-career-tag i { color: var(--primary); font-size: .75rem; }

.course-support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.course-support-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}
.course-support-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.course-support-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.course-support-card p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

/* Testimonial photo variant */
.testimonial-avatar--photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .course-outcomes-list,
  .course-prereq-list { grid-template-columns: 1fr; }
  .course-support-grid { grid-template-columns: 1fr; }
}

/* Sidebar Widget */
.sidebar-widget {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text-dark);
}
.sidebar-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: .855rem;
  color: var(--text-body);
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list li i { color: var(--accent); width: 16px; }

/* Sidebar WhatsApp widget */
.sidebar-whatsapp {
  background: #25d366;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
  text-align: center;
}
.sidebar-whatsapp p {
  color: #fff;
  font-size: .83rem;
  margin: 0 0 .75rem;
  font-weight: 500;
}
.sidebar-whatsapp a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: #fff;
  color: #15803d;
  font-weight: 700;
  font-size: .85rem;
  padding: .55rem 1rem;
  border-radius: 6px;
  text-decoration: none;
}
.sidebar-whatsapp a:hover { background: #f0fdf4; }

/* ── 15b. Course Page — High-Specificity Reinforcement ──────
   wp-global-styles is now dequeued for course pages (performance.php) so
   theme.json element styles no longer conflict. These rules remain as an
   extra guard and keep explicit values visible alongside the base rules.
   ─────────────────────────────────────────────────────────── */

/* Admin-bar offset — course-hero was missing the override that .hero already
   has. Without it, when admin bar is active the hero background starts 32px
   lower than expected, compressing the visual top-space. */
.admin-bar .course-hero { padding-top: 152px; }
@media screen and (max-width: 782px) {
  .admin-bar .course-hero { padding-top: 168px; }
}

/* Sidebar sticky — compensate for admin bar shifting the navbar down */
.admin-bar .course-sidebar { top: 122px; }
@media screen and (max-width: 782px) {
  .admin-bar .course-sidebar { top: 136px; }
}

/* Hero H1 — reference: clamp(1.75rem,3.5vw,2.75rem) */
.single-course-page .course-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* Hero tagline */
.single-course-page .course-hero-tagline {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255,255,255,.75);
}

/* Course section H2 — reference: 1.5rem (WP global-styles would push to clamp) */
.single-course-page .course-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-light);
}

/* Course section paragraphs */
.single-course-page .course-section p {
  font-size: .95rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 14px;
}

/* Key feature card typography */
.single-course-page .key-feature-text h4 { font-size: .9rem; font-weight: 600; }
.single-course-page .key-feature-text p  { font-size: .8rem; line-height: 1.5; color: var(--text-muted); }

/* Sidebar headings */
.single-course-page .sidebar-widget h3 { font-size: 1rem; font-weight: 700; }

/* Curriculum module */
.single-course-page .module-name { font-size: .95rem; font-weight: 600; }

/* Duration card */
.single-course-page .duration-card h4 { font-size: .85rem; }
.single-course-page .duration-card p  { font-size: 1rem; font-weight: 700; }

/* FAQ */
.single-course-page .faq-question { font-size: .97rem; font-weight: 700; }

/* Enroll card date */
.single-course-page .enroll-card-header h3 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #fde68a;
  line-height: 1.1;
}

/* Trainer name/designation */
.single-course-page .trainer-name        { font-size: 1.5rem; font-weight: 700; }
.single-course-page .trainer-designation { font-size: .9rem;  font-weight: 600; }

/* ── 16. About Page ──────────────────────────────────────── */
.about-story { background: var(--bg-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) { .about-img-box { height: 280px; } }
.about-img-box .about-icon { font-size: 8rem; opacity: .3; color: #fff; }
.about-stat-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about-stat-card.top-right  { top: -20px; right: -20px; }
.about-stat-card.bottom-left { bottom: -20px; left: -20px; }
@media (max-width: 768px) {
  /* Hide floating stat cards — eliminates absolutely-positioned overflow from .about-visual
     that interferes with position:fixed in Safari iOS.
     Also: swap overflow:hidden on .about-img-box for clip-path. The overflow:hidden +
     border-radius + position:relative combination promotes the element to a GPU compositing
     layer whose z-order can conflict with the navbar backdrop-filter layer, causing the
     mobile nav-collapse panel to render beneath page content on About + Corporate pages.
     clip-path achieves identical visual clipping without the compositing-layer promotion. */
  .about-stat-card { display: none; }
  .about-img-box {
    overflow: visible;
    clip-path: inset(0 round var(--radius-lg));
  }
}
.about-stat-card strong {
  display: block;
  font-size: 1.6rem;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--primary);
}
.about-stat-card span { font-size: .78rem; color: var(--text-muted); }

.about-text .section-eyebrow { display: block; text-align: left; }
.about-text h2 { text-align: left; }
.about-text p { font-size: .95rem; line-height: 1.8; color: var(--text-body); margin-bottom: 16px; }
.about-highlights { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.about-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.ah-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: .9rem;
  flex-shrink: 0;
}
.ah-text h4 { font-size: .9rem; margin-bottom: 3px; }
.ah-text p  { font-size: .82rem; color: var(--text-muted); margin: 0; }

/* Stats Banner */
.stats-banner {
  background: var(--primary);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-size: 2.5rem;
  font-family: var(--font-head);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-item span { font-size: .85rem; color: rgba(255,255,255,.65); margin-top: 6px; display: block; }

/* ── 17. Contact Page ────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  padding: 80px 0;
}
.contact-info h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.contact-info p { font-size: .9rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.contact-item-text h4 { font-size: .95rem; margin-bottom: 3px; }
.contact-item-text p { font-size: .875rem; color: var(--text-muted); margin: 0; }

.contact-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact-form-card h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.contact-form-card > p { font-size: .875rem; color: var(--text-muted); margin-bottom: 28px; }

.contact-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.contact-quick-action {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}
.contact-quick-action i { font-size: 1.5rem; color: var(--primary); margin-bottom: 8px; display: block; }
.contact-quick-action h4 { font-size: .9rem; margin-bottom: 4px; color: var(--text-dark); }
.contact-quick-action p { font-size: .78rem; color: var(--text-muted); margin: 0; }
.contact-quick-action-link { display: contents; text-decoration: none; color: inherit; }
.contact-quick-action:has(.contact-quick-action-link):hover { border-color: var(--primary); transition: border-color .2s; }
.contact-quick-action-btn { display: inline-flex; margin-top: 12px; }

.contact-faq-cta {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.contact-faq-cta p { font-size: .9rem; color: var(--text-muted); margin-bottom: .75rem; }

.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: .9rem;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,58,143,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* Contact form: inline success/error notice */
.form-notice {
  display: none;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 16px;
}
.form-notice.is-success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}
.form-notice.is-error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Honeypot: visually and programmatically hidden */
.contact-hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.map-placeholder {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 24px 20px;
  text-align: center;
  color: var(--text-muted);
  margin-top: 32px;
}
.map-placeholder i { font-size: 2.5rem; color: var(--primary); opacity: .4; }
.map-placeholder-addr {
  font-size: .8rem;
  color: var(--text-muted);
  margin: 0;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

/* ── 18. Corporate Training Page ─────────────────────────── */
.corp-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 3rem;
}
.corp-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}
.corp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.corp-card-num {
  font-size: 2.5rem;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--bg-light);
  -webkit-text-stroke: 2px var(--border);
  line-height: 1;
  margin-bottom: 12px;
}
.corp-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.corp-card p  { font-size: .875rem; color: var(--text-muted); line-height: 1.65; }

/* ── Corporate Training — Trainer Avatar ────────────────────── */
.ct-trainer-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
}
.ct-trainer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
@media (max-width: 600px) {
  .ct-trainer-avatar { width: 72px; height: 72px; }
}

.corp-process {
  display: flex;
  gap: 0;
  margin-top: 3rem;
  position: relative;
}
.corp-process::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-family: var(--font-head);
  font-weight: 800;
  margin: 0 auto 16px;
  border: 4px solid var(--bg-white);
  box-shadow: var(--shadow-md);
}
.process-step h4 { font-size: .95rem; margin-bottom: 8px; }
.process-step p  { font-size: .8rem; color: var(--text-muted); max-width: 160px; margin: 0 auto; }

/* Corporate Training — responsive 3-col program grid and 4-col industry grid.
   These replace the inline grid-template-columns styles in corporate-training.php
   so mobile media queries can override them (inline styles ignore media queries). */
.ct-programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 3rem;
}
.ct-industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 2.5rem;
}
@media (max-width: 768px) {
  .ct-programs-grid { grid-template-columns: 1fr; }
  .ct-industry-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Corporate Training rich content paragraphs ─────────── */
.ct-rich-para { margin-bottom: 1rem; }
.ct-rich-para p { margin-bottom: .75rem; }
.ct-rich-para ul,
.ct-rich-para ol { padding-left: 1.4rem; margin-bottom: .75rem; }
.ct-rich-para li { margin-bottom: .4rem; line-height: 1.65; }
.ct-rich-para ul li { list-style: disc; }
.ct-rich-para ol li { list-style: decimal; }
.ct-rich-para strong { font-weight: 600; }

/* ── 19. Courses Page Header ─────────────────────────────── */
.courses-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: #fff;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-body);
}
.filter-btn:hover,
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.courses-page-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.courses-page-stat { text-align: center; }
.courses-page-stat-value {
  font-size: 1.8rem;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--primary);
}
.courses-page-stat-label { font-size: .8rem; color: var(--text-muted); }

/* ── 20. Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats  { justify-content: center; }
  .hero-visual { display: none; }
  .hero-desc { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-badge { display: inline-flex; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
  .course-hero-inner { grid-template-columns: 1fr; }
  .enroll-card { max-width: 480px; margin: 0 auto; }
  .course-content { grid-template-columns: 1fr; }
  .course-sidebar { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .content-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .corp-process { flex-direction: column; align-items: center; gap: 24px; }
  .corp-process::before { display: none; }
}

@media (max-width: 768px) {
  /* Mobile slide-down panel */
  .nav-collapse {
    display: flex;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
    border-bottom: 1px solid rgba(255,255,255,.1);
    z-index: 9999;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-collapse.open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Admin bar offset on mobile (admin bar is 46px at ≤782px) */
  .admin-bar .nav-collapse { top: 118px; max-height: calc(100vh - 118px); }

  /* Nav menu inside the panel */
  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 8px;
    gap: 2px;
  }
  .nav-link { padding: 12px 16px; border-radius: 8px; }
  .nav-menu .nav-cta { text-align: center; margin: 4px 0; }

  /* Action buttons at bottom of mobile panel */
  .nav-actions {
    margin: 0;
    padding: 12px 20px 20px;
    border-top: 1px solid rgba(255,255,255,.1);
    gap: 10px;
    flex-wrap: wrap;
  }
  .nav-btn {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 120px;
  }

  /* Hamburger: absolutely positioned so it's never affected by nav-collapse flex layout */
  .hamburger {
    display: flex !important;
    position: absolute !important;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
  }

  /* Mobile dropdown submenus — click-toggled, no hover */
  .nav-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 6px;
    background: rgba(255,255,255,.05);
    padding: 4px;
    margin: 4px 0 0;
    transition: none;
    display: none;
  }
  .nav-menu .menu-item-has-children.is-open > .sub-menu { display: block; }
  .nav-menu .sub-menu .nav-link { padding: 10px 20px; white-space: normal; }
  /* Suppress hover-triggered dropdowns on touch devices */
  .nav-menu .menu-item-has-children:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }

  /* Logo slightly smaller on mobile */
  .logo-img,
  .navbar .custom-logo {
    height: 40px !important;
    max-width: 150px !important;
  }

  .section-pad { padding: 60px 0; }
  .hero-title  { font-size: 2rem; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-bottom-links { justify-content: center; }
  .key-features-grid { grid-template-columns: 1fr; }
  .career-list  { grid-template-columns: 1fr; }
  .enroll-list  { grid-template-columns: 1fr; }
  .form-row     { grid-template-columns: 1fr; }
  .duration-cards { grid-template-columns: 1fr; }
  .stats-grid   { grid-template-columns: repeat(2, 1fr); }
  .cta-inner    { flex-direction: column; text-align: center; }
  .cta-actions  { justify-content: center; }
  .contact-form-card { padding: 28px; }
  .contact-layout { padding: 60px 0; }
  .courses-page-stats { gap: 24px; }
  .enroll-card  { max-width: 100%; }
  .trainer-card { padding: 28px; }
}

@media (max-width: 480px) {
  .hero-title  { font-size: 1.75rem; }
  .features-grid { grid-template-columns: 1fr !important; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-form-card { padding: 20px; }
  .contact-layout { padding: 48px 0; }
  .contact-quick-actions { grid-template-columns: 1fr; }
  .courses-page-stats { gap: 16px; }
  .corp-benefits { grid-template-columns: 1fr; }
  .ct-industry-grid { grid-template-columns: 1fr; }
}

/* ── 21. Content Section (About on Homepage) ─────────────── */
.content-section { background: var(--bg-white); }
.content-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.content-text .section-eyebrow { display: block; }
.content-text p { font-size: .95rem; line-height: 1.8; color: var(--text-body); margin-bottom: 16px; }
.content-checklist { margin: 20px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.content-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--text-body);
}
.content-checklist li i { color: var(--success); font-size: .95rem; flex-shrink: 0; }
.content-stats-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.content-stat-item {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
}
.content-stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.content-stat-label { font-size: .78rem; color: var(--text-muted); font-weight: 500; }

@media (max-width: 768px) {
  .content-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ── 22. Trainer Section ─────────────────────────────────── */
.trainer-section { background: var(--bg-light); }
.trainer-section .section-subtitle { max-width: 860px; }
.ct-trainer-authority .section-title { max-width: 780px; margin-left: auto; margin-right: auto; }
.ct-trainer-authority .section-subtitle { max-width: 860px; }
.trainer-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  margin-top: 3rem;
  box-shadow: var(--shadow-md);
}
.trainer-img-wrap {
  position: relative;
  text-align: center;
}
.trainer-img-placeholder {
  width: 220px;
  height: 260px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  overflow: hidden;
}
.trainer-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-md);
  display: block;
}
.trainer-experience-badge {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #fff;
  border-radius: 10px;
  padding: 8px 20px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(245,158,11,.4);
  white-space: nowrap;
}
.trainer-experience-badge strong { display: block; font-size: 1.15rem; font-family: var(--font-head); line-height: 1; }
.trainer-experience-badge span   { font-size: .7rem; opacity: .9; }
.trainer-name        { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.trainer-designation { font-size: .95rem; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.trainer-company     { font-size: .85rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.trainer-company i   { margin-right: 6px; }
.trainer-bio         { font-size: .9rem; line-height: 1.8; color: var(--text-body); margin-bottom: 1.5rem; }
.trainer-skills      { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.75rem; }
.trainer-skill {
  background: var(--bg-light);
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: .78rem;
  font-weight: 600;
}
.trainer-actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .trainer-card        { grid-template-columns: 1fr; text-align: center; }
  .trainer-img-wrap    { max-width: 240px; margin: 0 auto 2.5rem; }
  .trainer-skills      { justify-content: center; }
  .trainer-actions     { justify-content: center; }
}

/* ── 23. Trust Indicators ─────────────────────────────────── */
.trust-indicators {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(92%, 1200px);
  margin: 0 auto;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 20px 28px;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(26,58,143,.07) 0%, rgba(14,165,233,.11) 100%);
  border: 1px solid rgba(26,58,143,.11);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.15rem;
  flex-shrink: 0;
}
.trust-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trust-content strong {
  display: block;
  font-size: .875rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  letter-spacing: -.01em;
}
.trust-content span {
  font-size: .775rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* tablet — 2×2 balanced grid */
@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: 1px solid var(--border); }
  .trust-item:nth-child(even)  { border-right: none; }
  .trust-item:nth-child(n + 3) { border-top: 1px solid var(--border); }
}

/* mobile — single column, icon-left rows */
@media (max-width: 540px) {
  .trust-indicators { padding: 4px 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item {
    flex-direction: row;
    text-align: left;
    align-items: center;
    padding: 16px 20px;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid var(--border);
    gap: 14px;
  }
  .trust-item:nth-child(even) { border-right: none; }
  .trust-item:nth-child(n + 3) { border-top: none; }
  .trust-item:last-child { border-bottom: none; }
  .trust-content { text-align: left; }
}

/* ── 24. Course editor content (block editor output) ──────── */
.course-editor-content,
.entry-content {
  font-size: .95rem;
  line-height: 1.8;
  color: var(--text-body);
}
.course-editor-content h2,
.entry-content h2 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin: 2rem 0 1rem;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-light);
}
.course-editor-content h3,
.entry-content h3 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin: 1.5rem 0 .75rem;
}
.course-editor-content ul,
.entry-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.course-editor-content ol,
.entry-content ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.course-editor-content li,
.entry-content li {
  margin-bottom: .4rem;
}
.course-editor-content p,
.entry-content p { margin-bottom: 1rem; }

/* ── 25. Gutenberg alignment helpers ─────────────────────── */
.alignwide  { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull  { width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; }
.alignleft  { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { text-align: center; margin-left: auto; margin-right: auto; }

/* ── 26. WordPress block styles (needed when wp-block-styles enabled) ── */
.wp-block-image.is-style-rounded img { border-radius: var(--radius-lg); }
.wp-block-quote.is-style-plain { border-left: none; padding-left: 0; font-style: normal; }
.wp-block-separator.is-style-dots { border: none; text-align: center; }
.wp-block-separator.is-style-dots::before {
  content: '···';
  font-size: 1.5rem;
  letter-spacing: .5rem;
  color: var(--text-muted);
}

/* ── Ripple Wave Animation (Hero section) ────────────────── */
.ripple-wave {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.08);
  animation: rippleAnim 4s ease-in-out infinite;
  pointer-events: none;
}
.ripple-wave:nth-child(1) { width: 200px; height: 200px; top: 20%; right:  8%; animation-delay: 0s; }
.ripple-wave:nth-child(2) { width: 320px; height: 320px; top: 15%; right:  5%; animation-delay: .8s; }
.ripple-wave:nth-child(3) { width: 440px; height: 440px; top: 10%; right:  2%; animation-delay: 1.6s; }

@keyframes rippleAnim {
  0%,  100% { transform: scale(1);    opacity: .4; }
  50%        { transform: scale(1.05); opacity: .15; }
}

/* ── Accessibility: Screen Reader Text ───────────────────── */
.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;
}
.screen-reader-text:focus {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
  padding: .5rem 1rem;
  background: var(--bg-white);
  color: var(--primary);
  font-weight: 600;
}

/* ── Accessibility: Skip Link ────────────────────────────── */
.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 99999;
  padding: .75rem 1.5rem;
  background: var(--primary);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: top .2s ease;
  white-space: nowrap;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ── Accessibility: Focus Visibility ─────────────────────── */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
/* Suppress focus ring for mouse users only */
:focus:not(:focus-visible) { outline: none; }

/* ── 404 Page ────────────────────────────────────────────── */
.error-404-inner {
  max-width: 560px;
  margin: 0 auto;
}
.error-404-code {
  font-family: var(--font-head);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  margin: 0 0 .25rem;
  letter-spacing: -4px;
}
.error-404-inner h1 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.error-404-message {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 420px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.error-404-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── 27. Search Results Page ─────────────────────────────── */
.search-query { color: var(--primary); font-style: normal; }

.search-results-list { display: flex; flex-direction: column; gap: 0; }

.search-result-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.search-result-item:first-child { padding-top: 0; }
.search-result-item:last-child { border-bottom: none; }

.search-result-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.search-result-title a {
  color: var(--primary);
  transition: var(--transition);
}
.search-result-title a:hover { color: var(--secondary); text-decoration: underline; }

.search-result-excerpt {
  font-size: .9rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 8px;
}
.search-result-excerpt p { margin: 0; }

.search-result-url {
  font-size: .8rem;
  color: var(--text-muted);
}
.search-result-url a {
  color: var(--text-muted);
  transition: var(--transition);
}
.search-result-url a:hover { color: var(--primary); }

/* ── Contact form submit success state ───────────────────── */
.btn--sent { background: var(--success) !important; border-color: var(--success) !important; }

/* ── 28. Back to Top ─────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background .3s ease;
}
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }
@media (max-width: 480px) { .back-to-top { bottom: 18px; right: 18px; width: 40px; height: 40px; } }

/* ── 29. Upcoming Batches Section ───────────────────────────── */
.upcoming-batches { background: var(--bg-light); }

/* 3-column responsive grid */
.batches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 3rem;
}
@media (max-width: 1024px) {
  .batches-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .batches-grid { grid-template-columns: 1fr; }
}

/* Card shell */
.batch-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  /* Colour accent strip — inherits from .cc-* class on the element */
  border-top: 4px solid var(--primary);
}
/* Per-course colour accents on the top strip */
.batch-card.cc-blue   { border-top-color: #2563eb; }
.batch-card.cc-indigo { border-top-color: #6366f1; }
.batch-card.cc-teal   { border-top-color: #0ea5e9; }
.batch-card.cc-purple { border-top-color: #8b5cf6; }
.batch-card.cc-green  { border-top-color: #10b981; }
.batch-card.cc-cyan   { border-top-color: #06b6d4; }

.batch-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
/* Restore top-border colour on hover */
.batch-card.cc-blue:hover   { border-top-color: #2563eb; }
.batch-card.cc-indigo:hover { border-top-color: #6366f1; }
.batch-card.cc-teal:hover   { border-top-color: #0ea5e9; }
.batch-card.cc-purple:hover { border-top-color: #8b5cf6; }
.batch-card.cc-green:hover  { border-top-color: #10b981; }
.batch-card.cc-cyan:hover   { border-top-color: #06b6d4; }

/* Card header — badge row */
.batch-card-header {
  padding: 16px 20px 0;
}
.batch-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 26px;
}
.batch-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.batch-featured-badge i { font-size: .65rem; }

/* Card body */
.batch-card-body {
  padding: 14px 20px 16px;
  flex: 1;
}
.batch-course-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 14px;
}
.batch-course-title a { color: inherit; text-decoration: none; }
.batch-course-title a:hover { color: var(--primary); }

/* Meta grid — 2-col on wide cards */
.batch-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}
.batch-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.batch-meta-item i {
  color: var(--accent);
  font-size: .85rem;
  margin-top: 2px;
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}
.batch-meta-item span { display: flex; flex-direction: column; }
.batch-meta-item strong {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-dark);
  margin-bottom: 1px;
}

/* Seats indicator colours */
.batch-seats { color: var(--text-muted); }
.batch-seats.seats-low    { color: #b45309; }
.batch-seats.seats-low    i { color: #f59e0b; }
.batch-seats.seats-urgent { color: #b91c1c; }
.batch-seats.seats-urgent i { color: #ef4444; }

/* Card footer — CTA */
.batch-card-footer {
  padding: 0 20px 20px;
  margin-top: auto;
}
.batch-cta { width: 100%; justify-content: center; }

/* Stack meta grid to single col on narrow viewports */
@media (max-width: 480px) {
  .batch-meta-grid { grid-template-columns: 1fr; }
  .batch-card-footer { padding-bottom: 16px; }
}

/* ── 30. Trainer Profile Compact (course section variant) ────
   Used by template-parts/course/trainer-profile.php inside .course-section.
   Separate from the full .trainer-card used on the Trainer section page.
   ─────────────────────────────────────────────────────────── */
.trainer-profile-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.trainer-profile-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.trainer-profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trainer-profile-avatar i { font-size: 1.8rem; color: #fff; }
.trainer-profile-name { font-size: 1.15rem; margin: 0 0 4px; }
.trainer-profile-subtitle { margin: 0; font-size: .85rem; color: var(--primary); font-weight: 600; }
.trainer-profile-exp { margin: 4px 0 0; font-size: .8rem; color: var(--text-muted); }
.trainer-profile-badges { display: flex; gap: .35rem; margin-top: .4rem; flex-wrap: wrap; }
.trainer-badge {
  font-size: .7rem;
  font-weight: 700;
  padding: .15rem .55rem;
  border-radius: 50px;
}
/* Cycle through 5 badge colours matching PHP $badge_styles array order */
.trainer-badge:nth-child(5n+1) { background: #fef3c7; color: #92400e; }
.trainer-badge:nth-child(5n+2) { background: #ede9fe; color: #5b21b6; }
.trainer-badge:nth-child(5n+3) { background: #dcfce7; color: #166534; }
.trainer-badge:nth-child(5n+4) { background: #dbeafe; color: #1e40af; }
.trainer-badge:nth-child(5n)   { background: #fce7f3; color: #9d174d; }
.trainer-profile-bio { font-size: .875rem; color: var(--text-body); margin-bottom: .75rem; }
.trainer-profile-bio--last { margin-bottom: 1.25rem; }
.trainer-profile-specs { border-top: 1px solid var(--border); padding-top: 1rem; }
.trainer-profile-specs-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .75rem;
}

/* ── 31. FAQ Section (homepage + section partial) ─────────── */
.faq-section { background: var(--bg-light); }
.faq-content-wrap { max-width: 780px; margin: 0 auto; }
.faq-section-cta { text-align: center; margin-top: 2.5rem; }
.faq-section-cta p { color: var(--text-muted); margin-bottom: 1.25rem; font-size: .9rem; }

/* ── 32. Course Section — Topics Grid / Sub-label ─────────── */
.course-topics-wrap { margin-top: 1.25rem; }
.course-topics-label {
  font-weight: 700;
  font-size: .85rem;
  color: var(--text-dark);
  margin-bottom: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ── 33. Hiring Companies — section label ──────────────────── */
.hiring-cos-label {
  font-weight: 700;
  font-size: .85rem;
  color: var(--text-dark);
  margin-bottom: .5rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: 1.25rem;
}

/* ── 34. Blog Hero (single + archive) ──────────────────────── */
.blog-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--secondary) 100%);
  padding: 130px 0 72px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) { .blog-hero { padding: 108px 0 52px; } }
@media (max-width: 480px) { .blog-hero { padding: 96px 0 44px; } }

.admin-bar .blog-hero { padding-top: 162px; }
@media screen and (max-width: 782px) { .admin-bar .blog-hero { padding-top: 154px; } }

.blog-hero__pattern {
  position: absolute;
  inset: 0;
  background: var(--section-pattern);
  pointer-events: none;
}
/* Radial glow accent */
.blog-hero::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79,70,229,.22) 0%, transparent 65%);
  pointer-events: none;
}

.blog-hero__inner { position: relative; z-index: 1; }
.blog-hero__inner--center { text-align: center; }
.blog-hero__inner--center .breadcrumb { justify-content: center; }

.blog-hero__badges { margin-bottom: 1rem; }
.blog-hero__cat-badge {
  font-size: .75rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(4px);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.blog-hero__cat-badge:hover { background: rgba(255,255,255,.22); }

.blog-hero__title {
  font-size: clamp(1.625rem, 3.5vw, 2.5rem);
  color: #fff;
  line-height: 1.2;
  margin: .5rem 0 1.25rem;
  max-width: 820px;
}
.blog-hero__title--archive { margin: .5rem auto 1.25rem; }

.blog-hero__desc {
  font-size: 1rem;
  color: rgba(255,255,255,.8);
  max-width: 680px;
  margin: 0 auto 1.5rem;
  line-height: 1.75;
}

.blog-hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .25rem;
}
.blog-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}
.blog-hero__meta-item i { font-size: .8rem; color: var(--accent); }
.blog-hero__meta-sep { color: rgba(255,255,255,.3); font-size: .8rem; }

/* Archive stats row */
.blog-hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.blog-hero__stat {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}
.blog-hero__stat i { color: var(--gold); font-size: .8rem; }
.blog-hero__stat-sep { color: rgba(255,255,255,.2); }
@media (max-width: 480px) { .blog-hero__stat-sep { display: none; } }

/* ── 35. Blog Archive Page ──────────────────────────────────── */
.blog-archive { padding: 72px 0 80px; background: var(--bg-white); }
@media (max-width: 768px) { .blog-archive { padding: 52px 0 60px; } }

.blog-archive__wrap { max-width: 1100px; }

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (max-width: 1024px) { .blog-posts-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (max-width: 600px)  { .blog-posts-grid { grid-template-columns: 1fr; gap: 1.25rem; } }

/* Blog Card */
.blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease;
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.blog-card__thumb {
  display: block;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card__thumb img { transform: scale(1.04); }

.blog-card__thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card__thumb--placeholder i { font-size: 3rem; color: rgba(255,255,255,.3); }

.blog-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__cat  { margin-bottom: .75rem; font-size: .72rem; }

.blog-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: .6rem;
  color: var(--text-dark);
}
.blog-card__title a { color: inherit; }
.blog-card__title a:hover { color: var(--primary); }

.blog-card__excerpt { font-size: .875rem; color: var(--text-muted); line-height: 1.65; flex: 1; margin-bottom: .75rem; }

.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: .75rem;
  margin-top: auto;
}
.blog-card__meta { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.blog-card__date,
.blog-card__read-time {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  color: var(--text-muted);
}
.blog-card__date i,
.blog-card__read-time i { font-size: .72rem; color: var(--accent); }
.blog-card__cta { white-space: nowrap; }

/* Pagination */
.blog-archive__pagination { margin-top: .5rem; }
.blog-archive__pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.blog-archive__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 .75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition);
}
.blog-archive__pagination .page-numbers:hover,
.blog-archive__pagination .page-numbers.current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.blog-archive__pagination .page-numbers.dots { border: none; background: none; }

/* No results */
.blog-no-results {
  text-align: center;
  padding: 80px 20px;
  max-width: 500px;
  margin: 0 auto;
}
.blog-no-results__icon { font-size: 3.5rem; color: var(--border); margin-bottom: 1rem; }
.blog-no-results h2 { color: var(--text-dark); margin-bottom: .75rem; }
.blog-no-results p  { color: var(--text-muted); margin-bottom: 2rem; }

/* ── 36. Blog Single Post ────────────────────────────────────── */
.blog-single { padding: 60px 0 80px; background: var(--bg-white); }
@media (max-width: 768px) { .blog-single { padding: 44px 0 60px; } }

.blog-single__wrap { max-width: 820px; }

/* Featured image */
.blog-article__thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-md);
}
.blog-article__thumb-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 480px;
  object-fit: cover;
}

/* Article typography */
.blog-article__body {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text-body);
}
.blog-article__body h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  color: var(--text-dark);
  margin: 2.25rem 0 .9rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--bg-light);
  line-height: 1.25;
}
.blog-article__body h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-dark);
  margin: 1.75rem 0 .6rem;
}
.blog-article__body h4 {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin: 1.25rem 0 .5rem;
}
.blog-article__body p { margin-bottom: 1.35rem; }
.blog-article__body p:last-child { margin-bottom: 0; }

.blog-article__body a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.blog-article__body a:hover { color: var(--secondary); }

.blog-article__body ul,
.blog-article__body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.35rem;
}
.blog-article__body ul { list-style: disc; }
.blog-article__body ol { list-style: decimal; }
.blog-article__body li { margin-bottom: .45rem; line-height: 1.75; }

.blog-article__body blockquote {
  border-left: 4px solid var(--primary);
  background: var(--bg-light);
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-body);
}
.blog-article__body blockquote p { margin-bottom: 0; }

.blog-article__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: .9rem;
  overflow-x: auto;
  display: block;
}
.blog-article__body table thead { background: var(--primary); color: #fff; }
.blog-article__body table th,
.blog-article__body table td {
  padding: .65rem .9rem;
  text-align: left;
  border: 1px solid var(--border);
  white-space: nowrap;
}
.blog-article__body table tbody tr:nth-child(even) { background: var(--bg-light); }

.blog-article__body pre {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  margin: 1.75rem 0;
  font-size: .875rem;
  line-height: 1.7;
}
.blog-article__body code {
  background: var(--bg-light);
  color: var(--secondary);
  padding: .15em .4em;
  border-radius: 4px;
  font-size: .875em;
}
.blog-article__body pre code {
  background: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
}

.blog-article__body img {
  border-radius: var(--radius-sm);
  max-width: 100%;
  height: auto;
  margin: 1.25rem 0;
}
.blog-article__body .wp-caption { max-width: 100%; }
.blog-article__body .wp-caption-text {
  font-size: .8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: .35rem;
}

/* Tags */
.blog-article__tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.blog-article__tags-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-right: .25rem;
}

/* ── 37. Post Navigation ─────────────────────────────────────── */
.blog-post-nav {
  display: flex;
  gap: 1rem;
  margin: 2.5rem 0;
  flex-wrap: wrap;
}
.blog-post-nav__item {
  flex: 1 1 48%;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  transition: var(--transition);
  min-width: 0;
}
.blog-post-nav__item:hover {
  border-color: var(--primary);
  background: #f0f4ff;
  box-shadow: var(--shadow-sm);
}
.blog-post-nav__item--next { text-align: right; }
.blog-post-nav__dir {
  font-size: .78rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .05em;
  display: flex;
  align-items: center;
  gap: .35rem;
}
.blog-post-nav__item--next .blog-post-nav__dir { justify-content: flex-end; }
.blog-post-nav__title {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 560px) {
  .blog-post-nav__item { flex: 1 1 100%; }
  .blog-post-nav__item--next { text-align: left; }
  .blog-post-nav__item--next .blog-post-nav__dir { justify-content: flex-start; }
}

/* ── 38. Author Box ──────────────────────────────────────────── */
.author-box {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2.5rem 0;
}
@media (max-width: 480px) { .author-box { flex-direction: column; gap: 1rem; } }

.author-box__avatar { flex-shrink: 0; }
.author-box__avatar-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}
.author-box__initials {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.author-box__label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 .2rem;
}
.author-box__name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
  margin-bottom: .45rem;
}
.author-box__name:hover { color: var(--primary); }
.author-box__bio {
  font-size: .875rem;
  color: var(--text-body);
  line-height: 1.65;
  margin: 0;
}

/* ── 39. Related Posts ───────────────────────────────────────── */
.related-posts {
  margin: 2.5rem 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.related-posts__heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.related-posts__heading i { color: var(--primary); font-size: 1rem; }

.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 768px) { .related-posts__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (max-width: 480px) { .related-posts__grid { grid-template-columns: 1fr; } }

.related-post-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-white);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.related-post-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }

.related-post-card__thumb {
  display: block;
  height: 140px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
}
.related-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.related-post-card:hover .related-post-card__thumb img { transform: scale(1.05); }

.related-post-card__body { padding: 1rem; flex: 1; }
.related-post-card__cat  { margin-bottom: .5rem; }

.related-post-card__title {
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: .35rem;
}
.related-post-card__title a { color: var(--text-dark); }
.related-post-card__title a:hover { color: var(--primary); }
.related-post-card__date {
  font-size: .78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: .3rem;
}

/* ── 40. Blog CTA Banner ─────────────────────────────────────── */
.blog-cta {
  margin: 2.5rem 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.blog-cta__inner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--secondary) 100%);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.blog-cta__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--section-pattern);
  pointer-events: none;
}
.blog-cta__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.blog-cta__icon i { font-size: 1.75rem; color: var(--gold); }

.blog-cta__text { flex: 1; min-width: 200px; position: relative; }
.blog-cta__heading {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: #fff;
  margin: 0 0 .45rem;
  line-height: 1.3;
}
.blog-cta__desc {
  font-size: .9rem;
  color: rgba(255,255,255,.8);
  line-height: 1.65;
  margin: 0;
}

.blog-cta__actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
  position: relative;
}
.blog-cta__btn { white-space: nowrap; }

@media (max-width: 640px) {
  .blog-cta__inner  { padding: 1.75rem 1.25rem; gap: 1.25rem; }
  .blog-cta__icon   { width: 52px; height: 52px; }
  .blog-cta__icon i { font-size: 1.4rem; }
  .blog-cta__actions { width: 100%; }
  .blog-cta__btn    { flex: 1 1 auto; justify-content: center; }
}

/* ── 41. Category Filter Nav ─────────────────────────────────── */
.blog-cat-nav {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 0;
  position: sticky;
  top: 72px;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.admin-bar .blog-cat-nav { top: 104px; }
@media screen and (max-width: 782px) { .admin-bar .blog-cat-nav { top: 118px; } }

.blog-cat-nav__inner {
  display: flex;
  align-items: center;
  gap: .5rem;
  overflow-x: auto;
  padding: .75rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.blog-cat-nav__inner::-webkit-scrollbar { display: none; }

.blog-cat-nav__pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem 1rem;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-body);
  white-space: nowrap;
  transition: var(--transition);
  text-decoration: none;
  flex-shrink: 0;
}
.blog-cat-nav__pill:hover,
.blog-cat-nav__pill.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.blog-cat-nav__pill i { font-size: .7rem; }
.blog-cat-nav__pill--all i { color: inherit; }
.blog-cat-nav__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(0,0,0,.08);
  font-size: .7rem;
  font-weight: 700;
  line-height: 1;
}
.blog-cat-nav__pill:hover .blog-cat-nav__count,
.blog-cat-nav__pill.is-active .blog-cat-nav__count {
  background: rgba(255,255,255,.2);
  color: #fff;
}
@media (max-width: 768px) { .blog-cat-nav { top: 60px; } }

/* ── 42. Featured Spotlight Post ────────────────────────────── */
.blog-spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 3rem;
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  transition: box-shadow .25s ease, transform .25s ease;
}
.blog-spotlight:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.blog-spotlight__thumb {
  display: block;
  min-height: 320px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
}
.blog-spotlight__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.blog-spotlight:hover .blog-spotlight__thumb-img { transform: scale(1.04); }

.blog-spotlight__thumb--placeholder {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-spotlight__thumb--placeholder i { font-size: 4rem; color: rgba(255,255,255,.25); }

.blog-spotlight__body {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.blog-spotlight__eyebrow {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.blog-spotlight__featured-badge {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.blog-spotlight__title {
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  margin: 0;
}
.blog-spotlight__title a { color: inherit; }
.blog-spotlight__title a:hover { color: var(--primary); }

.blog-spotlight__excerpt {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-spotlight__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.blog-spotlight__meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.blog-spotlight__date,
.blog-spotlight__read {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  color: var(--text-muted);
}
.blog-spotlight__date i,
.blog-spotlight__read i { color: var(--accent); font-size: .75rem; }

@media (max-width: 900px) {
  .blog-spotlight {
    grid-template-columns: 1fr;
    grid-template-rows: 240px auto;
  }
  .blog-spotlight__thumb { min-height: 240px; }
  .blog-spotlight__body  { padding: 1.75rem 1.5rem; }
}
@media (max-width: 480px) {
  .blog-spotlight__thumb--placeholder { min-height: 180px; }
  .blog-spotlight { grid-template-rows: 180px auto; }
  .blog-spotlight__body { padding: 1.25rem; }
}

/* ── 43. Social Share Buttons ───────────────────────────────── */
.blog-social-share {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}
.blog-social-share__label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-right: .25rem;
  flex-shrink: 0;
}
.blog-social-share__label i { color: var(--accent); }

.blog-share-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem 1rem;
  border-radius: var(--radius-xl);
  font-size: .8rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-body);
}
.blog-share-btn i { font-size: .85rem; }

.blog-share-btn--wa {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}
.blog-share-btn--wa:hover { background: #1da851; border-color: #1da851; transform: translateY(-1px); }

.blog-share-btn--tw {
  background: #000;
  color: #fff;
  border-color: #000;
}
.blog-share-btn--tw:hover { background: #222; border-color: #222; transform: translateY(-1px); }

.blog-share-btn--li {
  background: #0a66c2;
  color: #fff;
  border-color: #0a66c2;
}
.blog-share-btn--li:hover { background: #0857a3; border-color: #0857a3; transform: translateY(-1px); }

.blog-share-btn--copy {
  background: var(--bg-light);
  color: var(--text-body);
  border-color: var(--border);
}
.blog-share-btn--copy:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-1px); }
.blog-share-btn--copy.is-copied { background: var(--success); border-color: var(--success); color: #fff; }

@media (max-width: 480px) {
  .blog-share-btn span { display: none; }
  .blog-share-btn { padding: .5rem .75rem; }
}

/* ── 44. Reading Progress Bar ───────────────────────────────── */
.reading-progress-wrap {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(26,58,143,.08);
  z-index: 9998;
  pointer-events: none;
}
.admin-bar .reading-progress-wrap { top: 104px; }
@media screen and (max-width: 782px) { .admin-bar .reading-progress-wrap { top: 118px; } }
@media (max-width: 768px) { .reading-progress-wrap { top: 60px; } }

.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  transition: width .08s linear;
  border-radius: 0 2px 2px 0;
}

/* ── 45. Related Post Card — placeholder thumb ──────────────── */
.related-post-card__thumb--placeholder {
  height: 140px;
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
}
.related-post-card__thumb--placeholder i {
  font-size: 2.5rem;
  color: rgba(255,255,255,.25);
}

/* ── 46. HTML Sitemap Page (/sitemap/) ──────────────────────── */

/* Intro strip */
.sitemap-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.sitemap-intro__text {
  font-size: .9375rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.75;
  margin: 0;
}
.sitemap-xml-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--primary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .45rem 1rem;
  transition: var(--transition);
  white-space: nowrap;
}
.sitemap-xml-link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.sitemap-xml-link i { font-size: .75rem; }

/* Grid of sitemap section cards */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3rem;
}
@media (max-width: 1024px) { .sitemap-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (max-width: 600px)  { .sitemap-grid { grid-template-columns: 1fr; gap: 1.25rem; } }

/* Individual sitemap section card */
.sitemap-section {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem 1.5rem;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.sitemap-section:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(26,58,143,.2);
}

/* Blog section spans 2 columns on tablet+ to fit more links */
@media (min-width: 1025px) { .sitemap-section--blog { grid-column: span 2; } }

/* Section head */
.sitemap-section__head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
  padding-bottom: .875rem;
  border-bottom: 2px solid var(--bg-light);
}
.sitemap-section__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
}
.sitemap-section__icon i { font-size: .875rem; color: #fff; }

.sitemap-section__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.3;
}

/* Link list */
.sitemap-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Individual link */
.sitemap-link {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .6rem;
  border-radius: var(--radius-sm);
  transition: background .18s ease, color .18s ease;
  font-size: .875rem;
  color: var(--text-body);
  line-height: 1.4;
}
.sitemap-link:hover {
  background: var(--bg-light);
  color: var(--primary);
}
.sitemap-link:hover .sitemap-link__arrow { opacity: 1; transform: translateX(2px); }
.sitemap-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.sitemap-link__icon {
  font-size: .75rem;
  color: var(--accent);
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}
.sitemap-link__label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sitemap-link__date {
  font-size: .75rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.sitemap-link__arrow {
  font-size: .6rem;
  color: var(--text-muted);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
}

/* Browse-all link — slightly highlighted */
.sitemap-links__item--browse .sitemap-link--browse {
  font-weight: 600;
  color: var(--primary);
  background: var(--bg-light);
  margin-bottom: .25rem;
}
.sitemap-links__item--browse .sitemap-link--browse:hover { background: #dbeafe; }
.sitemap-links__item--browse .sitemap-link--browse .sitemap-link__icon { color: var(--primary); }

/* Empty state */
.sitemap-empty-msg {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--text-muted);
  padding: .5rem .6rem;
  font-style: italic;
}
.sitemap-empty-msg i { color: var(--accent); font-size: .8rem; }

/* Bottom footer strip */
.sitemap-footer-strip {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  margin-top: 1rem;
}
.sitemap-footer-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.sitemap-footer-strip__text {
  font-size: .875rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 640px;
  line-height: 1.65;
}
.sitemap-footer-strip__text i { color: var(--primary); margin-right: .35rem; }
.sitemap-footer-strip__text a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.sitemap-footer-strip__text a:hover { color: var(--secondary); }

/* Mobile refinements */
@media (max-width: 768px) {
  .sitemap-intro    { flex-direction: column; align-items: flex-start; }
  .sitemap-section  { padding: 1.25rem 1.125rem 1rem; }
  .sitemap-section--blog { grid-column: auto; }
  .sitemap-footer-strip__inner { flex-direction: column; align-items: flex-start; }
  .sitemap-link__date { display: none; } /* hide dates on small screens to prevent overflow */
}
@media (max-width: 480px) {
  .sitemap-link__label { white-space: normal; }
  .sitemap-link        { align-items: flex-start; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   Section 47 — Announcement Bar
   ═══════════════════════════════════════════════════════════════════════════ */

.announcement-bar {
  position: relative;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5rem 1rem;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.4;
}
.announcement-bar--primary { background: var(--primary);   color: #fff; }
.announcement-bar--success { background: var(--success);   color: #fff; }
.announcement-bar--warning { background: var(--gold);      color: #1a1a1a; }
.announcement-bar--dark    { background: #111827;          color: #f9fafb; }

.announcement-bar__inner {
  display: flex;
  align-items: center;
  gap: .75rem;
  max-width: 1200px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}
.announcement-bar__text {
  margin: 0;
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.announcement-bar__link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  transition: opacity .2s;
  white-space: nowrap;
}
.announcement-bar__link:hover { opacity: .8; }
.announcement-bar__dismiss {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  opacity: .7;
  padding: .25rem .35rem;
  border-radius: 4px;
  line-height: 1;
  transition: opacity .2s, background .2s;
  flex-shrink: 0;
}
.announcement-bar__dismiss:hover { opacity: 1; background: rgba(255,255,255,.15); }
.announcement-bar[hidden] { display: none; }

@media (max-width: 480px) {
  .announcement-bar { font-size: .8125rem; padding: .4375rem .75rem; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   Section 48 — Sticky WhatsApp Float Button
   ═══════════════════════════════════════════════════════════════════════════ */

.sticky-whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #25d366;
  color: #fff;
  border-radius: 50px;
  padding: .75rem 1.1rem .75rem .85rem;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s, background .2s;
  max-width: 220px;
}
.sticky-whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,.55);
  color: #fff;
}
.sticky-whatsapp-btn i {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
}
.sticky-whatsapp-btn__label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 400px) {
  .sticky-whatsapp-btn {
    padding: .8rem;
    border-radius: 50%;
    width: 3.25rem;
    height: 3.25rem;
    justify-content: center;
  }
  .sticky-whatsapp-btn__label { display: none; }
}

@media (max-width: 768px) {
  .sticky-whatsapp-btn { bottom: 1.25rem; right: 1rem; }
}
