/* ==========================================================================
   KS MVP PILLAR — magazine-hub hero layout
   3,000-6,000 word topical authority pages
   ========================================================================== */

body.ks-mvp-pillar {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #0f1419;
    background: #fafaf7;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

/* --- Breadcrumb --- */
.ks-mvp-breadcrumb {
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 32px 0;
    font-size: 13px;
    color: #6b6b6b;
    letter-spacing: 0.02em;
}
.ks-mvp-breadcrumb a { color: #0f1419; text-decoration: none; font-weight: 500; }
.ks-mvp-breadcrumb a:hover { text-decoration: underline; }
.ks-mvp-bc-sep { margin: 0 8px; color: #c4c4c0; }
.ks-mvp-bc-current { color: #6b6b6b; }

/* --- Article wrapper --- */
.ks-mvp-pillar__article {
    max-width: 1240px;
    margin: 0 auto;
    padding: 32px 32px 80px;
}

/* --- Hero --- */
.ks-mvp-pillar__hero {
    border-top: 1px solid #e6e4dd;
    border-bottom: 1px solid #e6e4dd;
    padding: 56px 0 64px;
    margin-bottom: 64px;
}
.ks-mvp-pillar__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0f1419;
    background: #f4f1ea;
    padding: 6px 12px;
    border: 1px solid #e6e4dd;
    margin-bottom: 24px;
}
.ks-mvp-pillar__h1 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;
    font-weight: 400;
    margin: 0 0 24px;
    letter-spacing: -0.02em;
    color: #0f1419;
    max-width: 920px;
}
.ks-mvp-pillar__lede {
    font-size: clamp(18px, 1.5vw, 22px);
    line-height: 1.55;
    color: #2a2a2a;
    max-width: 760px;
    margin: 0 0 28px;
    font-weight: 400;
}
.ks-mvp-pillar__meta {
    font-size: 13px;
    color: #6b6b6b;
    letter-spacing: 0.02em;
}
.ks-mvp-pillar__sep { margin: 0 8px; color: #c4c4c0; }

/* --- Body grid --- */
.ks-mvp-pillar__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 80px;
    align-items: start;
}
@media (max-width: 960px) {
    .ks-mvp-pillar__body { grid-template-columns: 1fr; gap: 48px; }
}

.ks-mvp-pillar__main { min-width: 0; }

/* --- Key facts (snippet hunter) --- */
.ks-mvp-keyfacts {
    background: #f4f1ea;
    border-left: 3px solid #0f1419;
    padding: 24px 28px;
    margin: 0 0 48px;
}
.ks-mvp-keyfacts__h {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 14px;
    color: #0f1419;
}
.ks-mvp-keyfacts__list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.ks-mvp-keyfacts__list li {
    padding: 6px 0 6px 20px;
    position: relative;
    font-size: 15px;
    line-height: 1.55;
    color: #2a2a2a;
}
.ks-mvp-keyfacts__list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #0f1419;
    font-weight: 600;
}

/* --- Content typography --- */
.ks-mvp-pillar__content { font-size: 17px; line-height: 1.7; color: #1a1a1a; }
.ks-mvp-pillar__content h2 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(28px, 3.2vw, 38px);
    line-height: 1.2;
    margin: 56px 0 20px;
    font-weight: 400;
    color: #0f1419;
    letter-spacing: -0.01em;
    border-top: 1px solid #e6e4dd;
    padding-top: 32px;
}
.ks-mvp-pillar__content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.ks-mvp-pillar__content h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 40px 0 12px;
    color: #0f1419;
    letter-spacing: -0.005em;
}
.ks-mvp-pillar__content p { margin: 0 0 24px; }
.ks-mvp-pillar__content ul, .ks-mvp-pillar__content ol {
    margin: 0 0 24px;
    padding-left: 24px;
}
.ks-mvp-pillar__content li { margin-bottom: 8px; }
.ks-mvp-pillar__content strong { color: #0f1419; font-weight: 600; }
.ks-mvp-pillar__content em { font-style: italic; }
.ks-mvp-pillar__content a { color: #0f1419; text-decoration: underline; text-underline-offset: 3px; }
.ks-mvp-pillar__content a:hover { background: #f4f1ea; text-decoration: none; }
.ks-mvp-pillar__content blockquote {
    margin: 32px 0;
    padding: 20px 28px;
    border-left: 3px solid #0f1419;
    background: #f4f1ea;
    font-style: italic;
    color: #2a2a2a;
}
.ks-mvp-pillar__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-size: 14px;
}
.ks-mvp-pillar__content th, .ks-mvp-pillar__content td {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid #e6e4dd;
}
.ks-mvp-pillar__content th {
    font-weight: 600;
    background: #f4f1ea;
    color: #0f1419;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.08em;
}
.ks-mvp-pillar__content code {
    font-family: 'JetBrains Mono', monospace;
    background: #f4f1ea;
    padding: 2px 6px;
    font-size: 0.9em;
}
.ks-mvp-pillar__content img {
    max-width: 100%;
    height: auto;
    margin: 32px 0;
}

/* --- Sources --- */
.ks-mvp-sources {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid #e6e4dd;
}
.ks-mvp-sources__h {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 20px;
    color: #0f1419;
}
.ks-mvp-sources__list {
    margin: 0;
    padding-left: 24px;
    font-size: 14px;
    color: #2a2a2a;
    line-height: 1.6;
}
.ks-mvp-sources__list li { margin-bottom: 12px; }

/* --- Author card --- */
.ks-mvp-author {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 20px;
    margin: 64px 0 48px;
    padding: 28px 32px;
    background: #f4f1ea;
    border: 1px solid #e6e4dd;
}
.ks-mvp-author__av img { border-radius: 50%; }
.ks-mvp-author__name {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #0f1419;
}
.ks-mvp-author__role {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b6b6b;
    margin: 0 0 8px;
}
.ks-mvp-author__bio {
    font-size: 14px;
    line-height: 1.55;
    color: #2a2a2a;
    margin: 0;
}

/* --- Related cards --- */
.ks-mvp-related { margin-top: 64px; }
.ks-mvp-related__h {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 24px;
    color: #0f1419;
    border-top: 1px solid #e6e4dd;
    padding-top: 32px;
}
.ks-mvp-related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.ks-mvp-related__card {
    display: block;
    padding: 20px 24px;
    background: white;
    border: 1px solid #e6e4dd;
    text-decoration: none;
    color: inherit;
    transition: all 0.15s ease;
}
.ks-mvp-related__card:hover {
    border-color: #0f1419;
    transform: translateY(-2px);
}
.ks-mvp-related__cat {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6b6b6b;
    display: block;
    margin-bottom: 8px;
}
.ks-mvp-related__title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 16px;
    color: #0f1419;
    font-weight: 400;
}
.ks-mvp-related__cta {
    font-size: 13px;
    font-weight: 600;
    color: #0f1419;
    letter-spacing: 0.04em;
}

/* --- TOC sidebar --- */
.ks-mvp-pillar__toc {
    position: sticky;
    top: 32px;
}
.ks-mvp-toc {
    border-left: 1px solid #e6e4dd;
    padding-left: 24px;
}
.ks-mvp-toc__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 16px;
    color: #6b6b6b;
}
.ks-mvp-toc__list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    counter-reset: toc-counter;
}
.ks-mvp-toc__list li {
    counter-increment: toc-counter;
    margin-bottom: 12px;
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    line-height: 1.45;
}
.ks-mvp-toc__list li::before {
    content: counter(toc-counter, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #c4c4c0;
    font-weight: 600;
}
.ks-mvp-toc__list a {
    color: #2a2a2a;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s;
}
.ks-mvp-toc__list a:hover {
    color: #0f1419;
    border-bottom-color: #0f1419;
}
.ks-mvp-toc__cta {
    background: #0f1419;
    color: white;
    padding: 20px 24px;
    margin-top: 24px;
}
.ks-mvp-toc__cta-h {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px;
    color: white;
}
.ks-mvp-toc__cta-btn {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #0f1419;
    background: white;
    padding: 10px 16px;
    text-decoration: none;
    letter-spacing: 0.02em;
}
.ks-mvp-toc__cta-btn:hover { background: #f4f1ea; }
