/* ==========================================================================
   Kennisbank Article — "Clinical Editorial" enhancement layer
   Scoped under .article-enhanced so it only affects opt-in article pages.
   Uses the brand Inter font throughout; adds editorial rhythm, refined
   callouts, custom list markers and a scholarly references block.
   ========================================================================== */

.article-enhanced {
    --ce-ink:        #16202c;   /* near-black headings */
    --ce-body:       #3a4654;   /* readable body */
    --ce-muted:      #6b7787;   /* captions, meta */
    --ce-blue:       #2563eb;   /* brand primary */
    --ce-blue-deep:  #1d4ed8;
    --ce-blue-wash:  #f3f7ff;   /* faint blue panel */
    --ce-line:       #e7ecf2;   /* hairlines */
    --ce-paper:      #fbfcfe;   /* off-white panels */
    /* keep the brand sans everywhere for site-wide consistency */
    --ce-head: 'Inter', system-ui, sans-serif;
}

/* ---- Reading measure & rhythm ------------------------------------------- */
.article-enhanced .article-content {
    max-width: 720px;
    font-size: 1.07rem;
    line-height: 1.78;
    color: var(--ce-body);
}
.article-enhanced .article-content > p {
    margin-bottom: 1.4rem;
}

/* ---- Hero / H1 ----------------------------------------------------------- */
.article-enhanced .article-hero {
    background:
        radial-gradient(120% 140% at 100% 0%, var(--ce-blue-wash) 0%, transparent 55%),
        #ffffff;
    border-bottom: 1px solid var(--ce-line);
}
.article-enhanced .article-hero .container { position: relative; }
.article-enhanced .article-hero h1 {
    font-family: var(--ce-head);
    font-weight: 800;
    font-size: clamp(1.95rem, 4vw, 2.6rem);
    letter-spacing: -0.025em;
    line-height: 1.18;
    color: var(--ce-ink);
    max-width: 16ch;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}
/* editorial kicker above the H1 */
.article-enhanced .breadcrumbs + h1::before,
.article-enhanced .article-hero h1::before {
    content: "Kennisbank · Knie";
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ce-blue);
    margin-bottom: 0.9rem;
}
.article-enhanced .article-meta span {
    background: #fff;
    border: 1px solid var(--ce-line);
    color: var(--ce-muted);
}

/* ---- Lead paragraph ------------------------------------------------------ */
.article-enhanced .article-content .lead {
    font-size: 1.26rem;
    line-height: 1.62;
    color: var(--ce-ink);
    font-weight: 400;
    letter-spacing: -0.01em;
    margin: 0 0 2rem;
    padding-left: 1.25rem;
    border-left: 3px solid var(--ce-blue);
}

/* ---- Section headings ---------------------------------------------------- */
.article-enhanced .article-content h2 {
    font-family: var(--ce-head);
    font-weight: 750;
    font-size: clamp(1.4rem, 2.4vw, 1.7rem);
    letter-spacing: -0.02em;
    line-height: 1.28;
    color: var(--ce-ink);
    border-bottom: none;
    padding-bottom: 0;
    margin: 3rem 0 1.1rem;
}
.article-enhanced .article-content h2::before {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--ce-blue), var(--ce-accent, #60a5fa));
    margin-bottom: 1.1rem;
}
.article-enhanced .article-content h2:first-child { margin-top: 0; }
.article-enhanced .article-content h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.18rem;
    letter-spacing: -0.005em;
    color: var(--ce-ink);
    margin: 2rem 0 0.85rem;
}

/* ---- Symptom / fact lists with custom check markers ---------------------- */
.article-enhanced .symptom-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 1.6rem;
    display: grid;
    gap: 0.55rem;
}
.article-enhanced .symptom-list li {
    position: relative;
    padding: 0.15rem 0 0.15rem 2rem;
    color: var(--ce-body);
    line-height: 1.6;
}
.article-enhanced .symptom-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.32rem;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: var(--ce-blue-wash);
    box-shadow: inset 0 0 0 1px rgba(37,99,235,0.18);
}
.article-enhanced .symptom-list li::after {
    content: "";
    position: absolute;
    left: 0.42rem;
    top: 0.55rem;
    width: 0.34rem;
    height: 0.62rem;
    border: solid var(--ce-blue);
    border-width: 0 2px 2px 0;
    transform: rotate(42deg);
}
@media (min-width: 620px) {
    .article-enhanced .symptom-list.cols-2 {
        grid-template-columns: 1fr 1fr;
        column-gap: 2rem;
    }
}

/* ---- Callouts — one quiet, cohesive treatment ---------------------------
   info-box, medical-box and warning-box share a single restrained card so
   they read as the same family and sit calmly within the article.        */
.article-enhanced .info-box,
.article-enhanced .medical-box,
.article-enhanced .warning-box {
    display: block;
    background: #f9fafb;
    border: 1px solid var(--ce-line);
    border-left: 3px solid var(--ce-blue);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    box-shadow: none;
}
.article-enhanced .info-box::before { content: none; }   /* drop the icon badge */

.article-enhanced .info-box p,
.article-enhanced .medical-box p,
.article-enhanced .warning-box p {
    margin: 0 0 0.6rem;
    color: var(--ce-body);
    line-height: 1.7;
}
.article-enhanced .info-box p:last-child,
.article-enhanced .medical-box p:last-child,
.article-enhanced .warning-box p:last-child { margin-bottom: 0; }
.article-enhanced .info-box strong,
.article-enhanced .medical-box strong { color: var(--ce-blue-deep); font-weight: 700; }

/* small label heading for the "Vuistregel" note */
.article-enhanced .medical-box h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--ce-muted);
    margin: 0 0 0.55rem;
}

/* warning keeps the same calm card, only a muted amber accent + heading */
.article-enhanced .warning-box {
    border-left-color: #d9923c;
}
.article-enhanced .warning-box h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: #8a5a1c;
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.article-enhanced .warning-box h3::before {
    content: "\f071"; /* exclamation-triangle */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #d9923c;
    font-size: 0.85rem;
}
.article-enhanced .warning-box ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.article-enhanced .warning-box li { color: var(--ce-body); margin-bottom: 0.4rem; }

/* ---- Comparison table — clean editorial ---------------------------------- */
.article-enhanced .table-container {
    margin: 2rem 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--ce-line);
    box-shadow: 0 1px 3px rgba(16,32,44,0.04);
}
.article-enhanced .comparison-table {
    margin: 0;
    box-shadow: none;
    border-radius: 0;
    font-size: 1rem;
}
.article-enhanced .comparison-table th {
    background: var(--ce-ink);
    font-size: 0.74rem;
    letter-spacing: 0.09em;
}
.article-enhanced .comparison-table td:first-child {
    font-weight: 600;
    color: var(--ce-ink);
}

/* ---- FAQ — polished journal Q&A ------------------------------------------ */
.article-enhanced .faq-list {
    margin: 1.5rem 0 0;
    display: grid;
    gap: 0.85rem;
}
.article-enhanced .faq-item {
    background: #fff;
    border: 1px solid var(--ce-line);
    border-radius: 14px;
    padding: 1.4rem 1.6rem 1.4rem 3.4rem;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.article-enhanced .faq-item::before {
    content: "Q";
    position: absolute;
    left: 1.3rem;
    top: 1.35rem;
    width: 1.5rem;
    height: 1.5rem;
    display: grid;
    place-items: center;
    font-family: var(--ce-head);
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--ce-blue);
    background: var(--ce-blue-wash);
    border-radius: 7px;
}
.article-enhanced .faq-item:hover {
    border-color: #cdd9ee;
    box-shadow: 0 6px 20px rgba(16,32,44,0.07);
    transform: translateY(-1px);
}
.article-enhanced .faq-question {
    font-family: 'Inter', sans-serif;
    font-size: 1.06rem;
    font-weight: 600;
    color: var(--ce-ink);
    margin: 0 0 0.55rem;
    line-height: 1.45;
}
.article-enhanced .faq-answer {
    color: var(--ce-body);
    line-height: 1.7;
    margin: 0;
}

/* ---- Scholarly references block (replaces the loud blue box) ------------- */
.article-sources {
    margin: 2.75rem 0 0.5rem;
    padding: 1.5rem 1.7rem 1.6rem;
    background: var(--ce-paper);
    border: 1px solid var(--ce-line);
    border-radius: 14px;
}
.article-sources .sources-label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ce-muted);
    margin: 0 0 0.9rem;
}
.article-sources .sources-label::before {
    content: "\f02d"; /* book */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--ce-blue);
    font-size: 0.82rem;
}
.article-sources p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--ce-muted);
    margin: 0;
}
.article-sources cite,
.article-sources em { font-style: italic; color: var(--ce-body); }

/* Related-cards + CTA headings keep the site's existing Inter styling. */

/* ---- Mobile tightening --------------------------------------------------- */
@media (max-width: 768px) {
    .article-enhanced .article-content { font-size: 1.02rem; }
    .article-enhanced .article-content .lead { font-size: 1.14rem; }
    .article-enhanced .faq-item { padding-left: 3rem; }
}
