.news-page {
    background: #f7f9fd;
}

.news-hero {
    position: relative;
    overflow: hidden;
    padding: 169px 0 96px;
    background:
        radial-gradient(circle at 82% 28%, rgba(57, 221, 249, .18), transparent 24%),
        radial-gradient(circle at 72% 70%, rgba(196, 6, 233, .2), transparent 33%),
        linear-gradient(112deg, #102b55 0%, #283078 54%, #4b2580 100%);
    color: #fff;
}

.news-hero::after {
    position: absolute;
    content: "";
    right: -90px;
    bottom: -210px;
    width: 720px;
    height: 420px;
    border: 1px solid rgba(57, 221, 249, .38);
    border-radius: 50%;
    transform: rotate(-16deg);
    box-shadow: 0 0 90px rgba(64, 50, 255, .18);
}

.news-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
    gap: 70px;
    align-items: center;
    min-height: 330px;
}

.news-hero-copy {
    max-width: 700px;
}

.news-hero h1 {
    max-width: 690px;
    margin: 0;
    font-size: clamp(3.5rem, 7vw, 6rem);
    line-height: .98;
}

.news-hero-lede {
    max-width: 580px;
    margin: 25px 0 0;
    color: #e2e7f5;
    font-size: 16px;
    line-height: 1.65;
}

.news-hero-art {
    position: relative;
    min-height: 285px;
}

.news-hero-orbit,
.news-hero-orbit::before,
.news-hero-orbit::after {
    position: absolute;
    display: block;
    border: 1px solid rgba(57, 221, 249, .62);
    border-radius: 50%;
    content: "";
}

.news-hero-orbit {
    top: 20px;
    right: 7%;
    width: 270px;
    height: 270px;
    box-shadow: 0 0 55px rgba(57, 221, 249, .17), inset 0 0 55px rgba(147, 14, 181, .16);
    transform: rotate(25deg) skewX(-10deg);
}

.news-hero-orbit::before {
    inset: 28px -46px;
    border-color: rgba(196, 6, 233, .72);
    transform: rotate(47deg);
}

.news-hero-orbit::after {
    inset: 62px -78px;
    border-color: rgba(255, 255, 255, .24);
    transform: rotate(-27deg);
}

.news-content {
    padding: 88px 0 108px;
    background: #f7f9fd;
}

.news-section-header,
.home-news-header {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
    gap: 70px;
    align-items: end;
}

.news-section-header h2,
.home-news-header h2 {
    max-width: 760px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(2.35rem, 4vw, 3.8rem);
    line-height: 1.02;
}

.news-section-note,
.home-news-header > p {
    margin: 0 0 7px;
    padding-top: 19px;
    border-top: 1px solid #9eacd1;
    color: #263566;
    font-size: 13px;
    line-height: 1.55;
}

.news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, .875fr));
    gap: 14px;
    margin-top: 32px;
}

/* A single published article gets a full-width feature treatment. Adding a
   second article automatically returns the grid to the multi-card layout. */
.news-grid:has(> .news-card:only-child),
.home-news-preview:has(> .news-card:only-child) {
    grid-template-columns: 1fr;
}

.news-grid:has(> .news-card:only-child) .news-card-feature,
.home-news-preview:has(> .news-card:only-child) .news-card-feature {
    grid-column: 1 / -1;
}

.news-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #d6e0ee;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(27, 47, 92, .05);
}

.news-card:hover {
    border-color: rgba(57, 170, 224, .72);
    box-shadow: 0 17px 34px rgba(27, 47, 92, .1);
    transform: translateY(-2px);
}

.news-card,
.news-card:hover {
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.news-card-feature {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
}

.news-card-visual {
    position: relative;
    display: flex;
    min-height: 205px;
    align-items: flex-end;
    overflow: hidden;
    padding: 22px;
    background:
        radial-gradient(circle at 74% 20%, rgba(57, 221, 249, .42), transparent 22%),
        radial-gradient(circle at 28% 80%, rgba(196, 6, 233, .36), transparent 33%),
        linear-gradient(145deg, #0b2451, #342777 65%, #551779);
    color: #fff;
}

.news-card-visual::before,
.news-card-visual::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 50%;
    content: "";
}

.news-card-visual::before {
    top: 24px;
    right: -35px;
    width: 230px;
    height: 130px;
    transform: rotate(-21deg);
}

.news-card-visual::after {
    right: 16px;
    bottom: -64px;
    width: 210px;
    height: 140px;
    border-color: rgba(57, 221, 249, .7);
    transform: rotate(23deg);
}

.news-card-visual-label {
    position: relative;
    z-index: 1;
    max-width: 120px;
    color: #a9f5ff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .19em;
    line-height: 1.35;
}

.news-card-visual--image {
    padding: 0;
    background: #19234b;
    min-height: 0;
    aspect-ratio: 1 / 1;
}

.news-card-visual--image::before,
.news-card-visual--image::after,
.news-card-visual--image .news-card-visual-label {
    display: none;
}

.news-card-visual--image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.news-card-link {
    gap: 8px;
    margin-top: 18px;
    color: #304dce;
    font-size: 12px;
}

.news-card-link span {
    color: #2ad1ed;
    font-size: 18px;
    line-height: .7;
}

.news-card-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    padding: 25px 27px 27px;
}

.news-card-kicker {
    margin: 0 0 13px;
    color: #5264a4;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.news-card h3 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.35rem, 2.1vw, 2rem);
    line-height: 1.08;
}

.news-card p:not(.news-card-kicker) {
    margin: 16px 0 0;
    color: #53658f;
    font-size: 14px;
    line-height: 1.55;
}

.news-card .news-card-copy::after {
    display: block;
    width: 42px;
    height: 2px;
    margin-top: auto;
    padding-top: 20px;
    border-bottom: 2px solid #2ad1ed;
    content: "";
}

.news-card-feature .news-card-copy {
    justify-content: center;
    padding: 42px clamp(30px, 4vw, 54px);
}

.news-card-feature .news-card-copy::after {
    margin-top: 22px;
}

.home-news {
    padding: 87px 0 92px;
    border-top: 1px solid #e1e7f0;
    background: #f0f3fa;
}

.home-news-header {
    margin-bottom: 29px;
}

.home-news-header .text-link {
    display: inline-flex;
    margin-top: 21px;
    color: #304dce;
    font-size: 13px;
}

.home-news-preview {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, .875fr));
    gap: 14px;
}

.home-news-preview .news-card-feature {
    grid-column: auto;
}

.home-news-preview .news-card-visual {
    min-height: 170px;
}

.home-news-preview .news-card-visual--image {
    min-height: 0;
}

.home-news-preview .news-card-copy {
    padding: 20px 22px 23px;
}

.home-news-preview .news-card h3 {
    font-size: clamp(1.2rem, 1.8vw, 1.65rem);
}

.home-news-preview .news-card p:not(.news-card-kicker) {
    margin-top: 12px;
    font-size: 13px;
}

.article-page {
    background: #f7f9fd;
}

.article-hero {
    padding: 161px 0 88px;
    background: #f0f3fa;
}

.article-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, .72fr);
    gap: clamp(44px, 7vw, 100px);
    align-items: center;
    max-width: 1200px;
}

.article-hero-copy {
    min-width: 0;
}

.article-hero-media {
    width: min(100%, 460px);
    justify-self: end;
}

.article-hero-media img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(16, 26, 77, .1);
    border-radius: 18px;
    box-shadow: 0 22px 54px rgba(27, 47, 92, .14);
}

.article-kicker {
    margin: 0 0 20px;
    color: #5264a4;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.article-title {
    max-width: 780px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(2.35rem, 3.65vw, 4.25rem);
    line-height: .99;
}

.article-dek {
    max-width: 760px;
    margin: 25px 0 0;
    color: #263566;
    font-size: clamp(1.05rem, 1.7vw, 1.35rem);
    line-height: 1.5;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 25px;
    color: #64708b;
    font-size: 12px;
}

.article-feature {
    padding: 0 0 78px;
    background: #f0f3fa;
}

.article-feature-image {
    display: block;
    width: min(1200px, calc(100% - 64px));
    height: auto;
    margin: 0 auto;
    border: 1px solid rgba(16, 26, 77, .1);
    border-radius: 20px;
    box-shadow: 0 22px 54px rgba(27, 47, 92, .14);
}

.article-content {
    padding: 84px 0 105px;
    background: #fff;
}

.article-intro {
    padding: 55px 0 51px;
    border-top: 1px solid #dfe6f1;
    border-bottom: 1px solid #dfe6f1;
    background: #fff;
}

.article-intro-inner {
    max-width: 900px;
}

.article-intro p {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.25rem, 2.2vw, 1.8rem);
    line-height: 1.42;
}

.article-intro .article-intro-follow {
    margin-top: 20px;
    color: #5264a4;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    line-height: 1.4;
    text-transform: uppercase;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 770px) minmax(210px, 270px);
    gap: clamp(48px, 8vw, 120px);
    align-items: start;
    justify-content: space-between;
}

.article-body {
    color: #263566;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.75;
}

.article-body > p:first-child {
    color: var(--ink);
    font-size: 21px;
    line-height: 1.55;
}

.article-body p {
    margin: 0 0 24px;
}

.article-body h2 {
    margin: 48px 0 16px;
    color: var(--ink);
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    line-height: 1.08;
}

.article-body h3 {
    margin: 42px 0 14px;
    color: var(--ink);
    font-size: 1.2rem;
    line-height: 1.2;
}

.article-body blockquote {
    margin: 38px 0;
    padding: 5px 0 5px 25px;
    border-left: 2px solid #2ad1ed;
    color: var(--ink);
    font-size: 20px;
    line-height: 1.55;
}

.article-aside {
    position: sticky;
    top: 116px;
    padding: 24px;
    border: 1px solid #d6e0ee;
    border-radius: 16px;
    background: #f7f9fd;
}

.article-aside strong {
    display: block;
    color: var(--ink);
    font-size: 12px;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.article-aside p {
    margin: 14px 0 0;
    color: #53658f;
    font-size: 13px;
    line-height: 1.55;
}

.article-aside .button {
    width: 100%;
    margin-top: 20px;
}

.article-end-cta {
    margin-top: 55px;
    padding: 28px 30px 30px;
    border: 1px solid #d6e0ee;
    border-radius: 16px;
    background: #f7f9fd;
}

.article-end-cta p {
    margin: 0;
    color: #53658f;
    font-size: 14px;
    line-height: 1.6;
}

.article-end-cta p + p {
    margin-top: 17px;
    color: var(--ink);
    font-weight: 600;
}

.article-end-cta strong {
    color: var(--ink);
}

.article-end-cta a:not(.button) {
    color: #304dce;
    overflow-wrap: anywhere;
}

.article-end-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    align-items: center;
    margin-top: 22px;
}

.article-end-actions .button {
    margin-top: 0;
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: #304dce;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.article-back:hover {
    color: var(--violet);
}

.article-hero-copy > .article-back {
    margin-bottom: 22px;
}

@media (max-width: 900px) {
    .news-hero-inner,
    .news-section-header,
    .home-news-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .news-hero-art {
        display: none;
    }

    .news-grid,
    .home-news-preview {
        grid-template-columns: 1fr 1fr;
    }

    .news-card-feature {
        grid-column: span 2;
    }

    .article-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .article-aside {
        position: static;
        max-width: 430px;
    }
}

@media (max-width: 620px) {
    .news-hero {
        padding: 112px 0 62px;
    }

    .news-hero h1 {
        font-size: clamp(3.2rem, 14vw, 4.7rem);
    }

    .news-hero-lede {
        font-size: 14px;
    }

    .news-content,
    .home-news {
        padding: 65px 0 72px;
    }

    .news-section-header h2,
    .home-news-header h2 {
        font-size: clamp(2.35rem, 10.5vw, 3rem);
    }

    .news-grid,
    .home-news-preview {
        grid-template-columns: 1fr;
    }

    .news-card-feature {
        grid-column: auto;
        display: flex;
    }

    .news-card-visual,
    .home-news-preview .news-card-visual {
        min-height: 150px;
    }

    .news-card-visual--image,
    .home-news-preview .news-card-visual--image {
        min-height: 0;
    }

    .news-card-copy,
    .home-news-preview .news-card-copy {
        padding: 21px 19px 23px;
    }

    .news-card h3,
    .home-news-preview .news-card h3 {
        font-size: 1.45rem;
    }

    .article-hero {
        padding: 100px 0 48px;
    }

    .article-hero-inner {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .article-hero-media {
        width: min(100%, 250px);
        justify-self: center;
    }

    .article-hero-media img {
        border-radius: 12px;
    }

    .article-title {
        font-size: clamp(1.95rem, 8.5vw, 3.1rem);
        line-height: 1.01;
    }

    .article-dek {
        margin-top: 18px;
        font-size: 14px;
    }

    .article-kicker {
        margin-bottom: 15px;
        font-size: 9px;
        letter-spacing: .18em;
    }

    .article-meta {
        gap: 7px 14px;
        margin-top: 18px;
        font-size: 11px;
    }

    .article-content {
        padding: 61px 0 74px;
    }

    .article-intro {
        padding: 39px 0 35px;
    }

    .article-intro p {
        font-size: 18px;
    }

    .article-intro .article-intro-follow {
        margin-top: 15px;
        font-size: 9px;
    }

    .article-body {
        font-size: 16px;
        line-height: 1.7;
    }

    .article-body > p:first-child,
    .article-body blockquote {
        font-size: 18px;
    }

    .article-end-cta {
        padding: 23px 19px 24px;
    }

    .article-end-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}
