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

.toplist-cryptonews-tech-v2__wrapper {
    margin: 24px 0;
}

.toplist-cryptonews-tech-v2__offers {
    position: relative;
    display: flex;
    flex-direction: column;
    counter-reset: toplist-cryptonews-tech-v2-counter 0;
    gap: 16px;
}

.toplist-cryptonews-tech-v2__wrapper:not(.empty) .toplist-cryptonews-tech-v2__offers:after {
    position: absolute;
    top: -20px;
    right: -75px;
    bottom: 0;
    width: 120px;
    height: 200px;
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='200' viewBox='0 0 120 200' fill='none'%3E%3Cpath d='M120 60V90L60 150H45V135L120 60Z' fill='%23A82E84'/%3E%3Cpath d='M95 185L80 200L45 165V135L95 185Z' fill='%23DC5992'/%3E%3Cpath d='M30 1.74846e-06L60 4.37114e-06L40 20L10 20L30 1.74846e-06Z' fill='%23351774'/%3E%3Cpath d='M30 0H60L120 60V90L30 0Z' fill='%23591C7E'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
}

.toplist-cryptonews-tech-v2__offer {
    position: relative;
    display: grid;
    padding: 16px;
    counter-increment: toplist-cryptonews-tech-v2-counter 1;
    border: 1px solid #dfeff6;
    background: #fff;
    gap: 0 16px;
    grid-template-areas:
        'logo title rating cta-btn'
        'logo key-features rating cta-btn';
    grid-template-columns: 125px auto 110px 160px;
    grid-template-rows: auto 1fr;
}

.toplist-cryptonews-tech-v2__offer:before {
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    font-style: normal;
    line-height: 20px;
    position: absolute;
    top: 5px;
    left: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    content: counter(toplist-cryptonews-tech-v2-counter);
    color: #211b2e;
    background-color: #dfeff6;
}

.toplist-cryptonews-tech-v2__offer:first-child {
    border-color: #2e83a7;
}

.toplist-cryptonews-tech-v2__offer.hidden {
    display: none;
}

.toplist-cryptonews-tech-v2__offer-label-highlight {
    font-family: 'Noto Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    font-style: normal;
    line-height: 16px;
    position: absolute;
    top: 5px;
    left: 25px;
    height: 20px;
    padding: 2.5px 9px 2.5px 5px;
    color: #fff;
    background: #2e83a7;
}

.toplist-cryptonews-tech-v2__offer-logo {
    display: flex;
    justify-content: center;
    grid-area: logo;
}

.toplist-cryptonews-tech-v2__offer-logo img {
    width: 125px;
    height: 60px;
    margin: 0;
    object-fit: contain;
}

.toplist-cryptonews-tech-v2__offer-title {
    font-family: 'Noto Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    font-style: normal;
    line-height: 24px;
    margin-bottom: 8px;
    color: #211b2e;
    grid-area: title;
}

.toplist-cryptonews-tech-v2__offer-rating {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    grid-area: rating;
}

.toplist-cryptonews-tech-v2__offer-rating-number-wrapper {
    display: flex;
    align-items: center;
}

.toplist-cryptonews-tech-v2__offer-rating-number-icon {
    position: relative;
    top: -1px;
    display: inline-flex;
    width: 15px;
    height: 14px;
    margin-right: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='15' viewBox='0 0 16 15' fill='none'%3E%3Cpath d='M8.00031 0.56543L10.496 4.82052L15.3424 5.8627L12.0385 9.53466L12.538 14.4339L8.00031 12.4482L3.46264 14.4339L3.96215 9.53466L0.658203 5.8627L5.50459 4.82052L8.00031 0.56543Z' fill='%23E2B203'/%3E%3C/svg%3E");
}

.toplist-cryptonews-tech-v2__offer-rating-number {
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    line-height: 20px;
    color: #211b2e;
    border-bottom: 1px dashed #737373;
}

.toplist-cryptonews-tech-v2__offer-rating-number span {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    margin-right: 3px;
}

.toplist-cryptonews-tech-v2__offer-review-link {
    font-family: 'Noto Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    font-style: normal;
    line-height: 16px;
    padding: 8px 4px;
    text-align: center;
    color: #a72e83;
    border-bottom: 1px solid #a72e83;
}

.toplist-cryptonews-tech-v2__offer-review-link:hover {
    text-decoration: none;
    color: #a72e83;
}

.toplist-cryptonews-tech-v2__offer-key-features {
    margin: 0 !important;
    padding: 0;
    grid-area: key-features;
}

.toplist-cryptonews-tech-v2__offer-key-features li {
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px !important;
    font-weight: 400;
    font-style: normal;
    line-height: 20px !important;
    position: relative;
    display: flex;
    margin: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 22px;
    color: #211b2e;
}

.toplist-cryptonews-tech-v2__offer-key-features li:before {
    position: absolute;
    top: 3px;
    left: 0;
    width: 14px;
    height: 14px;
    content: '';
    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%3Cpath d='M4.20202 12.8207L4.27273 12.8914L4.34344 12.8207L14.0707 3.09344L14.1414 3.02273L14.0707 2.95202L12.798 1.67929L12.7273 1.60858L12.6566 1.67929L4.27273 10.0631L1.34344 7.13383L1.27273 7.06312L1.20202 7.13383L-0.0707107 8.40656L-0.141421 8.47727L-0.0707107 8.54798L4.20202 12.8207Z' fill='%23139A18' stroke='%23139A18' stroke-width='0.2'/%3E%3C/svg%3E");
}

.toplist-cryptonews-tech-v2__offer-key-features li:not(:last-child) {
    padding-bottom: 4px !important;
}

.toplist-cryptonews-tech-v2__offer-cta-btn {
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    font-style: normal;
    line-height: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    text-align: center;
    color: #fff !important;
    background-color: #591c7e;
    grid-area: cta-btn;
}

.toplist-cryptonews-tech-v2__offer-cta-btn:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 48px;
    content: '';
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='48' viewBox='0 0 10 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0V38L10 48V0H0Z' fill='%23591C7E'/%3E%3C/svg%3E%0A");
}

.toplist-cryptonews-tech-v2__offer-cta-btn:after {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 48px;
    content: '';
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='48' viewBox='0 0 20 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 48V20L0 0V48H20Z' fill='%23591C7E'/%3E%3C/svg%3E%0A");
}

.toplist-cryptonews-tech-v2__offer-cta-btn:hover {
    text-decoration: none;
    color: #fff !important;
    background-color: #dc5992;
}

.toplist-cryptonews-tech-v2__offer-cta-btn:hover:before {
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='48' viewBox='0 0 10 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0V38L10 48V0H0Z' fill='%23DC5992'/%3E%3C/svg%3E%0A");
}

.toplist-cryptonews-tech-v2__offer-cta-btn:hover:after {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='48' viewBox='0 0 20 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 48V20L0 0V48H20Z' fill='%23DC5992'/%3E%3C/svg%3E%0A");
}

.toplist-cryptonews-tech-v2__offer-cta-btn-icon {
    position: relative;
    top: 1px;
    display: inline-flex;
    width: 20px;
    height: 20px;
    margin-left: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='20' viewBox='0 0 21 20' fill='none'%3E%3Cpath d='M8.5 7L11.5 10L8.5 13V15L12.5 11L12.5 9L8.5 5V7Z' fill='white'/%3E%3C/svg%3E");
}

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

.toplist-cryptonews-tech-v2__show-more-btn:before {
    display: inline-flex;
    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%3Cpath d='M12 5V19' stroke='%23060606' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3Cpath d='M5 12H19' stroke='%23060606' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E");
}

.toplist-cryptonews-tech-v2__show-more-btn:hover {
    cursor: pointer;
    color: #fff;
    background: #060606;
}

.toplist-cryptonews-tech-v2__show-more-btn:hover:before {
    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%3Cpath d='M12 5V19' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3Cpath d='M5 12H19' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E");
}

@media (max-width: 991px) {
    .toplist-cryptonews-tech-v2__offers:after {
        display: none;
    }

    .toplist-cryptonews-tech-v2__offer {
        gap: 16px 0;
        grid-template-areas:
            'logo rating'
            'title title'
            'cta-btn cta-btn'
            'key-features key-features';
        grid-template-columns: 125px auto;
        grid-template-rows: auto;
    }

    .toplist-cryptonews-tech-v2__offer:before {
        line-height: 16px;
    }

    .toplist-cryptonews-tech-v2__offer-label-highlight {
        font-weight: 400;
        line-height: 14px;
    }

    .toplist-cryptonews-tech-v2__offer-title {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 0;
    }

    .toplist-cryptonews-tech-v2__offer-rating {
        flex-direction: row;
        margin-left: auto;
    }

    .toplist-cryptonews-tech-v2__offer-rating-number {
        line-height: 16px;
    }

    .toplist-cryptonews-tech-v2__offer-rating-number span {
        font-size: 20px;
        line-height: 28px;
    }

    .toplist-cryptonews-tech-v2__offer-review-link {
        line-height: 14px;
    }

    .toplist-cryptonews-tech-v2__offer-cta-btn {
        line-height: 16px;
    }
}
