.news-main {
    background: #EDF0F3;
    padding: 40px 0;
}

.news-main .filters-wrapper {
    margin: 40px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.tags {
    display: flex;
    align-items: center;
    margin: 0 -8px;
    width: calc(100% + 16px);
}

.tags .tag {
    padding: 0 8px;
}

.tags .tag span {
    font-size: 14px;
    font-weight: 700;
    line-height: 17px;
    letter-spacing: -0.5px;
    padding: 8px 15px;
    width: fit-content;
    background: transparent;
    border-radius: 100px;
    color: #878E94;
    -webkit-transition: color 0.3s;
    -o-transition: color 0.3s;
    transition: color 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #BCC6CE;
}

.tags .tag.active span {
    color: #FBFBFB;
    background-color: #E33849;
}

.news-main .select-wrapper {
    display: flex;
    align-items: center;
}

.custom-select {
    position: relative;
}

.custom-select + .custom-select {
    margin-left: 10px;
}

.select-header {
    background-color: transparent;
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border: 1px solid #BCC6CE;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: -0.5px;
    color: #878E94;
    transition: 0.3s;
    padding: 6px 35px 6px 19px;
    width: fit-content;
    position: relative;
    min-width: 120px;
}

.select-header span {
    white-space: nowrap;
}

.select-header:after {
    position: absolute;
    top: calc(50% - 2px);
    right: 15px;
    width: 10px;
    height: 2px;
    margin: 0;
    border: 0;
    transition: transform 0.3s;
    transform: rotate(-45deg);
    pointer-events: none;
    content: "";
    background-color: #484848;
}

.select-header:before {
    position: absolute;
    top: calc(50% - 2px);
    right: 21px;
    width: 10px;
    height: 2px;
    margin: 0;
    border: 0;
    transition: transform 0.3s;
    transform: rotate(45deg);
    pointer-events: none;
    content: "";
    background-color: #484848;
}

.arrow {
    transition: transform 0.3s;
}

.select-header.open:before {
    transform: rotate(-45deg);
}

.select-header.open:after {
    transform: rotate(-135deg);
}

.select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ddd;
    border-top: none;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
    border-radius: 10px;
    margin-top: 5px;
}

.select-option {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.select-option:hover {
    background-color: #f0f0f0;
}

.select-option.selected {
    background-color: #e8f4fc;
    font-weight: bold;
}

.news-main .news-card-list .news-card-item {
    padding: 20px;
    background-color: #fff;
    border-radius: 20px;
    margin-bottom: 20px;
}

.news-main .news-card-list .news-card-item:last-of-type {
    margin-bottom: 0;
}

.news-main .news-card-list .news-card-item .news-card {
    margin-right: 10px;
    display: flex;
    width: 100%;
}

.news-main .news-card-list .news-card-item .news-image {
    margin-left: 10px;
    overflow: hidden;
    border-radius: 20px;
}

.news-main .news-card-list .news-card-item .news-image img {
    transition: 0.3s;
    height: 320px;
    object-fit: cover;
    width: 100%;
    object-position: top;
}

.news-main .news-card-list .news-card-item .news-image img:hover {
    transform: scale(1.05);
}

.news-main .news-card-list .news-card-item .news-card .card-info {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.news-main .news-card-list .news-card-item .news-card .card-meta {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: -0.5px;
    color: #878E94;
    margin-bottom: 40px;
}

.news-main .news-card-list .news-card-item .news-card .card-tag {
    padding: 5px 10px;
    letter-spacing: -0.5px;
    width: fit-content;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    position: relative;
    z-index: 1;
    color: #878E94;
    text-decoration: none;
    -webkit-transition: color 0.3s;
    -o-transition: color 0.3s;
    transition: color 0.3s;
    border-radius: 100px;
    background-color: #E4E8EC;
}

.news-main .news-card-list .news-card-item .news-card .card-date {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: -0.5px;
    color: #878E94;

}

.news-main .news-card-list .news-card-item .news-card .card-title {
    font-size: 26px;
    font-weight: 600;
    line-height: 29px;
    letter-spacing: -1px;
    color: #484848;
    text-decoration: none;
    -webkit-transition: color 0.3s;
    -o-transition: color 0.3s;
    transition: color 0.3s;
    margin-bottom: 20px;
    display: flex;
    width: fit-content;
}

.news-main .news-card-list .news-card-item .news-card .card-title:hover {
    color: #E33849;
}

.news-main .news-card-list .news-card-item .news-card .card-description p {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: -0.5px;
    color: #878E94;
}

.single-news-section {

}

.single-news-section .title-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.single-news-section .title-wrapper .title__back {
    font-size: 20px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: -1px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 12px;
    text-decoration: none;
    color: #484848;
    -webkit-transition: color 0.3s;
    -o-transition: color 0.3s;
    transition: color 0.3s;
    white-space: nowrap;
    margin-left: 40px;
}

.single-news-section .title-wrapper .title__back:before {
    width: 8px;
    height: 8px;
    border-top: 2px solid #484848;
    border-left: 2px solid #484848;
    transform: rotate(-45deg);
    flex-shrink: 0;
    content: "";
    margin-right: 4px;
}

.single-news-section {
    padding: 40px 0;
    background-color: #EDF0F3;
}

.single-news-section .title-wrapper h1 {
    font-size: 46px;
    font-weight: 600;
    line-height: 46px;
    letter-spacing: -1px;
    color: #484848;
    margin: 0;
}

.single-news-section .content-wrapper {
    padding: 40px 20px;
    border-radius: 20px;
    background-color: #fff;
}

.single-news-section .content-wrapper img {
    max-width: 410px;
    width: 100%;
    object-fit: cover;
}

.single-news-section .content-wrapper p {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: -0.5px;
    color: #484848;
    margin: 20px 0;
}

.single-news-section .content-wrapper p:first-child {
    margin-top: 0;
}

.single-news-section .content-wrapper p:last-child {
    margin-bottom: 0;
}

.single-news-section .content-wrapper ul {
    padding-left: 20px;
    margin: 20px 0;
}

.single-news-section .content-wrapper ul:first-child {
    margin-top: 0;
}

.single-news-section .content-wrapper ul:last-child {
    margin-bottom: 0;
}

.single-news-section .content-wrapper ul li {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: -0.5px;
    color: #484848;
    list-style: disc;
}

.single-news-section .content-wrapper ol {
    padding-left: 20px;
    margin: 20px 0;
}

.single-news-section .content-wrapper ol:first-child {
    margin-top: 0;
}

.single-news-section .content-wrapper ol:last-child {
    margin-bottom: 0;
}

.single-news-section .content-wrapper ol li {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: -0.5px;
    color: #484848;
    list-style: disc;
}

.single-news-section .content-wrapper a {
    text-decoration: underline;
}

.single-news-section .news-post-meta {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    margin: 40px 0;
}

.single-news-section .news-post-meta .news-date {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: -0.5px;
    color: #878E94;
    margin-right: 20px;
}

.single-news-section .news-post-meta .news-right {
    display: flex;
    align-items: center;
}

.single-news-section .news-post-meta .news-tag {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
    padding: 5px 10px;
    color: #878E94;
    text-decoration: none;
    -webkit-transition: color 0.3s;
    -o-transition: color 0.3s;
    transition: color 0.3s;
    border-radius: 100px;
    background-color: #E4E8EC;
}

.single-news-section .news-post-meta .news-socials {
    display: flex;
    align-items: center;
}

.single-news-section .news-post-meta .news-socials .social-item {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #E4E8EC;
    border-radius: 8px;
    transition: background-color 0.3s;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px;
}

.single-news-section .news-post-meta .news-socials .social-item:hover {
    background-color: #BCC6CE;
}

.single-news-section .news-post-meta .news-socials .social-item + .social-item {
    margin-left: 10px;
}

.single-news-section .news-post-meta .news-socials .social-item-telegram {
    background-image: url(../images/icon/telegram.svg);
}
.single-news-section .news-post-meta .news-socials .social-item-vk {
    background-image: url(../images/icon/vk.svg);
}

.single-news-section .news-post-meta .news-socials .social-item-share {
    background-image: url(../images/icon/share-ico-news.svg);
}

.news-section {
    padding: 40px 0;
    background-color: #EDF0F3;
}

.news-section .title-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
}

.news-section .title-wrapper h2 {
    margin-bottom: 0;
    color: #484848;
}

.link-all-news {
    display: flex;
    align-items: center;
    width: fit-content;
    margin-left: 20px;
    font-size: 20px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: -1px;
    color: #484848;
    text-decoration: none;
    transition: 0.3s;
}

.link-all-news:after {
    font-size: 100%;
    line-height: inherit;
    transform: rotate(-45deg);
    transform-origin: 50% 50%;
    transition: 0.3s;
    content: "→";
    margin-left: 5px;
}

.link-all-news:hover {
    color: #E33849;
}

.link-all-news:hover:after {
    transform: rotate(45deg);
}

.news-section .tags {
    margin-bottom: 20px;
}

.news-section .news-card {
    display: flex;
    flex-direction: column;
    height: calc(100% - 20px);
    justify-content: space-between;
    width: 100%;
    border-radius: 20px;
    padding: 20px;
    background-color: #fff;
    min-height: 240px;
    margin-bottom: 20px;
}

.news-section .news-card .news-image {
    margin-bottom: 20px;
    width: 100%;
}


.news-section .news-card .news-image img {
    height: 202px;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.news-section .news-card .news-meta {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.news-section .news-card .news-meta .news-tag {
    font-size: 12px;
    font-weight: 500;
    line-height: 17px;
    letter-spacing: -0.5px;
    color: #878E94;
    border-radius: 100px;
    background-color: #E4E8EC;
    padding: 5px 10px;
}


.news-section .news-card .news-meta .news-date {
    font-size: 12px;
    font-weight: 500;
    line-height: 17px;
    letter-spacing: -0.5px;
    color: #878E94;
}


.news-section .news-card .news-title {
    font-size: 26px;
    font-weight: 600;
    line-height: 29px;
    letter-spacing: -1px;
    color: #484848;
    text-decoration: none;
    transition: color 0.3s;
    width: 100%;
    display: flex;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -moz-box;
    -moz-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    box-orient: vertical;
}

.news-section .news-card .news-title:hover {
    color: #E33849;
}


.news-section .news-card .news-card-description {

}

.news-section .news-card .news-card-description p {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: -0.5px;
    color: #878E94;
    margin-top: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -moz-box;
    -moz-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    box-orient: vertical;
}

.pagination-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.pagination-wrapper .page-numbers {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination-wrapper .page-numbers li {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-wrapper .page-numbers li span,
.pagination-wrapper .page-numbers li a {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    display: block;
}

.pagination-wrapper .page-numbers li a {
    color: #0A365280;
}

.pagination-wrapper .page-numbers li + li {
    margin-left: 4px;
}

.pagination-wrapper .page-numbers .current {
    color: #FBFBFB;
}

.pagination-wrapper .page-numbers .next {
    font-size: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px;
    background-image: url(../images/icon/pagination-arrow.svg);
    display: block;
    width: 100%;
    height: inherit;
}

.pagination-wrapper .page-numbers .prev {
    font-size: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px;
    background-image: url(../images/icon/pagination-arrow.svg);
    display: block;
    transform: scale(-1);
    width: 100%;
    height: inherit;
}

.pagination-wrapper .page-numbers li:has(.current) {
    background-color: #E33849;
    color: #FBFBFB;
}

.related-news {
    background: #EDF0F3;
    padding: 40px 0;
}

.related-news .title-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.related-news .title-wrapper h2 {
    margin-bottom: 0;
}

.related-news .title-wrapper {
    margin-bottom: 40px;
}

.related-news .news-card {
    border-radius: 20px;
    min-height: 240px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    background-color: #fff;
    margin-bottom: 20px;
    height: calc(100% - 20px);
}

.related-news .news-card .card-date {
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 500;
    line-height: 17px;
    letter-spacing: -0.5px;
    color: #878E94;
}

.related-news .news-card .card-title {
    font-size: 26px;
    font-weight: 600;
    line-height: 29px;
    letter-spacing: -1px;
    color: #484848;
    text-decoration: none;
    transition: 0.3s;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -moz-box;
    -moz-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    box-orient: vertical;
}

.related-news .news-card .card-title:hover {
    color: #E33849;
}

.news-mobile-slider {
    display: none;
}

@media (max-width: 991px) {
    .news-main .news-card-list .news-card-item .news-card .card-title {
        font-size: 20px;
        font-weight: 600;
        line-height: 26px;
        letter-spacing: -1px;
    }
    .single-news-section .title-wrapper h1 {
        font-size: 28px;
        font-weight: 600;
        line-height: 32px;
        letter-spacing: -1px;
    }

    .news-section .title-wrapper {
        flex-wrap: wrap;
        padding: 0 13vw;
    }

    .news-section .title-wrapper h2 {
        width: 100%;
    }
    .link-all-news {
        margin-left: 0;
        margin-top: 20px;
    }
    .news-section .container {
        max-width: initial;
        padding: 0;
    }
    .news-section .row {
        flex-wrap: nowrap;
        overflow-y: auto;
        padding: 0 13vw;
    }
    .news-section .row .col-md-12 {
        width: initial;
        display: flex;
    }
    .news-section .row::-webkit-scrollbar {
        width: 0;
    }
    .news-section .news-card {
        width: 320px;
    }
    .news-section .tags {
        padding: 0 13vw;
    }

    .news-section .row .col-lg-4:nth-of-type(3) .news-card {
        height: 100%;
    }

    .news-section .row .col-lg-4:nth-of-type(3) .news-card:nth-of-type(1) {
        margin-bottom: 20px;
        margin-right: 20px;
    }
    .news-section .news-card .news-image img {
        height: 157px;
    }
    .news-section .news-card .news-title {
        font-size: 20px;
        font-weight: 600;
        line-height: 26px;
        letter-spacing: -1px;
    }
    .related-news .news-card {
        padding: 20px;
        min-height: initial;
    }
    .related-news .news-card .card-title {
        font-size: 20px;
        font-weight: 600;
        line-height: 26px;
        letter-spacing: -1px;
    }
}

@media (max-width: 767px) {
    .news-main .news-card-list .news-card-item .news-image {
        margin-left: 0;
        margin-bottom: 20px;
    }
    .news-main .news-card-list .news-card-item .news-card {
        margin-right: 0;
    }
    .news-main .row .col-m-12:nth-of-type(2) {
        order: -1;
    }
    .news-main .news-card-list .news-card-item .news-card .card-date {
        margin-bottom: 20px;
    }
    .news-main .news-card-list .news-card-item .news-image img {
        height: initial;
    }
    .news-main .filters-wrapper {
        flex-wrap: wrap;
    }
    .news-main .filters-wrapper .tags {
        margin-bottom: 20px;
    }
    .news-main .select-wrapper {
        width: 100%;
    }
    .select-header {
        width: 100%;
        min-width: initial;
    }
    .custom-select {
        width: 50%;
    }
    .single-news-section .news-post-meta {
        flex-wrap: wrap;
    }
    .single-news-section .news-post-meta .news-socials {
        width: 100%;
        margin-top: 20px;
    }
    .single-news-section .title-wrapper {
        flex-wrap: wrap;
    }
    .single-news-section .title-wrapper h1 {
        width: 100%;
        margin-top: 20px;
        order: 1;
    }
    .single-news-section .title-wrapper .title__back {
        margin-left: 0;
    }
    .single-news-section .news-post-meta {
        margin: 20px 0;
    }
    .single-news-section .content-wrapper {
        padding: 20px;
    }
    .news-section .title-wrapper {
        padding: 0;
    }
    .news-section .tags {
        padding: 0;
    }
    .news-section .row {
        padding: 0;
    }
    .related-news .title-wrapper {
        flex-wrap: wrap;
        margin-bottom: 20px;
    }

    .related-news .title-wrapper h2 {
        width: 100%;
        padding-right: 60vw;
        word-break: unset;
    }
    .single-news-section .news-post-meta .news-right {
        flex-wrap: wrap;
    }
    .single-news-section .news-post-meta .news-date {
        width: 100%;
        margin-bottom: 10px;
    }
    .single-news-section .container {
        padding: 0 20px;
    }
    .related-news .container {
        padding: 0 20px;
    }
    .news-main .container {
        padding: 0 20px;
    }
    .news-main .filters-wrapper {
        margin: 20px 0;
    }
    .single-news-section .content-wrapper img {
        max-width: 100%;
    }
    .news-section .container {
        padding: 0 7.5px;
    }
    .news-section .mobile-hidden {
        display: none;
    }
    .news-section .news-mobile-slider {
        display: block;
    }
    .news-section .news-mobile-slider .swiper-wrapper {
        align-items: stretch;
    }
    .news-section .news-mobile-slider .news-card {
        width: 100%;
        height: 100%;
        margin-bottom: 0;
    }
    .news-section .news-mobile-slider .swiper-slide {
        text-align: start;
        justify-content: flex-start;
        height: auto;
        border-radius: 20px;
    }

    input.wpcf7-form-control.mobile-fixed-m {
        margin-bottom: -8px;
    }
}




