.oxy-article {
    padding-top: 80px;
}

.oxy-article .article-container {
    width: min(calc(100% - 40px), 1080px);
    max-width: none;
    margin: 0 auto;
    padding: 38px 20px 68px;
    box-sizing: border-box;
}

.oxy-article .article-header h1 {
    max-width: 900px;
    margin: 0 0 14px;
    color: var(--text-color);
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.08;
}

.oxy-article .article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: var(--text-secondary);
    font-size: 14px;
}

.oxy-article .article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.oxy-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
    gap: 28px;
    align-items: center;
    margin: 28px 0 36px;
}

.oxy-hero > *,
.oxy-grid > *,
.oxy-gallery > *,
.oxy-facts > * {
    min-width: 0;
}

.oxy-article .breadcrumbs,
.oxy-article .article-meta {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.oxy-hero__copy,
.oxy-toc,
.oxy-card,
.oxy-note,
.oxy-facts,
.oxy-figure,
.oxy-faq details {
    border: 1px solid rgba(185, 28, 28, .18);
    border-radius: 16px;
    background: var(--color-surface, #fff);
    box-shadow: 0 12px 34px rgba(127, 29, 29, .07);
}

.oxy-hero__copy {
    padding: clamp(24px, 4vw, 38px);
}

.oxy-kicker {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(185, 28, 28, .1);
    color: #991b1b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.oxy-hero__copy p {
    margin: 0 0 17px;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.72;
}

.oxy-hero__copy p:last-child {
    margin-bottom: 0;
}

.oxy-hero__media {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #7f1d1d;
    box-shadow: 0 18px 44px rgba(127, 29, 29, .22);
}

.oxy-hero__media img,
.oxy-figure img,
.oxy-gallery img {
    display: block;
    width: 100%;
    height: auto;
}

.oxy-toc {
    margin: 0 0 34px;
    padding: 24px 28px;
}

.oxy-toc h2 {
    margin: 0 0 14px;
    font-size: 22px;
}

.oxy-toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 28px;
    margin: 0;
    padding-left: 22px;
}

.oxy-section {
    margin: 0 0 42px;
    scroll-margin-top: 110px;
}

.oxy-section > h2 {
    margin: 0 0 18px;
    color: var(--text-color);
    font-size: clamp(26px, 3.5vw, 36px);
    line-height: 1.2;
}

.oxy-section > p,
.oxy-card p,
.oxy-note p,
.oxy-faq p {
    color: var(--text-secondary);
    line-height: 1.75;
}

.oxy-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin: 24px 0;
    background: rgba(185, 28, 28, .15);
}

.oxy-fact {
    padding: 22px;
    background: var(--color-surface, #fff);
}

.oxy-fact strong,
.oxy-fact span {
    display: block;
}

.oxy-fact strong {
    margin-bottom: 6px;
    color: #991b1b;
    font-size: 20px;
}

.oxy-fact span {
    color: var(--text-secondary);
    line-height: 1.5;
}

.oxy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.oxy-card {
    padding: 24px;
}

.oxy-card h3 {
    margin: 0 0 10px;
    color: var(--text-color);
    font-size: 20px;
}

.oxy-card p {
    margin: 0;
}

.oxy-note {
    margin: 22px 0;
    padding: 22px 24px;
    border-left: 5px solid #b91c1c;
}

.oxy-note--warning {
    border-left-color: #d97706;
    background: color-mix(in srgb, var(--color-surface, #fff) 92%, #f59e0b 8%);
}

.oxy-note strong {
    color: var(--text-color);
}

.oxy-note p {
    margin: 0;
}

.oxy-figure {
    position: relative;
    overflow: hidden;
    margin: 24px 0;
}

.oxy-figure figcaption,
.oxy-gallery figcaption {
    padding: 13px 16px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.oxy-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.oxy-gallery figure {
    position: relative;
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(185, 28, 28, .18);
    border-radius: 16px;
    background: var(--color-surface, #fff);
}

.oxy-zoom-hint {
    display: none;
}

.oxy-steps {
    counter-reset: oxy-step;
    display: grid;
    gap: 14px;
    margin: 22px 0;
    padding: 0;
    list-style: none;
}

.oxy-steps li {
    position: relative;
    min-height: 48px;
    padding: 12px 16px 12px 66px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.oxy-steps li::before {
    counter-increment: oxy-step;
    content: counter(oxy-step);
    position: absolute;
    top: 8px;
    left: 8px;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    background: #b91c1c;
    color: #fff;
    font-weight: 700;
}

.oxy-faq {
    display: grid;
    gap: 12px;
}

.oxy-faq details {
    padding: 18px 20px;
}

.oxy-faq summary {
    color: var(--text-color);
    font-weight: 700;
    cursor: pointer;
}

.oxy-faq p {
    margin: 12px 0 0;
}

html[data-effective-theme="dark"] .oxy-kicker,
html[data-effective-theme="dark"] .oxy-fact strong {
    color: #fca5a5;
}

html[data-effective-theme="dark"] .oxy-hero__copy,
html[data-effective-theme="dark"] .oxy-toc,
html[data-effective-theme="dark"] .oxy-card,
html[data-effective-theme="dark"] .oxy-note,
html[data-effective-theme="dark"] .oxy-facts,
html[data-effective-theme="dark"] .oxy-figure,
html[data-effective-theme="dark"] .oxy-gallery figure,
html[data-effective-theme="dark"] .oxy-faq details,
html[data-effective-theme="dark"] .oxy-fact {
    border-color: rgba(252, 165, 165, .25);
    background: var(--color-surface, #171717);
}

@media (max-width: 800px) {
    .oxy-hero,
    .oxy-gallery {
        grid-template-columns: 1fr;
    }

    .oxy-hero__media {
        order: -1;
    }

    .oxy-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .oxy-article {
        padding-top: 64px;
    }

    .oxy-article .article-container {
        width: calc(100% - 20px);
        padding: 24px 14px 52px;
    }

    .oxy-toc ol,
    .oxy-grid,
    .oxy-facts {
        grid-template-columns: 1fr;
    }

    .oxy-hero__copy,
    .oxy-toc,
    .oxy-card {
        padding: 20px;
    }

    .oxy-hero__copy p {
        font-size: 16px;
    }

    .oxy-zoom-hint {
        position: absolute;
        right: 10px;
        bottom: 10px;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        min-height: 36px;
        padding: 7px 11px;
        border: 1px solid rgba(255, 255, 255, .72);
        border-radius: 999px;
        color: #fff;
        background: rgba(15, 23, 42, .86);
        box-shadow: 0 8px 22px rgba(0, 0, 0, .24);
        font-size: 12px;
        font-weight: 700;
        line-height: 1.2;
        pointer-events: none;
    }

    .oxy-figure .oxy-zoom-hint {
        top: 10px;
        bottom: auto;
    }
}
