/* Cards */

.card-box{
    margin-bottom: 45px;
}
.card-box a{
    text-decoration: none;
}
.card-box h4{
    font-weight: 700;
}
.cards .intro{
    gap: 30px;
}
.cards .intro h2{
    margin-bottom: 15px;
}
.cards .intro .links-group{
    margin-top: 0;
}
.cards.cpr-3 .card-box.image:nth-child(2), .cards.cpr-4 .card-box.image:nth-child(even){
    margin-top: 90px;
}
.card-box.image .wrapper{
    padding: 0;
    border-radius: 20px;
    position: relative;
}
.card-box.image .image-wrapper img{
    border-radius: 17px;
}
.card-box.image .wrapper .content-wrapper{
    padding: 40px 40px 50px;
}
.card-box.image .button{
    text-align: left;
    position: absolute;
    bottom: 35px;
    max-width: calc(100% - 80px);
    margin-bottom: 0;
}
.card-box.image .button:not(.text){
    width: auto
    text-align: center;
    left: 40px;
    min-width: 100px;
}
.card-box.image .button.text{
    text-align: left;
}
.card-box.image .image-wrapper{
    width: 100%;
    height: auto;
    border-radius: 20px;
    padding: 0;
    top: 0;
    margin: 0;
    display: block;
}
.card-box.image a:hover .image-wrapper{
    top: 0;
}
.cards.center-cards .card-box:last-child{
    float: none;
    display: inline-block;
    margin-top: 30px;
}
.card-box.classic .image-wrapper{
    border-radius: 50%;
    padding: 10px;
    /*width: 103px;
    height: 103px;*/
    max-width: 200px;
    max-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cards.classic-boxy .card-box.classic .image-wrapper{
    border-radius: 10px;
    align-items: flex-end;
}
.card-box.classic .box{
    border-radius: 0;
}
.card-box.classic{
    margin-bottom: 72px;
}
.card-box.flat_image_cards .content-wrapper{
    padding: 14px 34px 34px;
}
.cards.classic-boxy:not(.white){
    border-radius: 40px;
}
.row-cols-5{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.row-cols-5:before{
    content: none!important;
}
.row-cols-5 .col-5ths{
    width: 100%;
}
.row-cols-5 .col-5ths .image-wrapper{
    justify-content: center;
    align-items: center!important;
    width: 100%;
}
.row-cols-5 .col-5ths h3{
    font-size: var(--font-md);
}
.cards.has-animated-line-top.style-wave{
    padding-top: 300px;
}
.cards .animated-line{
    top: -120px;
}
.cards .animated-line.wave_2{
    left: -60px;
    top: -250px;
}
.card-box.classic .box{
    display: flex;
    align-items: stretch;
    width: 100%;
}
.cards.style-classic.classic-boxy a.image-link{
    transition: all 0.2s ease-in-out;
    display: block;
    width: 100%;
}
.cards.style-classic.classic-boxy a.image-link:hover{
    background: var(--lilac30);
    border-radius: 20px;
    display: block;
}
.cards.style-classic.classic-boxy a.image-link .image-wrapper{
    margin-top: 20px;
    background: transparent!important;
}
.cards.style-classic.classic-boxy a.image-link:hover .image-wrapper{
    background: transparent;
}
.cards.style-classic:not(.classic-boxy) .card-box.classic .image-wrapper{
    background: transparent;
    border-radius: 0;
}
.cards .adaptive-height-2x .content p:last-child{
    margin-bottom: 0;
}
.cards .adaptive-height-2x .content + .txt-btn{
    margin-top: 15px;
}
.module.white.style-flat_image_cards .card-box.flat_image_cards .image-wrapper{
    overflow: hidden;
    border-radius: 20px;
}
.module.white.style-flat_image_cards .card-box.flat_image_cards .image-wrapper img{
    border-radius: 20px;
}
.module.white.style-flat_image_cards .card-box.flat_image_cards .box.white .content-wrapper{
    padding-left: 0;
    padding-right: 0;
}

@media screen and (max-width: 1600px){
    .cards .animated-line.wave_2{
        top: -200px;
    }
}

@media screen and (max-width: 1480px){
    .cards.has-animated-line-top.style-wave{
        padding-top: 250px;
    }
    .cards .animated-line{
        top: -80px;
    }
}

@media screen and (max-width: 1199px){
    .cards.has-animated-line-top.style-wave{
        padding-top: 180px;
    }
    .cards .animated-line{
        top: -70px;
    }
    .cards.has-animated-line-top .animated-line.wave_2{
        top: -150px;
    }
}

@media screen and (max-width: 991px){
    .cards.cpr-2.style-image .image-wrapper, .cards.cpr-2.style-image .card-box a:hover .image-wrapper{
        top: 0;
        position: relative;
        margin: 0 auto -80px;
    }
    .cards.cpr-2.style-image .wrapper{
        padding-left: 0;
    }
    .cards.cpr-2.style-image .wrapper a{
        background: transparent!important;
    }
    .cards.cpr-2.style-image .content-wrapper{
        padding: 100px 30px 35px;
    }
    .cards.has-animated-line-top.style-wave{
        padding-top: 150px;
    }
    .cards .animated-line{
        top: -50px;
    }
    .cards.has-animated-line-top .animated-line.wave_2{
        top: -100px;
    }
}

@media screen and (max-width: 767px){
    .card-box.image{
        margin-bottom: 30px;
    }
    .card-box .adaptive-height-2{
        height: auto!important;
    }
    .cards.cpr-3 .card-box.image:nth-child(2), .cards.cpr-4 .card-box.image:nth-child(even){
        margin-top: 0;
    }
    .card-box.image .wrapper .content-wrapper{
        padding: 25px 20px 30px;
    }
    .card-box.image .wrapper.top_bottom_rounded .content-wrapper{
        padding-bottom: 50px!important;
    }
    .cards.has-animated-line-top.style-wave{
        padding-top: 100px;
    }
    .cards .animated-line{
        top: -40px;
    }
    .animated-line .line{
        stroke-width: 30px!important;
    }
}

@media screen and (max-width: 480px){
    .cards.has-animated-line-top.style-wave{
        padding-top: 70px;
    }
    .cards .animated-line{
        top: -30px;
    }
    .cards.has-animated-line-top .animated-line.wave_2{
        top: -50px;
        left: -20px;
    }
}
