.news-page-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 600;
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.news-page-hero-content {
    position: relative;
    z-index: 10;
    margin-top: 5rem;
}

.hero-top-fade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(to bottom, rgba(5, 7, 10, 0.95) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}


.news-page-main {
    position: relative;
    width: 100%;
    padding: 0 0 4rem 0;

    background: transparent;
    overflow: visible;
    z-index: 20;
}


.news-page-bg-wrapper {
    position: absolute;
    top: -350px;
    left: 0;
    width: 100%;
    height: calc(100% + 350px);
    z-index: -1;
    pointer-events: none;


}

.news-page-bg-wrapper .bg-columns {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: top center;
    opacity: 1;
    z-index: 1;
}

.news-page-container {
    position: relative;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 4rem;
    z-index: 5;
}


.news-filters-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.filter-btn {
    transform: scale(0.95);
}

.filter-btn:hover {
    transform: scale(0.95) translateY(-2px);
}

.filter-btn:active {
    transform: scale(0.93);
}


.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem 2rem;
    margin-bottom: 5rem;
}

.news-card.news-slide {
    position: relative;
    width: 100%;
    margin: 0;
    opacity: 1;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.news-card.news-slide:hover {
    transform: translateY(-5px);
}

.news-grid .news-slide-image-wrapper {
    height: 240px;
}



.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 8rem;
}

.pag-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, filter 0.3s ease;
    opacity: 0.6;
}

.pag-arrow:hover {
    transform: scale(1.15);
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(213, 179, 134, 0.5));
}

.pag-arrow.is-disabled {
    opacity: 0.25;
    pointer-events: none;
}

.pag-arrow.is-disabled:hover {
    transform: none;
    filter: none;
}

.pag-arrow-double {
    gap: 0;
}

.pag-arrow-double img {
    height: 14px;
    margin-left: -4px;
}

.pag-arrow-double img:first-child {
    margin-left: 0;
}

.pag-pages {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.pag-page {
    position: relative;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;


    background: url('../assets/page/no-bg.png') no-repeat center center;
    background-size: 100% 100%;
    opacity: 1;

}

.pag-page:hover {
    transform: scale(1.1);
    opacity: 1;
}

.pag-page.active {

    background: url('../assets/page/dot-bg.png') no-repeat center center;
    background-size: 100% 100%;
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(213, 179, 134, 0.4));
    pointer-events: none;
    cursor: default;
}

.pag-num {
    position: relative;
    z-index: 2;
    font-family: var(--font-btn), serif;
    font-size: 14px;
    color: #0c1211;

    font-weight: 600;
    transition: color 0.3s ease;
}

.pag-page.active .pag-num {
    color: #0c1211;
    font-weight: 700;
}

.pag-page:hover:not(.active) .pag-num {
    color: #fff;
}

.pag-dots img {
    height: 3px;
    opacity: 0.5;
    display: block;
}



@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .news-page-hero {
        min-height: 450px;
    }

    .news-page-container {
        padding: 0 1.5rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-filters-wrapper {
        gap: 1rem;
    }

    .filter-btn {
        transform: scale(0.85);
    }

    .filter-btn:hover {
        transform: scale(0.85);
    }
}


.site-footer {
    position: relative;
    z-index: 30;
}


@media (min-width: 2560px) {
    .news-page-bg-wrapper {
        top: -550px;
        height: calc(100% + 550px);
    }
}

@media (min-width: 3560px) {
    .news-page-bg-wrapper {
        top: -650px;
        height: calc(100% + 650px);
    }
}

@media (max-width: 1200px) {
    .news-page-main {
        padding-bottom: 6rem;
    }

    .news-page-bg-wrapper {
        top: -450px;
        height: calc(100% + 450px);
    }
}

@media (max-width: 992px) {
    .news-page-main {
        padding-bottom: 8rem;
    }

    .news-page-bg-wrapper {
        top: -550px;
        height: calc(100% + 550px);
    }
}

@media (max-width: 768px) {
    .news-page-main {
        padding-bottom: 10rem;
    }

    .news-page-bg-wrapper {
        top: -750px;
        height: calc(100% + 750px);
    }
}

@media (max-width: 576px) {
    .news-page-main {
        padding-bottom: 12rem;
    }

    .news-page-bg-wrapper {
        top: -850px;
        height: calc(100% + 850px);
    }
}