/* ============================================================================
   v2-article.css — premium editorial ARTICLE components for the blog single
   template (Track A SEO posts). Reuses the v2 tokens + Hanken already loaded;
   layers on top of .lsq-legacy-content (which already styles body type + tables).
   Mobile-first. Namespaced .lsq-* so it never touches hub/home styles.
   ========================================================================== */

/* ---- Hero byline row (author · license · date) ---- */
.lsq-byline{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;
  margin-top:22px;font-size:14.5px;color:var(--muted);line-height:1.4;
}
.lsq-byline .by-author{color:var(--ink);font-weight:600}
.lsq-byline .by-sep{width:4px;height:4px;border-radius:50%;background:var(--line);flex:0 0 auto}
@media(max-width:520px){ .lsq-byline .by-sep{display:none} .lsq-byline{gap:4px 12px} }

/* ---- TL;DR / answer card (the single most important AEO element) ---- */
.lsq-answer{
  margin:clamp(26px,4vw,40px) 0;
  padding:clamp(20px,3.2vw,30px) clamp(20px,3.2vw,34px);
  background:var(--paper-2);
  border:1px solid var(--line);
  border-left:4px solid var(--accent);
  border-radius:16px;
}
.lsq-answer .lsq-answer-k{
  display:inline-flex;align-items:center;gap:8px;margin-bottom:10px;
  font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);
}
.lsq-answer p{margin:0 0 .7em;font-size:clamp(16.5px,1.5vw,18.5px);line-height:1.6;color:var(--ink)}
.lsq-answer p:last-child{margin-bottom:0}
.lsq-answer strong{font-weight:700;color:var(--ink)}

/* ---- Numbered editorial blocks (e.g. "7 things that move price") ----
   Prefixed with .lsq-legacy-content so these beat the generic
   `.lsq-legacy-content ol>li{padding-left:.2em}` / `li+li` / bullet rules. */
.lsq-legacy-content ol.lsq-steps{list-style:none;margin:clamp(24px,3.5vw,40px) 0;padding:0;counter-reset:lsqstep}
.lsq-legacy-content ol.lsq-steps>li{
  counter-increment:lsqstep;position:relative;margin:0;
  padding:clamp(18px,2.6vw,24px) 0 clamp(18px,2.6vw,24px) clamp(52px,7vw,72px);
  border-top:1px solid var(--line);
}
.lsq-legacy-content ol.lsq-steps>li+li{margin-top:0}
.lsq-legacy-content ol.lsq-steps>li:last-child{border-bottom:1px solid var(--line)}
.lsq-legacy-content ol.lsq-steps>li::before{
  content:counter(lsqstep,decimal-leading-zero);
  position:absolute;left:0;top:clamp(18px,2.6vw,24px);
  font-size:clamp(15px,1.6vw,18px);font-weight:600;font-variant-numeric:tabular-nums;
  color:var(--accent);letter-spacing:.02em;
}
.lsq-legacy-content ol.lsq-steps>li .s-h{display:block;font-size:clamp(17px,1.7vw,20px);font-weight:600;color:var(--ink);margin-bottom:6px;line-height:1.25}
.lsq-legacy-content ol.lsq-steps>li p{margin:0;color:var(--ink-soft);line-height:1.6}

/* ---- Bordered checklist / reference-facts panel ---- */
.lsq-checklist{
  margin:clamp(24px,3.5vw,40px) 0;padding:clamp(22px,3vw,30px);
  border:1px solid var(--line);border-radius:16px;background:var(--paper);
}
.lsq-checklist .lsq-cl-h{font-size:clamp(17px,1.7vw,20px);font-weight:600;color:var(--ink);margin:0 0 14px}
/* Prefixed so the checkmark beats `.lsq-legacy-content ul>li::before` (the dot). */
.lsq-legacy-content .lsq-checklist ul{list-style:none;margin:0;padding:0}
.lsq-legacy-content .lsq-checklist li{position:relative;margin:0;padding:11px 0 11px 32px;border-top:1px solid var(--line);color:var(--ink-soft);line-height:1.55}
.lsq-legacy-content .lsq-checklist li:first-child{border-top:0}
.lsq-legacy-content .lsq-checklist li::before{
  content:"";position:absolute;left:2px;top:15px;width:13px;height:8px;
  border-left:2px solid var(--accent);border-bottom:2px solid var(--accent);
  border-radius:0;background:none;transform:rotate(-45deg);
}
.lsq-checklist strong{color:var(--ink);font-weight:650}

/* ---- Internal-link cards (related guides) ---- */
.lsq-cards{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:14px;margin:clamp(24px,3.5vw,40px) 0;
}
.lsq-card{
  display:flex;flex-direction:column;gap:6px;
  padding:clamp(18px,2.4vw,24px);
  border:1px solid var(--line);border-radius:16px;background:var(--paper);
  text-decoration:none !important;color:var(--ink) !important;
  transition:border-color .3s var(--ease,ease),transform .3s var(--ease,ease);
}
.lsq-card:hover{border-color:var(--ink);transform:translateY(-2px)}
.lsq-card .c-h{font-size:16.5px;font-weight:600;color:var(--ink);line-height:1.25}
.lsq-card .c-d{font-size:14.5px;color:var(--muted);line-height:1.5}
.lsq-card .c-arrow{margin-top:2px;font-size:15px;color:var(--accent)}

/* ---- Author / E-E-A-T bio card ---- */
.lsq-authorbox{
  display:flex;gap:clamp(16px,2.5vw,24px);align-items:flex-start;
  max-width:1040px;margin:clamp(40px,6vw,72px) auto 0;
  padding:clamp(22px,3.2vw,32px);
  border:1px solid var(--line);border-radius:18px;background:var(--paper-2);
}
.lsq-authorbox .ab-photo{flex:0 0 auto;width:64px;height:64px;border-radius:50%;overflow:hidden;background:var(--line)}
.lsq-authorbox .ab-photo img{width:100%;height:100%;object-fit:cover;display:block}
.lsq-authorbox .ab-body{flex:1 1 auto;min-width:0}
.lsq-authorbox .ab-k{font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}
.lsq-authorbox .ab-name{font-size:clamp(18px,1.9vw,22px);font-weight:600;color:var(--ink);margin:0 0 8px}
.lsq-authorbox p{margin:0 0 10px;font-size:15px;line-height:1.6;color:var(--ink-soft)}
.lsq-authorbox a.ab-link{color:var(--ink);font-weight:600;text-decoration:underline;text-underline-offset:3px}

/* ---- Article shell width tune (reading measure ~68ch) + spacing ---- */
.single-post-redesign .lsq-legacy-content{max-width:720px;margin-inline:auto}
.single-post-redesign .lsq-legacy-shell{max-width:1040px}
/* answer card + tables + step/card/checklist panels break the measure full-width-of-column */
.single-post-redesign .lsq-legacy-content .lsq-answer,
.single-post-redesign .lsq-legacy-content .lsq-cards,
.single-post-redesign .lsq-legacy-content .lsq-checklist,
.single-post-redesign .lsq-legacy-content .lsq-steps{max-width:none}

/* ---- Numbered section prefix for long-form numbered sections (e.g. per-bill) ---- */
.lsq-legacy-content h2 .lsq-secno{
  color:var(--accent);font-variant-numeric:tabular-nums;font-weight:600;margin-right:.5em;
}

/* ---- Reusable responsive cost/data table (works on hubs + LA, which use
   .gp-content, not .lsq-legacy-content). Wrapper scrolls on mobile. ---- */
.lsq-rtable-wrap{
  overflow-x:auto;-webkit-overflow-scrolling:touch;
  margin:clamp(18px,2.6vw,30px) 0;border:1px solid var(--line);border-radius:14px;
}
.lsq-rtable{width:100%;min-width:420px;border-collapse:collapse;font-size:15.5px;line-height:1.5;background:var(--paper)}
.lsq-rtable th,.lsq-rtable td{padding:13px 16px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.lsq-rtable thead th{background:var(--paper-2);font-weight:700;color:var(--ink);white-space:nowrap}
.lsq-rtable td+td,.lsq-rtable th+th{border-left:1px solid var(--line)}
.lsq-rtable tbody tr:last-child td{border-bottom:0}
.lsq-rtable strong{color:var(--ink);font-weight:650}

/* ---- CTA band already styled via .gp-cta (reused from hubs) ---- */
