.jg-review-top {
    margin: 18px 0 24px;
    padding: 1px;
    border-radius: 11px;
    background: transparent;
    transition: background 0.3s ease;
}

.jg-review-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
        "media info bonuses cta";
    align-items: start;
    column-gap: 28px;
    row-gap: 16px;
    padding: 18px;
    background: #f5f8fb;
    border: 1px solid #e4e9f0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(30, 131, 180, .08);
}

.jg-review-top:hover {
    background: linear-gradient(to bottom, #0F8A0A 0%, #696BFE 100%);
}

.jg-review-card__media {
    grid-area: media;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
}

.jg-review-card__media img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

.jg-review-card__logo-link {
    display: inline-flex;
    width: 100%;
    justify-content: center;
}

.jg-review-card__info {
    grid-area: info;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-right: 1px solid #e4e9f0;
    min-width: 0;
    justify-content: center;
    height: 100%;
    align-items: center;
}

.jg-review-card__name {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
    color: #2c3e50;
}

.jg-review-card__bonuses {
    grid-area: bonuses;
    align-self: center;
    margin: 0;
    list-style: none;
    padding-left: 0;
}

.jg-review-card__bonuses li {
    margin: 8px 0;
    color: #34495e;
    background: url(/img/others/jeux-new-check.svg) 0 center / 22px no-repeat;
    padding-left: 36px;
    line-height: 30px;
}

.jg-review-card__cta {
    grid-area: cta;
    height: 100%;
    display: flex;
    align-items: center;
}

.jg-review-cta-btn {
    display: block;
    width: 100%;
    padding: 16px 28px;
    font-size: 18px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #fff;
    background: #05842A;
    border-radius: 6px;
    text-decoration: none;
    transition: background .15s ease;
}

.jg-review-cta-btn:hover,
.jg-review-cta-btn:focus {
    background: #046922;
    color: #fff;
    text-decoration: none;
}

.jg-review-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.jg-review-gallery__item {
    flex: 1 1 200px;
    max-width: 260px;
}

.jg-review-gallery__item img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid #e4e9f0;
}

.jg-review-payments {
    margin-top: 18px;
    padding: 14px 16px;
    background: #f5f8fb;
    border-radius: 8px;
}

.jg-review-payments__title {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #16384a;
}

.jg-review-payments__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.jg-review-payments__item img {
    height: 38px;
    width: auto;
    background: #fff;
    border: 1px solid #e4e9f0;
    border-radius: 4px;
    padding: 3px 6px;
}

.jg-review-article {
    margin-top: 10px;
}

.jg-review-bottom-text {
    margin-top: 16px;
}

.rating-text {
    font-size: 13px;
    color: #6b7a89;
}

.casino_rating__bloc{
    display: flex;
    gap: 2px;
    flex-direction: column;
    font-weight: 700;
    font-size: 18px;
    line-height: 27px;
    align-items: center;
}

.casinocard_rinfo{
    text-align: center;
    line-height: inherit;
}

.casinocard_star__info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-direction: column;
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 5px;
    line-height: 1.5;
}

.stars{
    background: url(/img/commons/pel/icons/new_star.svg) 0 -22px repeat-x;
    width: 107px;
    margin: 0;
    height: 24px;
}

.stars_in{
    background: url(/img/commons/pel/icons/new_star.svg) 0 0 repeat-x;
    height: 22px;
}

body:has(.jg-review-page) {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

.jg-review-page .breadcrumb{
    margin-top: 15px;
}

.jg-review-page .page-header{
    font-size: 40px;
    font-weight: 600;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

div.table-parent {
    width: 100%;
    overflow-x: auto;
    padding: 5px;
}

@media (max-width: 1199px) {
    .jg-review-card {
        grid-template-areas:
            "media info bonuses"
            "media info cta";
    }
}

@media (max-width: 991px) {

    .jg-review-card {
        grid-template-columns: 42% minmax(0, 1fr);
        grid-template-areas:
            "media bonuses"
            "info cta";
    }

    .jg-review-page .page-header{
        font-size: 28px;
        line-height: 1.5;
    }

    .jg-review-card__media img{
        max-width: 180px;
        border-radius: 8px;
    }

    .jg-review-card__info{
        border-right: 0;
    }

    .jg-review-card__bonuses{
        border-bottom: 1px solid #e4e9f0;
        padding-bottom: 16px;
        align-items: flex-start;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .casinocard_star__info{
        flex-direction: row;
    }

    .casino_rating__bloc{
        flex-direction: column-reverse;
        align-items: center;
    }

    /*.jg-review-card {*/
    /*    grid-template-columns: 180px minmax(0, 1fr);*/
    /*    grid-template-areas:*/
    /*        "media info"*/
    /*        "media bonuses"*/
    /*        "cta   cta";*/
    /*}*/

    .jg-review-card__bonuses {
        border-left: 0;
        padding-left: 0;
    }
}

@media (max-width: 750px) and (min-width: 561px) {

.jg-review-card {
    grid-template-areas:
            "media info"
            "bonuses bonuses"
            "cta cta"
    }

    .jg-review-card__info{
        border-right: 0;
        border-bottom: 1px solid #e4e9f0;
        padding-bottom: 16px;
        align-items: center;
    }

    .jg-review-card__bonuses{
        border-bottom: 0;
        height: auto;
    }
}

@media (max-width: 560px) {
    .jg-review-card {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "media"
            "info"
            "bonuses"
            "cta";
    }

    .jg-review-card__media {
        align-self: auto;
        max-height: 220px;
    }

    .rating-space {
        align-items: flex-start;
    }

    .jg-review-card__info {
        align-items: center;
    }

    .casino_rating__bloc{
        align-items: center;
    }

    .jg-review-card__info{
        border-right: 0;
        border-bottom: 1px solid #e4e9f0;
        padding-bottom: 16px;
        align-items: center;
    }

    .jg-review-card__bonuses{
        border-bottom: 0;
        height: auto;
    }
}
