/* BEM block: page-header */
        
.program-area{
    background: #f6f9fc;
}

.program-area__title {
    font-weight: 300;
    font-size: 40px;
    color: #000;
    margin-bottom: 62px;
}
@media (max-width: 767.98px) {
    .program-area__title {
        font-size: 20px;
        margin-bottom: 30px;
        text-align: center;
    }
}

/* BEM block: programs-list */
.programs-list {
    display: flex;
    flex-direction: column;
    
}

/* BEM block: program-card */
.program-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.program-card__content {
    display: flex;
    flex-direction: column;
    padding: 27px 31px 38px 51px;
}

/* BEM block: program-info */
.program-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.program-info__title {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.14;
    margin-bottom: 0;
    font-family: "IBM Plex Sans", sans-serif;
}

.program-info__details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #595959;
}

.program-info__detail {
    
    font-size: 15px;
}


.program-info__label {
    font-weight: 500;
}

.program-info__value {
    flex: 1;
}

/* BEM element: program-card__aside */
.program-card__aside {
    
}

.program-card__price-label {
    font-size: 18px;
}

.program-card__price-value {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 21px;
    color: #595959;
}

.program-card__price-old {
    
    text-decoration: line-through;
}

.program-card__price-current {
    
    font-weight: 500;
    color: #000;
}

.program-card__price-currency {
    font-size: 15px;
}

.program-card__btn {
    margin-top: 20px;
    background: #ff7a41;
    border-radius: 5px;
    display: block;
width: 200px;
height: 50px;

font-family: "IBM Plex Sans", sans-serif;
font-weight: 500;
font-size: 16px;
text-align: center;
color: #fff;
text-decoration: none;
line-height: 50px;

    
}

.program-card__btn:hover {
    background-color: #ff6b35;
}

/* BEM block: more-btn */
.more-btn {

    border: 1px solid #bebebe;
border-radius: 5px;
width: 170px;
height: 50px;

    display: block;
    margin: 15px auto;
background-color: transparent;
    
font-weight: 300;
font-size: 16px;
text-align: center;
color: #868686;
line-height: 48px;
cursor: pointer;
transition: all .3s;
    
    
}

.more-btn:hover {
    border-color: #ff7a45;
    color: #ff7a45;
}

/* Hidden cards initially */
.program-card.hidden {
    opacity: 0;
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    transform: translateY(-20px);
}

.program-card.show {
    opacity: 1;
    height: auto;
    
    display: block;
}

/* Responsive design */
@media (max-width: 767.98px) {
    .program-card__content {
        padding: 20px 13px 30px 13px;
    }
    
    .program-info__title {
        font-size: 17px;
    }
    
    .program-info {
        gap: 18px;
        margin-bottom: 16px;
    }
    .program-info__details{
        gap: 10px;
    }
    .program-info__detail {
        font-size: 14px;
    }
    
    .program-info__label {
        min-width: auto;
        font-weight: 400;
    }
    
    .page-header__title {
        font-size: 24px;
    }
    .program-card__price-label {
        font-size: 16px;
        font-weight: 400;
    }
    .program-card__price-value {
        font-size: 19px;
    } 
    .program-card__price-currency {
        font-size: 14px;
    }
    .program-card__btn{
        width: 160px;
height: 40px;
line-height: 40px;
font-size: 15px;
font-weight: 500;
    }
    .more-btn{
width: 139px;
height: 38px;
line-height: 35px;
    font-size: 14px;
    color: #000;
    border: 1px solid #ff7d45;
    font-weight: 300;
}
}

/* @media (max-width: 480px) {
    
    
    .program-card__content {
        padding: 16px;
    }
    
    .program-info__title {
        font-size: 16px;
    }
    
    .program-info__detail {
        font-size: 13px;
    }
    
    .program-card__price-label {
        font-size: 13px;
    }
    
    .program-card__price-value {
        font-size: 16px;
    }
    
    .program-card__btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .more-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
} */

/* BEM modifier: program-card--compact */
 @media (min-width: 992px) {
    .program-card__content {
        flex-direction: row;
        gap: 24px;
        align-items: center;
    }
    
    .program-info {
        flex: 1;
        margin-bottom: 0;
    }
    
    .program-card__aside {
        flex: 0 0 255px;
        justify-content: space-between;
        align-items: flex-start;
    }
} 

.modal_form{
    width: 784px;
    padding: 0;
}
.modal_form .modal__inner{
    padding: 0;
}
@media (max-width: 767.98px) {

    .modal_form{
        width: 300px;
    }
}