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

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

.toplist-esportsnet__offers {
    display: flex;
    flex-direction: column;
    counter-reset: toplist-esportsnet-counter 0;
}

.toplist-esportsnet__filter-tags-json {
    box-sizing: border-box;
}

.toplist-esportsnet__filter-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 16px 0;
    border-bottom: 1px solid #8ce400;
}

.toplist-esportsnet__filter-tag {
    font-family: Rajdhani, sans-serif;
    font-size: 18px;
    font-weight: 600;
    font-style: normal;
    line-height: 19px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    justify-content: center;
    height: 62px;
    padding: 0 16px;
    cursor: pointer;
    user-select: none;
    text-align: center;
    text-transform: uppercase;
    color: #585757;
    background: #fff;
}

.toplist-esportsnet__filter-tag.filter-tag-active {
    font-weight: 700;
    color: #1f2128;
    border-bottom: 2px solid #8ce400;
}

.toplist-esportsnet__offer {
    position: relative;
    display: grid;
    margin-bottom: 8px;
    counter-increment: toplist-esportsnet-counter 1;
    border: 0.5px solid #b6b6b6;
    border-radius: 4px;
    grid-template-areas: 'main info';
    grid-template-columns: 288px auto;
    grid-template-rows: auto;
}

.toplist-esportsnet__offer:before {
    font-family: Rajdhani, sans-serif;
    font-size: 16px;
    font-weight: 700;
    font-style: normal;
    line-height: 17.6px;
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 4px 0 2px;
    content: counter(toplist-esportsnet-counter);
    text-align: center;
    color: #649f07;
    border-radius: 75px;
    background: #fff;
    box-shadow:
        0 0 4px 0 #0000000a,
        0 2px 4px 0 #0000000a;
}

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

.toplist-esportsnet__offer-main {
    display: grid;
    padding: 0 16px 16px;
    border-radius: 3.5px 0 0 3.5px;
    gap: 3.5px;
    grid-area: main;
    grid-template-areas:
        'rating'
        'logo'
        'actions';
    grid-template-columns: auto;
    grid-template-rows: auto;
}

.toplist-esportsnet__offer-rating-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    margin: 0 auto;
    padding: 0 16px;
    border-radius: 0 0 16px 16px;
    background: #000000bf;
    grid-area: rating;
}

.toplist-esportsnet__offer-rating-score {
    font-family: Rajdhani, sans-serif;
    font-size: 16px;
    font-weight: 700;
    font-style: normal;
    line-height: 17.6px;
    position: relative;
    top: 1px;
    color: #fff;
}

.toplist-esportsnet__offer-rating-wrapper img {
    width: max-content;
    height: 12px;
    margin-left: 4px;
}

.toplist-esportsnet__offer-review-link {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    font-style: normal;
    line-height: 13.75px;
    margin-left: 8px;
    text-decoration: underline;
    text-transform: capitalize;
    color: #f0f4f6;
}

.toplist-esportsnet__offer-review-link:hover {
    text-decoration: none;
    color: #f0f4f6;
}

.toplist-esportsnet__offer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    height: 120px;
    margin: 0 auto;
}

.toplist-esportsnet__offer-logo img {
    width: 250px;
    height: 120px;
    object-fit: contain;
}

.toplist-esportsnet__offer-actions {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    gap: 8px;
    grid-area: actions;
}

.toplist-esportsnet__offer-actions.actions-mobile {
    display: none;
}

.toplist-esportsnet__offer-coupon-code-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 32px;
    padding: 0 44px 0 16px;
    cursor: pointer;
    border: 1px solid #8ce400;
    border-radius: 4px;
    background: #fff;
}

.toplist-esportsnet__offer-coupon-code-wrapper:hover {
    background: #f0f4f6;
}

.toplist-esportsnet__offer-coupon-code-wrapper:after {
    position: absolute;
    right: 16px;
    width: 16px;
    height: 16px;
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='17' viewBox='0 0 16 17' fill='none'%3E%3Cg clip-path='url(%23clip0_4046_432)'%3E%3Cpath d='M11 14.5V15.75C11 16.1642 10.6642 16.5 10.25 16.5H1.75C1.33578 16.5 1 16.1642 1 15.75V4.25C1 3.83578 1.33578 3.5 1.75 3.5H4V12.75C4 13.715 4.78503 14.5 5.75 14.5H11ZM11 3.75V0.5H5.75C5.33578 0.5 5 0.835781 5 1.25V12.75C5 13.1642 5.33578 13.5 5.75 13.5H14.25C14.6642 13.5 15 13.1642 15 12.75V4.5H11.75C11.3375 4.5 11 4.1625 11 3.75ZM14.7803 2.78034L12.7197 0.719656C12.579 0.579013 12.3882 0.500001 12.1893 0.5H12V3.5H15V3.31066C15 3.11175 14.921 2.92099 14.7803 2.78034Z' fill='%23649F07'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_4046_432'%3E%3Crect width='16' height='16' fill='white' transform='translate(0 0.5)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}

.toplist-esportsnet__offer-coupon-code {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    font-style: normal;
    line-height: 24px;
    text-align: center;
    color: #000;
}

.toplist-esportsnet__offer-cta-btn {
    font-family: Rajdhani, sans-serif;
    font-size: 20px;
    font-weight: 700;
    font-style: normal;
    line-height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    padding: 16px;
    text-align: center;
    text-transform: uppercase;
    color: #1f2128;
    border-radius: 4px;
    background: #8ce400;
}

.toplist-esportsnet__offer-cta-btn:hover {
    text-decoration: unset;
    color: #1f2128;
    background: #7cbc17;
}

.toplist-esportsnet__offer-info {
    display: grid;
    padding: 16px 16px 8px;
    gap: 8px;
    grid-area: info;
    grid-template-areas:
        'title'
        'key-features'
        'terms';
    grid-template-columns: auto;
    grid-template-rows: auto;
}

.toplist-esportsnet__offer-title {
    font-family: Rajdhani, sans-serif;
    font-size: 26px;
    font-weight: 700;
    font-style: normal;
    line-height: 28px;
    text-transform: uppercase;
    color: #111;
    grid-area: title;
}

.toplist-esportsnet__offer-key-features {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 16px !important;
    list-style: none !important;
    gap: 8px;
    grid-area: key-features;
}

.toplist-esportsnet__offer-key-features li {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    line-height: 24px;
    position: relative;
    display: flex;
    padding-left: 20px;
    text-transform: capitalize;
    color: #1f2128cc;
}

.toplist-esportsnet__offer-key-features li:before {
    position: absolute;
    top: 5px;
    left: 0;
    display: inline-block;
    width: 16px;
    height: 16px;
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='13' viewBox='0 0 6 13' fill='none'%3E%3Cg clip-path='url(%23clip0_4046_449)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.75049 7.14001L1.45044 11.74C1.37394 11.8228 1.28124 11.8888 1.17798 11.934C1.07472 11.9791 0.96317 12.0024 0.850464 12.0024C0.737758 12.0024 0.626329 11.9791 0.523071 11.934C0.419814 11.8888 0.326985 11.8228 0.250488 11.74C0.0911101 11.563 0.0029301 11.3332 0.00293009 11.095C0.00293008 10.8568 0.0911101 10.627 0.250488 10.45L3.94043 6.5L0.250488 2.55005C0.0911876 2.37496 0.0029297 2.14674 0.00292969 1.91003C0.00292968 1.67332 0.0911876 1.44511 0.250488 1.27002C0.326241 1.18579 0.418664 1.11827 0.521972 1.07178C0.62528 1.02529 0.73718 1.00083 0.850463 1C0.963899 0.999893 1.07612 1.02389 1.17956 1.07044C1.28301 1.11698 1.37529 1.18505 1.45044 1.27002L5.74048 5.85999H5.75049C5.90979 6.03507 5.99805 6.26329 5.99805 6.5C5.99805 6.73671 5.90979 6.96493 5.75049 7.14001Z' fill='%237CBC17'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_4046_449'%3E%3Crect width='6' height='12' fill='white' transform='translate(0 0.5)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.toplist-esportsnet__offer-terms,
.toplist-esportsnet__offer-terms p {
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    font-weight: 400;
    font-style: normal;
    line-height: 13px;
    margin: auto 0 0;
    color: #585757;
    grid-area: terms;
}

.toplist-esportsnet__show-more-btn {
    font-family: Rajdhani, sans-serif;
    font-size: 16px;
    font-weight: 700;
    font-style: normal;
    line-height: 17.6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 48px;
    margin: 8px auto;
    padding: 16px;
    text-align: center;
    text-transform: uppercase;
    color: #216fdb;
    border: 2px solid #216fdb;
    border-radius: 4px;
    background: #fff;
}

.toplist-esportsnet__show-more-btn:hover {
    cursor: pointer;
    color: #111;
    border-color: #111;
}

@media screen and (width <= 991px) {
    .toplist-esportsnet__filter-wrapper {
        overflow-x: scroll;
        flex-wrap: nowrap;
        width: 100vw;
        margin: 0 -16px 16px;
        padding: 0 16px;
    }

    .toplist-esportsnet__filter-wrapper::-webkit-scrollbar {
        display: none;
    }

    .toplist-esportsnet__offer {
        grid-template-areas:
            'main'
            'info';
        grid-template-columns: auto;
    }

    .toplist-esportsnet__offer:before {
        left: 5px;
    }

    .toplist-esportsnet__offer-main {
        padding: 0;
        border-radius: 3.5px 3.5px 0 0;
        gap: 0;
        grid-template-areas:
            'rating'
            'logo';
    }

    .toplist-esportsnet__offer-logo {
        width: 100%;
        height: 88px;
    }

    .toplist-esportsnet__offer-logo img {
        width: 183.333px;
        height: 88px;
    }

    .toplist-esportsnet__offer-actions {
        display: none;
    }

    .toplist-esportsnet__offer-actions.actions-mobile {
        display: flex;
    }

    .toplist-esportsnet__offer-coupon-code-wrapper {
        height: 40px;
        padding: 0 16px;
    }

    .toplist-esportsnet__offer-coupon-code-wrapper:after {
        width: 14px;
    }

    .toplist-esportsnet__offer-coupon-code {
        font-size: 18px;
        line-height: 32px;
    }

    .toplist-esportsnet__offer-info {
        grid-template-areas:
            'title'
            'actions'
            'key-features'
            'terms';
    }

    .toplist-esportsnet__offer-title {
        text-align: center;
    }

    .toplist-esportsnet__offer-key-features {
        margin-bottom: 0 !important;
        padding-top: 8px;
        gap: 4px;
    }

    .toplist-esportsnet__offer-terms,
    .toplist-esportsnet__offer-terms p {
        margin-top: unset;
        padding-top: 8px;
    }
}
