@font-face {
    font-family: 'SVN-Gilroy-Bold';
    src: url('../fonts/SVN-Gilroy Bold.otf');
}

@font-face {
    font-family: 'SVN-Gilroy-Medium-Italic';
    src: url('../fonts/SVN-Gilroy Medium Italic.otf');
}

@font-face {
    font-family: 'SVN-Gilroy-Regular';
    src: url('../fonts/SVN-Gilroy Regular.otf');
}

.section-1 {
    background-image: url('../images/giang-vien/detail/banner.webp');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    height: 400px;
}

.frame-avatar {
    width: max-content;
    width: 268px;
    height: 268px;
}

.frame-avatar img:first-child {
    position: relative;
    z-index: 9;
}

.frame-avatar img:last-child {
    width: 258px;
    height: 258px;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    z-index: 6;
    border-radius: 50%;
}

.avatar img {
    border-radius: 50%;
    width: 260px;
    height: 260px;
}

.teacher-name {
    font-family: 'SVN-Gilroy-Bold';
    color: #D72229;
    font-size: 36px;
    font-weight: 700;
    line-height: normal;
}

.teacher-name img {
    width: 36px;
    height: 36px;
}

.teacher-memo {
    font-family: 'SVN-Gilroy-Bold';
    color: #231F20;
    font-size: 22px;
    font-weight: 700;
    line-height: normal;
    padding-top: 10px;
}

.teaching-motto {
    font-family: 'SVN-Gilroy-Medium-Italic';
    color: #231F20;
    font-size: 18px;
    margin-top: 1rem;
    font-weight: 400;
    line-height: normal;
}

.teacher {
    font-size: 22px;
    height: 80px;
    background-color: #D72229;
    margin-top: -3rem;
}

.teacher .text {
    font-family: 'SVN-Gilroy-Bold';
    font-size: 1rem;
    padding-top: 6px;
}

.teacher .ielts img {
    width: 24px;
    height: 31px;
}

.teacher .education-level img {
    width: 39px;
    height: 24px;
}

.teacher .achievement img {
    width: 35px;
    height: 31px;
}

.teacher .experience img {
    width: 31px;
    height: 31px;
}

.new-post {
    font-family: 'SVN-Gilroy-Bold';
    font-size: 18px;
    color: #231F20;
}

.box-post {
    border-radius: 20px;
    box-shadow: 0px 0px 4px 0px #00000040;
    margin-bottom: 1.5rem;
    padding: 1rem;
}

.box-post .title {
    color: #231F20;
    font-family: 'SVN-Gilroy-Bold';
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
}

.box-post .description {
    font-family: 'SVN-Gilroy-Regular';
    color: #231F20;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.box-post .category {
    color: #231F20;
    font-family: 'SVN-Gilroy-Regular';
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
}

.box-post .icon img {
    width: 16px;
    height: 18px;
}

.box-post .author {
    color: #231F20;
    font-family: 'SVN-Gilroy-Regular';
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    text-align: left;
}

.author img {
    width: 15%;
    border-radius: 50%;
}

.box-post .post-date {
    color: #231F20;
    font-family: 'SVN-Gilroy-Regular';
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.box-post .post-hits {
    color: #231F20;
    font-family: 'SVN-Gilroy-Regular';
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.box-post .post-hits img {
    width: 21px;
    height: 18px;
}

.sort {
    color: #231F20;
    font-family: 'SVN-Gilroy-Regular';
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
}

.sort-date {
    border: 1px solid #c2c2c2;
    cursor: pointer;
    margin-right: 1rem;
    width: 130px;
    padding-bottom: 3px;
}
.sort-date span{
    font-size: 1rem;
    width: 86%;
}
.sort-hits {
    border: 1px solid #c2c2c2;
    cursor: pointer;
    width: 130px;
    padding-bottom: 3px;
}
.sort-hits span{
    font-size: 1rem;
    width: 86%;
}
.view-more {
    color: #F00;
    width: 184px;
    height: 50px;
    border-radius: 8px;
    border: 1px solid #F00;
    background: #FFF;
    font-family: 'SVN-Gilroy-Regular';
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
}

.quotation-marks-1 {
    transform: rotate(180deg);
    width: 33px;
    height: 28px;
    left: -2.5rem;
    top: -5px;
}

.quotation-marks-2 {
    width: 33px;
    height: 28px;
    margin-left: 1rem;
    top: 3rem;
    right: -1rem;
}

.owl-stage {
    display: flex;
    align-items: stretch;
}

.owl-item {
    padding: 0.5rem;
}

.owl-carousel .owl-item img {
    display: inline;
}

.owl-nav {
    display: flex !important;
    position: relative;
    top: unset;
    text-align: center;
    gap: 1rem;
    justify-content: center;
    margin: 1rem;
}

.teacher .achievement-block .icon {
    width: 18%;
    text-align: center;
}

.post-empty {
    font-size: 30px;
    color: red;
    margin-top: 9rem;
}

.suitable_advice {
    cursor: pointer;
    margin-top: 3rem;
    width: max-content;
    background: #c52229;
    border-radius: 1.875rem;
    border: 0.313rem solid #ffad0e;
    transition: all .25s ease;
    position: relative;
    padding: 0.5rem 1rem;
    margin-bottom: 3rem;
}

.suitable_advice:before {
    content: '';
    display: block;
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    width: 60px;
    height: 100%;
    top: 0;
    filter: blur(30px);
    transform: translateX(-100px) skewX(-15deg);
    animation: slide 3s infinite 3s;
    z-index: 999;
}

.suitable_advice p {
    font-family: 'SVN-Gilroy-Bold';
    color: #fff;
    font-size: 1.5rem;
}

.section-contact-sales-form .owl-nav {
    display: none !important;
}

.owl-nav .owl-prev, .owl-nav .owl-next {
    opacity: 1;
}

.owl-nav .owl-prev:hover, .owl-nav .owl-next:hover {
    color: #D72229 !important;
}

@media (min-width: 1024px) and (max-width: 1152px) {
    .teacher .text {
        font-size: .8rem;
        padding-left: 7px;
    }
}
@media (min-width: 1153px) and (max-width: 1440px) {

}
@media (max-width: 1023px) {
    .section-1 {
        background-image: url('../images/giang-vien/detail/banner_mobile.webp');
        background-repeat: no-repeat;
        background-size: 100%;
        height: 780px;
        align-items: center;
        display: flex;
    }

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

    .teacher-memo {
        font-size: 18px;
    }

    .quotation-marks-1 {
        width: 36px;
        height: 30px;
        left: -2.5rem;
    }

    .quotation-marks-2 {
        width: 36px;
        height: 30px;
    }

    .teaching-motto {
        font-size: 14px;
    }

    .teacher {
        height: 115px;
        font-size: 14px;
    }

    .teacher .ielts img {
        width: 18px;
        height: 24px;
    }

    .teacher .education-level img {
        width: 30px;
        height: 24px;
    }

    .teacher .achievement img {
        width: 27px;
        height: 24px;
    }

    .teacher .experience img {
        width: 24px;
        height: 24px;
    }

    .avatar {
        text-align: center;
    }

    .post-image img {
        width: 100%;
    }

    .box-post .title {
        font-size: 16px;
    }

    .box-post .description {
        font-size: 14px;
    }

    .author img {
        width: 10%;
    }

    .achievement-block {
        text-align: left !important;
    }

    .avatar-block {
        margin-top: -3rem;
    }

    .teacher-info {
        margin-top: 3rem;
        text-align: center;
    }

    .teacher .achievement-block .icon {
        width: 18%;
        text-align: center;
    }
}

@media screen and (max-width: 1024px) {
    .quotation-marks-1 {
        left: -3rem;
        top: -8px;
    }

    .quotation-marks-2 {
        top: 4rem;
    }

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

    .teaching-motto {
        font-size: 16px;
        line-height: 20px;
    }

    .teacher {
        font-size: 16px;
    }

    .box-post .title {
        font-size: 16px;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .box-post .description {
        font-size: 14px;
    }

    .author img {
        width: 22%;
    }

    .teacher-info {
        margin-left: 3rem !important;
        margin-right: 3rem !important;
    }
}

@media screen and (max-width: 991px) {
    .teaching-motto {
        text-align: justify;
    }

    .quotation-marks-1 {
        left: -3rem;
        top: -0.7rem;
    }

    .quotation-marks-2 {
        top: 2.7rem;
    }

    .author img {
        width: 5% !important;
    }

    .post-empty {
        margin-top: 3rem;
        margin-bottom: 5rem;
    }

    .frame-avatar {
        margin: auto;
    }
}

@media screen and (max-width: 565px) {
    .teaching-motto {
        font-size: 14px;
        line-height: 18px;
    }

    .teacher {
        margin-top: -5.5rem;
        font-size: 14px;
    }

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

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

    .new-post {
        font-size: 16px;
    }

    .sort {
        padding: 0;
    }

    .sort-date {
        margin-right: 0.5rem;
        margin-left: -2rem;
    }

    .teacher .achievement-block .icon {
        width: 18%;
        text-align: center;
    }

    .author img {
        width: 8% !important;
    }

    .avatar-block {
        margin-top: -11rem;
    }

    .teacher-info {
        text-align: left;
    }

    .quotation-marks-2 {
        top: 3.5rem;
    }
}

.section-contact-sales-form {
    margin-top: 3rem;
}

@media screen and (max-width: 400px) {
    .teacher-name {
        font-size: 22px;
    }

    .quotation-marks-2 {
        top: 4.5rem;
    }
}

@media screen and (max-width: 320px) {
    .section-1 {
        background-size: 100% 100%;
    }

    .frame-avatar img {
        height: 241px;
        left: -0.2rem;
        top: 0.2rem;
    }

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

    .quotation-marks-1 {
        left: -2.5rem;
        width: 30px;
        height: 26px;
    }

    .quotation-marks-2 {
        width: 30px;
        height: 26px;
        top: 5.8rem;
    }

    .new-post {
        font-size: 14px;
    }

    .sort {
        font-size: 11px;
    }

    .achievement-block {
        text-align: center !important;
    }

    .achievement-block .ielts {
        display: block !important;
    }

    .achievement-block .education-level {
        display: block !important;
    }

    .achievement-block .achievement {
        display: block !important;
    }

    .achievement-block .experience {
        display: block !important;
    }

    .teacher .achievement-block .icon {
        width: 100%;
    }

    .teacher-name img {
        width: 32px;
        height: 32px;
    }
}
