/* Font */
@font-face {
    font-family: 'FontAwesome6ProRegular';
    src: url(../fonts/Font-Awesome-6-Pro-Regular-400.otf) format('opentype');
}

@font-face {
    font-family: 'FontAwesome6ProSolid';
    src: url(../fonts/Font-Awesome-6-Pro-Solid-900.otf) format('opentype');
}

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

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

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

@font-face {
    font-family: 'SVNGilroySemiBold';
    src: url(../fonts/SVN-Gilroy-SemiBold.otf) format('opentype');
    src: url(../fonts/SVN-Gilroy-SemiBold.woff2) format('woff2');
}

@font-face {
    font-family: 'SVNGilroyXBold';
    src: url(../fonts/SVN-Gilroy-XBold.otf) format('opentype');
    src: url(../fonts/SVN-Gilroy-XBold.woff2) format('woff2');
}

.section-banner {
    padding-top: 35%;
    background: url('../images/feedback/tuyen-giang-vien-01.jpg') top center / cover no-repeat;
}

.section-slider {
    background: url('../images/library/bg-01.png') top center / cover no-repeat;
    padding-bottom: 25px;
}

.section-slider h2 {
    font-family: 'SVNGilroyBold';
    font-size: 38px;
    color: var(--color-primary);
}

.section-slider .item-slider {
    max-width: 1010px;
    max-height: 590px;
    background-color: #fff;
    margin-top: 25px;
    margin-bottom: 25px;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 10px 0px;
    overflow: hidden;
}

.section-slider .description {
    margin: 12px auto 0;
}

.section-slider .description .icon {
    width: 16px;
    margin-right: 12px;
}

.section-slider .description p {
    color: var(--black);
    font-size: 16px;
    text-align: justify;
}

.section-slider .description .date,
.section-slider .description .view {
    font-family: 'SVNGilroyRegular';
}

.section-slider .description h4 {
    color: var(--color-primary);
    font-family: 'SVNGilroyBold';
    font-size: 20px;
    margin: 12px 0;

}

.wrapper-post {
    padding: 25px 30px;
    border-radius: 30px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    margin-bottom: 30px;
}

.wrapper-post>a {
    margin-bottom: 16px;
    max-width: 310px;
    width: 100%;
}

.wrapper-post .post-title {
    background-color: var(--color-primary);
    border-radius: 30px;
    padding: 18px 0;
    cursor: pointer;
}

.wrapper-post .post-title .icon {
    position: absolute;
    background-color: var(--white);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
}

.wrapper-post .post-title .icon img {
    position: absolute;
    height: 24px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.wrapper-post .post-title h2 {
    color: var(--white);
    font-family: 'SVNGilroyBold';
    font-size: 24px;
    padding-left: 56px;
}

.post-item {
    margin-bottom: 18px;
}

.post-item img.img-post {
    border-radius: 15px;
}

.post-item h3 {
    font-family: 'SVNGilroyBold';
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--black);
}

.post-item p {
    font-size: 16px;
    margin-bottom: 4px;
    line-height: 1.2;
    padding: 0 16px;
    color: var(--black);
}

.post-item a.button {
    font-size: 12px;
    padding: 2px 8px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 12px;
    line-height: 1.3;
    margin-top: 8px;
    transition: all 0.25s ease;
}

.post-item a.button:hover {
    background-color: var(--color-primary);
    color: var(--white);
}

.section-slider .owl-nav {
    top: 41%;
}

.owl-dots {
    justify-content: center;
    display: flex;
    gap: 12px;
}

.section-slider .owl-dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 550px;
}

.owl-dots button.owl-dot.active span,
.owl-dots button.owl-dot:hover span {
    background-color: var(--color-primary);
    border-radius: 50%;
    height: 10px;
    width: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.owl-dots button.owl-dot {
    border: 1px solid var(--color-primary);
    background: white;
    border-radius: 50%;
    height: 10px;
    width: 10px;
    position: relative;
}

.wrapper-post .owl-nav {
    top: 33%;
}

@media (max-width: 1399.98px) {
    .section-slider .owl-nav {
        top: 40.5%;
    }
}

@media (max-width: 1199.98px) {
    .section-slider .owl-nav {
        top: 40%;
    }

    .section-slider .owl-dots {
        top: 495px;
    }
}

@media (min-width: 991.98px) {
    .section-slider .item-slider,
    .section-slider .description {
        width: 800px;
    }
}

@media (min-width: 1199.98px) {

    .section-slider .item-slider,
    .section-slider .description {
        width: 900px;
    }
}

@media (max-width: 1199.98px) and (min-width: 991.98px) {
    /* .wrapper-post .post-title h2 {
        font-size: 17px;
    } */

    .wrapper-post .post-title .icon {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 991.98px) {
    .section-slider .owl-nav {
        top: 36%;
    }

    .section-slider .owl-dots {
        top: 384px;
    }

    .wrapper-post {
        margin-bottom: 30px;
    }

    .section-slider .description {
        width: 600px;
    }

    .wrapper-post>a {
        max-width: 100%;
    }
}

@media (max-width: 768.98px) {
    .wrapper-post {
        padding: 25px 20px;
    }

    .list-post-mobile {
        padding: 0 40px;
    }

    .list-post-mobile .owl-nav {
        top: 24%;
        transform: translateY(-50%);
        z-index: -1;
    }
}

@media (max-width: 767.98px) {
    .section-slider .description {
        width: 488px;
    }

    .section-slider .owl-nav {
        left: 10px;
        right: 10px;
    }

    .wrapper-post .owl-nav {
        top: 38%;
    }

    .section-slider .owl-nav {
        top: 31%;
    }

    .section-slider .owl-dots {
        top: 326px;
    }
}

@media (max-width: 575.98px) {
    .wrapper-post {
        padding: 12px 16px;
    }

    .section-slider h2 {
        font-size: 23px;
    }

    .section-slider .item-slider {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .section-slider .description {
        width: 100%;
    }

    .section-slider .owl-nav {
        top: 35%;
    }

    .section-slider .owl-dots {
        top: 325px;
    }
}

@media (max-width: 560.98px) {
    .section-slider .owl-dots {
        top: 318px;
    }
}

@media (max-width: 550.98px) {
    .section-slider .owl-nav {
        top: 31%;
    }

    .section-slider .owl-dots {
        top: 318px;
    }
}

@media (max-width: 520.98px) {
    .section-slider .owl-nav {
        top: 28%;
    }
}

@media (max-width: 538.98px) {
    .section-slider .owl-dots {
        top: 305px;
    }
}

@media (max-width: 520.98px) {
    .section-slider .owl-dots {
        top: 296px;
    }
}

@media (max-width: 500.98px) {
    .section-slider .owl-dots {
        top: 284px;
    }
}

@media (max-width: 480.98px) {
    .list-post-mobile {
        padding: 0;
    }

    .list-post-mobile .owl-nav {
        z-index: 1;
    }

    .section-slider .owl-dots {
        top: 273px;
    }
}


@media (max-width: 465.98px) {
    .list-post-mobile .owl-nav {
        top: 20%;
    }

    .section-slider .owl-dots {
        top: 265px;
    }
}

@media (max-width: 450.98px) {
    .section-slider .owl-dots {
        top: 255px;
    }
}

@media (max-width: 440.98px) {
    .section-slider .owl-nav {
        top: 26%;
    }

    .section-slider .owl-dots {
        top: 250px;
    }
}

@media (max-width: 425.98px) {
    .post-item h3 {
        font-size: 16px;
    }

    .post-item p {
        font-size: 14px;
        padding: 0;
        font-weight: bold;
    }

    .pagination {
        margin-top: 35px;
    }

    .section-slider h2 {
        font-size: 22px;
    }

    .wrapper-post .owl-nav {
        top: 37%;
    }

    .section-slider .owl-dots {
        top: 240px;
    }
}

@media (max-width: 400.98px) {
    .section-slider .owl-nav {
        top: 24%;
    }

    .section-slider .owl-dots {
        top: 230px;
    }
}

@media (max-width: 390.98px) {
    .section-slider .owl-dots {
        top: 220px;
    }
}

@media (max-width: 375.98px) {
    .section-slider h2 {
        font-size: 20px;
    }

    .wrapper-post .owl-nav {
        top: 35%;
    }
}

@media (max-width: 365.98px) {
    .section-slider .owl-dots {
        top: 210px;
    }
}

@media (max-width: 360.98px) {
    .wrapper-post .post-title {
        padding: 12px 0;
    }

    .wrapper-post .post-title .icon {
        width: 40px;
        height: 40px;
    }

    .wrapper-post .post-title .icon img {
        width: 24px;
        height: auto;
    }

    .wrapper-post .post-title h2 {
        padding-left: 44px;
        font-size: 18px;
    }
}

@media (max-width: 350.98px) {
    .section-slider .owl-nav {
        top: 22%;
    }

    .section-slider .owl-dots {
        top: 200px;
    }
}

@media (max-width: 330.98px) {
    .section-slider .owl-dots {
        top: 190px;
    }
}


@media (max-width: 320.98px) {
    .list-post-mobile .owl-nav {
        top: 18%;
    }

    .section-slider h2 {
        font-size: 18px;
    }

    .wrapper-post .owl-nav {
        top: 30%;
    }

    .section-slider .owl-nav {
        top: 20%;
    }

    .section-slider .owl-dots {
        top: 185px;
    }
}
