/* ==========================================================================
   News page — responsive
   Generated from news.css: every px value multiplied by 0.75
   (1px hairlines are left untouched).
   ========================================================================== */

@media (max-width: 1919px) {
    .hero.news {
        padding: 243.75px 0 0;
    }

    /* ----- Head: title + filters ----- */
    .news__head {
        gap: 30px;
        margin-bottom: 45px;
        padding: 0 22.5px;
    }

    .news__title {
        font-size: 45px;
    }

    .news__filters {
        gap: 7.5px;
    }

    /* ----- Filter dropdown ----- */
    .news-filter__trigger {
        gap: 22.5px;
        min-width: 138px;
        padding: 6px 6px 6px 18px;
        border-radius: 5.25px;
        font-size: 12px;
    }

    .news-filter__arrow {
        width: 27.75px;
        height: 27.75px;
        padding: 9px;
    }

    .news-filter__list {
        top: calc(100% + 4.5px);
        padding: 4.5px;
        border-radius: 4.5px;
        box-shadow: 0 9px 22.5px rgba(23, 49, 69, 0.12);
        transform: translateY(-4.5px);
    }

    .news-filter__option {
        padding: 7.5px 10.5px;
        border-radius: 3px;
        font-size: 12px;
    }

    /* ----- Grid ----- */
    .news__grid {
        column-gap: 22.5px;
        row-gap: 41.25px;
        padding: 0 15px;
    }

    /* ----- Card ----- */
    .news-card__media {
        border-radius: 7.5px;
    }

    .news-card__img {
        height: 427.5px;
    }

    .news-card__overlay {
        gap: 15px;
        padding: 0 15px 13.5px;
    }

    .news-card__tags {
        gap: 2.25px;
    }

    .news-card:hover .news-card__tags {
        transform: translateX(-6px);
    }

    .news-card__tag {
        gap: 11.25px;
        padding: 5.25px;
        padding-right: 17.25px;
        border-radius: 1.5px;
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        font-size: 12px;
    }

    .news-card__tag::before {
        width: 15px;
        height: 15px;
    }

    .news-card__more {
        right: 15px;
        bottom: 13.5px;
        min-width: 155.25px;
        gap: 15px;
        padding: 9px 10.5px 9px 13.5px;
        border-radius: 3.75px;
        font-size: 10.5px;
        transform: translateX(7.5px);
    }

    .news-card__more .btn__arrow {
        width: 12px;
        height: 12px;
    }

    .news-card__title {
        margin-top: 27px;
        font-size: 22.5px;
    }

    /* ----- Slider ----- */
    .news__slider-nav {
        gap: 6px;
        margin-top: 131.25px;
        margin-bottom: 18.75px;
        padding-right: 22.5px;
    }

    .news-btn {
        width: 37.5px;
        height: 37.5px;
    }

    .news-btn img {
        width: 11.25px;
        height: 11.25px;
    }

    .news__slider .swiper-slide {
        width: 418.5px;
    }

    .news__slider .news-card__img {
        height: 257.25px;
    }

    .news__slider .news-card .news-card__title {
        max-width: 300px;
    }

    /* ----- Pagination ----- */
    .news-pagination {
        gap: 26.25px;
        margin-top: 60px;
        padding: 0 22.5px 52.5px;
    }

    .news-pagination__link {
        font-size: 12px;
    }

    /* ----- Services grid (shared block reused at the bottom) ----- */
    .services-grid__list {
        padding-bottom: 165px;
    }
}

@media (max-width: 1025px) {
    .hero.news {
        padding: 140px 0 0;
    }

    .news__slider-nav {
        margin-top: 100px;
    }

    .news-card__img {
        height: 300px;
    }
}

@media (max-width: 769px) {
    .news__head {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }

    .news__grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .news-card__img {
        height: 400px;
    }
}

@media (max-width: 570px) {
    .hero.news {
        padding: 170px 0 0;
    }

    .news__title {
        font-size: 92px;
        line-height: 83%;
    }

    .news__head {
        gap: 130px;
        padding: 0 20px;
        margin-bottom: 50px;
    }

    .news__filters {
        width: 100%;
        gap: 11px;
    }

    .news-filter {
        width: 100%;
        flex-grow: 1;
        justify-content: space-between;
    }

    .news-filter__trigger {
        width: 100%;
        font-size: 14px;
        line-height: 156%;
        padding: 8px;
        gap: 0;
        padding-left: 12px;
        justify-content: space-between;
    }

    .news-filter__arrow {
        width: 37px;
        height: 37px;
        padding: 12px;
    }

    .news-filter__option {
        font-size: 14px;
    }

    .news-card__img {
        height: 336px;
    }

    .news-card__tag {
        font-size: 14px;
        border-radius: 4px;
        padding: 6px;
        padding-right: 20px;
    }

    .news-card__tags {
        gap: 3px;
    }

    .news-card__tag::before {
        width: 23px;
        height: 23px;
    }

    .news-card__overlay {
        padding-bottom: 15px;
    }

    .news-card__title {
        margin-top: 18px;
        font-size: 22px;
    }

    .news__grid {
        row-gap: 35px;
    }

    /* no hover on touch: the tags stay put and the Read more button is not
       reachable, so it is dropped altogether here */
    .news-card:hover .news-card__tags {
        opacity: 1;
        transform: none;
    }

    .news-card__more {
        display: none;
    }

    /* main.js hides the slider, its arrows and the pagination on mobile and
       reveals the rest of the list through this button instead */
    .news__load-more {
        display: flex;
        width: 261px;
        margin: 95px auto 50px;
    }

    .news__load-more[hidden] {
        display: none;
    }

    .services-grid__list {
        padding-bottom: 30px;
    }
}
