@import url('https://fonts.googleapis.com/css2?family=Mukta&family=Protest+Strike&display=swap');

.dw-toplist-nb__wrapper {
    margin: 48px 0;
}

.dw-toplist-nb__offers {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dw-toplist-nb__offer {
    display: flex;
    border-radius: 16px;
    background: #FFFFFF;
}

.dw-toplist-nb__offer:first-of-type {
    border: 2px dashed #53369F;
    background: #F6F3FF;
}

.dw-toplist-nb__offer.hidden {
    display: none;
}

.dw-toplist-nb__offer-inner {
    position: relative;
    display: grid;
    align-items: flex-start;
    width: 100%;
    padding: 24px 24px 24px 12px;
    grid-template-columns: auto 200px;
    grid-template-rows: auto;
    gap: 16px;
    grid-template-areas:
    "main cta-btn";
}

.dw-toplist-nb__offer-logo-wrapper {
    position: relative;
    flex-shrink: 0;
    padding: 24px 17.39px;
}

.dw-toplist-nb__offer-label-highlight {
    font-family: 'Protest Strike', serif;
    font-size: 10px;
    font-weight: 400;
    font-style: normal;
    line-height: 125%;
    position: absolute;
    top: 10px;
    left: 20px;
    display: flex;
    align-items: center;
    width: fit-content;
    height: 20px;
    padding: 0 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #0B062B;
    border-radius: 20px;
    background: #F2D422;
    gap: 8px;
    filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.04)) drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.04));
}

.dw-toplist-nb__offer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dw-toplist-nb__offer-logo img {
    width: 100%;
    height: 98.5px;
    border-radius: 12px;
    object-fit: contain;
}

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

.dw-toplist-nb__offer-title,
.dw-toplist-nb__offer-title p {
    font-family: 'Protest Strike', serif;
    font-size: 24px;
    font-weight: 400;
    font-style: normal;
    line-height: 120%;
    text-transform: capitalize;
    color: #121F2B;
}

.dw-toplist-nb__offer-title p {
    margin: 0;
    padding: 0;
}

.dw-toplist-nb__offer:first-of-type .dw-toplist-nb__offer-title,
.dw-toplist-nb__offer:first-of-type .dw-toplist-nb__offer-title p {
    color: #53369F;
}

.dw-toplist-nb__offer-key-feature {
    font-family: 'Mukta', serif;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    line-height: 24px;
    padding-left: 24px;
    color: #434959;
    background: url(../images/dw-toplist-nb-star.svg) left 2px no-repeat;
}

.dw-toplist-nb__offer-cta-btn {
    font-family: 'Protest Strike', serif;
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    line-height: 140%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 48px;
    padding: 0 24px;
    text-transform: capitalize;
    color: #9FE870;
    border-radius: 100px;
    background: #121F2B;
    gap: 4px;
    grid-area: cta-btn;
}

.dw-toplist-nb__offer-cta-btn:after {
    position: relative;
    width: 24px;
    height: 24px;
    margin-right: -12px;
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='25' viewBox='0 0 24 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect y='0.27536' width='24' height='24' rx='12' fill='%239FE870'/%3E%3Cpath d='M10 18.2754L16 12.2754L10 6.27536' stroke='%230B062B' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

.dw-toplist-nb__offer-cta-btn:hover {
    text-decoration: none;
    color: #0B062B;
    background: #9FE870;
}

.dw-toplist-nb__show-more-btn {
    font-family: 'Protest Strike', serif;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    line-height: 130%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 220px;
    height: 48px;
    margin: 16px auto 0;
    padding: 0 16px;
    text-align: center;
    text-transform: capitalize;
    color: #121F2B;
    border: 2px solid #121F2B;
    border-radius: 4px;
}

.dw-toplist-nb__show-more-btn:hover {
    cursor: pointer;
    opacity: 0.6;
}

@media screen and (min-width: 992px) {
    .dw-toplist-nb__offer-logo-wrapper {
        background: unset !important;
    }
}

@media screen and (max-width: 991px) {
    .dw-toplist-nb__wrapper {
        margin: 12px 0;
    }

    .dw-toplist-nb__offers {
        gap: 12px;
    }

    .dw-toplist-nb__offer {
        flex-direction: column;
    }

    .dw-toplist-nb__offer-inner {
        padding: 16px;
        border-radius: 8px;
        grid-template-columns: auto;
        grid-template-rows: auto;
        grid-template-areas:
        "main"
        "cta-btn";
        gap: 8px;
    }

    .dw-toplist-nb__offer-label-highlight {
        top: 26px;
        left: 21px;
    }

    .dw-toplist-nb__offer-logo-wrapper {
        padding: 16px 16px 0;
    }

    .dw-toplist-nb__offer-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 112px;
        border-radius: 8px;
    }

    .dw-toplist-nb__offer-logo img {
        width: 166.67px;
        height: 80px;
    }

    .dw-toplist-nb__offer-title,
    .dw-toplist-nb__offer-title p {
        font-size: 22px;
    }
}
