/*
Theme Name: MP-Government
Theme URI: 
Author: Dmitry Naumenko
Author URI: https://www.linkedin.com/in/naumenko-dmitry/
Description: -
Requires at least: 6.8
Tested up to: 6.8.3
Requires PHP: 8.2
Version: 1.0.8
License: MIT
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

# Base
    - Header
        - Header top
            - Header top left
            - Header top organization name
            - Header top right
        - Header menus
            - Header menu
            - Header additional menu
        - Important information
    - Main
        - Templates
            - Front-page
                - Chairmans welcome
                - Quick access menu
                - Reference information
                - News
                    - District news
                    - Current information
                    - Card 
                - Region map
                - Information resources
                - Banners
            - Post and Page
            - Blog
                - Card
            - Information resources
            - Social ad
            - Normative documents
            - Divisions
            - AP
            - Auctions 
            - Search
            - Errors
                - 404
        - Sidebars
            - Post, blog and news category sidebar 
    - Footer
# Components
    - Search canvas
    - Mobile menu
    - Breadcrumbs
    - Gerb organization
    - Gerb Belarus
    - Pagination
# Animations
    - Fade in down
# Wordpress   
*/

/* # Base */
:root {
    --light_blue_2: #dbeaff;
    --light_blue: #a0c6f5;
    --main_blue: #499bed;
    --blue: #032f5c;
    --dark_blue: #041725;
    --dark_grey: #222222;
    --gray: #f7f7f7;
    --light_gray: #DDE1E6;
}

html,
body {
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

body ::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

body ::-webkit-scrollbar-button {
    display: none;
}

body ::-webkit-scrollbar-thumb {
    background-color: rgba(34, 34, 34, 0.35);
    height: 80px;
}

body ::-webkit-resizer {
    background-color: #666;
}

a {
    color: var(--main_blue);
}

/* Header */
header {
    font-family: "Roboto", Arial, sans-serif;
    padding: 1rem 0rem 2rem;
    background-color: var(--blue);
}

.header-sticky-on {
    position: fixed;
    z-index: 1020;
    top: 0;
    left: 0;
    right: 0;
    -webkit-animation: fadeInDown .5s;
    animation: fadeInDown .5s;
    padding-bottom: 1rem;
}

.home header {
    position: relative;
}

.home header>.container {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
    position: relative;
}

.header-sticky-on .container {
    gap: 0.25rem;
}

.home header>img {
    position: absolute;
    top: 0;
    z-index: -1;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.home header.header-sticky-on {
    position: fixed;
    background-color: var(--blue);
}

.home header.header-sticky-on>img {
    display: none;
}

header>.container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (max-width: 767px) {
    header {
        padding-bottom: 2rem;
    }

    header.header-sticky-on {
        padding-bottom: 1rem;
    }
}

@media (max-width: 1199px) {
    header.header-sticky-on>.container {
        flex-direction: row;
        justify-content: space-between;
    }

    .header-sticky-on .header-top__organization-name .gerb-rb,
    .header-sticky-on .header-top__organization-name .gerb-organization,
    .home .header-sticky-on .header-top__organization-name .gerb-rb,
    .home .header-sticky-on .header-top__organization-name .gerb-organization {
        height: 3.5rem;
        max-width: 4rem;
    }
}

/* Header top */
.header-top {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "contacts site-name menu-icons";
    padding-bottom: 1rem;
    align-items: center;
}

.header-sticky-on .header-top {
    display: none;
}

.header-top__languages,
.header-top__icons,
.header-top__icons .socials {
    display: flex;
    align-items: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
}


@media (max-width: 1199px) {
    .header-top {
        grid-template-columns: 1.5fr 0.5fr;
        grid-template-areas: "contacts menu-icons" "site-name site-name";
    }

    .header-sticky-on .header-top {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }
}

@media screen and (max-width: 991px) {
    .header-top {
        grid-template-areas: "contacts contacts menu-icons" "site-name site-name site-name";
    }
}

@media screen and (max-width: 767px) {
    .header-top {
        grid-template-areas: "menu-icons" "site-name";
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .header-sticky-on .header-top {
        display: flex;
        padding-bottom: 0rem;
    }
}

/* Header top left */
.header-top__left {
    grid-area: contacts;
    position: relative;
    display: flex;
    height: 100%;
}

.header-top__info-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    list-style-type: none;
    margin: 0;
    padding: 0;
    height: 100%;
    gap: 1.5rem;
    color: var(--light_gray);
}

.header-top__info-list>li {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: .5rem;
}

.header-top__info-list>li span {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0%;
}

.header-top__info-list .svg-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
}

.header-top__info-list .svg-icon svg {
    fill: var(--main_blue);
}

@media (max-width: 1199px) {
    .header-sticky-on .header-top__left {
        display: none;
    }

    .header-top__left .header-top__info-list {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 991px) {
    .header-top__left {
        margin-top: 1.5rem;
        height: fit-content;
    }

    .header-top__info-list {
        gap: 2rem;
    }
}

@media screen and (max-width: 767px) {
    .header-top__left {
        display: none;
    }
}

/* Header top organization name */
.header-top__organization-name {
    grid-area: site-name;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    max-width: 33vw;
}

.header-sticky-on .header-top__organization-name {
    display: none;
}

.header-top__organization-name .gerb-rb,
.header-top__organization-name .gerb-organization {
    height: 7.5rem;
    width: auto;
}

.header-top__organization-name .gerb-rb>img,
.header-top__organization-name .gerb-organization>img {
    height: 100%;
    width: auto;
    opacity: 0.9;
}

.header-top__organization-name .organization-name {
    font-weight: 500;
    font-size: 1.375rem;
    line-height: normal;
    text-align: center;
    text-transform: uppercase;
    color: var(--light_gray);
    max-width: 30vw;
    margin-bottom: 0rem;
}

@media screen and (max-width: 1399px) {
    .header-top__organization-name .organization-name {
        max-width: 20vw;
    }
}

@media (max-width: 1199px) {

    .header-top__organization-name {
        max-width: unset;
    }

    .header-top__organization-name .gerb-rb>img,
    .header-top__organization-name .gerb-organization>img {
        height: 100%;
        width: auto;
    }
}

@media (max-width: 1199px) {
    .header-sticky-on .header-top__organization-name {
        display: flex;
    }

    .header-sticky-on .header-top__organization-name .organization-name {
        order: 2;
        font-size: 1rem;
        line-height: 1rem;
    }
}

@media screen and (max-width: 991px) {
    .header-top__organization-name .organization-name {
        font-size: 1.375rem;
        line-height: 2.25rem;
        max-width: unset;
    }

    .home .header-sticky-on .header-top__organization-name .organization-name,
    .header-sticky-on .header-top__organization-name .organization-name {
        font-size: 1.15rem;
        line-height: 1.25rem;
    }

    .header-top__organization-name .gerb-rb,
    .header-top__organization-name .gerb-organization {
        display: flex;
        justify-content: center;
    }

    .home .header-top__organization-name .organization-name,
    .header-top__organization-name .organization-name {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 767px) {
    .header-sticky-on .header-top__organization-name {
        gap: 0.5rem;
    }

    .header-sticky-on .header-top__organization-name {
        gap: 0.5rem;
    }

    .home .header-sticky-on .header-top__organization-name .organization-name,
    .header-sticky-on .header-top__organization-name .organization-name {
        font-size: 0.95rem;
        line-height: 1.15rem;
        text-align: left;
    }

    .header-top__organization-name {
        display: grid;
        grid-template-areas: "gerb-rb gerb-og" "name name";
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        grid-row-gap: 2rem;
        width: 290px;
        margin: 0 auto;
    }

    .header-top__organization-name .gerb-rb {
        grid-area: gerb-rb;
    }

    .header-top__organization-name .gerb-organization {
        grid-area: gerb-og;
    }

    .header-top__organization-name .organization-name {
        grid-area: name;
        max-width: fit-content;
        line-height: 2rem;
    }
}

@media screen and (max-width: 575px) {

    .home header>.container,
    header>.container {
        gap: 2rem;
    }

    .home .header-top__organization-name .organization-name,
    .header-top__organization-name .organization-name {
        font-size: 1.5rem;
    }

    .header-top__organization-name {
        gap: 1.5rem;
    }

    .home .header-sticky-on .header-top__organization-name .organization-name,
    .header-sticky-on .header-top__organization-name .organization-name {
        font-size: 0.85rem;
        margin: 0;
    }
}

@media screen and (max-width: 465px) {
    .header-sticky-on .header-top__organization-name {
        gap: 0;
    }

    .header-sticky-on .header-top__organization-name .gerb-rb,
    .header-sticky-on .header-top__organization-name .gerb-organization,
    .home .header-sticky-on .header-top__organization-name .gerb-rb,
    .home .header-sticky-on .header-top__organization-name .gerb-organization {
        display: none;
    }
}

@media screen and (max-width: 435px) {

    .header-sticky-on .header-top__organization-name .gerb-rb,
    .header-sticky-on .header-top__organization-name .gerb-organization,
    .home .header-sticky-on .header-top__organization-name .gerb-rb,
    .home .header-sticky-on .header-top__organization-name .gerb-organization {
        display: none;
    }
}

/* Header top right */
.header-top__right {
    grid-area: menu-icons;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.header-top__icons {
    justify-content: flex-end;
    gap: 0.25rem;
}

.header-top__icons>*,
.header-top__icons>.socials>*,
.footer__contacts>.socials>* {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.25rem;
    cursor: pointer;
}

.header-top__icons>.socials,
.footer__contacts>.socials {
    width: fit-content;
    height: fit-content;
}

.header-top__icons>* svg,
.footer__contacts>.socials>* svg {
    width: 100%;
    height: 100%;
    fill: #DDE1E6;
    border-radius: 50%;
    border: 1px solid var(--main_blue);
}

.header-top__icons>.socials>*:hover svg {
    background-color: var(--main_blue);
}

.header-top__languages-wrapper .search {
    padding: 0.6rem 0 0.9rem 0;
    width: 2.75rem;
    height: 2.75rem;
    cursor: pointer;
}

.header-top__languages-wrapper .search svg {
    width: 100%;
    height: 100%;
    fill: var(--light_gray);
}

.header-top__languages-wrapper .search:hover svg {
    fill: var(--main_blue);
}

.header-top__languages-wrapper .menu {
    width: 2rem;
    height: 2rem;
    cursor: pointer;
}

.header-top__languages-wrapper .menu svg {
    width: 100%;
    height: 100%;
    fill: var(--light_gray);
}

.header-top__languages-wrapper .menu:hover svg {
    fill: var(--main_blue);
}

.header-top__languages-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .header-top__languages-wrapper {
        width: 100%;
        justify-content: space-between;
    }
}

.header-top__languages {
    justify-content: flex-start;
    gap: 0.75rem;
}

.header-top__languages>li>* {
    font-size: 1rem;
    color: var(--light_gray);
    text-decoration: none;
}

.header-top__languages>li>*.active {
    color: #B8D3F1;
    border-bottom: 1px solid #B8D3F1;
}

.header-top__languages>li>a:after {
    content: "";
    display: block;
    background-color: var(--light_gray);
    width: 0%;
    height: 1px;
    -webkit-transition: width .3s ease-in-out;
    -moz--transition: width .3s ease-in-out;
    transition: width .3s ease-in-out;
}

.header-top__languages>li:hover>a:after {
    width: 100%;
}

.header-top__languages>li .bvi-shortcode,
.header-top__languages>li .bvi-shortcode a {
    background: transparent;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light_gray);
    text-decoration: none;
}

.header-top__languages>li .bvi-shortcode:hover,
.header-top__languages>li .bvi-shortcode a:hover {
    color: var(--main_blue);
}

.header-top__languages>li .bvi-shortcode .bvi-svg-eye {
    background: transparent;
    width: 1.5rem;
    height: 1.25rem;
}

.header-top__functional-menu {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 1199px) {
    .header-sticky-on .header-top__languages {
        display: none;
    }

    .header-top__languages-wrapper .search {
        padding: 0;
        width: 1.5rem;
        height: 1.5rem;
    }
}

@media (max-width: 991px) {
    .header-top__right {
        flex-direction: row;
        justify-content: space-around;
    }
}

@media (max-width: 767px) {
    .header-top__right {
        justify-content: space-between;
    }
}

/* Header menus */
.header__main-menu>ul>li .sub-menu.dropdown-menu,
.header__additional-menu>ul>li .sub-menu.dropdown-menu {
    width: 280px;
}

.header__main-menu>ul>li>.sub-menu.dropdown-menu li,
.header__additional-menu>ul>li>.sub-menu.dropdown-menu li {
    position: relative;
    display: flex;
}

.header__main-menu>ul>li>.sub-menu.dropdown-menu li>button,
.header__additional-menu>ul>li>.sub-menu.dropdown-menu li>button {
    background: transparent;
    outline: none;
    border: none;
    padding: 0;
    margin: 0;
    margin-right: 1rem;
    transform: rotate(270deg);
}

.header__main-menu>ul>li:nth-last-child(-n+4)>.sub-menu.dropdown-menu li>button,
.header__additional-menu>ul>li:nth-last-child(-n+4)>.sub-menu.dropdown-menu li>button {
    margin-right: auto;
    margin-left: 1rem;
    transform: rotate(90deg);
}

.header__main-menu>ul>li:nth-last-child(-n+4)>.sub-menu.dropdown-menu li>.sub-menu.dropdown-menu,
.header__main-menu>ul>li:nth-child(4)>.sub-menu.dropdown-menu>li>.sub-menu.dropdown-menu>li>.sub-menu.dropdown-menu {
    left: auto;
    right: 280px
}

.header__main-menu>ul>li>.sub-menu.dropdown-menu>li>.sub-menu.dropdown-menu,
.header__main-menu>ul>li:nth-child(2)>.sub-menu.dropdown-menu>li>.sub-menu.dropdown-menu>li>.sub-menu.dropdown-menu,
.header__main-menu>ul>li:nth-child(3)>.sub-menu.dropdown-menu>li>.sub-menu.dropdown-menu>li>.sub-menu.dropdown-menu {
    left: 280px;
    top: -0.5rem;
}

.header__main-menu>ul>li:nth-last-child(-n+4)>.sub-menu.dropdown-menu li,
.header__additional-menu>ul>li:nth-last-child(-n+4)>.sub-menu.dropdown-menu li {
    flex-direction: row-reverse;
}

.header__main-menu .sub-menu.dropdown-menu.show>li:hover>.sub-menu.dropdown-menu,
.header__main-menu .sub-menu.dropdown-menu.show>li:focus>.sub-menu.dropdown-menu,
.header__main-menu .sub-menu.dropdown-menu.show>li>.sub-menu.dropdown-menu>li:hover>.sub-menu.dropdown-menu,
.header__main-menu .sub-menu.dropdown-menu.show>li>.sub-menu.dropdown-menu>li:focus>.sub-menu.dropdown-menu {
    display: block;
}

/* Header main menu */
.header__main-menu {
    padding: 1rem 0;
    justify-content: center;
}

.header__main-menu>ul,
.header__main-menu>ul>li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home header.header-sticky-on>.container {
    gap: 1rem;
}

.header-sticky-on .header__main-menu>ul {
    background-color: transparent;
    padding: 0.5rem;
}

.header__main-menu>ul {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* gap: 1.25rem; */
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.header__main-menu>ul>li {
    gap: 0.25rem;
    padding: 0.25rem 0.25rem;
    border-radius: 0.75rem;
}

.header__main-menu>ul>li:hover>a,
.header__main-menu>ul>li:hover>.dropdown-toggle {
    color: var(--gray);
}

.header-sticky-on .header__main-menu>ul>li>a {
    color: var(--gray);
}

.header__main-menu>ul>li>a {
    color: var(--gray);
    font-weight: 400;
    font-size: 1rem;
    text-decoration: none;
    line-height: 1;
    position: relative;
    padding: 0.5rem 0.5rem;
}

.header-sticky-on .header__main-menu>ul>li:hover>a,
.header-sticky-on .header__main-menu>ul>li:hover>.dropdown-toggle {
    color: var(--gray);
}

.header-sticky-on .header__main-menu>ul>li>a:after {
    background-color: var(--gray);
}

.header__main-menu>ul>li:hover {
    background-color: var(--main_blue);
    border-radius: 0.7rem;
}

.header-sticky-on .header__main-menu>ul>li>.dropdown-toggle {
    color: var(--gray);
}

.header__main-menu>ul>li>.dropdown-toggle {
    background: transparent;
    outline: none;
    border: none;
    padding: 0.5rem 0.25rem;
    margin: 0;
    color: var(--gray);
    height: 100%;
}

.header__main-menu .dropdown-menu>li>a {
    display: block;
    width: 100%;
    padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
    clear: both;
    font-weight: 400;
    color: var(--bs-dropdown-link-color);
    text-align: inherit;
    text-decoration: none;
    background-color: transparent;
    border: 0;
    border-radius: var(--bs-dropdown-item-border-radius, 0);
}

.header__main-menu .dropdown-menu>li>a:hover {
    color: var(--gray);
    background-color: var(--main_blue);
}

/* Header additional menu */
.header__additional-menu>ul>li .header-sticky-on .header__additional-menu {
    display: none !important;
}

.header__additional-menu>ul,
.header__additional-menu>ul>li {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header__additional-menu>ul {
    gap: 1.25rem;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.header__additional-menu>ul>li {
    gap: 0.5rem;
    padding: 0.625rem 0.5rem;
    background: var(--light_blue_2);
    border-radius: 0.75rem;
    transition: 0.2s;
    height: 60px;
    width: 100%;
    overflow: hidden;
    max-width: 250px;
    border: 1px solid var(--light_blue_2);
}

.home .header__additional-menu>ul>li:hover {
    background: var(--main_blue);
    color: var(--light_gray);
    cursor: pointer;
    border: 1px solid var(--main_blue);
}

.header-sticky-on .header__additional-menu>ul>li:hover {
    background: var(--main_blue);
    border: 1px solid var(--main_blue);
}

.header__additional-menu>ul>li:hover {
    background: var(--main_blue);
    border: 1px solid var(--main_blue);
}

.header__additional-menu>ul>li:hover>a,
.header__additional-menu>ul>li:hover>.dropdown-toggle {
    color: var(--light_gray);
}

.header__additional-menu>ul>li>a {
    color: var(--dark_blue);
    font-weight: 500;
    font-size: 0.85rem;
    text-align: center;
    text-decoration: none;
    line-height: 1.4;
    letter-spacing: 0%;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.header__additional-menu>ul>li>a>span {
    word-wrap: break-word;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.header__additional-menu>ul>li>.dropdown-toggle {
    background: transparent;
    outline: none;
    border: none;
    padding: 0.5rem 0.25rem;
    margin: 0;
    color: var(--dark_blue);
}

.home .header__additional-menu>ul>li:hover>.dropdown-toggle {
    color: var(--light_gray);
}

.header__additional-menu .dropdown-menu>li>a {
    display: block;
    width: 100%;
    padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
    clear: both;
    font-weight: 400;
    color: var(--bs-dropdown-link-color);
    text-align: inherit;
    text-decoration: none;
    background-color: transparent;
    border: 0;
    border-radius: var(--bs-dropdown-item-border-radius, 0);
}

.header__additional-menu .dropdown-menu>li>a:hover {
    color: var(--light_gray);
    background-color: var(--main_blue);
}

@media (max-width: 1199px) {
    .header-sticky-on .header__additional-menu {
        display: none !important;
    }

    .header__additional-menu>ul>li {
        height: 120px;
        flex-direction: column;
        min-width: 100px;
    }

    .header__additional-menu>ul>li>a {
        flex-direction: column;
    }
}

@media (max-width: 991px) {
    .header__additional-menu>ul {
        display: flex;
        flex-wrap: wrap;
    }

    .header__additional-menu>ul>li {
        width: calc(50% - 0.625rem);
        justify-content: space-around;
        justify-content: space-around;
        height: 100px;
    }

    .header__additional-menu>ul>li>a {
        width: fit-content;

    }

    .header-sticky-on .header__additional-menu {
        display: none;
    }
}

@media (max-width: 767px) {
    .header__additional-menu>ul>li {
        height: 100%;
        min-height: 100px;
    }
}

@media (max-width: 420px) {
    .header__additional-menu>ul>li>a>span {
        -webkit-line-clamp: 4;
        line-clamp: 4;
    }
}

/* Important information */
.header__important-information {
    background-color: var(--blue);
}

.header__important-information .container {
    padding: 1rem;
    border-top: 1px solid var(--gray);
}

.header-sticky-on .header__important-information {
    display: none;
}

.important-information__caption {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray);
    float: left;
    margin-right: 1rem;
}

.important-information__slider {
    padding-right: 7.5%;
}

.important-information__slider .slick-slide a {
    color: var(--gray);
    font-weight: 400;
    overflow-wrap: break-word;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.important-information__slider .slick-slide a:hover {
    text-decoration: underline;
}

.important-information__slider .slick-arrow {
    position: absolute;
    z-index: 99;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    background: var(--light_blue) !important;
    border-radius: 0.5rem;
    border: none;
    width: 2rem;
    height: 2rem;
    display: flex !important;
    justify-content: center;
    align-items: center;
    top: 0;
    right: 0;
}

.important-information__slider .slick-arrow.slick-prev {
    right: 2.5rem;
}

.important-information__slider .slick-arrow .svg-icon {
    fill: var(--blue);
    width: 100%;
    height: 100%;
    transition: ease 200ms;
}

.important-information__slider .slick-arrow:hover {
    background: var(--main_blue) !important;
}

.important-information__slider .slick-arrow:hover .svg-icon {
    fill: var(--gray);
}

@media screen and (max-width: 991px) {
    .important-information__caption {
        float: none;
    }

    .header__important-information {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .important-information__slider {
        padding-right: 10%;
    }
}

@media screen and (max-width: 767px) {
    .important-information__slider {
        padding-right: 15%;
    }
}

@media screen and (max-width: 575px) {
    .header__important-information {
        padding-bottom: 4rem;
        text-align: center;
    }

    .important-information__slider {
        padding: 0;
    }

    .important-information__slider .slick-slide a {
        overflow-wrap: break-word;
        word-break: break-word;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .important-information__slider .slick-arrow {
        top: 100%;
        right: 50%;
        -webkit-transform: translateX(50%);
        transform: translateX(50%);
        margin-top: 1rem;
    }

    .important-information__slider .slick-arrow.slick-prev {
        margin-right: 10%;
        right: 50%;
    }

    .important-information__slider .slick-arrow.slick-next {
        margin-right: -10%;
    }
}

/* Main */
main:not(.home) {
    padding: 2rem 0;
    background-color: #fafafa;
}

@media (max-width: 991px) {
    main.home {
        padding-top: 0;
    }
}

@media (max-width: 991px) {
    main.home {
        padding-top: 0;
    }
}

/* Templates */
/* Front-page */
.menus-grid {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 1rem;
}

@media (max-width: 767px) {
    .menus-grid {
        grid-template-columns: 1fr;
    }
}

/* Chairmans welcome */
.chairmans {
    display: flex;
    flex-direction: column;
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--light_blue_2);
    color: var(--dark_grey);
    height: 100%;
    box-shadow: 0px 1px 3px rgba(34, 34, 34, 0.25);
    container-type: inline-size;
}

.chairmans__welcome {
    background: var(--blue);
    color: var(--gray);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.4;
    padding: 0.75rem 1.25rem;
}

.chairmans__body {
    display: flex;
    flex: 1;
    min-height: 0;
}

.chairmans__photo {
    display: block;
    margin: 0;
    max-width: 250px;
    flex: 1 0 auto;
}

.chairmans__photo>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.chairmans__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    padding: 1.5rem 1.75rem;
}

.chairmans__position,
.chairmans__text {
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 400;
}

.chairmans__text p {
    margin: 0;
}

.chairmans__name {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--dark_blue);
}

.chairmans__more {
    margin-top: auto;
    width: fit-content;
    color: var(--main_blue);
    text-decoration: underline;
}

.chairmans__more:hover {
    color: var(--blue);
}

.chairmans__media-wrap {
    height: 100%;
    overflow: hidden;
    border-radius: 0.75rem;
}

.chairmans__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

@media (max-width: 1199px) {

    .first-screen .row {
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    .chairmans__body {
        flex-direction: column;
    }

    .chairmans__photo {
        max-width: 100%;
        aspect-ratio: 16 / 9;
    }
}

/* Quick access menu */

.quick-access-menu {
    padding: 1rem 0 0 0;
    background: var(--gray);
}

.quick-access-menu,
.quick-access-menu>ul {
    height: 100%;
}

.quick-access-menu>ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.quick-access-menu>ul>li {
    width: calc(50% - 0.375rem);
}

.quick-access-menu>ul>li,
.quick-access-menu>ul>li>a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-access-menu>ul>li>a {
    text-align: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    gap: 0.75rem;
    border-radius: 0.75rem;
    background-color: var(--blue);
    text-transform: uppercase;
    color: var(--gray);
    padding: 1rem;
    font-size: 1.125rem;
    font-weight: 500;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(34, 34, 34, 0.25);
}

.quick-access-menu>ul>li>a>i {
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

.quick-access-menu>ul>li>a:hover {
    background-color: var(--main_blue);
}

.quick-access-menu>ul>li>a:hover>span,
.quick-access-menu>ul>li>a:hover>i {
    color: var(--gray);
}

@media (max-width: 1199px) {

    .quick-access-menu>ul>li,
    .quick-access-menu>ul>li>a {
        height: 5rem;
    }
}

@media (max-width: 767px) {

    .quick-access-menu>ul>li,
    .quick-access-menu>ul>li>a {
        height: 7rem;
    }
}

@media (max-width: 575px) {

    .quick-access-menu>ul>li,
    .quick-access-menu>ul>li>a {
        height: 10rem;
    }

    .quick-access-menu>ul>li>a {
        flex-direction: column;
    }
}

@media (max-width: 375px) {
    .quick-access-menu>ul {
        flex-wrap: nowrap;
        flex-direction: column;
    }

    .quick-access-menu>ul>li,
    .quick-access-menu>ul>li>a {
        height: 5rem;
        width: 100%;
    }

    .quick-access-menu>ul>li>a {
        flex-direction: row;
    }
}

@media (max-width: 991px) {
    .reference-information {
        margin-top: 1.5rem;
        height: fit-content;
    }

    .reference-information__list {
        gap: 2rem;
    }
}

/* News */
.home .news {
    background-color: var(--gray);
    padding: 3rem 0rem;
}

.home .news .card__body .card__date {
    padding: 0;
}

.home .news .top-news .card .card__title {
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.home .news .republic-news,
.home .news .region-news {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.75rem;
}

.home .news .republic-news__caption,
.home .news .region-news__caption {
    background-color: var(--light_blue_2);
    font-size: 1.25rem;
    border-radius: 0.75rem;
    color: var(--dark_blue);
    padding: 8px 12px;
    text-decoration: none;
    font-weight: 500;
}

.home .news .district-news__caption {
    font-size: 1.25rem;
    color: var(--dark_blue);
    text-decoration: none;
    font-weight: 500;
}

.home .news .district-news .card,
.home .news .current-information .card,
.home .news .republic-news .card,
.home .news .region-news .card {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    box-shadow: none;
    padding: 0;
}

.home .news .district-news .card:hover,
.home .news .current-information .card:hover,
.home .news .republic-news .card:hover,
.home .news .region-news .card:hover {
    background-color: transparent;
}

.home .news .republic-news .card__image,
.home .news .region-news .card__image {
    flex: 1 0 auto;
    width: 170px;
    height: 125px;
    overflow: hidden;
}

.home .news .district-news .card__image img,
.home .news .republic-news .card__image img,
.home .news .region-news .card__image img {
    position: relative;
}

.home .news .district-news .card__body,
.home .news .current-information .card__body,
.home .news .republic-news .card__body,
.home .news .region-news .card__body {
    position: relative;
    width: 100%;
    height: 100%;
    inset: 0;
    padding: 0;
}

.home .news .district-news .card__title,
.home .news .republic-news .card__title,
.home .news .region-news .card__title,
.home .news .current-information .card__title {
    color: var(--dark_grey);
    font-weight: 500;
}

.home .news .top-news .card__body>a:hover>.card__title,
.home .news .district-news .card__body>a:hover>.card__title,
.home .news .republic-news .card__body>a:hover>.card__title,
.home .news .region-news .card__body>a:hover>.card__title,
.home .news .current-information .card__body>a:hover>.card__title {
    color: var(--main_blue);
    text-decoration: none;
    background: transparent;
    padding: 0;
}

.home .news .district-news .card__date,
.home .news .district-news .card:hover .card__date,
.home .news .republic-news .card__date,
.home .news .republic-news .card:hover .card__date,
.home .news .region-news .card__date,
.home .news .region-news .card:hover .card__date {
    color: var(--dark_blue);
}

.home .news .current-information .card__date {
    color: var(--dark_blue);
}

.home .news .region-news__list,
.home .news .republic-news__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* District news */
.home .news .district-news {
    background-color: var(--light_blue_2);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: 0.75rem;
    padding: 0.75rem;
    height: 100%;
}

.home .news .district-news .card__image {
    flex: 1 0 auto;
    width: 140px;
    height: 99px;
    overflow: hidden;
}

.home .news .district-news__list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 1rem;
}

.home .news .district-news .card__body {
    gap: 0.5rem;
}

.home .news .district-news .card__title {
    -webkit-line-clamp: 3;
    line-clamp: 3;
}


/* Reference information */
.reference-information {
    border-radius: 0.75rem;
    background: transparent;
    display: flex;
    padding: 1.25rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    gap: 1rem;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border: 2px solid var(--blue);
    height: 100%;
    position: relative;
}

.home .news .current-information__caption,
.reference-information__caption {
    color: var(--blue);
    position: absolute;
    top: -0.75rem;
    left: 1.25rem;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 2rem;
    background-color: var(--gray);
    padding: 0rem 1rem;
}

.reference-information__list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    list-style-type: none;
    margin: 0;
    padding: 0;
    height: 100%;
    gap: 1rem;
    color: var(--dark_grey);
}

.reference-information__list>li {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: .5rem;
}

.reference-information__list>li a {
    color: var(--blue);
    text-decoration: underline;
    cursor: pointer;
}

.reference-information__list>li a:hover {
    color: var(--main_blue);
}

.reference-information__list .svg-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.375rem;
    height: 1.375rem;
}

.reference-information__list .svg-icon svg {
    fill: var(--main_blue);
}

/* Current information */
.home .news .current-information {
    border-radius: 0.75rem;
    background: transparent;
    display: flex;
    padding: 1.25rem;
    border-radius: 0.75rem;
    gap: 1rem;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border: 2px solid var(--blue);
    height: 100%;
    position: relative;
}

.home .news .current-information__caption {
    color: var(--blue);
    text-decoration: none;
    position: absolute;
    top: -0.75rem;
    left: 1.25rem;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 2rem;
    background-color: var(--gray);
    padding: 0rem 1rem;
}

.home .news .current-information__list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 1rem;
}

.home .news .current-information .card__body {
    gap: 0.5rem;
}

.home .news .current-information .card__title {
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

@media (max-width: 1199px) {
    .home .news .current-information__list {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .home .news .current-information {
        margin-top: 1rem;
        height: fit-content;
    }

    .home .news .current-information .card__title,
    .home .news .republic-news .card__title,
    .home .news .region-news .card__title {
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
}

@media (max-width: 767px) {
    .home .news .current-information__list {
        display: grid;
        grid-template-columns: 1fr;
    }

    .home .news .district-news__list .card,
    .home .news .current-information__list .card,
    .home .news .republic-news__list .card,
    .home .news .region-news__list .card {
        flex-direction: row !important;
    }

    .home .news .republic-news .card__image,
    .home .news .region-news .card__image {
        width: 120px;
        height: 85px;
    }
}

@media (max-width: 575px) {
    .home .news .district-news .card__image {
        width: 120px;
        height: 85px;
        ;
    }

    .home .news .district-news .card__title,
    .home .news .republic-news .card__title,
    .home .news .region-news .card__title {
        -webkit-line-clamp: 4;
        line-clamp: 4;
    }
}

/* Card */
.home .card {
    position: relative;
    border-radius: 0.5rem;
    border: none !important;
    box-shadow: 0px 1px 3px rgba(34, 34, 34, 0.25);
    padding: 0;
    background: none;
}

.home .card-height__md {
    height: 400px;
}

@media (max-width: 575px) {
    .home .card-height__md {
        height: 290px;
    }
}

.home .card-height__sm {
    height: calc(255.5px - var(--bs-gutter-y));
}

.home .card .card__image {
    margin: 0;
    border-radius: 0.5rem;
    width: 100%;
    height: 100%;
    max-width: 100%;
}

.home .card .card__image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

.home .card .card__body {
    position: absolute;
    width: calc(100% - 2rem);
    z-index: 10;
    inset: auto 1rem 1rem 1rem;
}

.home .card .card__title {
    word-wrap: break-word;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    -webkit-box-orient: vertical;
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
}

.home .news .card__body>a:hover .card__title {
    color: #fff;
}

.home .card .card__title:hover {
    text-decoration: underline;
}

.home .card-height__lg .card__title>* {
    font-size: 1.75rem;
}

.home .card-height__sm .card__title>* {
    font-size: 1.05rem;
}

.home .card .card__info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home .card .card__date {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    background: none;
}

.home .card__shadow {
    position: absolute;
    border-radius: 0.5rem;
    inset: 0 0 0 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.25) 45%, transparent 100%);
    z-index: 9;
}

@media screen and (max-width: 575px) {

    .home .card-height__lg,
    .home .card-height__sm {
        height: 300px;
    }

    .home .card-height__lg .card__title>*,
    .home .card-height__sm .card__title>* {
        font-size: 1.1rem;
    }
}

/* Information resources */
.home .information-resources {
    background: var(--blue);
    padding: 3rem;
}

.home .information-resources__caption {
    color: #fafafa;
}

.information-resources__caption {
    color: #405674;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 140%;
    text-transform: uppercase;
}

.information-resources__slider .slick-track {
    padding: 1rem 0rem;
}

.information-resources__slider .slick-slide {
    padding: 0rem 0.5rem;
}

.information-resources__slider .slick-slide a {
    font-weight: 500;
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: left;
    flex-direction: column;
    box-shadow: 0px 1px 3px 0px rgba(34, 34, 34, 0.25);
    background: var(--light_blue_2);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    height: 140px;
    text-decoration: none;
}

.information-resources__slider .slick-slide:hover a {
    background: var(--main_blue);
}

.information-resources__slider .slick-slide a .domen_name {
    color: var(--main_blue);
    text-decoration: underline;
}

.information-resources__slider .slick-slide a span {
    word-wrap: break-word;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--dark_grey);
    text-align: center;
}

.information-resources__slider .slick-slide:hover a span {
    color: var(--gray);
}

.information-resources__slider .slick-arrow {
    position: absolute;
    cursor: pointer;
    content: none;
    z-index: 99;
    box-shadow: rgb(0 0 0 / 15%) 0px 0px 3px;
    transition: ease 200ms;
    background: var(--light_blue);
    border: 1px solid var(--blue);
    border-radius: 100%;
    width: 2rem;
    height: 2rem;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.information-resources__slider .slick-arrow:hover {
    background: var(--main_blue);
    border: 1px solid var(--main_blue);
}

.information-resources__slider .slick-arrow.slick-prev {
    left: -2rem;
    right: auto;
}

.information-resources__slider .slick-arrow.slick-next {
    right: -2rem;
    left: auto;
}

.information-resources__slider .slick-arrow .svg-icon {
    width: 100%;
    height: 100%;
    fill: var(--blue);
    transition: ease 200ms;
}

.information-resources__slider .slick-arrow:hover .svg-icon {
    fill: var(--gray);
}

@media screen and (max-width: 1400px) {
    .information-resources__slider .slick-arrow {
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
        background: rgba(0, 0, 0, 0.4) !important;
        border: none;
        width: 3rem;
        height: 3rem;
        padding: 0.75rem;
        display: flex !important;
        justify-content: center;
        align-items: center;
    }

    .information-resources__slider .slick-arrow .svg-icon {
        fill: #fff;
    }

    .information-resources__slider .slick-arrow.slick-prev {
        left: 0.25rem;
    }

    .information-resources__slider .slick-arrow.slick-next {
        right: 0.25rem;
    }
}

/* Banners */
.banners {
    padding: 3rem 0rem;
    background: var(--gray);
}

.banners__slider .slick-arrow {
    position: absolute;
    cursor: pointer;
    content: none;
    z-index: 99;
    box-shadow: rgb(0 0 0 / 15%) 0px 0px 3px;
    transition: ease 200ms;
    background: transparent;
    border: 1px solid #2E4156;
    border-radius: 100%;
    width: 2rem;
    height: 2rem;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.banners__slider .slick-track {
    padding: 1rem 0rem;
    height: fit-content;
}

.banners__slider .slick-slide {
    padding: 0rem 0.5rem;
}

.banners__slider .slick-arrow:hover {
    background: var(--main_blue);
    border: 1px solid var(--main_blue);
}

.banners__slider .slick-arrow.slick-prev {
    left: -2rem;
    right: auto;
}

.banners__slider .slick-arrow.slick-next {
    right: -2rem;
    left: auto;
}

.banners__slider .slick-arrow .svg-icon {
    width: 100%;
    height: 100%;
    fill: #2E4156;
    transition: ease 200ms;
}

.banners__slider .slick-arrow:hover .svg-icon {
    fill: var(--gray);
}

@media screen and (max-width: 1400px) {
    .banners__slider .slick-arrow {
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
        background: rgba(0, 0, 0, 0.4) !important;
        border: none;
        width: 3rem;
        height: 3rem;
        padding: 0.75rem;
        display: flex !important;
        justify-content: center;
        align-items: center;
    }

    .banners__slider .slick-arrow .svg-icon {
        fill: #fff;
    }

    .banners__slider .slick-arrow.slick-prev {
        left: 0.25rem;
    }

    .banners__slider .slick-arrow.slick-next {
        right: 0.25rem;
    }
}

.banners__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.banners__list>li {
    width: 275px;
    height: 120px;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0px 1px 3px 0px rgba(34, 34, 34, 0.25);
}

.banners__list>li a,
.banners__list>li div {
    display: block;
    height: 100%;
    align-content: center;
    border-radius: 0.75rem;
    text-decoration: none;
    padding: 0.5rem;
    background: var(--light_blue_2);
}

.banners__list>li a span {
    font-weight: 500;
    color: #041725;
    font-size: 1.125rem;
}

.banners__list>li img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
}

@media (max-width: 991px) {
    .banners__list>li {
        width: 200px;
        height: 100px;
    }
}

@media (max-width: 767px) {
    .banners__list>li {
        width: 160px;
        height: 90px;
    }
}

@media (max-width: 449px) {
    .banners__list>li {
        width: 175px;
        height: 90px;
    }
}

@media (max-width: 399px) {
    .banners__list>li {
        width: 135px;
        height: 70px;
    }
}

/* Post and Page */
.post__short-info,
.page__short-info {
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 140%;
    color: rgba(34, 34, 34, 0.75);
}

.post__title,
.page__title {
    font-weight: 600;
    font-size: 1.75rem;
    line-height: 140%;
    color: #222;
}

@media screen and (max-width: 575px) {

    .post__title,
    .page__title {
        font-size: 1.25rem;
    }
}

.post__main-media,
.post__main-media img,
.page__main-media,
.page__main-media img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
}

.post__content,
.page__content {
    margin-top: 1rem;
    color: var(--dark_grey);
    font-size: 1rem;
    line-height: 1.5;
}

.post__content .is-layout-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.post__content .is-layout-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.post__content p img,
/* .post__content figure, */
.post__content figure img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
}

.post__content>p:first-child,
.page__content>p:first-child {
    font-weight: 600;
}

.post__content a,
.page__content a {
    background-color: transparent;
    color: var(--main_blue);
    padding: 0.1rem 0.25rem;
    border-radius: 0.25rem;
}

.post__content a:hover,
.page__content a:hover {
    background-color: var(--main_blue);
    color: var(--gray);
}

.post__content video,
.page__content video {
    width: 100%;
    height: auto;
    max-height: 350px;
    border-radius: 0.75rem;
}

.share {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
}

.share__title {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    font-variant: small-caps;
    color: var(--blue);
    margin: 1rem 0;
}

.share__socials {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
}

.share__socials li a {
    display: block;
    font-weight: 400;
    font-size: 1rem;
    line-height: 140%;
    color: rgba(34, 34, 34, 0.5);
    text-decoration: none;
    width: 2.5rem;
    height: 2.5rem;
}

.share__socials li a svg {
    width: 100%;
    height: 100%;
    fill: var(--main_blue);
}

.share__socials li a:hover svg {
    fill: var(--blue);
}

.share__socials li.x a {
    padding: 0.5rem;
}

@media (max-width: 767px) {
    .share {
        flex-direction: column;
    }
}

/* Blog */
.blog__body, .search__results.posts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.blog__body .card:not(.current-info),
.search__results.posts .card {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.blog__body .card:not(.current-info):hover,
.search__results.posts .card:hover {
    background: transparent;
}

.blog__body .card:not(.current-info) .card__image,
.search__results.posts .card .card__image {
    width: 40%;
    max-width: 18.75rem;
    flex: 0 0 40%;
    height: 10.5rem;
    border-radius: 0.75rem;
}

.blog__body .card:not(.current-info) .card__body,
.search__results.posts .card .card__body {
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0;
}

.blog__body .card__title,
.search__results.posts .card__title {
    color: var(--blue);
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.4;
}

.blog__body .card:not(.current-info):hover .card__body>a .card__title,
.search__results.posts .card:hover .card__body>a .card__title {
    color: var(--main_blue);
}

.blog__body .card:not(.current-info) .card__body .card__date,
.blog__body .card:not(.current-info):hover .card__body .card__date,
.search__results.posts .card:not(.current-info) .card__body .card__date,
.search__results.posts .card:not(.current-info):hover .card__body .card__date {
    color: rgba(34, 34, 34, 0.55);
    font-size: 0.9rem;
}

@media (max-width: 1199px) {
    .blog__body .card:not(.current-info),
    .search__results.posts .card {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--light_blue_2);
        border-radius: 1.25rem;
        overflow: hidden;
    }

    .blog__body .card:not(.current-info):hover,
    .search__results.posts .card:hover {
        background: var(--light_blue_2);
    }

    .blog__body .card:not(.current-info) .card__image,
    .search__results.posts .card .card__image {
        width: 100%;
        max-width: 100%;
        padding: 1rem;
        flex: none;
        height: 12.5rem;
        border-radius: 0.75rem;
    }

    .blog__body .card:not(.current-info) .card__image img,
    .search__results.posts .card .card__image img {
        border-radius: 0.75rem;
    }

    .blog__body .card:not(.current-info) .card__body,
    .search__results.posts .card .card__body {
        width: 100%;
        gap: 1rem;
        padding: 1rem 1.25rem 1.25rem;
    }

    .blog__body .card:not(.current-info) .card__body .card__date,
    .blog__body .card:not(.current-info):hover .card__body .card__date,
    .search__results.posts .card:not(.current-info) .card__body .card__date,
    .search__results.posts .card:not(.current-info):hover .card__body .card__date {
        background: #fff;
        color: var(--dark_grey);
        border-radius: 0.5rem;
        padding: 0.35rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* Card */
.card {
    border: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    border-radius: 0.75rem;
    padding: 0.75rem;
    border: none;
    background-color: #f6f6f6;
    box-shadow: 0px 1px 3px rgba(6, 52, 85, 0.25);
}

.card>svg {
    width: 2rem;
    height: 2rem;
    fill: var(--blue);
    flex: 0 0 auto;
}

.card>i {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.5rem;
    color: var(--blue);
}

.card:hover>svg {
    fill: var(--gray);
}

.card:hover {
    background-color: var(--main_blue);
}

.card__body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.blog .current-info .card__body {
    padding: 0;
}

.current-info .card__body {
    padding: 1rem;
}

.card.current-info:hover .card__body>a .card__title {
    color: var(--gray);
}

.card.current-info:hover .card__body>.card__date {
    color: var(--gray);
}

.card__body>a {
    text-decoration: none;
}

.card__body .card__date {
    color: rgba(34, 34, 34, 0.85);
    width: fit-content;
    font-size: 0.85rem;
}

.card:hover .card__date {
    color: var(--gray);
}

.card__image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 0.75rem;
}

.card__image>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home .card__title {
    color: var(--dark_grey);
    font-size: 1.25rem;
    font-weight: 500;
    padding: 0rem;
}

.card:hover .card__body>a .card__title {
    color: var(--main_blue);
}

.card:hover .card__body>.card__date {
    color: var(--main_blue);
}

@media (max-width: 767px) {
    .card__image {
        width: 100%;
        height: 180px;
    }
}

@media (max-width: 575px) {
    .card {
        flex-direction: column !important;
    }

    .card__image {
        max-width: 100%;
        width: 100%;
        height: 250px;
    }

    .card__body {
        width: 100%;
    }
}

@media (max-width: 410px) {
    .card__image {
        max-width: 100%;
        width: 100%;
        height: 200px;
    }
}

/* Information resources */
.information-resources__body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.information-resources__body .card a {
    text-decoration: none;
    color: #2E4156;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.information-resources .information-resource:hover>a>.card__title {
    color: #fff;
}

.card.information-resource a>svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: var(--blue);
}

.card.information-resource:hover a>svg {
    fill: var(--gray);
}

/* Social ad */
.social-ads__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.social-ads__body .card .card__body>a .card__title {
    font-weight: 500;
}

.social-ads__body .card:hover .card__body>a .card__title,
.social-ads__body .card:hover .card__body>.card__date {
    color: var(--gray);
}

@media (max-width: 575px) {
    .social-ads__body {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}

/* Normative documents */
.normative-documents__body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.normative-documents__body .card {
    flex-direction: row;
    align-items: center;
}

/* Divisions */
.divisions__body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.divisions__body .card:hover .card__body>a .card__title {
    color: var(--gray);
}

/* AP */
.ap__body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ap__body .card {
    flex-direction: row;
    align-items: center;
}

.ap__body .card__title {
    -webkit-line-clamp: 6;
    line-clamp: 6;
}

.ap__body .card:hover .card__body>a .card__title,
.ap__body .card:hover .card__body>.card__date {
    color: var(--gray);
}

/* Auctions */
.auctions__body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auctions__body .card {
    flex-direction: row;
    align-items: center;
    border: 1px solid var(--blue);
    box-shadow: none;
}

.auctions__body .card:hover {
    border-color: var(--main_blue);
    background-color: var(--main_blue);
}

.auctions__body .card .card__body a {
    color: var(--dark_blue);
    font-weight: 600;
}

.auctions__body .card:hover .card__body>a .card__title{
    color: var(--gray);
}

.auction .auction__date {
    font-size: 1rem;
    font-weight: 500;
    padding: 1rem 0 0 0;
    color: var(--blue);
}

.auction .auction__date span {
    color: #000;
}

.auction__short-info {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    flex-wrap: wrap;
}

.auction__date {
    color: #000;
    width: fit-content;
}

.auction__date span {
    color: var(--dark_blue);
}

.auctions__body .card:hover .auction__date span {
    color: var(--gray);
}

.auction .card__title {
    -webkit-line-clamp: 6;
    line-clamp: 6;
}

.auction .post__short-info {
    padding: 0 0 1rem 0;
    border-bottom: 1px solid var(--main_blue);
}

.card:hover .auction__date {
    color: #fafafa;
}

/* Search */
.search__results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}

.search__results .card {
    flex-direction: row;
    align-items: center;
}

.search__results .card:hover .card__body>a .card__title,
.search__results .card:hover .card__body>.card__date {
    color: var(--gray);
}

.search-types__caption {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.search-form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem
}

.search-form__input {
    width: 100%;
    position: relative;
}

.search-form__input input {
    width: 100%;
    background: transparent;
    outline: none;
    border: 1px solid var(--dark_grey);
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.search-form__input button {
    position: absolute;
    background: transparent;
    outline: none;
    border: none;
    width: 2rem;
    height: 2rem;
    right: 0.5rem;
    top: 0.25rem;
}

.search-form__input button .svg-icon {
    width: 100%;
    height: 100%;
}

.search-types__caption {
    width: 100%;
}

.search-form__search-types {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 767px) {
    .search-form__search-types {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 575px) {
    .search__results.posts {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .search__results .card {
        flex-direction: column;
    }
}

/* Errors */
/* 404 */
.error__body {
    display: flex;
    padding: 2rem 0rem;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.error__body p {
    color: var(--linear-dark-blue, var(--dark_grey));
    text-align: center;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.error__title {
    font-size: 6rem;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    color: var(--blue);
}

.error__subtitle {
    font-size: 2.25rem;
    font-style: normal;
    font-weight: 600;
    color: var(--blue);
}

.error__btn {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    color: var(--gray);
    font-size: 1rem;
    font-weight: 400;
    line-height: 140%;
    background: var(--main_blue);
    box-shadow: 0px 1px 3px rgb(34 34 34 / 25%);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
}

.error__btn:hover {
    background: var(--main_blue);
    color: var(--gray);
}

.error__btn .svg-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.error__btn:hover .svg-icon svg {
    fill: var(--gray)
}

.error__btn .svg-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--gray);
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 575px) {
    .error__title {
        font-size: 4rem;
    }

    .error__subtitle {
        font-size: 1.75rem;
    }
}

/* Sidebars */
#sidebar-post,
#sidebar-page {
    height: 100%;
    position: relative;
}

#sidebar-post .menu,
#sidebar-page .menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: sticky;
    top: 12rem;
    bottom: 0;
}

/* Post, blog and news category sidebar */
.categories-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--light_blue_2);
    border-radius: 0.75rem;
    padding: 1rem;
}

.categories-menu>ul.hidden {
    height: 0;
    padding: 0;
}

.categories-menu__caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    line-height: 140%;
    padding: 0rem 0rem 1rem;
    cursor: pointer;
}

.categories-menu.pb-0 .categories-menu__caption {
    border: none
}

.categories-menu__caption a,
.categories-menu__caption span {
    color: var(--blue);
    text-decoration: none;
    font-size: 1.25rem;
}

.categories-menu__caption .svg-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotateX(140deg);
    cursor: pointer;
}

.categories-menu__caption .svg-icon.active {
    transform: rotateX(40deg);
}

.categories-menu__caption .svg-icon svg {
    width: 100%;
    height: 100%;
    stroke: #2E4156;
}

.categories-menu>ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    list-style-type: none;
    margin: 0;
    padding: 0;
    padding-top: 0.5rem;
    text-align: center;
    overflow-y: scroll;
    height: auto;
    max-height: 500px;
    border-top: none;
}

.categories-menu>ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.categories-menu>ul li.has-children {
    position: relative;
}

.categories-menu>ul li>a:hover~.dropdown-toggle,
.categories-menu>ul li.current>a~.dropdown-toggle {
    color: var(--gray);
}

.categories-menu>ul li.has-children>.dropdown-toggle {
    position: absolute;
    right: 0;
    top: 6px;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    z-index: 9;
}

.categories-menu>ul li.has-children>.dropdown-toggle.active {
    transform: rotate(180deg);
}

.categories-menu>ul li.has-children>.children {
    display: none;
}

.categories-menu>ul li,
.categories-menu>ul li>a {
    width: 100%;
    position: relative;
}

.categories-menu>ul li>a {
    background: var(--gray);
    display: block;
    padding: 0.75rem;
    text-decoration: none;
    color: var(--dark_blue);
    text-align: left;
    border-radius: 0.625rem;
}

.categories-menu>ul li>a:hover,
.categories-menu>ul li.current>a {
    background-color: var(--main_blue);
    color: var(--gray);
    padding: 0.75rem;
}

.categories-menu>ul .children {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    list-style-type: none;
    padding-left: 1.5rem;
    width: 100%;
}

/* Footer */
footer {
    background: #041725;
    padding: 2rem 0;
}

.footer__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

footer .organization-name {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-bottom: 2rem;
    color: var(--gray)
}

footer .organization-name .gerb-rb,
footer .organization-name .gerb-organization {
    width: 6rem;
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .organization-name .gerb-rb>img,
footer .organization-name .gerb-organization>img {
    height: 100%;
}

footer .organization-name span {
    font-size: 1.25rem;
    line-height: 2;
    font-weight: 500;
    text-transform: uppercase;
}

.footer__title {
    display: block;
    width: 100%;
    color: var(--gray);
    font-weight: 700;
    font-size: 18px;
    text-align: center;
}

@media screen and (max-width: 1199px) {
    footer .organization-name {
        gap: 1rem
    }

    footer .organization-name span {
        font-size: 1rem;
    }
}

@media screen and (max-width: 991px) {
    .footer__body {
        gap: 1rem;
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 767px) {
    .footer__body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    footer .organization-name {
        flex-wrap: wrap;
        justify-content: center;
    }

    footer .organization-name span {
        width: 100%;
        text-align: center;
    }
}

/* Footer contacts */
.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
}

.contacs__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--gray);
}

.contacs__item svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: var(--main_blue);
}

.contacs__item span {
    color: var(--light_blue_2);
}

.contacs__item a {
    color: var(--light_blue_2);
}

.contacs__item span b {
    color: var(--gray);
}

.contacs__item a:hover {
    color: var(--main_blue);
}

.socials {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem;
}

.social {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.25rem 0rem;
}

.footer__contacts>.socials svg {
    width: 100%;
    height: 100%;
    fill: var(--light_gray);
    border-radius: 50%;
    border: 1px solid var(--light_blue);
}

.footer__contacts>.socials>*:hover svg {
    background-color: var(--light_blue);
}

.social:hover svg {
    fill: var(--dark_blue);
}

.social svg {
    fill: var(--gray);
    width: 100%;
    height: 100%;
}

/* Footer QRs rate */
.footer__qrs-rate {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    color: var(--gray);
}

.footer__qrs-rate a {
    color: var(--gray)
}

.footer__qrs-rate a:hover {
    color: var(--blue)
}

.footer__qrs-rate img {
    width: 10vw;
}

@media screen and (max-width: 767px) {
    .footer__qrs-rate img {
        width: 20vw;
    }
}

@media screen and (max-width: 575px) {
    .footer__qrs-rate img {
        width: 40vw;
    }

    .footer__qrs-rate>div {
        justify-content: center !important;
    }
}

@media screen and (max-width: 420px) {
    .footer__qrs-rate img {
        width: 100%;
        padding: 2rem;
    }
}

/* Footer developer */
.footer__developer {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: var(--gray);
}

.footer__developer a {
    color: var(--light_blue_2);
}

.footer__developer a:hover {
    color: var(--main_blue);
}

/* Footer copyright */
.footer__copyright {
    color: var(--gray);
    text-align: center;
    padding: 1.5rem 0rem 0.25rem;
    margin-top: 2rem;
    width: 100%;
}

/* # Components */
/* Search canvas */
#mainSearch {
    height: fit-content;
    background-color: var(--gray);
}

#mainSearch .offcanvas-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: end;
}

/* Mobile menu */
#mainMenu .offcanvas-header {
    position: relative;
    display: grid;
    grid-template-areas: "gerb-rb gerb-organization sitename";
    background-color: var(--blue);
    gap: 0.5rem;
    padding-right: 2.25rem;
}

#mainMenu .gerb-rb {
    grid-area: gerb-rb;
}

#mainMenu .gerb-organization {
    grid-area: gerb-organization;
}

#mainMenu .organization-name {
    grid-area: sitename;
    color: #fff;
}

#mainMenu .gerb-rb,
#mainMenu .gerb-organization {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
}

#mainMenu .gerb-rb svg,
#mainMenu .gerb-organization svg {
    width: 100%;
    height: 100%;
}

#mainMenu .close {
    position: absolute;
    inset: 0.5rem 0.5rem 0 auto;
    background: transparent;
    border: none;
    width: 2rem;
    height: 2rem;
}

#mainMenu .close svg {
    width: 100%;
    height: 100%;
    fill: #fff;
}

.offcanvas {
    background-color: var(--blue);
}

.offcanvas-menu>ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.offcanvas-menu>ul li {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
}

.offcanvas-menu>ul li>a {
    color: var(--dark_grey);
    background-color: var(--gray);
    text-decoration: none;
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 2.5rem;
    border-radius: 0.5rem;
    padding: 0.75rem;
}

.offcanvas-menu>ul li:hover>a {
    color: var(--gray);
    background-color: var(--main_blue);
}

.offcanvas-menu>ul li>.dropdown-toggle,
.offcanvas-menu>ul li>.mobile-menu-toggle {
    background: transparent;
    outline: none;
    border: none;
    padding: 0;
    margin: 0;
    color: var(--dark_grey);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    min-width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    position: absolute;
    right: 0;
    top: 0.5rem;
    bottom: 0;
    z-index: 1;
}

/* Общие стили для всех кнопок в меню */
.offcanvas-menu .dropdown-toggle,
.offcanvas-menu .mobile-menu-toggle {
    background: transparent;
    outline: none;
    border: none;
    padding: 0;
    margin: 0;
    color: var(--dark_grey);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    min-width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}

.offcanvas-menu .dropdown-toggle::after,
.offcanvas-menu .mobile-menu-toggle::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--dark_grey);
    display: block;
    transition: transform 0.3s ease;
}

.offcanvas-menu .dropdown-toggle.show::after,
.offcanvas-menu .mobile-menu-toggle.show::after {
    transform: rotate(180deg);
}

/* Убираем Bootstrap стрелку */
.offcanvas-menu .dropdown-toggle::before,
.offcanvas-menu .mobile-menu-toggle::before {
    display: none !important;
}

/* Показываем кнопки во вложенных меню - применяем общие стили */
.offcanvas-menu .dropdown-menu .mobile-menu-toggle,
.offcanvas-menu .dropdown-menu .dropdown-toggle {
    display: flex !important;
}

/* Стили для вложенных пунктов меню */
.offcanvas-menu>ul .dropdown-menu li {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
}

.offcanvas-menu>ul .dropdown-menu li a {
    color: var(--dark_grey);
    text-decoration: none;
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 2.5rem;
    padding-right: 3rem;
}

.offcanvas-menu>ul .dropdown-menu li>.dropdown-toggle,
.offcanvas-menu>ul .dropdown-menu li>.mobile-menu-toggle {
    position: absolute;
    right: 0;
    top: 0.5rem;
    bottom: 0;
    z-index: 1;
}

.offcanvas-menu>ul .dropdown-menu {
    position: relative !important;
    transform: none !important;
    padding: 0.75rem 0.75rem 0.75rem 1.5rem !important;
    margin-left: 0 !important;
    margin-top: 0.5rem !important;
    display: none;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    border: none;
}

.offcanvas-menu>ul .dropdown-menu.show {
    display: flex;
}

.offcanvas-menu>ul .dropdown-menu .dropdown-menu {
    display: none;
    width: 100%;
    border: none;
    flex-direction: column;
    gap: 1rem;
    padding: 0.75rem 0.75rem 0.75rem 1.5rem !important;
    margin-left: 0 !important;
    margin-top: 0.5rem !important;
}

.offcanvas-menu>ul .dropdown-menu .dropdown-menu.show {
    display: flex;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 1rem;
    padding: 0;
}

.breadcrumbs a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumbs a:hover {
    color: var(--main_blue);
}

.breadcrumbs span:last-child {
    color: #2E4156;
}

/* Gerb organization */
.gerb-organization-1 {
    fill: none;
    stroke: #fff;
    stroke-miterlimit: 10;
}

.gerb-organization-2 {
    fill: #fff;
    stroke-width: 0px;
}

/* Gerb Belarus */
.gerb-rb-1 {
    fill: #fff;
}

.gerb-rb-2 {
    fill: none;
    stroke: #fff;
    stroke-miterlimit: 10;
    stroke-width: .5px;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.pagination>* {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    background: var(--gray);
    color: var(--dark_blue);
    padding: 0.5rem 1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    border: 1px solid var(--main_blue);
}

.pagination>*.current,
.pagination>a:hover {
    background: var(--main_blue);
    color: #fff;
}

@media screen and (max-width: 450px) {
    .pagination {
        display: grid;
        grid-template-areas: 'a a a';
        grid-template-columns: 1fr 1fr 1fr;
    }

    .pagination>* {
        padding: 0.5rem;
    }
}

/* # Animations */
/* Fade in down */
@-webkit-keyframes fadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

/* # Wordpress */
.wp-block-image .alignleft {
    width: fit-content;
}

.wp-block-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.wp-block-table>table.has-fixed-layout {
    table-layout: inherit;
    width: fit-content;
}

.post__content .is-layout-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.post__content iframe {
    max-width: 100%;
}

.wp-block-embed.is-type-video.alignright,
.wp-block-embed.is-type-video.alignleft{
    max-width: 100%;
}

.wp-block-embed.is-type-video .wp-block-embed__wrapper{
    display: flex;
}

.wp-block-embed.is-type-video.aligncenter .wp-block-embed__wrapper{
    justify-content: center;
}

.wp-block-embed.is-type-video.alignright .wp-block-embed__wrapper{
    justify-content: end;
}