.article-page {
    background: #ffffff;
    color: #000000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.article-page main {
    max-width: 900px;
    margin: 40px auto 60px;
    padding: 0 20px;
    line-height: 1.6;
    font-size: 16px;
}

.article-page h1,
.article-page h2,
.article-page h3,
.article-page h4 {
    margin-top: 1.8em;
    margin-bottom: 0.8em;
    line-height: 1.3;
}

.article-page h1 {
    font-size: 1.6em;
    text-align: center;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.article-page h2 {
    font-size: 1.4em;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 6px;
}

.article-page p {
    margin-bottom: 1em;
    text-align: justify;
    text-indent: 1.25em;
}

.article-page ol {
    margin-left: 2em;
    margin-bottom: 1.2em;
}

.article-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95em;
}

.article-page table,
.article-page th,
.article-page td {
    border: 1px solid #000000;
}

.article-page th,
.article-page td {
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}

.article-page th {
    background: #f0f0f0;
}

.article-page code {
    font-family: "JetBrains Mono", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.95em;
    background: #f5f5f5;
    padding: 1px 3px;
    border-radius: 3px;
}

.article-abstract {
    background: #f9f9f9;
    padding: 20px 22px;
    border-left: 4px solid #0056ce;
    margin: 20px 0 24px;
}

.article-page figure {
    text-align: center;
    margin: 25px 0;
}

.article-page figure img {
    max-width: 800px;
    max-height: 800px;
    height: auto;
}

.article-page figure figcaption {
    margin-top: 8px;
    font-style: italic;
}

.article-literature {
    margin-top: 30px;
}

.article-literature ol {
    list-style: none;
    counter-reset: lit-item;
    margin: 0;
    padding: 0;
}

.article-literature li {
    counter-increment: lit-item;
    margin-bottom: 8px;
}

.article-literature li::before {
    content: "[" counter(lit-item) "] ";
    font-weight: bold;
}

.article-page a {
    color: #0056ce;
    text-decoration: none;
    border-bottom: 1px dashed #0056ce;
}

.article-page a:hover {
    border-bottom-style: solid;
}

.article-page sup {
    vertical-align: super;
    font-size: 0.8em;
}

.article-page h2 + p,
.article-page h3 + p,
.article-page h4 + p {
    margin-top: 0.4em;
}

@media (max-width: 600px) {
    .article-page main {
        margin: 24px auto 40px;
        padding: 0 12px;
        font-size: 15px;
    }

    .article-page h1 {
        font-size: 1.4em;
    }

    .article-page h2 {
        font-size: 1.25em;
    }

    .article-page table,
    .article-page th,
    .article-page td {
        font-size: 0.9em;
    }
}

.article-page ul {
    list-style: none;
    margin: 0 0 1.2em 0;
    padding: 0;
}

.article-page ul li {
    position: relative;
    margin-bottom: 0.35em;
    padding-left: 3em;
    text-align: justify;
}

.article-page ul li::before {
    content: "—";
    position: absolute;
    left: 1.25em;
}

.formula {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin: 1.2rem 0;
}

mjx-container {
    max-width: 100% !important;
}

mjx-container[display="true"] {
    display: block;
    max-width: 100% !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}