/** Chung module */

.section-second {
    text-transform: none;
    font-size: 18px;
    line-height: 25px;
    margin-bottom: 5px !important;
}

[class*="module-"]:nth-child(2n + 1) * {
    color: #fff;
}

[class*="module-"]:nth-child(2n + 1) .no-set-color-item-module * {
    color: rgb(var(--color-body));
}

.section-title,
.fact-4__title {
    font-family: var(--rr-ff-heading) !important;
    font-size: var(--rr-fs-h2) !important;
    font-weight: 600 !important;
    font-style: normal;
    line-height: 58px !important;
    color: rgb(var(--color-2));
}

@media screen and (max-width: 990px) {
    .section-title,
    .fact-4__title {
        font-size: 30px !important;
        font-family: var(--font-family-heading) !important;
        line-height: 39px !important;
    }
}

.mfp-close::after {
    display: none;
}

/** Banner */
.banner__sub-title {
    display: block;
    margin-bottom: 10px;
    /* color: rgb(var(--color-primary)); */
}

.banner__title {
    margin-bottom: 20px;
}

/* Service module */
.latest-feature2__media .overlay-heading .title + .desc {
    margin-top: 5px;
}

.feedback-2__nav-pre {
    width: 100% !important;
    left: 0;
    z-index: 1;
}

.feedback-2__slider-button-prev {
    left: unset;
}

.latest-about2__content-text .svg-icon svg {
    width: 15px;
    height: 15px;
}

.info-box.latest-blog__item-text-bottom .title + .desc {
    margin-top: 10px;
}

@media screen and (min-width: 990px) {
    .about-section {
        padding-top: 70px !important;
        padding-bottom: 180px !important;
    }
}

@media screen and (max-width: 990px) {
    .about-section .section-head {
        margin-bottom: 20px;
    }
}

/* Thống kê */

@media screen and (max-width: 1199px) {
    .fact-4__shape-1 {
        top: 0;
        left: 45%;
        transform: rotate(330deg);

        width: max-content;
    }

    .fact-4__shape-2 {
        left: 22%;
        top: 43% !important;
        z-index: -1;
        transform: rotate(336deg);
    }

    .fact-4__text {
        width: 250px;
        max-width: max-content !important;
        padding: 15px 20px;
        height: 200px;
    }

    .fact-4__shape-2 img {
        max-width: 100%;
        width: auto;
    }
}

@media screen and (max-width: 767px) {
    .fact-4__thumb__1 img {
        max-width: 100%;
    }

    .fact-4__thumb__1 {
        max-width: 100%;
    }

    .fact-4__text,
    .fact-4__thumb__2,
    .fact-4__thumb__2 img {
        max-width: 100%;
        transform: unset;
        height: unset;
    }

    .fact-4__text h3 .text {
        line-height: 25px;
        margin-top: 0;
    }

    .fact-4__text h3 span {
        font-size: 30px;
    }

    .fact-4__thumb__2 img {
        border-radius: 10px;
        overflow: hidden;
    }

    .fact-4__shape-2 {
        bottom: 0;
        top: unset !important;
    }
}

@media screen and (max-width: 667px) {
    /* .fact-4__shape-1 {
        transform: rotate(-38deg);
        top: 0%;
    } */

    .fact-4__shape-1 img,
    .fact-4__shape-2 img {
        max-width: 150px;
    }

    /* .fact-4__shape-2 {
        transform: rotate(321deg);
        top: unset;
        right: -20%;
        bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    } */

    .fact-4__text {
        /* position: absolute; */
        /* right: 10%; */
        /* bottom: 0; */
        max-width: fit-content;
        padding: 15px 20px;
        height: unset;
    }
}

/** Ly do */
.reason-section .section-head {
    margin-bottom: 20px;
}

.reason-section .col-title .container {
    padding: 0;
}

@media screen and (max-width: 990px) {
    .latest-Choose-us__media {
        margin-top: 20px;
    }
}

/*Cam nhan KH - loi chung thuc customer-section*/

.testimonial-3__wrapper-item-2-author .role {
    margin-top: 5px;
    display: block;
}

@media screen and (max-width: 1499px) {
    .feedback-2__navigation {
        padding-top: 0 !important;
    }
}

/* History */

.history-section.has-bg button.card-link.collapsed .text {
    color: rgb(var(--color-body)) !important;
}

@media screen and (max-width: 1199px) {
    .history-section .content-area .faq {
        padding-bottom: 0;
    }

    .history-section .content-area .faq .card:last-child {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 767px) {
    .history-section .content-area .faq .card:last-child {
        margin-bottom: 20px;
    }

    .history-section .media {
        margin-top: 20px;
    }
}

/* Đội ngũ nhân sự */

[class*="module-"]:nth-child(2n + 1).personnel-section .small-btn:hover {
    background-color: rgb(var(--color-primary));
}

@media screen and (max-width: 767px) {
    .personnel-section .section-head {
        margin-bottom: 30px !important;
        text-align: center;
    }

    .personnel-section .latest-team__button-right {
        display: flex;
        justify-content: center;
    }
}

/** Cam kết */

.commit-section {
    padding: 100px 0 !important;
}

/** Danh mục */

.category-section {
    padding: 20px 0 !important;
}

.category-section .container {
    max-width: 100%;
}

.category-section .section-second {
    display: none;
}

.category-section .section-title {
    text-align: left;
    font-size: 25px !important;
    line-height: 35px !important;
    text-transform: uppercase;
}

.category-section .section-head {
    border-bottom: 3px solid rgb(var(--color-2));
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.category-list {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    /* border-left: 1px solid #ccc; */
    background: #f0f0f0;
    gap: 1.5px;
    row-gap: 2px;
}

.category-list > div {
    /* border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc; */
    padding: 15px;
    background: #fff;
}

.category-list .item .title {
    color: rgb(var(--color-body)) !important;
    margin-top: 13px;
    text-align: center;
    font-weight: 400 !important;
}

@media (max-width: 1024px) {
    .category-list {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .category-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .category-list {
        grid-template-columns: 1fr;
    }
}

/** Item post */
.blog-item .title {
    font-size: 17px;
    line-height: 25px;
}

.blog-info .desc {
    margin-bottom: 5px;
}

.latest-blog__item-text-bottom a h4.text-primary {
    color: rgb(var(--color-2)) !important;
}

/* breadcrumb banner */

section.page-title.banner-home-bg {
    padding: 180px 0;
}

.breadcrumb-section img {
    max-width: max-content;
}

.menu-mobile-logo {
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
}

.breadcrumb__title {
    color: #fff;
}
.breadcrumb__menu ul li * {
    color: #fff;
}

/** Contact page */

.contact-information .section-title,
.contact-us-form .section-title {
    font-size: 30px !important;
    line-height: 40px !important;
}
