/* =========================================================
   NEWS ARCHIVE
========================================================= */
.wist-news,
.wist-news__container,
.wist-news__layout {
    overflow: visible !important;
    transform: none !important;
}
.wist-news-page {
     overflow-x: clip;
    overflow-y: visible;

    color: #08244d;

    background:
        linear-gradient(
            180deg,
            #f7faff 0%,
            #ffffff 100%
        );
}


.wist-news-hero__container,
.wist-news__container {
    width:
        min(
            1450px,
            calc(100% - 80px)
        );

    margin-inline: auto;
}


/* =========================================================
   HERO
========================================================= */

.wist-news-hero {
    position: relative;

    min-height: 540px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #031b3b;
}


.wist-news-hero__media {
    position: absolute;
    inset: 0;
}


.wist-news-hero__media img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


.wist-news-hero__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(2,21,48,.97),
            rgba(2,21,48,.84) 34%,
            rgba(2,21,48,.42) 66%,
            rgba(2,21,48,.10)
        );
}


.wist-news-hero__container {
    position: relative;
    z-index: 2;
}


.wist-news-hero__content {
    max-width: 700px;
}


.wist-news-hero__eyebrow {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 20px;

    color: #efb126;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .15em;

    text-transform: uppercase;
}


.wist-news-hero__eyebrow span {
    width: 34px;
    height: 2px;

    display: block;

    background: currentColor;
}


.wist-news-hero__title {
    margin: 0;

    color: #fff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            58px,
            6vw,
            94px
        );

    font-weight: 400;

    line-height: .95;

    letter-spacing: -.045em;
}


.wist-news-hero__text {
    max-width: 600px;

    margin: 25px 0 0;

    color:
        rgba(
            255,
            255,
            255,
            .76
        );

    font-size: 17px;

    line-height: 1.7;
}


/* =========================================================
   NEWS SECTION
========================================================= */

.wist-news {
    padding:
        75px 0
        110px;
}


/* =========================================================
   TOOLBAR
========================================================= */

.wist-news__toolbar {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 28px;

    margin-bottom: 46px;
}


.wist-news__filters {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 9px;
}


.wist-news-filter {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding:
        0 18px;

    border:
        1px solid
        rgba(10,41,85,.08);

    border-radius: 999px;

    color: #5d708b;

    background:
        rgba(
            255,
            255,
            255,
            .72
        );

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    box-shadow:
        0 10px 25px
        rgba(9,37,79,.04);

    transition:
        color .25s ease,
        background .25s ease,
        transform .25s ease;
}


.wist-news-filter:hover {
    color: #08295a;

    transform:
        translateY(-2px);
}


.wist-news-filter.is-active {
    color: #fff;

    background:
        linear-gradient(
            135deg,
            #0d3d7f,
            #08295a
        );

    box-shadow:
        0 14px 30px
        rgba(8,41,90,.18);
}


/* SEARCH */

.wist-news-search {
    width: 280px;

    min-height: 50px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding:
        0 17px;

    border:
        1px solid
        rgba(10,41,85,.09);

    border-radius: 14px;

    background:
        rgba(
            255,
            255,
            255,
            .82
        );

    box-shadow:
        0 12px 30px
        rgba(8,41,90,.05);
}


.wist-news-search svg {
    width: 19px;

    fill: none;

    stroke: #61748d;

    stroke-width: 1.7;

    stroke-linecap: round;
}


.wist-news-search input {
    width: 100%;

    border: 0;

    outline: 0;

    background: transparent;

    color: #08295a;

    font: inherit;
}


/* =========================================================
   LAYOUT
========================================================= */

.wist-news__layout {
    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        300px;

    gap: 32px;

    align-items: start;

    overflow: visible !important;
}


.wist-news__heading {
    margin-bottom: 20px;

    color: #2580e8;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .14em;

    text-transform: uppercase;
}


/* =========================================================
   GRID
========================================================= */

.wist-news__grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0,1fr)
        );

    gap: 40px;
}


/* =========================================================
   CATEGORY BADGE
========================================================= */

.news-card__category {
    position: absolute;

    top: 18px;
    left: 18px;

    z-index: 3;

    padding:
        7px 12px;

    border:
        1px solid
        rgba(255,255,255,.28);

    border-radius: 999px;

    color: #fff;

    background:
        rgba(
            var(--news-accent-rgb),
            .82
        );

    backdrop-filter:
        blur(14px);

    -webkit-backdrop-filter:
        blur(14px);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .05em;

    text-transform: uppercase;
}


/* =========================================================
   SIDEBAR
========================================================= */

.wist-news-sidebar {
    position: sticky;
    
    align-self: start;

    top: 15px;

    display: grid;

    gap: 22px;
}


.wist-news-sidebar__card {
    padding: 28px;

    border:
        1px solid
        rgba(10,41,85,.08);

    border-radius: 24px;

    background:
        rgba(
            255,
            255,
            255,
            .86
        );

    box-shadow:
        0 22px 55px
        rgba(8,41,90,.07);

    backdrop-filter:
        blur(20px);
}


.wist-news-sidebar__categories {
    color: #fff;

    border-color:
        rgba(255,255,255,.10);

    background:
        linear-gradient(
            145deg,
            #0b376f,
            #061d43
        );

    box-shadow:
        0 25px 60px
        rgba(5,28,65,.22);
}


.wist-news-sidebar__heading {
    margin-bottom: 20px;
}


.wist-news-sidebar__heading h2 {
    margin: 0;

    font-size: 17px;
}


.wist-news-sidebar__heading > span {
    width: 36px;
    height: 2px;

    display: block;

    margin-top: 14px;

    background: #efb126;
}


/* CATEGORY LINKS */

.wist-news-category {
    --category-accent: #2580e8;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    min-height: 52px;

    padding:
        0 12px;

    color:
        rgba(
            255,
            255,
            255,
            .76
        );

    border-bottom:
        1px solid
        rgba(
            255,
            255,
            255,
            .08
        );

    text-decoration: none;

    transition:
        color .25s ease,
        padding-left .25s ease;
}


.wist-news-category:last-child {
    border-bottom: 0;
}


.wist-news-category:hover,
.wist-news-category.is-active {
    color: #fff;

    padding-left: 17px;
}


.wist-news-category.is-active {
    color:
        var(
            --category-accent
        );
}


.wist-news-category small {
    min-width: 30px;
    height: 25px;

    display: grid;
    place-items: center;

    border-radius: 999px;

    color: #fff;

    background:
        rgba(
            255,
            255,
            255,
            .10
        );

    font-size: 10px;
}


/* CTA */

.wist-news-sidebar__cta p {
    margin:
        0 0 22px;

    color: #6c7d93;

    font-size: 14px;

    line-height: 1.65;
}


.wist-news-sidebar__button {
    min-height: 52px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding:
        0 18px;

    border-radius: 12px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #2580e8,
            #1766cd
        );

    text-decoration: none;

    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   PAGINATION
========================================================= */

.wist-news-pagination {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 45px;
}


.wist-news-pagination
.page-numbers {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border:
        1px solid
        rgba(10,41,85,.09);

    border-radius: 50%;

    color: #5d708b;

    background: #fff;

    text-decoration: none;
}


.wist-news-pagination
.page-numbers.current {
    color: #fff;

    border-color: #2580e8;

    background: #2580e8;
}

.news-card {
    display: flex;
    flex-direction: column;
    min-height: 560px;
}

.news-card__image-wrap {
    position: relative;

    height: 330px;

    overflow: hidden;

    border-radius:
        28px 28px
        0 0;
}

.news-card__image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* content / glass qismini kichraytiramiz */

.news-card__glass {
    position: relative;

    flex: 1;

    margin-top: -18px;

    border-radius:
        28px 28px 24px 24px;
        
    min-height: auto;
}


.news-card__content {
    min-height: 245px;

    display: flex;
    flex-direction: column;

    padding:
        28px 30px
        24px;
}

.news-card__meta {
    margin-bottom: 14px;
}

.news-card__meta time {
    font-size: 11px;
}

.news-card__content h3 {
    margin:
        0 0 14px;

    font-size:
        clamp(
            22px,
            1.8vw,
            28px
        );

    line-height: 1.12;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;
}

.news-card__content p {
    margin:
        0 0 18px;

    font-size: 14px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    overflow: hidden;
}

.news-card__footer {
    margin-top: auto;
}

.news-card__arrow {
    width: 48px;
    height: 48px;
}
/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 950px) {
    .wist-news-sidebar {
        position: static;
    }
}

@media (max-width: 1250px) {

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

}


@media (max-width: 950px) {

    .wist-news__layout {
        grid-template-columns: 1fr;
    }


    .wist-news-sidebar {
        position: static;

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


    .wist-news__toolbar {
        align-items: stretch;

        flex-direction: column;
    }


    .wist-news-search {
        width: 100%;
    }

}


@media (max-width: 700px) {

    .wist-news-hero__container,
    .wist-news__container {
        width:
            calc(
                100% - 32px
            );
    }


    .wist-news-hero {
        min-height: 500px;
    }


    .wist-news-hero__title {
        font-size: 55px;
    }


    .wist-news__grid {
        grid-template-columns: 1fr;
    }


    .wist-news-sidebar {
        grid-template-columns: 1fr;
    }

}