:root {
    --news-ink: #111827;
    --news-muted: #667085;
    --news-blue: #0b63ce;
    --news-cyan: #0ea5b7;
    --news-line: #e5edf7;
    --news-paper: #f5f8fc;
}

.news-page {
    padding: 72px 0 86px;
    background:
        radial-gradient(circle at top left, rgba(14, 165, 183, 0.14), transparent 34%),
        linear-gradient(180deg, #f7fbff 0%, #ffffff 55%, #f4f7fb 100%);
}

.news-page__container {
    max-width: 1180px;
}

.news-page__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.news-page__eyebrow {
    display: inline-flex;
    color: var(--news-blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.news-page__head h1 {
    margin: 8px 0 8px;
    color: var(--news-ink);
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 950;
    letter-spacing: -0.045em;
}

.news-page__head p {
    max-width: 620px;
    margin: 0;
    color: var(--news-muted);
    font-size: 16px;
}

.news-search {
    display: flex;
    width: min(100%, 360px);
    padding: 6px;
    border: 1px solid var(--news-line);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.news-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 0 14px;
    outline: none;
    color: var(--news-ink);
}

.news-search button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--news-blue), var(--news-cyan));
    color: #fff;
}

.news-hero-card {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    margin-bottom: 34px;
    overflow: hidden;
    border: 1px solid var(--news-line);
    border-radius: 28px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.news-hero-card__image {
    position: relative;
    min-height: 420px;
    overflow: hidden;
}

.news-hero-card__image img,
.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.news-hero-card:hover img,
.news-card:hover img {
    transform: scale(1.055);
}

.news-hero-card__image span {
    position: absolute;
    top: 24px;
    left: 24px;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #13b8d3, #0b63ce);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-hero-card__body {
    padding: clamp(28px, 4vw, 54px);
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--news-muted);
    font-size: 13px;
    font-weight: 700;
}

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

.news-meta i {
    color: var(--news-blue);
}

.news-hero-card h2 {
    margin: 18px 0 14px;
    color: var(--news-ink);
    font-size: clamp(28px, 3vw, 46px);
    font-weight: 950;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.news-hero-card__subtitle {
    color: #26344f;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.5;
}

.news-hero-card__summary,
.news-card p {
    color: var(--news-muted);
    line-height: 1.7;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.news-card {
    overflow: hidden;
    border: 1px solid var(--news-line);
    border-radius: 22px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
}

.news-card__image {
    height: 210px;
    overflow: hidden;
}

.news-card__body {
    padding: 22px;
}

.news-card h3 {
    margin: 12px 0 10px;
    color: var(--news-ink);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.3;
}

.news-pagination {
    margin-top: 40px;
}

.news-detail {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(66, 165, 245, 0.16), transparent 32%),
        linear-gradient(180deg, #f7fbff 0%, #ffffff 46%, #f4f8ff 100%);
    color: var(--news-ink);
}

.news-detail__masthead {
    padding: 76px 20px 34px;
}

.news-detail__inner {
    width: min(100%, 900px);
    margin: 0 auto;
}

.news-detail__breadcrumb,
.news-detail__meta-top {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #64748b;
    font-size: 14px;
}

.news-detail__breadcrumb a {
    color: var(--news-blue);
    font-weight: 700;
    text-decoration: none;
}

.news-detail__breadcrumb a:hover {
    color: var(--news-cyan);
}

.news-detail__meta-top {
    justify-content: flex-end;
    margin-top: -20px;
}

.news-detail h1 {
    max-width: 820px;
    margin: 18px 0 18px;
    color: #0f2f5f;
    font-size: clamp(36px, 4.8vw, 64px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.news-detail__subtitle {
    max-width: 760px;
    color: #334155;
    font-size: 18px;
    line-height: 1.65;
}

.news-detail__share {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.news-detail__share a,
.news-detail__share button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #d7e4f4;
    border-radius: 50%;
    background: #fff;
    color: var(--news-blue);
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(15, 47, 95, 0.08);
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.news-detail__share a:hover,
.news-detail__share button:hover {
    border-color: var(--news-blue);
    color: var(--news-cyan);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(15, 47, 95, 0.13);
}

.news-detail__hero {
    width: min(100%, 1100px);
    margin: 24px auto 64px;
    padding: 0 20px;
}

.news-detail__hero img {
    width: 100%;
    max-height: 690px;
    object-fit: cover;
    border: 1px solid #d7e4f4;
    border-radius: 22px;
    background: #eef5ff;
    box-shadow: 0 24px 70px rgba(15, 47, 95, 0.14);
}

.news-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 820px) 280px;
    gap: 64px;
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 0 20px 90px;
}

.news-detail__lead {
    margin: 0 0 42px;
    padding: 22px 24px;
    border-left: 5px solid var(--news-blue);
    border-radius: 0 18px 18px 0;
    background: #eef6ff;
    color: #173b68;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.65;
}

.news-story-section {
    margin-bottom: 62px;
}

.news-story-section h2 {
    margin: 0 0 18px;
    color: #0f2f5f;
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 900;
    letter-spacing: -0.03em;
}

.news-story-section figure {
    margin: 0 0 22px;
}

.news-story-section figure img {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid #d7e4f4;
}

.news-story-section figcaption {
    margin-top: 10px;
    color: #64748b;
    font-size: 13px;
    text-align: center;
}

.news-story-section__text {
    color: #334155;
    font-size: 18px;
    line-height: 1.85;
}

.news-detail__aside {
    position: sticky;
    top: 90px;
    align-self: start;
}

.news-aside-card {
    border: 1px solid #d7e4f4;
    border-radius: 18px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 48px rgba(15, 47, 95, 0.1);
}

.news-aside-card h3 {
    margin: 0 0 18px;
    color: #0f2f5f;
    font-size: 18px;
    text-transform: uppercase;
}

.news-aside-card a {
    display: block;
    padding: 14px 0;
    border-top: 1px solid #e5edf7;
    color: #1f2937;
    text-decoration: none;
}

.news-aside-card a:hover {
    color: var(--news-blue);
}

.news-aside-card span {
    color: var(--news-blue);
    font-size: 12px;
    font-weight: 900;
}

.news-aside-card strong {
    display: block;
    margin-top: 5px;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .news-page__head,
    .news-hero-card,
    .news-detail__layout {
        grid-template-columns: 1fr;
    }

    .news-page__head {
        display: grid;
    }

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

    .news-detail__meta-top {
        justify-content: flex-start;
        margin-top: 16px;
    }

    .news-detail__aside {
        position: static;
    }
}

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

    .news-page {
        padding-top: 46px;
    }

    .news-hero-card__image {
        min-height: 280px;
    }

    .news-detail__masthead {
        padding-top: 58px;
    }
}
