.vkm-sidebar-slots__media,
.vkm-latest__media {
    background: linear-gradient(160deg, var(--vkm-cloth) 0%, var(--vkm-bg) 100%);
}

@media (max-width: 767px) {
    .vkm-header__toggle,
    .vkm-is-home .vkm-header .vkm-header__toggle {
        width: 44px;
        height: 44px;
    }

    .vkm-header .vkm-offer--ghost,
    .vkm-header .vkm-offer--primary,
    .vkm-header__row .vkm-offer--primary {
        height: 44px;
        min-height: 44px;
        padding: 0 12px;
        font-size: 13px;
        margin: 4px 0;
    }

    .vkm-header__logo,
    .vkm-footer__logo {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .vkm-sidebar-posts__all {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        min-height: 44px;
        min-width: 44px;
    }

    .vkm-sidebar-search__chip {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .vkm-sidebar-search__input,
    .vkm-sidebar-search__go,
    .vkm-comments .comment-form input[type="text"],
    .vkm-comments .comment-form input[type="email"],
    .vkm-comments .comment-form input[type="url"] {
        min-height: 44px;
    }

    .vkm-comments .form-submit .submit,
    .vkm-support__btn,
    .vkm-sidebar-slots__play,
    .table-scroll a {
        min-height: 44px;
    }

    .bonus-card__btn {
        min-height: 44px;
    }

    .vkm-sidebar-slots__play {
        display: inline-flex;
        align-items: center;
    }

    .vkm-comments .comment-form-cookies-consent label {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .vkm-header__row {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 768px) {
    .vkm-header__row {
        padding-left: 0;
        padding-right: 0;
    }
}

.vkm-comments .comment-respond,
.vkm-comments .comment-form > :last-child {
    margin-bottom: 0;
}

.vkm-content > :last-child,
.vkm-content > :last-child > :last-child {
    margin-bottom: 0;
}

.vkm-content figure {
    margin: 20px auto;
    max-width: min(100%, 600px);
}

.vkm-content figure img {
    display: block;
    width: auto;
    max-width: min(100%, 600px);
    height: auto;
    margin-left: auto;
    margin-right: auto;
    border-radius: 14px;
}

.vkm-content .wp-caption,
.vkm-content .wp-block-image {
    box-sizing: border-box;
    max-width: min(100%, 600px);
    margin-left: auto;
    margin-right: auto;
}

.vkm-content figcaption,
.vkm-content .wp-caption-text {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(168, 155, 140, .76);
    text-align: center;
}

.vkm-content .m-table,
.vkm-content .table-scroll,
.table-scroll {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.vkm-content .h2::after,
.vkm-content h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 84px;
    height: 16px;
    background: url("../img/paw-trail.svg") left center / 84px 16px no-repeat;
}

.vkm-content .h2,
.vkm-content h2 {
    position: relative;
    padding-bottom: 28px;
    color: var(--vkm-text);
}

.vkm-content .vkm-check-date,
p.vkm-check-date {
    font-size: 13px;
    line-height: 1.4;
    color: var(--vkm-text);
    opacity: 1;
    margin: 0 0 12px;
}

@media (min-width: 768px) {
    .vkm-content .m-table,
    .vkm-content .table-scroll {
        overflow-x: auto;
        overflow-y: visible;
    }

    .vkm-content .m-table table,
    .vkm-content .table-scroll table,
    .vkm-content table:not(.mirrors-table) {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        table-layout: auto;
    }

    .vkm-content .m-table th,
    .vkm-content .m-table td,
    .vkm-content .table-scroll table:not(.mirrors-table) th,
    .vkm-content .table-scroll table:not(.mirrors-table) td,
    .vkm-content table:not(.mirrors-table) th {
        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
        hyphens: manual;
    }

    .vkm-content table:not(.mirrors-table) td {
        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
        hyphens: manual;
    }

    .vkm-content .table-scroll table.mirrors-table,
    .table-scroll table.mirrors-table {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .vkm-content .m-table,
    .vkm-content .table-scroll,
    .table-scroll {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .vkm-content .m-table::-webkit-scrollbar,
    .vkm-content .table-scroll::-webkit-scrollbar,
    .table-scroll::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .vkm-content .m-table table,
    .vkm-content .table-scroll table,
    .vkm-content table:not(.mirrors-table),
    .table-scroll table {
        table-layout: auto;
        width: max-content;
        min-width: 100%;
        max-width: none;
    }

    .vkm-content .m-table th,
    .vkm-content .m-table td,
    .vkm-content table:not(.mirrors-table) th,
    .vkm-content table:not(.mirrors-table) td,
    .table-scroll th {
        overflow-wrap: normal;
        word-break: normal;
        hyphens: manual;
        white-space: nowrap;
        min-width: 72px;
    }

    .table-scroll td {
        overflow-wrap: normal;
        word-break: normal;
        hyphens: manual;
        white-space: nowrap;
        min-width: 72px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .vkm-layout__sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 32px;
        align-items: start;
    }

    .vkm-layout__sidebar > noindex,
    .vkm-layout__sidebar > .vkm-sidebar__cta,
    .vkm-layout__sidebar > noindex > .vkm-sidebar__cta,
    .vkm-layout__sidebar > .vkm-sidebar-reviews {
        grid-column: 1 / -1;
    }

    .vkm-layout__sidebar > noindex {
        display: block;
    }

    .vkm-layout__sidebar .vkm-sidebar__cta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vkm-layout__sidebar > .vkm-sidebar__card {
        border-top: 1px solid rgba(233, 226, 216, .12);
        padding-top: 16px;
    }
}

@media (max-width: 479px) {
    :is(.vkm-slots-archive, .vkm-articles-archive) .vkm-board-nav .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    :is(.vkm-slots-archive, .vkm-articles-archive) .vkm-board-nav .page-numbers.prev,
    :is(.vkm-slots-archive, .vkm-articles-archive) .vkm-board-nav .page-numbers.next {
        order: 2;
        flex: 1 1 calc(50% - 4px);
    }
}

@media (max-width: 767px) {
    .vkm-content .h3,
    .vkm-content h3 {
        font-size: 18px;
        line-height: 1.25;
    }
}
