.article-body {
    background:
        radial-gradient(circle at top, rgba(2, 150, 195, 0.08), transparent 30%),
        linear-gradient(to bottom, #ffffff 0%, #f4f9fb 100%);
}

.article-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(14px);
}

.article-brand,
.article-home-link,
.article-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.article-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.article-brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.article-home-link {
    font-weight: 700;
}

.article-home-link:hover,
.article-footer a:hover {
    color: var(--primary-dark);
}

.article-shell {
    width: min(100% - 2rem, 1260px);
    margin: 3rem auto 5rem;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.article-card {
    min-width: 0;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(0, 76, 100, 0.1);
    overflow: hidden;
}

.article-hero {
    padding: clamp(2.5rem, 7vw, 5.5rem) clamp(1.5rem, 7vw, 5.5rem) 3rem;
    color: var(--text-light);
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.16), transparent 20%),
        linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 55%, var(--primary-light) 100%);
}

.article-kicker {
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.article-hero h1 {
    max-width: 760px;
    margin-bottom: 1.5rem;
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    line-height: 1.25;
}

.article-lead {
    max-width: 740px;
    color: rgba(255, 255, 255, 0.93);
    font-size: clamp(1.08rem, 2vw, 1.3rem);
    line-height: 1.9;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.95rem;
}

.article-sidebar {
    position: sticky;
    top: 5.5rem;
    min-width: 0;
    z-index: 20;
}

.article-sidebar-inner {
    padding: 1.5rem;
    border: 1px solid rgba(1, 125, 163, 0.14);
    border-radius: 18px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(244, 251, 253, 0.96));
    box-shadow: 0 14px 34px rgba(0, 76, 100, 0.1);
}

.article-sidebar-kicker,
.article-related-kicker {
    margin-bottom: 0.45rem;
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.article-sidebar-title {
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-size: 1.35rem;
}

.article-sidebar-overview,
.article-sidebar-home {
    display: inline-flex;
    color: var(--primary-dark);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.article-sidebar-overview {
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(1, 125, 163, 0.14);
    border-radius: 9px;
    background: rgba(255, 222, 0, 0.28);
}

.article-sidebar-overview.is-active {
    color: var(--text-light);
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.article-sidebar-overview:hover,
.article-sidebar-home:hover {
    color: var(--primary-color);
}

.article-sidebar-nav {
    display: grid;
    gap: 0.35rem;
    margin-top: 1rem;
}

.article-sidebar-link {
    display: grid;
    grid-template-columns: 1.8rem minmax(0, 1fr);
    gap: 0.55rem;
    align-items: start;
    padding: 0.7rem 0.65rem;
    border-radius: 11px;
    color: #52646a;
    text-decoration: none;
    border: 1px solid transparent;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.article-sidebar-link:hover,
.article-sidebar-link.is-active {
    color: var(--primary-dark);
    border-color: rgba(1, 125, 163, 0.16);
    background: rgba(1, 125, 163, 0.1);
}

.article-sidebar-link:hover {
    transform: translateX(2px);
}

.article-sidebar-link.is-active {
    box-shadow: inset 3px 0 0 var(--primary-color);
}

.article-sidebar-overview:focus-visible,
.article-sidebar-link:focus-visible,
.article-sidebar-home:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

.article-sidebar-number {
    padding-top: 0.1rem;
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 700;
}

.article-sidebar-link strong {
    display: block;
    font-size: 0.92rem;
    line-height: 1.5;
}

.article-sidebar-link small {
    display: block;
    margin-top: 0.2rem;
    color: #7b898e;
    font-size: 0.78rem;
    line-height: 1.4;
}

.article-sidebar-home {
    margin-top: 1.5rem;
    font-size: 0.86rem;
}

.article-main {
    min-width: 0;
    background: #ffffff;
}

.article-content {
    padding: clamp(2rem, 6vw, 5rem) clamp(1.5rem, 7vw, 5.5rem);
}

.article-content > p,
.article-content > ul,
.article-content > ol,
.article-content > h2,
.article-content > h3,
.article-table-wrap,
.comparison-grid,
.product-map,
.article-summary,
.article-cta {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}

.article-content > p {
    margin-bottom: 1.35rem;
    color: #3d4a4f;
    font-size: 1.08rem;
    line-height: 2;
}

.article-content h2 {
    margin-top: 3.5rem;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1.4;
}

.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
    font-size: 1.35rem;
}

.article-summary {
    margin-bottom: 2rem;
    padding: 1.35rem 1.5rem;
    border-left: 4px solid var(--accent-color);
    border-radius: 0 12px 12px 0;
    background: #fffbea;
}

.article-summary strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--primary-dark);
    font-size: 1.15rem;
}

.article-summary p {
    margin: 0;
    color: #4c4c4c;
    line-height: 1.8;
}

.question-list,
.check-list,
.step-list {
    padding-left: 1.5rem;
    color: #3d4a4f;
    font-size: 1.06rem;
    line-height: 2;
}

.question-list,
.check-list {
    margin-bottom: 1.5rem;
}

.step-list {
    counter-reset: article-step;
    list-style: none;
    padding-left: 0;
}

.step-list li {
    position: relative;
    min-height: 2.5rem;
    margin-bottom: 1rem;
    padding: 0.2rem 0 0.2rem 3.2rem;
}

.step-list li::before {
    position: absolute;
    top: 0.1rem;
    left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    color: var(--primary-dark);
    background: rgba(1, 125, 163, 0.12);
    content: counter(article-step);
    counter-increment: article-step;
    font-weight: 700;
}

.article-table-wrap {
    margin-bottom: 1.7rem;
    overflow-x: auto;
    border: 1px solid rgba(1, 125, 163, 0.14);
    border-radius: 12px;
}

.article-table-wrap table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    color: #3d4a4f;
    font-size: 0.98rem;
    line-height: 1.7;
}

.article-table-wrap th,
.article-table-wrap td {
    padding: 1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(1, 125, 163, 0.1);
}

.article-table-wrap th {
    color: var(--primary-dark);
    background: rgba(1, 125, 163, 0.08);
    font-weight: 700;
}

.article-table-wrap tr:last-child td {
    border-bottom: 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.7rem;
}

.comparison-card {
    padding: 1.5rem;
    border: 1px solid rgba(1, 125, 163, 0.12);
    border-radius: 14px;
    background: #f8fdff;
}

.comparison-label {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    color: var(--primary-dark);
    background: rgba(1, 125, 163, 0.12);
    font-size: 0.9rem;
    font-weight: 700;
}

.comparison-card h3 {
    margin-top: 0;
    font-size: 1.25rem;
}

.comparison-card p {
    margin: 0;
    color: #4c5b60;
    line-height: 1.8;
}

.product-map {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.7rem;
}

.product-map-item {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.25rem;
    border-radius: 14px;
    background: #f8fdff;
    border: 1px solid rgba(1, 125, 163, 0.1);
}

.product-map-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 50%;
    color: var(--primary-dark);
    background: rgba(255, 222, 0, 0.72);
    font-weight: 700;
}

.product-map-item h3 {
    margin-top: 0;
    margin-bottom: 0.35rem;
    font-size: 1.2rem;
}

.product-map-item p {
    margin: 0;
    color: #4c5b60;
    line-height: 1.8;
}

.article-cta {
    margin-top: 4rem;
    padding: 2rem;
    border-radius: 16px;
    color: var(--text-light);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.article-related {
    max-width: 760px;
    margin: 2.5rem auto 0;
    padding: 1.25rem 1.4rem;
    border: 1px solid rgba(1, 125, 163, 0.14);
    border-radius: 14px;
    background: #f8fdff;
}

.article-related a {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--primary-dark);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.6;
    text-decoration: none;
}

.article-related a:hover {
    color: var(--primary-color);
}

.article-related > p:last-child {
    margin: 0;
    color: #607077;
    line-height: 1.7;
}

.article-index-content {
    padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4.5rem) 4.5rem;
    background: #ffffff;
}

.article-index-kicker {
    margin-bottom: 0.65rem;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.article-index-heading h2 {
    max-width: 720px;
    margin-bottom: 0.85rem;
    color: var(--primary-dark);
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1.45;
    text-align: left;
}

.article-index-heading > p:last-child {
    max-width: 700px;
    margin-bottom: 2rem;
    color: #53646a;
    font-size: 1.05rem;
    line-height: 1.9;
}

.article-list {
    display: grid;
    gap: 1rem;
}

.article-list-card {
    display: block;
    padding: 1.5rem;
    border: 1px solid rgba(1, 125, 163, 0.14);
    border-radius: 15px;
    color: var(--text-dark);
    background: linear-gradient(135deg, #ffffff 0%, #f7fdff 100%);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.article-list-card:hover {
    transform: translateY(-4px);
    border-color: rgba(1, 125, 163, 0.35);
    box-shadow: 0 12px 25px rgba(0, 76, 100, 0.1);
}

.article-list-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
    margin-bottom: 0.7rem;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
}

.article-list-card h3 {
    margin-bottom: 0.55rem;
    color: var(--primary-dark);
    font-size: 1.35rem;
    line-height: 1.5;
}

.article-list-card p {
    margin-bottom: 1rem;
    color: #53646a;
    line-height: 1.8;
}

.article-list-card-link {
    color: var(--primary-dark);
    font-size: 0.92rem;
    font-weight: 700;
}

.article-cta .article-kicker {
    margin-bottom: 0.65rem;
}

.article-cta h2 {
    margin-top: 0;
    color: var(--text-light);
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.article-cta > p:not(.article-kicker) {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.86);
}

.article-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.article-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

.article-button-primary {
    color: var(--primary-dark);
    background: var(--accent-color);
}

.article-button-secondary {
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.article-button:hover {
    transform: translateY(-1px);
}

.article-footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    padding: 0 1.5rem 2.5rem;
    color: #637177;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .article-nav {
        min-height: 64px;
    }

    .article-shell {
        width: 100%;
        margin: 0 auto 3rem;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .article-sidebar {
        position: sticky;
        top: 64px;
        z-index: 90;
        width: 100%;
        padding: 0.7rem 1rem;
        border-bottom: 1px solid rgba(1, 125, 163, 0.14);
        background: rgba(244, 251, 253, 0.96);
        backdrop-filter: blur(14px);
    }

    .article-sidebar-inner {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        padding: 0.15rem;
        overflow-x: auto;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        scrollbar-width: thin;
        overscroll-behavior-inline: contain;
    }

    .article-sidebar-heading,
    .article-sidebar-home {
        display: none;
    }

    .article-sidebar-overview {
        flex: 0 0 auto;
        min-height: 2.75rem;
        align-items: center;
        padding: 0.6rem 0.85rem;
        white-space: nowrap;
        background: #ffffff;
    }

    .article-sidebar-nav {
        display: flex;
        flex: 0 0 auto;
        gap: 0.55rem;
        margin-top: 0;
    }

    .article-sidebar-link {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 0.45rem;
        min-height: 2.75rem;
        padding: 0.55rem 0.8rem;
        border-color: rgba(1, 125, 163, 0.14);
        background: #ffffff;
        white-space: nowrap;
    }

    .article-sidebar-link:hover {
        transform: none;
    }

    .article-sidebar-link.is-active {
        box-shadow: inset 0 -3px 0 var(--primary-color);
    }

    .article-sidebar-number {
        padding-top: 0;
    }

    .article-sidebar-link strong {
        font-size: 0.88rem;
    }

    .article-sidebar-link small {
        display: none;
    }

    .article-card {
        width: 100%;
        border-radius: 0;
        box-shadow: none;
    }
}

@media (max-width: 640px) {
    .article-nav {
        padding: 0.85rem 1rem;
    }

    .article-home-link {
        font-size: 0.92rem;
    }

    .article-sidebar {
        padding-right: 0.75rem;
        padding-left: 0.75rem;
    }

    .article-content {
        padding-right: 1.1rem;
        padding-left: 1.1rem;
    }

    .article-index-content {
        padding: 2rem 1.1rem 3rem;
    }

    .article-content > p,
    .question-list,
    .check-list,
    .step-list {
        font-size: 1rem;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .article-cta {
        padding: 1.5rem;
    }

    .article-button {
        width: 100%;
    }
}
