.main-title {
    font-family: Montserrat;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
    color: var(--dark-blue);
    margin-bottom: 80px !important;
    font-size: 48px;
}
.main-pre-title{
    display: inline-block;
    margin-bottom: 16px !important;
}
.cont-sub-descr {
    font-family: Montserrat;
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    color: var(--dark-blue);
    margin-bottom: 60px;
}

.cont-descr {

}

.news-archive {
    margin-bottom: 40px;
}

.news-archive .tabs {
    display: flex;
    justify-content: center;
    background-color: #fff;
    border-radius: 8px;
    width: fit-content;
    padding: 8px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.news-archive .tabs .tab {
    display: flex;
    background-color: transparent;
    border-radius: 8px;
    padding: 8px 16px;
    color: var(--brand-blue);
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    text-decoration: none;
}

.news-archive .tabs .tab.active {
    background-color: var(--brand-blue);
    color: #fff;
}

.news-archive .filters {
    margin-bottom: 56px;
}

.news-archive .filters .fields {
    display: flex;
}

.news-archive .filters .field {
    min-width: 250px;
    max-width: 50%;
    margin-right: 24px;
}

.news-archive .filters .field.field-order {
    margin-left: auto;
    margin-right: 0;
}

.news-archive .filters .field label {
    font-family: "Atkinson Hyperlegible";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    color: var(--brand-blue);
}

.news-archive .filters .field select {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--brand-blue);
    font-family: "Atkinson Hyperlegible";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    padding: 12px 8px;
    appearance: none;
    background-image: url('../img/icons/arrow-down.svg');
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: 98% 50%;
}

.news-archive .filters .field select:focus {
    background-image: url('../img/icons/arrow-up.svg');
}

.news-archive .results {
    margin-bottom: 24px;
}

.news-items .news-item {
    margin-bottom: 24px;
}

.news-items .news-item .main-inner-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 24px 24px 0 24px;
    margin-bottom: 24px;
}

.news-items .news-item a {
    text-decoration: none;
}

.news .tags {
    margin-bottom: 8px;
}

.news .tags .tag {
    padding: 4px 8px;
    background-color: var(--light-blue);
    color: var(--dark-blue);
    border-radius: 32px;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
    margin-right: 8px;
    margin-bottom: 8px;
    display: inline-block;
}

.news-items .news-item .title {
    font-family: Montserrat;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    color: var(--brand-blue);
    margin-bottom: 16px;
}

.news-items .news-item .text-content {
    font-family: "Atkinson Hyperlegible";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    color: #333;
    margin-bottom: 16px;
}

.news-items .news-item .text-content p {
    margin-bottom: 0px;
}

.news-items .news-item .post_date {
    font-family: "Atkinson Hyperlegible";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    color: #333;
    margin-bottom: 0;
}

.news .load-more {
    text-align: center;
}

.news .load-more .load-more-btn {
    border-radius: 128px;
    border: 2px solid var(--brand-blue);
    background-color: transparent;
    color: var(--brand-blue);
    padding: 8px 24px;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    text-decoration: none;
    display: inline-block;
}

.categories .nav {
    display: none;
}

/* SINGLE */
.single_news {

}

.single_news .heading {
    padding-top: 60px;
    margin-bottom: 60px;
}

.single_news .heading .category {
    text-align: center;
    color: var(--dark-blue);
    font-family: Montserrat;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.single_news .heading .title {
    max-width: 900px;
    margin: 0 auto;
}

.single_news .heading .title h1 {
    text-align: center;
    color: var(--dark-blue);
    font-family: Montserrat;
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    margin-bottom: 16px;
}

.single_news .heading .date {
    text-align: center;
    color: var(--dark-blue);
    font-family: "Atkinson Hyperlegible";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.single_news .content {
    color: #333;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 24px;
}

.single_news .content p {

}

.single_news .content img {
    max-width: 100%;
    height: auto;
}

.single_news .content + .tags {
    text-align: center;
    margin-bottom: 60px;
}

.single_news .related {
    margin-bottom: 60px;
}

.single_news .related-title {
    color: var(--dark-blue);
    text-align: center;
    font-family: Montserrat;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    margin-bottom: 32px;
}

.single_news .load-more {
    padding: 24px 0;
}

@media (max-width: 991px) {
    .main-title {
        font-size: 30px;
    }

    .cont-sub-descr {
        font-size: 30px;
    }

    .cont-descr {

    }

    .news .tags {

    }

    .news .tags .tag {
        padding: 4px 8px;
        font-size: 14px;
    }

    .news-items .news-item .title {
        font-size: 18px;
    }

    .news-items .news-item .text-content {
        font-size: 16px;
    }


    .news-items .news-item .post_date {
        font-size: 14px;
    }

    .news .load-more {

    }

    .news .load-more .load-more-btn {

    }

    .news-archive .filters {
        margin-bottom: 48px;
    }

    .news-archive .tabs {
        margin-bottom: 24px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: 100%;
    }

    .news-archive .tabs::-webkit-scrollbar {
        display: none;
    }

    .news-archive .tabs {
        scrollbar-width: none;
    }

    .news-archive .tabs .tab {
        white-space: nowrap;
        flex: 0 0 auto; /* prevent shrinking to keep horizontal flow */
    }


    /* Mobile filters modal (copied from downloads) */
    .filtersModal, .filtersModal .modal-dialog {
        margin: 0;
        overflow: hidden;
    }

    .filtersModal .modal-dialog .modal-content {
        margin: 0;
        border-radius: 0;
        border: none;
        height: 100vh;
    }

    .filters-slider-wrapper {
        height: 100%;
    }

    .filters-slider {
        height: 100%;
        transition: transform 0.3s ease;
    }

    .filters-panel {
        width: 100%;
        padding: 16px;
        position: relative;
        height: 100%;
    }

    .filters-main-list, .filters-sub-list {
        list-style: none;
        margin: 0;
        padding: 0;
        max-height: calc(100vh - 264px);
        overflow-y: auto;
    }

    .filters-main-item {
        padding: 12px 0;
        cursor: pointer;
        position: relative;
        color: var(--dark-blue);
    }

    .filters-main-item p {
        margin: 0;
        font-family: "Atkinson Hyperlegible";
        font-size: 16px;
        font-weight: 700;
        line-height: 150%;
    }

    .filters-main-value {
        font-family: "Atkinson Hyperlegible";
        font-size: 14px;
        font-weight: 400;
        line-height: 150%;
    }

    .filters-main-item:after {
        content: '';
        display: inline-block;
        width: 24px;
        height: 24px;
        background-image: url('../img/icons/arrow-up.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%) rotate(90deg);
    }

    .filters-panel-sub {
        position: absolute;
        top: 0;
        background-color: #fff;
        left: 100%;
        transition: left 0.5s ease;
    }

    .filters-panel-sub.active {
        left: 0;
        display: block;
        width: 100%;
    }

    .filters-sub-header {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 12px;
        justify-content: space-between;
    }

    .filters-back {
        border: none;
        background: none;
        padding: 0;
        color: var(--dark-blue);
        cursor: pointer;
        font-family: Montserrat;
        font-size: 16px;
        font-weight: 600;
        line-height: 150%;
        position: relative;
        padding-left: 16px;
    }

    .filters-back:before {
        content: '';
        display: inline-block;
        width: 24px;
        height: 24px;
        background-image: url('../img/icons/arrow-up.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        position: absolute;
        left: -8px;
        top: 50%;
        transform: translateY(-52%) rotate(270deg);
    }

    .filters-sub-header .btn-close {
        background-image: url('../img/icons/x-icon.svg');
        width: 32px;
        height: 32px;
        color: var(--dark-blue);
        opacity: 1;
        background-size: 100%;
    }

    .filters-sub-list li {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .filters-sub-list li.active::after {
        content: '';
        display: inline-block;
        width: 24px;
        height: 24px;
        background-image: url('../img/icons/check-icon.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
    }

    .filters-sub-actions {
        margin-top: 16px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        position: absolute;
        bottom: 0;
        width: 100%;
        left: 0;
        padding: 24px 16px;
        background-color: var(--light-blue);
    }

    .filters-save-sub, .filters-save-all {
        background-color: var(--brand-blue);
        color: #fff;
        border-radius: 128px;
        border: 2px solid var(--brand-blue);
    }

    .filters-cancel-sub, .filters-cancel-all {
        background-color: transparent;
        color: var(--brand-blue);
        border-radius: 128px;
        border: 2px solid var(--brand-blue);
    }

    .filter-title {
        color: var(--dark-blue);
        font-family: Montserrat;
        font-size: 18px;
        font-weight: 600;
        line-height: 150%;
        margin: 0;
    }

    .open_filters, .open_filters:active, .open_filters:focus {
        border-radius: 8px;
        border: 1px solid var(--dark-blue);
        background: #FFF;
        padding: 8px 12px;
        font-family: "Atkinson Hyperlegible";
        font-size: 16px;
        font-weight: 400;
        line-height: 150%;
        color: var(--dark-blue);
        width: 100%;
        text-align: left;
        position: relative;
        margin-bottom: 0;
    }

    .open_filters:after {
        content: '';
        display: inline-block;
        width: 24px;
        height: 24px;
        background-image: url('../img/icons/filters.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%) rotate(180deg);
    }

    .filtersModal .modal-content .modal-body {
        padding: 0;
    }

    .news-archive .categories {
        gap: 16px;
    }

    .news-archive .tabs .tab {
        padding: 8px;
        min-width: 72px;
        text-align: center;
        justify-content: center;
    }

    .categories-wrap {
        position: relative;
    }

    .categories-nav .cat-nav {
        position: absolute;
        z-index: 2;
        height: 100%;
        background: linear-gradient(270deg, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 1) 35%, rgba(255, 255, 255, 1) 100%);
        top: 0;
        padding: 0 76px 0 8px;
        left: 0px;
        display: none;
    }

    .categories-nav .cat-nav.right {
        display: inline-block;
        right: 0px;
        padding: 0 8px 0 76px;
        left: auto;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 1) 35%, rgba(255, 255, 255, 1) 100%);
    }

    .categories-nav .cat-nav .nav {
        display: inline-block;
        width: 32px;
        height: 32px;
        background-image: url('../img/icons/slider-back.svg');
        background-size: cover;
        background-color: #fff;
        z-index: 3;
        position: absolute;
        width: 32px;
        height: 32px;
        left: 8px;
        top: 50%;
        transform: translateY(-50%);
        left: auto;
    }

    .categories-nav .cat-nav .nav.right {
        background-image: url('../img/icons/slider-forward.svg');
        position: absolute;
        width: 32px;
        height: 32px;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
    }


    /* SINGLE */
    .single_news .col-12 {
        padding: 0 16px;
    }

    .single_news .heading {
        padding-top: 40px;
        margin-bottom: 40px;
    }

    .single_news .heading .category {
        font-size: 16px;
    }

    .single_news .heading .title h1 {
        font-size: 30px;
    }

    .single_news .content + .tags {
        margin-bottom: 40px;
    }

    .single_news .load-more {
        padding: 0;
    }
}