.logo-header {
    gap: 0.6rem;
    min-width: 0;
    color: #393940;
    text-decoration: none;
}

.logo-header-text {
    display: inline-block;
    color: #393940;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

#mobilemenu nav a.menu-promo {
    position: relative;
    margin-top: 0.45rem;
    padding-right: 2.9rem;
    border: 1px solid rgba(236, 72, 153, 0.72);
    background: rgba(236, 72, 153, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#mobilemenu nav a.menu-promo::after {
    content: "18+";
    position: absolute;
    right: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.14rem 0.34rem;
    border-radius: 0.25rem;
    background: #ec4899;
    color: #ffffff;
    font-size: 0.65rem;
    line-height: 1;
    font-weight: 700;
}

#mobilemenu nav a.menu-promo i {
    flex: 0 0 auto;
    color: #ec4899;
}

#mobilemenu nav a.menu-promo:hover,
#mobilemenu nav a.menu-promo.active {
    background: rgba(236, 72, 153, 0.25);
}

#mobilemenu nav a.menu-promo-razdevator,
#mobilemenu nav a.menu-promo-sozdaj-devushku-mechty {
    border-color: rgba(255, 181, 71, 0.72);
    background: rgba(255, 181, 71, 0.13);
}

#mobilemenu nav a.menu-promo-razdevator::after,
#mobilemenu nav a.menu-promo-sozdaj-devushku-mechty::after {
    background: #ffb547;
    color: #242933;
}

#mobilemenu nav a.menu-promo-razdevator i,
#mobilemenu nav a.menu-promo-sozdaj-devushku-mechty i {
    color: #ffb547;
}

#mobilemenu nav a.menu-promo-razdevator:hover,
#mobilemenu nav a.menu-promo-razdevator.active,
#mobilemenu nav a.menu-promo-sozdaj-devushku-mechty:hover,
#mobilemenu nav a.menu-promo-sozdaj-devushku-mechty.active {
    background: rgba(255, 181, 71, 0.22);
}

#mobilemenu nav li:not(.menu-language) + li.menu-language {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(57, 57, 64, 0.12);
}

#mobilemenu nav li.menu-language a {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    width: 100%;
    min-height: 2.35rem;
    margin-bottom: 0.35rem;
    line-height: 1.2;
}

#mobilemenu nav li.menu-language img {
    display: block;
    flex: 0 0 auto;
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(57, 57, 64, 0.18);
}

#mobilemenu nav li.menu-language.active {
    background: none;
    border-radius: 0;
}

#mobilemenu nav li.menu-language.active a {
    background-color: #e4e4e7;
    font-weight: 600;
}

.player .video-player-fallback.d-none,
.player .video-player-mount.d-none {
    display: none;
}

.player .video-player-item {
    margin-bottom: 1rem;
}

.player .video-player-item:last-child {
    margin-bottom: 0;
}

.player .video-player-shell {
    width: 100%;
}

.player .video-player-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000000;
}

.player .video-player-frame > .video-player-fluid,
.player .video-player-frame > .video-player-videojs,
.player .video-player-frame > .video-player-mount,
.player .video-player-frame > .fluid_player,
.player .video-player-frame > [id^="fluid_video_wrapper_"] {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}

.player .video-player-frame video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    background: #000000;
}

.player .video-player-frame .video-js {
    position: absolute;
    inset: 0;
    padding-top: 0 !important;
}

.player .video-player-frame .video-js .vjs-tech {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}

.page-header .page-info .page-preview {
    width: min(300px, calc(100vw - 4rem));
    height: min(300px, calc(100vw - 4rem));
    min-width: 200px;
    min-height: 200px;
    max-width: 300px;
    max-height: 300px;
}

.page-header .page-info .page-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .page-header .page-info .page-preview {
        width: 200px;
        height: 200px;
        min-width: 200px;
        min-height: 200px;
        max-width: 200px;
        max-height: 200px;
    }
}

.post-gallery .gallery-title {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0.9rem 0 0.75rem;
    padding: 0 1rem;
    font-size: 1.35rem;
    line-height: 1.25;
}

.post-gallery .gallery-title a {
    color: inherit;
}

.gallery-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 28px auto;
    padding: 0 12px;
}

.gallery-anchor {
    display: block;
    scroll-margin-top: 72px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 1.5rem auto 0;
    padding: 0 1rem 1.5rem;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    box-sizing: border-box;
    margin: 0;
    padding: 0 13px;
    border: 1px solid #d7dbe0;
    border-radius: 4px;
    background: #ffffff;
    color: #393940;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
}

.pagination a:hover {
    border-color: #ec4899;
    background: rgba(236, 72, 153, 0.08);
    color: #ec4899;
    text-decoration: none;
}

.pagination span[aria-current="page"] {
    border-color: #ec4899;
    background: #ec4899;
    background: linear-gradient(45deg, #ec4899 0, #ff697a 100%);
    color: #ffffff;
    font-weight: 600;
}

.pagination > span:not([aria-current="page"]):not(.nav_ext) {
    color: rgba(236, 72, 153, 0.42);
    background: rgba(236, 72, 153, 0.06);
    border-color: rgba(236, 72, 153, 0.18);
}

.pagination .nav_ext {
    min-width: 28px;
    padding: 0 4px;
    border-color: transparent;
    background: transparent;
    color: rgba(236, 72, 153, 0.62);
}

.gallery-pagination__link,
.gallery-pagination__ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    box-sizing: border-box;
    padding: 0 13px;
    border: 1px solid #d7dbe0;
    border-radius: 4px;
    background: #ffffff;
    color: #393940;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
}

.gallery-pagination__link:hover {
    border-color: #8e98a8;
    color: #1a1a1a;
    text-decoration: none;
}

.gallery-pagination__link--current {
    border-color: #393940;
    background: #393940;
    color: #ffffff;
}

.gallery-pagination__ellipsis {
    min-width: 28px;
    padding: 0 4px;
    border-color: transparent;
    background: transparent;
    color: #7b8491;
}

.col-card a {
    position: relative;
    width: 100%;
}

.col-card .card-counts {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    left: 0.5rem;
    z-index: 11;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.col-card .card-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.7rem;
    gap: 0.28rem;
    padding: 0.25rem 0.45rem;
    border-radius: 999px;
    background: rgba(26, 26, 26, 0.72);
    color: #ffffff;
    font-size: 0.78rem;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
}

.col-card .card-count i {
    margin: 0;
    color: #ec4899;
    font-size: 0.95rem !important;
}

.col-card .card-meta {
    justify-content: center;
    text-align: center;
}

.col-card .card-title {
    width: 100%;
    margin-right: 0;
    text-align: center;
}

.col-card .card-likes {
    display: none;
}

.aside-upd .upd-img {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    box-sizing: border-box;
    padding: 2px;
    margin: 0 1rem 0 0;
}

.aside-upd img {
    display: block;
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    max-width: 50px;
    box-sizing: border-box;
    object-fit: cover;
}

.aside-upd-stats {
    display: inline-flex;
    justify-content: flex-start;
    width: 100%;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.aside-upd-stats li {
    display: flex;
    align-items: center;
    list-style: none;
    font-size: 0.8rem;
    margin-right: 0.75rem;
    margin-bottom: 0;
    padding: 0;
}

.aside-upd-stats i {
    color: #ec4899;
    font-size: 1rem;
    margin-right: 0.3rem;
}

@media (max-width: 600px), (max-device-width: 600px) {
    .pagination {
        gap: 6px;
        margin-top: 1.25rem;
        padding: 0 0.75rem 1.25rem;
    }

    .pagination a,
    .pagination span {
        min-width: 38px;
        min-height: 38px;
        padding: 0 10px;
        font-size: 13px;
    }

    .gallery-pagination {
        gap: 6px;
        margin: 22px auto;
    }

    .gallery-pagination__link,
    .gallery-pagination__ellipsis {
        min-width: 38px;
        min-height: 38px;
        padding: 0 10px;
        font-size: 13px;
    }
}
