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

.toplist-scandicasinos__wrapper {
    margin: 16px 0;
}

.toplist-scandicasinos__offers {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.toplist-scandicasinos__filter-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 41px 0;
    gap: 17px;
}

.toplist-scandicasinos__filter-tag {
    font-family: Poppins, sans-serif;
    font-size: 16px;
    font-weight: 600;
    font-style: normal;
    line-height: 25px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    height: 34px;
    padding: 4px 10px;
    cursor: pointer;
    user-select: none;
    text-align: center;
    text-transform: capitalize;
    color: #000;
    border: 1px solid #fd532f;
    border-radius: 8px;
    background: #f6f6f6;
}

.toplist-scandicasinos__filter-tag.filter-tag-active {
    line-height: 22px;
    height: 33px;
    padding: 5px 9px;
    color: #fff;
    background: #fd532f;
}

.toplist-scandicasinos__filter-tag img {
    width: 20px !important;
    height: 20px !important;
    margin-right: 9px;
}

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

.toplist-scandicasinos__offer {
    display: grid;
    align-items: center;
    padding: 15px 29px 13px 20px;
    counter-increment: offer-counter;
    border-radius: 10px;
    background: #fff;
    gap: 26px;
    grid-template-areas: 'logo info extra cta-btn';
    grid-template-columns: 161px auto 1fr 204px;
    grid-template-rows: 1fr;
}

.toplist-scandicasinos__offer-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 103px;
    border-radius: 11px;
    background: #171717;
    grid-area: logo;
}

.toplist-scandicasinos__offer-logo img {
    width: 133px;
    height: 83px;
    object-fit: contain;
}

.toplist-scandicasinos__offer-info {
    display: flex;
    align-self: flex-start;
    flex-direction: column;
    gap: 11px;
    grid-area: info;
}

.toplist-scandicasinos__offer-rating {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 18px;
    font-weight: 800;
    font-style: normal;
    line-height: normal;
    display: flex;
    margin-top: 4px;
    text-transform: capitalize;
    color: #000;
    gap: 8px;
}

.toplist-scandicasinos__offer-facts {
    display: flex;
    flex-wrap: wrap;
    width: 296px;
    gap: 1px 12px;
}

.toplist-scandicasinos__offer-fact {
    display: flex;
    gap: 5px;
}

.toplist-scandicasinos__offer-fact-head {
    font-family: Poppins, sans-serif;
    font-size: 15px;
    font-weight: 500;
    font-style: normal;
    line-height: normal;
    display: flex;
    align-items: center;
    text-transform: capitalize;
    color: #fd532f;
    gap: 5px;
}

.toplist-scandicasinos__offer-fact-head:before {
    display: flex;
    width: 15px;
    height: 15px;
    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='M1.60523 7.23692C1.30128 7.23779 1.00378 7.32598 0.747144 7.49129C0.490513 7.65661 0.28524 7.89229 0.155075 8.17107C0.0249093 8.44985 -0.0248298 8.76034 0.0116122 9.06662C0.0480541 9.37289 0.169188 9.66244 0.360999 9.90176L4.44996 14.9856C4.59575 15.1694 4.78263 15.3152 4.99508 15.4109C5.20753 15.5066 5.43941 15.5495 5.67147 15.536C6.16778 15.5089 6.61586 15.2394 6.90154 14.7964L15.3954 0.912496C15.3968 0.910192 15.3982 0.907889 15.3997 0.905621C15.4794 0.781423 15.4535 0.535296 15.289 0.380676C15.2439 0.338216 15.1906 0.305594 15.1325 0.284821C15.0744 0.264047 15.0128 0.255562 14.9513 0.259887C14.8899 0.264212 14.83 0.281256 14.7753 0.309969C14.7206 0.338682 14.6723 0.378456 14.6333 0.426842C14.6302 0.430647 14.6271 0.434393 14.6239 0.438083L6.05774 10.2613C6.02515 10.2987 5.98556 10.3291 5.94128 10.3508C5.89699 10.3725 5.8489 10.3851 5.79979 10.3878C5.75068 10.3905 5.70153 10.3833 5.6552 10.3665C5.60887 10.3498 5.56628 10.3239 5.5299 10.2903L2.68696 7.66448C2.3917 7.38977 2.00578 7.23723 1.60523 7.23692Z' fill='%23A0BE43'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
}

.toplist-scandicasinos__offer-fact-body {
    font-family: Poppins, sans-serif;
    font-size: 15px;
    font-weight: 700;
    font-style: normal;
    line-height: normal;
    text-transform: capitalize;
    color: #767474;
}

.toplist-scandicasinos__offer-rating img {
    height: 18px;
}

.toplist-scandicasinos__offer-extra {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 15px;
    border-radius: 10px;
    background: #dceded;
    gap: 12px;
    grid-area: extra;
}

.toplist-scandicasinos__offer-bonus-text {
    font-family: Poppins, sans-serif;
    font-size: 18px;
    font-weight: 700;
    font-style: normal;
    line-height: normal;
    color: #fd532f;
}

.toplist-scandicasinos__offer-bonus-title {
    font-family: Poppins, sans-serif;
    font-size: 16.5px;
    font-weight: 700;
    font-style: normal;
    line-height: normal;
    text-align: center;
    text-transform: capitalize;
    color: #3e3c3c;
}

.toplist-scandicasinos__offer-cta-btn {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 55px;
    padding: 17px 25px;
    text-align: center;
    color: #fff;
    border-radius: 31px;
    background: #fd532f;
    grid-area: cta-btn;
}

.toplist-scandicasinos__offer-cta-btn:hover {
    text-decoration: none;
    color: #fff;
    background: #060605;
}

.toplist-scandicasinos__show-more-btn {
    font-family: Poppins, sans-serif;
    font-size: 20px;
    font-weight: 700;
    font-style: normal;
    line-height: 20px;
    width: 129px;
    margin: 56px auto auto;
    text-align: center;
    color: #fd532f;
    text-decoration-line: underline;
    text-underline-position: from-font;
}

.toplist-scandicasinos__show-more-btn:hover {
    cursor: pointer;
}

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

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

    .toplist-scandicasinos__filter-tag {
        font-size: 10.824px;
        line-height: 16.912px;
        height: 22.324px;
        padding: 2.706px 7.441px;
        border: 0.676px solid #fd532f;
        border-radius: 5.412px;
    }

    .toplist-scandicasinos__filter-tag.filter-tag-active {
        line-height: 14.882px;
        height: 22.324px;
        padding: 3.382px 6.088px;
    }

    .toplist-scandicasinos__filter-tag img {
        width: 14px !important;
        height: 14px !important;
        margin-right: 4px;
    }

    .toplist-scandicasinos__offer {
        padding: 13px 15px 29px;
        gap: 16px;
        grid-template-areas:
            'logo'
            'info'
            'extra'
            'cta-btn';
        grid-template-columns: auto;
        grid-template-rows: 1fr;
    }

    .toplist-scandicasinos__offer-facts {
        width: fit-content;
    }

    .toplist-scandicasinos__offer-extra {
        margin-top: 10px;
    }

    .toplist-scandicasinos__offer-cta-btn {
        width: 204px;
        margin: 5px auto auto;
    }

    .toplist-scandicasinos__show-more-btn {
        margin: 42px auto auto;
    }
}
