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

.toplist-bitcoinmagazine__wrapper {
    margin-bottom: 32px;
}

.toplist-bitcoinmagazine__offers {
    display: flex;
    flex-direction: column;
    counter-reset: toplist-bitcoinmagazine-counter 0;
    gap: 8px;
}

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

.toplist-bitcoinmagazine__filter-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 16px 0;
}

.toplist-bitcoinmagazine__filter-tag {
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 600;
    font-style: normal;
    line-height: 22px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    justify-content: center;
    height: 54px;
    padding: 16px 12px;
    cursor: pointer;
    user-select: none;
    text-align: center;
    color: #3b0083;
    border-bottom: 2px solid transparent;
}

.toplist-bitcoinmagazine__filter-tag.filter-tag-active {
    border-color: #f58c29;
}

.toplist-bitcoinmagazine__offer {
    position: relative;
    display: grid;
    align-items: center;
    padding: 24px;
    counter-increment: toplist-bitcoinmagazine-counter 1;
    border: 1px solid #d9dce0;
    background: #fff;
    gap: 16px;
    grid-template-areas: 'info main';
    grid-template-columns: auto 260px;
    grid-template-rows: 1fr;
}

.toplist-bitcoinmagazine__offer:first-child {
    border-color: #c2b0d9;
    box-shadow: 4px 4px 0 0 #d7cee2;
}

.toplist-bitcoinmagazine__offer:before {
    font-family: Sora, sans-serif;
    font-size: 12px;
    font-weight: 600;
    font-style: normal;
    line-height: 18px;
    position: absolute;
    top: -1px;
    left: -1px;
    width: 26px;
    height: 22px;
    padding: 2px 8px 2px 12px;
    content: counter(toplist-bitcoinmagazine-counter);
    letter-spacing: 0.96px;
    text-transform: uppercase;
    color: #874d17;
    background: #fcdbbd;
}

.toplist-bitcoinmagazine__offer:after {
    position: absolute;
    top: -1px;
    left: 25px;
    width: 15px;
    height: 22px;
    content: '';
    background-color: #fcdbbd;
    clip-path: polygon(0 0, 100% 0, 0 100%, 0 100%);
}

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

.toplist-bitcoinmagazine__offer-label-highlight {
    font-family: Sora, sans-serif;
    font-size: 12px;
    font-weight: 600;
    font-style: normal;
    line-height: 18px;
    position: absolute;
    top: -1px;
    left: 41px;
    width: max-content;
    height: 22px;
    margin: 0 auto;
    padding: 2px 8px 2px 4px;
    text-align: center;
    letter-spacing: 0.96px;
    text-transform: uppercase;
    color: #874d17;
    background: #fcdbbd;
}

.toplist-bitcoinmagazine__offer-label-highlight:before {
    position: absolute;
    top: 0;
    left: -14px;
    width: 15px;
    height: 22px;
    content: '';
    background-color: #fcdbbd;
    clip-path: polygon(100% 100%, 0 100%, 100% 0, 100% 100%);
}

.toplist-bitcoinmagazine__offer-label-highlight:after {
    position: absolute;
    top: 0;
    left: 100%;
    width: 15px;
    height: 22px;
    content: '';
    background-color: #fcdbbd;
    clip-path: polygon(0 0, 100% 0, 0 100%, 0 100%);
}

.toplist-bitcoinmagazine__offer-info {
    grid-area: info;
}

.toplist-bitcoinmagazine__offer-brand {
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 600;
    font-style: normal;
    line-height: 18px;
    margin-bottom: 4px;
    letter-spacing: 0.48px;
    text-transform: uppercase;
    color: #3b0083;
}

.toplist-bitcoinmagazine__offer-brand:after {
    position: relative;
    top: 3px;
    display: inline-block;
    width: 64px;
    height: 14px;
    margin-left: 8px;
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='65' height='15' viewBox='0 0 65 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cline y1='-0.5' x2='16.4011' y2='-0.5' transform='matrix(-0.487374 0.873193 -0.989323 -0.14574 8.95703 0)' stroke='%23C2B0D9'/%3E%3Cline y1='-0.5' x2='16.4011' y2='-0.5' transform='matrix(-0.487374 0.873193 -0.989323 -0.14574 13.875 0)' stroke='%23C2B0D9'/%3E%3Cline y1='-0.5' x2='16.4011' y2='-0.5' transform='matrix(-0.487374 0.873193 -0.989323 -0.14574 18.7949 0)' stroke='%23C2B0D9'/%3E%3Cline y1='-0.5' x2='16.4011' y2='-0.5' transform='matrix(-0.487374 0.873193 -0.989323 -0.14574 23.7129 0)' stroke='%23C2B0D9'/%3E%3Cline y1='-0.5' x2='16.4011' y2='-0.5' transform='matrix(-0.487374 0.873193 -0.989323 -0.14574 28.6309 0)' stroke='%23C2B0D9'/%3E%3Cline y1='-0.5' x2='16.4011' y2='-0.5' transform='matrix(-0.487374 0.873193 -0.989323 -0.14574 33.5508 0)' stroke='%23C2B0D9'/%3E%3Cline y1='-0.5' x2='16.4011' y2='-0.5' transform='matrix(-0.487374 0.873193 -0.989323 -0.14574 38.4688 0)' stroke='%23C2B0D9'/%3E%3Cline y1='-0.5' x2='16.4011' y2='-0.5' transform='matrix(-0.487374 0.873193 -0.989323 -0.14574 43.3867 0)' stroke='%23C2B0D9'/%3E%3Cline y1='-0.5' x2='16.4011' y2='-0.5' transform='matrix(-0.487374 0.873193 -0.989323 -0.14574 48.3066 0)' stroke='%23C2B0D9'/%3E%3Cline y1='-0.5' x2='16.4011' y2='-0.5' transform='matrix(-0.487374 0.873193 -0.989323 -0.14574 53.2246 0)' stroke='%23C2B0D9'/%3E%3Cline y1='-0.5' x2='16.4011' y2='-0.5' transform='matrix(-0.487374 0.873193 -0.989323 -0.14574 58.1426 0)' stroke='%23C2B0D9'/%3E%3Cline y1='-0.5' x2='16.4011' y2='-0.5' transform='matrix(-0.487374 0.873193 -0.989323 -0.14574 63.0605 0)' stroke='%23C2B0D9'/%3E%3C/svg%3E%0A");
}

.toplist-bitcoinmagazine__offer-title {
    font-family: Barlow, sans-serif;
    font-size: 22px;
    font-weight: 600;
    font-style: normal;
    line-height: 32px;
    text-transform: capitalize;
    color: #3b0083;
}

body .toplist-bitcoinmagazine__offer-key-features {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 12px;
    list-style: none !important;
}

body .toplist-bitcoinmagazine__offer-key-features li {
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    line-height: 24px;
    position: relative;
    display: flex;
    padding-bottom: 0 !important;
    padding-left: 32px;
    color: #190037;
}

body .toplist-bitcoinmagazine__offer-key-features li:before {
    position: absolute;
    top: -1px;
    left: 0;
    display: inline-block;
    width: 24px;
    height: 24px;
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='24' height='24' rx='12' fill='%23EBE6F3'/%3E%3Cpath d='M17.6364 8L9.63636 16L6 12.3636' stroke='%233B0083' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

body .toplist-bitcoinmagazine__offer-key-features li:not(:last-child) {
    margin-bottom: 4px;
}

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

.toplist-bitcoinmagazine__offer-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.toplist-bitcoinmagazine__offer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 152.316px;
    height: 60px;
}

.toplist-bitcoinmagazine__offer-logo img {
    width: 152.316px;
    height: 60px;
    padding: 0 4px;
    object-fit: contain;
}

.toplist-bitcoinmagazine__offer-rating-wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    height: 50px;
    padding: 0 16px 0 24px;
    border-left: 1px solid #d9dce0;
}

.toplist-bitcoinmagazine__offer-rating {
    font-family: Barlow, sans-serif;
    font-size: 14px;
    font-weight: 600;
    font-style: normal;
    line-height: 20px;
    text-align: center;
    text-transform: capitalize;
    color: #596773;
}

.toplist-bitcoinmagazine__offer-rating:before {
    display: inline-block;
    width: 15px;
    height: 14px;
    margin-right: 4px;
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='14' viewBox='0 0 15 14' fill='none'%3E%3Cpath d='M9.83789 4.25488L14.6846 5.29688L11.3809 8.96875L11.8799 13.8682L7.34277 11.8828L2.80469 13.8682L3.30371 8.96875L0 5.29688L4.84668 4.25488L7.34277 0L9.83789 4.25488Z' fill='%23F58C29'/%3E%3C/svg%3E");
}

.toplist-bitcoinmagazine__offer-rating span {
    font-size: 18px;
    line-height: 24px;
    color: #3b0083;
}

.toplist-bitcoinmagazine__offer-review-link {
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 600;
    font-style: normal;
    line-height: 24px;
    text-align: center;
    text-decoration: underline;
    color: #360077;
    text-underline-offset: 5px;
}

.toplist-bitcoinmagazine__offer-review-link:hover {
    color: #360077;
}

.toplist-bitcoinmagazine__offer-cta-btn {
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 600;
    font-style: normal;
    line-height: 22px;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 48px;
    margin: 0 auto;
    padding: 8px 8px 8px 24px;
    text-transform: capitalize;
    color: #fff;
    border: 2px solid transparent;
    border-bottom: 3px solid #007a0d;
    border-radius: 40px;
    background: #00a311;
}

.toplist-bitcoinmagazine__offer-cta-btn:after {
    position: absolute;
    right: 8px;
    width: 32px;
    height: 32px;
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='32' height='32' rx='16' fill='white'/%3E%3Cpath d='M11.334 16H20.6673' stroke='%2300A311' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M16 11.333L20.6667 15.9997L16 20.6663' stroke='%2300A311' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

.toplist-bitcoinmagazine__offer-cta-btn:hover {
    text-decoration: unset;
    color: #fff;
    border: 2px solid #007a0d;
    background-color: #007a0d;
    background-image: linear-gradient(136deg, #ffffff3f 3.01%, #fff0 49.45%);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 50% 100%;
}

.toplist-bitcoinmagazine__show-more-btn {
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 600;
    font-style: normal;
    line-height: 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 56px;
    margin: 16px auto 0;
    padding: 16px 24px;
    cursor: pointer;
    letter-spacing: 0.16px;
    text-transform: uppercase;
    color: #360077;
    border: 2px solid #360077;
    border-radius: 40px;
}

.toplist-bitcoinmagazine__show-more-btn:before {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.33301 8H12.6663' stroke='%23360077' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8 3.33333V12.6667' stroke='%23360077' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.toplist-bitcoinmagazine__show-more-btn:hover {
    color: #190037;
    border-color: #190037;
}

.toplist-bitcoinmagazine__show-more-btn:hover:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.33301 8H12.6663' stroke='%23190037' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8 3.33333V12.6667' stroke='%23190037' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (max-width: 991px) {
    .toplist-bitcoinmagazine__filter-wrapper {
        overflow-x: scroll;
        flex-wrap: nowrap;
        width: 100vw;
        margin: 0 -16px 16px;
        padding: 0 16px;
    }

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

    .toplist-bitcoinmagazine__offer {
        padding: 24px 16px;
        grid-template-areas:
            'info'
            'main';
        grid-template-columns: auto;
    }

    .toplist-bitcoinmagazine__offer:first-child {
        border-color: #d9dce0;
        box-shadow: unset;
    }

    .toplist-bitcoinmagazine__offer:before,
    .toplist-bitcoinmagazine__offer:after,
    .toplist-bitcoinmagazine__offer-label-highlight,
    .toplist-bitcoinmagazine__offer-label-highlight:before,
    .toplist-bitcoinmagazine__offer-label-highlight:after {
        height: 20px;
    }

    .toplist-bitcoinmagazine__offer-brand {
        line-height: 16px;
    }

    .toplist-bitcoinmagazine__offer-title {
        line-height: 28px;
    }

    .toplist-bitcoinmagazine__offer-main {
        width: 260px;
        margin: auto;
    }

    .toplist-bitcoinmagazine__offer-logo,
    .toplist-bitcoinmagazine__offer-logo img {
        width: 160px;
    }

    .toplist-bitcoinmagazine__offer-rating-wrapper {
        height: 45px;
        padding: 0 16px;
    }

    .toplist-bitcoinmagazine__offer-rating span,
    .toplist-bitcoinmagazine__offer-review-link {
        line-height: 20px;
    }

    .toplist-bitcoinmagazine__show-more-btn {
        font-size: 14px;
        line-height: 20px;
        width: max-content;
        height: 48px;
        margin: 28px auto 0;
        padding: 16px;
        letter-spacing: 0;
    }
}
