/* ===== NEWS — shared ===== */
.news-page,
.news-article-page {
    font-family: 'Manrope', sans-serif;
}

#main .padding-top-container.news-page {
    padding-top: 177px;
}

/* ===== NEWS ARCHIVE (list) ===== */
.news-archive-head {
    text-align: center;
    margin-bottom: 48px;
}

.news-archive-head h1 {
    margin: 0;
    font-weight: 700;
    font-size: 48px;
    line-height: 120%;
    color: #001f48;
}

@media (max-width: 767px) {
    .news-archive-head {
        margin-bottom: 24px;
    }

    .news-archive-head h1 {
        font-size: 32px;
    }
}

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

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #main .padding-top-container.news-page {
        padding-top: 120px;
    }
}

@media (max-width: 767px) {
    .news-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-bottom: 32px;
    }
}

.news-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 278px;
    border-radius: 16px;
    padding: 8px;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    overflow: hidden;
    text-decoration: none;
}

.news-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 15, 40, 0) 40%, rgba(0, 15, 40, 0.55) 100%);
    pointer-events: none;
}

.news-card__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 24px 23px 24px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    text-decoration: none;
}

.news-card__title {
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 20px;
    line-height: 140%;
    color: #ffffff;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
    text-decoration: none;
}

.news-card__date {
    margin: 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #ffffff;
    text-decoration: none;
}

@media (hover: hover) {
    .news-card:hover .news-card__title {
        color: #1e17e0;
        text-decoration: none;
    }

    .news-card:hover {
        text-decoration: none;
    }
}

/* ===== PAGINATION ===== */
.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.news-pagination__arrow,
.news-pagination__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 20px;
    font-family: Manrope, sans-serif;
    text-decoration: none;
    border: none;
}

.news-pagination__arrow {
    background: #1e17e0;
    color: #ffffff;
}

.news-pagination__arrow svg {
    display: block;
}

.news-pagination__arrow[aria-disabled="true"] {
    background: #d9eafc;
    color: #a9b9d1;
    pointer-events: none;
}

.news-pagination__page {
    background: #ffffff;
    color: #1e17e0;
    font-weight: 400;
}

.news-pagination__page.is-active {
    font-weight: 700;
}

.news-pagination__ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: #1e17e0;
    font-weight: 400;
    font-size: 20px;
}

@media (hover: hover) {
    .news-pagination__page:hover {
        text-decoration: underline;
    }
}

/* ===== NEWS ARTICLE ===== */
.news-article-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 420px;
    border-radius: 16px;
    padding: 48px 24px;
    margin-bottom: 48px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.news-article-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 15, 40, 0) 30%, rgba(0, 15, 40, 0.6) 100%);
    pointer-events: none;
}

.news-article-hero h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: 900px;
    text-align: center;
    font-weight: 700;
    font-size: 48px;
    line-height: 140%;
    color: #ffffff;
}

@media (max-width: 767px) {
    .news-article-hero {
        min-height: 260px;
        padding: 24px 16px;
        margin-bottom: 24px;
    }

    .news-article-hero h1 {
        font-size: 32px;
    }
}

.news-article-body {
    max-width: 900px;
    margin: 0 auto 48px;
    color: #001f48;
}

.news-article-body__date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-weight: 400;
    font-size: 16px;
    color: #656565;
}

.news-article-body__content h2 {
    margin: 32px 0 16px;
    font-weight: 700;
    font-size: 28px;
    line-height: 140%;
    color: #001f48;
}

.news-article-body__content h3 {
    margin: 24px 0 16px;
    font-weight: 700;
    font-size: 24px;
    line-height: 140%;
    color: #001f48;
}

.news-article-body__content h4 {
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 20px;
    line-height: 140%;
    color: #001f48;
}

.news-article-body__content p {
    margin: 0 0 16px;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: #001f48;
}

.news-article-body__content ul {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.news-article-body__content ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: #001f48;
}

.news-article-body__content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #1e17e0;
}

.news-article-body__content a {
    color: #1e17e0;
}
