.toplist-cardplayer__wrapper {
    margin: 24px 0;
}

.toplist-cardplayer__offers {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toplist-cardplayer__offer {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
    border: 1px solid #CBCBCB;
    border-radius: 2px;
    background: #FFFFFF;
    gap: 16px;
}

.toplist-cardplayer__offer:first-of-type {
    border-color: #070707;
    background: #FFFBF0;
}

.toplist-cardplayer__offer.hidden {
    display: none;
}

.toplist-cardplayer__offer-inner {
    position: relative;
    display: grid;
    width: 100%;
    grid-template-columns: 130px auto 153px;
    grid-template-rows: auto auto 1fr;
    grid-auto-flow: row;
    grid-template-areas:
    "logo brand-name actions"
    "logo title actions"
    "logo features actions";
    gap: 6px 24px;
}

.toplist-cardplayer__offer-label-wrapper {
    position: absolute;
    top: -7px;
    left: -26px;
    display: flex;
    align-items: center;
    width: fit-content;
    height: 20px;
    padding: 0 8px 0 9px;
    user-select: none;
    border-radius: 3px 3px 3px 0;
    background: #070707;
    gap: 8px;
}

.toplist-cardplayer__title-prefix-icon {
    width: 27px;
    height: 27px;
}

.toplist-cardplayer__offer-label-highlight {
    font-family: var(--bm-font-family);
    font-size: 10px;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #FFFFFF;
}

.toplist-cardplayer__offer-label-wrapper:after {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 6px;
    height: 8px;
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='9' viewBox='0 0 6 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8.5L0 0.5H6V8.5Z' fill='%234E4E4E'/%3E%3C/svg%3E%0A");
    background-position: center;
}

.toplist-cardplayer__offer-logo-wrapper {
    grid-area: logo;
}

.toplist-cardplayer__offer-logo {
    display: block;
}

.toplist-cardplayer__offer-logo img {
    width: 130px;
    height: 62px;
    object-fit: contain;
}

.toplist-cardplayer__offer-rating {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
}

.toplist-cardplayer__offer-rating-score {
    font-family: var(--bm-font-family);
    font-size: 16px;
    font-weight: 700;
    line-height: 100%;
    display: flex;
    align-items: center;
    color: #333333;
    gap: 2px;
}

.toplist-cardplayer__offer-rating-score:before {
    position: relative;
    width: 18px;
    height: 16px;
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='19' height='17' viewBox='0 0 19 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.0981 14.6641C11.9943 14.6645 11.892 14.64 11.7996 14.5927L8.49024 12.8602L5.1809 14.5927C5.07344 14.6492 4.95228 14.6744 4.8312 14.6655C4.71011 14.6566 4.59397 14.6139 4.49595 14.5422C4.39793 14.4706 4.32199 14.3729 4.27674 14.2602C4.2315 14.1475 4.21877 14.0244 4.24001 13.9049L4.8889 10.2517L2.21546 7.6561C2.13206 7.57286 2.07289 7.46848 2.04431 7.35416C2.01573 7.23984 2.01882 7.1199 2.05324 7.00721C2.09085 6.89188 2.16004 6.78941 2.25294 6.71141C2.34584 6.63341 2.45875 6.58303 2.57884 6.56596L6.27752 6.02738L7.90624 2.69857C7.95938 2.58886 8.04234 2.49633 8.14563 2.43159C8.24892 2.36686 8.36835 2.33252 8.49024 2.33252C8.61215 2.33252 8.73158 2.36686 8.83487 2.43159C8.93816 2.49633 9.02114 2.58886 9.07424 2.69857L10.7224 6.02089L14.4211 6.55947C14.5412 6.57654 14.6541 6.62693 14.747 6.70493C14.84 6.78292 14.9091 6.88539 14.9467 7.00072C14.9812 7.11341 14.9843 7.23335 14.9556 7.34767C14.9271 7.46199 14.8679 7.56637 14.7845 7.64961L12.111 10.2452L12.7599 13.8984C12.7832 14.0201 12.771 14.1458 12.725 14.2608C12.679 14.3758 12.6011 14.4752 12.5004 14.5473C12.3829 14.6297 12.2414 14.6707 12.0981 14.6641Z' fill='%230F9960'/%3E%3C/svg%3E%0A");
}

.toplist-cardplayer__offer-rating-max {
    font-family: var(--bm-font-family);
    font-size: 12px;
    font-weight: 700;
    line-height: 14px;
    color: #718096;
}

.toplist-cardplayer__offer-brand-name-wrapper {
    font-family: var(--bm-font-family);
    font-size: 12px;
    font-weight: 700;
    line-height: 100%;
    display: flex;
    text-transform: uppercase;
    color: #718096;
    grid-area: brand-name;
    gap: 6px;
}

.toplist-cardplayer__offer-title {
    grid-area: title;
}

.toplist-cardplayer__offer-title,
.toplist-cardplayer__offer-title p {
    font-family: var(--bm-font-family);
    font-size: 20px;
    font-weight: 700;
    line-height: 26px;
    margin: 0;
    padding: 0;
    color: #333333;
}

.toplist-cardplayer__offer-key-features {
    display: flex;
    flex-direction: column;
    margin: 0 !important;
    list-style: none;
    grid-area: features;
    gap: 2px;
}

.toplist-cardplayer__offer-key-features li {
    font-family: var(--bm-font-family);
    font-size: 14px;
    font-weight: 500;
    line-height: 140%;
    display: flex;
    align-items: center;
    padding-bottom: 0 !important;
    padding-left: 19px;
    color: #434959;
    background-image: url("data:image/svg+xml,%3Csvg width='13' height='10' viewBox='0 0 13 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_244_486)'%3E%3Cpath d='M11.1816 1.49976L4.18157 8.49976L0.999756 5.31794' stroke='%230F9960' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_244_486'%3E%3Crect y='0.5' width='13' height='9' rx='4.5' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: top 5px left 0;
}

.toplist-cardplayer__offer-actions {
    grid-area: actions;
}

.toplist-cardplayer__offer-cta-btn {
    font-family: var(--bm-font-family);
    font-size: 18px;
    font-weight: 700;
    line-height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    padding: 0 12px;
    color: #FFFFFF;
    border-radius: 5px;
    background: #990000;
    gap: 8px;
}

.toplist-cardplayer__offer-cta-btn:before {
    position: relative;
    width: 16px;
    height: 16px;
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='17' viewBox='0 0 16 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.5 8.49998L0.499999 15.4282L0.5 1.57178L12.5 8.49998Z' fill='white'/%3E%3C/svg%3E%0A");
}

.toplist-cardplayer__offer-cta-btn:hover {
    text-decoration: none;
    color: #FFFFFF;
    background: #780000;
}

.toplist-cardplayer__show-more-btn {
    font-family: var(--bm-alt-font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 24px auto 0;
    padding: 13px 16px;
    color: #101214;
    border: 2px solid #101214;
    border-radius: 7px;
    gap: 8px;
}

.toplist-cardplayer__show-more-btn:hover {
    cursor: pointer;
    color: #FFFFFF;
    background: #101214;
}

.toplist-cardplayer__show-more-btn:hover svg path {
    stroke: #FFFFFF;
}

@media screen and (min-width: 992px) {
    .toplist-cardplayer__offer-inner {
        height: auto;
        min-height: 101px;
    }

    .toplist-cardplayer__offer.w-label .toplist-cardplayer__offer-inner {
        min-height: 116px;
    }

    .toplist-cardplayer__offer.w-label .toplist-cardplayer__offer-logo,
    .toplist-cardplayer__offer.w-label .toplist-cardplayer__offer-rating {
        margin-top: 15px;
    }

    .toplist-cardplayer__offer-rating {
        position: absolute;
        top: 85px;
        left: 0;
        width: 130px;
        height: 16px;
    }
}

@media screen and (max-width: 991px) {
    .toplist-cardplayer__wrapper {
        margin: 32px 0;
    }

    .toplist-cardplayer__offer-inner {
        grid-template-columns: 146px auto;
        grid-template-rows: auto auto 1fr;
        grid-auto-flow: row;
        grid-template-areas:
        "logo brand-name"
        "logo rating"
        "title title"
        "actions actions"
        "features features";
        gap: 8px 12px;
    }

    .toplist-cardplayer__offer-label-wrapper {
        top: -11px;
    }

    .toplist-cardplayer__offer-logo img {
        width: 180px;
        height: 70px;
        object-position: left;
    }

    .toplist-cardplayer__offer-brand-name-wrapper {
        align-self: end;
        justify-self: end;
    }

    .toplist-cardplayer__offer-rating {
        position: relative;
        align-self: start;
        margin-top: 2px;
        grid-area: rating;
        justify-self: end;
    }

    .toplist-cardplayer__offer-title,
    .toplist-cardplayer__offer-title p {
        font-size: 18px;
    }

    .toplist-cardplayer__offer-cta-btn {
        height: 50px;
    }
}
