.news-page {
    background: #ffffff;
    color: #0f172a;
    overflow: hidden;
}

/* ================= HERO ================= */

.news-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    background: #0f172a;
    overflow: hidden;
}

.news-hero-bg,
.news-hero-overlay {
    position: absolute;
    inset: 0;
}

.news-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .46;
}

.news-hero-overlay {
    background:
        radial-gradient(circle at 80% 20%, rgba(220, 38, 38, .24), transparent 32%),
        linear-gradient(90deg, rgba(15, 23, 42, .97), rgba(15, 23, 42, .78), rgba(15, 23, 42, .36));
}

.news-hero-content {
    position: relative;
    z-index: 2;
    padding: 90px 0;
}

.news-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: rgba(255, 255, 255, .72);
    margin-bottom: 22px;
    font-size: 14px;
}

.news-breadcrumb a {
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
}

.news-breadcrumb strong {
    color: #ffffff;
}

.news-hero h1 {
    max-width: 780px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(44px, 6vw, 76px);
    line-height: 1;
    letter-spacing: -2px;
    font-weight: 900;
}

.news-hero p {
    max-width: 720px;
    margin-top: 22px;
    color: rgba(255, 255, 255, .8);
    font-size: 18px;
    line-height: 1.8;
}

/* ================= SEARCH ================= */

.news-search-form {
    margin-top: 34px;
    max-width: 780px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

.news-search-form > div {
    position: relative;
}

.news-search-form i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 21px;
}

.news-search-form input {
    width: 100%;
    height: 58px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    padding: 0 18px 0 50px;
    color: #0f172a;
    font-weight: 700;
    outline: none;
}

.news-search-form input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 5px rgba(96, 165, 250, .18);
}

.news-search-form button {
    height: 58px;
    border: 0;
    border-radius: 18px;
    padding: 0 24px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 18px 45px rgba(37, 99, 235, .32);
    transition: .25s ease;
}

.news-search-form button:hover {
    transform: translateY(-2px);
}

/* ================= CONTENT WRAPPER ================= */

.news-content {
    padding: 85px 0;
    background: #ffffff;
}

/* ================= FEATURED ================= */

.news-featured {
    display: grid;
    grid-template-columns: 44% 56%;
    min-height: 390px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
    margin-bottom: 34px;
}

.news-featured-image {
    position: relative;
    min-height: 390px;
    background: #f1f5f9;
    overflow: hidden;
}

.news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s ease;
}

.news-featured:hover .news-featured-image img {
    transform: scale(1.025);
}

.news-featured-content {
    padding: 38px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.news-badge {
    width: fit-content;
    display: inline-flex;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(220, 38, 38, .08);
    color: #dc2626;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 14px;
}

.news-featured-content h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(28px, 2.5vw, 36px);
    line-height: 1.18;
    letter-spacing: -.6px;
    font-weight: 700;
    text-transform: none;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.news-featured-content p {
    margin: 16px 0 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.65;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

.news-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

.news-meta i {
    color: #1d4ed8;
}

.news-featured-btn {
    width: fit-content;
    min-height: 46px;
    margin-top: 22px;
    padding: 0 18px;
    border-radius: 13px;
    background: #1d4ed8;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 14px 34px rgba(37, 99, 235, .20);
    transition: .25s ease;
}

.news-featured-btn:hover {
    transform: translateY(-2px);
}

/* ================= FILTERS ================= */

.news-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}

.news-filters a {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 900;
    font-size: 14px;
    transition: .25s ease;
}

.news-filters a:hover,
.news-filters a.active {
    background: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
    box-shadow: 0 14px 32px rgba(37, 99, 235, .24);
}

.news-filters a i {
    font-size: 18px;
}
/* ================= NEWS GRID ================= */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.news-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 23, 42, .06);
    transition: .25s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 85px rgba(15, 23, 42, .11);
}

.news-card-image {
    position: relative;
    height: 230px;
    background: #e2e8f0;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .45s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.06);
}

.news-date-box {
    position: absolute;
    left: 18px;
    bottom: 18px;
    width: 72px;
    min-height: 82px;
    border-radius: 18px;
    background: #ffffff;
    display: grid;
    place-items: center;
    padding: 8px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .18);
}

.news-date-box strong {
    color: #1d4ed8;
    font-size: 26px;
    line-height: 1;
    font-weight: 900;
}

.news-date-box span {
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.news-date-box small {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.news-card-body {
    padding: 24px;
}

.news-card-category {
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .08);
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 14px;
}

.news-card-body h3 {
    margin: 0;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.35;
    letter-spacing: -.2px;
    font-weight: 700;
    text-transform: none;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;

    min-height: calc(1.35em * 3);
}

.news-card-body p {
    margin-top: 12px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.65;
    font-weight: 400;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.news-card-body a {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 900;
}

.news-card-body a i {
    transition: .25s ease;
}

.news-card-body a:hover i {
    transform: translateX(4px);
}

/* ================= EMPTY ================= */

.news-empty {
    text-align: center;
    padding: 70px 30px;
    border-radius: 30px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
}

.news-empty i {
    font-size: 56px;
    color: #1d4ed8;
}

.news-empty h3 {
    margin: 18px 0 8px;
    color: #0f172a;
    font-size: 26px;
}

.news-empty p {
    color: #64748b;
    line-height: 1.7;
}

/* ================= PAGINATION ================= */

.news-pagination {
    margin-top: 44px;
    display: flex;
    justify-content: center;
}

.news-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-pagination li a,
.news-pagination li span {
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 900;
    transition: .25s ease;
}

.news-pagination li a:hover,
.news-pagination li.active a,
.news-pagination li.active span {
    background: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
    box-shadow: 0 14px 32px rgba(37, 99, 235, .22);
}
/* ================= NEWSLETTER ================= */

.news-newsletter {
    padding: 0 0 85px;
    background: #ffffff;
}

.newsletter-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    padding: 42px;
    border-radius: 34px;
    background: linear-gradient(135deg, #1d4ed8, #0f172a);
    color: #ffffff;
    box-shadow: 0 35px 90px rgba(15, 23, 42, .15);
}

.newsletter-card > div {
    display: flex;
    align-items: center;
    gap: 18px;
}

.newsletter-card > div > i {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: rgba(255,255,255,.14);
    font-size: 32px;
}

.newsletter-card h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -1px;
}

.newsletter-card p {
    margin: 10px 0 0;
    color: rgba(255,255,255,.75);
    line-height: 1.7;
}

.newsletter-card form {
    display: flex;
    gap: 10px;
    min-width: 420px;
}

.newsletter-card input {
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: 16px;
    padding: 0 18px;
    outline: none;
    font-weight: 700;
}

.newsletter-card button {
    height: 54px;
    border: 0;
    border-radius: 16px;
    padding: 0 22px;
    background: #dc2626;
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
}

/* ================= ANIMATIONS ================= */

.news-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}

.news-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .newsletter-card form {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 900px) {
    .news-featured {
        grid-template-columns: 1fr;
    }

    .news-featured-image {
        min-height: 320px;
    }

    .news-search-form {
        grid-template-columns: 1fr;
    }

    .news-search-form button {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .news-hero {
        min-height: auto;
    }

    .news-hero-content {
        padding: 65px 0;
    }

    .news-hero h1 {
        font-size: 42px;
    }

    .news-content {
        padding: 60px 0;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-featured,
    .news-card,
    .newsletter-card {
        border-radius: 24px;
    }

    .news-featured-content,
    .newsletter-card {
        padding: 28px;
    }

    .newsletter-card > div {
        flex-direction: column;
        align-items: flex-start;
    }

    .newsletter-card form {
        flex-direction: column;
    }

    .newsletter-card button {
        width: 100%;
    }
}

.news-card-title {
    font-size: 22px;
    line-height: 1.28;
    font-weight: 700;
    text-transform: none;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;

    min-height: calc(1.28em * 3);
}