#masthead {
    margin-bottom: 0;
}
#content {
    padding-top: 0;
}
.breadcrumb {
    min-width: 100%;
    position: relative;
    margin: 0;
    padding: 15px 0;
}
.page-title {
    margin: 15px 0;
}
.room-single > * {
    position: relative;
    z-index: 1;
}
.room-single::before{
    content: "";
    position: absolute;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 0;
    background-color: #f2f5f9;
}

.room-single-no_deposit::before {
    height: 90%;
    top: 50%;
    transform: translateY(-50%);
}

.room-single {
    position: relative;
    display: grid;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px 0;
}

.room-single-no_deposit {
    padding: 0;
}

.room-single__logo {
    grid-area: 1 / 1 / 3 / 2;
    min-width: 205px;
    max-width: 205px;
    background: #000;
}

.room-single-no_deposit .room-single__logo {
    margin-top: 70px;
}

.room-single__image {
    width: 100%;
    height: 125px;
    padding: 0 15px;
    object-fit: contain;
}

.room-single__logo .room-rating {
    border-radius: 0;
    display: flex;
    justify-content: center;
    font-size: 16px;
    padding: 5px 4px;
    margin: 0;
}

.room-single__logo .room-rating .stars {
    width: 16px;
    height: 16px;
}

.room-single__header {
    grid-area: 1 / 2 / 2 / 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    line-height: 1.25;
    padding-bottom: 12px;
    margin: 0 0 12px 12px;
    border-bottom: 1px solid #DADADA;
}

.room-single-no_deposit .room-single__header {
    margin-top: 70px;
}


.room-single__header-title {
    font-size: 32px;
}

.room-single__header-best {
    position: relative;
    top: 3px;
    font-size: 14px;
    color: #F03A8C;
}

.room-single__data {
    grid-area: 2 / 2 / 3 / 3;
    margin: 0 0 0 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.room-single__data-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 0 31.3333%;
    line-height: 1.15;
}

.room-single__data-item__value {
    min-width: 32px;
    max-width: 32px;
    height: 32px;
    line-height: 32px;
    color: #fff;
    background: #4D3BFE;
    text-align: center;
    font-weight: bold;
    border-radius: 2px;
}

.room-single__data-item__label {
    letter-spacing: -0.6px;
}

.room-single__achievement {
    grid-area: 3 / 1 / 4 / 3;
    margin: 24px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 24px;
    row-gap: 12px;
}

.room-single__achievements {
    display: flex;
    align-items: center;
    gap: 4px;
}

.room-single__achievements-checked {
    width: 24px;
    height: 24px;
}

.room-single__btns {
    grid-area: 4 / 1 / 5 / 3;
    display: flex;
    gap: 12px;
}

.room-single__btn,
a.room-single__btn {
    flex: 1;
    color: #4D3BFE;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    height: 40px;
    line-height: 40px;
    border-radius: 4px;
    transition: all ease .2s;
}

a.room-single__btn--download:empty,
a.room-single__btn--play:empty {
    display: none;
}

a.room-single__btn--download,
a.room-single__btn--play {
    color: #fff;
}

a.room-single__btn--download {
    background: #F03A8C;
}

a.room-single__btn--download:hover {
    background: #c21d68;
}

a.room-single__btn--play {
    background: #4D3BFE;
}

a.room-single__btn--play:hover {
    background: #4333de;
}

.room-single__btn--default,
a.room-single__btn--default {
    border: 1px solid rgba(77, 59, 254, .3);
}

.room-single__btn--default:hover,
a.room-single__btn--default:hover {
    color: #fff;
    background: #4333de;
}

a.room-single__btn--play:empty ~ a.room-single__btn--default {
    max-width: 250px;
    margin-left: auto;
}

.room-single__aside {
    grid-area: 1 / 3 / 6 / 4;
    align-self: center;
    width: 100%;
    min-width: 320px;
    max-width: 320px;
    margin-left: 50px;
    padding: 20px;
    background: #000;
    color: #fff;
    font-weight: bold;
    line-height: 1.25;
}

.room-single__aside-bonus {
    --aside-primary-color: #6A5BFB;
    --aside-name-color: #998FFF;
    --aside-btn-hover-bg: #4333de;
    padding: 12px;
    border: 1px solid var(--aside-primary-color);
}

.room-single__aside-bonus:not(.no_deposit) {
    position: relative;
    padding: 72px 12px 12px 12px;
}

.room-single__aside-bonus:not(.no_deposit) .room-single__aside-bonus__gift {
    position: absolute;
    top: 0;
    right: 0;
}

.room-single__aside-bonus:not(.no_deposit) .room-single__aside-bonus__name {
    font-size: 24px;
}

.room-single__aside-bonus.no_deposit {
    --aside-primary-color: #F03A8C;
    --aside-name-color: #F03A8C;
    --aside-btn-hover-bg: #c21d68;
    margin-top: 12px;
}

.room-single__aside-bonus__name {
    color: var(--aside-name-color);
    margin-bottom: 12px;
}

.room-single__aside-bonus .btn-promocode {
    margin-top: 12px;
    width: 100%;
    background: var(--aside-primary-color);
}

.room-single__aside-bonus .btn-promocode:hover {
    background: var(--aside-btn-hover-bg);
}

@media (max-width: 1200px) {
    .room-single-no_deposit::before {
        height: 95%;
    }

    .room-single__logo {
        min-width: 175px;
        max-width: 175px;
        align-self: stretch;
        display: flex;
        flex-direction: column;
    }

    .room-single__image {
        margin: auto 0;
    }

    .room-single-no_deposit .room-single__logo,
    .room-single-no_deposit .room-single__header {
        margin-top: 65px;
    }

    .room-single__aside-bonus:not(.no_deposit) .room-single__aside-bonus__gift {
        max-width: 200px;
    }

    .room-single__header-title {
        font-size: 28px;
    }

    .room-single__aside {
        min-width: 290px;
        max-width: 290px;
        padding: 15px;
        margin-left: 20px;
    }
}


@media (max-width: 992px) {
    .room-single {
        display: flex;
        flex-direction: column;
        padding: 24px 0;
        width: 100%;
    }

    .room-single-no_deposit::before {
        top: 0;
        transform: none;
        height: 100%;
    }

    .room-single__logo {
        min-width: unset;
        max-width: unset;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 8px 8px 0 8px;
        z-index: 2;
    }

    .room-single__logo-best {
        align-items: flex-end;
    }

    .room-single__logo-best .room-rating {
        margin-right: 32px;
    }

    .room-single__image {
        max-width: 125px;
        height: 40px;
        padding: 0;
    }

    .room-single__logo .room-rating {
        padding: 0 4px;
        border-radius: 50px;
        font-size: 14px;
    }

    .room-single__logo .room-rating .stars {
        width: 12px;
        height: 12px;
    }

    .room-single-no_deposit .room-single__logo,
    .room-single-no_deposit .room-single__header {
        margin-top: 0;
    }

    .room-single__header {
        position: absolute;
        top: 32px;
        right: 8px;
        display: block;
        margin: 0;
        padding: 0;
        border: none;
        order: 0;
        z-index: 2;
    }

    .room-single__header-title {
        display: none;
    }

    .room-single__header-best {
        position: static;
    }

    .room-single__aside {
        order: 1;
        padding: 20px;
        margin: -10px 0 0 0;
        min-width: unset;
        max-width: unset;
    }

    .room-single__data {
        order: 2;
        width: 100%;
        margin: 17px 0 0 0;
        display: none;
    }

    .room-single__data-item,
    .room-single__achievements {
        margin-bottom: 12px;
    }

    .room-single__data-item__label {
        letter-spacing: normal;
    }

    .room-single__achievement {
        order: 3;
        width: 100%;
        margin: 0;
        display: none;
    }

    #room-single-parametrs:checked ~ .room-single__data,
    #room-single-parametrs:checked ~ .room-single__achievement {
        display: block;
    }

    .room-single__btn-parametrs {
        order: 4;
        width: 100%;
        height: 37px;
        line-height: 37px;
        margin: 17px 0 12px;
    }

    .room-single__btn-parametrs span::before {
        content: 'Показать';
    }

    #room-single-parametrs:checked ~ .room-single__btn-parametrs {
        margin-top: 0;
    }

    #room-single-parametrs:checked ~ .room-single__btn-parametrs span::before {
        content: 'Скрыть';
    }

    .room-single__btns {
        order: 5;
        width: 100%;
    }

    a.room-single__btn--play:empty ~ a.room-single__btn--default {
        max-width: 100%;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .room-single__aside {
        width: calc(100% + 40px);
    }
}

@media (max-width: 576px) {
    .room-single__aside-bonus:not(.no_deposit) {
        padding: 22px 12px 12px 12px;
    }

    .room-single__aside-bonus:not(.no_deposit) .room-single__aside-bonus__gift {
        max-width: 130px;
    }

    .room-single__aside-bonus:not(.no_deposit) .room-single__aside-bonus__name {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (min-width: 992px) {
    .room-single__btn-parametrs {
        display: none;
    }
}


.room-meta-list {
    display: flex;
    width: 100%;
    flex-direction: column;
    border: 1px solid #ced4da;
    padding: 0 10px;
}
.room-meta {
    display: flex;
    justify-content: space-between;
    text-align: right;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid #ced4da;
}
.room-meta:last-of-type {
    border-bottom: none;
}
.room-meta-name {
    text-align: left;
    font-weight: bold;
    flex: 0 0 120px;
    line-height: 1.2em;
    margin: 2px 0 0;
}
.after-comments {
    margin: 0 0 50px;
}
@media(min-width: 992px) {
    #masthead {
        margin-bottom: 30px;
    }
    
}