/* TAGRA.EU — Shared components
   Bento grid, cards, callouts, FAQ, article cards, reviews,
   warning box, picker cards, partner logos, compare table.
   
   Extracted from per-page <style> blocks 2026-05-13.
*/

/* ============================================================
   BENTO GRID (.bc cards in a 12-col grid)
   ============================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.bc {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.bc.s4  { grid-column: span 4;  }
.bc.s5  { grid-column: span 5;  }
.bc.s6  { grid-column: span 6;  }
.bc.s7  { grid-column: span 7;  }
.bc.s8  { grid-column: span 8;  }
.bc.s12 { grid-column: span 12; }
.bc.bluefill  { background: var(--bg-apple-solid); border-color: rgba(31,95,166,.1); }
.bc.greenfill { background: #f0f6e4; border-color: rgba(110,155,18,.2); }
.bc.darkfill  { background: var(--blue-dark); color: #fff; border-color: var(--blue-dark); }
.bc.darkfill .bc-title,
.bc.darkfill .bc-text,
.bc.darkfill p, .bc.darkfill li { color: rgba(255,255,255,0.92); }
.bc-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--strong);
  margin: 0 0 8px;
}
.bc-text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text2);
}
.bc-eyebrow, .bc-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin: 0 0 10px;
}
.bignum {
  position: absolute;
  bottom: -16px;
  right: 16px;
  font-size: 110px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(19,74,142,0.06);
  pointer-events: none;
}
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; gap: 12px; }
  .bc { grid-column: span 1 !important; }
}

/* ============================================================
   TWO-COL / THREE-COL LAYOUTS
   ============================================================ */
.g2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.g2.top { align-items: start; }
@media (max-width: 900px) {
  .g2 { grid-template-columns: 1fr; gap: 40px; }
}

.three-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px 24px;
}
@media (min-width: 768px) {
  .three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ============================================================
   CALLOUTS — feature boxes with optional green theme
   ============================================================ */
.callout {
  border-radius: var(--radius-lg);
  background: var(--bg-page);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(0,0,0,.04);
  position: relative;
}
.callout--plain {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.callout--green {
  background: linear-gradient(90deg, #74A81A 0%, var(--green-brand) 55%, #638719 100%);
  color: #0b0b0c;
  border: none;
}
.callout--green h2 {
  color: var(--blue-dark);
  background: var(--heading-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.callout--green p, .callout--green li,
.callout--green a { color: #0b0b0c !important; }
.callout--green a { text-decoration: underline; text-decoration-color: rgba(0,0,0,.4); }
.cg-bg {
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-size: 200px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.12);
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   FEAT LIST (checkmarks)
   ============================================================ */
.feats {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}
.fi {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 17px;
  line-height: 1.5;
}
.fck {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   FAQ block (details/summary)
   ============================================================ */
.faq-block details, .faq details {
  border-bottom: 1px solid var(--border);
  padding: 4px 0;
}
.faq-block details:first-child,
.faq details:first-child {
  border-top: 1px solid var(--border);
}
.faq-block summary, .faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 40px 18px 0;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.4;
  position: relative;
  color: var(--strong);
}
.faq-block summary::-webkit-details-marker,
.faq summary::-webkit-details-marker { display: none; }
.faq-block summary::after,
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 300;
  color: var(--green-brand);
}
.faq-block details[open] summary::after,
.faq details[open] summary::after { content: "−"; }
.faq-a, .faq-answer {
  padding: 0 0 18px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text2);
}

/* ============================================================
   ARTICLE CARDS (.article-card grid)
   ============================================================ */
.article-grid {
  /* Horizontal scroll carousel: cards have fixed width, page scrolls horizontally.
     Inside .container so first card left-aligns with H1. */
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 300px;
  gap: 20px;
  margin-top: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 8px 0 24px; /* room for hover lift + visual breathing */
  /* extra right padding so the user sees the next card peeking through */
  padding-right: max(24px, 25%);
  /* hide scrollbar but keep functionality */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.article-grid::-webkit-scrollbar { width: 0; height: 0; }
.article-grid .article-card {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  width: 300px;
}
@media (max-width: 768px) {
  .article-grid {
    grid-auto-columns: 85vw;
    padding-right: 32px;
  }
  .article-grid .article-card { width: 85vw; max-width: 320px; }
}

/* Carousel wrapper for nav arrows */
.article-carousel { position: relative; }
.article-carousel-nav {
  display: flex; gap: 8px;
  margin-top: 16px;
  justify-content: flex-start;
}
.article-carousel-btn {
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--bg-page);
  color: var(--blue-mid);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
  user-select: none;
}
.article-carousel-btn:hover {
  background: var(--bg-apple-solid);
  border-color: var(--blue-mid);
  color: var(--blue-dark);
}
.article-carousel-btn:active { transform: scale(0.95); }
.article-carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.article-card {
  position: relative;
  display: flex !important;
  flex-direction: column;
  height: 100%;
  padding: 22px;
  text-decoration: none !important;
  color: inherit !important;
  background: var(--bg-page);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
  border-color: rgba(110,155,18,0.45);
}
.article-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-mid) !important;
  margin: 0 0 10px;
}
.article-title {
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--strong) !important;
  margin: 0 0 10px;
}
.article-meta {
  display: block;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text2) !important;
  margin: 0 0 16px;
}
.article-chip {
  display: inline-flex !important;
  margin-top: auto;
  align-self: flex-start;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-dark) !important;
  background: var(--bg-apple-solid);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s;
}
.article-card:hover .article-chip {
  background: var(--green-brand);
  color: #fff !important;
}

/* Featured related article (larger, with badge) */
.related-featured {
  position: relative;
  display: flex !important;
  flex-direction: column;
  margin-top: 34px;
  padding: 30px 24px 24px;
  text-decoration: none !important;
  color: inherit !important;
  background: linear-gradient(180deg, var(--bg-apple-solid) 0%, var(--bg-page) 100%);
  border: 2px solid var(--blue-mid);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 26px rgba(19,74,142,0.08);
  transition: transform 0.18s, box-shadow 0.18s;
}
.related-featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(19,74,142,0.15);
}
.related-badge {
  position: absolute;
  top: -16px; left: 24px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--blue-mid);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(19,74,142,0.22);
}
.related-featured-title {
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--strong) !important;
  margin: 10px 0 8px;
}
.related-featured-text {
  display: block;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text2) !important;
  margin: 0 0 16px;
}
.related-featured:hover .article-chip {
  background: var(--green-brand);
  color: #fff !important;
}

/* ============================================================
   WARNING / NOTE BOX (green-bordered with badge)
   ============================================================ */
.warning-box {
  position: relative;
  width: 100%;
  margin: 40px 0 0;
  padding: 30px 24px 24px;
  background: linear-gradient(180deg, #f0f6e4 0%, var(--bg-page) 100%);
  border: 2px solid var(--green-brand);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 26px rgba(110,155,18,0.08);
}
.warning-badge {
  position: absolute;
  top: -16px; left: 24px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--green-brand);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(110,155,18,0.22);
}
.warning-box .note-main {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--strong);
  margin: 10px 0 12px;
}

/* ============================================================
   REVIEWS RAIL (auto-scrolling testimonials)
   ============================================================ */
.rev-rail-wrap, .tmx-rev-rail-wrap {
  position: relative;
  width: 100vw;
  left: 50%; right: 50%;
  margin-left: -50vw; margin-right: -50vw;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  margin-top: 20px;
}
.rev-rail {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 16px 0 32px;
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.rev-rail::-webkit-scrollbar { display: none; }
.rev-rail:active { cursor: grabbing; }
.rev-card, .tmx-rev-card {
  flex: 0 0 clamp(280px, 30vw, 400px);
  background: var(--bg-page);
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  margin-right: 20px;
  user-select: none;
}
.rev-stars, .tmx-rev-stars {
  color: #f5b400;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.rev-txt, .tmx-rev-txt { font-size: 17px; flex: 1; }
.rev-meta, .tmx-rev-meta {
  font-size: 15px;
  color: var(--text2);
  margin-top: 16px;
}

/* ============================================================
   MEDIA FRAME (image/video container with rounded corners)
   ============================================================ */
.media-frame, .tmx-media-frame {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(#fff, #000);
}
.media-frame img, .media-frame video,
.tmx-media-frame img, .tmx-media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === Card title — used in audience-picker style cards on homepage ===
   TRUCKMALL section-h2 styling at a smaller size: UPPERCASE, weight 800,
   3-stop brighter gradient. Tight inline-block so the gradient spans
   the visible text exactly. Mobile shrinks proportionally. */
.card-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 12px;
  padding: 0.06em 0 0.06em 0;
  display: block;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  color: var(--blue-mid);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .card-title {
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}
@media (max-width: 768px) {
  .card-title { font-size: 18px; }
}


/* ============= ARTICLE EXTRA STYLES (for symbols & error codes) ============= */
.lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text2);
  margin-bottom: 14px;
}
.lead strong { color: var(--text); }

/* Activity 4-card grid */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 28px 0 12px;
}
.activity-card {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  display: flex; flex-direction: column; gap: 6px;
  transition: box-shadow .15s, transform .15s, border-color .15s;
}
.activity-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.06); border-color: rgba(19,74,142,.25); }
.activity-card .ico {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  color: #fff;
}
.activity-card .ico img {
  width: 30px; height: 30px;
  /* SVGs use currentColor for strokes — inherits from parent .ico color */
  filter: brightness(0) invert(1); /* force pure white regardless of source SVG fill/stroke */
}
.activity-card .ico--drive { background: linear-gradient(135deg, #0070F3, #134a8e); }
.activity-card .ico--work  { background: linear-gradient(135deg, #5C820F, #6E9B12); }
.activity-card .ico--avail { background: linear-gradient(135deg, #FBC02D, #F57F17); }
.activity-card .ico--avail img { filter: brightness(0); } /* dark icon on yellow bg */
.activity-card .ico--rest  { background: linear-gradient(135deg, #6b7280, #374151); }
.activity-card h3 { font-size: 18px; font-weight: 800; color: var(--text); margin-top: 4px; }
.activity-card p { font-size: 15px; line-height: 1.55; color: var(--text2); }

/* Universal warning callouts (4 panels) */
.warn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.warn-card {
  border-radius: 16px; padding: 22px; position: relative; border: 1.5px solid;
}
.warn-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.warn-card p  { font-size: 15px; line-height: 1.55; }
.warn-card--info  { background:#f0f7ff; border-color: rgba(19,74,142,.15);  }
.warn-card--info  h3 { color: var(--blue-dark); }
.warn-card--ok    { background:#f4f9ea; border-color: rgba(110,155,18,.2); }
.warn-card--ok    h3 { color: var(--green-brand); }
.warn-card--warn  { background:#fff7e6; border-color: rgba(245,158,11,.25); }
.warn-card--warn  h3 { color:#a85800; }
.warn-card--crit  { background:#fef2f2; border-color: rgba(220,38,38,.2); }
.warn-card--crit  h3 { color:#991b1b; }

/* Vendor section (collapsible) — 4 manufacturers */
.vendor-stack { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.vendor {
  border: 1.5px solid var(--border);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}
.vendor summary {
  list-style: none; cursor: pointer; padding: 22px 56px 22px 24px;
  position: relative; font-size: 20px; font-weight: 800;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-apple-solid) 0%, #fff 100%);
}
.vendor summary::-webkit-details-marker { display: none; }
.vendor summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%); font-size: 28px; color: var(--blue-mid); font-weight: 300;
}
.vendor[open] summary::after { content: "−"; }
.vendor-meta {
  display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--green-brand);
  margin-bottom: 6px;
}
.vendor-body { padding: 6px 24px 28px; }
.vendor-body p { font-size: 16px; line-height: 1.6; color: var(--text2); margin-bottom: 14px; }
.vendor-body h3 { font-size: 18px; font-weight: 800; margin: 26px 0 12px; color: var(--text); }

/* Code table */
.code-table-wrap {
  width: 100%; overflow-x: auto; margin: 10px 0 18px;
  -webkit-overflow-scrolling: touch;
}
.code-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-size: 15px; min-width: 700px;
  table-layout: fixed;
}
.code-table th, .code-table td {
  padding: 13px 14px; border-bottom: 1px solid var(--border);
  vertical-align: top; text-align: left;
}
.code-table th {
  font-size: 13px; font-weight: 700; color: var(--text2);
  text-transform: uppercase; letter-spacing: .05em;
  background: var(--bg-apple-solid);
  border-bottom: 2px solid var(--border);
}
.code-table td:first-child { font-weight: 700; color: var(--text); }
.code-table tr:hover td { background: rgba(19,74,142,.03); }

/* Severity badges */
.sev {
  display: inline-block; padding: 3px 10px; border-radius: 99px;
  font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .04em; white-space: nowrap;
}
.sev-crit { background: #fee2e2; color: #991b1b; }
.sev-high { background: #ffedd5; color: #9a3412; }
.sev-med  { background: #fef3c7; color: #92400e; }
.sev-low  { background: #dcfce7; color: #166534; }
.sev-info { background: #dbeafe; color: #1e3a8a; }

/* Crisis steps — numbered ordered list with big numbers */
.crisis-steps {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: flex; flex-direction: column; gap: 14px;
}
.crisis-steps li {
  display: flex; gap: 16px; padding: 18px 20px;
  background: #fff; border: 1.5px solid var(--border); border-radius: 14px;
  align-items: flex-start;
}
.crisis-steps .num {
  flex-shrink: 0; width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  color: #fff; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px;
}
.crisis-steps strong { display: block; margin-bottom: 4px; font-size: 16px; color: var(--text); }
.crisis-steps span.lbl { color: var(--text2); font-size: 15px; line-height: 1.55; }

/* TAGRA inline CTA box */
.cta-box {
  margin: 36px 0;
  border-radius: 18px;
  padding: 28px 28px;
  background: linear-gradient(135deg, #052037 0%, var(--blue-dark) 55%, var(--blue-mid) 100%);
  color: #fff;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.cta-box h3 { font-size: 22px; font-weight: 800; color: #fff; margin: 0; }
.cta-box p  { font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.88); margin: 0; }
.cta-box a.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-cta); color: #fff !important;
  padding: 12px 28px; border-radius: 99px; font-weight: 600; font-size: 16px;
  text-decoration: none !important;
  transition: background .15s, transform .15s;
}
.cta-box a.cta-btn:hover { background: var(--green-brand); transform: scale(1.02); }

/* Sources list */
.sources-list {
  list-style: none; padding: 0; margin: 14px 0 0;
  display: flex; flex-direction: column; gap: 10px;
}
.sources-list li {
  padding: 14px 18px; background: #fff;
  border: 1.5px solid var(--border); border-radius: 12px;
  font-size: 15px; line-height: 1.55;
}
.sources-list li strong { display: block; margin-bottom: 4px; color: var(--text); }
.sources-list a { color: var(--blue-mid); font-weight: 600; word-break: break-all; }

/* Related articles small grid */
.related-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px; margin-top: 18px;
}
.related-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 20px; background: #fff;
  border: 1.5px solid var(--border); border-radius: 14px;
  text-decoration: none !important; color: var(--text) !important;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.related-card:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.06); border-color: rgba(19,74,142,.25); }
.related-card .r-eyebrow { font-size: 12px; font-weight: 700; color: var(--green-brand); text-transform: uppercase; letter-spacing: .07em; }
.related-card .r-title { font-size: 16px; font-weight: 800; line-height: 1.35; }
.related-card .r-text { font-size: 14px; color: var(--text2); line-height: 1.5; }
.related-card .r-chip { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--blue-mid); }

/* FAQ accordion */
.faq-block details {
  border-bottom: 1px solid var(--border); padding: 4px 0;
}
.faq-block details:first-child { border-top: 1px solid var(--border); }
.faq-block summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0;
  font-weight: 800; font-size: 17px; line-height: 1.4; position: relative;
  color: var(--text);
}
.faq-block summary::-webkit-details-marker { display: none; }
.faq-block summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%); font-size: 24px; color: var(--green-brand); font-weight: 300;
}
.faq-block details[open] summary::after { content: "−"; }
.faq-block .faq-a { padding: 0 0 18px; font-size: 16px; line-height: 1.6; color: var(--text2); }

/* TOC table-of-contents pill list at top */
.toc {
  background: var(--bg-apple-solid);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 18px 22px;
  margin: 24px 0 36px;
}
.toc strong {
  display: block; font-size: 13px; font-weight: 700; color: var(--text2);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px;
}
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: tocnum;
          display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px 18px; }
.toc ol li { counter-increment: tocnum; margin: 0; padding: 0; }
.toc ol li::before { content: counter(tocnum, decimal-leading-zero) " "; color: var(--blue-mid); font-weight: 700; font-size: 13px; }
.toc ol li a { font-size: 14px; color: var(--text); }
.toc ol li a:hover { color: var(--blue-mid); }
/* ============ /ARTICLE EXTRA STYLES ============ */


/* Article hero video card (used on articles/digital-tachograph-symbols) */
.art-hero-video {
  width: 100%;
  max-width: var(--maxw, 1180px);
  margin: 28px auto 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(11, 44, 74, .12);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  background: #0b0b0c;
  -webkit-mask-image: -webkit-radial-gradient(#fff, #000);
}
.art-hero-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
@media (max-width: 700px) {
  .art-hero-video { aspect-ratio: 4 / 3; border-radius: 14px; margin-top: 20px; }
}