.article-page {
    padding: 48px 0 88px;
    background: #fcfaf5;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 800px) 280px;
    gap: 68px;
    align-items: start;
    justify-content: center;
}

.article-main {
    min-width: 0;
}

.article-header {
    padding-bottom: 30px;
    border-bottom: 2px solid var(--ink);
}

.article-header__eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 750;
}

.article-header__eyebrow a {
    color: var(--red-dark);
}

.article-header h1 {
    margin: 14px 0 0;
    font-family: "Songti SC", "STSong", serif;
    font-size: 40px;
    line-height: 1.28;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.article-header__summary {
    margin: 18px 0 0;
    color: var(--ink-soft);
    font-size: 17px;
}

.article-header__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 20px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 12px;
}

.spoiler-note {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 18px;
    margin: 28px 0;
    padding: 17px 18px;
    color: #6e271f;
    background: #f2dfda;
    border-left: 5px solid var(--red);
}

.spoiler-note strong {
    font-size: 13px;
}

.spoiler-note p {
    margin: 0;
    font-size: 13px;
}

.article-body {
    color: #282e2f;
    font-size: 17px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.article-body > *:first-child {
    margin-top: 0;
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body blockquote,
.article-body table,
.article-body figure {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    color: var(--ink);
    line-height: 1.4;
    letter-spacing: 0;
}

.article-body h2 {
    margin: 2.1em 0 .75em;
    padding: 0 0 10px 15px;
    font-family: "Songti SC", "STSong", serif;
    font-size: 28px;
    border-left: 5px solid var(--red);
    border-bottom: 1px solid var(--line);
}

.article-body h3 {
    margin: 1.8em 0 .65em;
    font-size: 21px;
}

.article-body h4 {
    margin: 1.6em 0 .55em;
    font-size: 18px;
}

.article-body a {
    color: var(--red-dark);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.article-body img {
    width: auto;
    height: auto;
    margin-right: auto;
    margin-left: auto;
}

.article-body figure {
    max-width: 100%;
}

.article-body figcaption {
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.article-body blockquote {
    margin-right: 0;
    margin-left: 0;
    padding: 18px 22px;
    color: var(--ink-soft);
    background: var(--paper);
    border-left: 4px solid var(--gold);
}

.article-body table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    border-spacing: 0;
}

.article-body th,
.article-body td {
    min-width: 130px;
    padding: 11px 13px;
    text-align: left;
    vertical-align: top;
    border: 1px solid var(--line);
}

.article-body th {
    color: var(--white);
    background: var(--ink-soft);
}

.article-body hr {
    margin: 2.4em 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.article-method {
    margin-top: 42px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.article-method strong {
    color: var(--green);
}

.article-method p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.article-adjacent {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}

.article-adjacent__item {
    min-height: 92px;
    padding: 17px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 4px;
}

.article-related {
    margin-top: 56px;
    padding-top: 28px;
    border-top: 3px solid var(--ink);
}

.article-related__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 20px;
}

.article-related__header p {
    margin: 0;
    color: var(--red-dark);
    font-size: 11px;
    font-weight: 800;
}

.article-related__header h2 {
    margin: 3px 0 0;
    font-size: 23px;
}

.article-related__header > a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

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

.article-related__grid article {
    min-width: 0;
    padding: 17px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 4px;
}

.article-related__grid time {
    color: var(--muted);
    font-size: 11px;
}

.article-related__grid h3 {
    margin: 7px 0;
    font-size: 15px;
    line-height: 1.5;
}

.article-related__grid h3 a:hover {
    color: var(--red-dark);
}

.article-related__grid p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.article-aside {
    position: sticky;
    top: 102px;
    padding-top: 17px;
    border-top: 4px solid var(--red);
}

.article-aside__index {
    margin: 0;
    color: var(--red-dark);
    font-size: 10px;
    font-weight: 800;
}

.article-aside > h2 {
    margin: 7px 0 16px;
    font-family: "Songti SC", "STSong", serif;
    font-size: 24px;
}

.article-aside dl {
    margin: 0;
    border-top: 1px solid var(--line);
}

.article-aside dl div {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.article-aside dt {
    font-weight: 750;
}

.article-aside dd {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.article-aside__links {
    display: grid;
    margin-top: 22px;
    border-top: 1px solid var(--line);
}

.article-aside__links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    color: var(--red-dark);
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid var(--line);
}

.article-aside__focus {
    margin-top: 28px;
}

.article-aside__focus > h2 {
    margin: 0 0 8px;
    font-size: 15px;
}

.article-aside__focus article {
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.article-aside__focus article > a {
    color: var(--red-dark);
    font-size: 11px;
    font-weight: 700;
}

.article-aside__focus h3 {
    margin: 4px 0 0;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 980px) {
    .article-layout {
        grid-template-columns: minmax(0, 760px);
    }

    .article-aside {
        position: static;
        max-width: 760px;
    }
}

@media (max-width: 720px) {
    .article-page {
        padding: 34px 0 62px;
    }

    .article-layout {
        gap: 46px;
    }

    .article-header h1 {
        font-size: 31px;
        line-height: 1.32;
    }

    .article-header__summary {
        font-size: 15px;
    }

    .spoiler-note {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .article-body {
        font-size: 16px;
        line-height: 1.86;
    }

    .article-body h2 {
        font-size: 23px;
    }

    .article-body h3 {
        font-size: 19px;
    }

    .article-adjacent,
    .article-related__grid {
        grid-template-columns: 1fr;
    }

    .article-related__header {
        align-items: start;
        flex-direction: column;
    }
}
