/* =========================================================
   GILROY FONT FACE
   ========================================================= */

@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-Regular.woff2') format('woff2'),
       url('../fonts/Gilroy-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-Medium.woff2') format('woff2'),
       url('../fonts/Gilroy-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-SemiBold.woff2') format('woff2'),
       url('../fonts/Gilroy-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-Bold.woff2') format('woff2'),
       url('../fonts/Gilroy-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --elva-bg: #f7f8f8;
  --elva-surface: #ffffff;
  --elva-surface-soft: #f0f4f3;
  --elva-text: #202633;
  --elva-muted: #596171;
  --elva-faint: #e7ebee;
  --elva-mint: #57d1be;
  --elva-mint-soft: #d9f5ef;
  --elva-blue: #2995ff;
  --elva-blue-soft: #e4f1ff;
  --elva-purple: #876bff;
  --elva-purple-soft: #ece8ff;
  --elva-yellow: #f6c95f;
  --elva-yellow-soft: #fff3cf;
  --elva-orange: #f2a365;
  --elva-orange-soft: #ffead8;
  --elva-radius-lg: 22px;
  --elva-radius-md: 14px;
  --elva-shadow-soft: 0 24px 70px rgba(32, 38, 51, 0.07);
  --elva-font: 'Gilroy', sans-serif;

  --elva-primary: #2BCFBB;
  --elva-primary-hover: #25b8a6;
  --elva-brand-grad: linear-gradient(to right, #2BCFBB, #3BA5F2, #3B5DE2);
  --elva-brain-grad: linear-gradient(to right, #00DB9D, #0D9EFF, #9162FF);
  --elva-header-height: 64px;
  --elva-header-height-mobile: 56px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--elva-bg);
  color: var(--elva-text);
  font-family: var(--elva-font);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--elva-header-height-mobile);
}

@media (min-width: 768px) {
  body { padding-top: var(--elva-header-height); }
}

body.admin-bar .elva-header-fixed { top: 32px; }

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

a { color: inherit; text-decoration: none; }

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

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.elva-shell {
  width: min(100% - 64px, 1180px);
  margin-inline: auto;
}

.elva-shell.is-narrow { width: min(100% - 64px, 720px); }
.elva-shell.is-article { width: min(100% - 64px, 720px); }

/* =========================================================
   HEADER
   ========================================================= */

.elva-header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.elva-site-header {
  position: relative;
  width: 100%;
  padding: 0 16px;
  background: #ffffff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border-bottom: 0;
  backdrop-filter: none;
}

@media (min-width: 768px) {
  .elva-site-header { padding: 0 32px; }
}

.elva-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--elva-header-height-mobile);
  gap: 16px;
}

@media (min-width: 768px) {
  .elva-nav-wrap { height: var(--elva-header-height); }
}

.elva-nav-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

@media (min-width: 768px) {
  .elva-nav-left { gap: 32px; }
}

.elva-brand {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .elva-brand { gap: 8px; }
}

.elva-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--elva-primary);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .elva-logo-mark { width: 40px; height: 40px; }
}

.elva-logo-mark img,
.elva-logo-mark svg { width: 100%; height: 100%; display: block; }

.elva-brand-text {
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  background: var(--elva-brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@media (min-width: 768px) {
  .elva-brand-text { font-size: 24px; }
}

.elva-primary-nav { display: none; }

@media (min-width: 1024px) {
  .elva-primary-nav {
    display: flex;
    align-items: center;
  }
}

.elva-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
}

@media (min-width: 768px) {
  .elva-menu { gap: 32px; }
}

.elva-menu > li { position: relative; }

.elva-menu-link,
.elva-menu a,
.elva-menu button.elva-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 400;
  color: #374151;
  cursor: pointer;
  transition: opacity .2s ease, color .2s ease;
  line-height: 1;
  font-family: inherit;
  background: transparent;
  border: 0;
  padding: 0;
}

.elva-menu-link:hover,
.elva-menu a:hover { opacity: 0.8; color: #374151; }

.elva-menu .elva-caret {
  width: 16px;
  height: 16px;
  color: #4b5563;
  transition: transform .2s ease;
}

.elva-menu-item-has-children.is-open > .elva-menu-link .elva-caret {
  transform: rotate(180deg);
}

.elva-menu .is-brain,
.elva-menu a.is-brain {
  font-weight: 600;
  background: var(--elva-brain-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.elva-menu .is-brain:hover { opacity: 0.8; }

/* =========================================================
   DROPDOWNS
   ========================================================= */

.elva-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(8px);
  margin-top: 6px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(32, 38, 51, 0.12), 0 4px 12px rgba(32, 38, 51, 0.04);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 60;
}

.elva-menu-item-has-children.is-open > .elva-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.elva-menu-item-has-children::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 18px;
  pointer-events: none;
}

.elva-menu-item-has-children.is-open::after { pointer-events: auto; }

.elva-dropdown-inner { padding: 36px 40px; }

.elva-dropdown-grid .elva-dropdown-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 28px 56px;
  width: 860px;
  max-width: 90vw;
}

.elva-dropdown-list .elva-dropdown-inner {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 560px;
  max-width: 90vw;
}

.elva-dropdown-platform .elva-dropdown-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 26px 64px;
  width: min(1080px, 92vw);
  padding: 40px 48px;
}

.elva-dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.elva-dropdown-heading {
  margin: 0 0 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.elva-dropdown-item {
  display: block !important;
  width: 100%;
  padding: 4px 8px;
  margin: 0 -8px;
  border-radius: 10px;
  transition: background-color .15s ease;
  text-decoration: none;
}

.elva-dropdown-item:hover { background: #f3f4f6; }

.elva-dropdown-item .elva-dropdown-title,
.elva-dropdown-title {
  display: block !important;
  width: 100%;
  margin: 0 0 6px 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--elva-primary);
  letter-spacing: -0.005em;
}

.elva-dropdown-item .elva-dropdown-desc,
.elva-dropdown-desc {
  display: block !important;
  width: 100%;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #1f2937;
  font-weight: 400;
}

/* =========================================================
   Header Buttons — match main site exactly:
   no hover lift, no fill-on-hover for ghost
   ========================================================= */

.elva-header-actions {
  display: none;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
}

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

.elva-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: opacity .2s ease, background-color .2s ease;
  line-height: 1.2;
  cursor: pointer;
  font-family: inherit;
}

@media (min-width: 768px) {
  .elva-button {
    padding: 8px 24px;
    font-size: 14px;
  }
}

/* Login = outlined, teal text, NO fill on hover, just slight opacity */
.elva-button-ghost {
  background: #ffffff;
  border-color: var(--elva-primary);
  color: var(--elva-primary);
}

.elva-button-ghost:hover {
  background: #ffffff;
  color: var(--elva-primary);
  opacity: 0.8;
}

/* Demo = solid teal, white text, subtle shadow, slight darken on hover */
.elva-button-solid {
  background: var(--elva-primary);
  color: #ffffff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.elva-button-solid:hover {
  background: var(--elva-primary);
  color: #ffffff;
  opacity: 0.9;
}

.elva-button-text-short { display: inline; }
.elva-button-text-full { display: none; }

@media (min-width: 640px) {
  .elva-button-text-short { display: none; }
  .elva-button-text-full { display: inline; }
}

.elva-button.is-block {
  display: flex;
  width: 100%;
  padding: 12px 24px;
  font-size: 14px;
}

/* =========================================================
   Mobile menu
   ========================================================= */

.elva-menu-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  padding: 0;
  gap: 4px;
  cursor: pointer;
}

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

.elva-menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 24px;
  height: 2px;
  background: #374151;
  border-radius: 999px;
  transition: transform .3s ease, opacity .3s ease;
}

.elva-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.elva-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.elva-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.elva-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 49;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.elva-mobile-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.elva-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  width: 320px;
  max-width: 85vw;
  background: #ffffff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 50;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.elva-mobile-menu.is-open { transform: translateX(0); }

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

.elva-mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.elva-mobile-close {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease;
}

.elva-mobile-close:hover { background: #f3f4f6; }

.elva-mobile-close svg { width: 24px; height: 24px; }

.elva-mobile-nav { flex: 1; padding: 24px; }

.elva-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.elva-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 0;
  font-size: 18px;
  font-weight: 400;
  color: #374151;
  cursor: pointer;
  transition: opacity .2s ease;
  background: transparent;
  border: 0;
  font-family: inherit;
  text-align: left;
}

.elva-mobile-link:hover { opacity: 0.8; }

.elva-mobile-link .elva-caret {
  width: 20px;
  height: 20px;
  color: #4b5563;
  transition: transform .25s ease;
}

.elva-mobile-has-children.is-open .elva-mobile-link .elva-caret {
  transform: rotate(180deg);
}

.elva-mobile-link.is-brain {
  font-weight: 600;
  background: var(--elva-brain-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.elva-mobile-sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
  overflow: hidden;
}

.elva-mobile-has-children.is-open .elva-mobile-sub {
  grid-template-rows: 1fr;
}

.elva-mobile-sub > * { min-height: 0; }

.elva-mobile-sub a,
.elva-mobile-sub strong {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  color: #374151;
  border-left: 2px solid var(--elva-primary);
  margin-left: 4px;
}

.elva-mobile-sub a:hover { color: var(--elva-primary-hover); }

.elva-mobile-sub-heading {
  margin-top: 8px;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1f2937 !important;
  border-left-color: transparent !important;
  padding-left: 14px;
}

.elva-mobile-sub-heading:first-child { margin-top: 0; }

.elva-mobile-actions {
  padding: 24px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* =========================================================
   Responsive header
   ========================================================= */

@media (max-width: 1023px) {
  .elva-dropdown { display: none; }
}

@media (max-width: 1240px) and (min-width: 1024px) {
  .elva-dropdown-platform .elva-dropdown-inner {
    width: min(940px, 90vw);
    padding: 32px 36px;
    gap: 20px 40px;
  }
}

/* =========================================================
   ELVA — Articles content design ("Apple Era" layout, rendered in Gilroy)
   NOTE: the header, dropdowns, mobile menu and footer rules above and
   below this block are the synced www.elva.ai styles and are untouched.
   This block only styles content inside <main class="elva-site-main">.
   ========================================================= */

:root{
  --cream-0:#F5F5F7; --cream-1:#FFFFFF; --cream-2:#E7E7EC; --cream-shadow:#D6D6DC; --surface-mute:#EFEFF2;
  --sage-0:#1D1D1F; --sage-1:#3A3A3C; --sage-3:#F0EFFB;
  --ink-0:#1D1D1F; --ink-1:#2D2D2F; --ink-2:#6E6E73; --ink-3:#8A8A8F; --ink-4:#B0B0B6;
  --success:#2E7D54; --gold:#C0892E; --terracotta:#C75A3F; --info:#5B8DEF;
  --ai-3:#9B5CFF; --ai-4:#5B8DEF; --ai-5:#3FB8A8;
  --ai-tint:rgba(155,92,255,0.12);
  --grad-spectrum:linear-gradient(100deg,var(--ai-3),var(--ai-4) 46%,var(--ai-5) 86%);
  /* Standardised on Gilroy to match the synced header/footer */
  --font-display:'Gilroy',-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
  --font-body:'Gilroy',-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
  --font-mono:'Gilroy',-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
  --tracking-tight:-0.035em; --tracking-eyebrow:0.16em;
  --r-sm:6px; --r-md:10px; --r-lg:14px; --r-xl:18px; --r-2xl:24px; --r-pill:999px;
  --sh-1:0 1px 3px rgba(20,20,30,0.04);
  --sh-2:0 18px 44px -28px rgba(20,20,30,0.28),0 1px 3px rgba(20,20,30,0.04);
  --sh-3:0 24px 60px -24px rgba(20,20,30,0.34),0 2px 6px rgba(20,20,30,0.06);
  --sh-btn:0 10px 22px -12px rgba(20,20,30,0.6);
  --ease-out:cubic-bezier(0.22,0.8,0.36,1);
  --maxw:1200px; --gutter:40px;
}

/* layout helpers + base button for the article CTA (header uses .elva-button) */
.elva-site-main .wrap{max-width:var(--maxw);margin:0 auto;padding:0 var(--gutter);}
.eyebrow{font-size:11px;letter-spacing:var(--tracking-eyebrow);text-transform:uppercase;font-weight:600;color:var(--ink-3);display:inline-flex;align-items:center;gap:9px;}
.spectrum{background:var(--grad-spectrum);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;}
.elva-site-main .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;border-radius:var(--r-pill);font-weight:600;font-size:14px;border:1px solid transparent;font-family:var(--font-body);cursor:pointer;transition:transform var(--ease-out) .15s,box-shadow var(--ease-out) .15s,background var(--ease-out) .15s;}
.elva-site-main .btn:hover{transform:translateY(-1px);}

/* reading progress bar (single posts) */
.progress{position:fixed;top:0;left:0;height:3px;width:0;background:var(--grad-spectrum);z-index:80;transition:width .08s linear;}

.avatar{width:44px;height:44px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:#fff;font-family:var(--font-display);font-weight:600;font-size:16px;}

/* ============================================================ HERO */
.hero{position:relative;padding:64px 0 22px;overflow:hidden;}
.hero-glow{
  position:absolute;top:-340px;left:50%;transform:translateX(-46%);
  width:880px;height:620px;border-radius:50%;pointer-events:none;z-index:0;
  filter:blur(120px);opacity:0.34;
  background:conic-gradient(from 200deg at 50% 50%,#FFB7A8,#FFA9C9,#C9B6FF,#AFC8FF,#3FB8A8,#FFB7A8);
}
.hero-inner{position:relative;z-index:1;max-width:760px;}
.hero h1{
  font-family:var(--font-display);font-weight:600;letter-spacing:var(--tracking-tight);
  font-size:clamp(40px,6vw,68px);line-height:1.02;margin:18px 0 0;color:var(--ink-0);
}
.hero .lead{
  margin:20px 0 0;font-size:clamp(16px,1.6vw,19px);line-height:1.55;color:var(--ink-2);max-width:60ch;
  text-wrap:pretty;
}

/* ============================================================ SECTION */
.section{padding:46px 0;}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:26px;}
.section-head h2{font-family:var(--font-display);font-weight:600;font-size:26px;letter-spacing:-0.025em;color:var(--ink-0);margin:6px 0 0;}
.count{font-family:var(--font-mono);font-size:12px;color:var(--ink-3);}

/* category pill (on cards) */
.cat{
  display:inline-flex;align-items:center;gap:7px;padding:5px 12px;border-radius:var(--r-pill);
  font-size:11.5px;font-weight:600;letter-spacing:0.02em;background:var(--cream-0);color:var(--ink-2);
  border:1px solid var(--cream-2);white-space:nowrap;
}
.cat .dot{width:6px;height:6px;border-radius:50%;}
.cat.ai .dot{background:var(--ai-3);} .cat.front .dot{background:var(--info);}
.cat.comms .dot{background:var(--ai-5);} .cat.rcm .dot{background:var(--gold);}
.cat.product .dot{background:var(--success);}

.when{font-family:var(--font-mono);font-size:11.5px;color:var(--ink-3);letter-spacing:0.01em;}

/* image placeholder */
.ph{
  position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:flex-start;
  background-color:var(--surface-mute);
  background-image:repeating-linear-gradient(135deg,rgba(0,0,0,0.025) 0,rgba(0,0,0,0.025) 1px,transparent 1px,transparent 11px);
}
.ph .label{
  margin:14px;font-family:var(--font-mono);font-size:10.5px;letter-spacing:0.1em;text-transform:uppercase;
  color:var(--ink-3);background:rgba(255,255,255,0.78);border:1px solid var(--cream-2);
  padding:5px 10px;border-radius:var(--r-pill);
}
.ph.tinted{background-color:#EEEAF7;}
.ph.tinted2{background-color:#E9F0F6;}

/* ============================================================ FEATURED CAROUSEL */
.carousel-nav{display:flex;gap:8px;}
.cbtn{width:42px;height:42px;border-radius:50%;border:1px solid var(--cream-2);background:var(--cream-1);color:var(--ink-1);display:flex;align-items:center;justify-content:center;transition:all var(--ease-out) .15s;}
.cbtn:hover{box-shadow:var(--sh-1);transform:translateY(-1px);border-color:var(--cream-shadow);}
.cbtn svg{width:18px;height:18px;}
.carousel-viewport{overflow:hidden;}
.carousel-track{display:flex;transition:transform .55s var(--ease-out);}

.featured{
  flex:0 0 100%;display:grid;grid-template-columns:1.08fr 0.92fr;gap:0;
  background:var(--cream-1);border:1px solid var(--cream-2);border-radius:var(--r-2xl);
  box-shadow:var(--sh-2);position:relative;overflow:hidden;
}
.featured::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--grad-spectrum);z-index:2;}
.featured-media{position:relative;min-height:380px;}
.featured-body{padding:40px 44px;display:flex;flex-direction:column;align-items:flex-start;}
.featured-body .toprow{display:flex;align-items:center;gap:13px;margin-bottom:18px;}
.featured-body h3{
  font-family:var(--font-display);font-weight:600;letter-spacing:-0.03em;
  font-size:clamp(25px,2.4vw,33px);line-height:1.1;color:var(--ink-0);margin:0;text-wrap:balance;
}
.featured-body p{font-size:16px;line-height:1.6;color:var(--ink-2);margin:16px 0 0;max-width:46ch;text-wrap:pretty;}
.read-link{display:inline-flex;align-items:center;gap:8px;margin-top:auto;padding-top:28px;font-weight:600;font-size:14.5px;color:var(--ink-0);}
.read-link svg{width:17px;height:17px;transition:transform var(--ease-out) .2s;}
.featured:hover .read-link svg{transform:translateX(4px);}

.carousel-dots{display:flex;gap:9px;justify-content:center;margin-top:24px;}
.dot{width:8px;height:8px;border-radius:999px;background:var(--cream-shadow);border:none;padding:0;transition:all var(--ease-out) .3s;}
.dot.active{width:28px;background:var(--grad-spectrum);}

/* ============================================================ CATEGORY CHIPS */
.chips{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:28px;}
.chip{
  border:1px solid var(--cream-2);background:var(--cream-1);color:var(--ink-2);
  padding:8px 16px;border-radius:var(--r-pill);font-size:13.5px;font-weight:600;white-space:nowrap;
  transition:all var(--ease-out) .15s;
}
.chip:hover{color:var(--ink-0);border-color:var(--cream-shadow);}
.chip[aria-pressed="true"]{background:var(--sage-0);color:#fff;border-color:var(--sage-0);box-shadow:var(--sh-1);}

/* ============================================================ GRID */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:28px;}
.card{
  display:flex;flex-direction:column;background:var(--cream-1);border:1px solid var(--cream-2);
  border-radius:var(--r-xl);overflow:hidden;box-shadow:var(--sh-1);
  transition:transform var(--ease-out) .2s,box-shadow var(--ease-out) .2s;
}
.card:hover{transform:translateY(-3px);box-shadow:var(--sh-3);}
.card-media{position:relative;aspect-ratio:16/10;}
.card-body{padding:22px 22px 20px;display:flex;flex-direction:column;flex:1;}
.card-body h3{
  font-family:var(--font-display);font-weight:600;letter-spacing:-0.02em;font-size:19px;line-height:1.22;
  color:var(--ink-0);margin:14px 0 0;text-wrap:pretty;transition:color var(--ease-out) .15s;
}
.card:hover .card-body h3{color:#000;}
.card-body p{font-size:13.5px;line-height:1.55;color:var(--ink-2);margin:10px 0 0;text-wrap:pretty;}
.card-foot{margin-top:auto;padding-top:20px;display:flex;align-items:center;justify-content:space-between;gap:10px;}
.read-mini{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:var(--ink-2);transition:color var(--ease-out) .15s,gap var(--ease-out) .15s;}
.read-mini svg{width:14px;height:14px;}
.card:hover .read-mini{color:var(--ink-0);}
.card:hover .read-mini svg{transform:translateX(2px);}

.see-more-wrap{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:44px;}
.see-more{padding:13px 26px;border-radius:var(--r-pill);border:1px solid var(--cream-shadow);background:var(--cream-1);color:var(--ink-0);font-weight:600;font-size:14px;display:inline-flex;align-items:center;gap:9px;transition:all var(--ease-out) .15s;}
.see-more:hover{box-shadow:var(--sh-2);transform:translateY(-1px);}
.see-more svg{width:16px;height:16px;}
.see-more-meta{font-family:var(--font-mono);font-size:11.5px;color:var(--ink-3);}
.no-results{display:none;padding:60px 0;text-align:center;color:var(--ink-3);font-size:15px;}

/* ============================================================ ARTICLE HERO */
.article-hero{position:relative;padding:40px 0 8px;overflow:hidden;}
.hero-glow{position:absolute;top:-380px;left:50%;transform:translateX(-50%);width:900px;height:600px;border-radius:50%;pointer-events:none;z-index:0;filter:blur(130px);opacity:0.28;background:conic-gradient(from 200deg at 50% 50%,#FFB7A8,#FFA9C9,#C9B6FF,#AFC8FF,#3FB8A8,#FFB7A8);}
.crumbs{position:relative;z-index:1;display:flex;align-items:center;gap:9px;font-size:13px;color:var(--ink-3);margin-bottom:26px;}
.crumbs a:hover{color:var(--ink-0);}
.crumbs svg{width:14px;height:14px;color:var(--ink-4);}
.crumbs .here{color:var(--ink-1);font-weight:500;}
.article-head{position:relative;z-index:1;max-width:780px;}
.article-head h1{font-family:var(--font-display);font-weight:600;letter-spacing:var(--tracking-tight);font-size:clamp(32px,4.6vw,52px);line-height:1.06;margin:18px 0 0;color:var(--ink-0);}
.article-head .dek{margin:20px 0 0;font-size:clamp(17px,1.7vw,20px);line-height:1.55;color:var(--ink-2);max-width:62ch;text-wrap:pretty;}
.byline{display:flex;align-items:center;gap:14px;margin:30px 0 0;flex-wrap:wrap;}
.byline .who{font-size:14.5px;font-weight:600;color:var(--ink-0);line-height:1.25;}
.byline .who span{display:block;font-size:12.5px;font-weight:400;color:var(--ink-3);margin-top:2px;}
.byline .sep{width:1px;height:30px;background:var(--cream-2);}
.byline .when{font-family:var(--font-mono);font-size:12px;color:var(--ink-3);line-height:1.5;}
.byline .when b{display:block;color:var(--ink-2);font-weight:500;}

/* cover */
.cover{position:relative;aspect-ratio:21/9;margin:34px 0 0;border-radius:var(--r-2xl);overflow:hidden;border:1px solid var(--cream-2);box-shadow:var(--sh-2);max-width:800px;}
.ph{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:flex-start;background-color:#EEEAF7;background-image:repeating-linear-gradient(135deg,rgba(0,0,0,0.025) 0,rgba(0,0,0,0.025) 1px,transparent 1px,transparent 12px);}
.ph .label{margin:16px;font-family:var(--font-mono);font-size:10.5px;letter-spacing:0.1em;text-transform:uppercase;color:var(--ink-3);background:rgba(255,255,255,0.8);border:1px solid var(--cream-2);padding:5px 11px;border-radius:var(--r-pill);}
.ph.plain{background-color:var(--surface-mute);}

/* ============================================================ ARTICLE LAYOUT */
.article-wrap{display:grid;grid-template-columns:0 minmax(0,720px) 1fr;gap:0;margin:8px auto 0;max-width:1200px;padding:0 var(--gutter);}
.rail-left{grid-column:1;}
.article-body{grid-column:2;padding:44px 0 20px;}
.rail-right{grid-column:3;}

/* TOC */
.toc{position:sticky;top:96px;margin-left:24px;padding:20px 0 0;max-width:210px;}
.toc h4{font-size:10.5px;letter-spacing:0.16em;text-transform:uppercase;color:var(--ink-3);font-weight:700;margin:0 0 14px;}
.toc ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px;border-left:2px solid var(--cream-2);}
.toc a{display:block;padding:6px 0 6px 16px;margin-left:-2px;border-left:2px solid transparent;font-size:13px;color:var(--ink-3);line-height:1.35;transition:color var(--ease-out) .15s,border-color var(--ease-out) .15s;}
.toc a:hover{color:var(--ink-1);}
.toc a.active{color:var(--ink-0);font-weight:600;border-left-color:var(--ai-3);}

/* inline share group (in byline) */
.byline-share{display:flex;align-items:center;gap:8px;margin-left:auto;}
.byline-share .lbl{font-size:10px;letter-spacing:0.16em;text-transform:uppercase;color:var(--ink-4);font-weight:700;margin-right:2px;}
.byline-share button,.byline-share a{width:38px;height:38px;border-radius:50%;border:1px solid var(--cream-2);background:var(--cream-1);color:var(--ink-2);display:flex;align-items:center;justify-content:center;text-decoration:none;transition:all var(--ease-out) .15s;}
.byline-share button:hover,.byline-share a:hover{color:var(--ink-0);border-color:var(--cream-shadow);transform:translateY(-1px);box-shadow:var(--sh-1);}
.byline-share button svg,.byline-share a svg{width:17px;height:17px;}
.byline-share button.copied{color:#fff;background:var(--success);border-color:var(--success);}

/* ---- body typography ---- */
.article-body > *{max-width:720px;}
.article-body p{font-size:18px;line-height:1.78;color:var(--ink-1);margin:0 0 26px;text-wrap:pretty;}
.article-body p.lead-p{font-size:21px;line-height:1.65;color:var(--ink-0);}
.article-body h2{font-family:var(--font-display);font-weight:600;letter-spacing:-0.03em;font-size:30px;line-height:1.15;color:var(--ink-0);margin:52px 0 18px;scroll-margin-top:96px;}
.article-body h3{font-family:var(--font-display);font-weight:600;letter-spacing:-0.02em;font-size:21px;line-height:1.25;color:var(--ink-0);margin:36px 0 12px;}
.article-body a.inline{color:var(--ai-3);text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:2px;text-decoration-color:rgba(91,141,239,0.4);transition:text-decoration-color .15s;}
.article-body a.inline:hover{text-decoration-color:var(--ai-4);}
/* Links added in the WordPress editor (plain <a>, no .inline class) */
.article-body a{color:var(--ai-4);text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:2px;text-decoration-color:rgba(91,141,239,0.4);transition:color .15s,text-decoration-color .15s;}
.article-body a:hover{text-decoration-color:var(--ai-4);}
.article-body strong{font-weight:600;color:var(--ink-0);}
.article-body ul,.article-body ol{margin:0 0 26px;padding-left:0;list-style:none;display:flex;flex-direction:column;gap:13px;}
.article-body li{font-size:18px;line-height:1.7;color:var(--ink-1);padding-left:34px;position:relative;text-wrap:pretty;}
.article-body ul li::before{content:"";position:absolute;left:6px;top:12px;width:7px;height:7px;border-radius:50%;background:var(--grad-spectrum);}
.article-body ol{counter-reset:step;}
.article-body ol li{counter-increment:step;}
.article-body ol li::before{content:counter(step);position:absolute;left:0;top:1px;width:24px;height:24px;border-radius:50%;background:var(--cream-0);border:1px solid var(--cream-2);font-family:var(--font-mono);font-size:12px;font-weight:500;color:var(--ink-1);display:flex;align-items:center;justify-content:center;}

/* pullquote */
.pullquote{margin:40px 0;padding:0 0 0 26px;border-left:3px solid transparent;border-image:var(--grad-spectrum) 1;}
.pullquote p{font-family:var(--font-display);font-weight:500;font-size:26px;line-height:1.32;letter-spacing:-0.02em;color:var(--ink-0);margin:0;text-wrap:balance;}
.pullquote cite{display:block;margin-top:14px;font-style:normal;font-family:var(--font-mono);font-size:12px;letter-spacing:0.04em;color:var(--ink-3);}

/* callout / key takeaways */
.callout{margin:36px 0;padding:24px 26px;border-radius:var(--r-lg);background:var(--ai-tint);border:1px solid rgba(155,92,255,0.18);}
.callout .co-head{display:flex;align-items:center;gap:9px;font-size:11px;letter-spacing:0.14em;text-transform:uppercase;font-weight:700;color:var(--ai-3);margin-bottom:12px;}
.callout .co-head svg{width:16px;height:16px;}
.callout ul{margin:0;}
.callout li{font-size:16px;line-height:1.6;}
.callout li::before{top:10px;}

/* stat strip */
.stat{margin:36px 0;padding:28px 30px;border-radius:var(--r-lg);background:var(--sage-0);color:#fff;display:flex;align-items:center;gap:24px;}
.stat .num{font-family:var(--font-display);font-weight:600;font-size:54px;line-height:1;letter-spacing:-0.04em;flex-shrink:0;}
.stat .num em{font-style:normal;background:var(--grad-spectrum);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;}
.stat .txt{font-size:16px;line-height:1.55;color:rgba(255,255,255,0.82);}

/* figure */
figure{margin:38px 0;}
figure .ph{position:relative;inset:auto;aspect-ratio:16/9;border-radius:var(--r-lg);border:1px solid var(--cream-2);overflow:hidden;}
figure figcaption{margin-top:12px;font-size:13px;color:var(--ink-3);text-align:center;font-family:var(--font-mono);letter-spacing:0.01em;}

/* article footer: tags + author bio */
.article-end{max-width:1200px;margin:40px auto 0;padding:0 var(--gutter);}
.article-end .tags,.article-end .bio{max-width:720px;}
.tags{display:flex;flex-wrap:wrap;gap:8px;padding-top:8px;}
.tag{padding:6px 13px;border-radius:var(--r-pill);background:var(--cream-1);border:1px solid var(--cream-2);font-size:12.5px;color:var(--ink-2);}
.tag:hover{color:var(--ink-0);}
.bio{margin-top:36px;display:flex;gap:18px;align-items:flex-start;padding:26px;border-radius:var(--r-xl);background:var(--cream-1);border:1px solid var(--cream-2);box-shadow:var(--sh-1);}
.bio .avatar{width:56px;height:56px;font-size:20px;}
.bio .who{font-family:var(--font-display);font-size:17px;font-weight:600;color:var(--ink-0);}
.bio .role{font-size:13px;color:var(--ink-3);margin-top:2px;}
.bio p{font-size:14px;line-height:1.6;color:var(--ink-2);margin:12px 0 0;}

/* ============================================================ RELATED */
.related{padding:60px 0;margin-top:40px;border-top:1px solid var(--cream-2);background:var(--cream-1);}
.related .section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:26px;}
.related h2{font-family:var(--font-display);font-weight:600;font-size:26px;letter-spacing:-0.025em;color:var(--ink-0);margin:6px 0 0;}
.related .more{font-size:14px;font-weight:600;color:var(--ink-2);display:inline-flex;align-items:center;gap:7px;}
.related .more:hover{color:var(--ink-0);}
.related .more svg{width:16px;height:16px;}
.related .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.related .card{display:flex;flex-direction:column;background:var(--cream-0);border:1px solid var(--cream-2);border-radius:var(--r-xl);overflow:hidden;transition:transform var(--ease-out) .2s,box-shadow var(--ease-out) .2s;}
.related .card:hover{transform:translateY(-3px);box-shadow:var(--sh-3);}
.related .card-media{position:relative;aspect-ratio:16/10;}
.related .card-media .ph{background-color:var(--surface-mute);}
.related .card-body{padding:20px 20px 18px;display:flex;flex-direction:column;flex:1;}
.related .card-body h3{font-family:var(--font-display);font-weight:600;letter-spacing:-0.02em;font-size:18px;line-height:1.22;color:var(--ink-0);margin:13px 0 0;text-wrap:pretty;}
.related .card-body .when{font-family:var(--font-mono);font-size:11px;color:var(--ink-3);margin-top:auto;padding-top:18px;}

/* CTA */
.cta{max-width:1200px;margin:48px auto 0;padding:0 var(--gutter);}
.cta-inner{max-width:720px;}
.cta-inner{position:relative;overflow:hidden;border-radius:var(--r-2xl);padding:44px 44px;background:var(--sage-0);color:#fff;}
.cta-inner .glow{position:absolute;inset:0;opacity:0.5;background:radial-gradient(120% 120% at 85% 10%,rgba(155,92,255,0.5),transparent 55%),radial-gradient(120% 120% at 10% 90%,rgba(63,184,168,0.4),transparent 55%);pointer-events:none;}
.cta-inner h3{position:relative;font-family:var(--font-display);font-weight:600;font-size:28px;letter-spacing:-0.03em;margin:0;text-wrap:balance;max-width:18ch;}
.cta-inner p{position:relative;margin:12px 0 0;font-size:16px;color:rgba(255,255,255,0.78);max-width:46ch;line-height:1.55;}
.cta-inner .btn{position:relative;margin-top:24px;background:#fff;color:var(--ink-0);border-color:#fff;padding:12px 22px;}

/* ============================================================ RESPONSIVE (content) */
@media (max-width:1180px){
  .article-wrap{grid-template-columns:0 minmax(0,720px) 0.5fr;}
}
@media (max-width:1024px){
  .featured{grid-template-columns:1fr;}
  .featured-media{min-height:280px;}
  .article-wrap{grid-template-columns:1fr;max-width:760px;}
  .rail-left,.rail-right{display:none;}
  .related .grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:860px){
  :root{--gutter:24px;}
  .featured-body{padding:30px 26px;}
  .section{padding:38px 0;}
  .chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;-ms-overflow-style:none;scrollbar-width:none;}
  .chips::-webkit-scrollbar{display:none;}
  .article-body{padding:30px 0 12px;}
  .article-body p,.article-body li{font-size:17px;}
  .stat{flex-direction:column;align-items:flex-start;gap:14px;}
}
@media (max-width:620px){
  .byline-share{margin-left:0;width:100%;padding-top:4px;}
  .grid{grid-template-columns:1fr;}
  .related .grid{grid-template-columns:1fr;}
  .hero{padding:44px 0 16px;}
  .section-head{flex-direction:column;align-items:flex-start;}
  .cover{aspect-ratio:4/3;}
  .byline .sep{display:none;}
}

/* =========================================================
   FOOTER — matches www.elva.ai
   ========================================================= */

.elva-site-footer {
  background: #ffffff;
  padding: 0;
  border-top: 0;
  margin-top: 5em;
}

.elva-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 1024px) {
  .elva-footer-inner {
    flex-direction: row;
    gap: 64px;
  }
}

.elva-footer-brand {
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .elva-footer-brand { width: 220px; }
}

.elva-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #252B37;
  text-decoration: none;
}

.elva-footer-logo-mark {
  width: 32px;
  height: 32px;
  display: block;
  flex-shrink: 0;
}

.elva-footer-logo-text {
  font-size: 18px;
  font-weight: 500;
  color: #252B37;
  line-height: 1;
}

.elva-footer-tagline {
  margin: 0 0 16px;
  color: #535862;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
}

.elva-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.elva-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #535862;
  line-height: 1.5;
}

.elva-contact-list li > span:not(.elva-contact-icon) {
  flex: 1;
}

.elva-contact-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.elva-contact-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.elva-contact-list a {
  color: #535862;
  text-decoration: none;
  transition: color .2s ease;
}

.elva-contact-list a:hover {
  color: var(--elva-primary);
}

.elva-contact-list strong {
  font-weight: 600;
  color: #535862;
}

.elva-footer-links {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

@media (min-width: 768px) {
  .elva-footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .elva-footer-links {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 32px;
  }
}

.elva-footer-column {
  display: block;
  min-width: 0;
}

.elva-footer-column h3 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  color: #252B37;
  line-height: 1.3;
  letter-spacing: 0;
}

.elva-footer-column h3.is-invisible {
  visibility: hidden;
}

@media (max-width: 1023px) {
  .elva-footer-column h3.is-invisible {
    display: none;
  }
}

.elva-footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.elva-footer-column li { margin: 0; }

.elva-footer-column a {
  display: inline-block;
  font-size: 12px;
  color: #535862;
  line-height: 1.5;
  text-decoration: none;
  transition: color .2s ease;
}

.elva-footer-column a:hover {
  color: var(--elva-primary);
}

.elva-footer-bottom-wrap {
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 0 24px;
}

.elva-footer-bottom {
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

@media (min-width: 768px) {
  .elva-footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.elva-footer-copyright {
  margin: 0;
  font-size: 12px;
  color: #535862;
}

.elva-footer-legal {
  display: flex;
  gap: 24px;
}

.elva-footer-legal a {
  font-size: 12px;
  color: #535862;
  text-decoration: none;
  transition: color .2s ease;
}

.elva-footer-legal a:hover {
  color: var(--elva-primary);
}

/* =========================================================
   Responsive (page-level) — WP admin bar offset for the fixed header
   ========================================================= */
@media (max-width: 980px) {
  body.admin-bar .elva-header-fixed { top: 46px; }
}

/* =========================================================
   Article tweaks: media fills frames, lead paragraph, core
   Gutenberg blocks mapped to the design, and pagination.
   ========================================================= */
.elva-site-main .card-media img,
.elva-site-main .featured-media img,
.elva-site-main .cover img,
.elva-site-main .related .card-media img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }

/* first paragraph reads as a lead, matching .lead-p in the design */
.article-body > p:first-of-type { font-size:21px; line-height:1.65; color:var(--ink-0); }

/* core Gutenberg blocks inside the article body */
.article-body figure { margin:38px 0; }
.article-body img { border-radius:var(--r-lg); }
.article-body figcaption { margin-top:12px; font-size:13px; color:var(--ink-3); text-align:center; }
.article-body .wp-block-image { margin:38px 0; }
.article-body blockquote { margin:40px 0; padding:0 0 0 26px; border-left:3px solid transparent; border-image:var(--grad-spectrum) 1; }
.article-body blockquote p { font-family:var(--font-display); font-weight:500; font-size:26px; line-height:1.32; letter-spacing:-0.02em; color:var(--ink-0); margin:0; text-wrap:balance; }
.article-body blockquote cite { display:block; margin-top:14px; font-style:normal; font-size:12px; letter-spacing:0.04em; color:var(--ink-3); }
.article-body h4 { font-family:var(--font-display); font-weight:600; letter-spacing:-0.015em; font-size:18px; line-height:1.3; color:var(--ink-0); margin:30px 0 10px; }

/* pagination for archives / search */
.elva-site-main nav.pagination { display:flex; justify-content:center; gap:8px; margin:48px 0 0; }
.elva-site-main nav.pagination .nav-links { display:flex; gap:8px; flex-wrap:wrap; justify-content:center; }
.elva-site-main nav.pagination .page-numbers { display:inline-flex; align-items:center; justify-content:center; min-width:40px; height:40px; padding:0 13px; border-radius:var(--r-pill); border:1px solid var(--cream-2); background:var(--cream-1); color:var(--ink-2); font-weight:600; font-size:14px; transition:color var(--ease-out) .15s,border-color var(--ease-out) .15s; }
.elva-site-main nav.pagination .page-numbers:hover { color:var(--ink-0); border-color:var(--cream-shadow); }
.elva-site-main nav.pagination .page-numbers.current { background:var(--sage-0); color:#fff; border-color:var(--sage-0); }
.elva-site-main nav.pagination .page-numbers.dots { border-color:transparent; background:transparent; }

/* =========================================================
   Reading typography
   Headings, byline, cards, eyebrows, nav and footer stay in
   Gilroy. Long-form prose, the dek and excerpts use the system
   reading stack the approved HTML used (SF Pro Text / Segoe /
   Roboto), which reads lighter and is easier on long passages.
   To go back to full Gilroy: set --font-read: var(--font-body);
   ========================================================= */
:root{ --font-read:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,Helvetica,Arial,system-ui,sans-serif; }

.article-body p,
.article-body li,
.article-head .dek,
.card-body p,
.featured-body p{ font-family:var(--font-read); }

/* slightly airier measure now that prose isn't in the display face */
.article-body p{ font-size:18px; line-height:1.8; }
.article-body li{ line-height:1.72; }

/* =========================================================
   Byline avatar: Elva logo mark (vector, white on gradient)
   or an external logo image, in place of the initial.
   ========================================================= */
.avatar.avatar-logo{ overflow:hidden; }
.avatar .elva-mark{ width:60%; height:60%; }
.avatar.avatar-logo .elva-mark path{ fill:#fff; }
.avatar.avatar-img{ background:#fff; border:1px solid var(--cream-2); overflow:hidden; }
.avatar.avatar-img img{ width:100%; height:100%; object-fit:contain; padding:7px; }
