.wr-article-page {
    padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(4rem, 10vw, 8rem);
}

.wr-article-page > .container {
    width: min(100% - 2rem, 62rem);
}

.wr-article-back {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: clamp(1.5rem, 5vw, 3rem);
    color: var(--wr-ink);
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration-color: rgba(24, 63, 64, 0.35);
    text-underline-offset: 0.25em;
}

.wr-article-back:hover {
    color: var(--wr-rose-dark);
    text-decoration-color: currentColor;
}

.wr-article > header {
    padding: clamp(1.5rem, 5vw, 3rem) 0 clamp(2rem, 6vw, 4rem);
    border-top: 1px solid var(--wr-ink);
    border-bottom: 1px solid var(--wr-rule);
}

.wr-article-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--wr-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.75rem;
}

.wr-article-meta span {
    color: var(--wr-rose-dark);
    font-family: "Noto Sans TC", system-ui, sans-serif;
    font-weight: 700;
}

.wr-article h1 {
    max-width: 18em;
    margin: 0;
    overflow-wrap: anywhere;
    font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
    font-size: clamp(2rem, 6vw, 4.25rem);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.035em;
}

.wr-article > header > p {
    margin: 1.5rem 0 0;
    color: var(--wr-muted);
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
}

.article-content {
    max-width: 46rem;
    margin: clamp(2.5rem, 7vw, 5rem) auto;
    color: var(--wr-muted);
    font-size: clamp(1rem, 1.6vw, 1.0625rem);
    line-height: 2;
    overflow-wrap: anywhere;
}

.article-content p {
    margin: 0 0 1.5em;
}

.article-content :is(h2, h3) {
    margin: 2.2em 0 0.7em;
    color: var(--wr-ink);
    font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
    font-weight: 700;
}

.article-content a {
    color: var(--wr-rose-dark);
    text-underline-offset: 0.25em;
}

.wr-article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--wr-ink);
}

.wr-article-footer > div {
    display: flex;
    flex-direction: column;
}

.wr-article-footer small {
    color: var(--wr-muted);
    font-size: 0.75rem;
}

.wr-article-footer > div a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--wr-ink);
    font-weight: 700;
    text-underline-offset: 0.25em;
}

@media (max-width: 575.98px) {
    .wr-article-page > .container {
        width: min(100% - 1.25rem, 62rem);
    }

    .wr-article-footer {
        align-items: stretch;
        flex-direction: column;
    }
}
