@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

.toplist-casino-listing-24__wrapper {
    margin-bottom: 30px;
}

.toplist-casino-listing-24__offers {
    display: flex;
    flex-direction: column;
    counter-reset: bm-toplist-casino-listing-24-counter;
    gap: 30px;
}

.toplist-casino-listing-24__offer {
    counter-increment: bm-toplist-casino-listing-24-counter;
}

.toplist-casino-listing-24__offer.hidden {
    display: none;
}

.brand-card {
    position: relative;
    display: grid;
    padding: 15px 0;
    transition: all 0.3s ease;
    animation: fadeIn ease 1s;
    border: 1px solid #efe5e5;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 2px 12px 0 #00000026;
    gap: 20px 30px;
    grid-template-areas:
        'intro intro intro'
        'logo title actions';
    grid-template-columns: 320px auto 360px;
    grid-template-rows: 1fr;
}

.brand-card-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px 10px;
    border-bottom: 1px solid #bdbdbd;
    grid-area: intro;
}

.title {
    font-family: Montserrat, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.title:before {
    font-family: Montserrat, sans-serif;
    font-size: 18px;
    font-weight: 500;
    font-style: normal;
    line-height: normal;
    margin-right: 9px;
    padding-left: 5px;
    content: counter(bm-toplist-casino-listing-24-counter) '.';
    color: #000;
}

.rating-review-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rating-box:before {
    font-size: 22px;
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 2px;
    content: '\2605';
    color: #ffcb00;
}

.rating-box strong {
    font-family: Montserrat, sans-serif;
    font-size: 18px;
    font-weight: 600;
    font-style: normal;
    line-height: normal;
    text-align: center;
    color: #000;
}

.rating-box span {
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    line-height: normal;
    margin-left: 4px;
    color: #000;
}

.logo {
    width: 240px;
    height: 120px;
    margin-left: 20px;
    border-radius: 6px;
}

.logo img {
    width: 240px;
    height: 120px;
    padding: 6px;
    border-radius: inherit;
    object-fit: cover;
}

.dynamic-field-box {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
    border-radius: 6px;
    background-color: #f8f8f8ff;
    gap: 10px;
    grid-area: title;
}

.dynamic-field-box .value,
.dynamic-field-box .label {
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: normal;
    text-align: center;
    color: #000;
}

.dynamic-field-box .label {
    font-size: 16px;
    font-weight: 400;
}

.buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.buttons .site {
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    align-content: center;
    width: 100%;
    min-width: 160px;
    padding: 20px 15px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border-radius: 6px;
    background: #35b3db;
}

.buttons .site:hover {
    text-decoration: unset;
    color: #fff;
    background: #30a1c6;
}

.toplist-casino-listing-24__show-more-btn {
    font-family: Montserrat, sans-serif;
    font-size: 19px;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    height: 54px;
    margin: 32px auto 0;
    padding: 16px 32px;
    cursor: pointer;
    text-align: center;
    color: #fff;
    border-radius: 5px;
    background: #35b3db;
    box-shadow: 0 4px 23px 0 #0000003f;
}

.toplist-casino-listing-24__show-more-btn:hover {
    cursor: pointer;
    background: #30a1c6;
}

@media (max-width: 991px) {
    .brand-card {
        padding: 33px 20px 15px;
        gap: 0;
        grid-template-areas:
            'intro'
            'logo'
            'title'
            'actions';
        grid-template-columns: auto;
    }

    .brand-card-intro {
        flex-direction: column;
        justify-content: center;
        padding: 0 0 10px;
    }

    .title {
        font-size: 20px;
        font-weight: 700;
        position: relative;
        width: 100%;
        margin-bottom: 10px;
        padding-left: 20px;
        text-align: center;
    }

    .title:before {
        font-size: 20px;
        font-weight: 700;
        position: absolute;
        top: 2px;
        left: 0;
    }

    .rating-review-box,
    .rating-box {
        display: flex;
        align-items: center;
        height: 32.8px;
    }

    .rating-box:before {
        font-size: 30px;
        position: relative;
        top: -8px;
        width: 30px;
        height: 30px;
    }

    .rating-box strong {
        font-size: 26px;
        font-weight: 700;
    }

    .rating-box span {
        font-size: 18px;
        font-weight: 600;
        position: relative;
        top: 2px;
    }

    .logo {
        width: 100%;
        height: 159.4px;
        margin: 20px 0;
    }

    .logo img {
        width: 100%;
        height: 159.4px;
    }

    .dynamic-field-box {
        padding: 15px;
    }

    .buttons {
        margin-top: 15px;
        margin-right: 0;
    }
}
