.toplist-ct__wrapper {
    margin: 40px 0;
}

.toplist-ct__offers {
    display: flex;
    flex-direction: column;
    counter-reset: bm-toplist-ct-counter;
    gap: 12px;
}

.toplist-ct__offer {
    position: relative;
    display: grid;
    align-items: flex-start;
    padding: 16px 24px 16px 40px;
    border: 1px solid #E8E8E8;
    border-radius: 8px;
    background: #FFFFFF;
    grid-template-columns: 125px auto 176px;
    grid-template-rows: 1fr;
    grid-auto-flow: row;
    grid-template-areas:
    "logo main cta-btn";
    gap: 16px 24px;
}

.toplist-ct__crypto .toplist-ct__offer {
    padding: 20px 24px 20px 40px;
    gap: 4px 24px;
    grid-template-rows: auto 1fr;
    grid-template-areas:
    "logo main cta-btn"
    "logo payments cta-btn";
}

.toplist-ct__offer:first-of-type {
    border-width: 1px 4px 4px 1px;
    border-color: #FABC2C;
    background: #FFFBF0;
}

.toplist-ct__offer:before {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 25px;
    position: absolute;
    top: 23px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 26px;
    padding: 3px 8px;
    content: counter(bm-toplist-ct-counter);
    counter-increment: bm-toplist-ct-counter;
    color: #000000;
    border-radius: 0 8px 8px 0;
    background: #EEEEEE;
    gap: 10px;
}

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

.toplist-ct__offer-logo-wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    grid-area: logo;
    gap: 6px;
}

.toplist-ct__offer-logo-and-partner {
    overflow: hidden;
    border-radius: 8px;
}

.toplist-ct__offer .campaign__partner-label-wrapper {
    justify-content: center;
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 5px 0;
    border-top: 1px solid #4F4F4F;
    background: unset;
    gap: 8px;
}

.toplist-ct__offer .campaign__partner-label-inner {
    width: fit-content;
    padding: 0;
}

.toplist-ct__offer .campaign__partner-label-logo {
    padding: 0;
    border: 0;
}

.toplist-ct__offer .campaign__partner-label-desc {
    color: #FFFFFF;
}

.toplist-ct__offer .campaign__partner-label-brand span {
    font-weight: 800;
    color: #FF0434;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    text-fill-color: unset;
}

.toplist-ct__offer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.toplist-ct__offer-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    grid-area: main;
}

.toplist-ct__offer-brand-name {
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 12px;
    align-self: flex-start;
    text-transform: capitalize;
    color: #718096;
}

.toplist-ct__offer-title,
.toplist-ct__offer-title p {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    display: block;
    margin: 0;
    color: #000000;
}

.toplist-ct__offer-title p {
    display: inline;
}

.toplist-ct__offer-title span {
    color: #D80027;
}

.toplist-ct__offer-key-features {
    display: flex;
    flex-direction: column;
    margin: 0 !important;
    list-style: none;
}

.toplist-ct__offer-key-features li {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    line-height: 26px;
    display: flex;
    align-items: center;
    padding-bottom: 0 !important;
    padding-left: 27px;
    color: #192025;
    background-image: url("data:image/svg+xml,%3Csvg width='17' height='18' viewBox='0 0 17 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M17 9.09998C17 13.7944 13.1944 17.6 8.5 17.6C3.80558 17.6 0 13.7944 0 9.09998C0 4.40555 3.80558 0.599976 8.5 0.599976C13.1944 0.599976 17 4.40555 17 9.09998ZM13.1379 6.11432C13.2648 5.91687 13.2076 5.65391 13.0102 5.52699L12.2952 5.06735C12.0977 4.94042 11.8347 4.99759 11.7078 5.19502L7.45503 11.8105L5.07461 9.03334C4.92186 8.85513 4.65355 8.8345 4.47534 8.98725L3.82997 9.54045C3.65176 9.69319 3.63112 9.96145 3.78388 10.1397L6.70915 13.5525C7.17834 14.0999 8.04244 14.0405 8.43229 13.434L13.1379 6.11432Z' fill='%2310B981'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: top 4px left 0;
}

.toplist-ct__offer-payments-wrapper {
    display: flex;
    align-items: center;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px dashed #E5E7EB;
    gap: 8px;
    grid-area: payments;
}

.toplist-ct__offer-payments-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 19px;
    color: #718096;
}

.toplist-ct__offer-payments {
    display: flex;
    align-items: center;
    justify-content: center;
}

.toplist-ct__offer-payment {
    position: relative;
    border-radius: 100%;
    outline: 4px solid #fff;
    background: #fff;
}

.toplist-ct__offer-payments-hidden-counter {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    font-style: normal;
    line-height: 25px;
    position: relative;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    padding: 0 6px;
    cursor: pointer;
    color: #000000;
    border-radius: 8px;
    outline: 4px solid #fff;
    background: #EEEEEE;
}

.toplist-ct__offer-payments-hidden-counter span {
    color: #718096;
}

.toplist-ct__offer-payment:not(:first-child) {
    margin-left: -4px;
}

.toplist-ct__offer-payment:hover {
    z-index: 7 !important;
}

.toplist-ct__offer-payment-image {
    width: 24px;
    height: 24px;
    transition-duration: .3s;
    -webkit-transition-property: transform;
    transform: perspective(1px) translateZ(0);
    object-fit: contain;
}

.toplist-ct__offer-payment-image:hover {
    transform: scale(1.1);
}

.toplist-ct__offer-payment-tooltip {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 150%;
    position: absolute;
    z-index: 10;
    top: 26px;
    left: 50%;
    flex-direction: column;
    width: max-content;
    padding: 12px 16px;
    transform: translateX(-50%);
    color: #060606;
    border-radius: 4px;
    background: #FFFFFF;
    gap: 14px;
    filter: drop-shadow(0px 1px 4px rgba(0, 0, 0, 0.14)) drop-shadow(0px 8px 32px rgba(0, 0, 0, 0.1));
}

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

.toplist-ct__offer-payment:hover .toplist-ct__offer-payment-tooltip {
    display: flex !important;
}

.toplist-ct__offer-payments-hidden-counter:hover .toplist-ct__offer-payments-tooltip {
    display: flex !important;
}

.toplist-ct__offer-payments-tooltip {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 150%;
    position: absolute;
    z-index: 1;
    top: 26px;
    left: -6px;
    flex-direction: column;
    width: max-content;
    min-width: 144px;
    padding: 12px 16px;
    color: #060606;
    border-radius: 4px;
    background: #FFFFFF;
    filter: drop-shadow(0px 1px 4px rgba(0, 0, 0, 0.14)) drop-shadow(0px 8px 32px rgba(0, 0, 0, 0.1));
}

.toplist-ct__offer-payments-tooltip:before {
    position: absolute;
    bottom: 100%;
    left: 20px;
    margin-left: -8px;
    content: '';
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent #FFFFFF transparent;
}

.toplist-ct__offer-payment-in-tooltip {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 6px;
    gap: 8px;
}

.toplist-ct__offer-payment-in-tooltip .toplist-ct__offer-payment-image {
    width: auto;
    max-height: 24px;
}

.toplist-ct__offer-payment-in-tooltip-image-wrapper {
    flex-shrink: 0;
    width: 24px;
}

.toplist-ct__offer-payment-in-tooltip-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0.03em;
    text-transform: capitalize;
    color: #060606;
}

.toplist-ct__offer-actions {
    display: flex;
    flex-direction: column;
    grid-area: cta-btn;
    gap: 12px;
}

.toplist-ct__offer-cta-btn {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    font-style: normal;
    line-height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 47px;
    padding: 11px 2px 11px 0;
    color: #000000;
    border-radius: 8px;
    background: #FABC2C;
    gap: 8px;
}

.toplist-ct__offer-cta-btn:after {
    position: relative;
    width: 16px;
    height: 16px;
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.2057 5.04012L10.1667 5.26668H4.16668C3.98258 5.26668 3.83334 5.11744 3.83334 4.93335V4.26668C3.83334 4.08259 3.98258 3.93335 4.16668 3.93335H13.1667V12.9333C13.1667 13.1174 13.0174 13.2667 12.8333 13.2667H12.1667C11.9826 13.2667 11.8333 13.1174 11.8333 12.9333V6.93335L12.0573 5.88387L11.3166 6.77336L4.92402 13.1659C4.79384 13.2961 4.58279 13.2961 4.45262 13.1659L3.93407 12.6474C3.8039 12.5172 3.8039 12.3061 3.93407 12.176L10.3097 5.80034L11.2057 5.04012Z' fill='black'/%3E%3C/svg%3E%0A");
}

.toplist-ct__offer-cta-btn:hover {
    text-decoration: none;
    color: inherit;
}

.toplist-ct__offer-coupon-code-wrapper {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    height: 32px;
    padding: 0;
    cursor: pointer;
    border: 1px dashed #10B981;
    border-radius: 4px;
    background: #EEEEEE;
    gap: 6px;
}

.toplist-ct__offer-coupon-code {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    text-transform: uppercase;
    color: #10B981;
}

.toplist-ct__offer-coupon-code-wrapper.coupon-code-copied img {
    display: none;
}

.toplist-ct__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-ct__show-more-btn:hover {
    cursor: pointer;
    color: #FFFFFF;
    background: #101214;
}

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

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

    .toplist-ct__offer {
        position: relative;
        padding: 16px;
        grid-template-columns: auto;
        gap: 8px;
        grid-template-areas:
        "logo"
        "main"
        "cta-btn";
    }

    .toplist-ct__crypto .toplist-ct__offer {
        padding: 16px;
        gap: 8px;
        grid-template-areas:
        "logo"
        "main"
        "cta-btn"
        "payments";
    }

    .toplist-ct__offer:before {
        font-size: 10px;
        top: 32px;
        width: 21px;
        height: 24px;
        padding: 2px 7px;
    }

    .toplist-ct__offer-logo-and-partner {
        display: flex;
        align-items: center;
        height: 60px;
    }

    .toplist-ct__offer.w-partner-label .toplist-ct__offer-logo {
        flex-basis: 50%;
    }

    .toplist-ct__offer .campaign__partner-label-wrapper {
        flex-basis: 50%;
        height: 30px;
        border-top: 0;
        border-left: 1px solid #4F4F4F;
    }

    .toplist-ct__offer-brand-name {
        display: none;
    }

    .toplist-ct__offer-main {
        gap: 4px;
    }

    .toplist-ct__offer-key-features {
        margin-bottom: 4px !important;
        padding-bottom: 8px;
        border-bottom: 1px dashed #E5E7EB;
    }

    .toplist-ct__offer-key-features li {
        font-size: 14px;
        line-height: 23px;
        padding-left: 24px;
        background-image: url("data:image/svg+xml,%3Csvg width='15' height='15' viewBox='0 0 15 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_482_3158)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M14.5 7.10999C14.5 10.9759 11.366 14.11 7.5 14.11C3.634 14.11 0.5 10.9759 0.5 7.10999C0.5 3.24399 3.634 0.109985 7.5 0.109985C11.366 0.109985 14.5 3.24399 14.5 7.10999ZM11.3194 4.65121C11.4239 4.4886 11.3769 4.27205 11.2143 4.16753L10.6254 3.789C10.4628 3.68447 10.2462 3.73155 10.1417 3.89414L6.63943 9.34222L4.67909 7.05511C4.55329 6.90835 4.33234 6.89135 4.18558 7.01715L3.65409 7.47273C3.50733 7.59852 3.49034 7.81944 3.61613 7.96623L6.02518 10.7768C6.41157 11.2276 7.12318 11.1787 7.44424 10.6792L11.3194 4.65121Z' fill='%2310B981'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_482_3158'%3E%3Crect width='14' height='14' fill='white' transform='translate(0.5 0.109985)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
    }

    .toplist-ct__offer-payments-wrapper {
        justify-content: center;
        margin-top: 4px;
    }

    .toplist-ct__offer-title,
    .toplist-ct__offer-title p {
        font-size: 18px;
        line-height: 24px;
    }

    .toplist-ct__offer-actions {
        margin-top: 4px;
    }

    .toplist-ct__offer-cta-btn {
        order: 2;
    }

    .toplist-ct__offer-coupon-code-wrapper {
        order: 1;
    }

    .toplist-ct__offer-payments-label {
        font-size: 10px;
    }

    .toplist-ct__offer-payment-image {
        width: 20px;
        height: 20px;
    }

    .toplist-ct__offer-payments-hidden-counter {
        font-size: 12px;
    }

    .toplist-ct__offer .campaign__partner-label-desc {
        font-size: 8px;
    }

    .toplist-ct__offer-payments-tooltip {
        right: -6px;
        left: unset;
    }

    .toplist-ct__offer-payments-tooltip:before {
        right: 11px;
        left: unset;
    }
}
