/*--------------------------------------------------------------
# Lecturers (Updated)
--------------------------------------------------------------*/

.lecturers-thumb-wrap {
    max-width: 191px;
}

.lecturers-content {
    padding-left: 10px;
}

h2.lecturers-name {
    font-size: 26px;
    font-weight: 700;
    color: #414141;
    margin: 0;
    line-height: 34px;
}

h4.lecturers-subject {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
}

.lecturers-content > .content-body {
    padding-bottom: 20px;
    padding-top: 0px;
    border: none;
}

.lecturers-content > .content-footer p {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: #a9a9a9;
    line-height: 22px;
}

.lecturers-footer p {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: #a9a9a9;
    line-height: 22px;
}

.lecturers-thubmnail {
    position: relative;
    height: 185px;
    width: 100%;
    overflow: hidden;
}

.img-responsive {
    min-width: 100%;
}

.lecturers-thubmnail img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0%);
    max-width: none;
    width: auto;
}

/* Remove margin and ensure text is fully visible */
p.lecturers-content {
    margin: 0;
}

.content-footer {
    /* Remove max-height and overflow hidden to ensure content is not cut off */
    max-height: none;
    overflow: visible;
}

.lecturers-box {
    padding: 12.5px 0;
    /* Remove overflow hidden to prevent clipping of content */
    overflow: visible;
}

@media only screen and (max-width: 768px) {
}

@media only screen and (max-width: 500px) {

    .lecturers-box .lecturers-thumb-wrap{
        width: 100%;
        padding: 0 0 10px 0;
        max-width: none;
    }

    .lecturers-thubmnail{
        height: auto;
    }

    .lecturers-thubmnail img{
        width: 100%;
    }

    .lecturers-content > .content-body{
        padding-bottom: 10px;
    }

    .lecturers-content > .content-footer p{
        font-size: 14px;
    }
}