* { margin:0; padding:0; box-sizing:border-box; }
:root {
    --ink:#102033;
    --muted:#66758a;
    --line:#e3e9f2;
    --paper:#ffffff;
    --soft:#f5f8fc;
    --blue:#1f5eff;
    --teal:#0f766e;
    --gold:#a16207;
}
body {
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
    color:var(--ink);
    background:#f8fafc;
    line-height:1.75;
}
a { color:inherit; text-decoration:none; }
img { max-width:100%; display:block; }
.container { width:100%; max-width:1180px; margin:0 auto; padding:0 24px; }
.site-header {
    position:sticky;
    top:0;
    z-index:20;
    background:rgba(255,255,255,.94);
    border-bottom:1px solid rgba(226,232,240,.92);
    backdrop-filter:blur(14px);
}
.header-inner {
    min-height:72px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:22px;
}
.brand {
    display:inline-flex;
    align-items:center;
    gap:10px;
    min-width:0;
    font-weight:800;
}
.brand-mark {
    width:34px;
    height:34px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    background:#102033;
    color:#fff;
    font-size:18px;
}
.brand-word {
    font-size:22px;
    letter-spacing:0;
}
.primary-nav {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:26px;
    color:#435269;
    font-size:15px;
    font-weight:600;
}
.primary-nav a:hover { color:var(--blue); }
.header-action {
    min-height:40px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 18px;
    border-radius:8px;
    background:#102033;
    color:#fff;
    font-weight:700;
}
.article-hero {
    background:#eef4fb;
    border-bottom:1px solid #dfe7f1;
}
.article-hero .container {
    padding-top:52px;
    padding-bottom:56px;
}
.breadcrumbs {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
    color:#607088;
    font-size:14px;
    font-weight:700;
    margin-bottom:22px;
}
.breadcrumbs a:hover { color:var(--blue); }
.article-hero-inner {
    max-width:900px;
}
.eyebrow,
.section-heading span {
    display:inline-flex;
    color:var(--blue);
    font-size:13px;
    font-weight:800;
    letter-spacing:0;
    text-transform:uppercase;
}
.article-hero h1 {
    margin-top:14px;
    font-size:52px;
    line-height:1.08;
    letter-spacing:0;
    overflow-wrap:anywhere;
}
.article-meta-line {
    margin-top:20px;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    color:#44546a;
    font-size:14px;
    font-weight:800;
}
.article-meta-line span {
    display:inline-flex;
    min-height:34px;
    align-items:center;
    padding:0 12px;
    border:1px solid #d9e2ef;
    border-radius:8px;
    background:#fff;
}
.page-search {
    margin-top:26px;
    display:flex;
    gap:10px;
    max-width:560px;
    padding:8px;
    background:#fff;
    border:1px solid #d9e2ef;
    border-radius:8px;
    box-shadow:0 16px 38px rgba(31,94,255,.08);
}
.page-search input {
    flex:1;
    min-width:0;
    border:0;
    outline:0;
    padding:0 12px;
    font-size:16px;
    color:var(--ink);
}
.page-search button {
    min-height:46px;
    border:0;
    border-radius:8px;
    padding:0 22px;
    background:var(--blue);
    color:#fff;
    font-size:15px;
    font-weight:800;
    cursor:pointer;
}
.section { padding:72px 0; }
.article-layout {
    display:grid;
    grid-template-columns:minmax(0,1fr) 320px;
    gap:30px;
    align-items:start;
}
.article-shell,
.sidebar-block {
    background:#fff;
    border:1px solid var(--line);
    border-radius:8px;
    box-shadow:0 14px 34px rgba(16,32,51,.06);
}
.article-shell {
    min-width:0;
    padding:34px;
}
.article-cover {
    margin:-10px -10px 30px;
    border-radius:8px;
    overflow:hidden;
    background:#e8eef7;
}
.article-cover img {
    width:100%;
    max-height:520px;
    object-fit:cover;
}
.content {
    color:#263548;
    font-size:18px;
}
.content > * + * {
    margin-top:18px;
}
.content h2,
.content h3 {
    color:var(--ink);
    line-height:1.25;
}
.content h2 {
    margin-top:34px;
    font-size:30px;
}
.content h3 {
    margin-top:28px;
    font-size:24px;
}
.content p {
    overflow-wrap:anywhere;
}
.content ul,
.content ol {
    margin-left:24px;
    padding-left:8px;
}
.content li + li {
    margin-top:8px;
}
.content a {
    color:var(--blue);
    font-weight:700;
}
.content blockquote {
    margin:28px 0;
    padding:18px 20px;
    border-left:4px solid var(--blue);
    background:#f5f8fc;
    color:#44546a;
    border-radius:8px;
}
.content img {
    height:auto;
    border-radius:8px;
    margin:26px auto;
}
.article-navigation {
    margin-top:36px;
    padding-top:24px;
    border-top:1px solid var(--line);
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}
.article-navigation a,
.related-card {
    display:grid;
    gap:6px;
    padding:18px;
    border:1px solid var(--line);
    border-radius:8px;
    background:#f8fafc;
}
.article-navigation span,
.related-card em,
.related-card span {
    color:var(--muted);
    font-size:13px;
    font-style:normal;
    font-weight:800;
}
.article-navigation strong,
.related-card strong {
    line-height:1.35;
    overflow-wrap:anywhere;
}
.article-navigation a:hover strong,
.related-card:hover strong {
    color:var(--blue);
}
.related-block {
    margin-top:38px;
}
.section-heading {
    max-width:760px;
    margin-bottom:18px;
}
.section-heading h2 {
    margin-top:8px;
    font-size:30px;
    line-height:1.18;
}
.related-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}
.sidebar {
    position:sticky;
    top:92px;
    display:grid;
    gap:18px;
}
.sidebar-block {
    padding:22px;
}
.sidebar-block h3 {
    margin-bottom:16px;
    font-size:18px;
}
.category-list,
.popular-list {
    display:grid;
    gap:10px;
}
.category-list a {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:12px 0;
    border-bottom:1px solid var(--line);
    color:#334155;
    font-weight:700;
}
.category-list a:last-child { border-bottom:0; }
.category-list a.active span,
.category-list a:hover span,
.popular-list a:hover span {
    color:var(--blue);
}
.category-list span,
.popular-list span {
    min-width:0;
    overflow-wrap:anywhere;
}
.category-list em {
    flex:0 0 auto;
    font-style:normal;
    color:var(--muted);
    font-size:13px;
}
.popular-list a {
    display:grid;
    grid-template-columns:34px minmax(0,1fr);
    gap:10px;
    color:#334155;
}
.popular-list strong { color:var(--gold); }
.site-footer {
    background:#102033;
    color:#d7dee9;
    padding:48px 0 22px;
}
.site-footer .brand-mark {
    background:#fff;
    color:#102033;
}
.footer-grid {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:28px;
}
.footer-grid p {
    max-width:520px;
    margin-top:14px;
    color:#aeb9c8;
}
.footer-links {
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}
.footer-links a:hover { color:#fff; }
.footer-bottom {
    margin-top:32px;
    padding-top:18px;
    border-top:1px solid rgba(255,255,255,.12);
    color:#9aa8ba;
    font-size:14px;
}
@media (max-width:980px) {
    .primary-nav { display:none; }
    .article-layout {
        grid-template-columns:1fr;
    }
    .article-hero h1 {
        font-size:42px;
    }
    .sidebar {
        position:static;
    }
}
@media (max-width:640px) {
    .container { padding:0 16px; }
    .header-inner { min-height:64px; }
    .header-action { display:none; }
    .brand-word { font-size:20px; }
    .article-hero .container {
        padding-top:38px;
        padding-bottom:38px;
    }
    .article-hero h1 {
        font-size:34px;
    }
    .article-meta-line {
        align-items:flex-start;
        flex-direction:column;
    }
    .page-search {
        flex-direction:column;
    }
    .page-search input {
        min-height:44px;
    }
    .section { padding:52px 0; }
    .article-shell {
        padding:22px;
    }
    .content {
        font-size:17px;
    }
    .content h2 {
        font-size:26px;
    }
    .content h3 {
        font-size:22px;
    }
    .article-navigation,
    .related-grid {
        grid-template-columns:1fr;
    }
    .footer-grid {
        flex-direction:column;
    }
}
