.news-detail-page {
    background:
        radial-gradient(900px 500px at -10% 0, rgba(124, 92, 255, .26), transparent 60%),
        radial-gradient(900px 600px at 110% 100%, rgba(46, 230, 166, .22), transparent 60%),
        var(--bg);
    overflow: hidden;
}

.news-detail-hero {
    position: relative;
    padding: 78px 0 36px;
    overflow: hidden;
}

.news-detail-hero-bg {
    position: absolute;
    inset: -30% -10%;
    background:
        radial-gradient(1100px 550px at 0 0, rgba(124, 92, 255, .36), transparent 60%),
        radial-gradient(900px 500px at 100% 100%, rgba(46, 230, 166, .32), transparent 70%),
        repeating-linear-gradient(115deg, rgba(124, 92, 255, .055) 0 2px, transparent 2px 12px);
    opacity: .85;
    pointer-events: none;
    mix-blend-mode: screen;
    animation: news-detail-gridshift 18s linear infinite;
}

@keyframes news-detail-gridshift {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }

    100% {
        background-position: 0 0, 0 0, 600px -400px;
    }
}

.news-detail-hero-wrap {
    position: relative;
    z-index: 1;
}

.breadcrumb-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: #9fb1cd;
    font-size: .9rem;
    font-weight: 700;
}

.breadcrumb-row a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #cfe1ff;
    transition: color .2s ease, transform .2s ease;
}

.breadcrumb-row a:hover {
    color: var(--brand-2);
    transform: translateY(-1px);
}

.breadcrumb-row strong {
    color: #fff;
}

.news-article-header {
    max-width: 920px;
    padding: 24px;
    border-radius: 28px;
    background:
        radial-gradient(720px 420px at 50% -12%, rgba(124, 92, 255, .16), transparent 68%),
        linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .026));
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: var(--shadow);
}

.news-chip,
.sidebar-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 999px;
    color: #081018;
    background: #9ff0cf;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.news-article-header h1 {
    margin: 14px 0 12px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.05;
    letter-spacing: -.05em;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 14px;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #9fb1cd;
    font-size: .9rem;
    font-weight: 700;
}

.article-meta i {
    color: var(--brand-2);
}

.news-detail-content-section {
    padding: 34px 0 46px;
}

.news-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: start;
}

.news-content-card {
    position: relative;
    min-width: 0;
    padding: 28px;
    border-radius: 28px;
    background:
        radial-gradient(760px 460px at 30% -10%, rgba(124, 92, 255, .12), transparent 68%),
        linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .022));
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: var(--shadow);
}

.article-date-card {
    width: 92px;
    height: 108px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 1px;
    float: left;
    margin: 0 20px 12px 0;
    border-radius: 22px;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .24), transparent 58%),
        linear-gradient(180deg, rgba(46, 230, 166, .18), rgba(124, 92, 255, .14));
    border: 1px solid rgba(255, 255, 255, .12);
}

.article-date-card span {
    color: #9ff0cf;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.article-date-card strong {
    color: #fff;
    font-size: 2.15rem;
    line-height: 1;
    letter-spacing: -.04em;
}

.article-date-card small {
    color: #9fb1cd;
    font-weight: 800;
}

.news-content {
    color: #dbe4ef;
    font-size: 1rem;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.news-content::after {
    content: "";
    display: block;
    clear: both;
}

.news-content p {
    margin-top: 0;
}

.news-content a {
    color: var(--brand-2);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(46, 230, 166, .45);
    text-underline-offset: 3px;
}

.news-content a:hover {
    color: #fff;
}

.news-content h1,
.news-content h2,
.news-content h3,
.news-content h4 {
    color: #fff;
    line-height: 1.2;
    margin: 1.4em 0 .55em;
}

.news-content ul,
.news-content ol {
    padding-left: 1.35rem;
}

.news-content blockquote {
    margin: 1.3rem 0;
    padding: 14px 16px;
    border-left: 4px solid var(--brand-2);
    border-radius: 14px;
    color: #cfe1ff;
    background: rgba(46, 230, 166, .07);
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .1);
}

.news-sidebar {
    display: grid;
    gap: 14px;
    position: sticky;
    top: 92px;
}

.speed-widget,
.affiliate-widget,
.mini-resource-card {
    border-radius: 24px;
    background:
        radial-gradient(520px 300px at 50% -18%, rgba(124, 92, 255, .15), transparent 68%),
        linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .022));
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: var(--shadow);
}

.speed-widget {
    padding: 18px;
    overflow: hidden;
}

.speed-ring {
    position: relative;
    width: min(250px, 100%);
    margin: 0 auto 16px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02) 55%, transparent 56%),
        conic-gradient(from 0deg, rgba(124, 92, 255, 0), rgba(124, 92, 255, .5), rgba(46, 230, 166, .5), rgba(124, 92, 255, 0));
    box-shadow:
        inset 0 0 48px rgba(124, 92, 255, .18),
        0 0 60px rgba(46, 230, 166, .14);
    border: 1px solid rgba(255, 255, 255, .08);
}

.speed-ring__pulse {
    position: absolute;
    inset: 7%;
    border-radius: 50%;
    border: 1px dashed rgba(200, 220, 255, .25);
    animation: speed-pulse 2.2s ease-in-out infinite;
}

@keyframes speed-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: .6;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

.speed-ring__dash,
.speed-ring__dash.delay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    mask: radial-gradient(circle at 50% 50%, transparent 62%, #000 63%);
    -webkit-mask: radial-gradient(circle at 50% 50%, transparent 62%, #000 63%);
    background: conic-gradient(from 0deg, transparent 0 70%, rgba(255, 255, 255, .85) 74% 76%, transparent 80% 100%);
    animation: speed-dashspin 1.6s linear infinite;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, .25));
}

.speed-ring__dash.delay {
    animation-duration: 2.1s;
    opacity: .7;
}

@keyframes speed-dashspin {
    to {
        transform: rotate(360deg);
    }
}

.speed-core {
    position: absolute;
    inset: 15%;
    border-radius: 50%;
    display: grid;
    place-items: center;
    align-content: center;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: inset 0 0 30px rgba(124, 92, 255, .18);
}

.speed-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    font-weight: 900;
    letter-spacing: -.05em;
    font-size: min(76px, 19vw);
    line-height: 1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 30px rgba(124, 92, 255, .35);
}

.speed-value .num,
.speed-value .x {
    background: linear-gradient(180deg, #ffffff 0%, #e8eeff 45%, #bba7ff 70%, #6b50ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 14px rgba(124, 92, 255, .35));
}

.speed-value .x {
    font-size: .5em;
    font-weight: 800;
}

.speed-label {
    margin-top: 6px;
    color: #b7c7e2;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
    font-size: .72rem;
}

.speed-widget-copy h2,
.affiliate-widget h2 {
    margin: 10px 0 8px;
    color: #fff;
    font-size: 1.22rem;
    line-height: 1.15;
    letter-spacing: -.03em;
}

.speed-widget-copy p,
.affiliate-widget p,
.mini-resource-card p {
    margin: 0 0 14px;
    color: #b8c8e4;
    font-size: .92rem;
}

.affiliate-widget {
    padding: 18px;
    background:
        radial-gradient(520px 300px at 50% -18%, rgba(46, 230, 166, .14), transparent 68%),
        linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .022));
}

.affiliate-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 16px;
    color: #081018;
    background: radial-gradient(circle at 30% 20%, #fff, #cffff0 55%, #2ee6a6 100%);
    box-shadow: 0 8px 20px rgba(46, 230, 166, .18);
}

.affiliate-icon i {
    font-size: 22px;
}

.sidebar-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    border-radius: 14px;
    color: #cfe1ff;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .09);
    font-weight: 900;
    transition: transform .18s ease, background .2s ease, border-color .2s ease;
}

.sidebar-button:hover {
    transform: translateY(-2px);
    color: #fff;
    border-color: rgba(46, 230, 166, .28);
    background: rgba(46, 230, 166, .08);
}

.sidebar-button--primary {
    color: #081018;
    background: #9ff0cf;
    border-color: rgba(46, 230, 166, .34);
}

.sidebar-button--primary:hover {
    color: #081018;
    filter: saturate(1.12);
}

.mini-resource-card {
    display: flex;
    gap: 12px;
    padding: 16px;
}

.mini-resource-card > i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    border-radius: 14px;
    color: #081018;
    background: radial-gradient(circle at 30% 20%, #fff, #cde6ff 55%, #9a86ff 100%);
}

.mini-resource-card h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 1rem;
}

.mini-resource-card p {
    margin-bottom: 9px;
}

.mini-resource-card a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--brand-2);
    font-weight: 900;
    font-size: .9rem;
}

.news-detail-cta-section {
    padding: 0 0 58px;
}

.news-detail-cta-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 24px;
    border-radius: 28px;
    background:
        radial-gradient(900px 500px at 0 0, rgba(124, 92, 255, .2), transparent 60%),
        radial-gradient(900px 500px at 100% 100%, rgba(46, 230, 166, .18), transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .022));
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: var(--shadow);
}

.news-detail-cta-card h2 {
    margin: 6px 0 7px;
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.15rem);
    letter-spacing: -.035em;
    line-height: 1.1;
}

.news-detail-cta-card p {
    margin: 0;
    max-width: 64ch;
    color: #b8c8e4;
}

.news-detail-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

@media (max-width: 980px) {
    .news-detail-layout {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .speed-widget {
        grid-column: 1 / -1;
    }

    .speed-ring {
        width: min(230px, 80vw);
    }

    .news-detail-cta-card {
        grid-template-columns: 1fr;
    }

    .news-detail-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 820px) {
    .news-detail-hero {
        padding-top: 74px;
    }

    .news-article-header {
        padding: 20px;
        border-radius: 24px;
    }

    .news-content-card {
        padding: 22px;
        border-radius: 24px;
    }
}

@media (max-width: 620px) {
    .news-article-header h1 {
        font-size: clamp(1.75rem, 8vw, 2.35rem);
    }

    .article-date-card {
        float: none;
        width: 100%;
        height: auto;
        min-height: 74px;
        display: flex;
        justify-content: center;
        gap: 8px;
        margin: 0 0 18px;
    }

    .news-sidebar {
        grid-template-columns: 1fr;
    }

    .news-content-card,
    .news-detail-cta-card,
    .speed-widget,
    .affiliate-widget,
    .mini-resource-card {
        padding: 16px;
        border-radius: 22px;
    }

    .speed-ring {
        width: min(210px, 82vw);
    }
}