.articles-shell {
    margin-top: 36px;
    margin-bottom: 72px;
}

.articles-hero {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    padding: 48px;
    color: #f9f7f0;
    background: radial-gradient(circle at 15% 15%, #ff9c6a 0%, transparent 38%), linear-gradient(125deg, #182035 0%, #0e5b64 60%, #f66c36 100%);
}

.articles-hero__noise {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 0);
    background-size: 5px 5px;
    opacity: 0.2;
    pointer-events: none;
}

.articles-hero > * {
    position: relative;
    z-index: 1;
}

.articles-hero h1 {
    margin: 8px 0 16px;
    max-width: 800px;
    font-size: 52px;
    line-height: 1.05;
    letter-spacing: -1px;
}

.articles-hero__eyebrow {
    margin: 0;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.9;
}

.articles-hero__intro p {
    margin: 0;
    max-width: 760px;
    color: rgba(249, 247, 240, 0.88);
    font-size: 19px;
    line-height: 1.5;
}

.article-featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 22px;
    margin-top: 26px;
    padding: 22px;
    border: 1px solid #d9dfeb;
    border-radius: 24px;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.articles-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.articles-toolbar__label {
    font-size: 14px;
    color: #4c5668;
}

.articles-toolbar__select {
    min-width: 220px;
    border-radius: 999px;
    border: 1px solid #cfd7e7;
    background: #ffffff;
    padding: 8px 38px 8px 14px;
    font-size: 14px;
    color: #182035;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23182035' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
}

.articles-toolbar__reset {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #ffb189;
    background: #fff3ec;
    color: #b6430b;
    text-decoration: none;
    padding: 7px 12px;
    font-size: 13px;
}

.article-featured-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 38px rgba(17, 30, 47, 0.15);
}

.article-featured-card__content h2 {
    margin: 12px 0 10px;
    font-size: 34px;
    line-height: 1.15;
}

.article-featured-card__content p {
    margin: 0 0 20px;
    color: #5d6879;
}

.article-featured-card__image img,
.article-card img,
.article-detail__cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 18px;
}

.articles-grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.article-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #d9dfeb;
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    background: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(17, 30, 47, 0.12);
}

.article-card__body {
    padding: 14px;
}

.article-card__body h3 {
    margin: 10px 0 8px;
    font-size: 24px;
    line-height: 1.2;
}

.article-card__body p {
    margin: 0 0 12px;
    color: #5d6879;
}

.article-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    border: 1px solid #ffc2a5;
    background: #fff3ec;
    color: #b6430b;
    font-size: 13px;
    line-height: 1;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #6f7788;
    font-size: 13px;
}

.article-meta_large {
    font-size: 14px;
}

.articles-empty {
    margin-top: 24px;
    border: 1px dashed #b8c2d4;
    border-radius: 20px;
    padding: 28px;
    text-align: center;
}

.articles-pagination {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.articles-pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #ccd6e9;
    background: #ffffff;
    color: #182035;
    text-decoration: none;
    font-size: 14px;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.articles-pagination__link:hover {
    transform: translateY(-1px);
    border-color: #8ea6d8;
    background: #f4f8ff;
}

.articles-pagination__link.is-active {
    border-color: #19386f;
    background: #19386f;
    color: #f6f9ff;
}

.articles-pagination__ellipsis {
    color: #6f7788;
    padding: 0 2px;
    font-size: 14px;
}

.article-detail {
    margin-top: 36px;
    margin-bottom: 72px;
}

.article-detail__hero {
    max-width: 980px;
    margin: 0 auto;
}

.article-detail__hero h1 {
    margin: 12px 0 14px;
    font-size: 56px;
    line-height: 1.05;
    letter-spacing: -1.2px;
}

.article-detail__subtitle {
    margin: 0;
    color: #465063;
    font-size: 23px;
    line-height: 1.45;
}

.article-detail__cover {
    margin-top: 28px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 55px rgba(17, 30, 47, 0.19);
}

.article-detail__body {
    max-width: 860px;
    margin: 38px auto 0;
    font-size: 19px;
    line-height: 1.75;
}

.article-detail__body p {
    margin: 0 0 1.1em;
    color: #1d2433;
}

.article-detail__body h2,
.article-detail__body h3,
.article-detail__body h4 {
    margin-top: 1.5em;
    margin-bottom: 0.6em;
}

.article-detail__body h2 {
    font-size: 36px;
    line-height: 1.15;
    letter-spacing: -0.6px;
    color: #111d36;
}

.article-detail__body h3 {
    font-size: 28px;
    line-height: 1.2;
    color: #162a50;
}

.article-detail__body blockquote {
    margin: 1.8em 0;
    padding: 18px 20px 18px 22px;
    border-left: 5px solid #ff7d45;
    border-radius: 14px;
    background: linear-gradient(125deg, #fff4ea 0%, #fff8f3 100%);
    color: #6d3010;
    font-size: 24px;
    line-height: 1.35;
}

.article-detail__body strong {
    color: #0f2f6d;
    font-weight: 700;
}

.article-detail__body em {
    color: #a73c08;
    font-style: normal;
    background: linear-gradient(180deg, rgba(255, 196, 168, 0) 55%, rgba(255, 196, 168, 0.75) 55%);
}

.article-detail__body a {
    color: #1d43c8;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

.article-detail__body ul,
.article-detail__body ol {
    margin: 0 0 1.2em;
    padding-left: 1.4em;
}

.article-detail__body li {
    margin-bottom: 0.4em;
}

.article-detail__body hr {
    border: 0;
    height: 2px;
    margin: 2em 0;
    background: linear-gradient(90deg, rgba(20, 31, 55, 0.08) 0%, rgba(20, 31, 55, 0.45) 50%, rgba(20, 31, 55, 0.08) 100%);
}

.article-detail__body .rich-text-callout {
    margin: 1.6em 0;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #ffd4bb;
    background: #fff4eb;
    color: #743413;
}

.article-detail__stream {
    max-width: 860px;
    margin: 30px auto 0;
}

.article-detail__recent {
    margin-top: 52px;
}

.article-detail__recent h2 {
    margin-bottom: 10px;
}

.article-fallback-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    padding: 24px;
    border-radius: 18px;
    color: #f3f7ff;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    background: linear-gradient(145deg, #29416f 0%, #4e8f8f 100%);
}

.article-fallback-cover_small {
    min-height: 180px;
    border-radius: 0;
    font-size: 22px;
}

@media screen and (max-width: 1439px) {
    .articles-shell {
        margin-top: 20px;
        margin-bottom: 40px;
    }

    .articles-hero {
        border-radius: 20px;
        padding: 22px 16px;
    }

    .articles-hero h1 {
        font-size: 32px;
        letter-spacing: -0.4px;
    }

    .articles-hero__intro p {
        font-size: 16px;
    }

    .article-featured-card {
        margin-top: 16px;
        grid-template-columns: 1fr;
        border-radius: 16px;
        padding: 12px;
        gap: 12px;
    }

    .articles-toolbar {
        margin-top: 14px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .articles-toolbar__select {
        min-width: 180px;
        padding: 7px 34px 7px 10px;
        background-position: right 12px center;
    }

    .article-featured-card__content h2,
    .article-card__body h3 {
        font-size: 22px;
    }

    .articles-grid {
        margin-top: 16px;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .article-detail {
        margin-top: 20px;
        margin-bottom: 40px;
    }

    .article-detail__hero h1 {
        font-size: 34px;
        letter-spacing: -0.4px;
    }

    .article-detail__subtitle {
        font-size: 16px;
    }

    .article-detail__cover {
        margin-top: 16px;
        border-radius: 14px;
    }

    .article-detail__body {
        margin-top: 24px;
        font-size: 16px;
        line-height: 1.6;
    }

    .article-detail__body h2 {
        font-size: 28px;
    }

    .article-detail__body h3 {
        font-size: 22px;
    }

    .article-detail__body blockquote {
        font-size: 20px;
        margin: 1.4em 0;
    }

    .article-fallback-cover {
        min-height: 180px;
        font-size: 24px;
    }
}
