@media (max-width: 1023.98px) {
    .page-news.beta-news-detail {
        --news-detail-navy: #09274b;
        --news-detail-muted: #435d74;
        --news-detail-ice: #e8f3fb;
        --news-detail-orange: #bd4906;
        width: min(calc(100% - 32px), 680px);
        max-width: none;
        margin-inline: auto;
        padding-bottom: 28px;
        color: var(--news-detail-navy);
        overflow-wrap: anywhere;
    }

    .beta-news-detail > .news-hero {
        min-height: 0 !important;
        margin: 0;
        padding: 0;
        background: transparent;
    }

    .beta-news-detail > .news-hero::before,
    .beta-news-detail > .news-hero::after {
        content: none;
    }

    .beta-news-detail .news-hero > .news-hero__content {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        text-align: left;
    }

    .beta-news-detail .news-hero .news-kicker {
        color: var(--news-detail-orange);
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .beta-news-detail .news-kicker .beta-news-desktop-label {
        display: inline !important;
    }

    .beta-news-detail .beta-news-kicker-original {
        display: none;
    }

    .beta-news-detail .news-hero h1 {
        margin: 6px 0 8px;
        color: var(--news-detail-navy);
        font-size: clamp(25px, 6.8vw, 36px);
        line-height: 1.18;
    }

    .beta-news-detail .news-hero .beta-news-meta {
        margin: 0;
        color: var(--news-detail-muted);
        font-size: 13px;
        line-height: 1.45;
    }

    .beta-news-detail > .beta-news-detail-grid {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        max-width: none;
        padding: 12px 0 0 !important;
        margin: 0;
    }

    .beta-news-detail .beta-news-article {
        min-width: 0;
    }

    .beta-news-detail .beta-news-intro {
        display: flex;
        flex-direction: column;
        gap: 12px;
        color: var(--news-detail-muted);
        font-size: 15px;
        line-height: 1.55;
    }

    .beta-news-detail .beta-news-intro figure {
        order: 1;
        float: none !important;
        margin: 0 !important;
    }

    .beta-news-detail .beta-news-intro figure img {
        display: block;
        width: 100%;
        max-width: 100% !important;
        max-height: min(64vh, 450px);
        height: auto;
        object-fit: contain;
        border-radius: 8px;
        background: var(--news-detail-ice);
    }

    .beta-news-detail .beta-news-intro figcaption {
        margin-top: 5px;
        color: var(--news-detail-muted) !important;
        text-align: center;
    }

    .beta-news-detail .beta-news-toc:not([hidden]) {
        display: block;
        margin: 14px 0;
        border-radius: 8px;
        background: var(--news-detail-ice);
    }

    .beta-news-detail .beta-news-toc:not([hidden]) + .detail-toc {
        display: none !important;
    }

    .beta-news-detail .beta-news-toc summary {
        padding: 13px 14px;
        font-weight: 700;
        cursor: pointer;
    }

    .beta-news-detail .beta-news-toc ol {
        margin: 0;
        padding: 0 12px 12px 32px;
    }

    .beta-news-detail .beta-news-toc a {
        display: block;
        padding: 8px 0;
        color: var(--news-detail-navy);
        line-height: 1.4;
    }

    .beta-news-detail .beta-news-toc-sublist {
        margin: 0 0 4px;
        padding-inline-start: 12px;
        border-inline-start: 1px solid #caddea;
        list-style: none;
    }

    .beta-news-detail .beta-news-body-window,
    .beta-news-detail #news-bodyhtml {
        display: flow-root;
    }

    .beta-news-detail .beta-news-body-window.is-collapsed {
        position: relative;
        overflow: clip;
    }

    .beta-news-detail .beta-news-body-window.is-collapsed::after {
        position: absolute;
        inset: auto 0 0;
        height: 30px;
        background: linear-gradient(transparent, #fff);
        pointer-events: none;
        content: "";
    }

    .beta-news-detail #news-bodyhtml {
        color: var(--news-detail-muted);
        font-size: 16px;
        line-height: 1.65;
    }

    .beta-news-detail #news-bodyhtml :is(h1, h2, h3) {
        color: var(--news-detail-navy);
        line-height: 1.28;
    }

    .beta-news-detail #news-bodyhtml :is(h1, h2) {
        font-size: 21px;
    }

    .beta-news-detail #news-bodyhtml h3 {
        font-size: 18px;
    }

    .beta-news-detail #news-bodyhtml :is(img, iframe, video, figure) {
        max-width: 100% !important;
    }

    .beta-news-detail #news-bodyhtml img {
        height: auto !important;
    }

    .beta-news-detail #news-bodyhtml figure {
        margin-inline: 0;
    }

    .beta-news-detail #news-bodyhtml table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
    }

    .beta-news-detail .beta-news-body-toggle:not([hidden]) {
        display: block;
        width: 100%;
        min-height: 44px;
        margin: 12px 0 0;
        padding: 9px 14px;
        border: 1px solid #caddea;
        border-radius: 6px;
        background: #fff;
        color: var(--news-detail-navy);
        font: inherit;
        font-weight: 700;
        cursor: pointer;
    }

    .beta-news-detail .beta-news-body-toggle::after {
        display: inline-block;
        width: 7px;
        height: 7px;
        margin-inline-start: 10px;
        border: solid currentColor;
        border-width: 0 1.5px 1.5px 0;
        transform: translateY(-2px) rotate(45deg);
        content: "";
    }

    .beta-news-detail .beta-news-body-toggle[aria-expanded="true"]::after {
        transform: translateY(2px) rotate(225deg);
    }

    .beta-news-detail .beta-news-tags a {
        display: inline-block;
        margin-bottom: 5px;
        padding: 5px 8px;
        border-radius: 4px;
        background: var(--news-detail-ice);
        color: var(--news-detail-navy);
    }

    .beta-news-detail .beta-news-desktop-sidebar:has(.beta-contact-panel) {
        display: block !important;
        margin-top: 22px;
    }

    .beta-news-detail .beta-news-desktop-sidebar > :is(.beta-news-category, .beta-news-latest),
    .beta-news-detail:has(.beta-news-related) .beta-news-original-sidebar {
        display: none !important;
    }

    .beta-news-detail .beta-contact-panel > .beta-contact-card,
    .beta-news-detail .beta-contact-panel .beta-contact-list {
        border-radius: 8px;
    }

    .beta-news-detail .beta-contact-panel .beta-contact-card > h2 {
        font-size: 21px;
    }

    .beta-news-detail .beta-contact-panel .beta-contact-form input,
    .beta-news-detail .beta-contact-panel .beta-contact-form textarea {
        font-size: 16px;
    }

    .beta-news-detail .beta-news-related,
    .beta-news-detail .beta-news-original-sidebar {
        display: block !important;
        margin-top: 24px;
    }

    .beta-news-detail .beta-news-original-sidebar {
        order: 1;
    }

    .beta-news-detail .beta-news-related > h2 {
        margin: 0 0 11px;
        font-size: 21px;
    }

    .beta-news-detail .beta-news-related-grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: min(82%, 290px);
        gap: 10px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x proximity;
        padding-bottom: 7px;
    }

    .beta-news-detail .beta-news-related-grid article {
        min-width: 0;
        overflow: hidden;
        border: 1px solid #dbe7f0;
        border-radius: 8px;
        scroll-snap-align: start;
    }

    .beta-news-detail .beta-news-related-grid a {
        display: block;
        color: var(--news-detail-navy);
        text-decoration: none;
    }

    .beta-news-detail .beta-news-related-grid img {
        display: block;
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    .beta-news-detail .beta-news-related-grid a > div {
        padding: 10px 11px;
    }

    .beta-news-detail .beta-news-related-grid h3 {
        margin: 0;
        font-size: 15px;
        line-height: 1.4;
    }

    .beta-news-detail .beta-news-related-grid p,
    .beta-news-detail .beta-news-related-grid a > div > span {
        display: none;
    }
}
