.curse-card{
    width: 39.1vw;
    height: 25.86vw;
    flex-shrink: 0;
    border-radius: 1.7361vw;
    background: #1A1A1A;
    cursor: pointer;

    position: absolute;
    overflow: hidden;
    transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out; /* Плавный переход */
    display: inline-block;
}

.curse-card:hover{
    transform: scale(1.04);
    box-shadow: 0 0 10px 5px rgba(86, 198, 191, 0.45);
}

.curse-card:active{
    transform: scale(1.01);
    box-shadow: 0 0 7px 2px rgba(86, 198, 191, 0.45);
}

.curse-name-on-card{
    color: #FFF;
    font-family: Montserrat;
    font-size: 1.4vw;
    font-style: normal;
    font-weight: 700;
    line-height: normal;

    width: 18.96vw;
    height: 1.61vw;
    flex-shrink: 0;

    top: 3.3541vw;
    left: 3.125vw;
    position: absolute;
}

.curse-description-on-card{
    color: #FFF;
    font-family: Montserrat;
    font-size: 1.26vw;
    font-style: normal;
    font-weight: 400;
    line-height: normal;

    width: 31.92vw;
    height: 4.8034vw;
    flex-shrink: 0;

    left: 3.125vw;
    top: 8.086vw;

    position: absolute;
}

.curse-icon-on-card{
    width: 4.3vw;
    height: auto;
    flex-shrink: 0;
    position: absolute;

}

.icon-on-curse
{
    top: 1.68vw;
    right: 3.125vw;
}
.icon-on-nabor
{
    bottom: 1.68vw;
    left: 3.125vw;
    transform-origin: left bottom;
}
.course-link {
    color: #4DAFA9;
    /*text-decoration: none;*/
    position: absolute;
    font-weight: 600;
    font-family: Montserrat;
    font-size: 1.2vw;
    display: inline-block;
    transition: scale 0.2s ease;
    bottom: 1.68vw;
    right: 3vw;
}

.course-link:hover {
    color: #6FCDB9;
    scale: 1.2;
}

.discount-tag {
    position: absolute;
    top: 7.8vw;
    font-family: Montserrat;
    right: -2.8vw;
    background-color: #4DAFA9;
    color: #ffffff;
    font-weight: 600;
    font-size: 3vw;
    text-align: center;
    rotate: 44.25deg;
    transform-origin: top right;
    width: 15vw;
    height: 3.3667vw;
}