.teachers-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 30px;
    row-gap: 30px;
}
.teacher-page.cards-container{
    grid-template-columns: unset!important;
}
.teacher-page .title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.teacher-page .filter-input {
    width: 250px;
}
.teachers-list .teacher-card{
    cursor: pointer;
}
.teachers-list .teacher-card img{
    width: 100%;
}
.teachers-list .teacher-card h2{
    font-size: 20px;
    margin-top: 10px;
}

.teachers-list .teacher-card h3{
    font-size: 17px;
    margin-top: 4px;
    font-weight: 400;
}
blockquote {
    font-weight: 600;
    margin: 0 auto 20px auto;
    font-size: 32px;
    line-height: 1.4;
}
cite{
    font-weight: 300;
}

/*docente*/
.main-teacher {
    display: grid;
    grid-template-columns: 50% 45%;
    column-gap: 5%;
}
.main-teacher img {
    max-width: 500px;
    margin-left: auto;
    position: sticky;
    top: 100px;
}
.main-teacher .img-div{
    display: grid;
    row-gap: 50px;
}
.teacher-info h1{
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 6px;
}
.teacher-info span{
    font-size: 18px;
    font-weight: 500;
}

.teacher-info h2 {
    font-size: 27px;
    margin-top: 25px;
    margin-bottom: 15px;
}
.info-request{
    width: 240px;
    padding: 13px;
    margin-left: auto;
    margin-right: auto;
}
.teacher-works {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 20px;
    margin-top: 28px;
}
.teacher-works img{
    width: 100%;
}

.teacher-schools {
    display: grid;
    grid-template-columns: 200px auto;
    column-gap: 30px;
}
.school-card{
    width: 300px;
}
.school-card-title h3{
    font-size: 27px!important;
}
.school-card-p p{
    font-weight: 500;
    font-size: 15px!important;
}

.teacher-social-icon {
    position: absolute;
    max-width: 200px;
    right: 10px;
}

.teacher-website{
    padding-top: 10px;
}
.teacher-website a {
    text-decoration: unset;
    font-size: 12px;
}
.teacher-card-footer {
    min-height: 70px;
}

@media screen and (max-width: 991px) {
    .teachers-list {
        grid-template-columns: repeat(3, 1fr);
    }
    .teachers-list .teacher-card{
        width: unset;
    }
    .teachers .cards-container .title{
        display: unset;
        max-width: 500px;
    }
    .main-teacher img {
        max-width: 100%;
        margin-left: auto;
    }
    .teacher-info h1{
        font-size: 30px;
    }
    .teacher-info h2 {
        font-size: 24px;
    }
    .teacher-info p {
        font-size: 14px;
    }
    .teacher-works{
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .teacher-schools {
        grid-template-columns: auto;
    }
}

@media screen and (max-width: 500px) {
    .teachers-list .teacher-card{
        max-width: 300px;
        margin: 0 auto;
    }
    .teachers-list .teacher-card img{
        height: unset;
    }
    ul.pagination {
        max-width: 350px;
        overflow-x: scroll;
        gap: 7px;
        height: 40px;
        padding-left: 0;
    }
}
@media screen and (max-width: 768px) {
    .teachers-list {
        grid-template-columns: repeat(1, 1fr);
    }
    .teacher-works{
        grid-template-columns: repeat(1, 1fr);
    }
    .teacher-schools h2 br{
        display: none;
    }
    .teacher-schools .schools{
        display: grid;
        grid-template-columns: auto;
        gap: 30px;
    }
    .teacher-info h1 br{
        display: none;
    }
    .main-teacher{
        grid-template-columns: auto;
    }
    .main-teacher .img-div {
        grid-row: 2;
        margin-top: 55px;
    }
}
