*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.date-navigation{
    display: flex;
    /*width: 1680px;*/
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.date-scroll{
    display: flex;
    width: 1680px;
    align-items: flex-start;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 10px;
}
.date-scroll .date-item{
    display: flex;
    padding: 15px 24px;
    justify-content: center;
    align-items: center;
    border: none;
    background: none;
    font-family: HelveticaNeueCyr;
    font-size: 18px;
    font-style: normal;
    font-weight: 550;
    line-height: 130%;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-radius: 8px;
}
.date-item:hover{
    color: #007bff;
    background-color: #e9ecef;
    border-radius: 8px;
}

.date-item.active{
    color: #007bff;
    background-color: #E3F2FD;
    border-radius: 8px;
    font-weight: 700;
}
.lesson-container{
    display: flex;
    flex-direction: column;
    padding: 30px 0;
}
.lesson-card{
    display: flex;
    padding: 40px;
    justify-content: space-between;
    align-items: flex-start;
    border-radius: 8px;
    background: var(--Ultra-Light-Blue, #F5F7FB);
    margin: 30px;
}
.card-left, .card-right{
    display: flex;
    width: 740px;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    flex-shrink: 0;
}
.card-left p{
    color:  #4C4C4C;
    font-kerning: none;
    font-family: HelveticaNeueCyr;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
}
.card-left h3{
    color:  #2B2B2B;
    font-family: HelveticaNeueCyr;
    font-size: 26px;
    font-style: normal;
    font-weight: 550;
    line-height: 130%; /* 33.8px */
    letter-spacing: -0.26px;
}
.card-left .topic{
    display: flex;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
}
.card-left .topic .lesson-title{
    width: 135px;
    color: #2B2B2B;
    font-family: HelveticaNeueCyr;
    font-size: 18px;
    font-style: normal;
    font-weight: 550;
    line-height: 130%; /* 23.4px */
}
.card-left .topic .content{
    flex: 1 0 0;
    color: #4C4C4C;
    font-kerning: none;
    font-family: HelveticaNeueCyr;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
}
.teacher-avatar{
    display: flex;
    width: 60px;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
}
.card-left .lesson-teacher{
    display: flex;
    width: 740px;
    align-items: center;
    gap: 20px;
}
.lesson-teacher .photo{
    width: 90px;
}
.lesson-teacher img{
    background: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.lesson-expert{
    display: flex;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
}
.lesson-expert h4:nth-child(1){
    width: 135px;
}
@media (max-width: 1200px) {
    .date-scroll .date-item{
        padding: 12px 20px;
        font-size: 16px;
    }

    .lesson-card{
        padding: 30px;
        gap: 30px;
    }

    .card-left h3{
        font-size: 22px;
    }

    .lesson-title{
        min-width: 120px;
        font-size: 16px;
    }

    .lesson-content{
        font-size: 15px;
    }
    .card-left .lesson-teacher{
        width: auto;
    }
}

@media (max-width: 992px) {
    .lesson-card{
        flex-direction: column;
        padding: 25px;
    }

    .card-left, .card-right{
        width: 100%;
    }
}

@media (max-width: 768px) {
    .date-navigation{
        gap: 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .date-scroll{
        gap: 15px;
        padding-bottom: 8px;
    }

    .date-scroll .date-item{
        padding: 10px 16px;
        font-size: 14px;
    }

    .lesson-card{
        padding: 20px;
        gap: 20px;
        margin: 0;
        border-radius: 6px;
    }

    .card-left, .card-right{
        gap: 20px;
    }

    .card-left p{
        font-size: 14px;
    }

    .card-left h3{
        font-size: 18px;
        letter-spacing: -0.18px;
    }

    .card-left .topic{
        flex-direction: column;
        gap: 10px;
    }

    .lesson-title{
        min-width: auto;
        width: 100%;
        font-size: 16px;
    }

    .lesson-content{
        font-size: 14px;
    }

    .card-left .lesson-teacher{
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .lesson-teacher .photo{
        /*width: 100%;*/
        display: flex;
        justify-content: center;
    }

    .lesson-teacher img{
        width: 80px;
        height: 80px;
    }

    .teacher-name{
        font-size: 16px;
    }

    .teacher-position{
        font-size: 14px;
    }

    .lesson-expert{
        flex-direction: column;
        gap: 10px;
    }

    .lesson-expert h4:nth-child(1){
        min-width: auto;
        width: 100%;
    }

    .lesson-expert h4:nth-child(2){
        font-size: 16px;
    }

    .lesson-expert p{
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .date-scroll .date-item{
        padding: 8px 14px;
        font-size: 13px;
    }

    .lesson-card{
        padding: 15px;
    }

    .card-left h3{
        font-size: 16px;
    }

    .lesson-title{
        font-size: 14px;
    }

    .lesson-content{
        font-size: 13px;
    }

    .teacher-name{
        font-size: 14px;
    }

    .teacher-position{
        font-size: 13px;
    }

    .lesson-expert h4:nth-child(2){
        font-size: 14px;
    }

    .lesson-expert p{
        font-size: 13px;
    }
}

@media (max-width: 392px) {
    .date-scroll{
        gap: 10px;
    }



    .date-scroll .date-item{
        padding: 6px 12px;
        font-size: 12px;
    }

    .lesson-card{
        padding: 12px;
        gap: 15px;
        margin: 30px 0;
    }

    .card-left, .card-right{
        gap: 15px;
    }

    .card-left h3{
        font-size: 15px;
    }

    .card-left p{
        font-size: 12px;
    }

    .lesson-teacher img{
        width: 60px;
        height: 60px;
    }
}

.page_container{
    width: 100%;
    padding: 0 15px;
}

.container{
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .container{
        padding: 0 10px;
    }

    .mb-40{
        margin-bottom: 20px !important;
    }

    .pt-40{
        padding-top: 20px !important;
    }

    .mb-60{
        margin-bottom: 30px !important;
    }
}