/* ============================================================
   GYMMIXPRO BLOG ARTICLE STYLES — v2 "Hybrid"
   Loads AFTER gymmixpro-v2.css. Styles the long-form article
   layout (light body = "where trust lives") between the shared
   dark nav and dark footer. Reuses .callout, .table-scroll,
   .faq-item, .cta-card, buttons from gymmixpro-v2.css.
   ============================================================ */

/* Skip link (a11y) */
.skip-link{position:absolute;left:1rem;top:-5rem;background:var(--lime);color:#0A0E0B;padding:.75rem 1rem;border-radius:.6rem;z-index:2000;font-weight:700}
.skip-link:focus{top:1rem}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--lime);outline-offset:3px}

/* Article shell (on light paper) */
.article-wrap{max-width:var(--container);margin:0 auto;padding:2.75rem 24px 3rem}
.breadcrumb{font-size:.9rem;color:var(--muted-l);margin-bottom:1.5rem}
.breadcrumb a{color:var(--muted-l)}
.breadcrumb a:hover{color:var(--green-deep)}
.breadcrumb span{color:#B7C0B2;margin:0 .45rem}

/* Header */
.article-header{margin-bottom:2.5rem}
.article-eyebrow{display:inline-block;color:var(--green-deep);font-family:var(--body);font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.12em;margin-bottom:.85rem}
.article-header h1{font-family:var(--display);font-size:clamp(32px,4.2vw,52px);font-weight:700;letter-spacing:-.02em;line-height:1.12;max-width:20ch;margin-bottom:1rem;color:var(--text-l)}
.article-meta{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center;color:var(--muted-l);font-size:.92rem}
.article-meta .author{color:var(--text-l);font-weight:600}

/* Two-column: sticky TOC + body */
.article-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:3.25rem;align-items:start}
.toc{position:sticky;top:92px;background:var(--card);border:1px solid var(--line-l);border-radius:var(--radius);padding:1.5rem}
.toc-title{font-family:var(--display);text-transform:uppercase;letter-spacing:.1em;color:var(--muted-l);font-size:.72rem;font-weight:700;margin-bottom:1rem}
.toc ul{list-style:none}
.toc li{margin-bottom:.6rem}
.toc a{color:var(--text-l);font-size:.9rem;line-height:1.4;display:block}
.toc a:hover{color:var(--green-deep)}

/* Body typography */
.article-body{max-width:760px}
.article-body h2{font-family:var(--display);font-size:clamp(24px,2.6vw,32px);font-weight:700;letter-spacing:-.02em;line-height:1.2;margin:3rem 0 1rem;scroll-margin-top:92px;color:var(--text-l)}
.article-body h3{font-family:var(--display);font-size:1.3rem;font-weight:600;margin:2rem 0 .7rem;scroll-margin-top:92px;color:var(--text-l)}
.article-body p{font-size:1.075rem;color:var(--text-l);margin-bottom:1.25rem;line-height:1.8}
.article-body a{color:var(--green-deep);font-weight:600}
.article-body a:hover{text-decoration:underline}
.article-body strong{color:var(--text-l)}
.article-body ul,.article-body ol{margin:0 0 1.5rem;padding-left:0}
.article-body ul li{position:relative;padding:.35rem 0 .35rem 1.85rem;font-size:1.075rem;color:var(--text-l);line-height:1.7}
.article-body ul li::before{content:"";position:absolute;left:2px;top:.95rem;width:7px;height:7px;border-radius:50%;background:var(--green-deep)}
.article-body ol{counter-reset:li}
.article-body ol li{position:relative;padding:.35rem 0 .35rem 2rem;font-size:1.075rem;color:var(--text-l);line-height:1.7;counter-increment:li}
.article-body ol li::before{content:counter(li) ".";position:absolute;left:0;top:.35rem;color:var(--green-deep);font-weight:700}

/* Key takeaways */
.takeaways{background:var(--card);border:1px solid var(--line-l);border-radius:var(--radius);padding:1.75rem;margin:2.5rem 0}
.takeaways h3{font-family:var(--display);margin:0 0 1rem;font-size:1.15rem;color:var(--text-l)}
.takeaways ul{margin:0}

/* Tables (plain <table> inside .table-scroll, on light) */
.table-scroll table{width:100%;border-collapse:collapse;min-width:520px;font-size:.98rem;background:var(--card)}
.table-scroll caption{caption-side:top;text-align:left;font-size:.8rem;color:var(--muted-l);padding:0 0 .6rem;font-weight:600}
.table-scroll th{background:var(--green-tint);color:var(--text-l);text-align:left;font-family:var(--display);font-weight:600;padding:.9rem 1rem;border-bottom:1px solid var(--line-l)}
.table-scroll td{padding:.9rem 1rem;border-bottom:1px solid var(--line-l);color:var(--muted-l)}
.table-scroll tbody tr:last-child td{border-bottom:0}
.table-scroll td:first-child{color:var(--text-l);font-weight:500}
.table-scroll td strong{color:var(--text-l)}

/* Quick-answer callout label (callout box itself comes from gymmixpro-v2.css) */
.callout-label{display:block}

/* Pending-image placeholder (if used) */
.pending-image{border:1px dashed #BFD8A0;border-radius:var(--radius);padding:1rem;color:var(--muted-l);font-size:.9rem;margin:2rem 0;background:#F1F7E8}

/* Sources */
.sources{font-size:.92rem;color:var(--muted-l)}
.sources li{font-size:.92rem;color:var(--muted-l)}
.article-body .sources a{color:var(--green-deep)}

/* Related (light section) */
.related{max-width:var(--container);margin:0 auto;padding:1rem 24px 4rem}
.related h2{font-family:var(--display);font-size:1.6rem;margin-bottom:1.5rem;color:var(--text-l)}
.related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}
.related-card{background:var(--card);border:1px solid var(--line-l);border-radius:var(--radius);padding:1.5rem;display:block;transition:transform .18s ease,box-shadow .18s ease}
.related-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(23,32,26,.08)}
.related-card .r-eyebrow{color:var(--green-deep);font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.related-card h3{font-family:var(--display);color:var(--text-l);font-size:1.1rem;margin:.5rem 0;line-height:1.35}
.related-card p{color:var(--muted-l);font-size:.9rem;margin:0}

@media(max-width:900px){
  .article-grid{grid-template-columns:1fr;gap:0}
  .toc{position:static;margin-bottom:2rem}
}
