/*
Theme Name: Engineering Designer (Rivmedia)
Theme URI: https://engineeringdesigner.co.uk
Author: Rivmedia
Description: Mobile-first, precision-engineered theme for EngineeringDesigner.co.uk
Version: 2.5.4
Text Domain: boilerandspares
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand */
  --ed-blue:        #1a3a6b;      /* deep navy – primary */
  --ed-blue-mid:    #1e4d8c;      /* mid navy */
  --ed-blue-light:  #2563b0;      /* interactive blue */
  --ed-orange:      #e8640a;      /* ED accent orange (from logo) */
  --ed-orange-soft: rgba(232, 100, 10, 0.12);

  /* Surface */
  --ed-bg:          #f8f9fb;
  --ed-surface:     #ffffff;
  --ed-surface-2:   #f1f4f8;
  --ed-border:      rgba(26, 58, 107, 0.10);
  --ed-border-md:   rgba(26, 58, 107, 0.18);

  /* Text */
  --ed-text:        #0e1e35;
  --ed-text-soft:   #3d5068;
  --ed-text-muted:  #7a90a8;

  /* Sizing */
  --ed-max:         1140px;
  --ed-radius:      6px;
  --ed-radius-lg:   12px;

  /* Animation */
  --ed-ease:        cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--ed-bg);
  color: var(--ed-text);
  line-height: 1.65;
  /* overflow-x removed — was masking table overflow rather than fixing it */
}

/* Google Fonts via @import won't work without network – use system stack with character */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Nunito+Sans:ital,opsz,wght@0,6..12,300;0,6..12,400;0,6..12,500;0,6..12,600;0,6..12,700;1,6..12,400&display=swap');

body {
  font-family: 'Nunito Sans', system-ui, -apple-system, sans-serif;
}

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

a { color: var(--ed-blue-light); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.ed-container {
  width: 100%;
  max-width: var(--ed-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2rem);
}

.ed-grid-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ed-border);
  box-shadow: 0 1px 12px rgba(26, 58, 107, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  padding: 0.75rem clamp(0.85rem, 4vw, 2rem);
  max-width: var(--ed-max);
  margin-inline: auto;
  width: 100%;
}

/* Logo */
.site-logo { flex-shrink: 0; min-width: 0; }
.site-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ed-blue);
  font-weight: 700;
  font-size: 1.15rem;
}
.site-logo img {
  width: auto;
  max-width: 348px;
  object-fit: contain;
  display: block;
  padding: 20px 0;
}

/* CTA Button */
.btn-primary,
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--ed-orange);
  color: #fff !important;
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.18s var(--ed-ease), transform 0.15s var(--ed-ease), box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(232, 100, 10, 0.28);
  flex-shrink: 0;
}
.btn-primary:hover,
.header-cta:hover {
  background: #c9550a;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232, 100, 10, 0.38);
  text-decoration: none !important;
}

/* Header right controls (hamburger + CTA grouped) */
.header-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* Mobile hamburger */
.mobile-toggle {
  display: none;
  background: var(--ed-blue);
  border: none;
  border-radius: 4px;
  padding: 0.5rem 0.6rem;
  cursor: pointer;
  color: #fff;
  line-height: 1;
  transition: background 0.15s;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}
.mobile-toggle:hover { background: var(--ed-blue-mid); }
.mobile-toggle svg { display: block; }

/* Navigation bar below header */
.main-nav-wrap {
  border-top: 1px solid rgba(255,255,255,0.05);
  background: var(--ed-blue);
}

.main-nav {
  max-width: var(--ed-max);
  margin-inline: auto;
  padding-inline: clamp(0.85rem, 4vw, 2rem);
}

.main-nav ul,
.main-nav ul.menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0;
  margin: 0;
}

.main-nav ul li a,
.main-nav ul.menu li a {
  display: block;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s, background 0.15s;
  position: relative;
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0.75rem; right: 0.75rem;
  height: 2px;
  background: var(--ed-orange);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: transform 0.2s var(--ed-ease);
}
.main-nav ul li a:hover,
.main-nav ul li.current-menu-item > a {
  color: #fff;
  text-decoration: none;
}
.main-nav ul li a:hover::after,
.main-nav ul li.current-menu-item > a::after { transform: scaleX(1); }

/* ── Mobile: below 686px — logo full width, controls wrap below ── */
@media (max-width: 686px) {

  /* Show hamburger */
  .mobile-toggle { display: inline-flex; }

  /* Logo: full-width first row — scales proportionally to screen width */
  .site-logo {
    width: 100%;
    order: 1;
  }
  .site-logo img {
    width: 100%;
    max-width: 100%;
    height: auto;      /* proportional — no fixed height override */
    padding: 10px 0 6px;
  }

  /* Controls: second row, stretch full width */
  .header-controls {
    order: 2;
    width: 100%;
    justify-content: space-between;
    padding-bottom: 0.6rem;
  }

  /* CTA fills the space beside the hamburger */
  .header-cta {
    flex: 1;
    justify-content: center;
    font-size: 0.8rem;
    padding: 0.55rem 0.75rem;
  }

  /* Nav: full-width dropdown */
  .main-nav-wrap {
    display: none;
    border-top: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  }
  .main-nav-wrap.nav-open { display: block; }

  .main-nav ul,
  .main-nav ul.menu { flex-direction: column; }

  .main-nav ul li a {
    padding: 0.9rem clamp(0.85rem, 4vw, 1.5rem);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    font-size: 0.95rem;
  }
  .main-nav ul li:last-child a { border-bottom: none; }
  .main-nav ul li a::after { display: none; }
}
/* ── Desktop dropdown sub-menus ───────────────────────────── */
.main-nav ul li {
  position: relative;
}

/* Chevron icon beside items with children */
.nav-chevron {
  display: inline-block;
  vertical-align: middle;
  margin-left: 3px;
  margin-top: -1px;
  opacity: 0.7;
  transition: transform 0.2s;
}
.main-nav ul li:hover > a .nav-chevron,
.main-nav ul li.focus > a .nav-chevron {
  transform: rotate(180deg);
}

/* Desktop: hide sub-menu, show on hover/focus */
.main-nav ul .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 200;
  padding: 4px 0;
  list-style: none;
  margin: 0;
}
.main-nav ul li:hover > .sub-menu,
.main-nav ul li.focus > .sub-menu {
  display: block;
}
.main-nav ul .sub-menu li a {
  color: #1e293b !important;
  padding: 0.5rem 1.1rem !important;
  font-size: 0.85rem !important;
  border-bottom: 1px solid #f8fafc;
  white-space: nowrap;
}
.main-nav ul .sub-menu li:last-child a { border-bottom: none; }
.main-nav ul .sub-menu li a:hover { background: #f8fafc; color: #1a3a6b !important; }
.main-nav ul .sub-menu li a::after { display: none !important; }

/* Hide the mobile toggle on desktop */
.sub-menu-toggle { display: none; }

/* ── Mobile sub-menu support (inside @media (max-width:686px) logic via JS) ── */
@media (max-width: 686px) {
  .sub-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0; top: 0;
    height: 48px; width: 48px;
    background: transparent; border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer; transition: color 0.15s;
    z-index: 2;
  }
  .sub-menu-toggle:hover { color: #fff; }
  .sub-menu-toggle svg { transition: transform 0.25s; }
  .sub-menu-toggle.is-open svg { transform: rotate(180deg); }
  .main-nav ul .sub-menu {
    display: none;
    position: static !important;
    background: rgba(0,0,0,0.18);
    box-shadow: none; border: none; border-radius: 0;
    padding: 0; min-width: 0;
  }
  .main-nav ul .sub-menu.is-open { display: block; }
  .main-nav ul .sub-menu li { position: relative; }
  .main-nav ul .sub-menu li a {
    padding-left: clamp(1.8rem, 7vw, 2.8rem) !important;
    color: rgba(255,255,255,0.75) !important;
    font-size: 0.88rem !important;
  }
  .main-nav ul .sub-menu li a:hover { color: #fff !important; }
  /* Hide desktop chevron on mobile (toggle button replaces it) */
  .nav-chevron { display: none; }
}

/* ============================================================
   ARCHIVE / BLOG GRID (front-page + home)
   ============================================================ */
.ed-archive {
  max-width: var(--ed-max);
  margin-inline: auto;
  padding: 2.5rem clamp(1rem, 5vw, 2rem) 3.5rem;
}

/* Archive header */
.ed-archive-header {
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--ed-border);
  margin-bottom: 2rem;
}
.ed-archive-header h1 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--ed-blue);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.ed-archive-header p {
  font-size: 1.05rem;
  color: var(--ed-text-soft);
}

/* Feature row:
   Desktop left col: hero (row1) + infobox (row2)
   Desktop right col: side post 1 (row1) + side post 2 (row2)
*/
.ed-posts-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .ed-posts-featured {
    grid-template-columns: 1.65fr 1fr;
    grid-template-rows: auto auto;
    align-items: stretch;
  }
  /* Hero: left col, row 1 */
  .ed-card--hero { grid-column: 1; grid-row: 1; }
  /* Info box: left col, row 2 */
  .ed-hero-infobox { grid-column: 1; grid-row: 2; }
  /* Side cards: right col, rows 1 and 2 */
  .ed-card--side { grid-column: 2; }
  .ed-posts-featured .ed-card--side:nth-child(2) { grid-row: 1; }
  .ed-posts-featured .ed-card--side:nth-child(3) { grid-row: 2; }
}

/* Card base */
.ed-card {
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  border-radius: var(--ed-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s var(--ed-ease), transform 0.2s var(--ed-ease), border-color 0.2s;
}
.ed-card:hover {
  box-shadow: 0 8px 28px rgba(26, 58, 107, 0.12);
  transform: translateY(-2px);
  border-color: rgba(26, 58, 107, 0.22);
}

/* Card thumbnail */
.ed-card__thumb {
  display: block;
  overflow: hidden;
  background: var(--ed-surface-2);
  aspect-ratio: 16/9;
}
.ed-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ed-ease);
}
.ed-card:hover .ed-card__thumb img {
  transform: scale(1.04);
}

/* Hero card image */
.ed-card--hero .ed-card__thumb {
  aspect-ratio: 16/9;
}
@media (min-width: 768px) {
  .ed-card--hero .ed-card__thumb {
    aspect-ratio: 16/8;
    max-height: 320px;
  }
}

/* Card body */
.ed-card__body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ed-card__meta {
  font-size: 0.78rem;
  color: var(--ed-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ed-card__meta .cat-tag {
  background: var(--ed-orange-soft);
  color: var(--ed-orange);
  padding: 0.15em 0.55em;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ed-card__title {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ed-blue);
  margin-bottom: 0.5rem;
}
.ed-card--hero .ed-card__title {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
}
.ed-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
.ed-card__title a:hover {
  color: var(--ed-blue-light);
  text-decoration: none;
}

.ed-card__excerpt {
  font-size: 0.9rem;
  color: var(--ed-text-soft);
  line-height: 1.6;
  flex: 1;
}

/* Standard grid below featured */
.ed-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.ed-pagination,
.ct-pagination {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
}

.ed-pagination .nav-links,
.ct-pagination .nav-links {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  align-items: center;
}

.ed-pagination .page-numbers,
.ct-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.6rem;
  border: 1px solid var(--ed-border-md);
  border-radius: var(--ed-radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ed-text);
  text-decoration: none;
  transition: all 0.15s;
  background: var(--ed-surface);
}

.ed-pagination .page-numbers:hover,
.ct-pagination .page-numbers:hover {
  background: var(--ed-blue);
  border-color: var(--ed-blue);
  color: #fff;
  text-decoration: none;
}

.ed-pagination .page-numbers.current,
.ct-pagination .page-numbers.current {
  background: var(--ed-blue);
  border-color: var(--ed-blue);
  color: #fff;
}

/* ============================================================
   ABOUT / INTRO BAND
   ============================================================ */
.ed-about-band {
  background: linear-gradient(135deg, var(--ed-blue) 0%, #1e4d8c 50%, #0e2d5a 100%);
  color: #fff;
  padding: 3rem clamp(1rem, 5vw, 2rem);
  position: relative;
  overflow: hidden;
}
.ed-about-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 60 L60 0 M-10 10 L10 -10 M50 70 L70 50' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
}
.ed-about-band__inner {
  max-width: var(--ed-max);
  margin-inline: auto;
  position: relative;
}
.ed-about-band__inner h2 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 400;
  margin-bottom: 1rem;
  color: #fff;
}
.ed-about-band__inner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.80);
  max-width: 820px;
  line-height: 1.7;
}
.ed-about-band__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.ed-about-band__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
}
.ed-about-band__pill::before {
  content: '→';
  color: var(--ed-orange);
  font-weight: 700;
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.ed-single-wrap {
  max-width: var(--ed-max);
  margin-inline: auto;
  padding: 2rem clamp(1rem, 5vw, 2rem) 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
/* Grid children must have min-width: 0 so wide content (tables, pre, etc.)
   scrolls inside the column rather than expanding the grid track. */
.ed-single-wrap > * {
  min-width: 0;
}
/* The article itself — min-width: 0 (set above on > *) is sufficient
   for table containment when combined with minmax(0, 1fr) on the grid track.
   Do NOT set overflow: hidden here — it clips wp-caption figures and images. */

/* WordPress core outputs inline width on .wp-caption figures — cap them. */
.ed-post-content .wp-caption,
.ed-post-content figure,
.ct-post-content .wp-caption,
.ct-post-content figure {
  max-width: 100% !important;
  height: auto;
}
.ed-post-content .wp-caption img,
.ed-post-content figure img,
.ct-post-content .wp-caption img,
.ct-post-content figure img {
  max-width: 100%;
  height: auto;
  width: auto;
}
/* .ed-table-scroll is defined in the Post Content Tables section below.
   overflow-x: auto is set there and takes effect within the constrained column. */
@media (min-width: 960px) {
  .ed-single-wrap {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}

/* Reading progress bar */
#reading-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--ed-orange), #f59c42);
  z-index: 200;
  transition: width 0.1s;
}

/* ============================================================
   SINGLE POST HERO BAND
   (breaks up the white header → content gap)
   ============================================================ */
.ed-post-hero-band {
  background: linear-gradient(135deg, var(--ed-blue) 0%, #1a3d75 100%);
  padding: 2.5rem 0 2.25rem;
  position: relative;
  overflow: hidden;
}
.ed-post-hero-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 90% 10%, rgba(232,100,10,0.12) 0%, transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 60 L60 0 M-10 10 L10 -10 M50 70 L70 50' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
}
.ed-post-hero-cat {
  display: inline-block;
  background: var(--ed-orange);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.22em 0.7em;
  border-radius: 3px;
  margin-bottom: 0.85rem;
  position: relative;
}
.ed-post-hero-cat:hover { background: #c9550a; text-decoration: none !important; }
.ed-post-hero-title {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
  position: relative;
  max-width: 820px;
}
.ed-post-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  position: relative;
}
.ed-post-hero-meta__item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.7);
}
.ed-post-hero-meta__item svg { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.8; }
.ed-post-hero-meta__readtime { color: rgba(255,255,255,0.55); }

/* Single layout — remove old post header (it's now the hero band) */
.ct-post-header { display: none; }

/* Feat image removed — posts add images manually via Gutenberg */
.ed-post-feat-img { display: none; }

/* Post body typography */
.ed-post-content {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ed-text);
}
.ed-post-content h2,
.ed-post-content h3,
.ed-post-content h4 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 400;
  color: var(--ed-blue);
  line-height: 1.3;
}
.ed-post-content h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); margin: 2em 0 0.6em; }
.ed-post-content h3 { font-size: clamp(1.05rem, 2.5vw, 1.3rem); margin: 1.75em 0 0.5em; }
.ed-post-content p   { margin-bottom: 1.2em; }
.ed-post-content ul,
.ed-post-content ol  { padding-left: 1.5rem; margin-bottom: 1.2em; }
.ed-post-content li  { margin-bottom: 0.35em; }
.ed-post-content img { border-radius: var(--ed-radius); margin: 1.5em 0; }
.ed-post-content blockquote {
  border-left: 3px solid var(--ed-orange);
  margin: 1.5em 0;
  padding: 0.75em 1.25em;
  background: var(--ed-surface-2);
  border-radius: 0 var(--ed-radius) var(--ed-radius) 0;
  font-style: italic;
  color: var(--ed-text-soft);
}
.ed-post-content a {
  color: var(--ed-blue-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
/* ── Post content tables ──────────────────────────────────────────────────
   Tables in post content are wrapped (server-side via functions.php or
   manually in editor) in .ed-table-scroll for horizontal scroll support.
   All table selectors are scoped to avoid conflicts with plugin/admin CSS.
   ─────────────────────────────────────────────────────────────────────── */
.ed-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5em 0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.ed-table-scroll table {
  width: 100%;
  min-width: 100%;
  border-collapse: collapse;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.92rem;
  margin-bottom: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.ed-table-scroll thead {
  background: var(--ed-blue);
}
.ed-table-scroll th {
  text-align: left;
  padding: 14px 16px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  border: none;
}
.ed-table-scroll td {
  text-align: left;
  padding: 13px 16px;
  border-top: 1px solid #eee;
  font-size: 0.93rem;
  color: #333;
  vertical-align: top;
}
.ed-table-scroll tbody tr:nth-child(even) td {
  background: #f8f9fb;
}
.ed-table-scroll tbody tr:hover td {
  background: #f1f5f9;
  transition: background 0.18s ease;
}

/* Mobile: stack rows as cards */
@media (max-width: 640px) {
  .ed-table-scroll {
    box-shadow: none;
    border-radius: 0;
  }
  .ed-table-scroll table,
  .ed-table-scroll thead,
  .ed-table-scroll tbody,
  .ed-table-scroll th,
  .ed-table-scroll td,
  .ed-table-scroll tr {
    display: block;
    width: 100%;
  }
  .ed-table-scroll thead {
    display: none; /* hidden — labels shown via data-label */
  }
  .ed-table-scroll tbody tr {
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }
  .ed-table-scroll tbody tr:nth-child(even) td {
    background: #fff; /* reset zebra on mobile */
  }
  .ed-table-scroll td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 14px;
    border-top: none;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.88rem;
  }
  .ed-table-scroll td:last-child {
    border-bottom: none;
  }
  /* Show column header labels via data-label attribute */
  .ed-table-scroll td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #555;
    flex-shrink: 0;
    min-width: 35%;
  }
}

/* ── Key Takeaways block ──────────────────────────────────────────────── */
.key-takeaways {
  margin: 2.5rem 0;
  padding: 1.75rem 2rem;
  background: #faefff;
  border: 1px solid #fb7185;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.key-takeaways strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1e293b;
  margin-bottom: 0.75rem;
}
.key-takeaways p {
  padding: 0 !important;
  margin: 0 0 10px;
}
.key-takeaways ul {
  margin: 0;
  padding-left: 1.25rem;
}
.key-takeaways li {
  margin-bottom: 0.6rem;
  line-height: 1.6;
  color: #334155;
  font-size: 15px;
}
.key-takeaways li:last-child {
  margin-bottom: 0;
}

/* ── FAQ block ───────────────────────────────────────────────────────── */
.faq {
  margin: 2rem 0;
  padding: 2.5rem 2rem;
  background: #cbd5f5;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}
.faq h2 {
  margin-top: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
}
.faq h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
  padding: 20px 0 8px;
}
.faq h3:first-of-type {
  padding-top: 0;
}
.faq li {
  color: #0f172a;
}
.faq p {
  margin: 0 0 0.5em;
  line-height: 1.65;
  color: #374151;
}

/* Sidebar */
.ed-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0; /* widgets use margin-top on + .ed-widget */
}
/* ed-widget styles defined in SIDEBAR WIDGETS section below */

/* ============================================================
   PAGE TEMPLATE
   ============================================================ */
.ed-page-wrap {
  max-width: 860px;
  margin-inline: auto;
  padding: 2rem clamp(1rem, 5vw, 2rem) 3.5rem;
}
.ed-page-header {
  border-bottom: 1px solid var(--ed-border);
  padding-bottom: 1.25rem;
  margin-bottom: 1.75rem;
}
.ed-page-header h1 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 400;
  color: var(--ed-blue);
}
.ed-page-content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ed-text);
}
.ed-page-content h2,
.ed-page-content h3 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 400;
  color: var(--ed-blue);
  margin-top: 1.75em;
  margin-bottom: 0.5em;
}
.ed-page-content p { margin-bottom: 1.2em; }

/* ============================================================
   FOOTER
   ============================================================ */
.ct-footer {
  background: var(--ed-blue);
  color: rgba(255,255,255,0.80);
  margin-top: 0;
}

.ct-footer-inner {
  max-width: var(--ed-max);
  margin-inline: auto;
  padding: 2.5rem clamp(1rem, 5vw, 2rem) 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
/* 3-column footer on wider screens — override defined in footer section below */

/* Footer wordmark (replaces logo) */
.ct-footer-wordmark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.ct-footer-wordmark__badge {
  background: var(--ed-orange);
  color: #fff;
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.ct-footer-wordmark__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.ct-footer-wordmark__text strong {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.ct-footer-wordmark__text span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.42);
  font-style: italic;
}

/* Footer topic pills */
.ct-footer-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}
.ct-footer-topic-pill {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.65) !important;
  border-radius: 999px;
  padding: 0.22em 0.7em;
  font-size: 0.76rem;
  text-decoration: none !important;
  transition: background 0.15s, color 0.15s;
}
.ct-footer-topic-pill:hover {
  background: rgba(255,255,255,0.16);
  color: #fff !important;
  text-decoration: none !important;
}

.ct-footer-logo img {
  /* Legacy rule — kept for compatibility if logo is re-enabled */
  display: none;
}

/* .ct-footer-col h4 migrated to .ct-footer-col__heading */

.ct-footer-posts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.ct-footer-posts a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.15s;
}
.ct-footer-posts a:hover {
  color: #fff;
  text-decoration: underline;
}

.ct-footer-bottom {
  max-width: var(--ed-max);
  margin-inline: auto;
  padding: 1rem clamp(1rem, 5vw, 2rem);
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.ct-footer-bottom a {
  color: rgba(255,255,255,0.60);
  text-decoration: none;
}
.ct-footer-bottom a:hover { color: #fff; }

/* ============================================================
   REVEAL ANIMATIONS (progressive enhancement)
   ============================================================ */
.ed-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ed-ease), transform 0.5s var(--ed-ease);
}
.ed-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ============================================================
   ARCHIVE TEMPLATE COMPAT (ct- classes used in templates)
   ============================================================ */
.ct-container {
  width: 100%;
  max-width: var(--ed-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2rem);
}

.ct-archive-header {
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--ed-border);
  margin-bottom: 2rem;
}
.ct-archive-header h1 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 400;
  color: var(--ed-blue);
  margin-bottom: 0.4rem;
}
.ct-muted { font-size: 1rem; color: var(--ed-text-soft); }

.ct-blog-archive {
  padding-bottom: 3rem;
}

/* Article grid (legacy compat) */
.ct-article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.ct-article-card {
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  border-radius: var(--ed-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s var(--ed-ease), transform 0.2s var(--ed-ease), border-color 0.2s;
}
.ct-article-card:hover {
  box-shadow: 0 8px 28px rgba(26, 58, 107, 0.12);
  transform: translateY(-2px);
  border-color: rgba(26, 58, 107, 0.22);
}

.ct-article-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--ed-surface-2);
}
.ct-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ed-ease);
}
.ct-article-card:hover .ct-article-thumb img {
  transform: scale(1.04);
}

.ct-article-body {
  padding: 1rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ct-article-meta {
  font-size: 0.78rem;
  color: var(--ed-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
}

.ct-article-body h2 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--ed-blue);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.ct-article-body h2 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
.ct-article-body h2 a:hover {
  color: var(--ed-blue-light);
}

.ct-article-body p {
  font-size: 0.88rem;
  color: var(--ed-text-soft);
  line-height: 1.6;
}

/* ============================================================
   HERO INFO BOX (fills column height gap beside hero card)
   ============================================================ */
.ed-hero-infobox {
  background: linear-gradient(145deg, var(--ed-blue) 0%, #1e4d8c 100%);
  border-radius: var(--ed-radius-lg);
  padding: 1.5rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ed-hero-infobox__icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ed-hero-infobox__icon svg {
  width: 24px;
  height: 24px;
  color: rgba(255,255,255,0.85);
}
.ed-hero-infobox h3 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.ed-hero-infobox p {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}
.ed-hero-infobox__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.ed-hero-infobox__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.82);
}
.ed-hero-infobox__list svg {
  width: 14px;
  height: 14px;
  color: var(--ed-orange);
  flex-shrink: 0;
}
.ed-hero-infobox__cta {
  margin-top: 0.25rem;
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
  transition: background 0.15s;
  align-self: flex-start;
}
.ed-hero-infobox__cta:hover {
  background: rgba(255,255,255,0.2);
  text-decoration: none !important;
}

/* Card read-more footer */
.ed-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--ed-border);
}
.ed-card__readmore {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ed-blue-light);
  text-decoration: none;
  transition: color 0.15s;
}
.ed-card__readmore:hover {
  color: var(--ed-orange);
  text-decoration: none;
}
.ed-card__readtime {
  font-size: 0.76rem;
  color: var(--ed-text-muted);
}

/* Category tag variants */
.cat-tag-sm {
  display: inline-block;
  background: var(--ed-orange-soft);
  color: var(--ed-orange);
  padding: 0.1em 0.45em;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.cat-tag-sm:hover { opacity: 0.8; text-decoration: none; }

/* ============================================================
   TOPICS STRIP
   ============================================================ */
.ed-topics-strip {
  background: var(--ed-surface);
  border-top: 1px solid var(--ed-border);
  border-bottom: 1px solid var(--ed-border);
  padding: 2rem 0;
}
.ed-section-label {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ed-text-muted);
  margin-bottom: 1rem;
}
.ed-topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
@media (min-width: 600px) {
  .ed-topics-grid { grid-template-columns: repeat(6, 1fr); }
}
.ed-topic-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 1rem 0.5rem;
  background: var(--ed-bg);
  border: 1px solid var(--ed-border);
  border-radius: var(--ed-radius-lg);
  text-decoration: none;
  text-align: center;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.ed-topic-tile:hover {
  border-color: var(--ed-blue-light);
  box-shadow: 0 4px 14px rgba(26, 58, 107, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}
.ed-topic-tile__icon { font-size: 1.5rem; line-height: 1; }
.ed-topic-tile__label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ed-text-soft);
  line-height: 1.3;
}

/* ============================================================
   CTA BAND (redesigned with stats)
   ============================================================ */
.bas-cta-band {
  background: linear-gradient(135deg, var(--ed-blue) 0%, #1e4d8c 100%);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.bas-cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(232,100,10,0.08) 0%, transparent 60%),
                    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 60 L60 0 M-10 10 L10 -10 M50 70 L70 50' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
}
.bas-cta-band-inner {
  max-width: var(--ed-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2rem);
  position: relative;
}
.bas-cta-band-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .bas-cta-band-cols { grid-template-columns: 1.4fr 1fr; align-items: center; }
}
.bas-cta-band-text h2 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.25;
}
.bas-cta-band-text .lead {
  font-size: 0.96rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
}
.bas-cta-band-btn {
  display: inline-flex;
  margin-top: 1.5rem;
  background: var(--ed-orange);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  border-radius: 4px;
  transition: background 0.15s, transform 0.15s;
  box-shadow: 0 2px 10px rgba(232,100,10,0.3);
}
.bas-cta-band-btn:hover {
  background: #c9550a;
  transform: translateY(-1px);
  text-decoration: none !important;
}
.bas-cta-band-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.bas-stat {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--ed-radius-lg);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.bas-stat__num {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.bas-stat__label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.3;
}

/* Pagination legacy */
.ct-pagination {
  display: flex;
  justify-content: center;
  padding: 1rem 0 2rem;
}

/* Single post legacy */
.ct-single-layout { padding: 1.75rem 0 3.5rem; }
.ct-post {}
.ct-post-header {
  border-bottom: 1px solid var(--ed-border);
  padding-bottom: 1.25rem;
  margin-bottom: 1.75rem;
}
.ct-post-header h1 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 400;
  color: var(--ed-blue);
  margin-bottom: 0.5rem;
}
.ct-post-meta {
  font-size: 0.85rem;
  color: var(--ed-text-muted);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.ct-post-content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ed-text);
}
.ct-post-content h2 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: var(--ed-blue);
  margin: 1.75em 0 0.5em;
}
.ct-post-content p { margin-bottom: 1.2em; }
.ct-post-content img { border-radius: var(--ed-radius); margin: 1.25em 0; }
.ct-post-content a {
  color: var(--ed-blue-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Page default */
.page-default { padding-bottom: 3rem; }
.page-hero { padding: 2rem 0 1.5rem; border-bottom: 1px solid var(--ed-border); margin-bottom: 1.75rem; }
.page-title {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 400;
  color: var(--ed-blue);
}
.page-body { font-size: 1rem; line-height: 1.75; max-width: 820px; }
.page-body h2 { font-family: 'Nunito', system-ui, sans-serif; font-weight: 400; color: var(--ed-blue); font-size: 1.4rem; margin: 1.75em 0 0.5em; }
.page-body p { margin-bottom: 1.2em; }

/* Gutenberg blocks compat */
.wp-block-image img { border-radius: var(--ed-radius); }
.wp-block-quote {
  border-left: 3px solid var(--ed-orange);
  margin: 1.5em 0;
  padding: 0.75em 1.25em;
  background: var(--ed-surface-2);
  border-radius: 0 var(--ed-radius) var(--ed-radius) 0;
  font-style: italic;
  color: var(--ed-text-soft);
}

/* ============================================================
   SIDEBAR WIDGETS (rich)
   ============================================================ */
.ed-widget {
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  border-radius: var(--ed-radius-lg);
  overflow: hidden;
}
.ed-widget + .ed-widget { margin-top: 1.25rem; }

.ed-widget__head {
  background: var(--ed-blue);
  color: #fff;
  padding: 0.6rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ed-widget__head svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.75;
}
.ed-widget__body { padding: 1rem; }

/* Recent posts with thumbnails */
.ed-widget-posts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ed-widget-post {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--ed-border);
}
.ed-widget-post:last-child { border-bottom: none; }
.ed-widget-post__thumb {
  flex-shrink: 0;
  width: 60px;
  height: 46px;
  border-radius: 4px;
  overflow: hidden;
  display: block;
  background: var(--ed-surface-2);
}
.ed-widget-post__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ed-widget-post__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.ed-widget-post__title {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--ed-blue);
  text-decoration: none;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}
.ed-widget-post__title:hover { color: var(--ed-blue-light); text-decoration: none; }
.ed-widget-post__date {
  font-size: 0.73rem;
  color: var(--ed-text-muted);
}

/* Categories pill cloud */
.ed-widget-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.ed-widget-cat {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--ed-surface-2);
  border: 1px solid var(--ed-border);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ed-text-soft);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.ed-widget-cat:hover {
  background: var(--ed-blue);
  border-color: var(--ed-blue);
  color: #fff;
  text-decoration: none;
}
.ed-widget-cat__count {
  background: rgba(0,0,0,0.08);
  border-radius: 999px;
  padding: 0.05em 0.4em;
  font-size: 0.72rem;
  font-weight: 700;
}
.ed-widget-cat:hover .ed-widget-cat__count { background: rgba(255,255,255,0.2); }

/* CTA widget */
.ed-widget--cta {
  background: linear-gradient(145deg, var(--ed-blue) 0%, #1e4d8c 100%);
  border-color: transparent;
}
.ed-widget--cta .ed-widget__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  padding: 1.5rem 1rem;
}
.ed-widget-cta__icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ed-widget-cta__icon svg {
  width: 26px;
  height: 26px;
  color: rgba(255,255,255,0.9);
}
.ed-widget--cta h3 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.ed-widget--cta p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
}
.ed-widget-cta__btn {
  display: inline-flex;
  background: var(--ed-orange);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.83rem;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border-radius: 4px;
  transition: background 0.15s;
  box-shadow: 0 2px 8px rgba(232,100,10,0.3);
  margin-top: 0.25rem;
}
.ed-widget-cta__btn:hover {
  background: #c9550a;
  text-decoration: none !important;
}

/* TOC widget */
.ed-toc {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ed-toc__item { border-bottom: 1px solid var(--ed-border); }
.ed-toc__item:last-child { border-bottom: none; }
.ed-toc__item a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ed-text-soft);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.15s, padding-left 0.15s;
}
.ed-toc__item a:hover,
.ed-toc__item a.is-active {
  color: var(--ed-blue-light);
  padding-left: 0.4rem;
  text-decoration: none;
}
.ed-toc__item--sub a { padding-left: 0.8rem; font-size: 0.78rem; color: var(--ed-text-muted); }
.ed-toc__item--sub a:hover,
.ed-toc__item--sub a.is-active { padding-left: 1.1rem; color: var(--ed-blue-light); }

.ed-widget-empty { font-size: 0.82rem; color: var(--ed-text-muted); }

/* ============================================================
   FOOTER (3-column, text logo fallback)
   ============================================================ */
.ct-footer-inner {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .ct-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .ct-footer-inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
.ct-footer-col--brand { }

/* Text logo mark */
.ct-footer-text-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  margin-bottom: 0.75rem;
}
.ct-footer-logo-mark {
  background: var(--ed-orange);
  color: #fff;
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.ct-footer-logo-name {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.ct-footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  margin-bottom: 0.6rem;
}
.ct-footer-about {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.65;
  max-width: 280px;
}

.ct-footer-col__heading {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,0.38);
  margin-bottom: 0.9rem;
}

.ct-footer-posts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ct-footer-posts li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.ct-footer-posts li:last-child { border-bottom: none; }
.ct-footer-posts a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  line-height: 1.35;
  transition: color 0.15s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ct-footer-posts a:hover { color: #fff; text-decoration: none; }
.ct-footer-posts time {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
}

.ct-footer-cats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.ct-footer-cats a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.15s;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.ct-footer-cats a::before {
  content: '→';
  font-size: 0.7rem;
  color: var(--ed-orange);
  opacity: 0.7;
}
.ct-footer-cats a:hover { color: #fff; text-decoration: none; }

/* ============================================================
   HOMEPAGE HERO SECTION
   ============================================================ */
.ed-home-hero {
  background: linear-gradient(150deg, var(--ed-blue) 0%, #1a3d75 55%, #0e2650 100%);
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.ed-home-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 75% 30%, rgba(232,100,10,0.15) 0%, transparent 50%),
    radial-gradient(circle at 15% 80%, rgba(255,255,255,0.04) 0%, transparent 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='40' cy='40' r='0.8' fill='rgba(255,255,255,0.15)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.ed-home-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  position: relative;
  align-items: end;
}
@media (min-width: 768px) {
  .ed-home-hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 3rem;
  }
}
.ed-home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 0.25em 0.85em;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1rem;
}
.ed-home-hero__eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ed-orange);
  flex-shrink: 0;
}
.ed-home-hero__title {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.1rem;
  letter-spacing: -0.01em;
}
.ed-home-hero__lead {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 1.75rem;
}
.ed-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.ed-home-hero__btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--ed-orange);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  transition: background 0.15s, transform 0.15s;
  box-shadow: 0 2px 12px rgba(232,100,10,0.35);
}
.ed-home-hero__btn-primary:hover {
  background: #c9550a; transform: translateY(-1px);
  text-decoration: none !important;
}
.ed-home-hero__btn-ghost {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.78) !important;
  text-decoration: none !important;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.65rem 1.1rem;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.ed-home-hero__btn-ghost:hover {
  border-color: rgba(255,255,255,0.55);
  color: #fff !important;
  background: rgba(255,255,255,0.06);
  text-decoration: none !important;
}
/* Topic pills in hero */
.ed-home-hero__topics {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--ed-radius-lg);
  padding: 1.25rem 1.4rem;
}
.ed-home-hero__topics-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.75rem;
}
.ed-home-hero__topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.ed-home-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 0.3em 0.75em;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8) !important;
  text-decoration: none !important;
  transition: background 0.15s, color 0.15s;
}
.ed-home-hero__pill span {
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 0.05em 0.45em;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
}
.ed-home-hero__pill:hover {
  background: rgba(255,255,255,0.2);
  color: #fff !important;
  text-decoration: none !important;
}
/* Wave divider */
.ed-home-hero__wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  line-height: 0;
}
.ed-home-hero__wave svg {
  width: 100%;
  height: 56px;
  display: block;
}

/* Archive header label variant (below hero, smaller) */
.ct-archive-header__label {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--ed-blue);
  margin-bottom: 0.3rem;
}

/* ============================================================
   ABOUT PAGE — BALANCED LAYOUT OVERRIDES
   ============================================================ */
.ed-about-hero {
  padding: 3.5rem 0 3rem;
}
.ed-about-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .ed-about-hero__inner { grid-template-columns: 1.2fr 1fr; gap: 3rem; }
}
.ed-about-hero__badge {
  display: inline-block;
  background: var(--ed-orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 0.22em 0.75em;
  border-radius: 3px;
  margin-bottom: 0.85rem;
}
.ed-about-hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.ed-about-hero-stat {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--ed-radius-lg);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.ed-about-hero-stat__num {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.ed-about-hero-stat__label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.3;
}

/* Mission + values — equal columns */
.ed-about-mission-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
}
@media (min-width: 768px) {
  .ed-about-mission-cols { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* Values with icons */
.ed-about-value {
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  border-left: 3px solid var(--ed-orange);
  border-radius: 0 var(--ed-radius-lg) var(--ed-radius-lg) 0;
  padding: 1rem 1.25rem;
}
.ed-about-value h3 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ed-blue);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.ed-about-value h3 svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  color: var(--ed-orange);
}
.ed-about-value p {
  font-size: 0.87rem;
  color: var(--ed-text-soft);
  line-height: 1.6;
  margin: 0;
}
.ed-contact-wrap {
  max-width: var(--ed-max);
  margin-inline: auto;
  padding: 0 clamp(1rem, 5vw, 2rem) 4rem;
}
.ed-contact-hero {
  background: linear-gradient(135deg, var(--ed-blue) 0%, #1a3d75 100%);
  padding: 3rem clamp(1rem, 5vw, 2rem) 2.75rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}
.ed-contact-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(232,100,10,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.ed-contact-hero__inner {
  max-width: var(--ed-max);
  margin-inline: auto;
  position: relative;
}
.ed-contact-hero h1 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.ed-contact-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  line-height: 1.65;
}
.ed-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .ed-contact-grid { grid-template-columns: 1.1fr 1fr; align-items: start; }
}
.ed-contact-form-col {}
.ed-contact-form-col h2 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ed-blue);
  margin-bottom: 1.25rem;
}
/* Gravity Forms base styling */
.gform_wrapper .gform_body { }
.gform_wrapper .gfield { margin-bottom: 1.25rem; }
.gform_wrapper .gfield_label {
  display: block;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--ed-text);
  margin-bottom: 0.35rem;
}
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper textarea,
.gform_wrapper select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--ed-border-md);
  border-radius: var(--ed-radius);
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  color: var(--ed-text);
  background: var(--ed-surface);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.gform_wrapper input[type="text"]:focus,
.gform_wrapper input[type="email"]:focus,
.gform_wrapper input[type="tel"]:focus,
.gform_wrapper textarea:focus,
.gform_wrapper select:focus {
  outline: none;
  border-color: var(--ed-blue-light);
  box-shadow: 0 0 0 3px rgba(37, 99, 176, 0.12);
}
.gform_wrapper textarea { min-height: 130px; resize: vertical; }
.gform_wrapper .gform_footer input[type="submit"],
.gform_wrapper .gform_footer button[type="submit"],
.gform_wrapper input.gform_button {
  background: var(--ed-orange);
  color: #fff;
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.7rem 1.75rem;
  border: none;
  border-radius: var(--ed-radius);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(232,100,10,0.28);
}
.gform_wrapper .gform_footer input[type="submit"]:hover,
.gform_wrapper input.gform_button:hover {
  background: #c9550a;
  transform: translateY(-1px);
}
.gform_wrapper .validation_error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: var(--ed-radius);
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: #dc2626;
  margin-bottom: 1rem;
}
.gform_wrapper .gfield_error input,
.gform_wrapper .gfield_error textarea {
  border-color: #f87171;
}
/* Contact info box */
.ed-contact-info {
  background: var(--ed-surface-2);
  border: 1px solid var(--ed-border);
  border-radius: var(--ed-radius-lg);
  padding: 1.75rem;
}
.ed-contact-info h3 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ed-blue);
  margin-bottom: 1rem;
}
.ed-contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.ed-contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--ed-text-soft);
  line-height: 1.5;
}
.ed-contact-info-list li svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--ed-orange);
  margin-top: 0.05em;
}
.ed-contact-faq {
  margin-top: 1.5rem;
  border-top: 1px solid var(--ed-border);
  padding-top: 1.25rem;
}
.ed-contact-faq h4 {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ed-text-muted);
  margin-bottom: 0.85rem;
}
.ed-contact-faq-item {
  margin-bottom: 0.85rem;
}
.ed-contact-faq-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ed-text);
  margin-bottom: 0.2rem;
}
.ed-contact-faq-item p {
  font-size: 0.85rem;
  color: var(--ed-text-soft);
  line-height: 1.55;
}

/* ============================================================
   ABOUT PAGE TEMPLATE
   ============================================================ */
.ed-about-wrap {
  max-width: var(--ed-max);
  margin-inline: auto;
  padding-bottom: 3rem;
}

/* Each body section: consistent vertical breathing room */
.ed-about-body {
  padding: 2rem clamp(1rem, 5vw, 2rem);
}
.ed-about-body + .ed-about-body {
  padding-top: 0;
}

/* Section headings — tighter, consistent */
.ed-about-section-head {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 800;
  color: var(--ed-blue);
  margin: 0 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #e4ecf7;
}
.ed-about-hero {
  background: linear-gradient(135deg, var(--ed-blue) 0%, #1a3d75 100%);
  padding: 3.5rem clamp(1rem, 5vw, 2rem) 3rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}
.ed-about-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 85% 30%, rgba(232,100,10,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.ed-about-hero__inner { position: relative; max-width: var(--ed-max); margin-inline: auto; }
.ed-about-hero h1 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 680px;
}
.ed-about-hero__lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 1.5rem;
}
.ed-about-hero__cta {
  display: inline-flex;
  background: var(--ed-orange);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  transition: background 0.15s;
  box-shadow: 0 2px 10px rgba(232,100,10,0.3);
}
.ed-about-hero__cta:hover { background: #c9550a; }

.ed-about-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 3rem 0;
}
@media (min-width: 768px) {
  .ed-about-cols { grid-template-columns: 1fr 1fr; align-items: start; }
}
.ed-about-content h2 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--ed-blue);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.ed-about-content p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ed-text-soft);
  margin-bottom: 1.1em;
}
.ed-about-content a { color: var(--ed-blue-light); text-decoration: underline; }

.ed-about-values {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ed-about-value {
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  border-left: 3px solid var(--ed-orange);
  border-radius: 0 var(--ed-radius-lg) var(--ed-radius-lg) 0;
  padding: 1rem 1.25rem;
}
.ed-about-value h3 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ed-blue);
  margin-bottom: 0.35rem;
}
.ed-about-value p {
  font-size: 0.87rem;
  color: var(--ed-text-soft);
  line-height: 1.6;
  margin: 0;
}
.ed-about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
.ed-about-stat {
  background: linear-gradient(135deg, var(--ed-blue) 0%, #1e4d8c 100%);
  border-radius: var(--ed-radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.ed-about-stat__num {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.ed-about-stat__label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
}
.ed-about-cta-band {
  background: linear-gradient(135deg, var(--ed-blue) 0%, var(--ed-blue-mid) 100%);
  border-radius: var(--ed-radius-lg);
  padding: 2.5rem 2rem;
  margin: 0 0 2rem;
}
.ed-about-cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.ed-about-cta-band h2 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}
.ed-about-cta-band p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
}
.ed-about-cta-band__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* About v2 — pillars */
.ed-about-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) { .ed-about-pillars { grid-template-columns: 1fr 1fr; } }

.ed-about-pillar {
  background: var(--ed-surface);
  border: 1.5px solid #e4ecf7;
  border-top: 3px solid var(--ed-orange);
  border-radius: var(--ed-radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.ed-about-pillar__icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--ed-blue), var(--ed-blue-mid));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ed-about-pillar__icon svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
}
.ed-about-pillar h2 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ed-blue);
  margin: 0;
}
.ed-about-pillar p {
  font-size: 0.88rem;
  color: var(--ed-text-soft);
  line-height: 1.65;
  margin: 0;
}
.ed-about-pillar__link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ed-orange);
  text-decoration: none;
  margin-top: auto;
}
.ed-about-pillar__link:hover { text-decoration: underline; }

/* About values 4-col */
.ed-about-values--4col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (min-width: 768px) { .ed-about-values--4col { grid-template-columns: repeat(4, 1fr); } }

/* About body alt (light tint) */
.ed-about-body--alt {
  background: var(--ed-bg);
  border-top: 1px solid #e8eff8;
  border-bottom: 1px solid #e8eff8;
}

/* About directory overview cards */
.ed-about-dir-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .ed-about-dir-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .ed-about-dir-grid { grid-template-columns: repeat(3, 1fr); } }

.ed-about-dir-card {
  background: var(--ed-surface);
  border: 1.5px solid #e4ecf7;
  border-radius: var(--ed-radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.ed-about-dir-card h3 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ed-blue);
  margin: 0;
}
.ed-about-dir-card h3 a { color: inherit; text-decoration: none; }
.ed-about-dir-card h3 a:hover { color: var(--ed-orange); }
.ed-about-dir-card p {
  font-size: 0.84rem;
  color: var(--ed-text-soft);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.ed-about-dir-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.ed-about-dir-tag {
  background: #f0f5ff;
  border: 1px solid #d0ddf5;
  color: var(--ed-blue);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2em 0.6em;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.ed-about-dir-tag:hover {
  background: var(--ed-blue);
  border-color: var(--ed-blue);
  color: #fff;
}

/* About buttons */
.ed-about-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--ed-radius);
  padding: 0.55em 1.2em;
  text-decoration: none;
  transition: opacity 0.2s;
}
.ed-about-btn:hover { opacity: 0.85; }
.ed-about-btn--primary {
  background: var(--ed-orange);
  color: #fff;
}
.ed-about-btn--ghost {
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: #fff;
}
.ed-about-btn--ghost-dark {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.85);
}
.ed-about-hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* ── Taxonomy Hub Pages ─────────────────────────────────────────────────── */
.ed-hub-hero {
  background: linear-gradient(135deg, var(--ed-blue) 0%, #1a3d75 100%);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.ed-hub-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 85% 50%, rgba(232,100,10,0.12) 0%, transparent 55%);
  pointer-events: none;
}
.ed-hub-hero__inner { position: relative; }
.ed-hub-hero__breadcrumb {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.ed-hub-hero__breadcrumb a { color: rgba(255,255,255,0.65); text-decoration: none; }
.ed-hub-hero__breadcrumb a:hover { color: #fff; }
.ed-hub-hero h1 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.7rem;
  line-height: 1.15;
}
.ed-hub-hero__lead {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  max-width: 600px;
  line-height: 1.65;
  margin: 0 0 1rem;
}
.ed-hub-hero__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.ed-hub-wrap {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.ed-hub-group {
  margin-bottom: 3rem;
}
.ed-hub-group__title {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ed-blue);
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid #e4ecf7;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ed-hub-group__title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--ed-orange);
  border-radius: 2px;
}

/* Discipline term grid */
.ed-hub-term-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 600px) { .ed-hub-term-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .ed-hub-term-grid { grid-template-columns: repeat(4, 1fr); } }

.ed-hub-term-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ed-surface);
  border: 1.5px solid #e4ecf7;
  border-radius: var(--ed-radius);
  padding: 0.75rem 1rem;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  position: relative;
}
.ed-hub-term-card:hover {
  border-color: var(--ed-blue-light);
  box-shadow: 0 2px 12px rgba(26,58,107,0.08);
  transform: translateY(-1px);
}
.ed-hub-term-card--empty {
  opacity: 0.6;
}
.ed-hub-term-card__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ed-text);
  flex: 1;
  line-height: 1.3;
}
.ed-hub-term-card__count {
  font-size: 0.72rem;
  color: var(--ed-text-muted);
  white-space: nowrap;
  margin-left: auto;
}
.ed-hub-term-card:hover .ed-hub-term-card__name { color: var(--ed-blue-mid); }
.ed-hub-term-card:hover .ed-hub-term-card__count { color: var(--ed-orange); }
.ed-hub-term-card__arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #b0c0d8;
  transition: color 0.15s, transform 0.15s;
}
.ed-hub-term-card:hover .ed-hub-term-card__arrow { color: var(--ed-blue-light); transform: translateX(2px); }

/* Region grid — larger cards with emoji */
.ed-hub-region-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 480px) { .ed-hub-region-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .ed-hub-region-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .ed-hub-region-grid { grid-template-columns: repeat(7, 1fr); } }

.ed-hub-region-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: var(--ed-surface);
  border: 1.5px solid #e4ecf7;
  border-radius: var(--ed-radius-lg);
  padding: 1.25rem 0.75rem;
  text-decoration: none;
  text-align: center;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.ed-hub-region-card:hover {
  border-color: var(--ed-blue-light);
  box-shadow: 0 4px 16px rgba(26,58,107,0.1);
  transform: translateY(-2px);
}
.ed-hub-region-card__icon { font-size: 1.75rem; line-height: 1; }
.ed-hub-region-card__name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ed-text);
  line-height: 1.3;
}
.ed-hub-region-card__count {
  font-size: 0.7rem;
  color: var(--ed-text-muted);
  background: var(--ed-bg);
  border-radius: 20px;
  padding: 0.1em 0.6em;
}
.ed-hub-region-card:hover .ed-hub-region-card__name { color: var(--ed-blue-mid); }
.ed-hub-region-card:hover .ed-hub-region-card__count { background: var(--ed-blue); color: #fff; }

/* Listing type cards — large with description */
.ed-hub-type-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 600px) { .ed-hub-type-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .ed-hub-type-grid { grid-template-columns: repeat(3, 1fr); } }

.ed-hub-type-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--ed-surface);
  border: 1.5px solid #e4ecf7;
  border-radius: var(--ed-radius-lg);
  padding: 1.25rem;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.ed-hub-type-card:hover {
  border-color: var(--ed-blue-light);
  box-shadow: 0 4px 18px rgba(26,58,107,0.09);
  transform: translateY(-2px);
}
.ed-hub-type-card__icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  background: var(--ed-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ed-hub-type-card__body { flex: 1; min-width: 0; }
.ed-hub-type-card__name {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ed-blue);
  margin: 0 0 0.35rem;
  line-height: 1.3;
}
.ed-hub-type-card:hover .ed-hub-type-card__name { color: var(--ed-blue-mid); }
.ed-hub-type-card__desc {
  font-size: 0.82rem;
  color: var(--ed-text-soft);
  line-height: 1.6;
  margin: 0 0 0.5rem;
}
.ed-hub-type-card__count {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ed-text-muted);
  background: var(--ed-bg);
  border-radius: 20px;
  padding: 0.15em 0.7em;
}
.ed-hub-type-card:hover .ed-hub-type-card__count {
  background: var(--ed-orange);
  color: #fff;
}
.ed-hub-type-card__arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #c0d0e8;
  align-self: center;
  transition: color 0.15s, transform 0.15s;
}
.ed-hub-type-card:hover .ed-hub-type-card__arrow { color: var(--ed-blue-light); transform: translateX(2px); }

/* Hub CTA box */
.ed-hub-cta {
  margin-top: 1rem;
  background: var(--ed-bg);
  border: 1.5px solid #e4ecf7;
  border-radius: var(--ed-radius-lg);
  padding: 1.5rem;
}
.ed-hub-cta__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.ed-hub-cta p {
  margin: 0;
  flex: 1;
  font-size: 0.88rem;
  color: var(--ed-text-soft);
}
.ed-hub-cta__btn {
  display: inline-flex;
  align-items: center;
  background: var(--ed-blue);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55em 1.2em;
  border-radius: var(--ed-radius);
  text-decoration: none;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.ed-hub-cta__btn--orange { background: var(--ed-orange); }
.ed-hub-cta__btn:hover { opacity: 0.85; }
.ed-hub-cta__link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ed-orange);
  text-decoration: none;
  flex-shrink: 0;
}
.ed-hub-cta__link:hover { text-decoration: underline; }

/* Hub info split band */
.ed-hub-info-band {
  margin-top: 1.5rem;
  background: var(--ed-bg);
  border: 1.5px solid #e4ecf7;
  border-radius: var(--ed-radius-lg);
  padding: 2rem;
}
.ed-hub-info-band__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .ed-hub-info-band__inner { grid-template-columns: 1fr 1fr; } }
.ed-hub-info-band__col h3 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ed-blue);
  margin: 0 0 0.5rem;
}
.ed-hub-info-band__col p {
  font-size: 0.85rem;
  color: var(--ed-text-soft);
  margin: 0 0 1rem;
  line-height: 1.6;
}


/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header, .ct-footer, .ed-sidebar { display: none; }
  .ed-single-wrap { grid-template-columns: 1fr; }
}

/* ============================================================
   ENGINEER DIRECTORY PROMO SECTION (homepage)
   ============================================================ */
.ed-dir-promo {
  padding: 4rem 0;
  background: linear-gradient(160deg, #0f2347 0%, #1a3a6b 55%, #1e4a8a 100%);
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
}
/* Subtle grid texture */
.ed-dir-promo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.ed-dir-promo__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

/* ── Text side ── */
.ed-dir-promo__eyebrow {
  display: inline-block;
  background: rgba(232,100,10,0.18);
  border: 1px solid rgba(232,100,10,0.45);
  color: #f8a76a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.ed-dir-promo__title {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 1rem;
}
.ed-dir-promo__lead {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
  max-width: 480px;
}
.ed-dir-promo__list {
  list-style: none;
  padding: 0; margin: 0 0 1.75rem;
  display: flex; flex-direction: column; gap: 8px;
}
.ed-dir-promo__list li {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}
.ed-dir-promo__list li svg {
  width: 16px; height: 16px;
  color: #e8640a; flex-shrink: 0;
}
.ed-dir-promo__actions {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.ed-dir-promo__btn-primary {
  display: inline-block;
  background: #e8640a;
  color: #fff !important;
  font-weight: 700; font-size: 0.9rem;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.ed-dir-promo__btn-primary:hover { background: #cf560a; transform: translateY(-1px); }
.ed-dir-promo__btn-ghost {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.85) !important;
  font-weight: 600; font-size: 0.88rem;
  padding: 0.65rem 1.3rem;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.ed-dir-promo__btn-ghost:hover { border-color: #fff; color: #fff !important; }

/* ── Cards side ── */
.ed-dir-promo__cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ed-dir-promo__card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.2s, transform 0.2s;
}
.ed-dir-promo__card--1 { transform: translateX(12px); }
.ed-dir-promo__card--2 { transform: translateX(0px); }
.ed-dir-promo__card--3 { transform: translateX(8px); }
.ed-dir-promo__card-avatar {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, #1a3a6b, #2e5bb8);
  color: #fff; font-size: 0.95rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,0.2);
}
.ed-dir-promo__card-avatar--orange { background: linear-gradient(135deg, #c04d00, #e8640a); }
.ed-dir-promo__card-avatar--teal   { background: linear-gradient(135deg, #0e6b55, #1a9b7a); }
.ed-dir-promo__card-info { flex: 1; min-width: 0; }
.ed-dir-promo__card-info strong {
  display: block; color: #fff; font-size: 0.88rem; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ed-dir-promo__card-info span {
  display: block; color: rgba(255,255,255,0.55); font-size: 0.75rem; margin-top: 1px;
}
.ed-dir-promo__card-tags {
  display: flex; gap: 4px; margin-top: 5px; flex-wrap: wrap;
}
.ed-dir-promo__card-tags span {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.65rem !important; font-weight: 700;
  padding: 1px 6px; border-radius: 4px;
  letter-spacing: 0.03em; text-transform: uppercase;
}
.ed-dir-promo__card-badge {
  font-size: 0.65rem; font-weight: 800; letter-spacing: 0.05em;
  padding: 3px 8px; border-radius: 6px; flex-shrink: 0;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
}
.ed-dir-promo__card-badge--featured {
  background: rgba(232,100,10,0.25);
  border-color: rgba(232,100,10,0.5);
  color: #f8a76a;
}

/* Stats row under cards */
.ed-dir-promo__stat-row {
  display: flex; gap: 0; margin-top: 4px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; overflow: hidden;
}
.ed-dir-promo__stat {
  flex: 1; text-align: center; padding: 12px 8px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.ed-dir-promo__stat:last-child { border-right: none; }
.ed-dir-promo__stat strong {
  display: block; color: #fff; font-size: 1.1rem; font-weight: 800; font-family: 'Nunito', sans-serif;
}
.ed-dir-promo__stat span {
  display: block; color: rgba(255,255,255,0.5); font-size: 0.72rem; margin-top: 2px;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .ed-dir-promo__inner { grid-template-columns: 1fr; gap: 2rem; }
  .ed-dir-promo__card--1,
  .ed-dir-promo__card--2,
  .ed-dir-promo__card--3 { transform: none; }
  .ed-dir-promo__lead { max-width: 100%; }
}

/* ============================================================
   FULL WIDTH PAGE TEMPLATE
   ============================================================ */
.page-fullwidth {
  max-width: none !important;
}
/* Full-width page template — removes the 820px prose constraint */
.page-body--fullwidth {
  max-width: none;
}
/* Shortcode pages (media pack, editorial guidelines) need full container width */
.page-body .edm-media-pack,
.page-body .edm-guidelines {
  margin-left:  calc(-1 * clamp(1rem, 5vw, 2rem));
  margin-right: calc(-1 * clamp(1rem, 5vw, 2rem));
  max-width: none;
  width: calc(100% + clamp(2rem, 10vw, 4rem));
}

/* ============================================================
   WOOCOMMERCE — ORDER CONFIRMATION / THANKYOU PAGE
   ============================================================ */

/* Fix column overlap on order-received page */
.woocommerce-order-overview.woocommerce-thankyou-order-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 0 0 2em;
  padding: 0;
  border: 1px solid var(--ed-border);
  border-radius: var(--ed-radius);
  overflow: hidden;
}
.woocommerce-order-overview.woocommerce-thankyou-order-details li {
  flex: 1 1 160px;
  padding: 16px 20px;
  border-right: 1px solid var(--ed-border);
  border-bottom: none;
  font-size: 0.85rem;
  color: var(--ed-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.woocommerce-order-overview.woocommerce-thankyou-order-details li:last-child {
  border-right: none;
}
.woocommerce-order-overview.woocommerce-thankyou-order-details li strong {
  display: block;
  font-size: 1rem;
  color: var(--ed-text);
  text-transform: none;
  letter-spacing: 0;
  margin-top: 4px;
}

/* Order details table */
.woocommerce-order-details table.woocommerce-table,
.woocommerce-customer-details table.woocommerce-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
}
.woocommerce-order-details table.woocommerce-table th,
.woocommerce-order-details table.woocommerce-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--ed-border);
  vertical-align: middle;
}
.woocommerce-order-details table.woocommerce-table thead th {
  background: var(--ed-blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Thank you page heading */
.woocommerce-order h2.woocommerce-column__title,
.woocommerce-order h2 {
  font-size: 1.2rem;
  color: var(--ed-blue);
  margin: 1.5em 0 0.75em;
}

/* Mobile */
@media (max-width: 600px) {
  .woocommerce-order-overview.woocommerce-thankyou-order-details li {
    flex: 1 1 50%;
    border-bottom: 1px solid var(--ed-border);
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   HOMEPAGE — front-page.php
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hp-hero {
  position: relative;
  background: var(--ed-blue);
  overflow: hidden;
  padding: 0 0 0;
  color: #fff;
}
.hp-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hp-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hp-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.hp-hero__orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #2563b0, transparent 70%);
  top: -200px; right: -100px;
}
.hp-hero__orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #e8640a, transparent 70%);
  bottom: -100px; left: 10%;
  opacity: 0.2;
}
.hp-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 80px;
}
@media (max-width: 900px) {
  .hp-hero__inner { grid-template-columns: 1fr; gap: 2rem; padding-top: 48px; padding-bottom: 48px; }
}
.hp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 5px 14px 5px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
  width: fit-content;
}
.hp-hero__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: hp-pulse 2.5s ease-in-out infinite;
}
@keyframes hp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}
.hp-hero__title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 16px;
}
.hp-hero__title-accent {
  color: var(--ed-orange);
}
.hp-hero__lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  max-width: 500px;
  margin: 0 0 28px;
}
.hp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.hp-hero__stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.hp-hero__stat {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}
.hp-hero__stat:first-child { padding-left: 0; }
.hp-hero__stat strong {
  font-family: 'Nunito', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hp-hero__stat span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  margin-top: 3px;
  white-space: nowrap;
}
.hp-hero__stat-div {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

/* Hero search panel */
.hp-hero__search-panel {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  padding: 28px;
}
.hp-hero__search-tabs {
  display: flex;
  gap: 4px;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 20px;
}
.hp-stab {
  flex: 1;
  border: none;
  background: none;
  padding: 9px 12px;
  border-radius: 6px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ed-text-muted);
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}
.hp-stab--active {
  background: #fff;
  color: var(--ed-blue);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.hp-search-form { display: flex; flex-direction: column; gap: 12px; }
.hp-search-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hp-search-row--single { grid-template-columns: 1fr; }
.hp-search-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hp-search-field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ed-text-muted);
}
.hp-search-field select,
.hp-search-field input {
  border: 1.5px solid #e2e8f0;
  border-radius: 7px;
  padding: 10px 12px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--ed-text);
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}
.hp-search-field select:focus,
.hp-search-field input:focus { border-color: var(--ed-blue-mid); }
.hp-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ed-orange);
  border: none;
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
}
.hp-search-btn:hover { background: #d4570a; transform: translateY(-1px); }
.hp-hero__search-footer {
  text-align: center;
  margin-top: 14px;
}
.hp-hero__search-footer a {
  font-size: 0.82rem;
  color: var(--ed-text-muted);
  text-decoration: none;
  font-weight: 600;
}
.hp-hero__search-footer a:hover { color: var(--ed-blue); }
.hp-hero__wave {
  position: relative;
  margin-top: -2px;
  line-height: 0;
}
.hp-hero__wave svg { display: block; width: 100%; height: 60px; }

/* ── Shared buttons ───────────────────────────────────────────────────── */
.hp-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.hp-btn--primary {
  background: var(--ed-orange);
  color: #fff;
}
.hp-btn--primary:hover { background: #d4570a; transform: translateY(-1px); color: #fff; }
.hp-btn--ghost {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
}
.hp-btn--ghost:hover { background: rgba(255,255,255,0.2); color: #fff; }
.hp-btn--ghost-dark {
  background: transparent;
  border: 1.5px solid rgba(26,58,107,0.25);
  color: var(--ed-blue);
}
.hp-btn--ghost-dark:hover { border-color: var(--ed-blue); background: rgba(26,58,107,0.05); color: var(--ed-blue); }
.hp-btn--outline {
  background: transparent;
  border: 1.5px solid var(--ed-blue-mid);
  color: var(--ed-blue-mid);
}
.hp-btn--outline:hover { background: var(--ed-blue-mid); color: #fff; }

/* ── Trust bar ────────────────────────────────────────────────────────── */
.hp-trust {
  background: #fff;
  border-bottom: 1px solid #e9eff7;
  padding: 14px 0;
}
.hp-trust__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.hp-trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ed-text-soft);
  padding: 6px 24px;
}
.hp-trust__item svg { color: var(--ed-orange); flex-shrink: 0; }
.hp-trust__div {
  width: 1px;
  height: 20px;
  background: #dde5f0;
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .hp-trust__inner { flex-direction: column; align-items: flex-start; padding: 0 16px; }
  .hp-trust__div { display: none; }
}

/* ── Shared section heading ───────────────────────────────────────────── */
.hp-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 32px;
}
.hp-section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hp-section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ed-blue-mid);
  margin-bottom: 6px;
}
.hp-section-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--ed-text);
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.hp-section-sub {
  font-size: 0.92rem;
  color: var(--ed-text-muted);
  margin: 0;
}
.hp-section-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ed-blue-mid);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.hp-section-link:hover { color: var(--ed-orange); }

/* ── Featured Listings ────────────────────────────────────────────────── */
.hp-listings {
  padding: 64px 0;
  background: var(--ed-bg);
}
.hp-listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
@media (max-width: 960px) { .hp-listings-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .hp-listings-grid { grid-template-columns: 1fr; } }

.hp-listing-card {
  background: #fff;
  border: 1.5px solid #e4ecf7;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  position: relative;
}
.hp-listing-card:hover {
  box-shadow: 0 8px 32px rgba(26,58,107,0.1);
  transform: translateY(-2px);
  border-color: #c5d6ee;
}
.hp-listing-card--featured {
  border-color: #e8640a;
  border-width: 2px;
}
.hp-listing-card--featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(232,100,10,0.04), transparent);
  pointer-events: none;
}
.hp-listing-card__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.hp-listing-card__logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}
.hp-listing-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-listing-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ed-blue), var(--ed-blue-mid));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.hp-listing-card__id { flex: 1; min-width: 0; }
.hp-listing-card__name {
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 3px;
  line-height: 1.3;
}
.hp-listing-card__name a { color: var(--ed-text); text-decoration: none; }
.hp-listing-card__name a:hover { color: var(--ed-blue-mid); }
.hp-listing-card__meta {
  font-size: 0.77rem;
  color: var(--ed-text-muted);
  margin: 0;
}
.hp-listing-card__badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  white-space: nowrap;
  align-self: flex-start;
}
.hp-listing-card__badge--featured { background: #fff3eb; color: #c04d00; }
.hp-listing-card__badge--pro      { background: #eff3fb; color: var(--ed-blue-mid); }
.hp-listing-card__excerpt {
  font-size: 0.82rem;
  color: var(--ed-text-soft);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.hp-listing-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hp-listing-card__tag {
  font-size: 0.67rem;
  font-weight: 600;
  padding: 3px 8px;
  background: #f0f5ff;
  color: var(--ed-blue-mid);
  border-radius: 4px;
  letter-spacing: 0.03em;
}
.hp-listing-card__cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ed-blue-mid);
  text-decoration: none;
  margin-top: auto;
}
.hp-listing-card__cta:hover { color: var(--ed-orange); }

.hp-listings-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.hp-listings-footer__list {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ed-text-muted);
  text-decoration: none;
}
.hp-listings-footer__list:hover { color: var(--ed-blue-mid); }

/* ── Latest Articles ──────────────────────────────────────────────────── */
.hp-articles {
  padding: 64px 0;
  background: #fff;
}
/* ── Articles layout
   Left col (42%): hero card (flex:1 fills height) + wide horizontal card below
   Right col (58%): 2×2 grid — cells stretch so both rows are always equal height
   No shared row heights between columns = zero whitespace gaps guaranteed.
   ──────────────────────────────────────────────────────────────────────── */
.hp-articles-layout {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  align-items: stretch;
}

/* Left column */
.hp-articles-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 0 0 42%;
  min-width: 0;
}

/* Right column — 2×2, rows auto-size independently */
.hp-articles-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;   /* both rows equal height */
  gap: 20px;
  flex: 1;
  min-width: 0;
}

/* Base card */
.hp-article-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid #e9eff7;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.hp-article-card:hover {
  box-shadow: 0 6px 24px rgba(26,58,107,0.09);
  transform: translateY(-2px);
}

/* Hero — stretches to fill the top portion of the left col */
.hp-article-card--hero { flex: 1; }

/* Thumbnails */
.hp-article-card__thumb { display: block; overflow: hidden; flex-shrink: 0; }
.hp-article-card__thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.hp-article-card--hero .hp-article-card__thumb img { height: 260px; }
.hp-article-card:hover .hp-article-card__thumb img { transform: scale(1.03); }

/* Body */
.hp-article-card__body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.hp-article-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hp-article-card__read {
  font-size: 0.7rem;
  color: var(--ed-text-muted);
  font-weight: 600;
  margin-left: auto;
}
.hp-article-card__title {
  font-family: 'Nunito', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  color: var(--ed-text);
}
.hp-article-card--hero .hp-article-card__title { font-size: 1.15rem; }
.hp-article-card__title a { color: inherit; text-decoration: none; }
.hp-article-card__title a:hover { color: var(--ed-blue-mid); }
.hp-article-card__excerpt {
  font-size: 0.87rem;
  color: var(--ed-text-soft);
  line-height: 1.6;
  margin: 0;
}

/* Wide card — horizontal, sits below hero in left col */
.hp-article-card--wide {
  flex-direction: row;
  flex-shrink: 0;
}
.hp-article-card--wide .hp-article-card__thumb {
  width: 160px;
  flex-shrink: 0;
}
.hp-article-card--wide .hp-article-card__thumb img {
  height: 100%;
  min-height: 120px;
}
.hp-article-card--wide .hp-article-card__body { justify-content: center; }

/* Infobox no longer used */
.hp-articles-infobox { display: none !important; }

.hp-articles-footer { text-align: center; }

/* Tablet */
@media (max-width: 960px) {
  .hp-articles-layout { flex-direction: column; }
  .hp-articles-left { flex: none; }
  .hp-article-card--hero { flex: none; }
  .hp-article-card--wide { flex-direction: column; }
  .hp-article-card--wide .hp-article-card__thumb { width: 100%; }
  .hp-article-card--wide .hp-article-card__thumb img { height: 200px; }
}
/* Mobile */
@media (max-width: 600px) {
  .hp-articles-right { grid-template-columns: 1fr; grid-auto-rows: auto; }
}

/* ── Topics grid ──────────────────────────────────────────────────────── */
.hp-topics {
  padding: 64px 0;
  background: var(--ed-bg);
}
.hp-topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 32px;
}
@media (max-width: 960px) { .hp-topics-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .hp-topics-grid { grid-template-columns: repeat(2, 1fr); } }

.hp-topic-card {
  background: #fff;
  border: 1.5px solid #e4ecf7;
  border-radius: 10px;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.hp-topic-card:hover {
  border-color: var(--ed-blue-mid);
  box-shadow: 0 4px 16px rgba(26,58,107,0.1);
  transform: translateY(-2px);
}
.hp-topic-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #eff4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hp-topic-card__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--ed-blue-mid);
}
.hp-topic-card__label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ed-text);
  flex: 1;
  line-height: 1.3;
}
.hp-topic-card__arrow {
  font-size: 0.85rem;
  color: var(--ed-text-muted);
  transition: transform 0.2s, color 0.2s;
  flex-shrink: 0;
}
.hp-topic-card:hover .hp-topic-card__arrow {
  transform: translateX(3px);
  color: var(--ed-orange);
}

/* ── About band ───────────────────────────────────────────────────────── */
.hp-about-band {
  padding: 80px 0;
  background: var(--ed-blue);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hp-about-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hp-about-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 860px) {
  .hp-about-band__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
.hp-about-band .hp-section-eyebrow { color: var(--ed-orange); }
.hp-about-band__title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.2;
}
.hp-about-band__text p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin: 0;
}
.hp-about-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hp-about-band .hp-btn--ghost-dark {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.hp-about-band .hp-btn--ghost-dark:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.hp-about-band__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
}
.hp-about-stat {
  background: rgba(255,255,255,0.06);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.2s;
}
.hp-about-stat:hover { background: rgba(255,255,255,0.1); }
.hp-about-stat__num {
  font-family: 'Nunito', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hp-about-stat__label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
}
