/* =========================================================
   INVITED LECTURERS SLIDER
========================================================= */

.invited-lecturers{
    max-width:1200px;
    margin:2rem auto;
    padding:0 5%;
}


/* =========================================================
   HEADER
========================================================= */

.invited-lecturers-header{
    text-align:center;
    margin-bottom:3rem;
}

.invited-lecturers-label{
    display:inline-block;
    background:#003366;
    color:#fff;
    padding:7px 18px;
    border-radius:30px;
    font-size:.85rem;
    font-weight:700;
    letter-spacing:1px;
    margin-bottom:15px;
}

.invited-lecturers-header h2{
    color:#003366;
    font-size:2.2rem;
    margin:0 0 15px;
}

.invited-lecturers-header p{
    max-width:750px;
    margin:auto;
    color:#555;
    line-height:1.7;
    font-size:1.05rem;
}


/* =========================================================
   SLIDER
========================================================= */

.lecturers-slider{
    position:relative;
    overflow:hidden;
    background:#fff;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
    min-height:480px;
}


/* =========================================================
   SLIDE
========================================================= */

.lecturer-slide{
    display:none;
    grid-template-columns:40% 60%;
    height:480px;
    animation:lecturerFade .6s ease;
}

.lecturer-slide.active{
    display:grid;
}


/* =========================================================
   SLIDE ANIMATION
========================================================= */

@keyframes lecturerFade{

    from{
        opacity:0;
        transform:translateX(20px);
    }

    to{
        opacity:1;
        transform:translateX(0);
    }

}


/* =========================================================
   LECTURER PHOTO
========================================================= */

.lecturer-photo{
    height:480px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    background:#f5f7fa;
}

.lecturer-photo img{
    width:auto;
    height:420px;
    max-width:90%;
    object-fit:contain;
}

/* min-height:480px; */
/* ========================================================= 
   LECTURER CONTENT
========================================================= */

.lecturer-content{
    padding:50px 60px 70px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}


/* =========================================================
   BADGE
========================================================= */

.lecturer-badge{
    display:inline-block;
    align-self:flex-start;
    background:#c112c1;
    color:#fff;
    padding:7px 16px;
    border-radius:20px;
    font-size:.8rem;
    font-weight:700;
    letter-spacing:1px;
    margin-bottom:20px;
}


/* =========================================================
   LECTURE TITLE
========================================================= */

.lecturer-title{
    color:#003366;
    font-size:1.75rem;
    line-height:1.35;
    margin:0 0 25px;
}


/* =========================================================
   LECTURER NAME
========================================================= */

.lecturer-name{
    color:#003366;
    font-size:1.35rem;
    margin:0 0 5px;
}


/* =========================================================
   POSITION
========================================================= */

.lecturer-position{
    color:#555;
    font-weight:600;
    margin:0 0 4px;
    line-height:1.5;
}


/* =========================================================
   INSTITUTION
========================================================= */

.lecturer-institution{
    color:#0066b3;
    font-weight:700;
    margin:0 0 20px;
    line-height:1.5;
}


/* =========================================================
   BIOGRAPHY
========================================================= */

.lecturer-bio{
    border-top:1px solid #e5e5e5;
    padding-top:20px;
}

.lecturer-bio p{
    color:#555;
    line-height:1.75;
    margin:0;
    font-size:.98rem;
}


/* =========================================================
   SLIDER ARROWS
========================================================= */

.lecturer-prev,
.lecturer-next{

    position:absolute;

    top:50%;
    transform:translateY(-50%);

    width:45px;
    height:45px;

    border:none;
    border-radius:50%;

    background:rgba(0,51,102,.9);
    color:#fff;

    font-size:1.4rem;

    display:flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;

    transition:.3s;

    z-index:5;
}

.lecturer-prev{
    left:20px;
}

.lecturer-next{
    right:20px;
}


.lecturer-prev:hover,
.lecturer-next:hover{

    background:#f39c12;
    transform:translateY(-50%) scale(1.08);

}


/* =========================================================
   DOTS
========================================================= */

.lecturer-dots{

    position:absolute;

    bottom:20px;
    left:50%;

    transform:translateX(-50%);

    display:flex;
    gap:9px;

    z-index:10;
}

.lecturer-dot{

    width:11px;
    height:11px;

    padding:0;

    border:none;
    border-radius:50%;

    background:#c8c8c8;

    cursor:pointer;

    transition:.3s;
}

.lecturer-dot:hover{
    background:#0066b3;
}

.lecturer-dot.active{
    background:#003366;
    transform:scale(1.25);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width:1000px){

    .invited-lecturers{
        margin:4rem auto;
    }

    .lecturer-slide{
        grid-template-columns:38% 62%;
        min-height:450px;
    }

    .lecturer-photo,
    .lecturer-photo img{
        min-height:450px;
    }

    .lecturer-content{
        padding:40px 45px 65px;
    }

    .lecturer-title{
        font-size:1.5rem;
    }

    .lecturer-name{
        font-size:1.2rem;
    }

    .lecturer-bio p{
        font-size:.94rem;
    }

}


/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width:768px){

    .invited-lecturers{
        margin:3.5rem auto;
        padding:0 4%;
    }

    .invited-lecturers-header{
        margin-bottom:2rem;
    }

    .invited-lecturers-header h2{
        font-size:1.8rem;
    }

    .invited-lecturers-header p{
        font-size:.98rem;
    }


    .lecturers-slider{
        border-radius:16px;
        min-height:auto;
    }


    .lecturer-slide{
        grid-template-columns:1fr;
        min-height:auto;
    }


    .lecturer-photo{
        min-height:350px;
        height:350px;
    }

    .lecturer-photo img{
        min-height:350px;
        height:350px;
    }


    .lecturer-content{
        padding:35px 35px 70px;
    }


    .lecturer-title{
        font-size:1.5rem;
    }


    .lecturer-prev,
    .lecturer-next{
        width:40px;
        height:40px;
        font-size:1.2rem;
    }

    .lecturer-prev{
        left:15px;
    }

    .lecturer-next{
        right:15px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width:480px){

    .invited-lecturers{
        margin:3rem auto;
        padding:0 15px;
    }


    .invited-lecturers-label{
        font-size:.75rem;
        padding:6px 14px;
    }


    .invited-lecturers-header h2{
        font-size:1.55rem;
    }


    .invited-lecturers-header p{
        font-size:.92rem;
        line-height:1.6;
    }


    .lecturer-photo{
        height:280px;
        min-height:280px;
    }

    .lecturer-photo img{
        height:280px;
        min-height:280px;
    }


    .lecturer-content{
        padding:28px 25px 65px;
    }


    .lecturer-badge{
        font-size:.7rem;
        padding:6px 13px;
        margin-bottom:15px;
    }


    .lecturer-title{
        font-size:1.3rem;
        line-height:1.4;
        margin-bottom:20px;
    }


    .lecturer-name{
        font-size:1.15rem;
    }


    .lecturer-position,
    .lecturer-institution{
        font-size:.9rem;
    }


    .lecturer-bio{
        padding-top:17px;
    }


    .lecturer-bio p{
        font-size:.9rem;
        line-height:1.65;
    }


    .lecturer-prev,
    .lecturer-next{
        width:36px;
        height:36px;
        font-size:1rem;
    }


    .lecturer-prev{
        left:10px;
    }

    .lecturer-next{
        right:10px;
    }


    .lecturer-dots{
        bottom:15px;
    }

    .lecturer-dot{
        width:9px;
        height:9px;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width:360px){

    .lecturer-photo,
    .lecturer-photo img{
        height:240px;
        min-height:240px;
    }

    .lecturer-content{
        padding:25px 20px 60px;
    }

    .lecturer-title{
        font-size:1.2rem;
    }

}