.inner-page .site-shell > .container {
    width: 100%;
}

.inner-page .breadcrumbs {
    align-items: center;
    min-height: 35px;
    padding: 2px 0 10px;
}

.inner-page .header-cta {
    border-color: var(--line);
    background: var(--panel);
    color: var(--ink);
    box-shadow: none;
}

.inner-page .header-cta:hover {
    border-color: var(--fire);
    color: var(--fire);
}

.inner-page .article-hero {
    padding: clamp(22px, 2.2vw, 35px) clamp(20px, 2.8vw, 42px);
    border-radius: 14px;
    background: linear-gradient(115deg, var(--panel) 44%, #1e2337);
}

.inner-page .article-hero h1 {
    max-width: 35ch;
    color: var(--ink);
    font-size: clamp(2.1rem, 3.2vw, 3.4rem);
    line-height: 1.08;
}

.inner-page .article-hero-image h1 { max-width: 26ch; }

.inner-page .article-lead {
    max-width: 70ch;
    margin-top: 12px;
    color: var(--dim);
    line-height: 1.58;
}

.inner-page .article-art {
    width: min(43%, 520px);
    object-position: center;
    opacity: .4;
    mask-image: linear-gradient(90deg, transparent, #000 56%);
}

.inner-page .article-cta { margin-top: 18px; }
.inner-page .article-cta .button { min-height: 44px; }

.inner-page .promo-inline {
    margin-top: 12px;
    padding-inline: 12px;
    border-radius: 8px;
    background: #ffffff0b;
    color: var(--fire);
}

.inner-page .promo-inline:hover { background: #ffffff13; }

.inner-page .article-reading {
    --section-offset: calc(var(--header-height) + 16px);
    grid-template-columns: minmax(0, 1fr) minmax(170px, 23%);
    grid-template-areas: "body sidebar";
    gap: clamp(22px, 4vw, 62px);
    margin-top: clamp(24px, 3.6vw, 46px);
}

.inner-page .section-links {
    top: var(--section-offset);
    min-width: 0;
    max-height: calc(100dvh - var(--section-offset) - 16px);
    padding: 0 0 0 14px;
    border-inline-start: 1px solid var(--line);
    scrollbar-width: thin;
}

.inner-page .section-menu summary {
    min-height: 44px;
    padding-block: 10px;
    font-size: .87rem;
    font-weight: 720;
}

.inner-page .section-index a {
    min-height: 38px;
    padding: 6px 5px 6px 10px;
    border-inline-start: 2px solid transparent;
    line-height: 1.38;
}

.inner-page .section-index a[aria-current] {
    border-inline-start-color: var(--fire);
    background: #ed8e5109;
}

.inner-page .section-index a:focus-visible,
.inner-page .section-menu summary:focus-visible {
    outline-offset: -2px;
}

.inner-page .article-body {
    min-width: 0;
}

.inner-page .article-body section {
    scroll-margin-top: var(--section-offset);
}

.inner-page .article-body section + section {
    margin-top: clamp(23px, 3.4vw, 38px);
    padding-top: clamp(19px, 2.9vw, 32px);
    border-top: 1px solid var(--line);
}

.inner-page .article-body h2 {
    font-size: clamp(1.34rem, 2.3vw, 1.88rem);
    line-height: 1.22;
}

.inner-page .article-body section:target h2 { color: var(--fire); }

.inner-page .article-body p {
    max-width: 70ch;
    margin-top: 11px;
    color: var(--ink);
    line-height: 1.68;
}

.inner-page .catalog-list {
    gap: 7px 19px;
    margin-block: 15px 0;
    color: var(--ink);
}

.inner-page .detail-table {
    margin-top: 18px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: .91rem;
    line-height: 1.36;
}

.inner-page .detail-table caption {
    padding-bottom: 9px;
    font-size: .85rem;
    font-weight: 630;
}

.inner-page .detail-table th,
.inner-page .detail-table td {
    padding: 10px 12px;
}

.inner-page .detail-table thead th {
    background: var(--panel);
    color: var(--ink);
    font-weight: 720;
}

.inner-page .detail-table thead th:first-child { border-start-start-radius: 7px; }
.inner-page .detail-table thead th:last-child { border-start-end-radius: 7px; }
.inner-page .detail-table tbody tr:nth-child(even) { background: #ffffff04; }
.inner-page .detail-table td { color: var(--dim); }

.inner-page .detail-table-numbers thead th {
    top: calc(var(--section-offset) - 15px);
    box-shadow: none;
}

.inner-page .detail-table-numbers th:first-child { width: 11%; }
.inner-page .detail-table-numbers th:nth-child(2) { width: 17%; }

.inner-page .promo-offer {
    margin-top: 16px;
    padding: clamp(16px, 3vw, 28px);
    border-bottom: 0;
    border-radius: 12px;
    background: var(--panel);
}

.inner-page .promo-offer code,
.inner-page .promo-offer td { color: var(--fire); }

.inner-page .promo-offer :is(th, td) { border-color: var(--line); }
.inner-page .promo-offer thead th { color: var(--dim); }
.inner-page .promo-copy { background: #ffffff0e; }

.inner-page .related {
    margin-block: clamp(26px, 4vw, 46px);
}

.inner-page .related-grid {
    gap: 0;
    margin-top: 13px;
    border-block: 1px solid var(--line);
}

.inner-page .related-card { padding: 13px 15px; }
.inner-page .related-card:first-child { padding-inline-start: 0; }
.inner-page .related-card + .related-card { border-inline-start: 1px solid var(--line); }
.inner-page .related-card:hover { background: #ffffff05; }
.inner-page .related-card:focus-visible { outline-offset: -2px; }

@media (max-width: 750px) {
    .inner-page .breadcrumbs { padding-top: 1px; }
    .inner-page .article-hero { padding: 20px clamp(13px, 4vw, 24px); }
    .inner-page .article-hero h1 { font-size: clamp(1.85rem, 4.3vw, 2.65rem); }
    .inner-page .article-art { width: 56%; opacity: .21; }
    .inner-page .article-cta { margin-top: 15px; }

    .inner-page .article-reading {
        --section-offset: calc(var(--header-height) + 60px);
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "sidebar" "body";
        gap: 21px;
        margin-top: 15px;
    }

    .inner-page .section-links {
        position: sticky;
        top: var(--header-height);
        z-index: 3;
        max-height: none;
        padding: 0;
        border-inline-start: 0;
        background: var(--bg);
    }

    .inner-page .section-menu summary { padding-inline: 2px; }

    .inner-page .section-index {
        max-height: min(45dvh, 18rem);
        overflow: auto;
        overscroll-behavior: contain;
    }

    .inner-page .section-index a { min-height: 44px; }
}

@media (max-width: 540px) {
    .inner-page .article-lead { font-size: .96rem; }
    .inner-page .article-cta .button { gap: 8px; padding-inline: 12px; font-size: .88rem; }
    .inner-page .detail-table { font-size: .83rem; }
    .inner-page .detail-table :is(th, td) { padding: 8px 7px; }
    .inner-page .detail-table tbody th { width: 34%; }
    .inner-page .detail-table-numbers { font-size: clamp(.71rem, 2.9vw, .83rem); }
    .inner-page .detail-table-numbers :is(th, td) { padding-inline: 3px; }
    .inner-page .detail-table-numbers tbody th { width: 11%; }
    .inner-page .related-card { padding-inline: 0; }
    .inner-page .related-card + .related-card {
        border-inline-start: 0;
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 374px) {
    .inner-page .article-hero { padding-block: 16px; }
    .inner-page .article-hero h1 { font-size: 1.66rem; }
}
