@charset "UTF-8";

#header .logo {
    display: none !important;
}

#general-logo {
    position: relative;
    display: flex;
    align-items: center;
}

#general-logo-victory-80 img {
    width: 38px;
}

#general-logo-image {
    padding-left: 1rem;
}

#general-logo-image img {
    width: 235px;
}

/* --favt-resolution-tablet-wide */
@media (min-width: 991.98px) {
    #general-logo-victory-80 img {
        width: 60px;
    }

    #general-logo-image img {
        width: 395px;
    }
}

/* --favt-resolution-desktop-wide */
@media (min-width: 1399.98px) {
    #general-logo-victory-80 img {
        width: 75px;
    }

    #general-logo-image img {
        width: 485px;
    }
}

/**
 * Баннеры
 */
#content .banner-anti-corruption {
    margin: 24px 0;
    background: #F8F9FC;
}

#content .banner-default {
    border: 1px solid #0081C8;
}

#content .banner-primary {
    background: #0081C8;
}

#content .banner-secondary {
    background: #B8C2E0;
}

#content .banner-danger {
    background: #FF5555;
}

#content .banner-default .banner-badge {
    background: transparent;
    border: 1px solid #0081C8;
}

#content .banner-secondary .banner-badge,
#content .banner-primary .banner-badge,
#content .banner-danger .banner-badge {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

#content .banner-primary h2,
#content .banner-danger h2 {
    color: #fff;
}

#content .banner-secondary .btn,
#content .banner-primary .btn,
#content .banner-danger .btn {
    --bs-btn-bg: #F8F9FC;
    --bs-btn-border-color: #F8F9FC;
    --bs-btn-hover-bg: #B8C2E0;
    --bs-btn-hover-border-color: #B8C2E0;
}

/**
 * Сайты госучреждений
 */
#content .block-government-agencies {
    margin: 24px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

#content .block-government-agencies .unit {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    width: calc(50% - 16px);

    background: #F8F9FC;
    border-radius: 40px 8px 8px 8px;

    text-decoration: none;
    color: rgb(29, 29, 27);
}

#content .block-government-agencies .unit:hover {
    text-decoration: none;
    color: rgb(29, 29, 27);
}

#content .block-government-agencies .unit .image {
    /*filter: blend(mode="darken", factor=0.4);*/
    mix-blend-mode: darken;
    margin: 16px;
}

#content .block-government-agencies .unit .title {
    margin: 0 16px 16px 16px;
    text-decoration: none;
    text-align: center;
}

#content .block-government-agencies .unit:hover .title {
    text-decoration: underline;
}

/* --favt-resolution-tablet-wide */
@media (min-width: 991.98px) {
    #content .block-government-agencies .unit {
        width: calc(33.33333333% - 16px);
        border-radius: 40px 12px 12px 12px;
    }
}

/* --favt-resolution-desktop-wide */
@media (min-width: 1399.98px) {
    #content .block-government-agencies .unit {
        width: calc(25% - 16px);
    }
}

/**
 * News
 */
#swiper-news .news-list {
    margin-top: 24px;
    align-items: start;
}

#swiper-news .news-list .unit {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-radius: 40px 12px 0 0;
    border-style: solid;
    border-width: 1px;
    border-color: transparent;
    background: #F8F9FC;
}

#swiper-news .news-list .unit a {
    text-decoration: none;
    color: rgb(29, 29, 27);
}

#swiper-news .news-list .unit a:hover {
    text-decoration: underline;
}

#swiper-news .news-list .unit .image-bg {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    min-height: 236px;
    overflow: hidden;
    border-radius: 40px 12px 0 0;
    z-index: 0;
}

#swiper-news .news-list .unit .image-bg img {
    position: absolute;
    top: -5px;
    left: -5px;
    width: calc(100% + 10px);
    min-height: 236px;
    filter: blur(5px);
    z-index: 0;
}

#swiper-news .news-list .unit .image {
    position: relative;
    width: 100%;
    min-height: 236px;
    background: no-repeat center center;
    background-size: contain;
    border-radius: 40px 12px 0 0;
    z-index: 1;
}

#swiper-news .news-list .unit .title {
    display: block;
    margin: 24px 24px 16px 24px;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
}

#swiper-news .news-list .unit .meta {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0 24px 24px 24px;
}

#swiper-news .news-list .unit .link {
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
}

#swiper-news .news-list .unit .date {
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    color: #B8C2E0;
}

/**
 * Banners line
 */
#swiper-banners-line .swiper-slide {
    max-width: 100%;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#swiper-banners-line .swiper-slide img {
    border-radius: 12px;
    max-width: 100%;
    max-height: 90px;
}

/* --favt-resolution-desktop */
@media (min-width: 1199.98px) {
    #swiper-banners-line .swiper-slide img {
        width: auto;
    }
}

/**
 * Sidebar
 */
#sidebar {
    display: none;
}
#sidebar .news-list {
    margin: 24px 0 0 0;
    width: 472px;
}

/* --favt-resolution-desktop-wide */
@media (min-width: 1399.98px) {
    #sidebar {
        display: block;
        width: 472px;
    }
}

#sidebar .news-list .unit {
    position: relative;
    margin-top: -40px;
    border-radius: 40px 12px 0 0;
    border-style: solid;
    border-width: 1px 1px 0 1px;
    border-color: #0081C8;
}

#sidebar .news-list .unit:first-child {
    margin-top: 0;
}

#sidebar .news-list .unit:last-child {
    border-width: 1px;
}

#sidebar .news-list .unit a {
    color: rgb(29, 29, 27);
}

#sidebar .news-list .unit a:hover {
    color: rgb(0, 129, 200);
}

#sidebar .news-list .unit .image-bg {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    min-height: 236px;
    overflow: hidden;
    border-radius: 40px 12px 0 0;
    z-index: 0;
}

#sidebar .news-list .unit .image-bg img {
    position: absolute;
    top: -5px;
    left: -5px;
    width: calc(100% + 10px);
    min-height: 236px;
    filter: blur(5px);
    z-index: 0;
}

#sidebar .news-list .unit .image {
    position: relative;
    min-height: 236px;
    background: no-repeat center center;
    background-size: contain;
    border-radius: 40px 12px 0 0;
    z-index: 1;
}

#sidebar .news-list .unit .title {
    display: block;
    margin: 24px 24px 16px 24px;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
}

#sidebar .news-list .unit .meta {
    display: flex;
    justify-content: space-between;
    margin: 0 24px;
    padding-bottom: 60px;
}

#sidebar .news-list .unit:last-child .meta {
    padding-bottom: 24px;
}

#sidebar .news-list .unit .link {
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
}

#sidebar .news-list .unit .date {
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    color: #B8C2E0;
}

.block-questions .unit {
    background: #F8F9FC;
    border-radius: 40px 8px 8px 8px;
    padding: 24px 40px;
}

.block-questions .link {
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    color: rgb(29, 29, 27);
}

.block-questions .link:hover {
    color: rgb(0, 129, 200);
}