@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&family=Open+Sans&display=swap');

.toplist-poker-v2__wrapper {
    margin: 40px 0;
}

.toplist-poker-v2__offers {
    display: flex;
    flex-direction: column;
    counter-reset: bm-toplist-poker-v2-offers-list;
    gap: 8px;
}

.toplist-poker-v2__offer.hidden {
    display: none;
}

.toplist-poker-v2__offer-inner {
    display: grid;
    padding: 18px;
    border: 2px solid #101214;
    border-radius: 4px;
    background: #FFF;
    grid-template-columns: 250px auto 250px;
    grid-template-rows: auto auto;
    gap: 20px 20px;
    grid-template-areas:
    "logo head extra"
    "logo body extra";
}

.toplist-poker-v2__offer-logo-wrapper {
    position: relative;
    overflow: hidden;
    margin: -18px 0 -18px -18px;
    background: #101214;
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: contain;
    grid-area: logo;
}

.toplist-poker-v2__offer-logo-wrapper:before {
    background: linear-gradient(179deg, #1C1C1C 42.11%, rgba(28, 28, 28, 0.00) 99.51%);
}

.toplist-poker-v2__offer-logo {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0D0E12 42%, rgb(0 0 0 / 0%) 100%);
}

.toplist-poker-v2__offer-logo-inner {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.toplist-poker-v2__offer-logo img {
    width: 200px;
    height: 96px;
    margin-top: 22px;
    object-fit: contain;
}

.toplist-poker-v2__offer-background {
    position: absolute;
    z-index: 0;
    bottom: 0;
    width: 100%;
}

.toplist-poker-v2__offer-background img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.toplist-poker-v2__offer-label {
    position: absolute;
    z-index: 2;
    top: 5px;
    left: 5px;
    display: flex;
}

.toplist-poker-v2__offer-label:before {
    font-family: "Lato", sans-serif;
    font-size: 14px;
    font-weight: 700;
    font-style: normal;
    line-height: 125%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    content: counter(bm-toplist-poker-v2-offers-list);
    counter-increment: bm-toplist-poker-v2-offers-list;
    text-align: center;
    color: #FFF;
    border-radius: 2px;
    background: #3D4155;
}

.toplist-poker-v2__offer-label-highlight {
    font-family: "Lato", sans-serif;
    font-size: 12px;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 24px;
    margin-left: -2px;
    padding: 0 8px 0 10px;
    letter-spacing: 0.36px;
    text-transform: uppercase;
    color: #FFF;
    border-radius: 0 4px 4px 0;
    background: #21242E;
}

.toplist-poker-v2__offer-head {
    position: relative;
    margin-right: -4px;
    grid-area: head;
}

.toplist-poker-v2__offer-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-right: -4px;
    padding-top: 16px;
    grid-area: body;
    gap: 32px;
}

.toplist-poker-v2__offer-brand-name {
    font-family: "Lato", sans-serif;
    font-size: 12px;
    font-weight: 700;
    font-style: normal;
    line-height: 150%;
    margin-bottom: 8px;
    letter-spacing: 0.36px;
    text-transform: uppercase;
    color: #404040;
}

.toplist-poker-v2__offer-title,
.toplist-poker-v2__offer-title p {
    font-family: "Lato", sans-serif;
    font-size: 24px;
    font-weight: 700;
    font-style: normal;
    line-height: 28.8px;
    display: block;
    width: fit-content;
    margin-bottom: 0;
    text-transform: capitalize;
    color: #060606;
}

.toplist-poker-v2__offer-title p {
    display: inline;
}

.toplist-poker-v2__offer-title img {
    vertical-align: bottom;
}

.toplist-poker-v2__cards-icon-before {
    margin-right: 6px;
}

.toplist-poker-v2__cards-icon-after {
    margin-left: 6px;
}

.toplist-poker-v2__offer-rating-wrapper {
    display: flex;
    align-items: center;
    margin-top: 8px;
    gap: 8px;
}

.toplist-poker-v2__offer-rating-wrapper img.star_rating_img {
    width: 93px;
    height: 14px;
    object-fit: contain;
}

.toplist-poker-v2__offer-rating {
    font-family: "Lato", sans-serif;
    font-size: 14px;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 24px;
    text-align: center;
    color: #101214;
    border: 1px solid #CBCBCB;
    border-radius: 2px;
    background: #F1F2F4;
}

.toplist-poker-v2__offer-body-subtitle {
    font-family: "Lato", sans-serif;
    font-size: 12px;
    font-weight: 700;
    font-style: normal;
    line-height: 150%;
    margin-bottom: 4px;
    letter-spacing: 0.36px;
    text-transform: uppercase;
    color: #404040;
}

.toplist-poker-v2__offer-key-features ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 4px;
}

.toplist-poker-v2__offer-key-features li {
    font-family: 'Open Sans';
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    line-height: 24px;
    padding-bottom: 0 !important;
    padding-left: 22px;
    color: #101214;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='7.5' cy='7.50024' r='5.5' fill='%23101214'/%3E%3Ccircle cx='7.5' cy='7.50024' r='3' stroke='white'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: top 5px left 0;
}

.toplist-poker-v2__offer-buttons {
    display: flex;
    align-items: center;
    max-width: 400px;
    gap: 8px;
}

.toplist-poker-v2__offer-cta-btn-icon {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M16 12.5L8 18.2631V6.73682L16 12.5Z' fill='white'/%3E%3C/svg%3E");
}

.toplist-poker-v2__offer-cta-btn {
    font-family: "Lato", sans-serif;
    font-size: 16px;
    font-weight: 800;
    font-style: normal;
    line-height: 1;
    display: flex;
    align-items: center;
    align-self: stretch;
    justify-content: center;
    width: calc(50% - 4px);
    min-width: 120px;
    height: 44px;
    padding: 0 18px;
    text-align: center;
    text-transform: uppercase;
    color: var(--bm-cta-button-color);
    border-radius: 24px;
    background: var(--bm-cta-button-background);
}

.toplist-poker-v2__offer-cta-btn:hover {
    text-decoration: none;
    color: var(--bm-cta-button-hover-color);
    background: var(--bm-cta-button-hover-background);
}

.toplist-poker-v2__offer-review-btn {
    font-family: "Lato", sans-serif;
    font-size: 16px;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(50% - 4px);
    min-width: 120px;
    height: 44px;
    padding: 0 18px;
    text-align: center;
    text-transform: uppercase;
    color: #101214;
    border-radius: 24px;
    background: #ECEFF5;
    gap: 8px;
}

.toplist-poker-v2__offer-review-btn:hover {
    text-decoration: none;
    color: #101214;
}

.toplist-poker-v2__offer-extra {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-left: 20px;
    grid-area: extra;
    gap: 12px;
}

.toplist-poker-v2__offer-rakeback {
    font-family: "Lato", sans-serif;
    font-size: 18px;
    font-weight: 700;
    font-style: normal;
    line-height: 140%;
    display: flex;
    align-items: center;
    text-transform: capitalize;
    color: #060606;
    gap: 6px;
}

.toplist-poker-v2__offer-games {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.toplist-poker-v2__offer-games-subtitle {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.toplist-poker-v2__offer-games-all {
    position: relative;
}

.toplist-poker-v2__offer-games-all-btn,
.toplist-poker-v2__offer-games-show-btn {
    font-family: "Lato", sans-serif;
    font-size: 12px;
    font-weight: 700;
    font-style: normal;
    line-height: 150%;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.36px;
    text-transform: uppercase;
    color: #C0180C;
    text-decoration-line: underline;
}

.toplist-poker-v2__offer-games-all-btn:hover + .toplist-poker-v2__offer-games-all-list {
    display: flex !important;
}

.toplist-poker-v2__offer-games-all-list {
    position: absolute;
    z-index: 10;
    top: 27px;
    right: -69px;
    display: flex;
    flex-wrap: wrap;
    width: 280px;
    padding: 12px 16px;
    border-radius: 4px;
    background: #FFF;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14), 0 8px 32px 0 rgba(0, 0, 0, 0.10);
}

.toplist-poker-v2__offer-games-all-list:before {
    position: absolute;
    right: 69px;
    bottom: 100%;
    margin-left: -8px;
    content: '';
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent #FFF transparent;
    border-top-width: 0;
}

.toplist-poker-v2__offer-game-all {
    display: flex;
    align-items: center;
    width: 50%;
    min-height: 40px;
    padding: 8px 6px;
    border-radius: 2px;
    background: #FFF;
    gap: 8px;
}

.toplist-poker-v2__offer-game-all-darken {
    opacity: 40%;
}

.toplist-poker-v2__offer-game-all-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.toplist-poker-v2__offer-game-all-name {
    font-family: "Lato", sans-serif;
    font-size: 10px;
    font-weight: 400;
    font-style: normal;
    line-height: 120%;
    display: -webkit-box;
    overflow: hidden;
    letter-spacing: 0.3px;
    text-transform: capitalize;
    text-overflow: ellipsis;
    color: #060606;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.toplist-poker-v2__offer-game {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: calc(100% / 3 - (4px * 2 / 3));
    height: 64px;
    padding: 7px 5px;
    cursor: pointer;
    border: 1px solid #E8E8E8;
    border-radius: 2px;
    background: #FFF;
    gap: 4px;
}

.toplist-poker-v2__offer-game:nth-child(n+10) {
    display: none;
}

.toplist-poker-v2__offer-game-icon,
.toplist-poker-v2__offer-game-icon img {
    width: 20px;
    height: 20px;
}

.toplist-poker-v2__offer-game-name {
    font-family: "Lato", sans-serif;
    font-size: 10px;
    font-weight: 400;
    font-style: normal;
    line-height: 120%;
    display: -webkit-box;
    overflow: hidden;
    text-align: center;
    letter-spacing: 0.3px;
    text-transform: capitalize;
    text-overflow: ellipsis;
    color: #060606;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.toplist-poker-v2__offer-game:hover .toplist-poker-v2__offer-game-tooltip {
    display: flex !important;
}

.toplist-poker-v2__offer-game-tooltip {
    font-family: "Lato", sans-serif;
    font-size: 11px;
    font-weight: 400;
    font-style: normal;
    line-height: 150%;
    position: absolute;
    z-index: 10;
    top: 52px;
    left: 50%;
    display: flex;
    align-items: flex-start;
    align-self: stretch;
    width: 118px;
    padding: 12px 16px;
    transform: translateX(-50%);
    text-align: center;
    color: #060606;
    border-radius: 4px;
    background: #FFF;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14), 0 8px 32px 0 rgba(0, 0, 0, 0.10);
}

.toplist-poker-v2__offer-game-tooltip:before {
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -8px;
    content: '';
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent #FFF transparent;
    border-top-width: 0;
}

.toplist-poker-v2__offer-terms {
    font-family: "Lato", sans-serif;
    font-size: 10px;
    font-weight: 400;
    font-style: normal;
    line-height: 110%;
    margin-top: 4px;
    color: #404040;
}

.toplist-poker-v2__show-more-btn {
    font-family: "Lato", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 50px;
    margin: 16px auto 0;
    padding: 0 16px;
    color: #060606;
    border: 2px solid #060606;
    border-radius: 7px;
    gap: 8px;
}

.toplist-poker-v2__show-more-btn:hover {
    cursor: pointer;
    color: #FFFFFF;
    background: #060606;
}

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

.toplist-poker-v2__offer-dark .toplist-poker-v2__offer-wrapper {
    padding: 8px 0;
    border-radius: 4px;
    background: linear-gradient(90deg, #5E04B8 0.03%, #C0180C 99.97%);
}

.toplist-poker-v2__offer-dark .toplist-poker-v2__offer-inner {
    border-top: unset;
    border-bottom: unset;
    border-radius: 0;
    background: #0D0E12;
}

.toplist-poker-v2__offer-dark .toplist-poker-v2__offer-head:after,
.toplist-poker-v2__offer-dark .toplist-poker-v2__offer-extra:before {
    border-color: #35394A;
}

.toplist-poker-v2__offer-dark .toplist-poker-v2__offer-brand-name,
.toplist-poker-v2__offer-dark .toplist-poker-v2__offer-body-subtitle {
    color: #A6AABD;
}

.toplist-poker-v2__offer-dark .toplist-poker-v2__offer-title,
.toplist-poker-v2__offer-dark .toplist-poker-v2__offer-title p,
.toplist-poker-v2__offer-dark .toplist-poker-v2__offer-key-features li,
.toplist-poker-v2__offer-dark .toplist-poker-v2__offer-rakeback {
    color: #FFF;
}

.toplist-poker-v2__offer-dark .toplist-poker-v2__offer-key-features li {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Ccircle cx='7.5' cy='7.50024' r='5.5' fill='%23A6AABD'/%3E%3Ccircle cx='7.5' cy='7.50024' r='3' stroke='%2335394A'/%3E%3C/svg%3E");
}

.toplist-poker-v2__offer-dark .toplist-poker-v2__offer-rating,
.toplist-poker-v2__offer-dark .toplist-poker-v2__offer-game {
    color: #FFF;
    border-color: #35394A;
    background: #21242E;
}

.toplist-poker-v2__offer-dark .toplist-poker-v2__offer-game-name {
    color: #FFF;
}

.toplist-poker-v2__offer-dark .toplist-poker-v2__offer-review-btn {
    color: #FFF;
    background: #21242E;
}

@media screen and (min-width: 992px) {
    .toplist-poker-v2__offer-head:after {
        position: absolute;
        bottom: -19px;
        left: 0;
        width: 100%;
        content: '';
        border-bottom: 1px solid #CBCBCB;
    }

    .toplist-poker-v2__offer-extra:before {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        content: '';
        border-left: 1px solid #CBCBCB;
    }

    .toplist-poker-v2__offer-logo-inner {
        background: unset !important;
    }

    .bm-tiny .toplist-poker-v2__offer-inner {
        grid-template-columns: 220px auto 200px;
        grid-template-areas:
        "logo head head"
        "logo body extra";
    }

    .bm-tiny .toplist-poker-v2__offer-extra {
        margin-top: 16px;
    }

    .bm-tiny .toplist-poker-v2__offer-game:nth-child(n+7) {
        display: none;
    }
}

@media screen and (max-width: 991px) {
    .toplist-poker-v2__wrapper {
        margin: 24px 0;
    }

    .toplist-poker-v2__offer-inner {
        padding: 14px;
        gap: 12px;
        grid-template-columns: auto;
        grid-template-rows: 106px auto;
        grid-template-areas:
        "logo"
        "head"
        "extra"
        "body";
    }

    .toplist-poker-v2__offer-logo-wrapper {
        margin: -14px -14px 0 -14px;
    }

    .toplist-poker-v2__offer-logo {
        background: unset !important;
    }

    .toplist-poker-v2__offer-logo-inner {
        justify-content: flex-start;
        background: linear-gradient(90deg, #0D0D0E 62%, rgba(0, 0, 0, 0.00) 100%);
    }

    .toplist-poker-v2__offer-logo img {
        width: 180px;
        height: 86px;
    }

    .toplist-poker-v2__offer-background {
        right: 0;
        width: auto;
    }

    .toplist-poker-v2__offer-background img {
        width: 140px;
        height: 120px;
        object-fit: cover;
    }

    .toplist-poker-v2__offer-head {
        margin: 4px 0 0;
    }

    .toplist-poker-v2__offer-title,
    .toplist-poker-v2__offer-title p {
        font-size: 22px;
    }

    .toplist-poker-v2__offer-extra {
        margin-top: 4px;
        padding-left: 0;
    }

    .toplist-poker-v2__offer-rakeback-wrapper {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .toplist-poker-v2__offer-rakeback-wrapper .toplist-poker-v2__offer-body-subtitle {
        margin-bottom: 0;
    }

    .toplist-poker-v2__offer-rakeback {
        font-size: 14px;
    }

    .toplist-poker-v2__offer-games-wrapper {
        padding: 9px 0;
        border-top: 1px solid #CBCBCB;
        border-bottom: 1px solid #CBCBCB;
    }

    .toplist-poker-v2__offer-games-subtitle {
        margin-bottom: 0;
    }

    .toplist-poker-v2__offer-games-all-btn {
        display: none;
    }

    .toplist-poker-v2__offer-games-show-btn {
        line-height: 1;
        display: flex !important;
        align-items: center;
        gap: 2px;
    }

    .toplist-poker-v2__offer-games {
        display: none;
    }

    .toplist-poker-v2__offer-games.visible {
        display: flex;
        margin-top: 8px;
    }

    .toplist-poker-v2__offer-game:nth-child(n+6) {
        display: none;
    }

    .toplist-poker-v2__offer-game {
        width: calc(100% / 5 - (4px * 4 / 5));
    }

    .toplist-poker-v2__offer-games-show-all {
        font-family: "Lato", sans-serif;
        font-size: 12px;
        font-weight: 700;
        font-style: normal;
        line-height: 150%;
        display: block !important;
        margin-top: 8px;
        text-align: center;
        letter-spacing: 0.36px;
        text-transform: uppercase;
        color: #060606;
        text-decoration-line: underline;
    }

    .toplist-poker-v2__offer-body {
        margin-right: 0;
        padding-top: 0;
        gap: 12px;
    }

    .toplist-poker-v2__offer-key-features li {
        font-size: 14px;
    }

    .toplist-poker-v2__offer-buttons {
        flex-direction: column;
        max-width: unset;
    }

    .toplist-poker-v2__offer-cta-btn,
    .toplist-poker-v2__offer-review-btn {
        width: 100%;
    }

    .toplist-poker-v2__offer-dark .toplist-poker-v2__offer-games-show-all {
        color: #FFF;
    }
}
