/*
Theme Name: Mgazeta
Theme URI: 
Author: mlyn.by
Author URI: https://mlyn.by
Description: -
Requires at least: 6.8
Tested up to: 6.9
Requires PHP: 8.2
Version: 1.0.0
License: MIT
*/

@font-face {
    font-family: 'HelveticaNeue';
    src: url('HelveticaNeue-Bold.eot');
    src: local('HelveticaNeue-Bold'),
        url('fonts/HelveticaNeue-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/HelveticaNeue-Bold.woff2') format('woff2'),
        url('fonts/HelveticaNeue-Bold.woff') format('woff'),
        url('fonts/HelveticaNeue-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'HelveticaNeue';
    src: url('HelveticaNeue-Light.eot');
    src: local('HelveticaNeue-Light'),
        url('fonts/HelveticaNeue-Light.eot?#iefix') format('embedded-opentype'),
        url('fonts/HelveticaNeue-Light.woff2') format('woff2'),
        url('fonts/HelveticaNeue-Light.woff') format('woff'),
        url('fonts/HelveticaNeue-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'HelveticaNeue';
    src: url('HelveticaNeue-Medium.eot');
    src: local('HelveticaNeue-Medium'),
        url('fonts/HelveticaNeue-Medium.eot?#iefix') format('embedded-opentype'),
        url('fonts/HelveticaNeue-Medium.woff2') format('woff2'),
        url('fonts/HelveticaNeue-Medium.woff') format('woff'),
        url('fonts/HelveticaNeue-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'HelveticaNeue';
    src: url('HelveticaNeue-Roman.eot');
    src: local('HelveticaNeue-Roman'),
        url('fonts/HelveticaNeue-Roman.eot?#iefix') format('embedded-opentype'),
        url('fonts/HelveticaNeue-Roman.woff2') format('woff2'),
        url('fonts/HelveticaNeue-Roman.woff') format('woff'),
        url('fonts/HelveticaNeue-Roman.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'HelveticaNeue';
    src: url('HelveticaNeue-Thin.eot');
    src: local('HelveticaNeue-Thin'),
        url('fonts/HelveticaNeue-Thin.eot?#iefix') format('embedded-opentype'),
        url('fonts/HelveticaNeue-Thin.woff2') format('woff2'),
        url('fonts/HelveticaNeue-Thin.woff') format('woff'),
        url('fonts/HelveticaNeue-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

body {
    font-family: var(--font-family);
}

header {
    border-bottom: 0.094rem solid var(--light-blue);
    background-color: var(--white);
}

.wp-block-separator {
    border-top: 0.063rem solid var(--light-blue);
    opacity: 1;
}

.header-sticky-on {
    position: fixed;
    z-index: 1020;
    top: 0;
    left: 0;
    right: 0;
    -webkit-animation: fadeInDown .5s;
    animation: fadeInDown .5s;
}

.header__trending {
    align-items: center;
    gap: 1.5rem;
    background: var(--black-color);
    color: var(--white);
    padding: 0.75rem 3rem;
    font-size: 0.8rem;
}

.header__trending>b {
    text-transform: uppercase;
}

.header__trending>a {
    text-transform: uppercase;
    text-decoration: none;
}

.header__top {
    display: grid;
    grid-template-areas: ". . logo . socials";
    /* grid-template-columns: 1fr 1fr 1fr; */
}

.header__logo {
    display: flex;
    grid-area: logo;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.header__logo>svg {
    fill: var(--main-color);
    width: 100%;
}

.header-sticky-on .header__trending,
.header-sticky-on .header__top {
    display: none !important;
}

.header__top>.socials {
    justify-self: end;
    margin-right: 50px;
    gap: 0.625rem;
    padding-bottom: 20px;
    padding-top: 20px;
}

.socials {
    display: grid;
    grid-area: socials;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.socials>li {
    display: flex;
    justify-content: center;
    align-items: center;
}

.socials>li>a {
    border: 0.063rem solid var(--light-blue);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem;
}

.socials>li>a:hover {
    background: var(--main-color);
    border-color: var(--main-color);
}

.socials>li>a>svg {
    fill: var(--main-color);
    width: 2rem;
    height: 2rem;
}

.socials>li>a:hover>svg {
    fill: var(--white);
}

.socials>li>a.tiktok {
    padding: 0.75rem;
}

.socials>li>a.tiktok>svg {
    width: 1rem;
    height: 1rem;
}

.main-btn {
    background: var(--main-blue);
    padding: 1rem 1.188rem;
    border-radius: 0.625rem;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 0;
    gap: 0.313rem;
}

.main-btn:hover {
    background: var(--main-color);
    ;
    color: var(--white);
    transition: 0.3s;
}

.main-btn svg {
    width: 1rem;
    height: 1rem;
}

.header__menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 0.125rem solid var(--light-blue);
    border-bottom: 0.063rem solid var(--light-blue);
}

.header__mobile {
    display: grid;
    grid-template-areas: ". . . logo . . icons";
    background: var(--white);
    padding: 1rem 0.75rem;
}

.header__mobile>* {
    display: flex;
    align-items: center;
}

.header__mobile-logo {
    justify-content: end;
    grid-area: logo;
}

.header__list-icons {
    grid-area: icons;
}

.header__mobile>*:last-child {
    justify-content: flex-end;
}

.header__mobile-logo>svg {
    fill: var(--main-color);
    max-height: 62px;
    max-width: 100%;
}

.header__mobile .icon-list,
.header__mobile .icon-search {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
}

.header__mobile .icon-search {
    padding: 0.2rem;
}

.header__mobile .icon-list>svg,
.header__mobile .icon-search>svg {
    width: 100%;
    height: 100%;
    fill: var(--main-color);
}

@media screen and (max-width: 576px) {
    .header__mobile {
        padding: 0.625rem 0.5rem;
    }
}

.main__menu>ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.main__menu>ul>li {
    border-top: 0.125rem solid transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0rem;
}

.main__menu>ul>li:hover {
    border-top: 0.125rem solid var(--secondary-blue);
}

.main__menu>ul>li>a {
    color: var(--main-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.125rem;
}

.main__menu>ul>li>a:hover {
    color: var(--main-color);
    transition: 0.3s;
}

.main__menu>ul>li>.dropdown-toggle {
    background: transparent;
    outline: none;
    border: none;
    padding: 0;
    margin: 0;
    color: var(--main-color);
}

.main__menu>ul>li>.dropdown-toggle::after {
    border: none;
    height: 0.375rem;
    vertical-align: unset;
    content: url('./assets/images/nav_arrow.svg');
}

.main__menu>ul>li .sub-menu.dropdown-menu {
    border-radius: 0 0 1rem 0;
    border: none;
    padding: 0;
}

.main__menu>ul>li .sub-menu.dropdown-menu.show {
    display: grid !important;
}

.main__menu>ul>li .sub-menu.dropdown-menu.show:has(.menu-item:nth-child(10):last-child) {
    display: grid !important;
    grid-template-rows: none;
    grid-template-columns: 1fr 1fr !important;
}

.main__menu>ul>li .sub-menu.dropdown-menu li {
    display: flex;
    padding: 0.5rem 1rem;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.main__menu>ul>li .sub-menu.dropdown-menu a {
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    text-decoration: none;
    color: #222;
    width: 100%;
    font-size: 1.125rem;
}

.main__menu>ul>li .sub-menu.dropdown-menu a:hover {
    background-color: var(--main-color);
    color: var(--white);
    transition: 0.3s;
}

.main__menu>ul>li .sub-menu.dropdown-menu .dropdown-toggle {
    background: transparent;
    outline: none;
    border: none;
    padding: 0;
    margin: 0;
    color: #222;
    transform: rotate(-90deg);
    width: 1.5rem;
    height: 1.5rem;
}

.main__menu ul li.menu-item-has-children:hover>.sub-menu.dropdown-menu {
    display: block;
    top: 0;
    left: 100%;
}

.header__list-icons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.header__list-icons>li>a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
}

.header__list-icons>li>a.icon-list {
    width: 1.75rem;
    height: 1.75rem;
}

.header__list-icons>li>a>svg {
    width: 100%;
    height: 100%;
    fill: var(--main-color);
}

.header__list-icons>li>a:hover>svg {
    fill: var(--main-color);
}

.signboard {
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    background-color: rgb(245, 244, 244);
    padding: 1rem 0;
}

.signboard__image img {
    width: 100%;
}

.breadcrumbs {
    margin: 1.25rem 0;
    font-size: 1rem;
    font-weight: 500;
}

.breadcrumbs>span>span {
    margin: 0rem 0.25rem;
}

.breadcrumbs>span>span:first-child {
    margin-left: 0;
}

.breadcrumbs>span>span:last-child {
    margin-right: 0;
}

.breadcrumbs a {
    text-decoration: none;
    font-weight: 500;
    color: var(--main-color);
}

.breadcrumbs a:hover {
    text-decoration: none;
    color: #2576B8;
}

.content-none__body {
    position: sticky;
    top: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 1199px) {
    .content-none__body {
        position: relative;
        top: 0;
    }

    .main__menu>ul>li .sub-menu.dropdown-menu a,
    .main__menu>ul>li>a {
        font-size: 1rem;
    }

    .main__menu>ul {
        gap: 2.5rem;
    }


}

.error-404 {
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.error_message {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--main-color);
}

.error__404_img {
    background-image: url('./assets/images/404.svg');
    max-height: 19.375rem;
    height: 19.375rem;
    margin: 1.25rem 0;
    width: 54.628rem;
    gap: 1rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media screen and (max-width: 992px) {
    .error__404_img {
        height: 15.625rem;
        width: 44.054rem;
    }

    .error_message {
        font-size: 1.25rem;
    }
}

@media screen and (max-width: 768px) {
    .error__404_img {
        height: 10rem;
        width: 28.195rem;
    }

    .error-404 {
        min-height: 400px;
    }
}

@media screen and (max-width: 576px) {
    .error__404_img {
        height: 6.883rem;
        width: 19.407rem;
    }
}

.error-404>* {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.25px 0;
}

.post__body {
    display: flex;
    flex-direction: column;
    gap: 0.625rem
}

.post__title {
    font-weight: 600;
    font-size: 1.625rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
    padding: 0.625rem 0;
    border-bottom: 0.094rem solid var(--light-blue);
    margin-bottom: 0;
}

.post__short-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #565656
}

.post__date {
    white-space: nowrap;
}

.post__socials {
    flex-direction: row;
    font-size: 1.125rem;
    gap: 1rem;
    padding-bottom: 1.5rem;
}

.post__socials .socials {
    grid-template-columns: repeat(8, 1fr);
}

.post__socials .socials>li>a {
    border: none;
}

.post__socials .socials>li>a:hover {
    background-color: transparent;
}

.post__socials .socials>li>a>svg {
    fill: var(--secondary-blue);
}

.post__socials .socials>li>a:hover>svg {
    fill: var(--main-color);
}

@media screen and (max-width: 576px) {
    .post__socials {
        padding: 1rem 0 2.25rem 0;
        flex-direction: column;
    }

    .post__socials .socials {
        grid-template-columns: repeat(4, 1fr);
    }
}

.post__authors {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.post__authors .author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author__image img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: cover;
    border-radius: 100%;
}

.author__name {
    color: var(--black-color);
    font-size: 1rem;
    font-weight: 500;
}

.post__authors a {
    text-decoration: none;
    color: #222;
}

.post__authors:hover a {
    color: var(--main-color);
    transition: 0.3s;
}

.post__main-category {
    color: var(--main-color);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
}

.post__main-category:hover {
    color: var(--main-color);
    opacity: 0.85;
}

.post__main-image img {
    border-radius: 0.75rem;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.post__content {
    letter-spacing: 0.09rem;
    font-size: 1rem;
    font-weight: 400;
}

.post__content a {
    font-weight: 600;
    text-decoration: none;
    color: var(--main-color);
}

.post__content a:hover {
    text-decoration: none;
    color: var(--black-color)
}

.post__content img {
    width: 100%;
    border-radius: 0.75rem;
    object-fit: cover;
    width: 100%;
}

@media screen and (min-width: 1199px) {
    .post__body {
        padding-right: 1.5rem !important;
    }
}

.wp-block-quote {
    padding: 1rem;
    margin: 2.5rem 0rem;
}

blockquote {
    position: relative;
    margin: 0;
    padding: 0;
    font: inherit;
    font-weight: inherit;
    line-height: inherit;
}

blockquote.wp-block-quote:before {
    content: "“";
    position: absolute;
    top: 1rem;
    margin-left: -0.32em;
    color: var(--main-color);
    opacity: 0.5;
    transform: translateX(-100%) translateY(68%) rotate(1deg);
    font-size: 4.5em;
    line-height: 0.41;
    font-family: Georgia, Arial, sans-serif;
    font-style: normal;
    font-weight: 600;
}

blockquote.wp-block-quote p {
    font-size: 1.5rem;
    font-weight: 600;
}

blockquote.wp-block-quote cite {
    color: #8a8a8a
}

blockquote.wp-block-quote cite:before {
    content: "—";
    margin-right: 5px;
    opacity: 0.6;
}

@media screen and (max-width: 992px) {
    .wp-block-quote {
        padding-left: 2rem;
    }
}

@media screen and (max-width: 575px) {
    .wp-block-quote {
        padding-left: 3.25rem;
    }
}

@media screen and (max-width: 420px) {
    .wp-block-quote {
        padding-left: 4rem;
    }

    blockquote.wp-block-quote p {
        font-size: 1.25rem;
        font-weight: 500;
    }
}

.post__media_author {
    list-style-type: none;
    gap: 0.625rem;
    padding: 0.5rem 0;
    margin: 0;
}

.post__media_author>li {
    font-size: 1.125rem;
}

.post__tags>ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-weight: 500;
}

.post__tags a {
    color: var(--secondary-blue);
    text-decoration: none;
    font-size: 1.25rem;
}

.post__tags a:hover {
    color: var(--black-color);
}

a.post__section-title {
    text-decoration: none;
    display: block;
}

.latest__posts a.post__section-title,
h1.post__section-title,
h5.post__section-title {
    background-color: var(--main-color);
    border-radius: 1rem;
    color: var(--light-blue);
    padding: 1rem 1rem;
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.post__card {
    padding: 1rem 0rem;
    text-decoration: none;
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 0.625rem;
}

.post__card:last-child {
    border-bottom: none;
}

.post__card-number {
    display: flex;
    align-items: center;
    font-size: 1.7rem;
    font-weight: 700;
    opacity: 0.2;
    letter-spacing: 1.2rem;
}

.post__card-title {
    text-decoration: none;
}

.post__card-title>* {
    display: flex;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--black-color);
    align-items: center;
    line-height: 1.25;
    word-wrap: break-word;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

.post__card-date {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--main-color);
}

.post__card-image img {
    border-radius: 1rem;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.post__card-link {
    position: absolute;
    inset: 0 0 0 0;
    z-index: 5;
}

.post__card-link:hover~.post__card-body .post__card-image,
.post__card-link:hover~.post__card-image {
    opacity: 0.9;
}

.post__card-link:hover~.post__card-body .post__card-title>*,
.post__card-link:hover~.post__card-title>* {
    color: var(--main-color);
}

.post__card-short-info {
    padding-top: 0.5rem;
    color: var(--black-color);
    font-size: 0.9rem;
    font-weight: 350;
}

.post__card-description {
    color: #565656;
    font-size: 0.9rem;
    line-height: 1.75;
}

.category__content .post__card,
.post__recomended .post__card,
.top_news .post__card,
.search__content .post__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    border-radius: 1rem;
}

.category__content .post__card .post__card-image img,
.post__recomended .post__card .post__card-image img,
.search__content .post__card .post__card-image img {
    height: 17.188rem;
    width: 100%;
}

.category__content .post__card .post__card-body,
.post__recomended .post__card .post__card-body,
.top_news .post__card .post__card-body,
.search__content .post__card .post__card-body {
    border-radius: 1rem;
    position: absolute;
    inset: 0 0 0 0;
    z-index: 4;
    padding: 1rem;
    background: linear-gradient(to bottom,
            transparent 0%,
            #34343427 34%,
            #000000 100%);
}

.category__content .post__card .post__card-title>*,
.post__recomended .post__card .post__card-title>*,
.top_news .post__card .post__card-title>*,
.search__content .post__card .post__card-title>* {
    color: var(--white);
    font-size: 1rem;
}

.category__content .post__card:hover .post__card-title>*,
.post__recomended .post__card:hover .post__card-title>*,
.top_news .post__card:hover .post__card-title>*,
.search__content .post__card:hover .post__card-title>* {
    color: var(--light-blue-2);
}

.category__content .post__card .post__card-date,
.post__recomended .post__card .post__card-date,
.top_news .post__card .post__card-date,
.search__content .post__card .post__card-date {
    color: var(--white);
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.category__content .post__card .post__card-category,
.post__recomended .post__card .post__card-category,
.top_news .post__card .post__card-category,
.search__content .post__card .post__card-category {
    color: var(--white);
    font-size: 0.875rem;
    padding: 0.25rem 0.625rem;
    background-color: var(--main-blue);
    border-radius: 0.313rem;
    text-align: center;
    width: fit-content;
}

.top_news .post__card .post__card-image img {
    height: 100%;
    width: 100%;
}

.top_news>*:nth-child(2) .post__card-body {
    position: relative;
    background: none;
}

.top_news>*:nth-child(2) .post__card-title>* {
    color: var(--black-color);
}

.top_news>*:nth-child(2) .post__card:hover .post__card-title>* {
    color: var(--main-blue);
}

.top_news>*:nth-child(2) .post__card-date {
    color: var(--main-color);
}

.top_news>*:nth-child(2) .post__card-image {
    display: flex;
    flex-grow: 1;
    max-height: 32.5rem;
}

.post__card-image {
    overflow: hidden;
    height: 100%;
}

.top_news__col {
    gap: 1.5rem;
}

.editors__pick .post__card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.editors__pick .post__card .post__card-title>* {
    font-size: 0.85rem;
}

.editors__pick .post__card-image img {
    width: 80px;
    max-height: 100px;
    height: auto;
}

@media screen and (max-width: 1400px) {

    .category__content .post__card .post__card-title>*,
    .post__recomended .post__card .post__card-title>*,
    .top_news .post__card .post__card-title>* {
        font-size: 1rem;
    }

    .category__content .post__card .post__card-category,
    .post__recomended .post__card .post__card-category,
    .top_news .post__card .post__card-category {
        font-size: 0.75rem;
    }
}

@media (min-width: 1199px) and (max-width: 1400px) {
    .post__card-title>* {
        font-size: 0.875rem;
    }
}

@media (min-width: 992px) and (max-width: 1400px) {
    .top_news .post__card .post__card-image img:not(.top_news > *:nth-child(2) .post__card-image img) {
        height: 10.5rem;
    }
}

.ad_subsections__posts .subsections {
    display: flex;
    width: 100%;
    max-width: 310px;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0.5rem;

}

.ad_subsections__posts .subsections a {
    text-decoration: none;
    color: var(--main-color);
    padding: 1rem 1rem;
    border-radius: 1rem;
    font-size: 1.125rem;
}

.ad_subsections__posts .subsections a:hover {
    color: var(--white);
    background-color: var(--main-color);
    transition: 0.3s;
}

@media screen and (max-width: 1199px) {

    .editors__pick .post__card-image img,
    .latest__posts .post__card-image img {
        width: 100%;
        max-width: 200px;
        max-height: 12.5rem;
        height: auto;
    }

    .latest__posts .post__card {
        display: flex;
        flex-direction: row;
    }

    .latest__posts .post__card-body {
        grid-template-columns: none;
        justify-content: normal !important;
        gap: 0.75rem;
    }

    .latest__posts .post__card-body .post__card-number {
        display: none;
    }

    .ad_subsections__posts .subsections {
        max-width: none;
        justify-content: center;
    }
}

@media screen and (max-width: 992px) {
    .post__card {
        padding: 0.5rem 0rem;
    }

    .row>* {
        margin-top: 0.5rem;
    }

    .row>*:first-child {
        margin-top: var(--bs-gutter-y);
    }

    .top_news>*:nth-child(2) {
        order: -1;
    }

    .top_news .post__card .post__card-image img {
        max-height: unset;
    }
}

@media screen and (max-width: 767px) {

    .editors__pick .post__card-image img,
    .latest__posts .post__card-image img {
        max-width: 200px;
    }
}

@media screen and (max-width: 575px) {
    .latest__posts .post__card-body {
        grid-template-columns: none;
        gap: 0;
    }

    .editors__pick .post__card-image img,
    .latest__posts .post__card-image img {
        width: 120px;
        max-height: 12.5rem;
        height: auto;
    }
}

.sidebar__right {
    position: sticky;
    top: 3.75rem;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.page-title {
    border-bottom: 0.125rem solid var(--black-color);
    font-weight: 600;
    font-size: 2.25rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
    padding: 1rem 0rem;
}

.schedule-btns,
.pagination {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: calc(var(--bs-gutter-x) * .5);
}

.schedule-btns>*,
.pagination>* {
    border: 1px solid var(--main-color);
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    color: var(--main-color);
}

.schedule-btns>button,
.pagination>a {
    text-decoration: none;
}

.schedule-btns>a:hover,
.pagination>a:hover {
    color: var(--white);
    background: var(--main-color);
}

.pagination>.current {
    color: var(--white);
    background: var(--main-color);
}

@media screen and (max-width: 1199px) {
    .pagination {
        justify-content: center;
        padding-bottom: 1.25rem;
        padding-left: 0;
    }
}

.bus-list .table_shadow {
    padding: 20px 0;
}

.bus-list .table_shadow .odd {
    background-color: #e8e8e8;
}

.bus-list .table_shadow td {
    height: 40px;
}

.bus-list .table_shadow a {
    font-weight: 400;
}

.bus-list .table_shadow tr td:first-child {
    color: var(--main-blue);
    padding-left: 8px;
}

.table_shadow {
    width: 100%;
    overflow-x: auto;
    /* Появляется полоса прокрутки */
    -webkit-overflow-scrolling: touch;
    /* Плавный скролл на iOS */
}

table {
    width: 100%;
    min-width: 600px;
    /* Таблица начнет скроллиться, если экран меньше 600px */
    border-collapse: collapse;
}

.bus-list .schedule-btns {
    padding-bottom: 20px;
}

@media screen and (max-width: 575px) {
    .bus-list table {
        width: -webkit-fill-available;
    }
}

.poster .post__card .post__card-body,
.event .post__card .post__card-body,
.tag .post__card .post__card-body {
    justify-content: end !important;
}

.category__content {
    position: relative;
}

.category__content>.post__card,
.search__content>.post__card {
    display: flex;
    gap: 1rem;
}

.category__content .post__card:last-child,
.search__content .post__card:last-child {
    border-bottom: none;
}

.category__content .post__card-image img,
.search__content .post__card-image img {
    width: 300px;
}

.category__content>.post__card .post__card-body,
.search__content>.post__card .post__card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem 0rem;
}

@media screen and (max-width: 575px) {

    .category__content>.post__card,
    .search__content>.post__card {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .category__content>.post__card .post__card-body,
    .search__content>.post__card .post__card-body {
        padding: 0;
    }

    .category__content .post__card-image img,
    .search__content .post__card-image img {
        max-width: 100%;
        width: 100%;
        max-height: 14.5rem;
    }
}

.search-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

form.search-form .search-form__toggle {
    display: flex !important;
    justify-content: flex-start !important;
    margin-bottom: 1rem !important;
    width: 100% !important;
}

form.search-form .search-form__toggle .search-type-toggle {
    display: flex;
    gap: 1rem;
    position: relative !important;
    list-style: none;
    margin: 0;
    padding: 0;
    width: auto;
    background: transparent;
}

form.search-form .search-form__toggle .search-type-toggle__filter--active {
    background: var(--main-color, #222) !important;
    border-color: var(--main-color, #222) !important;
    color: var(--white) !important;
    font-weight: 500 !important;
    width: fit-content;
}

form.search-form .search-form__toggle .search-type-toggle__filter {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
    margin-bottom: 0;
    cursor: pointer;
    border: 1px solid var(--main-color);
    border-radius: 0.375rem;
    background: var(--white);
    color: var(--black-color);
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.2s ease;
    user-select: none;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.5;
    width: fit-content;
}

.search-form__wrapper {
    width: 100%;
}

.search-form input {
    width: 100%;
    background: transparent;
    outline: none;
    border: none;
    border-bottom: 1px solid #222;
}

.search-form input:focus-visible {
    outline: none;
}

.search-form .icon {
    position: absolute;
    right: 0;
    bottom: 0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    fill: #070707;
    cursor: pointer;
}

.search-form button {
    position: relative;
    background: transparent;
    border: none;
}

.offcanvas-search.show .search-form {
    padding-top: 2.5rem;
}

.top-news .post__card {
    display: flex;
    flex-direction: row-reverse;
    border-bottom: 1px solid #e8e8e8;
    gap: 1rem;
}

.top-news .post__card:first-child {
    padding-top: 0;
}

.top-news .post__card:last-child {
    border: none;
}

.top-news .post__card-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.top-news .post__card:first-child .post__card-title>* {
    font-size: 2rem;
    margin-bottom: 0;
}

.top-news .post__card:first-child .post__card-date {
    margin: 0;
}

.top-news .post__card-image img {
    width: 250px;
}

.top-news .post__card:first-child .post__card-image img {
    max-height: 30rem;
    height: auto;
    width: 100%;
}

.top-news .post__card-title>* {
    margin-bottom: 0;
}

.top-news .post__card-date {
    margin: 0;
}

.top-news .post__card-image {
    display: flex;
}

.col-category .post__card {
    padding: 1rem 0rem;
    text-decoration: none;
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 0.625rem;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .two-category .col-category .post__card {
        padding-left: 0;
        padding-right: 0;
        border-bottom: 1px solid #e8e8e8;
    }

    .two-category .second_category {
        flex-direction: row !important;
    }

    .two-category .col-category .post__card:last-child {
        border-bottom: none;
    }
}

@media screen and (max-width: 1199px) {
    .col-category.position-sticky.row {
        top: 0 !important;
        position: relative !important;
        padding-left: calc(var(--bs-gutter-x) * .5);
        padding-right: calc(var(--bs-gutter-x) * .5);
    }

    .three-category .col-category .post__card .post__card-image img {
        height: auto;
    }
}

@media screen and (max-width: 992px) {
    .col-category .post__card .post__card-image img {
        height: auto;
    }
}

@media screen and (max-width: 767px) {
    .top-news .post__card {
        flex-direction: column;
    }

    .top-news .post__card-image img {
        width: 100%;
        height: auto;
    }
}

.grid-category {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.grid-category .post__card-description {
    word-wrap: break-word;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

.grid-category .post__card:first-child .post__card-description {
    word-wrap: break-word;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.grid-category .post__card-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.grid-category .post__card-body .post__card-date {
    margin-top: 0;
}

@media screen and (max-width: 1199px) {
    .grid-category {
        flex-direction: column;
    }

    .grid-category .post__card img {
        max-height: unset;
    }
}

.two-category.reverse {
    flex-direction: row-reverse;
}

.two-category .post__section-title {
    margin-bottom: 0;
}

.two-category .grid-category {
    height: 100%;
    display: grid;
    grid-template-areas:
        "first ."
        "first ."
        "first ."
        "first ."
        "first .";
    grid-column-gap: 1.25rem;
    /* grid-row-gap: 1.5rem; */
}

.two-category .grid-category .post__card:last-child {
    padding-bottom: 0;
}

.two-category .grid-category .post__card:first-child {
    height: 100%;
    grid-area: first;
    padding: 0;
    display: block;
    border-radius: 1rem;
}

.two-category .grid-category .post__card:first-child .post__card-category {
    color: var(--white);
    font-size: 0.875rem;
    padding: 0.25rem 0.625rem;
    background-color: var(--main-blue);
    border-radius: 0.313rem;
    text-align: center;
    width: fit-content;
}

.two-category .grid-category .post__card:first-child .post__card-date {
    color: var(--white);
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.two-category .grid-category .post__card:first-child .post__card-image img {
    height: 100%;
    width: 28.5rem;
}

.two-category .grid-category .post__card:first-child .post__card-body {
    border-radius: 1rem;
    position: absolute;
    inset: 0 0 0 0;
    z-index: 4;
    padding: 1rem;
    max-height: -webkit-fill-available;
    background: linear-gradient(to bottom,
            transparent 0%,
            #34343427 34%,
            #000000 100%);
}

.two-category .grid-category .post__card:first-child .post__card-title>* {
    color: var(--white);
    font-size: 1.125rem;
}

.two-category .grid-category .post__card:first-child:hover .post__card-title>* {
    color: var(--light-blue-2);
}

.two-category .grid-category .post__card-date {
    margin: 0;
}

.two-category .second_category {
    justify-content: space-between;
    gap: 1rem;
}

.two-category .second_category .post__card {
    height: 100%;
    padding: 0;
    display: block;
    border-radius: 1rem;
}

.two-category .second_category .post__card-image img {
    height: 100%;
    width: 100%;
}

.two-category .second_category .post__card .post__card-body {
    border-radius: 1rem;
    position: absolute;
    inset: 0 0 0 0;
    z-index: 4;
    padding: 1rem;
    background: linear-gradient(to bottom,
            transparent 0%,
            #34343427 34%,
            #000000 100%);
}

.two-category .second_category .post__card .post__card-title>* {
    color: var(--white);
    font-size: 1.125rem;
}

.two-category .second_category .post__card:hover .post__card-title>* {
    color: var(--light-blue-2);
}

.two-category .second_category .post__card .post__card-date {
    color: var(--white);
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.two-category .second_category .post__card .post__card-category {
    color: var(--white);
    font-size: 0.875rem;
    padding: 0.25rem 0.625rem;
    background-color: var(--main-blue);
    border-radius: 0.313rem;
    text-align: center;
    width: fit-content;
}

.two-category .col-category .post__card {
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 1rem;
}

.two-category .col-category .post__card-image img {
    width: 5rem;
    height: 5rem;
}

.two-category .col-category .post__card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 1199px) and (max-width: 1400px) {
    .two-category .grid-category .post__card:not(.post__card:first-child) .post__card-title>* {
        font-size: 0.875rem;
    }

    .two-category .grid-category:first-child .post__card .post__card-category,
    .two-category .second_category .post__card .post__card-category {
        font-size: 0.75rem;
    }
}

@media screen and (max-width: 1400px) {
    .two-category .second_category .post__card .post__card-title>* {
        font-size: 1rem;
    }

    a.post__section-title,
    h5.post__section-title {
        font-size: 1.125rem;
    }
}

@media screen and (max-width: 991px) {
    .two-category .grid-category {
        grid-template-areas:
            "first"
            ".";
        padding-bottom: 1rem;
    }

    .two-category .grid-category .post__card:first-child .post__card-image img {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .two-category .grid-category .post__card:first-child {
        flex-direction: column;
    }

    .two-category .grid-category .post__card:first-child .post__card-image img {
        width: 100%;
        height: auto;
        margin: 0;
    }
}

.informational-resources__slider .slick-slide a {
    color: #222;
    font-weight: 500;
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: center;
    background: var(--white);
    border: 0.125rem solid var(--black-color);
    padding: 1rem 1.25rem;
    height: 120px;
    overflow: hidden;
    text-decoration: none;
}

.informational-resources__slider .slick-track {
    padding: 1rem 0rem;
}

.informational-resources__slider .slick-slide {
    padding: 0rem 0.5rem;
}

.informational-resources__slider .slick-slide:hover a {
    background: var(--main-color);
    border-color: var(--main-color);
    color: var(--white);
}

.informational-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: transparent;
    border: 1px solid #222;
    border-radius: 100%;
    width: 2rem;
    height: 2rem;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.informational-resources__slider .slick-arrow.slick-prev {
    left: -2rem;
    right: auto;
}

.informational-resources__slider .slick-arrow.slick-next {
    right: -2rem;
    left: auto;
}

.informational-resources__slider .slick-arrow .svg-icon {
    width: 100%;
    height: 100%;
    fill: #222;
    transition: ease 200ms;
}

.informational-resources__slider .slick-arrow:hover {
    background: var(--main-color);
    border: 1px solid var(--main-color);
}

.informational-resources__slider .slick-arrow:hover .svg-icon {
    fill: var(--white);
}

@media screen and (max-width: 1400px) {
    .informational-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: 1rem;
        display: flex !important;
        justify-content: center;
        align-items: center;
    }

    .informational-resources__slider .slick-arrow.slick-next {
        right: -0.75rem;
    }

    .informational-resources__slider .slick-arrow.slick-prev {
        left: -0.75rem;
    }

    .informational-resources__slider .slick-arrow .svg-icon {
        fill: var(--white);
    }
}

.banners__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.banners__list>li {
    width: 230px;
    height: 150px;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.25);
}

.banners__list>li a {
    display: block;
    height: 100%;
    border-radius: 1rem;
    padding: 0.5rem;
    background: var(--white);
}

.banners__list>li img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
}

.offcanvas-menu {
    background: var(--main-color);
    color: var(--white);
}

.offcanvas-menu .btn-close.text-reset {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3E%3C/svg%3E");
    opacity: 1;
}

.offcanvas-menu .offcanvas-body {
    align-items: center;
    justify-content: space-between;
    overflow-y: scroll;
    gap: 1rem;
}

.offcanvas-menu .main__menu {
    display: flex;
    width: 100%;
}

.offcanvas-menu .main__menu>ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0rem;
    width: 100%;
}

.offcanvas-menu .main__menu>ul>li .sub-menu.dropdown-menu.show:has(.menu-item:nth-child(10):last-child) {
    display: block !important;
}

.offcanvas-menu .main__menu>ul>li,
.offcanvas-menu .main__menu>ul>li>ul>li {
    display: grid !important;
    grid-template-areas:
        "caption arrow"
        "submenu submenu";
    width: 100%;
    grid-template-columns: 9fr 1fr;
    grid-row-gap: 0;
    padding: 0.75rem 0rem;
}

.offcanvas-menu .main__menu>ul>li:hover {
    border-top: 0.125rem solid transparent;
}

.offcanvas-menu .main__menu>ul>li>a,
.offcanvas-menu .main__menu>ul>li>ul>li>a {
    font-weight: 400;
    color: var(--light-blue);
    grid-area: caption;
}

.offcanvas-menu .main__menu>ul>li>a:hover,
.offcanvas-menu .main__menu>ul>li>ul>li>a:hover {
    color: var(--white);
}

.offcanvas-menu .main__menu>ul>li>.dropdown-toggle,
.offcanvas-menu .main__menu>ul>li>ul>li>.dropdown-toggle {
    color: var(--white);
    grid-area: arrow;
}

.offcanvas-menu .main__menu>ul>li>.dropdown-toggle::after {
    content: url(./assets/images/nav_arrow_1.svg);
}

.offcanvas-menu .main__menu>ul>li.menu-item-has-children:hover>.sub-menu.dropdown-menu {
    display: none;
}

.offcanvas-menu .main__menu>ul>li .sub-menu.dropdown-menu.show,
.offcanvas-menu .main__menu>ul>li .sub-menu.dropdown-menu.show .sub-menu.dropdown-menu {
    position: static !important;
    display: block !important;
    transform: none !important;
    background: transparent;
    width: 100%;
    padding-left: 1rem;
    border: none;
}

.offcanvas-menu .main__menu>ul>li .sub-menu.dropdown-menu li {
    padding: 0.5rem 0.5rem;
    border: none;
}

.offcanvas-menu .main__menu>ul>li .sub-menu.dropdown-menu {
    grid-area: submenu;
}

.offcanvas-menu .main__menu>ul>li .sub-menu.dropdown-menu a {
    color: var(--white);
}

.offcanvas-menu .main__menu>ul>li .sub-menu.dropdown-menu a:hover {
    background-color: var(--light-blue);
    color: var(--black-color);
    transition: 0, 3s;
}

.offcanvas-menu .socials {
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.offcanvas-menu .socials>li>a {
    border: 0.063rem solid var(--main-blue);
}

.offcanvas-menu .socials>li>a>svg {
    fill: var(--light-blue);
}

.offcanvas-menu .socials>li>a:hover>svg {
    fill: var(--main-color);
}

.offcanvas-menu .socials>li>a:hover {
    background: var(--light-blue);
    border-color: var(--light-blue);
}

.offcanvas-search {
    height: 18vh !important;
    justify-content: space-around;
}

.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);
}

.offcanvas-search.show .offcanvas-header .btn-close {
    inset: 1rem 1rem auto auto;
}

.offcanvas-menu .main__menu>ul>li>.dropdown-toggle {
    color: var(--main-blue);
}

.offcanvas-search.show .search-form {
    padding-top: 1.5rem;
}

.search-form__wrapper button {
    background: transparent;
    outline: none;
    border: none;
    width: 2rem;
    height: 2rem;
    margin-left: -1.5rem;
    margin-bottom: 0.25rem;
}

footer {
    background-color: var(--main-color);
}

.footer__container {
    grid-template-columns: 1fr 1fr;
}

.footer__left {
    display: flex;
    align-items: start;
    padding-bottom: 0.5rem;
    padding-top: 2rem;
}

.footer__logo {
    fill: var(--white);
    max-height: 112px;
    max-width: 100%;
}

.secondary_logo {
    width: 112px;
}

.footer__left>.footer__contacts>ul {
    list-style-type: none;
    padding: 1rem 0rem;
    gap: 1rem;
}

.footer__left>.footer__contacts>ul>li>span>b {
    color: var(--white);
}

.footer__left>.footer__contacts>ul>li>span>a,
.footer__left>.footer__contacts>ul>li>span {
    color: var(--light-blue-2);
    font-size: 0.875rem;
    text-decoration: none;
}

.footer__left>.footer__contacts>ul>li>span>a:hover {
    color: var(--white);
}

footer .socials {
    max-width: fit-content;
}

.offcanvas-menu .socials>li>a,
footer .socials>li>a {
    border: 0.063rem solid var(--light-blue);
}

footer .socials>li>a>svg {
    fill: var(--light-blue);
    width: 2rem;
    height: 2rem;
}

footer .socials>li>a:hover>svg {
    fill: var(--main-color);
}

footer .socials>li>a:hover {
    background: var(--light-blue);
    border-color: var(--light-blue);
}

.footer__body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0rem;
}

.footer__right {
    gap: 2rem;
}

.footer__right>.footer__bottom {
    gap: 2rem;
}

.footer__right .main-menu {
    padding-top: 2.75rem;
}

.footer__right .main-menu>ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-gap: 0 1.25rem;
    grid-auto-rows: calc(25% - 1.25rem);
    grid-auto-flow: column;
}

.footer__right .main-menu>ul a {
    color: var(--light-blue);
    text-decoration: none;
    text-wrap-mode: nowrap;
    font-size: 0.875rem;
    font-weight: 500;
}

.footer__right .main-menu>ul a:hover {
    color: var(--white)
}

.footer__right .main-menu>ul>li>.dropdown-toggle {
    display: none;
}

.footer__right .main-menu>ul>li>.sub-menu.dropdown-menu {
    display: flex;
    background: transparent;
    flex-direction: column;
    gap: 0.5rem;
    height: fit-content;
    position: relative;
    margin-top: 1rem;
}

.footer__developers {
    color: var(--white);
    gap: 2rem;
    max-width: 500px;
}

.footer__developers>* {
    align-self: flex-start;
    font-size: 0.875rem;
    font-weight: bolder;

}

.footer__developers a {
    color: var(--white);
    text-decoration: none;
}

.footer__developers a.dev_url {
    color: var(--light-blue-2);
    text-decoration: none;
    font-weight: 400;
}

.footer__developers a:hover {
    text-decoration: underline;
}

.footer__copyright {
    font-size: 0.875rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0rem;
    color: var(--light-blue);
}

.copyright-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 300px;
    overflow: hidden;
}

@media screen and (max-width: 1399px) {
    .footer__right .main-menu>ul {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media screen and (max-width: 991px) {
    .footer__container {
        grid-template-columns: none;
    }

    .footer__right .main-menu {
        display: none;
    }

    footer .socials {
        align-self: center;
        grid-template-columns: repeat(6, 1fr);
    }

    .footer__body {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        padding: 2rem 0rem;
    }

    .footer__right .main-menu>ul {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 767px) {
    .footer__container {
        display: block !important;
    }

    .footer__top {
        flex-direction: column;
        padding-bottom: 2rem;
    }

    .footer__developers {
        gap: 1.5rem;
    }

    .footer__copyright {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }

    .copyright-menu ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media screen and (max-width: 410px) {
    .footer__right .main-menu>ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__logo {
        margin: auto;
    }
}

@-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);
    }
}

/* Ad blocks */
.ad-block-container {
    width: 100%;
    max-width: 100%;
}

.ad-block-wrapper {
    width: 100%;
    max-width: 100%;
    max-height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-block-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-block-picture {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-block-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 300px;
}

.ad-block-code-wrapper {
    width: 100%;
    max-width: 100%;
    min-height: 100px;
}

.ad-block-code-wrapper>div {
    width: 100%;
    min-height: 100px;
}

.ad-block-code-wrapper>iframe,
.ad-block-code-wrapper>ins {
    width: 100%;
    max-height: 300px;
}

.ad-block-code-wrapper #yandex_rtb_R-A-6872670-1 {
    display: block;
    width: 100%;
    min-height: 100px;
    max-height: 120px;
    overflow: hidden;
}

.ad-block-code-wrapper #yandex_rtb_R-A-6872670-2,
.ad-block-code-wrapper #yandex_rtb_R-A-6872670-3,
.ad-block-code-wrapper [id^="yandex_rtb_"] {
    display: block;
    width: 100%;
    min-height: 100px;
    max-height: 300px;
}

@media screen and (max-width: 767px) {
    .ad-block-code-wrapper #yandex_rtb_R-A-6872670-1 {
        max-height: 100px;
    }

    .ad-block-code-wrapper #yandex_rtb_R-A-6872670-2,
    .ad-block-code-wrapper #yandex_rtb_R-A-6872670-3,
    .ad-block-code-wrapper [id^="yandex_rtb_"] {
        max-height: 250px;
    }
}