/* Extracted from app/pages/article.php */
:root {
    --navy:     #0f2744;
    --navy-mid: #1a3a5c;
    --red:      #c0392b;
    --red-dk:   #9b2c22;
    --red-bg:   #fef2f2;
    --gold:     #b45309;
    --gold-bg:  #fefce8;
    --ink:      #111827;
    --ink-2:    #374151;
    --ink-3:    #6b7280;
    --ink-4:    #9ca3af;
    --surface:  #ffffff;
    --bg:       #f8f7f5;
    --bg-2:     #f1f0ee;
    --border:   #e5e7eb;
    --ff-serif: 'Merriweather', Georgia, serif;
    --ff-sans:  'Source Sans 3', system-ui, sans-serif;
    --ease:     cubic-bezier(.4,0,.2,1);
    --sh:       0 1px 3px rgba(0,0,0,.05), 0 4px 16px rgba(0,0,0,.07);
    --sh-h:     0 8px 32px rgba(0,0,0,.13);
    --r-sm:     6px;
    --r-md:     10px;
    --r-lg:     16px;
}


*, *::before, *::after { box-sizing: border-box; }

html {
    font-size: 16px; /* 16 base, scales up at 900px */
    scroll-behavior: smooth;
}
@media (min-width: 900px) { html { font-size: 17px; } }

body {
    font-family: var(--ff-sans);
    background:
        linear-gradient(180deg, #f3f5f8 0, var(--bg) 280px),
        var(--bg);
    color: var(--ink-2);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    max-width: 100vw;
    margin: 0;
}
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
img { display: block; max-width: 100%; height: auto; }


#rp {
    position: fixed; top: 0; left: 0; height: 3px; z-index: 9999;
    background: linear-gradient(90deg, var(--red), var(--gold));
    width: 0%; transition: width .08s linear; pointer-events: none;
}


.wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    overflow: visible;
}
@media (max-width: 600px) { .wrap { padding: 0 12px; } }

.page-grid {
    display: grid;
    grid-template-columns: minmax(0, 860px) 308px;
    gap: 36px;
    padding: 28px 0 80px;
    align-items: start;
    justify-content: center;
}
@media (max-width: 1060px) {
    .page-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 20px 0 52px; }
}
@media (max-width: 599px) { .page-grid { gap: 20px; padding: 14px 0 36px; } }


.bc-bar { background: var(--surface); border-bottom: 1px solid var(--border); padding: 13px 0; }
.bc-ol  { display: flex; align-items: flex-start; flex-wrap: wrap; list-style: none; font-size: .8rem; color: var(--ink-3); max-width: 100%; margin: 0; padding: 0; }
.bc-ol li { display: flex; align-items: center; min-width: 0; }
.bc-ol a  { color: var(--ink-3); font-weight: 500; white-space: nowrap; }
.bc-ol a:hover { color: var(--red); }
.bc-sep { margin: 0 8px; font-size: .6rem; color: var(--ink-4); flex-shrink: 0; }
.bc-cur { color: var(--ink); font-weight: 600; overflow-wrap: break-word; word-break: break-word; }


.art-card {
    background: var(--surface);
    border: 1px solid rgba(15,39,68,.08);
    border-radius: 8px;
    box-shadow: 0 14px 40px rgba(15,39,68,.08);
    overflow: hidden;
    min-width: 0;
    width: 100%;
}

.hero-wrap { position: relative; overflow: hidden; background: var(--bg-2); aspect-ratio: 16/6.4; max-height: 430px; width: 100%; }
.hero-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-wrap::after { content: ''; position: absolute; inset: auto 0 0; height: 36%; background: linear-gradient(180deg, transparent, rgba(15,39,68,.48)); pointer-events: none; }
.hero-cat { position: absolute; bottom: 18px; left: 22px; z-index: 1; background: rgba(15,39,68,.92); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 6px 14px; border-radius: 6px; pointer-events: none; }

.art-head { padding: 38px 48px 26px; }
@media (max-width: 640px) { .art-head { padding: 18px 14px 16px; } }
@media (max-width: 640px) {
    .art-h1 {
        font-size: 1.62rem;
        line-height: 1.2;
        max-width: 100%;
        margin-bottom: 18px;
    }
    .art-eyebrow {
        font-size: .68rem;
        line-height: 1.55;
    }
}

.art-eyebrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .73rem; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.art-eyebrow a { color: var(--red); }
.art-eyebrow a:hover { color: var(--red-dk); }
.ey-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-4); flex-shrink: 0; }

.art-h1 { font-family: var(--ff-serif); font-size: clamp(1.75rem, 4.2vw, 3rem); font-weight: 900; line-height: 1.14; color: var(--navy); margin-bottom: 22px; letter-spacing: 0; overflow-wrap: break-word; word-break: break-word; max-width: 14.5em; }

.art-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: .83rem; color: var(--ink-3); padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.am-item { display: flex; align-items: center; gap: 6px; min-width: 0; }
.am-item i { font-size: .7rem; color: var(--ink-4); flex-shrink: 0; }
.am-item a { color: var(--ink-3); overflow-wrap: break-word; }
.am-item a:hover { color: var(--red); }
.am-profession { background: var(--gold-bg); border: 1px solid rgba(180,83,9,.2); border-radius: 30px; padding: 3px 11px; font-weight: 700; font-size: .78rem; color: var(--gold) !important; }
.am-profession i { color: var(--gold) !important; }
.cat-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-2); color: var(--ink-2); padding: 4px 12px; border-radius: 30px; font-size: .77rem; font-weight: 700; border: 1px solid var(--border); transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.cat-chip:hover { background: var(--red); color: #fff; border-color: var(--red); }

.article-brief {
    margin: 0 48px 24px;
    border: 1px solid rgba(15,39,68,.12);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    overflow: hidden;
}
.brief-intro {
    padding: 20px 22px;
    border-left: 4px solid var(--red);
    border-bottom: 1px solid var(--border);
}
.brief-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 8px;
}
.brief-intro p {
    margin: 0;
    font-family: var(--ff-sans);
    color: var(--ink-2);
    font-size: 1rem;
    line-height: 1.65;
}
.brief-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.brief-item {
    padding: 16px 18px;
    border-right: 1px solid var(--border);
    min-width: 0;
}
.brief-item:last-child { border-right: 0; }
.brief-label {
    display: block;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .9px;
    text-transform: uppercase;
    color: var(--ink-4);
    margin-bottom: 4px;
}
.brief-value {
    display: block;
    color: var(--navy);
    font-weight: 700;
    font-size: .88rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
@media (max-width: 760px) {
    .article-brief { margin: 0 14px 18px; }
    .brief-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .brief-item:nth-child(2) { border-right: 0; }
    .brief-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 420px) {
    .brief-grid { grid-template-columns: 1fr; }
    .brief-item { border-right: 0; border-bottom: 1px solid var(--border); }
    .brief-item:last-child { border-bottom: 0; }
}

/* Listen bar */
.listen-bar { margin: 0 48px 0; display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg, #fffdf5, #fff8e6); border: 1.5px solid rgba(180,83,9,.2); border-radius: 8px; padding: 12px 18px; overflow: hidden; }
@media (max-width: 640px) { .listen-bar { margin: 14px 14px 0; gap: 10px; padding: 10px 12px; flex-wrap: wrap; } }
.lb-icon { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; border: 1px solid rgba(180,83,9,.16); }
.lb-text { min-width: 0; flex: 1; }
.lb-text strong { display: block; font-size: .87rem; color: var(--ink); }
.lb-text span   { font-size: .72rem; color: var(--ink-3); }
.lb-btn { flex-shrink: 0; background: linear-gradient(135deg, #e05a1e, #f08020); color: #fff; border: none; border-radius: 8px; padding: 9px 14px; font-size: .77rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; cursor: pointer; font-family: inherit; box-shadow: 0 3px 12px rgba(224,90,30,.3); transition: transform .2s, box-shadow .2s; white-space: nowrap; }
@media (max-width: 400px) { .lb-btn { width: 100%; text-align: center; } }
.lb-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(224,90,30,.4); }

/* TOC */
.toc-wrap { margin: 24px 48px; background: #fffaf0; border: 1px solid rgba(180,83,9,.18); border-radius: 8px; padding: 18px 22px; overflow: hidden; }
@media (max-width: 640px) { .toc-wrap { margin: 14px 14px; padding: 14px 14px; } }
.toc-head { display: flex; align-items: center; gap: 8px; font-family: var(--ff-serif); font-size: .97rem; font-weight: 700; color: var(--gold); cursor: pointer; user-select: none; }
.toc-head i.chevron { margin-left: auto; font-size: .8rem; transition: transform .22s; flex-shrink: 0; }
.toc-head.collapsed .chevron { transform: rotate(-90deg); }
.toc-ol { list-style: none; margin-top: 14px; padding: 0; }
.toc-ol li { border-bottom: 1px solid rgba(180,83,9,.1); }
.toc-ol li:last-child { border: none; }
.toc-ol a { display: block; padding: 7px 0; font-size: .87rem; color: var(--ink-2); font-weight: 500; transition: color .18s, padding-left .18s; overflow-wrap: break-word; }
.toc-ol a:hover { color: var(--gold); padding-left: 5px; }
.toc-h3 { padding-left: 18px !important; font-weight: 400; font-size: .83rem !important; }
.toc-h4 { padding-left: 34px !important; font-weight: 400; font-size: .8rem !important; opacity: .92; }


.art-body { padding: 34px 48px 42px; font-family: var(--ff-serif); font-size: 1.06rem; line-height: 1.92; color: #243044; overflow-wrap: break-word; word-break: break-word; overflow-x: hidden; min-width: 0; }
@media (max-width: 640px) { .art-body { padding: 16px 14px 24px; font-size: .97rem; } }

.art-body > *:first-child { margin-top: 0; }
.art-body p { margin: 0 0 1.35em; overflow-wrap: break-word; }
.art-body h2 { font-family: var(--ff-serif); font-size: clamp(1.28rem, 3.5vw, 1.72rem); font-weight: 900; color: var(--navy); line-height: 1.22; margin: 2.2em 0 .85em; padding-bottom: .55em; border-bottom: 1px solid var(--border); scroll-margin-top: 90px; overflow-wrap: break-word; position: relative; }
.art-body h2::before { content: ''; position: absolute; left: 0; bottom: -1px; width: 72px; height: 2px; background: var(--red); }
.art-body h3 { font-family: var(--ff-serif); font-size: clamp(1.08rem, 3vw, 1.28rem); font-weight: 800; color: var(--navy-mid); line-height: 1.3; margin: 1.85em 0 .7em; scroll-margin-top: 90px; overflow-wrap: break-word; }
.art-body h4 { font-family: var(--ff-sans); font-size: .94rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); margin: 1.7em 0 .55em; overflow-wrap: break-word; }
.art-body ul, .art-body ol { margin: 0 0 1.45em 1.35em; padding-left: .45em; }
.art-body li { margin-bottom: .55em; padding-left: .15em; }
.art-body li::marker { color: var(--red); font-weight: 800; }
.art-body a { color: var(--navy-mid); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(26,58,92,.3); text-underline-offset: 3px; overflow-wrap: break-word; word-break: break-all; }
.art-body a:hover { color: var(--red); text-decoration-color: var(--red); }
.art-body blockquote { margin: 1.9em 0; padding: 18px 22px; border-left: 4px solid var(--navy); background: #f8fafc; border-radius: 0 8px 8px 0; font-style: italic; color: var(--ink-2); overflow-wrap: break-word; box-shadow: inset 0 0 0 1px rgba(15,39,68,.05); }
.art-body blockquote p:last-child { margin: 0; }
.art-body img { max-width: 100%; width: 100%; height: auto; border-radius: 8px; margin: 1.7em 0; box-shadow: 0 8px 24px rgba(15,39,68,.1); }
.art-body figure { margin: 1.8em 0; max-width: 100%; overflow: hidden; }
.art-body figcaption { font-family: var(--ff-sans); font-size: .8rem; color: var(--ink-3); text-align: center; margin-top: .5em; font-style: italic; }

/* Article tables */
.art-body .table-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 1.9em 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #d8dee8;
    border-radius: var(--r-md);
    background: #fff;
    box-shadow: 0 8px 26px rgba(15, 39, 68, .08);
}
.art-body .table-wrapper::-webkit-scrollbar { height: 10px; }
.art-body .table-wrapper::-webkit-scrollbar-track { background: #eef2f7; border-radius: 999px; }
.art-body .table-wrapper::-webkit-scrollbar-thumb { background: #9aa8bb; border-radius: 999px; border: 2px solid #eef2f7; }
.art-body table {
    width: 100%;
    min-width: 620px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    font-family: var(--ff-sans);
    font-size: .9rem;
    line-height: 1.45;
    color: #1f2937;
}
.art-body table caption {
    caption-side: top;
    padding: 12px 16px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--navy);
    text-align: left;
    background: #f8fafc;
    border-bottom: 1px solid #d8dee8;
}
.art-body th,
.art-body td {
    padding: 12px 14px;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: top;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}
.art-body th:last-child,
.art-body td:last-child { border-right: 0; }
.art-body tr:last-child td { border-bottom: 0; }
.art-body th {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    color: var(--navy);
    font-weight: 800;
}
.art-body thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    box-shadow: inset 0 -1px 0 #d8dee8;
}
.art-body tbody tr:nth-child(even) td { background: #fbfcfe; }
.art-body tbody tr:hover td { background: #fff8ed; }
.art-body td p:last-child,
.art-body th p:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
    .art-body .table-wrapper {
        margin: 1.4em -2px;
        border-radius: var(--r-sm);
    }
    .art-body table {
        min-width: 560px;
        font-size: .82rem;
    }
    .art-body th,
    .art-body td {
        padding: 10px 11px;
    }
}

/* Code */
.art-body pre { background: #1e293b; color: #e2e8f0; padding: 16px 18px; border-radius: var(--r-md); overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: .85rem; margin: 1.8em 0; line-height: 1.6; max-width: 100%; white-space: pre; }
.art-body code:not(pre code) { background: var(--bg-2); color: var(--red-dk); padding: 2px 6px; border-radius: 4px; font-size: .9em; overflow-wrap: break-word; word-break: break-all; }

/* iFrames */
.art-body iframe { width: 100%; max-width: 100%; aspect-ratio: 16/9; border: none; border-radius: var(--r-md); margin: 1.8em 0; display: block; }
.art-body iframe[width], .art-body iframe[height] { width: 100% !important; height: auto !important; aspect-ratio: 16/9; }
.art-body .twitter-tweet, .art-body .instagram-media { max-width: 100% !important; width: 100% !important; }


.sec-box { margin: 0 40px 26px; padding: 22px 26px; border-radius: var(--r-md); overflow-wrap: break-word; word-break: break-word; overflow: hidden; }
@media (max-width: 640px) { .sec-box { margin: 0 14px 20px; padding: 16px 14px; } }

.kw-box { background: var(--bg-2); border: 1px solid var(--border); }
.kw-label { font-family: var(--ff-sans); font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.3px; color: var(--ink-3); margin-bottom: 12px; display: flex; align-items: center; gap: 7px; }
.kw-list { display: flex; flex-wrap: wrap; gap: 8px; }
.kw-tag { font-family: var(--ff-sans); font-size: .79rem; font-weight: 500; padding: 4px 13px; border-radius: 30px; background: var(--surface); border: 1px solid var(--border); color: var(--ink-2); transition: all .18s; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.kw-tag:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.author-box { display: flex; align-items: center; gap: 18px; background: var(--surface); border: 1px solid var(--border); }
@media (max-width: 560px) { .author-box { flex-direction: column; text-align: center; align-items: center; } }
.ab-avatar { width: 66px; height: 66px; border-radius: 50%; flex-shrink: 0; background: var(--bg-2); overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; color: var(--navy-mid); border: 3px solid var(--border); }
.ab-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ab-name { font-family: var(--ff-serif); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; overflow-wrap: break-word; }
.ab-name a { color: var(--navy); }
.ab-name a:hover { color: var(--red); }
.ab-pos  { font-size: .82rem; color: var(--ink-3); margin-bottom: 5px; overflow-wrap: break-word; }
.ab-bio  { font-family: var(--ff-sans); font-size: .83rem; color: var(--ink-2); line-height: 1.55; overflow-wrap: break-word; }

.disc-box { background: var(--red-bg); border: 1px solid rgba(192,57,43,.14); }
.disc-hd  { display: flex; align-items: center; gap: 9px; font-family: var(--ff-serif); font-size: .98rem; font-weight: 700; color: #9b2c22; margin-bottom: 11px; }
.disc-box p { font-family: var(--ff-sans); font-size: .85rem; line-height: 1.65; margin-bottom: .65em; overflow-wrap: break-word; }
.disc-box p:last-child { margin: 0; }

.share-box { background: var(--bg-2); border: 1px solid var(--border); display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.share-lbl { font-family: var(--ff-sans); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--ink-3); white-space: nowrap; }
.sh-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.shb { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 30px; font-family: var(--ff-sans); font-size: .79rem; font-weight: 600; color: #fff; border: none; cursor: pointer; transition: transform .18s, opacity .18s; white-space: nowrap; }
.shb:hover { transform: translateY(-2px); opacity: .9; }
.shb-tw { background: #1da1f2; } .shb-li { background: #0a66c2; }
.shb-fb { background: #1877f2; } .shb-wa { background: #25d366; }
.shb-cp { background: var(--ink-3); }

.nl-box { margin: 0 40px 26px; padding: 28px 30px; background: linear-gradient(135deg, var(--navy), var(--navy-mid)); border-radius: var(--r-lg); color: #fff; overflow: hidden; }
@media (max-width: 640px) { .nl-box { margin: 0 14px 20px; padding: 20px 16px; } }
.nl-title { font-family: var(--ff-serif); font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 7px; }
.nl-sub   { font-family: var(--ff-sans); font-size: .86rem; opacity: .8; margin-bottom: 18px; }
.nl-form  { display: flex; gap: 10px; flex-wrap: wrap; }
.nl-in    { flex: 1; min-width: 140px; padding: 10px 14px; border: 1.5px solid rgba(255,255,255,.22); border-radius: var(--r-sm); background: rgba(255,255,255,.1); color: #fff; font-size: .91rem; font-family: inherit; max-width: 100%; }
.nl-in::placeholder { color: rgba(255,255,255,.5); }
.nl-in:focus { outline: none; border-color: rgba(255,255,255,.5); }
.nl-btn  { padding: 10px 18px; border: none; border-radius: var(--r-sm); background: var(--red); color: #fff; font-family: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background .18s; }
.nl-btn:hover { background: var(--red-dk); }
.nl-note { font-family: var(--ff-sans); font-size: .73rem; opacity: .65; margin-top: 10px; }
@media (max-width: 400px) { .nl-in, .nl-btn { width: 100%; flex: none; } }

.pn-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 40px; padding: 28px 0; border-top: 2px solid var(--border); }
@media (max-width: 640px) { .pn-nav { margin: 0 14px; grid-template-columns: 1fr; gap: 10px; } }
.pn-btn { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); transition: border-color .2s, box-shadow .2s, transform .2s; min-width: 0; overflow: hidden; }
.pn-btn:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: var(--sh-h); }
.pn-btn.next { flex-direction: row-reverse; text-align: right; }
.pn-btn.dis  { opacity: .38; pointer-events: none; }
.pn-arrow { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; background: var(--bg-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: .8rem; color: var(--navy); transition: background .18s, color .18s; }
.pn-btn:hover .pn-arrow { background: var(--red); color: #fff; border-color: var(--red); }
.pn-dir   { font-family: var(--ff-sans); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-3); margin-bottom: 3px; }
.pn-title { font-family: var(--ff-sans); font-size: .88rem; font-weight: 600; color: var(--navy); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: break-word; }


.cmts-wrap { margin-top: 36px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh); padding: 34px 40px; overflow: hidden; }
@media (max-width: 640px) { .cmts-wrap { padding: 18px 14px; } }
.cmts-hd { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; padding-bottom: 16px; border-bottom: 2px solid var(--border); }
.cmts-hd h2 { font-family: var(--ff-serif); font-size: 1.35rem; color: var(--navy); display: flex; align-items: center; gap: 9px; margin: 0; }
.cmt-badge { background: var(--navy); color: #fff; font-family: var(--ff-sans); font-size: .73rem; font-weight: 700; padding: 3px 11px; border-radius: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.fg { margin-bottom: 16px; }
.fg label { display: block; margin-bottom: 5px; font-family: var(--ff-sans); font-size: .83rem; font-weight: 600; color: var(--ink); }
.fg input, .fg textarea { width: 100%; max-width: 100%; padding: 10px 13px; border: 1.5px solid var(--border); border-radius: var(--r-sm); font-family: var(--ff-sans); font-size: .93rem; color: var(--ink); background: var(--bg); transition: border-color .18s, box-shadow .18s; box-sizing: border-box; }
.fg input:focus, .fg textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15,39,68,.08); background: var(--surface); }
.fg textarea { min-height: 115px; resize: vertical; }
.char-count { text-align: right; font-size: .73rem; color: var(--ink-4); margin-top: 3px; }
.cmt-submit { display: inline-flex; align-items: center; gap: 8px; padding: 11px 26px; border: none; border-radius: var(--r-sm); background: var(--navy); color: #fff; font-family: var(--ff-sans); font-size: .91rem; font-weight: 700; cursor: pointer; transition: background .18s, transform .18s; }
.cmt-submit:hover { background: var(--navy-mid); transform: translateY(-1px); }
@media (max-width: 767px) { .cmt-submit { width: 100%; justify-content: center; } }
.cmt-item { padding: 18px 0; border-bottom: 1px solid var(--border); overflow-wrap: break-word; }
.cmt-item:last-child { border: none; }
.cmt-head { display: flex; align-items: center; gap: 11px; margin-bottom: 9px; }
.cmt-av   { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, var(--navy), var(--navy-mid)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: .95rem; }
.cmt-name { font-family: var(--ff-sans); font-weight: 700; color: var(--navy); font-size: .93rem; overflow-wrap: break-word; }
.cmt-date { font-family: var(--ff-sans); font-size: .75rem; color: var(--ink-4); margin-top: 1px; }
.cmt-text { font-family: var(--ff-sans); font-size: .91rem; line-height: 1.65; color: var(--ink-2); overflow-wrap: break-word; }
.no-cmts  { text-align: center; padding: 44px 20px; color: var(--ink-3); }
.no-cmts i { font-size: 2.2rem; color: var(--border); display: block; margin-bottom: 13px; }


.sidebar { align-self: start; display: flex; flex-direction: column; gap: 22px; min-width: 0; height: fit-content; }

@media (min-width: 1061px) {
    .sidebar {
        position: sticky;
        top: 20px;
        height: fit-content;
    }
}

@media (max-width: 1060px) and (min-width: 600px) {
    .sidebar { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "author aisummary" "premium category" "popular popular"; align-items: stretch; gap: 18px; }
    .sw { padding: 18px; }
    .sw-widget-author    { grid-area: author;    display: flex; flex-direction: column; }
    .sw-widget-aisummary { grid-area: aisummary; display: flex; flex-direction: column; }
    .sw-widget-premium   { grid-area: premium;   display: flex; flex-direction: column; }
    .sw-widget-category  { grid-area: category;  display: flex; flex-direction: column; }
    .sw-widget-popular   { grid-area: popular; }
}
@media (max-width: 599px) { .sidebar { position: static; display: flex; flex-direction: column; gap: 16px; } .sw { padding: 16px; } }

.sw { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh); padding: 22px; overflow: visible; min-width: 0; }
.sw-title { font-family: var(--ff-serif); font-size: 1.05rem; color: var(--navy); display: flex; align-items: center; gap: 8px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.sw-title i { color: var(--red); font-size: .95rem; flex-shrink: 0; }

.sw-auth { text-align: center; }
.sw-auth-img { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 13px; background: var(--bg-2); overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--navy-mid); border: 3px solid var(--border); }
.sw-auth-img img { width: 100%; height: 100%; object-fit: cover; }
.sw-auth-name { font-family: var(--ff-serif); font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; overflow-wrap: break-word; }
.sw-auth-name a { color: var(--navy); }
.sw-auth-name a:hover { color: var(--red); }
.sw-auth-pos { font-family: var(--ff-sans); font-size: .8rem; color: var(--ink-3); overflow-wrap: break-word; }

.pop-item { display: flex; gap: 11px; padding: 9px 0; border-bottom: 1px solid var(--border); min-width: 0; }
.pop-item:last-child { border: none; }
.pop-n { min-width: 24px; width: 24px; height: 24px; border-radius: 5px; flex-shrink: 0; background: var(--bg-2); color: var(--ink-3); display: flex; align-items: center; justify-content: center; font-family: var(--ff-sans); font-size: .75rem; font-weight: 700; }
.pop-item:nth-child(1) .pop-n { background: var(--red);   color: #fff; }
.pop-item:nth-child(2) .pop-n { background: var(--navy);  color: #fff; }
.pop-item:nth-child(3) .pop-n { background: var(--ink-3); color: #fff; }
.pop-title { font-family: var(--ff-sans); font-size: .86rem; font-weight: 600; color: var(--ink-2); line-height: 1.35; margin-bottom: 2px; overflow-wrap: break-word; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pop-title:hover { color: var(--red); }
.pop-v { font-family: var(--ff-sans); font-size: .73rem; color: var(--ink-4); }

.sw-premium { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); color: #fff; }
.sw-premium .sw-title { color: #fff; border-bottom-color: rgba(255,255,255,.15); }
.sw-premium .sw-title i { color: #f6cc4f; }
.prem-p   { font-family: var(--ff-sans); font-size: .86rem; opacity: .85; margin-bottom: 16px; line-height: 1.55; }
.prem-btn { display: block; text-align: center; padding: 11px; background: var(--red); color: #fff; border-radius: var(--r-sm); font-family: var(--ff-sans); font-weight: 700; font-size: .88rem; transition: background .18s; }
.prem-btn:hover { background: var(--red-dk); color: #fff; }

/* AI Summarizer */
.ai-sum-btn { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; padding: 13px 16px; background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; border: none; border-radius: var(--r-md); font-family: var(--ff-sans); font-size: .95rem; font-weight: 700; cursor: pointer; transition: opacity .2s, transform .2s; box-shadow: 0 4px 16px rgba(79,70,229,.3); }
.ai-sum-btn:hover    { opacity: .92; transform: translateY(-2px); }
.ai-sum-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.ai-sum-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(3px); z-index: 20000; display: none; align-items: center; justify-content: center; padding: 16px; }
.ai-sum-overlay.open { display: flex; }
.ai-sum-modal { background: var(--surface); border-radius: var(--r-lg); width: 100%; max-width: 640px; max-height: 88vh; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,.25); animation: ai-slide-up .25s ease; }
@keyframes ai-slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.ai-sum-modal-hd { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px 16px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.ai-sum-modal-hd h3 { font-family: var(--ff-serif); font-size: 1.15rem; color: var(--navy); display: flex; align-items: center; gap: 9px; margin: 0; }
.ai-sum-modal-hd h3 i { color: #7c3aed; }
.ai-sum-close-btn { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-2); border: none; cursor: pointer; font-size: 1.1rem; color: var(--ink-3); display: flex; align-items: center; justify-content: center; transition: background .18s, color .18s; }
.ai-sum-close-btn:hover { background: var(--red); color: #fff; }
.ai-sum-modal-body { padding: 22px; overflow-y: auto; flex: 1; scrollbar-width: thin; }
.ai-sum-loader { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; gap: 16px; color: var(--ink-3); font-family: var(--ff-sans); font-size: .92rem; }
.ai-sum-spinner { width: 40px; height: 40px; border: 3px solid var(--border); border-top-color: #7c3aed; border-radius: 50%; animation: ai-spin .8s linear infinite; }
@keyframes ai-spin { to { transform: rotate(360deg); } }
.ai-sum-content { font-family: var(--ff-sans); }
.ai-sum-section { margin-bottom: 20px; }
.ai-sum-section-title { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; color: #7c3aed; margin-bottom: 10px; display: flex; align-items: center; gap: 7px; }
.ai-sum-text { font-size: .96rem; line-height: 1.72; color: var(--ink-2); }
.ai-sum-points { list-style: none; padding: 0; margin: 0; }
.ai-sum-points li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; line-height: 1.65; color: var(--ink-2); padding: 6px 0; border-bottom: 1px solid var(--border); }
.ai-sum-points li:last-child { border: none; }
.ai-sum-points li::before { content: '\2192'; color: #7c3aed; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.ai-sum-verdict { background: linear-gradient(135deg, #f5f3ff, #ede9fe); border: 1px solid rgba(124,58,237,.2); border-radius: var(--r-md); padding: 14px 16px; font-size: .92rem; line-height: 1.65; color: var(--ink-2); font-style: italic; }
.ai-sum-error { text-align: center; padding: 30px 20px; font-family: var(--ff-sans); color: var(--ink-3); }
.ai-sum-error i { font-size: 2.5rem; color: var(--red); margin-bottom: 12px; display: block; }
.ai-sum-modal-ft { padding: 14px 22px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; background: var(--bg); }
.ai-sum-ft-note { font-family: var(--ff-sans); font-size: .75rem; color: var(--ink-4); }
.ai-sum-copy-btn { display: flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: var(--r-sm); background: var(--navy); color: #fff; border: none; font-family: var(--ff-sans); font-size: .82rem; font-weight: 700; cursor: pointer; transition: background .18s; }
.ai-sum-copy-btn:hover { background: #7c3aed; }
@media (max-width: 640px) { .ai-sum-modal { max-height: 93vh; } .ai-sum-modal-hd { padding: 14px 16px; } .ai-sum-modal-body { padding: 14px; } .ai-sum-modal-ft { flex-direction: column; gap: 10px; align-items: stretch; } .ai-sum-copy-btn { justify-content: center; } }


.related-wrap { margin-top: 52px; overflow: hidden; }
.rel-title { font-family: var(--ff-serif); font-size: 1.5rem; color: var(--navy); margin-bottom: 24px; padding-bottom: 13px; border-bottom: 2px solid var(--border); display: flex; align-items: center; gap: 10px; }
.rel-title i { color: var(--red); font-size: 1.2rem; flex-shrink: 0; }
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .rel-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .rel-grid { grid-template-columns: 1fr; } }
.rc { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--sh); overflow: hidden; display: flex; flex-direction: column; transition: transform .22s var(--ease), box-shadow .22s; min-width: 0; }
.rc:hover { transform: translateY(-5px); box-shadow: var(--sh-h); }
.rc-body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; }
.rc-title { font-family: var(--ff-serif); font-size: .98rem; font-weight: 700; color: var(--navy); line-height: 1.35; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: break-word; }
.rc-title:hover { color: var(--red); }
.rc-meta { margin-top: auto; font-family: var(--ff-sans); font-size: .75rem; color: var(--ink-4); display: flex; gap: 10px; flex-wrap: wrap; }


.ai-fab-wrap { display: none; }

@media (max-width: 1060px) {
    .ai-fab-wrap { display: block; position: fixed; top: 72px; right: 16px; z-index: 9998; animation: ai-fab-in .45s cubic-bezier(.34,1.56,.64,1) both; }
    @keyframes ai-fab-in { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: scale(1); } }
    .ai-fab { display: flex; align-items: center; gap: 0; background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; border: none; border-radius: 50px; padding: 0; width: 52px; height: 52px; overflow: hidden; cursor: pointer; box-shadow: 0 4px 20px rgba(79,70,229,.45), 0 1px 4px rgba(0,0,0,.2); transition: width .35s cubic-bezier(.34,1.56,.64,1), padding .35s ease; white-space: nowrap; font-family: var(--ff-sans); font-weight: 700; font-size: .82rem; }
    .ai-fab.expanded { width: 162px; padding: 0 16px 0 10px; }
    .ai-fab-icon { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.2rem; position: relative; }
    .ai-fab-icon::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); animation: ai-fab-pulse 2.2s ease-in-out infinite; }
    @keyframes ai-fab-pulse { 0%,100% { transform: scale(1); opacity: .7; } 50% { transform: scale(1.22); opacity: 0; } }
    .ai-fab-label { opacity: 0; transform: translateX(-6px); transition: opacity .22s .1s, transform .22s .1s; pointer-events: none; font-size: .82rem; }
    .ai-fab.expanded .ai-fab-label { opacity: 1; transform: translateX(0); }
    .ai-fab:active { transform: scale(.93); }
    .ai-fab-dot { position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; background: #f59e0b; border-radius: 50%; border: 2px solid #4f46e5; }
    .ai-fab-dot.done { display: none; }
}
@media (min-width: 600px) and (max-width: 1060px) {
    .ai-fab-wrap { top: 80px; right: 20px; }
}


@media print {
    #rp, .sidebar, .nl-box, .share-box, .pn-nav, .cmts-wrap, .listen-bar, .ai-fab-wrap { display: none !important; }
    .page-grid { grid-template-columns: 1fr !important; }
    .art-body { font-size: 12pt; }
}


@media (max-width: 767px) {
    .art-card { border-radius: var(--r-md); }
    .art-body * { max-width: 100%; }
    .art-body table { max-width: none !important; }
    .art-body iframe { width: 100% !important; max-width: 100% !important; }
    .art-body pre { overflow-x: auto !important; max-width: 100% !important; font-size: .78rem; }
    input, textarea, select { max-width: 100%; }
}

/* Professional article hierarchy */
.art-head {
    padding-bottom: 24px;
}
.art-h1 {
    font-size: clamp(1.85rem, 3.2vw, 2.55rem);
    line-height: 1.18;
    max-width: 17.5em;
    margin-bottom: 20px;
}
.art-body {
    font-size: 1rem;
    line-height: 1.84;
    color: #273244;
}
.art-body p {
    margin: 0 0 1.18em;
}
.art-body h2,
.art-body h3,
.art-body h4,
.art-body h5,
.art-body h6 {
    letter-spacing: 0;
}
.art-body h2 {
    font-size: clamp(1.28rem, 2.4vw, 1.55rem);
    line-height: 1.28;
    margin: 2.55em 0 .95em;
    padding: 0 0 .72em 18px;
    border-bottom: 1px solid #d7dde6;
    border-left: 4px solid var(--red);
    color: var(--navy);
}
.art-body h2::before {
    content: 'Section';
    position: static;
    display: block;
    width: auto;
    height: auto;
    background: none;
    margin: 0 0 6px;
    font-family: var(--ff-sans);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: var(--red);
}
.art-body h3 {
    font-family: var(--ff-sans);
    font-size: clamp(1.22rem, 2.2vw, 1.42rem);
    line-height: 1.34;
    font-weight: 900;
    margin: 2.25em 0 .85em;
    padding: 0 0 .55em 16px;
    border-left: 4px solid var(--gold);
    border-bottom: 1px solid #e1e6ee;
    color: var(--navy);
}
.art-body h4 {
    font-family: var(--ff-sans);
    font-size: 1.08rem;
    line-height: 1.42;
    font-weight: 800;
    margin: 1.75em 0 .65em;
    padding: 0 0 0 12px;
    display: block;
    max-width: 100%;
    border-left: 3px solid #cbd5e1;
    color: #263548;
    text-transform: none;
    letter-spacing: 0;
}
.art-body h5,
.art-body h6 {
    font-family: var(--ff-sans);
    font-size: .92rem;
    line-height: 1.42;
    font-weight: 800;
    margin: 1.35em 0 .5em;
    color: var(--ink);
}
.art-body h2 + p,
.art-body h3 + p {
    margin-top: 0;
}
.art-body ul,
.art-body ol {
    margin: .25em 0 1.45em 1.15em;
    padding-left: .8em;
}
.art-body li {
    margin-bottom: .56em;
    padding-left: .12em;
}
.art-body li > p {
    margin-bottom: .6em;
}
.art-body blockquote {
    font-size: .98rem;
    line-height: 1.78;
}
@media (max-width: 640px) {
    .art-h1 {
        font-size: 1.62rem;
        line-height: 1.22;
        max-width: 100%;
    }
    .art-body {
        font-size: .96rem;
        line-height: 1.78;
    }
    .art-body h2 {
        font-size: 1.22rem;
        margin-top: 2.1em;
        padding-left: 12px;
    }
    .art-body h3 {
        font-size: 1.18rem;
        margin-top: 1.65em;
    }
    .art-body h4 {
        font-size: 1.04rem;
    }
}

/* Compact legal-document structure */
.art-body {
    line-height: 1.72;
}
.art-body p {
    margin: 0 0 .82em;
}
.art-body h2 {
    margin: 1.9em 0 .7em;
}
.art-body h3 {
    margin: 1.55em 0 .55em;
    padding: 8px 12px 8px 14px;
    border-left: 4px solid var(--red);
    border-bottom: 0;
    background: #f8fafc;
    border-radius: 0 6px 6px 0;
    font-size: 1.14rem;
    line-height: 1.35;
}
.art-body h4 {
    margin: 1.15em 0 .45em;
    padding: 0;
    border-left: 0;
    color: var(--navy);
    font-size: 1.02rem;
    line-height: 1.38;
    font-weight: 900;
}
.art-body h4::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 9px;
    border-radius: 50%;
    background: var(--gold);
    vertical-align: .12em;
}
.art-body h5,
.art-body h6 {
    margin: 1em 0 .35em;
}
.art-body h5,
.art-body h6 {
    margin: 1.05em 0 .35em;
    font-family: var(--ff-sans);
    font-size: .98rem;
    line-height: 1.35;
    font-weight: 900;
    color: var(--navy);
}
.art-body p strong,
.art-body p b {
    color: var(--navy);
}
.art-body ul,
.art-body ol {
    margin: .18em 0 .9em 1.05em;
    padding-left: .9em;
}
.art-body li {
    margin-bottom: .32em;
    padding-left: .12em;
    line-height: 1.62;
}
.art-body li > p {
    margin-bottom: .35em;
}
.art-body blockquote {
    margin: 1.05em 0;
    padding: 12px 16px;
}
.art-body table {
    line-height: 1.38;
}
@media (max-width: 640px) {
    .art-body {
        line-height: 1.68;
    }
    .art-body p {
        margin-bottom: .72em;
    }
    .art-body h3 {
        margin-top: 1.3em;
        font-size: 1.08rem;
    }
    .art-body h4 {
        margin-top: 1em;
        font-size: 1rem;
    }
    .art-body ul,
    .art-body ol {
        margin-bottom: .8em;
    }
}

/* Formal document formatting standard */
.art-body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.58;
    color: #111827;
    padding-top: 28px;
}
.art-body p {
    margin: 0 0 10px;
}
.art-body h2,
.art-body h3,
.art-body h4,
.art-body h5,
.art-body h6 {
    font-family: Arial, Helvetica, sans-serif;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    letter-spacing: 0;
    text-transform: none;
}
.art-body h2::before,
.art-body h3::before,
.art-body h4::before {
    content: none;
}
.art-body h2 {
    font-size: 21px;
    line-height: 1.3;
    font-weight: 800;
    color: #1f4e78;
    margin: 22px 0 10px;
}
.art-body h3 {
    font-size: 19px;
    line-height: 1.32;
    font-weight: 800;
    color: #2e75b6;
    margin: 18px 0 8px;
}
.art-body h4 {
    font-size: 17px;
    line-height: 1.35;
    font-weight: 800;
    color: #3e5c76;
    margin: 15px 0 7px;
}
.art-body h5,
.art-body h6 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 800;
    color: #111827;
    margin: 13px 0 6px;
}
.art-body p strong,
.art-body p b {
    color: #111827;
}
.art-body ol {
    list-style: none;
    counter-reset: decimalParen;
    margin: 6px 0 12px 0;
    padding-left: 0;
}
.art-body ol > li {
    counter-increment: decimalParen;
    position: relative;
    margin: 0 0 6px 36px;
    padding-left: 18px;
    line-height: 1.55;
}
.art-body ol > li::before {
    content: "(" counter(decimalParen) ")";
    position: absolute;
    left: -36px;
    width: 30px;
    text-align: right;
    color: #111827;
    font-weight: 600;
}
.art-body ol ol {
    counter-reset: alphaParen;
    margin: 6px 0 6px 0;
}
.art-body ol ol > li {
    counter-increment: alphaParen;
    margin-left: 42px;
}
.art-body ol ol > li::before {
    content: "(" counter(alphaParen, lower-alpha) ")";
}
.art-body ul {
    list-style: disc outside;
    margin: 6px 0 12px 36px;
    padding-left: 18px;
}
.art-body ul > li {
    margin: 0 0 6px 0;
    padding-left: 2px;
    line-height: 1.55;
}
.art-body ul ul {
    list-style-type: circle;
    margin: 6px 0 6px 30px;
}
.art-body li::marker {
    color: #c0392b;
}
.art-body li > p {
    margin: 0 0 6px;
}
.art-body blockquote {
    margin: 12px 0;
    padding: 10px 14px;
    border-left: 4px solid #2e75b6;
    background: #f3f7fb;
    border-radius: 0 4px 4px 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14.5px;
    line-height: 1.55;
    font-style: normal;
}
.art-body .table-wrapper {
    margin: 14px 0;
}
.art-body table {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.35;
}
.art-body th,
.art-body td {
    padding: 8px 10px;
}
@media (max-width: 640px) {
    .art-body {
        font-size: 14.5px;
        line-height: 1.55;
    }
    .art-body h2 {
        font-size: 19px;
        margin: 18px 0 8px;
    }
    .art-body h3 {
        font-size: 17px;
        margin: 15px 0 7px;
    }
    .art-body h4 {
        font-size: 15.5px;
        margin: 13px 0 6px;
    }
    .art-body ul {
        margin-left: 24px;
        padding-left: 14px;
    }
    .art-body ol > li {
        margin-left: 30px;
        padding-left: 14px;
    }
    .art-body ol > li::before {
        left: -30px;
        width: 26px;
    }
}

/* Keep normal article paragraphs regular; only explicit bold text is bold. */
.art-body p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.58;
    font-weight: 400;
    color: #111827;
    margin: 0 0 10px;
}
.art-body p strong,
.art-body p b {
    font-weight: 800;
}
@media (max-width: 640px) {
    .art-body p {
        font-size: 14.5px;
        line-height: 1.55;
        margin-bottom: 8px;
    }
}

/* Final title scale: compact article page headings. */
.art-h1 {
    font-size: clamp(1.45rem, 2.15vw, 1.95rem);
    line-height: 1.24;
    max-width: none;
    width: 100%;
    margin-bottom: 16px;
}
.art-body h2 {
    font-size: 19px;
    margin: 18px 0 8px;
}
.art-body h3 {
    font-size: 17px;
    margin: 15px 0 7px;
}
.art-body h4 {
    font-size: 15.5px;
    margin: 13px 0 6px;
}
@media (max-width: 640px) {
    .art-h1 {
        font-size: 1.34rem;
        line-height: 1.24;
        margin-bottom: 14px;
    }
    .art-body h2 {
        font-size: 17.5px;
    }
    .art-body h3 {
        font-size: 16px;
    }
}
/* Article report workflow */
.article-report-btn {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #fecaca;
    background: #fff7f7;
    color: #991b1b;
    border-radius: 6px;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
}

.article-report-btn:hover {
    background: #fee2e2;
}

.article-report-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.article-report-modal.open {
    display: block;
}

.article-report-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .62);
}

.article-report-panel {
    position: relative;
    width: min(720px, calc(100vw - 28px));
    max-height: calc(100vh - 36px);
    overflow: auto;
    margin: 18px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
    border: 1px solid #e5e7eb;
}

.article-report-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
}

.article-report-head {
    display: flex;
    gap: 14px;
    padding: 26px 28px;
    border-bottom: 1px solid #e5e7eb;
    background: #f8fafc;
}

.article-report-icon {
    width: 46px;
    height: 46px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    color: #fff;
}

.article-report-head h2 {
    margin: 0 0 4px;
    font-size: 22px;
}

.article-report-head p {
    margin: 0;
    color: #64748b;
}

.article-report-form {
    padding: 24px 28px 28px;
}

.report-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.article-report-form label {
    display: block;
    font-weight: 700;
    color: #111827;
}

.article-report-form label span {
    display: block;
    margin-bottom: 7px;
}

.article-report-form input,
.article-report-form select,
.article-report-form textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 11px 12px;
    font: inherit;
}

.article-report-form small {
    display: block;
    color: #64748b;
    font-weight: 500;
    margin-top: 6px;
}

.report-otp-row,
.report-details {
    margin-top: 16px;
}

.report-details label {
    margin-top: 14px;
}

.report-check {
    display: flex !important;
    gap: 10px;
    align-items: flex-start;
    font-weight: 600 !important;
}

.report-check input {
    width: auto;
    margin-top: 4px;
}

.article-report-status {
    min-height: 22px;
    margin-top: 14px;
    font-weight: 700;
}

.article-report-status.ok {
    color: #047857;
}

.article-report-status.err {
    color: #b91c1c;
}

.article-report-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}

.article-report-primary,
.article-report-secondary {
    border: 0;
    border-radius: 6px;
    padding: 11px 16px;
    font-weight: 800;
    cursor: pointer;
}

.article-report-primary {
    background: #991b1b;
    color: #fff;
}

.article-report-secondary {
    background: #f1f5f9;
    color: #334155;
}

.article-report-primary:disabled {
    opacity: .65;
    cursor: not-allowed;
}

@media (max-width: 640px) {
    .report-grid {
        grid-template-columns: 1fr;
    }

    .article-report-head,
    .article-report-form {
        padding-left: 18px;
        padding-right: 18px;
    }
}
