.footer {
    margin-top: 50px;
    margin-bottom: 68px;
    padding-top: 15px;
    background-color: var(--khi-header-background);
}

.footer__container {
    display: flex;
    flex-wrap: wrap;
}

.footer__block {
    width: 100%;
}

.footer__icons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer__logo {
    margin: 0 auto 10px;
}

.footer__logo .logo {
    margin: 0;
}

.footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 10px;
}

.footer__social-item {
    display: flex;
    width: 30px;
    height: 30px;
    margin: 0 4px;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.footer__social-item:hover {
    opacity: .8;
}

.footer__social-item--vkontakte {
    background-color: #4680C2;
}

.footer__social-item--telegram {
    background-color: #64A9DC;
}

.footer__social-item--instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.footer__social-item--twitch {
    background-color: #772ce8;
}

.footer__social-item--twitter {
    background-color: #00ACED;
}

.footer__social-item--facebook {
    background-color: #3B5998;
}

.footer__social-item--odnoklassniki {
    background-color: #ee8208;
}

.footer__social-item--zen img {
    width: 30px;
    border-radius: 50%;
}

.footer__icons-text {
    font-size: 14px;
    line-height: 18px;
    color: #fff;
    text-align: center;
}

.footer__menu {
    margin-top: 20px;
    margin-bottom: 20px;
}

.footer__menu-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer__menu .item--opened > a:after {
    transform: rotate(225deg) !important;
    margin-right: 10px;
}

.footer__menu .item--opened .submenu {
    display: block;
}

.footer__menu .item > a {
    display: block;
    padding: 7px 0;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
}

.footer__menu .item > a:hover {
    color: var(--khi-base-color);
}

.footer__menu .item.has-children > a:hover {
    color: #fff;
    text-decoration: underline;
    cursor: pointer;
}

.footer__menu .item.has-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 12px 10px 12px 0;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid #4F5266;
}

.footer__menu .item.has-children > a:after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    transform-origin: 100%;
}

.footer__menu .submenu {
    display: none;
    margin: 0 0 15px;
    padding: 0;
    list-style: none;
}

.footer__rules {
    margin-top: 20px;
}

.footer__rules,
.footer__privacy {
    font-size: 14px;
    line-height: 18px;
    color: #fff;
    text-align: center;
}

.footer__rules a,
.footer__privacy a {
    color: #fff;
}

.footer__text {
    width: 100%;
    font-size: 12px;
    color: #fff;
    text-align: center;
}

.footer__text > p {
    margin-bottom: 5px;
}

.footer__text > p:last-child {
    margin: 0;
}

.footer__copyright {
    margin-top: 15px;
    padding: 12px 0;
    font-size: 12px;
    color: #fff;
    background: var(--khi-footer-copyright-background);
    text-align: center;
}

.footer__dmca {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 15px 0;
}

.footer__dmca-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 30px;
    margin: 10px 0;
    fill: #fff;
}

.footer__dmca-link > svg {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.footer__dmca-link > img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
}

.mobile-nav {
    position: fixed;
    width: 100%;
    bottom: -100px;
    left: 0;
    padding-bottom: env(safe-area-inset-bottom, 2px);
    background-color: #1C1F31;
    box-shadow: 0 -10px 15px rgba(0, 0, 0, .2);
    z-index: 15;
    transition: bottom .2s ease;
    will-change: transform;
}

html.mobile-nav--visible .mobile-nav {
    bottom: 0;
}

.mobile-nav__items {
    display: flex;
    margin: 0;
    padding: 13px 0 2px 0;
    list-style: none;
}

.mobile-nav__item {
    width: 100%;
}

.mobile-nav__item-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.mobile-nav__item-link--active,
.mobile-nav__item-link:hover,
.mobile-nav__item-link:active,
.mobile-nav__item-link:focus {
    color: var(--khi-base-color);
}

.mobile-nav__item-link:hover .mobile-nav__item-icon,
.mobile-nav__item-link:active .mobile-nav__item-icon,
.mobile-nav__item-link:focus .mobile-nav__item-icon {
    fill: var(--khi-base-color);
}

.mobile-nav__item-link--active .mobile-nav__item-icon {
    filter: brightness(.8) sepia(.4) saturate(10000%);
}

.mobile-nav__item-icon {
    max-width: 25px;
    max-height: 23px;
    fill: #FFF;
}

.mobile-nav__item-text {
    font-size: 12px;
    line-height: 24px;
}

.__jivoMobileButton {
    margin-bottom: env(safe-area-inset-bottom, 2px);
    transition: bottom 0.2s ease;
    z-index: 1000;
}

html.mobile-nav--visible .__jivoMobileButton {
    bottom: 55px;
}

.bttn-modal-outer-link {
    display: block;
    padding: 6px;
    font-size: 14px;
    line-height: 22px;
    font-weight: normal;
    text-indent: initial;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    height: 36px;
    margin: 0 auto 20px;
    width: 90%;
    background: #e9274c;
    border-radius: 5px;
    color: #fff;
    border: 0;
}

.bttn-modal-outer-link:hover {
    opacity: .8;
}

.back-to-top-button {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 80px;
    right: 20px;
    width: 40px;
    height: 40px;
    margin-bottom: env(safe-area-inset-bottom, 2px);
    padding: 0;
    background-color: #1C1F31;
    border: 0;
    border-radius: 5px;
    box-shadow: 0 5px 8px rgba(0, 0, 0, .25);
    opacity: 1;
    transition: opacity .2s ease-in-out;
    cursor: pointer;
    z-index: 1;
}

html.jivosite-loaded .back-to-top-button {
    bottom: 85px;
    right: 95px;
}

.back-to-top-button--hidden {
    opacity: 0;
    right: -1000px;
}

.back-to-top-button:after {
    content: '';
    display: block;
    width: 20px;
    height: 13px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath fill='%23fff' d='M9.717 1.69a.815.815 0 0 1 0-1.163.835.835 0 0 1 1.163 0l4.876 4.875c.15.15.244.36.244.593a.838.838 0 0 1-.244.594l-4.876 4.875a.815.815 0 0 1-1.163 0 .815.815 0 0 1 0-1.164l3.49-3.48H.815A.818.818 0 0 1 0 5.996a.81.81 0 0 1 .814-.814h12.393L9.717 1.69Z'/%3E%3C/svg%3E") no-repeat;
    transform: rotate(270deg);
}

.footer__apps {
    display: flex;
    align-items: center;
    margin: 0 0 10px;
    gap: 5px;
}

.footer__app {
    display: block;
    width: 113px;
    height: 37px;
    border: 1px solid #ededed;
}

.footer__app:hover {
    opacity: .9;
}

.footer__app img {
    height: 100%;
}

.icon-18 {
    width: 30px;
    height: 30px;
    margin-left: 15px;
    filter: invert(1);
    opacity: .9;
}
.ico-begambleaware {
    height: 16px;
    width: 156px;
}

.search-results .post-item__poster-image {
    object-fit: contain;
}

@media (min-width: 360px) {
    .footer__social-item {
        margin: 0 5px;
    }
}

@media (min-width: 576px) {
    .footer__icons {
        justify-content: space-between;
    }

    .footer__logo {
        margin: 0;
    }

    .footer__social {
        margin-bottom: 0;
    }

    .footer__icons-text {
        margin-top: 20px;
    }

    .footer__menu-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .footer__menu-list > .item {
        width: calc(50% - 8px);
    }

    .footer__dmca {
        flex-direction: row;
    }

    .footer__dmca-link {
        margin: 0 15px;
    }

    .footer__apps {
        justify-content: center;
        width: 100%;
        margin: 20px -5px 0;
    }
}

@media (min-width: 1024px) {
    .footer {
        margin-bottom: 0;
    }

    .footer__block {
        display: flex;
        align-items: flex-start;
    }

    .footer__icons {
        max-width: 320px;
        margin-right: 30px;
    }

    .footer__logo {
        margin-bottom: 20px;
    }

    .footer__icons-text {
        text-align: initial;
    }

    .footer__menu {
        flex-grow: 1;
        margin-top: 0;
    }

    .footer__rules {
        margin-right: 10px;
    }

    .footer__privacy {
        margin-left: 10px;
    }

    .footer__rules,
    .footer__privacy {
        text-align: left;
    }

    .mobile-nav {
        display: none;
    }

    .back-to-top-button {
        bottom: 20px;
        width: 60px;
        height: 60px;
    }

    html.jivosite-loaded .back-to-top-button {
        bottom: 20px;
        right: 20px;
    }

    .back-to-top-button:after {
        width: 33px;
        height: 20px;
    }

    .footer__apps {
        justify-content: flex-start;
    }
}

@media (min-width: 1280px) {
    .footer__menu-list > .item {
        width: calc(25% - 20px);
    }

    .footer__menu .item.has-children > a:hover {
        text-decoration: none;
        cursor: default;
    }

    .footer__menu .item.has-children a:after {
        display: none;
    }

    .footer__menu .submenu {
        display: block;
    }
}

.auth-popup-btn, input[type="submit"].auth-popup__submit {
    border: 0;
    height: 40px;
}

.auth-popup-btn__inactive {
    border-radius: 30px;
}
