.tops-new-dsgn {
    width: 100%;
    clear: left;
    margin-bottom: 20px;
}

.home-top-new{
    display: flex;
    flex-direction: column;
    row-gap: 15px;
}

.home-top-item-container{
    container-type: inline-size;
}

.home-top-item{
    position: relative;
    display: flex;
    z-index: 1;
    box-shadow: 0px 5px 10px 0px #00000029;
    border-radius: 3px 3px 0 3px;
}

.home-top-item *{
    box-sizing: border-box;
}

.home-top-item .number-top {
    position: relative;
    display: flex;
    align-items: center;
    width: 4%;
}

.bloc-thumb {
    width: 41%;
    display: flex;
}

.bloc-cta{
    width: 55%;
    display: flex;
}


.home-top-item .thumb-box {
    width: 23%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bloc-thumb .thumb-box{
    width: 56.1%;
}

.home-top-item picture {
    height: 0;
    display: inline-block;
}

.home-top-item .casino-name {
    width: 18%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-block: 16px;
}

.bloc-thumb .casino-name{
    width: 43.9%;
}

.casino-name span.revlink {
    padding-block: 5px 0;
}

.casino-name .revlink {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    padding-inline: 16px;
}

.home-top-item .top-item-desc {
    width: 30%;
    padding-block: 20px;
    display: flex;
    justify-content: center;
}

.bloc-cta .top-item-desc {
    width: 54.55%;
}

.home-top-item .top-item-btn {
    display: flex;
    width: 25%;
    padding: 16px 30px 20px 16px;
    align-items: center;
}

.bloc-cta .top-item-btn {
    width: 45.45%;
}

.home-top-item.best .number-top svg {
    margin-left: -1px;
}

.number-top svg .main-path {
    fill: #EFEFEF;
    transition: stroke-width 0.3s ease;
}

.home-top-item.best .number-top svg .main-path {
    stroke: #E50F48;
    stroke-width: 1;
}

.home-top-item.best .number-top svg .left-stroke {
    stroke: #E50F48;
    stroke-width: 1;
    fill: none;
    stroke-linecap: square;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.home-top-item.best .number-top svg .left-stroke {
    opacity: 1;
}

.home-top-item.best{
    border: 2px solid #E50F48;
}
/*fill="#EFEFEF"*/
.home-top-item.best .number-top svg path {
    stroke: #E50F48;
}

.number-top .number-top-span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: #555555;
}

.home-top-item .thumb-box img{
    max-width: 182px;
    height: 72px;
}

.casino-name .stars {
    margin-top: 6px;
    margin-bottom: 10px;
    width: 100px;
    height: 17px;
    display: flex;
    background: #fff url(../img/commons/parier/home_stars_new.svg) left bottom repeat-x;
}

.tops-new-dsgn .home-top-item .casino-name .stars,
.tops-new-dsgn .home-top-item .casino-name .stars_in {
    background-image: url(../img/commons/parier/home_stars_new.svg);
    transform: scale(1);
}

.tops-new-dsgn .home-top-item-container .casino-name > a {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #666666;
    text-align: center;
}

.casino-name-rating {
    font-weight: 700;
    font-size: 28px;
    line-height: 38px;
    color: #666666;
}

.top-rating-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-top-item-container  ul{
    padding-bottom: 0;
    width: fit-content;
}

.home-top-item-container  ul li{
    list-style: none;
    padding-left: 15px;
    position: relative;
}

.home-top-item-container  ul li::before {
    content: '';
    position: absolute;
    margin-left: -15px;
    top: 7px;
    width: 8px;
    height: 9px;
    background: url('/img/commons/pro/triangle.svg') no-repeat center;
    background-size: contain;
}

.home-top-item .top-item-btn a{
    display: block;
    width: 100%;
    max-width: 350px;
    border-radius: 30px;
    background: #0A53B3;
    color: #FFFFFF;
    padding: 16px 8px;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    text-transform: uppercase;
}

.home-top-item .top-item-btn a:hover{
    background: #04397F;
}

.tops-new-dsgn .home-top-item-container .home-top-item.opened {
    border-bottom-left-radius: 0;
}

.brand-terms{
    background: #EFEFEF;
    padding: 16px 10px;
    box-shadow: 0px 5px 10px 0px #00000029;
    z-index: 2;
    position: relative;
}

.topsdetails-wrapper .brand-terms-text{
    padding-block: 10px;
    width: 100%;
}

.brand-terms-text {
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    color: #555555;
}

.brand-terms-text a {
    font-weight: 700;
    color: #555555;
}

.show-more-topsdetails {
    position: relative;
    background: #EFEFEF;
    color: #555;
    padding: 5px 10px;
    float: right;
    z-index: 2;
    border-radius: 0 0 4px 4px;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    cursor: pointer;
    box-shadow: 1px 4px 4px 0px #00000029;
}

.show-more-topsdetails img {
    width: 6px;
    height: 10px;
    margin-top: -2px;
}

.home-top-item-container:has(.active) .show-more-topsdetails img {
    rotate: 180deg;
}

.topsdetails-wrapper {
    background: #EFEFEF;
    padding: 0 10px 0 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    height: 0;
    overflow: hidden;
    position: relative;
    box-shadow: none;
    transition: height .3s linear;
}

.topsdetails-wrapper.active {
    padding-top: 10px;
    height: auto;
    z-index: 2;
    box-shadow: 0px 5px 10px 0px #00000029;
}

.topsdetails-wrapper.no-terms-text.active {
    padding-bottom: 10px;
}

.tops-new-dsgn .home-top-item-container .home-top-item.with-terms {
    border-bottom-left-radius: 0;
}

.benefits-wrap,
.withdrawal-time-wrap,
.payment-methods-wrap {
    width: calc((100% / 3) - 7px);
    background: #fff;
    padding: 20px;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-shrink: 0;
    flex-direction: column;
}

.benefits-wrap {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}

.benefits-wrap ul {
    padding: 0;
    max-width: 100%;
    width: fit-content;
}

.benefits-wrap li {
    list-style-type: none;
}

.benefits-wrap li:before {
    content: '';
    position: absolute;
    width: 8px !important;
    height: 9px !important;
    background-image: url(../img/commons/gr2/icon_pointers.svg);
    background-repeat: no-repeat;
}

.details-wrap-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.details-wrap-content {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 20px;
    color: rgba(52, 58, 64, 1);
    line-height: 30px;
    min-height: 30px;
}

.withdrawal-time-wrap .details-wrap-content {
    margin-block: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    vertical-align: middle;
    color: #555555;
}

.payment-methods-wrap .details-wrap-content {
    width: 100%;
    gap: 10px;
}

.payment-methods-wrap .details-wrap-content .bank-logo {
    padding: 2px;
    border-radius: 3px;
    border: 1px solid #efefef;
    width: 100%;
    max-width: 66px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-methods-wrap .details-wrap-content img {
    width: 100%;
    object-fit: contain;
    height: 100% !important;
}

.hide_terms{
    display: none;
}

.show-more-payment-methods {
    position: relative;
    text-align: center;
}

.details-wrap-content .bank-logo:nth-child(n+5) {
    display: none;
}

.details-wrap-content {
    display: grid; 
    justify-content: center;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 10px;
}

.bank-logo {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

a.show-more-payment-txt {
    display: inline-block;
    cursor: pointer;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    vertical-align: middle;
    color: #555555;
    text-decoration: underline;
    text-decoration-style: solid;
    margin-top: 10px;
}

a.show-more-payment-txt:hover {
    text-decoration: none;
}

a.show-more-payment-txt::after {
    content: attr(data-text-open);
    font-size: 14px;
}

.home-top-item-container.pronostic .number-top{
    width: 5.53%;
}

.home-top-item-container.pronostic .top-item-desc{
    width: 19.36%;
}

.home-top-item-container.pronostic .top-item-btn{
    width: 25.57%;
    padding: 16px 20px 16px 10px;
}

.home-top-item-container.pronostic .thumb-box,
.home-top-item-container.pronostic .casino-name{
    width: 24.77%;
}

.home-top-item-container.pronostic .top-item-cote,
.home-top-item-container.pronostic .top-item-bonus{
    display: flex;
    flex-direction: column;
    padding: 10px 12px;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #E50F48;
}

.home-top-item-container.pronostic .top-item-cote .c_title,
.home-top-item-container.pronostic .top-item-bonus .b_title{
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: #555555;
}

.home-top-item-container.pronostic .home-top-item .casino-name{
    align-items: start;
    gap: 5px;
    padding: 12px;
    font-weight: 700;
    font-size: 12px;
    line-height: 18px;
    vertical-align: middle;
}

.home-top-item-container.pronostic .home-top-item .casino-name a{
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    vertical-align: middle;
    text-decoration: underline;
    text-decoration-style: solid;
    color: #0A53B3;
}

.home-top-item-container.pronostic .home-top-item .casino-name a:hover{
    color: #04397F;
}

.home-top-item-container.pronostic .details-wrap-content{
    min-height: unset;
}

.home-top-item-container.pronostic .thumb-box img {
    max-width: 150px;
    height: 60px;
}

.ndash {
    font-size: 25px;
}

.home-top-item .top-item-desc ul{
    padding: 0;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: start;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    text-align: left;
}

@container (min-width: 901px) {
    .home-top-item .top-item-desc ul{
        padding-inline: 10px;
    }
}

@container (max-width: 900px) {
    .home-top-item-container:not(.pronostic) .number-top{
        width: 48px;
        height: 40px;
        top: 0;
        left: 0;
        position: absolute;
    }

    .home-top-item-container:not(.pronostic) .home-top-item {
        display: flex;
    }

    .home-top-item .bloc-cta,
    .home-top-item .bloc-thumb{
        width: 50%;
        flex-direction: column;
        justify-content: end;
    }

    .home-top-item .bloc-cta .top-item-desc{
        flex-grow: 1;
    }

    .home-top-item .bloc-thumb .thumb-box,
    .home-top-item .bloc-thumb .casino-name,
    .home-top-item .bloc-cta .top-item-desc,
    .home-top-item .bloc-cta .top-item-btn{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .bloc-thumb .thumb-box {
        padding-block: 20px 5px;
    }

    .bloc-thumb .thumb-box img {
        max-width: 153px;
        height: 60px !important;
    }

    .bloc-thumb .casino-name {
        padding-block: 0;
    }

    .bloc-thumb .casino-name a.revlink,
    .bloc-thumb .casino-name span.revlink{
        font-weight: 700;
        font-size: 18px;
        line-height: 27px;
        text-align: center;
        padding: 12px 16px 20px 16px;
        margin-top: 0;
    }

    .bloc-thumb .casino-name .casino-name-rating{
        font-size: 30px;
        line-height: 45px;
    }

    .home-top-item .bloc-cta .top-item-desc{
        padding-block: 20px 10px;
        padding-inline: 16px;
    }

    .home-top-item .bloc-cta .top-item-desc ul{
        padding: 0;
        width: fit-content;
        display: flex;
        flex-direction: column;
        align-items: start;
        font-weight: 700;
        max-width: 350px;
        font-size: 16px;
        line-height: 24px;
        text-align: left;
    }

    .home-top-item .bloc-cta .top-item-btn{
        padding: 16px 16px 20px 16px;
    }

    .home-top-item-container:not(.pronostic) .topsdetails-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 10px;
    }

    .home-top-item-container:not(.pronostic) #benefits-wrap {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
    }

    .home-top-item-container:not(.pronostic) #withdrawal-time-wrap {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
    }

    .home-top-item-container:not(.pronostic) #payment-methods-wrap {
        grid-column: 2;
        grid-row: 1 / span 2;
        width: 100%;
    }

    .home-top-item-container:not(.pronostic) .show-more-payment-methods .details-wrap-content{
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .home-top-item-container:not(.pronostic) .payment-methods-wrap {
        justify-content: center;
    }

    .home-top-item-container .brand-terms-text {
        grid-column: 1 / span 2;
        grid-row: 3;
        width: 100%;
    }
}

@container (min-width: 500px) and (max-width: 900px) {
    .home-top-item-container:not(.pronostic) .topsdetails-wrapper #payment-methods-wrap .details-wrap-content{
        display: flex;
        flex-wrap: wrap;
    }

    .home-top-item-container:not(.pronostic) #payment-methods-wrap {
        display: flex;
        flex-wrap: wrap;
    }

    .home-top-item-container:not(.pronostic) .home-top-item:before {
        content: '';
        position: absolute;
        width: 1px;
        height: 81.65%;
        background-color: #EFEFEF;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

@container (max-width: 868px) {
    .home-top-item-container.pronostic .topsdetails-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 10px;
    }

    .home-top-item-container.pronostic #benefits-wrap {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
    }

    .home-top-item-container.pronostic #withdrawal-time-wrap {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
    }

    .home-top-item-container.pronostic #payment-methods-wrap {
        grid-column: 2;
        grid-row: 1 / span 2;
        width: 100%;
    }

    .home-top-item-container.pronostic .show-more-payment-methods .details-wrap-content{
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .home-top-item-container.pronostic .show-more-checkbox:checked ~ .details-wrap-content {
        display: flex;
        flex-wrap: wrap;
    }

    .home-top-item-container.pronostic .payment-methods-wrap {
       justify-content: center;
    }
}

@container (max-width: 699px) {
    .home-top-item-container.pronostic .number-top{
        width: 48px;
        height: 40px;
        top: 0;
        left: 0;
        position: absolute;
    }

    .home-top-item.best .number-top svg {
        margin-top: -2px;
    }

    .home-top-item-container.pronostic .home-top-item {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: min-content;
        grid-template-areas:
        "thumb-box casino-name"
        "top-item-desc top-item-btn";
        align-items: start;
    }


    .home-top-item-container.pronostic .thumb-box {
        grid-area: thumb-box;
        width: 100%;
        max-width: 349px;
        padding-block: 20px 5px;
    }

    .home-top-item-container.pronostic .thumb-box a,
    .home-top-item-container.pronostic .thumb-box img {
        max-width: 244px;
        height: 99px !important;
    }

    .home-top-item-container.pronostic .home-top-item .casino-name{
        grid-area: casino-name;
        width: 100%;
        max-width: 349px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        text-align: center;
        padding: 20px 30px 10px 30px;
        font-size: 14px;
        line-height: 20px;
    }

    .home-top-item-container.pronostic .home-top-item .casino-name a{
        font-size: 16px;
        line-height: 24px;
    }

    .home-top-item-container.pronostic .top-item-desc {
        grid-area: top-item-desc;
        width: 100%;
        max-width: 349px;
        display: flex;
        gap: 20px;
        align-self: end;
    }


    .home-top-item-container.pronostic .top-item-cote .c_title::after,
    .home-top-item-container.pronostic .top-item-bonus .b_title::after{
        content: ':';
    }

    .home-top-item-container.pronostic .top-item-cote,
    .home-top-item-container.pronostic .top-item-cote .c_title,
    .home-top-item-container.pronostic .top-item-bonus .b_title,
    .home-top-item-container.pronostic .top-item-bonus{
        display: inline-block;
        padding: 0;
        font-size: 16px ;
        line-height: 24px ;
    }

    .home-top-item-container.pronostic .top-item-btn {
        grid-area: top-item-btn;
        width: 100%;
        max-width: 349px;
    }

}

@container (min-width: 601px) and (max-width: 899px) {
    .home-top-item-container:not(.pronostic) .show-more-payment-methods .details-wrap-content{
        display: grid !important;
    }
}

@container (min-width: 500px) and (max-width: 600px) {
    .home-top-item-container:not(.pronostic) .topsdetails-wrapper{
        display: flex;
        gap: 5px;
    }
}

@container (max-width: 500px) {
    .home-top-item .bloc-cta, .home-top-item .bloc-thumb {
        width: 100%;
    }

    .home-top-item-container.pronostic .home-top-item {
        display: flex !important;
        flex-direction: column;
        align-items: center;
    }

    .home-top-item-container.pronostic .thumb-box {
        padding-block: 16px 6px;
    }

    .home-top-item-container.pronostic .thumb-box a, .home-top-item-container.pronostic .thumb-box img {
        max-width: 148px;
        height: 60px !important;
    }

    .home-top-item-container.pronostic .home-top-item .casino-name{
        max-width: unset;
        padding: 10px 30px;
        gap: 5px;
    }

    .home-top-item-container.pronostic .top-item-desc {
        max-width: unset;
        gap: 4px;
        padding-block: 2px;
        flex-direction: column;
        align-items: center;
    }

    .home-top-item-container.pronostic .top-item-btn {
        width: 100%;
        max-width: 240px;
        padding: 20px;
        box-sizing: content-box;
    }

    .home-top-item-container .topsdetails-wrapper {
        display: flex !important;
        gap: 5px !important;
        z-index: 2;
    }

    .topsdetails-wrapper.no-terms-text.active {
        padding-bottom: 10px;
    }

    .benefits-wrap ul {
        max-width: 100%;
        width: fit-content;
    }

    .home-top-item-container:not(.pronostic) .home-top-item {
        flex-direction: column;
    }

    .home-top-item-container:not(.pronostic) .show-more-payment-methods .details-wrap-content{
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .home-top-item-container:not(.pronostic) .payment-methods-wrap {
        justify-content: center;
    }

    .bloc-thumb .casino-name a.revlink,
    .bloc-thumb .casino-name span.revlink {
        font-weight: 700;
        font-size: 18px;
        line-height: 27px;
        text-align: center;
        padding-block: 12px 0;
        padding-inline: 30px;
        margin-top: 0;
    }

    .casino-name .stars {
        margin-block: 3px 10px;
    }

}
