/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

.news_page_news_wrapper {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 20px 1fr 20px 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 20px;
}

.news_page_news {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 15px;
}

.news_page_news img {
    max-width: 100%;
    height: 136px;
    -o-object-fit: cover;
    object-fit: cover;
}

.news_page_news_date {
    font-size: 12px;
    font-weight: 500;
    color: #B2B2B2;
    text-transform: uppercase;
}

.news_page_news_title {
    font-weight: 600;
    font-size: 20px;
    color: currentColor;
}

.news_page_news a:hover {
    color: var(--main_color);
    cursor: pointer;
    text-decoration: none;
}

.news_page_news_text {
    font-size: 14px;
    line-height: 24px;
    opacity: .5;
}

.news_site {
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    color: var(--main_color);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.news_page_news {
    font-size: 14px;
    line-height: 24px;
}

.news_page_news_pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 40px auto 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.news_page_news_pagination i {
    color: currentColor;
    font-size: 14px;
    cursor: pointer;
}

.news_page_news_pagination a,
.news_page_news_pagination p {
    font-size: 16px;
    font-weight: 500;
    padding: 6px 14px;
    margin: 0 -5px;
    color: #01212D;
    border: 1px solid #E3E8EC;
    border-radius: 4px;
    cursor: pointer;
    transition: all .2s ease;
}

.pagination_arrow {
    border: 1px solid transparent!important;
}

.news_page_news_pagination a:hover {
    background-color: #01212D;
    color: #fff;
    text-decoration: none;
}

.news_page_news_pagination .active {
    background-color: #01212D;
    color: #fff;
    cursor: default;
}

.detailed_news_date {
    font-size: 14px;
    line-height: 24px;
    color: var(--light_gray);
}
iframe{
    max-width: 100%;
    width: 100%;
    height:400px;
}

.detailed_news_wrapper img {
    width: 100%;
    
    -o-object-fit: contain;
     object-fit: contain;
     margin-bottom: 10px;
}
.featured-images img {
    width: 100%;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
    margin-top: 15px;
    border-radius: 12px;
}
.detailed_news_text {
    margin-top: 16px;
    font-size: 14px;
}

.detailed_news_text p {
    margin: 12px 0;
}

.events_wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

.filter {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    border: 1px solid var(--neutral-300);
    border-radius: 20px;
}

.filter_block:not(:last-child) {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--neutral-300);
}

.filter_caption {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}

.filter_sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter_radio {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.radio {
    position: relative;
    cursor: pointer;
    font-family: sans-serif;
    display: flex;
    align-items: center;
}

.radio input {
    display: none;
}

.radio span {
    width: 18px;
    height: 18px;
    border: 2px solid var(--neutral-400);
    border-radius: 50%;
    margin-right: 6px;
    position: relative;
}

.radio input:checked + span::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    background: var(--blue-500);
    border-radius: 50%;
}

.radio input:checked + span {
    border-color: var(--blue-500);
}

.filter_sort_item {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-600);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 50px;
}

.filter_sort_item.active {
    color: var(--blue-600);
   background-color: rgba(37, 99, 235, 0.1);
    border: 1px solid var(--blue-500);
}

.content_length {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.content_length_icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 768px) {
    .news_page_news_wrapper {
        -ms-grid-columns: 1fr 30px 1fr;
        grid-template-columns: 1fr 1fr;
    }
    .detailed_news_text {
        margin-top: 12px;
    }
}

@media screen and (max-width: 560px) {
    .news_page_news_wrapper {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }
    .news_page_news_pagination a, .news_page_news_pagination p {
        padding: 4px 10px;
    }
    .content_length {
       font-size: 14px;
    }
    .events_wrapper {
        grid-template-columns: 1fr;
    }
    .event-title {
        font-size: 16px;
        line-height: normal;
    }
    .news_page_news_text {
        line-height: 20px;
    }
}

@media screen and (max-width: 420px) {
    .news_img {
        width: 100% !important;
        min-width: 100%;
    }
    .news_page_news {
        gap: 10px;
    }
}