/* VIDEO MODAL */

.video-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 5000;
}

.video-modal.active {
    display: block;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.75);
}

.video-wrapper {
    position: relative;
    width: 80%;
    max-width: 900px;
    margin: 8vh auto;
    background: #000;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

.close-video {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}



/* LECTURES */

.lectures {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-bottom: 120px;
}

.lecture {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    cursor: pointer;
}

.lecture-image {
    position: relative;
}

.lecture-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: .6s ease;
}

.lecture:hover img {
    filter: grayscale(0%);
}

.play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: rgba(255,255,255,.85);
    opacity: 0;
    transition: .4s ease;
}

.lecture:hover .play-icon {
    opacity: 1;
}

.lecture-content {
    max-width: 420px;
}

.lecture-year {
    font-size: 11px;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 20px;
}

.lecture-content h3 {
    font-weight: 300;
    font-size: 28px;
    letter-spacing: .05em;
    margin-bottom: 18px;
}

.lecture-content p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

/* Mobile */
@media(max-width:900px){
    .lecture{
        grid-template-columns:1fr;
    }
    .lecture-image img{
        height:300px;
    }
}
