/* ==========================================================================
   ElectricOne  -  EV Blog Design System
   Author: ElectricOne
   Structure:
     01. Tokens
     02. Reset & base
     03. Layout helpers
     04. Buttons, pills, tags
     05. Header / topbar / nav
     06. Hero (homepage)
     07. Article cards
     08. Section headings & rails
     09. Rank list / trending
     10. Topic hubs
     11. Newsletter bands
     12. Tools strip
     13. Authors
     14. Archive header + filters
     15. Sidebar widgets
     16. Pagination
     17. Single post (prose, TOC, author box, share)
     18. Footer
     19. Utilities
     20. Responsive
   ========================================================================== */

/* ------------------------------ 01. Tokens ------------------------------ */
.eone{
  /* Brand */
  --volt: #00d96a;
  --volt-600: #00b85a;
  --volt-700: #009449;
  --volt-soft: #e6fbf0;
  --volt-glow: rgba(0, 217, 106, .32);

  --ink: #0b1220;
  --ink-800: #16203a;
  --ink-600: #3d4a63;
  --ink-400: #6b7896;
  --ink-300: #9aa5bd;

  --line: #e5e9f0;
  --line-soft: #f0f3f8;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-mint: #f2fbf6;

  /* Category accents */
  --c-news: #2f6bff;
  --c-reviews: #7c4dff;
  --c-charging: #00b85a;
  --c-guides: #f59e0b;
  --c-tech: #06b6d4;
  --c-policy: #e11d64;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Sora", "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Space & shape */
  --wrap: 1240px;
  --wrap-narrow: 760px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .06), 0 1px 3px rgba(11, 18, 32, .05);
  --shadow-md: 0 6px 20px rgba(11, 18, 32, .07);
  --shadow-lg: 0 18px 50px rgba(11, 18, 32, .12);

  --t: .22s cubic-bezier(.4, 0, .2, 1);
}

/* --------------------------- 02. Reset & base --------------------------- */
.eone *, .eone *::before, .eone *::after{ box-sizing: border-box; }

.eone{ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

.eone{
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-800);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.eone h1, .eone h2, .eone h3, .eone h4, .eone h5{
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 .5em;
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 700;
}

.eone h1{ font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
.eone h2{ font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.15rem); }
.eone h3{ font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); }

.eone p{ margin: 0 0 1.1em; }

.eone a{ color: var(--ink); text-decoration: none; transition: color var(--t); }
.eone a:hover{ color: var(--volt-700); }

.eone img{ max-width: 100%; height: auto; display: block; }

.eone ul, .eone ol{ margin: 0 0 1.1em; padding-left: 1.2em; }

.eone button, .eone input, .eone select, .eone textarea{ font: inherit; color: inherit; }

.eone :focus-visible{
  outline: 3px solid var(--volt);
  outline-offset: 2px;
  border-radius: 4px;
}

.eone .skip-link{
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0;
}
.eone .skip-link:focus{ left: 0; color: #fff; }

/* -------------------------- 03. Layout helpers -------------------------- */
.eone .container{ width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

.eone .section{ padding: 64px 0; }
.eone .section--tight{ padding: 44px 0; }
.eone .section--soft{ background: var(--bg-soft); }
.eone .section--mint{ background: var(--bg-mint); }

.eone .grid{ display: grid; gap: 28px; }
.eone .grid-3{ grid-template-columns: repeat(3, 1fr); }
.eone .grid-4{ grid-template-columns: repeat(4, 1fr); }
.eone .grid-2{ grid-template-columns: repeat(2, 1fr); }

.eone .layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 56px;
  align-items: start;
}

.eone .divider{ height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------------------- 04. Buttons, pills, tags ------------------------ */
.eone .btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: .94rem;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
}
.eone .btn:hover{ transform: translateY(-1px); }

.eone .btn-primary{ background: var(--volt); color: var(--ink); box-shadow: 0 6px 18px var(--volt-glow); }
.eone .btn-primary:hover{ background: var(--volt-600); color: var(--ink); box-shadow: 0 10px 24px var(--volt-glow); }

.eone .btn-dark{ background: var(--ink); color: #fff; }
.eone .btn-dark:hover{ background: var(--ink-800); color: #fff; }

.eone .btn-ghost{ background: transparent; color: var(--ink); border-color: var(--line); }
.eone .btn-ghost:hover{ border-color: var(--ink); color: var(--ink); }

.eone .btn-light{ background: #fff; color: var(--ink); }
.eone .btn-light:hover{ background: var(--volt-soft); color: var(--ink); }

.eone .btn-sm{ padding: 9px 16px; font-size: .85rem; }
.eone .btn-block{ width: 100%; }

/* Category tag */
.eone .tag{
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--c-news);
}
.eone .tag::before{
  content: ""; width: 7px; height: 7px; border-radius: 2px;
  background: currentColor; transform: rotate(45deg);
}
.eone .tag[data-cat="reviews"]{ color: var(--c-reviews); }
.eone .tag[data-cat="charging"]{ color: var(--c-charging); }
.eone .tag[data-cat="guides"]{ color: var(--c-guides); }
.eone .tag[data-cat="tech"]{ color: var(--c-tech); }
.eone .tag[data-cat="policy"]{ color: var(--c-policy); }
.eone .tag:hover{ filter: brightness(.85); }

/* Filter pills */
.eone .pills{ display: flex; flex-wrap: wrap; gap: 10px; }
.eone .pill{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-600);
  transition: all var(--t);
}
.eone .pill:hover{ border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.eone .pill.is-active{ background: var(--ink); border-color: var(--ink); color: #fff; }
.eone .pill .pill-count{ font-weight: 500; color: var(--ink-300); font-size: .8rem; }
.eone .pill.is-active .pill-count{ color: rgba(255, 255, 255, .6); }

/* ------------------------ 05. Header / topbar --------------------------- */
.eone .topbar{
  background: var(--ink);
  color: #fff;
  font-size: .82rem;
  letter-spacing: .01em;
}
.eone .topbar .container{
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 40px; text-align: center;
}
.eone .topbar a{ color: var(--volt); font-weight: 600; }
.eone .topbar a:hover{ color: #fff; text-decoration: underline; }
.eone .topbar .topbar-badge{
  background: var(--volt); color: var(--ink);
  font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: var(--r-pill);
}

.eone-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.eone-header.is-stuck{ box-shadow: var(--shadow-sm); }

.eone .header-inner{
  display: flex; align-items: center; gap: 28px;
  min-height: 74px;
}

/* Logo */
.eone .brand{ display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.eone .brand-mark{
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--volt) 0%, #00b8a9 100%);
  display: grid; place-items: center;
  box-shadow: 0 4px 12px var(--volt-glow);
}
.eone .brand-mark svg{ width: 18px; height: 18px; }
.eone .brand-name{
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink);
}
.eone .brand-name span{ color: var(--volt-600); }

/* Nav */
.eone .nav{ display: flex; align-items: center; gap: 4px; margin-left: auto; }
.eone .nav-link{
  position: relative;
  padding: 10px 14px;
  font-size: .94rem; font-weight: 600; color: var(--ink-600);
  border-radius: var(--r-sm);
}
.eone .nav-link:hover{ color: var(--ink); background: var(--bg-soft); }
.eone .nav-link.is-active{ color: var(--ink); }
.eone .nav-link.is-active::after{
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--volt); border-radius: 2px;
}

.eone .header-actions{ display: flex; align-items: center; gap: 10px; }

.eone .icon-btn{
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: #fff; cursor: pointer;
  transition: all var(--t);
}
.eone .icon-btn:hover{ border-color: var(--ink); }
.eone .icon-btn svg{ width: 18px; height: 18px; }

.eone .nav-toggle{ display: none; }

/* Mobile drawer */
.eone .mobile-nav{
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 12px 0 20px;
}
.eone .mobile-nav.is-open{ display: block; }
.eone .mobile-nav a{
  display: block; padding: 12px 24px;
  font-weight: 600; color: var(--ink-800);
  border-bottom: 1px solid var(--line-soft);
}
.eone .mobile-nav .btn{ margin: 16px 24px 0; width: calc(100% - 48px); }

/* Search overlay */
.eone .search-panel{
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 20px 0;
}
.eone .search-panel.is-open{ display: block; }
.eone .search-form{ display: flex; gap: 10px; }
.eone .search-form input{
  flex: 1;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bg-soft);
  outline: none;
  transition: all var(--t);
}
.eone .search-form input:focus{ background: #fff; border-color: var(--volt); box-shadow: 0 0 0 4px var(--volt-soft); }

/* ---------------------------- 06. Hero ---------------------------------- */
.eone .hero{
  padding: 56px 0 64px;
  background:
    radial-gradient(900px 380px at 12% -10%, var(--volt-soft) 0%, transparent 60%),
    radial-gradient(700px 320px at 88% 0%, #eef4ff 0%, transparent 62%);
}

.eone .hero-head{ max-width: 700px; margin-bottom: 40px; }
.eone .hero-kicker{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: .8rem; font-weight: 600; color: var(--ink-600);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.eone .hero-kicker b{
  background: var(--ink); color: var(--volt);
  padding: 3px 9px; border-radius: var(--r-pill);
  font-size: .7rem; letter-spacing: .06em; text-transform: uppercase;
}
.eone .hero h1{ margin-bottom: 16px; }
.eone .hero h1 em{ font-style: normal; color: var(--volt-600); }
.eone .hero-sub{ font-size: 1.1rem; color: var(--ink-600); margin-bottom: 0; }

.eone .hero-grid{
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 32px;
}
.eone .hero-side{ display: grid; gap: 22px; align-content: start; }

/* Compact headline list that balances the hero's right column */
.eone .hero-more{ border-top: 1px solid var(--line); padding-top: 16px; }
.eone .hero-more h4{
  font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-400); margin-bottom: 6px;
}
.eone .hero-more ul{ list-style: none; margin: 0; padding: 0; }
.eone .hero-more li{ border-bottom: 1px solid var(--line-soft); }
.eone .hero-more li:last-child{ border-bottom: 0; }
.eone .hero-more a{
  display: flex; justify-content: space-between; gap: 14px;
  padding: 10px 0; font-size: .92rem; font-weight: 600; line-height: 1.4;
}
.eone .hero-more time{ color: var(--ink-300); font-weight: 500; flex-shrink: 0; }

/* --------------------------- 07. Article cards -------------------------- */
.eone .card{ display: flex; flex-direction: column; }

.eone .card-media{
  position: relative;
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  background: linear-gradient(135deg, #0b1220 0%, #1c3b5a 60%, #00b85a 100%);
  aspect-ratio: 16 / 10;
}
.eone .card-media img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.eone .card:hover .card-media img{ transform: scale(1.05); }

/* Fallback pattern shown when a remote image fails to load */
.eone .card-media.is-fallback::after{
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 217, 106, .55) 0, transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(47, 107, 255, .5) 0, transparent 50%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 12px, transparent 12px 24px);
}
.eone .card-media.is-fallback img{ display: none; }

.eone .card-badge{
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink);
}
.eone .card-read{
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  background: rgba(11, 18, 32, .78);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 600;
}

.eone .card-body{ padding-top: 16px; }
.eone .card-title{ font-size: 1.18rem; margin: 8px 0 10px; line-height: 1.32; }
.eone .card-title a:hover{ color: var(--volt-700); }
.eone .card-excerpt{ color: var(--ink-600); font-size: .95rem; margin-bottom: 14px; }

.eone .card-meta{
  display: flex; align-items: center; gap: 10px;
  font-size: .82rem; color: var(--ink-400);
}
.eone .card-meta .avatar{ width: 26px; height: 26px; border-radius: 50%; background: var(--bg-soft); object-fit: cover; }
.eone .card-meta .dot{ width: 3px; height: 3px; border-radius: 50%; background: var(--ink-300); }
.eone .card-meta .author{ font-weight: 600; color: var(--ink-800); }

/* Featured (hero primary) */
.eone .card-featured .card-media{ aspect-ratio: 16 / 11; border-radius: var(--r-lg); }
.eone .card-featured .card-title{ font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); margin-top: 12px; }
.eone .card-featured .card-excerpt{ font-size: 1.02rem; }

/* Horizontal card */
.eone .card-h{ display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 18px; align-items: center; }
.eone .card-h .card-media{ aspect-ratio: 4 / 3; border-radius: var(--r-md); }
.eone .card-h .card-body{ padding-top: 0; }
.eone .card-h .card-title{ font-size: 1.02rem; margin: 6px 0 8px; }

/* Compact list card (no image) */
.eone .card-min{ padding: 18px 0; border-bottom: 1px solid var(--line); }
.eone .card-min:last-child{ border-bottom: 0; }
.eone .card-min .card-title{ font-size: 1rem; margin: 6px 0 8px; }

/* Card list wrapper */
.eone .card-stack{ display: grid; gap: 26px; }

/* ------------------- 08. Section headings & rails ----------------------- */
.eone .section-head{
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 32px;
}
.eone .section-head p{ color: var(--ink-600); margin: 6px 0 0; max-width: 56ch; }
.eone .section-head h2{ margin: 0; }
.eone .section-eyebrow{
  display: block;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--volt-600); margin-bottom: 10px;
}
.eone .link-more{
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: .92rem; color: var(--ink);
  flex-shrink: 0;
}
.eone .link-more svg{ width: 16px; height: 16px; transition: transform var(--t); }
.eone .link-more:hover svg{ transform: translateX(4px); }

/* ------------------------ 09. Rank list / trending ---------------------- */
.eone .rank-list{ list-style: none; margin: 0; padding: 0; counter-reset: rank; }
.eone .rank-item{
  counter-increment: rank;
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.eone .rank-item:last-child{ border-bottom: 0; }
.eone .rank-item::before{
  content: counter(rank, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 800;
  color: var(--volt); line-height: 1.4;
}
.eone .rank-item h3{ font-size: 1rem; margin: 0 0 6px; line-height: 1.4; }

/* --------------------------- 10. Topic hubs ----------------------------- */
.eone .hub-card{
  display: block;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all var(--t);
}
.eone .hub-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.eone .hub-icon{
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: var(--volt-soft); color: var(--volt-700);
}
.eone .hub-icon svg{ width: 22px; height: 22px; }
.eone .hub-card[data-tone="blue"] .hub-icon{ background: #eaf1ff; color: var(--c-news); }
.eone .hub-card[data-tone="violet"] .hub-icon{ background: #f1ecff; color: var(--c-reviews); }
.eone .hub-card[data-tone="amber"] .hub-icon{ background: #fff4e2; color: #b26a00; }
.eone .hub-card[data-tone="cyan"] .hub-icon{ background: #e4f8fb; color: #0891a8; }
.eone .hub-card h3{ font-size: 1.08rem; margin-bottom: 8px; }
.eone .hub-card p{ font-size: .92rem; color: var(--ink-600); margin-bottom: 12px; }
.eone .hub-meta{ font-size: .8rem; font-weight: 700; color: var(--ink-400); letter-spacing: .04em; text-transform: uppercase; }

/* -------------------------- 11. Newsletter ------------------------------ */
.eone .newsletter{
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-radius: var(--r-lg);
  color: #fff;
  padding: 52px 48px;
}
.eone .newsletter::before{
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(560px 260px at 88% 15%, rgba(0, 217, 106, .30) 0, transparent 62%),
    radial-gradient(420px 220px at 8% 100%, rgba(47, 107, 255, .28) 0, transparent 62%);
  pointer-events: none;
}
.eone .newsletter > *{ position: relative; z-index: 1; }
.eone .newsletter h2{ color: #fff; max-width: 20ch; }
.eone .newsletter p{ color: rgba(255, 255, 255, .74); max-width: 52ch; margin-bottom: 0; }
.eone .newsletter-grid{ display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }

.eone .nl-form{ display: flex; gap: 10px; margin-bottom: 14px; }
.eone .nl-form input{
  flex: 1; min-width: 0;
  padding: 15px 20px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .07);
  color: #fff;
  outline: none;
  transition: all var(--t);
}
.eone .nl-form input::placeholder{ color: rgba(255, 255, 255, .45); }
.eone .nl-form input:focus{ border-color: var(--volt); background: rgba(255, 255, 255, .12); }
.eone .nl-note{ font-size: .82rem; color: rgba(255, 255, 255, .5); margin: 0; }

.eone .nl-proof{ display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.eone .nl-avatars{ display: flex; }
/* NOTE: never put display:grid on an <img>  -  Chromium then treats it as a
   grid container and stops painting the photo. Grid centering goes on the
   text placeholder only. */
.eone .nl-avatars img, .eone .nl-avatars span{
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--ink); margin-left: -10px;
  object-fit: cover; background: var(--ink-600);
  font-size: .72rem; font-weight: 700; color: #fff;
}
.eone .nl-avatars img{ display: block; }
.eone .nl-avatars span{ display: grid; place-items: center; }
.eone .nl-avatars > *:first-child{ margin-left: 0; }
.eone .nl-proof p{ font-size: .86rem; color: rgba(255, 255, 255, .7); margin: 0; }

/* Compact sidebar version  -  .widget is declared later, so re-assert the
   dark shell here at two-class specificity when both are applied. */
.eone .widget.newsletter{ background: var(--ink); border-color: transparent; }
.eone .widget.newsletter-sm, .eone .newsletter-sm{ padding: 28px 24px; border-radius: var(--r-md); }
.eone .newsletter-sm h3{ color: #fff; font-size: 1.15rem; }
.eone .newsletter-sm p{ font-size: .88rem; }
.eone .newsletter-sm .nl-form{ flex-direction: column; }
.eone .newsletter-sm .nl-form input{ width: 100%; }

/* --------------------------- 12. Tools strip ---------------------------- */
.eone .tool-card{
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all var(--t);
}
.eone .tool-card:hover{ border-color: var(--volt); box-shadow: 0 10px 26px rgba(0, 217, 106, .14); transform: translateY(-3px); }
.eone .tool-emoji{
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-mint); font-size: 1.35rem;
}
.eone .tool-card h3{ font-size: 1rem; margin: 0 0 3px; }
.eone .tool-card p{ font-size: .86rem; color: var(--ink-400); margin: 0; }

/* ---------------------------- 13. Authors ------------------------------- */
.eone .author-card{
  text-align: center;
  padding: 26px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  transition: all var(--t);
}
.eone .author-card:hover{ box-shadow: var(--shadow-md); transform: translateY(-3px); }
.eone .author-card img, .eone .author-card .avatar-ph{
  width: 76px; height: 76px; border-radius: 50%;
  margin: 0 auto 14px; object-fit: cover;
  background: linear-gradient(135deg, var(--volt) 0%, #00b8a9 100%);
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ink);
}
.eone .author-card img{ display: block; }
.eone .author-card .avatar-ph{ display: grid; place-items: center; }
.eone .author-card h3{ font-size: 1rem; margin-bottom: 4px; }
.eone .author-card .role{ font-size: .82rem; color: var(--ink-400); margin: 0 0 10px; }
.eone .author-card .count{ font-size: .78rem; font-weight: 700; color: var(--volt-700); }

/* --------------------- 14. Archive header + filters --------------------- */
.eone .page-head{
  padding: 52px 0 36px;
  background:
    radial-gradient(800px 300px at 15% 0%, var(--volt-soft) 0%, transparent 60%);
  border-bottom: 1px solid var(--line);
}
.eone .page-head h1{ margin-bottom: 12px; }
.eone .page-head p{ color: var(--ink-600); font-size: 1.05rem; max-width: 62ch; margin-bottom: 0; }

.eone .breadcrumb{ display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: var(--ink-400); margin-bottom: 18px; }
.eone .breadcrumb a{ color: var(--ink-400); }
.eone .breadcrumb a:hover{ color: var(--volt-700); }
.eone .breadcrumb span[aria-hidden]{ color: var(--ink-300); }

.eone .filter-bar{
  position: sticky; top: 74px; z-index: 40;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.eone .filter-bar .container{ display: flex; align-items: center; gap: 18px; justify-content: space-between; }
.eone .filter-scroll{ display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.eone .filter-scroll::-webkit-scrollbar{ display: none; }
.eone .filter-scroll .pill{ flex-shrink: 0; }
.eone .sort-select{
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  font-size: .86rem; font-weight: 600;
  cursor: pointer; flex-shrink: 0;
}

.eone .result-count{ font-size: .88rem; color: var(--ink-400); margin-bottom: 26px; }
.eone .result-count b{ color: var(--ink); }

/* ------------------------- 15. Sidebar widgets -------------------------- */
.eone .sidebar{ display: grid; gap: 30px; position: sticky; top: 100px; }
.eone .widget{
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 22px;
  background: #fff;
}
.eone .widget-title{
  font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-400); margin-bottom: 18px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.eone .widget ul{ list-style: none; margin: 0; padding: 0; }
.eone .widget-links li{ border-bottom: 1px solid var(--line-soft); }
.eone .widget-links li:last-child{ border-bottom: 0; }
.eone .widget-links a{
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 0; font-size: .93rem; font-weight: 600; color: var(--ink-800);
}
.eone .widget-links a:hover{ color: var(--volt-700); }
.eone .widget-links .count{ font-size: .78rem; font-weight: 600; color: var(--ink-300); }

.eone .tag-cloud{ display: flex; flex-wrap: wrap; gap: 8px; }
.eone .tag-cloud a{
  padding: 6px 13px;
  background: var(--bg-soft);
  border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 600; color: var(--ink-600);
  transition: all var(--t);
}
.eone .tag-cloud a:hover{ background: var(--ink); color: #fff; }

.eone .widget .card-h{ grid-template-columns: 74px minmax(0, 1fr); gap: 14px; margin-bottom: 18px; }
.eone .widget .card-h:last-child{ margin-bottom: 0; }
.eone .widget .card-h .card-title{ font-size: .92rem; margin: 0 0 4px; }
.eone .widget .card-h .card-meta{ font-size: .76rem; }

.eone .ad-slot{
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  background: var(--bg-soft);
  padding: 40px 20px;
  text-align: center;
  color: var(--ink-300);
  font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}

/* --------------------------- 16. Pagination ----------------------------- */
.eone .pagination{ display: flex; align-items: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.eone .pagination a, .eone .pagination span{
  min-width: 42px; height: 42px;
  display: grid; place-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: .9rem; font-weight: 600; color: var(--ink-600);
  transition: all var(--t);
}
.eone .pagination a:hover{ border-color: var(--ink); color: var(--ink); }
.eone .pagination .is-current{ background: var(--ink); border-color: var(--ink); color: #fff; }
.eone .pagination .gap{ border: 0; }

/* -------------------------- 17. Single post ----------------------------- */
.eone .post-head{ padding: 40px 0 28px; }
.eone .post-head h1{ margin: 14px 0 18px; max-width: 22ch; }
.eone .post-lead{ font-size: 1.15rem; color: var(--ink-600); max-width: 70ch; }

.eone .post-meta{
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 26px;
  font-size: .88rem; color: var(--ink-400);
}
.eone .post-meta img{ width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.eone .post-meta .author{ font-weight: 700; color: var(--ink); display: block; font-size: .95rem; }
.eone .post-meta .meta-block{ margin-right: auto; }

.eone .share{ display: flex; gap: 8px; }
.eone .share a{
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--ink-600);
  transition: all var(--t);
}
.eone .share a:hover{ background: var(--ink); border-color: var(--ink); color: #fff; }
.eone .share svg{ width: 16px; height: 16px; }

.eone .post-hero{
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 32px 0 8px;
  aspect-ratio: 16 / 7;
  background: linear-gradient(135deg, #0b1220 0%, #1c3b5a 60%, #00b85a 100%);
}
.eone .post-hero img{ width: 100%; height: 100%; object-fit: cover; }
.eone .post-caption{ font-size: .82rem; color: var(--ink-400); margin-bottom: 40px; }

/* Table of contents */
.eone .toc{
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  background: var(--bg-soft);
}
.eone .toc ol{ list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.eone .toc li{ counter-increment: toc; }
.eone .toc a{
  display: block; padding: 8px 0 8px 26px;
  position: relative;
  font-size: .9rem; font-weight: 600; color: var(--ink-600);
  border-left: 2px solid transparent;
}
.eone .toc a::before{
  content: counter(toc) ".";
  position: absolute; left: 8px;
  color: var(--ink-300); font-weight: 700;
}
.eone .toc a:hover, .eone .toc a.is-active{ color: var(--volt-700); }
.eone .toc a.is-active::before{ color: var(--volt); }

/* Prose */
.eone .prose{ font-size: 1.06rem; line-height: 1.78; color: var(--ink-800); }
.eone .prose > *{ max-width: 72ch; }
.eone .prose h2{ margin: 2em 0 .6em; scroll-margin-top: 110px; }
.eone .prose h3{ margin: 1.6em 0 .5em; scroll-margin-top: 110px; }
.eone .prose a{ color: var(--volt-700); text-decoration: underline; text-underline-offset: 3px; }
.eone .prose a:hover{ color: var(--ink); }
.eone .prose li{ margin-bottom: .5em; }
.eone .prose img, .eone .prose figure{ max-width: 100%; border-radius: var(--r-md); }
.eone .prose figure{ margin: 2em 0; }
.eone .prose figcaption{ font-size: .84rem; color: var(--ink-400); margin-top: 10px; text-align: center; }

.eone .prose blockquote{
  margin: 2em 0;
  padding: 4px 0 4px 26px;
  border-left: 4px solid var(--volt);
  font-family: var(--font-display);
  font-size: 1.2rem; line-height: 1.55; color: var(--ink);
}
.eone .prose blockquote cite{ display: block; font-family: var(--font-sans); font-size: .88rem; font-style: normal; color: var(--ink-400); margin-top: 12px; }

.eone .callout{
  max-width: 72ch;
  margin: 2em 0;
  padding: 22px 24px;
  background: var(--bg-mint);
  border: 1px solid #cdf0dd;
  border-radius: var(--r-md);
}
.eone .callout strong{ display: block; color: var(--ink); margin-bottom: 6px; font-family: var(--font-display); }
.eone .callout p:last-child{ margin-bottom: 0; }
.eone .callout--warn{ background: #fff8e8; border-color: #f5e2b8; }

.eone .table-wrap{ max-width: 100%; overflow-x: auto; margin: 2em 0; }
.eone .prose table{ width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 520px; }
.eone .prose th, .eone .prose td{ padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.eone .prose thead th{ background: var(--bg-soft); font-family: var(--font-display); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-600); }
.eone .prose tbody tr:hover{ background: var(--bg-soft); }

/* Author box */
.eone .author-box{
  display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-soft);
  margin: 48px 0;
}
.eone .author-box img, .eone .author-box .avatar-ph{
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
  background: linear-gradient(135deg, var(--volt) 0%, #00b8a9 100%);
  font-weight: 800; font-size: 1.6rem; color: var(--ink);
}
.eone .author-box img{ display: block; }
.eone .author-box .avatar-ph{ display: grid; place-items: center; }
.eone .author-box h3{ font-size: 1.1rem; margin-bottom: 2px; }
.eone .author-box .role{ font-size: .84rem; color: var(--volt-700); font-weight: 700; margin-bottom: 10px; }
.eone .author-box p{ font-size: .93rem; color: var(--ink-600); margin-bottom: 10px; }

.eone .post-tags{ display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 36px 0; }
.eone .post-tags .label{ font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-400); margin-right: 4px; }

/* Reading progress bar */
.eone .progress-bar{
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--volt) 0%, #00b8a9 100%);
  z-index: 120;
  transition: width .1s linear;
}

/* ----------------------------- 18. Footer ------------------------------- */
.eone-footer{ background: var(--ink); color: rgba(255, 255, 255, .68); padding: 68px 0 0; margin-top: 0; }
.eone-footer h4{
  color: #fff; font-size: .82rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px;
}
.eone .footer-grid{ display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; padding-bottom: 52px; }
.eone .footer-about p{ font-size: .92rem; margin: 16px 0 20px; max-width: 34ch; }
.eone-footer .brand-name{ color: #fff; }
.eone-footer .brand-name span{ color: var(--volt); }
.eone .footer-grid ul{ list-style: none; margin: 0; padding: 0; }
.eone .footer-grid li{ margin-bottom: 11px; }
.eone .footer-grid a{ color: rgba(255, 255, 255, .68); font-size: .92rem; }
.eone .footer-grid a:hover{ color: var(--volt); }

.eone .social{ display: flex; gap: 10px; }
.eone .social a{
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%;
  color: rgba(255, 255, 255, .8);
  transition: all var(--t);
}
.eone .social a:hover{ background: var(--volt); border-color: var(--volt); color: var(--ink); }
.eone .social svg{ width: 17px; height: 17px; }

.eone .footer-bottom{
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: .85rem;
}
.eone .footer-bottom nav{ display: flex; gap: 22px; flex-wrap: wrap; }
.eone .footer-bottom a{ color: rgba(255, 255, 255, .68); }
.eone .footer-bottom a:hover{ color: var(--volt); }

/* ---------------------------- 19. Utilities ----------------------------- */
.eone .visually-hidden{
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.eone .text-center{ text-align: center; }
.eone .mb-0{ margin-bottom: 0; }
.eone .mt-40{ margin-top: 40px; }
.eone .mx-auto{ margin-inline: auto; }
.eone .narrow{ max-width: var(--wrap-narrow); }

/* --------------------------- 20. Responsive ----------------------------- */
@media (max-width: 1080px) {
  .eone .layout{ grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .eone .sidebar{ position: static; grid-template-columns: repeat(2, 1fr); }
  .eone .footer-grid{ grid-template-columns: 1fr 1fr 1fr; }
  .eone .footer-about{ grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  .eone .nav, .eone .header-actions .btn{ display: none; }
  .eone .nav-toggle{ display: grid; }
  .eone .header-actions{ margin-left: auto; }
  .eone .hero-grid{ grid-template-columns: 1fr; }
  .eone .grid-3, .eone .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .eone .newsletter-grid{ grid-template-columns: 1fr; gap: 30px; }
  .eone .newsletter{ padding: 40px 28px; }
  .eone .filter-bar{ top: 74px; }
}

@media (max-width: 640px) {
  .eone .section{ padding: 48px 0; }
  .eone .container{ padding-inline: 18px; }
  .eone .grid-3, .eone .grid-4, .eone .grid-2, .eone .sidebar{ grid-template-columns: 1fr; }
  .eone .card-h{ grid-template-columns: 118px minmax(0, 1fr); gap: 14px; }
  .eone .section-head{ flex-direction: column; align-items: flex-start; gap: 14px; }
  .eone .nl-form{ flex-direction: column; }
  .eone .nl-form .btn{ width: 100%; }
  .eone .author-box{ grid-template-columns: 1fr; text-align: center; }
  .eone .author-box img, .eone .author-box .avatar-ph{ margin-inline: auto; }
  .eone .footer-grid{ grid-template-columns: 1fr 1fr; gap: 30px; }
  .eone .post-hero{ aspect-ratio: 4 / 3; }
  .eone .topbar .container{ font-size: .76rem; }
}

@media (prefers-reduced-motion: reduce) {
  .eone *, .eone *::before, .eone *::after{
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------------------------
   WordPress-only additions. Scoped under .eone by build.js exactly like the
   main stylesheet, so specificity parity with {{WRAPPER}} .class is preserved.
   --------------------------------------------------------------------------- */

/* FAQ accordion (native <details>, no JavaScript) */
.eone-faq{ border-top: 1px solid var(--line); }
.eone-faq details{ border-bottom: 1px solid var(--line); }
.eone-faq summary{
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 20px 44px 20px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}
.eone-faq summary::-webkit-details-marker{ display: none; }
.eone-faq summary::after{
  content: "";
  position: absolute; right: 10px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--ink-400);
  border-bottom: 2px solid var(--ink-400);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
.eone-faq details[open] summary::after{ transform: translateY(-30%) rotate(-135deg); }
.eone-faq summary:hover{ color: var(--volt-700); }
.eone-faq-a{ padding: 0 44px 22px 0; color: var(--ink-600); }
.eone-faq-a p:last-child{ margin-bottom: 0; }

/* Editor-only placeholder for post-driven widgets on an empty site */
.eone-empty{
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  background: var(--bg-soft);
  padding: 28px 22px;
  text-align: center;
  color: var(--ink-400);
  font-size: .9rem;
  font-weight: 600;
}

/* Key takeaways shortcode */
.eone-takeaways ul{ margin: 10px 0 0; padding-left: 18px; }
.eone-takeaways li{ margin-bottom: 6px; }

/* get_avatar output */
.eone .post-meta .avatar{ width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.eone .author-box .avatar{ width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.eone .author-card .avatar{ width: 76px; height: 76px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; display: block; }

/* Sidebar sticky toggle */
.eone-nostick{ position: static; top: auto; }

/* Gutenberg blocks inside an article */
.eone .prose .wp-block-image{ margin: 2em 0; }
.eone .prose .wp-block-image img{ border-radius: var(--r-md); }
.eone .prose .alignwide, .eone .prose .alignfull{ max-width: 100%; margin-inline: 0; }
.eone .prose .wp-block-quote{ margin: 2em 0; padding: 4px 0 4px 26px; border-left: 4px solid var(--volt); }
.eone .prose .wp-caption-text, .eone .prose .blocks-gallery-caption{ font-size: .84rem; color: var(--ink-400); }
.eone .prose .wp-block-embed{ margin: 2em 0; }
.eone .prose .wp-block-embed iframe{ max-width: 100%; }
.eone .prose .screen-reader-text{ position: absolute; left: -9999px; }

/* Pagination markup that paginate_links() emits */
.eone .pagination .page-numbers.prev, .eone .pagination .page-numbers.next{ padding: 0 16px; }

/* Elementor: our widgets bring their own spacing, so kill the default gaps
   that would otherwise double up inside a band. */
.eone > .section:first-child{ padding-top: 0; }
.eone > .section:last-child{ padding-bottom: 0; }

/* ---------------------------------------------------------------------------
   Emitted UNSCOPED (outside .eone). Only rules that cannot live inside the
   wrapper belong here.
   --------------------------------------------------------------------------- */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Fallback max-width utility for Elementor containers, if you would rather not
   set the content width in Elementor Site Settings. Add "eone-wrap" to the
   container's CSS Classes. */
.eone-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 24px; }
@media (max-width: 640px) { .eone-wrap { padding-inline: 18px; } }

/* Hello Elementor sometimes constrains the page; our bands are full width. */
.eone-site .site-main > .eone { max-width: none; }
