.full-screen-bonuses__cards {
    width: 100%;
    /*overflow: hidden;*/
}
.full-screen-bonuses__cards-container {
    display: flex;
    margin: 20px 0 50px;
    /*justify-content: center;*/
    /*align-items: center;*/
    /*flex-wrap: wrap; !* temp *!*/
}
.full-screen-bonuses__cards-container > * {
    margin: 10px;
}
.swiper {
    position: relative;
    max-width: 100%;
    /*margin: auto*/
}
.button-prev, .button-next {
    position: absolute;
    top: 20px;
    bottom: 50px;
    z-index: 999;
    width: 40px;
    cursor: pointer;
    opacity: 1;
    transition: opacity .3s ease-out;
}
.button-prev:before, .button-next:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: url(/img/arrow.svg) 50% 50% no-repeat;
    background-size: 32px;
}
.button-prev {
    left: 0;
    transform: rotate(180deg);
}
.button-next {
    right: 0;
}
.button-prev:hover, .button-next:hover {
    background: linear-gradient(to right, rgba(200,200,200,.05), rgba(200,200,200,.5));
}
.swiper-button-disabled {
    opacity: 0.1;
    cursor: auto;
}

.bonus-promotion {
    border-radius: 15px;
    background-size: 1800px 1800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 25px 30px 2px rgba(0, 0, 0, 0.15);
    background-color: #949494;
    background-repeat: space;
    cursor: pointer;
    min-width: 220px;
    max-width: 220px;
    padding: 15px;
    /*height: 264px;*/
}
.bonus-promotion__bg-pattern {
    background-size: 400px 400px;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
}
.bonus-promotion__top-anchor {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.bonus-promotion__logo {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto 0;
}
.bonus-promotion__logo img {
    object-fit: contain;
}
.bonus-promotion__title {
    margin: 0 auto;
    flex: 0 0 82px;
    font-family: "Roboto Slab", Arial, serif;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    padding: 0 5px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    line-height: 20px;
    color: #ffffff;
}
.bonus-promotion__vager {
    display: block;
    background-color: rgba(0, 0, 0, 0.1);
    color: #ffffff;
    font-family: "Roboto Slab", Arial, serif;
    font-size: 12px;
    line-height: 12px;
    text-align: center;
    padding: 2px 2px 3px;
    margin: 0 auto 19px;
}
.bonus-promotion__btn {
    min-width: 120px;
    width: auto;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    line-height: 36px;
}
.bonus-promotion__btn .button {
    display: block;
    width: 100%;
    max-width: 100%;
}
.bonus-promotion__t-and-c {
    min-height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
    line-height: 12px;
    text-transform: uppercase;
    margin: 10px;
    text-align: center;
}
.bonus-promotion__t-and-c a {
     color: inherit;
     text-decoration: underline;
}
.bonus-promotion__t-and-c a:hover {
    color: inherit;
    text-decoration: none;
    opacity: .8;
}

.bonuses-table-item {
    display: grid;
    /*grid-template-columns: 1fr 164px;*/
    grid-template-columns: 1fr min-content;
    grid-template-rows: auto;
    grid-template-areas:
    "block1 block3"
    "block2 block3";
    gap: 12px;

    padding: 12px;
    margin-bottom: 8px;
    border: 1px solid #C4D7D7;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 0 1px #C4D7D7;
}
.bonuses-table-item.review-bonus {
    grid-template-areas:
    "block1 block3"
    "block4 block4"
    "block2 block2"
    "block5 block5";
}

.bonuses-table-item__block1 {
    grid-area: block1;

    display: grid;
    grid-template-columns: 96px 1fr;
    grid-template-rows: min-content auto;
    grid-template-areas:
    "block1-1 block1-2"
    "block1-1 block1-3";
    gap: 12px;
}

.review-bonus .bonuses-table-item__block1 {
    grid-template-columns: 56px 1fr 170px;
    grid-template-rows: min-content;
    grid-template-areas:
    "block1-1 block1-2 block1-3";
}
    .bonuses-table-item__block1-1 {
        grid-area: block1-1;
        margin: 0;
        padding: 0;
        border: 0 none;
        background: none;
    }
        .review-bonus .bonuses-table-item__block1-1 .round-logo.size-xl,
        .review-bonus .bonuses-table-item__block1-1 .round-logo.size-xl img {
            height: 56px;
            width: 56px;
        }
        .bonuses-table-item__casino-title {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .bonuses-table-item__casino-title .rating {
            flex: 0 0 min-content;
            display: inline-block;
            vertical-align: middle;

            border: 1px solid #C4D7D7;
            border-radius: 4px;
            padding: 0 8px 0 22px;
            background: url(/img/star.svg) 8px 50% no-repeat;
            background-size: 10px 10px;

            font-family: "Roboto Slab", Arial, serif;
            font-size: 16px;
            font-weight: 700;
            font-style: normal;
            line-height: 22px;
            letter-spacing: -0.4px;
            color: #5777BD;
        }
        .bonuses-table-item__casino-title .brand {
            flex: 1;
            font-size: 16px;
            font-style: italic;
            font-weight: 700;
            line-height: 22px;
            padding: 2px 0 0 0;
            color: #2D3142;

            background: none;
            border: 0 none;
            text-align: left;
            cursor: pointer;
        }

        .bonuses-table-item__bonus-title {
            font-family: "Roboto Slab", Arial, serif;
            font-size: 18px;
            font-weight: 500;
            line-height: 22px;
            text-align: left;
            color: #2D3142;
            margin-top: 6px;
        }
        .bonuses-table-item__bonus-title button {
            display: inline;
            -webkit-appearance: none;
            appearance: none;
            background: none;
            border: 0 none;
            padding: 0;
            cursor: pointer;
        }

    .bonuses-table-item__block1-2 {
        grid-area: block1-2;
    }
    .review-bonus .bonuses-table-item__block1-2 {
        display: flex;
        width: 100%;
        align-items: center;
    }

    .bonuses-table-item__block1-3 {
        grid-area: block1-3;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .review-bonus .bonuses-table-item__block1-3 {
        align-items: center;
    }
    .bonuses-table-item__promocode {
        position: relative;
        height: 30px;
        flex: 1 1 min-content;
        overflow: hidden;
        color: #ffffff;
        max-width: 164px;
        cursor: pointer;
    }
    .bonuses-table-item__promocode:before {
        position: absolute;
        content: '';
        top: 0; left: 0;
        width: 32px;
        height: 100%;
        background: url(/img/promocode-l.svg) 0 0 no-repeat;
        background-size: auto 100%;
        z-index: 1;
    }
    .bonuses-table-item__promocode:after {
        position: absolute;
        content: '';
        top: 0; right: 0;
        width: 30px;
        height: 100%;
        background: url(/img/promocode-r.svg) 100% 0 no-repeat;
        background-size: auto 100%;
        z-index: 1;
    }
    .bonuses-table-item__promocode span {
        display: block;
        position: relative;
        z-index: 2;
        height: 100%;
        margin: 0 30px 0 32px;
        padding: 0 5px;
        background-color: #e22f59;
        text-align: center;
        font-family: "Roboto Slab", Arial, serif;
        font-size: 14px;
        line-height: 30px;
        font-weight: 500;
        overflow: hidden;
    }
    .bonuses-table-item__promocode.open {
        color: #e22f59;
        cursor: default;
    }
    .bonuses-table-item__promocode.open:before {
        width: 33px;
        background: url(/img/promocode-open-l.svg) 0 0 no-repeat;
    }
    .bonuses-table-item__promocode.open:after {
        width: 5px;
        background: url(/img/promocode-open-r.svg) 0 0 no-repeat;
    }
    .bonuses-table-item__promocode.open span {
        margin: 0 5px 0 33px;
        text-transform: uppercase;
        background: url(/img/promocode-open-m.svg) 0 0 repeat-x;
    }
    .bonuses-table-item__promocode .promo-flash {
        font-weight: bold;
        font-size: 10px;
        text-transform: uppercase;
    }

    .bonuses-table-item__show-more {
        display: none;
    }

    .bonuses-table-item__category-tags {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap:4px;
    }
    .bonuses-table-item__category-tag {
        border: 2px solid;
        padding: 3px 8px;
        font-size: 10px;
        text-transform: uppercase;
        font-weight: 600;
        color: #3479c9;
        border-radius: 4px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .bonuses-table-item__category-tag:hover {
        color: #e22f59;
    }

.bonuses-table-item__block2 {
    grid-area: block2;
    background: #FFFEFB;
    border: 1px solid #C4D7D7;
    border-radius: 8px;
    padding: 8px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}
    .bonuses-table-item__block2 > div {
        padding: 4px;
        overflow: hidden;
    }
    .bonuses-table-item__block2 i {
        display: block;
        font-size: 12px;
        font-style: italic;
        font-weight: 600;
        line-height: 14px;
        color: #529D9D;
    }
    .bonuses-table-item__block2 span {
        display: block;
        font-size: 14px;
        font-weight: 400;
        line-height: 16px;
        color: #2D3142;
        margin-top: 4px;
    }
.bonuses-table-item__block3 {
    grid-area: block3;
    min-width: 164px;
}
.review-bonus .bonuses-table-item__block3 {
    display: flex;
    width: 100%;
    align-items: center;
}
    .bonuses-table-item__actions {
        display: flex;
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
    .bonuses-table-item__block3 .button {
        display: block;
        width: 100%;
        padding: 4px 10px;
    }
    .bonuses-table-item__details {
        grid-area: details;
        padding: 16px 0 0 0;
        font-family: "Roboto Slab", Arial, serif;
        text-align: center;
        text-transform: uppercase;
        font-size: 9px;
        line-height: 1.2;
        color: #529d9d;
        letter-spacing: 1px;
    }
    .bonuses-table-item__details-highlight {
        color: #234b4b;
        font-weight: bold;
    }
    .bonuses-table-item__details button.inline {
        text-align: center;
    }
.bonuses-table-item__block4 {
    grid-area: block4;
}
.bonuses-table-item__block5 {
    grid-area: block5;
    margin-top: -12px;
}


/***** media queries *****/
@media (max-width: 1020px) {
    .full-screen-bonuses__cards-container > * {
        margin: 0 8px 8px;
    }
}

@media (max-width: 639px) {
    .bonuses-table-item {
        grid-template-columns: 1fr;
        grid-template-areas:
            "block1"
            "block4"
            "block2"
            "block3"
            "block5" !important;
        gap: 0;
    }
    .bonuses-table-item__block1 {
        margin-bottom: 12px;
    }
    .bonuses-table-item__promocode {
        max-width: none;
    }
    .bonuses-table-item__show-more {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 3px;
        height: 30px;
        padding: 0 6px;
        flex: 1 1 min-content;
        line-height: 30px;
        overflow: hidden;
        text-align: center;
        background: #f2f2f2;
        border-radius: 4px;
        font-family: "Roboto Slab", Arial, serif;
        font-size: 14px;
        font-weight: 500;
        color: #1E5AC6;
    }
    .bonuses-table-item__show-more .caret {
        flex: 0 0 8px;
        display: inline-block;
        vertical-align: middle;
    }
    .expanded .bonuses-table-item__show-more {
        background: #ffffff;
        border: 1px solid #1E5AC6;
    }
    .expanded .bonuses-table-item__show-more .caret {
        transform: rotate(180deg);
    }
    .bonuses-table-item__block2 {
        display: none;
    }
    .expanded .bonuses-table-item__block2 {
        display: grid;
        margin-bottom: 12px;
    }
    .bonuses-table-item__show-more span {
        overflow: hidden;
    }
    .bonuses-table-item__show-more .more {
        display: inline;
    }
    .expanded .bonuses-table-item__show-more .more {
        display: none;
    }
    .bonuses-table-item__show-more .less {
        display: none;
    }
    .expanded .bonuses-table-item__show-more .less {
        display: inline;
    }
    .review-bonus .bonuses-table-item__block1 {
        grid-area: block1;

        grid-template-columns: 64px 1fr;
        grid-template-rows: min-content auto;
        grid-template-areas:
            "block1-1 block1-2"
            "block1-3 block1-3";
        gap: 12px;
    }
    .bonuses-table-item__category-tags {
        display: none;
    }
    .expanded .bonuses-table-item__category-tags {
        display: flex;
    }
    .bonuses-table-item__block4 {
        margin-bottom: 12px;
    }
    .bonuses-table-item__block5 {
        display: none;
    }
    .expanded .bonuses-table-item__block5 {
        display: block;
    }
}

@media (max-width: 519px) {
    .bonuses-table-item__block1 {
        grid-area: block1;

        grid-template-columns: 64px 1fr;
        grid-template-rows: min-content auto;
        grid-template-areas:
            "block1-1 block1-2"
            "block1-3 block1-3";
        gap: 12px;
    }
    .bonuses-table-item__block1-1 .round-logo.size-xl,
    .bonuses-table-item__block1-1 .round-logo.size-xl img {
        height: 64px;
        width: 64px;
    }
}
@media (max-width: 479px) {
    .bonus-promotion {
        min-width: 45%;
        max-width: 45%;
    }
}
