.header-nav-wrap {
    width: 100%;
}

.navigation-menu .menu > li.menu-item-sp {
    border-left: 2px solid rgb(71 85 105/var(--tw-text-opacity));
    margin-left: 5px;
    padding-left: 5px;
    display: none;
}

@media (min-width: 1220px) {
    .navigation-menu .menu > li.menu-item-sp {
        display: flex;
    }
}

.navigation-menu .menu > li.menu-item-sp .menu-item-sp-svg {
    margin-top: -5px;
}

.projects-block-mobile,
.projects-content-block-mobile {
    display: flex;
}

.projects-block-mobile,
.projects-block-desktop,
.projects-content-block-mobile {
    color: #fff !important;
    background: #000;
    padding: 35px 20px;

    align-items: center;
    justify-content: center;
}

.projects-block-mobile:hover,
.projects-block-desktop:hover,
.projects-content-block-mobile:hover {
    color: #fff;
}

.projects-block-desktop {
    display: none;
}

@media (min-width: 1220px) {
    .projects-block-desktop {
        display: flex;
    }

    .projects-block-mobile,
    .projects-content-block-mobile {
        display: none;
    }
}

.header-banners {
    height: auto;
}

.wp-editor ul,
.entry-content ul {
    list-style-type: disc;
    list-style-position: inside;
}

.wp-editor ol,
.entry-content ol {
    list-style-type: decimal;
    list-style-position: inside;
}

.wp-editor ul ul,
.wp-editor ol ul,
.entry-content ul ul,
.entry-content ol ul {
    list-style-type: circle;
    list-style-position: inside;
    margin-left: 15px;
}

.wp-editor ol ol,
.wp-editor ul ol,
.entry-content ol ol,
.entry-content ul ol {
    list-style-type: lower-latin;
    list-style-position: inside;
    margin-left: 15px;
}

.mce-content-body a,
.singular .type-page .entry-content a,
.singular.page.site-wrapper .site-main .main-content.container #generic-content-1.content-block a,
.singular .post-container .entry-content a,
.custom-project-page a {
    font-weight: bold;
    color: #3366ff;
    text-decoration: underline;
}

.site-front-page .entry-thumbnail img {
    transform: none;
}

.rutube-embed-wrapper,
.vkontakte-embed-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
    margin: 0 auto;
}

.rutube-embed-wrapper iframe,
.vkontakte-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 1219px) {
    .site-front-page #fifty-fifty-1 .aside-right .wrap-data .top5-card .entry-content {
        display: none;
    }
}

@media (min-width: 920px) and (max-width: 1219px) {
    .site-front-page #fifty-fifty-1 .block-wrap .aside-right {
        margin-top: 30px;
    }
}

.genre-wrap .mod1 .entry-info {
    background: #fff;
}

.front-page-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;

    margin-bottom: 10px;
}

.front-page-story__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: start;
    gap: 5px;
}

.front-page-story .mod9 {
    padding-top: 10px;
}

.genre-wrap {
    margin-bottom: 10px;
}

.genre-wrap .mod1 .entry-thumbnail {
    height: 100%;
}

@media (max-width: 1219px) {
    .genre-wrap {
        grid-template-columns: 1fr;
    }
}

.genre-wrap .entry-thumbnail img {
    object-fit: cover;
    object-position: center;
}

#news-container-on-mobiles .item .entry-meta {
    margin-top: 10px;
}

#news-container-on-mobiles .item .entry-meta {
    margin-bottom: 5px;
}

#news-container-on-mobiles .item .entry-title {
    margin-bottom: 0;
    font-size: 1rem;
}

.site-front-page .wpb-block.style-2 .wrap-data .mod2 .entry-thumbnail {
    height: auto;
}

.wpbcopy {
    justify-content: center;
}

@media (min-width: 1220px) {
    .wpbcopy {
        justify-content: flex-end;
    }
}

.site-front-page #fifty-fifty-1 .item.mod9 {
    overflow: hidden;
}

.item.item-with-image {
    margin-top: 7px;
    margin-bottom: 7px;
}

.item.item-with-image .entry-thumbnail {
    margin: 0;
}

.project-breadcrumbs {
    background: #000;
    padding: 5px 20px;
    border-top: 1px solid #444;
    margin-top: -2px;
}

.project-breadcrumbs a,
.project-breadcrumbs span {
    color: #fff;
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-size: 15px;
    font-weight: 500;
}

@media (min-width: 1220px) {
    .kazan-posle-1-abzacza-vnutri-kontenta {
        display: none !important;
    }
}

.custom-project-page {
    width: 100%;
    margin: 0 auto;
    padding: 40px 0;
    font-family: "Georgia", Sans-serif;

    max-width: 320px;
    font-size: 14px;
}

.custom-project-page .entry-thumbnail:hover img {
    transform: none;
}

.custom-project-page h1 {
    font-size: 24px;
    line-height: 1;
    margin-bottom: 20px;
}

.custom-project-page img {
    max-width: 100%;
    width: 100%;
}

.custom-project-page__excerpt {
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 40px;
}

.custom-project-page hr {
    border-top: 2px dashed #000;
    height: 1px;
}

@media (min-width: 768px) {
    .custom-project-page {
        max-width: 690px;
        font-size: 24px;
        line-height: 36px;
    }

    .custom-project-page h1 {
        font-size: 46px;
    }

    .custom-project-page__excerpt {
        font-size: 36px;
    }
}

@media (min-width: 1025px) {
    .custom-project-page {
        max-width: 960px;
    }

    .custom-project-page h1 {
        font-size: 52px;
    }

    .custom-project-page__excerpt {
        font-size: 42px;
    }

    .custom-project-page blockquote {
        font-size: 42px;
    }
}

.cookie-notification {
    display: flex;
    align-items: center;
    justify-content: space-between;

    flex-direction: column;

    gap: 10px;

    background: #fff;

    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;

    padding: 20px;
    border: 1px solid #1e40af;
    font-size: 14px;
}

@media (min-width: 768px) {
    .cookie-notification {
        flex-direction: row;
    }
}

.cookie-notification p {
    margin-bottom: 0;
}

.cookie-notification p a {
    color: #1e40af;
    font-weight: bold;
    text-decoration: underline;
}

.cookie-notification p a:hover {
    text-decoration: none;
}

.cookie-notification button {
    color: #fff;
    background: #1e40af;
    border: 2px solid #1e40af;
    font-family: Oswald, Arial, Helvetica, sans-serif;
    text-transform: uppercase;
}

.cookie-notification button:hover {
    background: #fff;
    color: #1e40af;
}

.grid-expand-full-row {
    grid-column: 1 / -1;
}

.ad-placement-desktop-only {
    display: none;
}

@media (min-width: 1220px) {
    .ad-placement-mobile-only {
        display: none;
    }

    .ad-placement-desktop-only {
        display: block;
    }
}

