:root {
    --font-primary-regular: "mona-sans-regular";
    --font-primary-thin: "mona-sans-thin";
    --font-primary-light: "mona-sans-light";
    --font-primary-medium: "mona-sans-medium";
    --font-primary-semiBold: "mona-sans-semiBold";
    --font-primary-bold: "mona-sans-bold";
    --font-primary-extraBold: "mona-sans-extraBold";
    --font-primary-black: "mona-sans-black";
    --font-sf-pro-display-regular: "mona-sans-regular";
    --font-sf-pro-display-thin: "mona-sans-thin";
    --font-sf-pro-display-light: "mona-sans-light";
    --font-sf-pro-display-medium: "mona-sans-medium";
    --font-sf-pro-display-semiBold: "mona-sans-semiBold";
    --font-sf-pro-display-bold: "mona-sans-bold";
    --font-sf-pro-display-black: "mona-sans-black";
    --font-roboto: "mona-sans-bold";
    --font-kardust: "mona-sans-bold";
    --White: #fff;
    --Foundation-Green-green-50: #eaefea;
    --gray-9---body-text: #121212;
    --Foundation-Green-green-500: #295e30;
    --bg-1: #f5f5f7;
    --gray-4---stroke: #d8d8d8;
    --Foundation-Red-red-500: #e44119;
    --gray-6---subtle-text: #8c8c8c;
    --Foundation-Green-green-100: #bccdbe;
    --Foundation-Green-green-300: #6f9272;
    --subtext: #494d59;
    --Grey-9: #090c13;
    --gray-8: #434343;
    --GPCN: #056142;
    --Foundation-Green-green-700: #1c421f;
}

/* font */

/* font: Nunito Sans theo thiết kế Figma — giữ tên họ font cũ (mona-sans-*) để toàn bộ CSS dùng chung biến --font-primary-* */
@font-face {
    font-family: "mona-sans-thin";
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url(../fonts/nunito-sans/NunitoSans-vietnamese.woff2) format("woff2");
    unicode-range:
        U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
        U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
        U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: "mona-sans-thin";
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url(../fonts/nunito-sans/NunitoSans-latin-ext.woff2) format("woff2");
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
        U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "mona-sans-thin";
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url(../fonts/nunito-sans/NunitoSans-latin.woff2) format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "mona-sans-light";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(../fonts/nunito-sans/NunitoSans-vietnamese.woff2) format("woff2");
    unicode-range:
        U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
        U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
        U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: "mona-sans-light";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(../fonts/nunito-sans/NunitoSans-latin-ext.woff2) format("woff2");
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
        U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "mona-sans-light";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(../fonts/nunito-sans/NunitoSans-latin.woff2) format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "mona-sans-regular";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/nunito-sans/NunitoSans-vietnamese.woff2) format("woff2");
    unicode-range:
        U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
        U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
        U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: "mona-sans-regular";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/nunito-sans/NunitoSans-latin-ext.woff2) format("woff2");
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
        U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "mona-sans-regular";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/nunito-sans/NunitoSans-latin.woff2) format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "mona-sans-medium";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/nunito-sans/NunitoSans-vietnamese.woff2) format("woff2");
    unicode-range:
        U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
        U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
        U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: "mona-sans-medium";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/nunito-sans/NunitoSans-latin-ext.woff2) format("woff2");
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
        U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "mona-sans-medium";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/nunito-sans/NunitoSans-latin.woff2) format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "mona-sans-semiBold";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(../fonts/nunito-sans/NunitoSans-vietnamese.woff2) format("woff2");
    unicode-range:
        U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
        U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
        U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: "mona-sans-semiBold";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(../fonts/nunito-sans/NunitoSans-latin-ext.woff2) format("woff2");
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
        U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "mona-sans-semiBold";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(../fonts/nunito-sans/NunitoSans-latin.woff2) format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "mona-sans-bold";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/nunito-sans/NunitoSans-vietnamese.woff2) format("woff2");
    unicode-range:
        U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
        U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
        U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: "mona-sans-bold";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/nunito-sans/NunitoSans-latin-ext.woff2) format("woff2");
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
        U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "mona-sans-bold";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/nunito-sans/NunitoSans-latin.woff2) format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "mona-sans-extraBold";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(../fonts/nunito-sans/NunitoSans-vietnamese.woff2) format("woff2");
    unicode-range:
        U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
        U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
        U+1EA0-1EF9, U+20AB;
}
@font-face {
    font-family: "mona-sans-extraBold";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(../fonts/nunito-sans/NunitoSans-latin-ext.woff2) format("woff2");
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
        U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "mona-sans-extraBold";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(../fonts/nunito-sans/NunitoSans-latin.woff2) format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "mona-sans-black";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(../fonts/nunito-sans/NunitoSans-vietnamese.woff2) format("woff2");
    unicode-range:
        U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
        U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
        U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: "mona-sans-black";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(../fonts/nunito-sans/NunitoSans-latin-ext.woff2) format("woff2");
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
        U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "mona-sans-black";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(../fonts/nunito-sans/NunitoSans-latin.woff2) format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Banner trang: cao 680px theo Figma (hero 1920×680: Lịch sử 78:14480, Công nghệ sản xuất 78:11640, Về CNCTech 78:12731);
   banner chi tiết tin giữ 568px. Tablet/mobile giữ 426/300/200px trong style.css. */
@media (min-width: 1025px) {
    .banner-item {
        height: 680px;
        overflow: hidden;
    }

    .banner-item.banner-news-details {
        height: 568px;
    }
}

.banner-item > video.video-banner,
.banner-item > img:not(.mobile) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Section/Certification (Figma 49:2426) — slide Swiper + dots */
/* Swiper mặc định overflow:hidden sẽ cắt hover (nâng thẻ + bóng) của thẻ ngoài cùng ⇒ để tràn rồi chỉ cắt cách mép 32px
   (khoảng cách giữa các thẻ ≥ 24px nên thẻ ngoài vùng nhìn không lộ ra). */
.cnc-certification {
    overflow-x: clip; /* thẻ ngoài vùng nhìn không làm trang cuộn ngang */
}

.cnc-certification .cnc-certification-swiper {
    margin-top: 48px;
    padding: 8px 0 16px;
    overflow: visible;
    clip-path: inset(-32px -32px -32px -32px);
}

.cnc-certification .swiper-slide {
    display: flex;
    justify-content: center;
    height: auto;
}

.cnc-certification-card {
    display: flex;
    width: 300px;
    max-width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 16px;
    border-radius: 16px;
    background: transparent;
    color: var(--gray-9---body-text);
    text-decoration: none;
    transition:
        transform 0.2s,
        box-shadow 0.2s,
        background-color 0.2s;
}

/* Chỉ thẻ có file PDF / link mới có hiệu ứng (thẻ tĩnh không "giả" bấm được). */
.cnc-certification-card.is-link {
    cursor: pointer;
}

.cnc-certification-card.is-link:hover,
.cnc-certification-card.is-link:focus-visible {
    background: var(--White);
    box-shadow: 0 8px 24px rgba(41, 94, 48, 0.16);
    transform: translateY(-8px);
    outline: none;
}

.cnc-certification-card.is-link:hover .cnc-certification-title,
.cnc-certification-card.is-link:focus-visible .cnc-certification-title {
    color: #0a8a5f;
    text-decoration: underline;
    text-underline-offset: 6px;
}

.cnc-certification-img {
    position: relative;
    overflow: hidden;
    width: 255px;
    max-width: 100%;
    height: 361px;
    border: 1px solid #000;
}

.cnc-certification-img img {
    transition: transform 0.3s ease;
}

.cnc-certification-card.is-link:hover .cnc-certification-img img {
    transform: scale(1.04);
}

/* Nhãn PDF luôn hiện (cả trên điện thoại — không có hover) để biết mục này mở được file. */
.cnc-certification-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 4px;
    background: #c62828;
    color: #fff;
    font-size: 12px;
    font-family: var(--font-primary-bold);
    line-height: 20px;
}

.cnc-certification-overlay {
    display: none !important;
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-family: var(--font-primary-medium);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.cnc-certification-overlay > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #fff;
    border-radius: 999px;
}

.cnc-certification-card.is-link:hover .cnc-certification-overlay,
.cnc-certification-card.is-link:focus-visible .cnc-certification-overlay {
    opacity: 1;
}

.cnc-certification-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cnc-certification-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: center;
}

.cnc-certification-title {
    color: #066042;
    font-size: 28px;
    font-family: var(--font-primary-bold);
    font-weight: 400;
    line-height: 36px;
    text-transform: uppercase;
}

.cnc-certification-desc {
    margin: 0;
    font-size: 18px;
    font-family: var(--font-primary-medium);
    font-weight: 400;
    line-height: 28px;
}

.cnc-certification-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    height: 8px;
    margin-top: 32px;
}

.cnc-certification-dots .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    border-radius: 6px;
    background: #d8d8d8;
    opacity: 1;
    transition:
        width 0.25s ease,
        background 0.25s ease;
}

.cnc-certification-dots .swiper-pagination-bullet-active {
    width: 37px;
    background: linear-gradient(90deg, #285d2c, #a4c939);
}

/* Milestone / Lịch sử: nền trắng đặc (không gradient) để liền mạch với băng tiêu đề, bỏ ranh lệch tông */
.thong-diep-container.cassiopeia-milestone-accordion.bg-gray {
    background: #ffffff;
}

/* Factories (Figma 49:3186): padding 80, nền #F4F5F7, thẻ 424px/khoảng cách 24, badge 60px, dots 6px */
.galleries-factory-container.sec-72 {
    padding-top: 80px;
    padding-bottom: 80px;
    background: #f4f5f7;
}

.galleries-factory-container .pt-detail-box-5-box {
    gap: 40px;
}

.galleries-factory-container .factory-item {
    overflow: hidden;
}

.galleries-factory-container .factory-item .content {
    padding: 0 24px 24px;
}

.galleries-factory-container .factory-item .content .icon {
    padding: 12px;
}

.galleries-factory-container .factory-item .content a {
    text-decoration: none;
}

.galleries-factory-container .factory-item .content .title {
    font-family: var(--font-primary-bold);
    font-weight: 400;
}

.galleries-factory-container .factory-item .content .location {
    gap: 8px;
}

.galleries-factory-container .factory-item:hover .content .title {
    color: #066042;
}

.galleries-factory-container .factory-item .content .desc:hover {
    text-decoration: underline;
}

.galleries-factory-container .pt-detail-box-5-carousel .owl-dots {
    margin-top: 40px;
    align-items: center;
    gap: 8px;
}

.galleries-factory-container .pt-detail-box-5-carousel .owl-dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: #d8d8d8;
    opacity: 1;
}

.galleries-factory-container .pt-detail-box-5-carousel .owl-dot.active {
    width: 32px;
    background: linear-gradient(90deg, #285d2c, #a4c939);
}

/* CTA - Collaborate (Figma 49:3197): cao 400px, tiêu đề 44px, nút gradient "Liên hệ ngay" + icon mũi tên 32px */
@media (min-width: 1025px) {
    .pt-detail-box-6 {
        height: 400px;
    }
}

.pt-detail-box-6 .pt-detail-box-6-box {
    width: fit-content;
    gap: 32px;
}

.pt-detail-box-6 .pt-detail-box-6-box .title {
    font-family: var(--font-primary-bold);
    font-size: 44px;
    font-weight: 400;
    line-height: normal;
    white-space: nowrap;
}

.pt-detail-box-6 .btn-get-advice {
    height: auto;
    padding: 8px 8px 8px 24px;
    gap: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #285d2c 0%, #a4c939 100%);
    font-size: 14px;
    font-family: var(--font-primary-extraBold);
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}

.pt-detail-box-6 .btn-get-advice .btn-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
}

.pt-detail-box-6 .btn-get-advice .btn-icon img {
    display: block;
    width: 32px;
    height: 32px;
}

@media (max-width: 991px) {
    .pt-detail-box-6 .pt-detail-box-6-box .title {
        font-size: 24px;

        font-family: var(--font-primary-extraBold);
    }
}

/* Contact form (Figma 49:3208): card 1180px, header gradient + ảnh 45% screen, body 520x600 + form gap 24 */
.pt-detail-box-7.sec-72 {
    padding-top: 80px;
    padding-bottom: 80px;
}

.pt-detail-box-7 .pt-detail-box-7-box {
    width: min(100%, 1180px);
    border: 1px solid #eee;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.08);
}

.pt-detail-box-7 .pt-detail-box-7-box-header {
    position: relative;
    isolation: isolate;
    padding: 24px 32px;
    border-bottom: 0;
    background: linear-gradient(90deg, #285d2c 0%, #a4c939 100%);
    font-size: 26px;
    font-family: var(--font-primary-bold);
    font-weight: 400;
    line-height: normal;
    text-align: left;
}

.pt-detail-box-7 .pt-detail-box-7-box-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("../images/bg-form-title-bar.jpg") center / cover no-repeat;
    mix-blend-mode: screen;
    opacity: 0.45;
}

.pt-detail-box-7 .pt-detail-box-7-box-content {
    padding: 32px;
    gap: 40px;
}

.pt-detail-box-7 .pt-detail-box-7-box-content .left {
    flex: 0 0 520px;
    width: 520px;
}

.pt-detail-box-7 .pt-detail-box-7-box-content .left img {
    display: block;
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 8px;
}

.pt-detail-box-7 .form-pt-detail .form-note {
    margin-bottom: 24px;
    color: #5a5b5b;
    font-size: 14px;
}

.pt-detail-box-7 .form-pt-detail .form-note strong {
    font-family: inherit;
    font-weight: 400;
}

.pt-detail-box-7 .form-pt-detail .form-item {
    gap: 8px;
    margin-bottom: 24px;
}

.pt-detail-box-7 .form-pt-detail .form-item .form-item,
.pt-detail-box-7 .form-pt-detail .form-group {
    margin-bottom: 0;
}

.pt-detail-box-7 .form-pt-detail .form-item label {
    font-family: var(--font-primary-bold);
    font-weight: 400;
    line-height: normal;
}

.pt-detail-box-7 .form-pt-detail .form-control {
    min-height: 0;
    padding: 16px;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    line-height: normal;
}

.pt-detail-box-7 .form-pt-detail .form-control::placeholder {
    color: #8c8c8c;
}

.pt-detail-box-7 .form-pt-detail textarea.form-control {
    min-height: 137px;
    padding-top: 14px;
}

.pt-detail-box-7 .form-pt-detail .row {
    margin: 0 -8px;
}

.pt-detail-box-7 .form-pt-detail .btn-get-advice {
    width: 260px;
    height: 48px;
    margin-top: 0;
    padding: 0;
    border-radius: 999px;
    font-size: 14px;
    font-family: var(--font-primary-extraBold);
    font-weight: 400;
}

@media (max-width: 991px) {
    .pt-detail-box-7 .pt-detail-box-7-box-content {
        flex-direction: column;
        gap: 24px;
    }

    .pt-detail-box-7 .pt-detail-box-7-box-content .left {
        flex: none;
        width: 100%;
    }

    .pt-detail-box-7 .pt-detail-box-7-box-header {
        font-size: 18px;

        font-family: var(--font-primary-extraBold);
    }
}

/* Dấu * bắt buộc đỏ #E44119 (Figma); dòng lưu ý giữ màu chữ #5A5B5B */
.pt-detail-box-7 .form-pt-detail .form-item label .form-required {
    color: #e44119;
}

.pt-detail-box-7 .form-pt-detail .form-note .required {
    color: inherit;
}

/* Footer (Figma 49:3231) */
.footer-first-inner .left .item .content .desc,
.footer-first-inner .right .content .desc {
    font-size: 16px;
    line-height: 24px;
    text-decoration: none;
}

.footer-second-inner .left .btn-company-profile {
    text-decoration: none;
    color: var(--White);
}

.footer-second-inner .left .btn-company-profile img {
    display: block;
    width: 24px;
    height: 24px;
}

.footer-second-inner .right {
    width: min(100%, 476px);
    max-width: none;
    font-family: var(--font-primary-medium);
    color: #066042;
}

.footer-menu a,
.footer-menu .sub-menu a {
    text-decoration: none;
}

.footer-menu > li .sub-menu {
    max-width: 190px;
}

.footer-menu > li .sub-menu li span,
.footer-menu > li .sub-menu li a {
    font-family: var(--font-primary-regular);
    font-size: 16px;
    line-height: 24px;
}

.footer-first-inner .right {
    width: auto;
}

.footer-first-inner .right .content .desc {
    white-space: nowrap;
}

/* Tiêu đề section: mọi .main-title dùng font Bold (kể cả các biến thể ghi đè riêng) */
.main-title,
.happy-cncersbox-4-header .main-title {
    font-family: var(--font-primary-bold);
}

/* Service Card – trạng thái hover (Figma 49:3296): bóng xanh, ảnh phóng 108%, tên #066042, thanh gradient 4px, link gạch chân */
.galleries-factory-container .factory-item {
    position: relative;
    transition: box-shadow 0.25s ease;
}

.galleries-factory-container .factory-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, #285d2c 0%, #a4c939 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.galleries-factory-container .factory-item:hover {
    box-shadow: 0 16px 40px 0 rgba(6, 96, 66, 0.16);
}

.galleries-factory-container .factory-item:hover::after {
    opacity: 1;
}

.galleries-factory-container .factory-item .img img {
    transition: transform 0.25s ease;
}

.galleries-factory-container .factory-item:hover .img img {
    transform: scale(1.08);
}

.galleries-factory-container .factory-item .content .title {
    transition: color 0.25s ease;
}

.galleries-factory-container .factory-item:hover .content .title {
    color: #066042;
}

.galleries-factory-container .factory-item .content .desc {
    text-decoration: none;
}

.galleries-factory-container .factory-item:hover .content .desc {
    text-decoration: underline;
}

/* owl-stage-outer mặc định cắt bóng hover: cho tràn rồi chỉ cắt cách thẻ 12px hai bên (khoảng cách thẻ 24px) và 64px phía dưới */
.galleries-factory-container .pt-detail-box-5-carousel .owl-stage-outer {
    overflow: visible;
    clip-path: inset(-8px -12px -64px -12px);
}

.galleries-factory-container.sec-72 {
    overflow-x: clip;
}

/* Home box 2 – Công nghệ sản xuất / Giải pháp / Logistics (Figma 49:4583) */
.home-box-2-content-list-item .first {
    border-top-color: #82ac35;
}

.home-box-2-content-list-item .second {
    background: linear-gradient(90deg, #285d2c 0%, #a4c939 100%);
}

.home-box-2-content-list-item .second .title {
    font-family: var(--font-primary-bold);
}

.home-box-2-content-list-item .second .desc {
    display: block;
    height: auto;
    overflow: visible;
    font-size: 16px;
    line-height: 24px;
}

.home-box-2-content-list-item .second .line {
    background-color: #82ac35;
}

.home-box-2-content-list-item .second .btn-view-service {
    height: 48px;
    padding: 12px 8px 12px 16px;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 40px;
    font-size: 16px;
    text-decoration: none;
}

.home-box-2-content-list-item .second .btn-view-service .btn-icon {
    width: 32px;
    height: 32px;
}

/* Panel hiện lên phải sát đáy khối ảnh: các thẻ cùng chiều cao, .second giãn đầy thẻ (không chừa khoảng trống phía dưới) */
.home-box-2-content-list-item {
    display: flex;
    flex-direction: column;
}

.home-box-2-content-list-item .second {
    flex: 1 1 auto;
}

/* Tin tức nổi bật (Figma 49:4720) */
.home-box-5.sec-72 {
    padding-top: 80px;
    padding-bottom: 80px;
}

.home-box-5 .news-item a,
.home-box-5 .btn-view-all {
    text-decoration: none;
}

.home-box-5 .news-item .news-content .news-title {
    color: var(--gray-9---body-text) !important;
}

.home-box-5 .news-item:hover .news-content .news-title {
    color: var(--Foundation-Green-green-500) !important;
}

.home-box-5 .news-slider .owl-dots {
    margin-top: 24px;
    align-items: center;
}

.home-box-5 .news-slider .owl-dot {
    width: 8px;
    height: 8px;
    border-radius: 6px;
    background: #cce190;
    opacity: 1;
}

.home-box-5 .news-slider .owl-dot.active {
    width: 37px;
    background: linear-gradient(90deg, #285d2c 0%, #a4c939 100%);
}

.home-box-5 .news-slider .owl-dot span {
    display: none !important;
}

/* Đăng ký nhận thông tin (Figma 49:4766): cao 446px, nội dung 419px canh phải, tiêu đề Bold 32/40 */
.home-box-6 {
    display: flex;
    align-items: center;
    height: 446px;
    padding: 0;
}

.home-box-6 > .container {
    width: 100%;
}

.home-box-6 .home-box-6-inner {
    width: 419px;
    max-width: 100%;
    margin-left: auto;
    align-items: flex-start;
}

.home-box-6 .home-box-6-inner .first .main-title {
    font-family: var(--font-primary-bold);
    text-transform: none;
}

.home-box-6 .form-newsletter {
    width: 100%;
}

.home-box-6 .form-newsletter .form-control::placeholder {
    color: #fff;
    opacity: 0.8;
}

@media (max-width: 767px) {
    .home-box-6 {
        height: auto;
        padding: 24px 0;
    }
}

/* Nhãn chỉ dành cho trình đọc màn hình (class của Drupal) */
.element-invisible {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

/* Dải huy hiệu chứng nhận (Figma 49:4784) */
.cnc-badges {
    padding: 32px 0;
    background: linear-gradient(90deg, #285d2c 0%, #a4c939 100%);
}

.cnc-badges .cnc-badges-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 64px;
}

.cnc-badges .cnc-badges-item {
    display: flex;
    padding: 8px;
    border-radius: 300px;
    background: #fff;
}

.cnc-badges .cnc-badges-item img {
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

@media (max-width: 767px) {
    .cnc-badges .cnc-badges-list {
        gap: 24px;
    }

    .cnc-badges .cnc-badges-item img {
        width: 80px;
        height: 80px;
    }
}

/* Banner slide + hộp tiêu đề trang con (Figma 49:4799) */
.cnc-page-hero .cnc-page-hero-swiper {
    position: relative;
    width: 100%;
    height: 680px;
}

.cnc-page-hero .cnc-page-hero-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cnc-page-hero .cnc-page-hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 24px;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.cnc-page-hero .cnc-page-hero-dots .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    transition:
        width 0.25s ease,
        background 0.25s ease;
}

.cnc-page-hero .cnc-page-hero-dots .swiper-pagination-bullet-active {
    width: 37px;
    background: linear-gradient(90deg, #285d2c 0%, #a4c939 100%);
}

.cnc-page-hero .cnc-page-hero-title {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 12px;
    background: #f1f4f5;
}

.cnc-page-hero .cnc-page-hero-title h1 {
    margin: 0;
    color: var(--gray-9---body-text);
    font-family: var(--font-primary-extraBold);
    font-size: 36px;
    font-weight: 400;
    line-height: 44px;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .cnc-page-hero .cnc-page-hero-swiper {
        height: 420px;
    }
}

@media (max-width: 767px) {
    .cnc-page-hero .cnc-page-hero-swiper {
        height: 240px;
    }

    .cnc-page-hero .cnc-page-hero-title h1 {
        font-size: 24px;
        line-height: 32px;
    }
}

/* Thư chủ tịch: ảnh + lời chào + số liệu (Figma 49:4873) */
.cnc-letter-intro {
    padding: 72px 0 0;
}

.cnc-letter-intro .cnc-letter-intro-inner {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.cnc-letter-intro .cnc-letter-person {
    display: flex;
    flex: 0 0 523px;
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
}

.cnc-letter-intro .cnc-letter-photo img {
    display: block;
    width: 100%;
    height: 614px;
    object-fit: cover;
    border-radius: 16px;
}

.cnc-letter-intro .cnc-letter-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 0;
}

.cnc-letter-intro .cnc-letter-name {
    font-size: 18px;
    line-height: 26px;
}

.cnc-letter-intro .cnc-letter-name strong {
    font-family: var(--font-primary-bold);
    font-weight: 400;
}

.cnc-letter-intro .cnc-letter-position {
    font-size: 16px;
    line-height: 24px;
}

.cnc-letter-intro .cnc-letter-body {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 32px;
    min-width: 0;
    padding-left: 32px;
}

.cnc-letter-intro .cnc-letter-greeting {
    margin: 0 0 16px;
    font-family: var(--font-primary-medium);
    font-size: 18px;
    line-height: 26px;
}

.cnc-letter-intro .cnc-letter-intro-text p {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 24px;
    text-align: justify;
}

.cnc-letter-intro .cnc-letter-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
}

.cnc-letter-intro .cnc-letter-stat {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
}

.cnc-letter-intro .cnc-letter-stat:nth-child(even) {
    padding-left: 32px;
    border-left: 1px solid #d8d8d8;
}

.cnc-letter-intro .cnc-letter-stat-icon {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
}

.cnc-letter-intro .cnc-letter-stat-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.cnc-letter-intro .cnc-letter-stat-label,
.cnc-letter-intro .cnc-letter-stat-caption {
    color: #434343;
    font-size: 16px;
    line-height: 24px;
}

.cnc-letter-intro .cnc-letter-stat-value {
    color: #066042;
    font-family: var(--font-primary-medium);
    font-size: 32px;
    line-height: 40px;
}

@media (max-width: 991px) {
    .cnc-letter-intro .cnc-letter-intro-inner {
        flex-direction: column;
    }

    .cnc-letter-intro .cnc-letter-person {
        flex: none;
        width: 100%;
    }

    .cnc-letter-intro .cnc-letter-photo img {
        height: auto;
        aspect-ratio: 523 / 614;
    }

    .cnc-letter-intro .cnc-letter-body {
        padding-left: 0;
    }

    .cnc-letter-intro .cnc-letter-stats {
        grid-template-columns: 1fr;
    }

    .cnc-letter-intro .cnc-letter-stat:nth-child(even) {
        padding-left: 0;
        border-left: 0;
    }
}

/* Khung trích dẫn (Figma 49:4923): viền xanh 4px, bo 16px, dấu ngoặc kép đè lên viền ở góc trên trái và dưới phải.
   Dùng được cả trong nội dung rich text bằng class "cnc-quote-box". */
.cnc-quote-wrap {
    padding: 32px 0 0;
}

.cnc-quote-box {
    position: relative;
    width: 678px;
    max-width: 100%;
    margin: 32px auto;
    padding: 32px;
    border: 4px solid #066042;
    border-radius: 16px;
    color: var(--gray-9---body-text);
    font-family: var(--font-primary-medium);
    font-size: 16px;
    line-height: 24px;
}

.cnc-quote-wrap .cnc-quote-box {
    margin: 0 auto;
}

.cnc-quote-box::before,
.cnc-quote-box::after {
    content: "";
    position: absolute;
    width: 49px;
    height: 46px;
    background: url("../images/icons/quote-mark.svg") center / 49px 46px
        no-repeat;
}

.cnc-quote-box::before {
    top: -27px;
    left: 28px;
}

.cnc-quote-box::after {
    right: 28px;
    bottom: -27px;
}

/* Khối văn bản soạn thảo (rich text) */
.cnc-rich-text.sec-72 {
    padding-top: 24px;
    padding-bottom: 24px;
}

.cnc-rich-text .cnc-rich-text-inner p {
    margin: 0 0 16px;
}

.cnc-rich-text .cnc-rich-text-inner ul {
    margin: 0 0 16px;
    padding-left: 24px;
}

/* Vision / Mission / Philosophy page — Figma 49:4975 */
.vision-mission-container.sec-72 {
    padding: 80px 0;
}
.vision-mission-container .vision-mission-item {
    height: 440px;
}
.vision-mission-container .vision-mission-number {
    margin-top: -36px;
    flex-shrink: 0;
}
.vision-mission-container .vision-mission-content {
    padding: 4px 16px 16px;
    gap: 12px;
}
.vision-mission-container .vision-mission-desc {
    height: auto;
    padding: 0;
    text-align: justify !important;
    font-size: 16px;
    line-height: 24px;
}
@media (max-width: 991px) {
    .vision-mission-container .vision-mission-item {
        height: auto;
    }
}
.vision-mission-container .vision-mission-inner {
    gap: 0;
}
.vision-mission-container .vision-mission-inner > .main-title {
    display: none;
}

/* Our history — ảnh mốc bo góc 16px (Figma 49:5089) */
.history-content-item .right .img {
    border-radius: 16px;
    overflow: hidden;
}
.history-content-item .right .img img {
    border-radius: 16px;
    display: block;
}

/* Our history — header nhóm mốc (Figma 49:5282) */
.cassiopeia-milestone-accordion .milestone-group {
    border-radius: 16px;
}
.cassiopeia-milestone-accordion .milestone-group-header {
    align-items: flex-start;
    gap: 32px;
}
.cassiopeia-milestone-accordion .milestone-group-header-main {
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 16px;
}
.cassiopeia-milestone-accordion .milestone-group-dot {
    width: 28px;
    height: 28px;
    margin: 2px 0;
    border: 1px solid var(--Foundation-Green-green-500);
    outline: 0;
    background: radial-gradient(
        circle,
        var(--Foundation-Green-green-500) 0 10px,
        #fff 10.5px
    );
}
.cassiopeia-milestone-accordion .milestone-group-range {
    flex-shrink: 0;
    width: auto;
    line-height: 32px;
    white-space: nowrap;
}
.cassiopeia-milestone-accordion .milestone-group-summary {
    flex: 1;
    min-width: 0;
    width: auto;
    line-height: 28px;
    padding-top: 3px;
}
.cassiopeia-milestone-accordion .milestone-group-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}
@media (max-width: 767px) {
    .cassiopeia-milestone-accordion .milestone-group-header-main {
        flex-wrap: wrap;
    }
}
.cassiopeia-milestone-accordion .milestone-group-range {
    color: #066042;
}
.thong-diep-container.cassiopeia-milestone-accordion
    .milestone-group:last-child:not(.is-disabled)
    .milestone-group-range {
    color: #f26b21;
}
.thong-diep-container .milestone-group:last-child .milestone-group-dot {
    background: #e85d04;
    outline: solid thin #e85d04;
}
.cassiopeia-milestone-accordion .milestone-group-dot {
    border-color: #066042;
    background: radial-gradient(circle, #066042 0 10px, #fff 10.5px);
}

/* Our history — khung nhóm mốc: bỏ viền, thêm đổ bóng */
.cassiopeia-milestone-accordion .milestone-group {
    border: 0;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.15);
}

/* Văn hoá doanh nghiệp — item giá trị cốt lõi (Figma 49:6335) */
.corporate-culture-content {
    align-items: stretch;
}
.corporate-culture-content .list {
    justify-content: space-between;
}
.corporate-culture-content .list .item .title {
    color: #066042;
}
.corporate-culture-content .list .item .desc {
    height: auto;
    padding-bottom: 0;
}

/* ESG — đoạn giới thiệu đầu trang (Figma 49:5557) */
.esg-box-1 {
    color: #066042;
    font-family: var(--font-primary-semiBold);
    font-size: 18px;
    line-height: 24px;
    padding: 20px 0 40px;
}
.esg-box-1.bg-second {
    background-color: #f1f4f5;
}
.esg-box-1 p {
    text-align: justify !important;
}
/* ESG / menu tab — trạng thái active (Figma 49:5593) */
.menu-list-item.active,
.menu-list-item:hover {
    color: #066042;
    border-color: #285d2c;
}
.menu-list-item {
    border-bottom-width: 2px;
    margin-bottom: -1px;
}

/* Tab active: gradient bằng ::before thay border-bottom (Figma 49:5593) */
.menu-list-item {
    position: relative;
}
.menu-list-item.active,
.menu-list-item:hover {
    border-color: transparent;
}
.menu-list-item::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: linear-gradient(90deg, #285d2c 0%, #a4c939 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.menu-list-item.active::before,
.menu-list-item:hover::before {
    opacity: 1;
}

/* ESG — nội dung mục E/S/G (Figma 49:5602) */
.esg-box-2-item .content .main-title {
    color: #121212;
    font-size: 36px;
    line-height: 44px;
    text-align: left;
    text-transform: uppercase;
}
.esg-box-2-item .content .desc,
.esg-box-2-item .content .desc p,
.esg-box-2-item .content .desc div {
    color: #434343;
    text-align: justify !important;
    font-family: var(--font-primary-regular);
    font-size: 16px;
    line-height: 24px;
}

/* ESG — Tin tức phát triển bền vững (Figma 49:5673) */
.esg-box-4.bg-second {
    background-color: #f1f4f5;
    padding: 72px 0;
}
.esg-box-4 .esg-box-4-inner {
    gap: 40px;
}
.esg-box-4 .esg-box-4-inner .main-title {
    color: #066042;
    font-size: 36px;
    line-height: 44px;
    text-transform: uppercase;
}
.esg-box-4 .news-item a,
.esg-box-4 .news-item a:hover {
    text-decoration: none;
}
.esg-box-4 .news-item .news-img {
    aspect-ratio: 420 / 288;
    height: auto;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);
}
.esg-box-4 .news-item .news-tag {
    display: none;
}
.esg-box-4 .news-item .news-content {
    padding-top: 16px;
    gap: 16px;
}
.esg-box-4 .news-item .news-title {
    height: auto;
    min-height: 56px;
}
.esg-box-4 .news-item .news-date {
    font-size: 16px;
    line-height: 24px;
    color: #8c8c8c;
}
.esg-box-4 .news-slider .owl-dots {
    margin-top: 0;
    gap: 8px;
}
.esg-box-4 .news-slider .owl-dot {
    width: 8px;
    height: 8px;
    border-radius: 6px;
    background: #cce190;
}
.esg-box-4 .news-slider .owl-dot.active {
    width: 37px;
    background: linear-gradient(90deg, #285d2c 0%, #a4c939 100%);
}
.esg-box-4-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ESG — dots slide (Figma 49:5684), cùng kiểu home-box-5 */
.esg-box-4 .news-slider .owl-dots {
    align-items: center;
    justify-content: center;
    margin-top: 0;
}
.esg-box-4 .news-slider .owl-dot {
    opacity: 1;
    margin: 0;
    padding: 0;
    border: 0;
    transition: width 0.3s ease;
}
.esg-box-4 .news-slider .owl-dot.active {
    width: 37px;
    height: 8px;
}
.esg-box-4 .news-slider .owl-dot span {
    display: none !important;
}

/* Mạng lưới hoạt động (Figma 49:5930) */
.network-of-operations-right {
    gap: 40px;
}
.network-of-operations-right [hidden] {
    display: none !important;
}
.network-of-operations-right .network-of-operations-form .form-control {
    width: 100%;
    height: 56px;
    border-radius: 32px;
    border: 1px solid #cce190;
    font-family: var(--font-primary-medium);
    font-size: 16px;
    line-height: 24px;
    color: var(--gray-9---body-text);
    padding: 8px 40px 8px 16px;
    background-color: #fff;
    cursor: pointer;
}
.network-of-operations-right .network-of-operations-form .form-control:focus {
    border-color: #a4c939;
    outline: 0;
    box-shadow: none;
}
.network-of-operations-right .office-list .main-title {
    color: #121212;
    font-size: 36px;
    line-height: 44px;
    font-family: var(--font-primary-bold);
    font-weight: 400;
    text-align: left;
    text-transform: uppercase;
}
.network-of-operations-right .office-list .item,
.network-of-operations-right .office-list .item:not(:last-child) {
    padding-bottom: 40px;
    border-bottom: 1px solid #d8d8d8;
}
.network-of-operations-right .office-list .item.is-last {
    padding-bottom: 0;
    border-bottom: 0;
}
.network-of-operations-right .office-list .item-content-offices {
    gap: 32px;
}
.network-of-operations-right .office-list .item-content .project-item {
    margin-bottom: 0;
    width: 100%;
}

/* management-item: bỏ border khi active/hover, thay bằng ::after absolute gradient */
.management-item {
    position: relative;
    border-bottom: 0;
}
.management-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, #285d2c, #a4c939);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.management-item:hover::after,
.management-item.active::after {
    opacity: 1;
}
.management-item:hover,
.management-item.active {
    border-color: transparent;
}

/* Trang Lĩnh vực kinh doanh (Figma 49:6397): hiện tiêu đề khối, tiêu đề trụ cột không gạch chân, so le ảnh trái-phải-trái */
.cnc-ecosystem.page-business .cnc-ecosystem-item-title a {
    color: #121212;
    text-decoration: none;
}
/* Các item nằm trong .cnc-ecosystem-list (tách khỏi tiêu đề): item lẻ (1,3…) ảnh phải - nội dung trái; item chẵn (2,4…) ngược lại */
.cnc-ecosystem.page-business .cnc-ecosystem-item:nth-child(odd) {
    flex-direction: row-reverse;
}
.cnc-ecosystem.page-business
    .cnc-ecosystem-item:nth-child(odd)
    .cnc-ecosystem-item-content {
    padding-left: 0;
    padding-right: 40px;
}
.cnc-ecosystem.page-business .cnc-ecosystem-item:nth-child(even) {
    flex-direction: row;
}
.cnc-ecosystem.page-business
    .cnc-ecosystem-item:nth-child(even)
    .cnc-ecosystem-item-content {
    padding-left: 40px;
    padding-right: 0;
}
.cnc-ecosystem.page-business .cnc-ecosystem-item-img {
    height: 264px;
}
.page-business .main-container:not(:has(.main-home-container)) {
    margin-top: 112px;
}

/* Khối giới thiệu trang Lĩnh vực kinh doanh (Figma 49:6400 / 49:6402) */
.page-business .cnc-page-hero .cnc-page-hero-title {
    padding: 36px 12px;
}
.page-business .pt-detail-box-1 {
    padding: 40px 32px 20px;
    border-radius: 16px;
}
.page-business .pt-detail-box-1 .container {
    max-width: 1350px;
    padding: 0;
}
.page-business .pt-detail-box-1 .pt-detail-content {
    color: #066042;
    font-family: var(--font-primary-semiBold);
    font-size: 18px;
    line-height: 1.4;
}
.page-business .pt-detail-box-1 .pt-detail-content p {
    margin: 0;
    text-align: justify !important;
}

/* Nhà máy trang dịch vụ (Figma 49:6568): thẻ trắng bo 16, icon gradient, tiêu đề SemiBold 20/28, dots 37x8 / 8x8 */
.pt-detail-box-5.sec-72 {
    background: #f5f5f7;
}
.pt-detail-box-5 .pt-detail-box-5-box {
    gap: 40px;
}
.pt-detail-box-5 .main-title {
    color: #121212;
    font-family: var(--font-primary-bold);
    font-size: 32px;
    line-height: 40px;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
}
.pt-detail-box-5 .factory-item {
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.25s ease;
}
.pt-detail-box-5 .factory-item .content {
    padding: 0 16px 16px;
}
.pt-detail-box-5 .factory-item .content .icon {
    padding: 16px;
}
.pt-detail-box-5 .factory-item .content a {
    text-decoration: none;
}
.pt-detail-box-5 .factory-item .content .title {
    color: #121212;
    font-family: var(--font-primary-semiBold);
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
}
.pt-detail-box-5 .factory-item .content .location {
    gap: 16px;
}
.pt-detail-box-5 .factory-item .content .location span {
    font-size: 16px;
    line-height: 24px;
}
.pt-detail-box-5 .factory-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, #285d2c, #a4c939);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.pt-detail-box-5 .factory-item:hover {
    box-shadow: 0 16px 40px 0 rgba(6, 96, 66, 0.16);
}
.pt-detail-box-5 .factory-item:hover::after {
    opacity: 1;
}
.pt-detail-box-5 .factory-item:hover .content .title {
    color: #066042;
}
.pt-detail-box-5 .pt-detail-box-5-carousel .owl-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}
.pt-detail-box-5 .pt-detail-box-5-carousel .owl-dot {
    width: 8px;
    height: 8px;
    border-radius: 6px;
    background: #bccdbe;
    opacity: 1;
}
.pt-detail-box-5 .pt-detail-box-5-carousel .owl-dot span {
    display: none !important;
}
.pt-detail-box-5 .pt-detail-box-5-carousel .owl-dot.active {
    width: 37px;
    background: #066042;
}

/* Nhà máy: các thẻ trong slide luôn cao bằng thẻ cao nhất */
.pt-detail-box-5 .pt-detail-box-5-carousel .owl-stage {
    display: flex;
}
.pt-detail-box-5 .pt-detail-box-5-carousel .owl-item {
    display: flex;
}
.pt-detail-box-5 .pt-detail-box-5-carousel .owl-item .factory-item {
    height: 100%;
}
.pt-detail-box-5 .factory-item .content {
    flex: 1;
}
.pt-detail-box-5 .factory-item .content .desc {
    margin-top: auto;
}
.pt-detail-box-4-box .owl-carousel .owl-item img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
}
/* Trang Gia công chính xác: Quy trình (Figma 49:6545), Thư viện sản phẩm (49:6555), CTA (49:6580) */
.pt-detail-box-4-first {
    width: min(100%, 1441px);
    overflow-x: auto;
    scrollbar-width: thin;
}
.pt-detail-box-4-first .item .content .title {
    height: auto;
}
.pt-detail-box-4-box-title {
    font-size: 32px;
    line-height: 40px;
}
.pt-detail-box-4-product {
    filter: none;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}
.pt-detail-box-4-product-menu .item {
    border-bottom: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
    background: #fff;
    padding: 0 8px;
}
.pt-detail-box-4-product-menu .item:last-child {
    border-right: 0;
}
.pt-detail-box-4-product-menu .item span {
    font-size: 18px;
    line-height: 26px;
}
.pt-detail-box-4-product-content {
    padding: 40px;
    background: #fff;
}
.pt-detail-products-carousel .owl-nav .owl-prev {
    left: -20px;
}
.pt-detail-products-carousel .owl-nav .owl-next {
    right: -20px;
}
.pt-detail-products-carousel .owl-item img {
    border-radius: 8px;
}

.pt-detail-box-6 {
    height: 446px;
}
.pt-detail-box-6 .container {
    position: relative;
    z-index: 1;
}
.pt-detail-box-6 .pt-detail-box-6-box {
    width: 419px;
    gap: 32px;
}
.pt-detail-box-6 .pt-detail-box-6-box .title {
    font-size: 32px;
    line-height: 40px;
}
.pt-detail-box-6 .btn-get-advice {
    height: 44px;
    padding: 12px 8px 12px 24px;
    gap: 12px;
    font-family: var(--font-primary-medium);
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
}
.pt-detail-box-6 .btn-get-advice .btn-icon {
    width: 30px;
    height: 30px;
    background: url("/themes/cnc-tech/images/icons/cta-arrow-circle.svg")
        center / 50px 50px no-repeat;
}
.pt-detail-box-6 .btn-get-advice .btn-icon img {
    display: none;
}
@media (min-width: 1025px) {
    .pt-detail-box-6 {
        height: 446px;
    }
}

/* Khối giới thiệu dưới banner (Figma 49:6446 / 49:6650 ...): dùng chung cho pt-detail-box-1 và pt-detail-box-12 của 9 trang Lĩnh vực kinh doanh */
.pt-detail-box-1,
.pt-detail-box-12:has(.pt-detail-content) {
    background: #f1f4f5;
    padding: 40px 32px 20px;
    border-radius: 16px;
}
.pt-detail-box-1 .container,
.pt-detail-box-12:has(.pt-detail-content) .container {
    max-width: 1350px;
    padding: 0;
}
.pt-detail-box-1 .pt-detail-content,
.pt-detail-box-12 .pt-detail-content {
    color: #066042;
    font-family: var(--font-primary-semiBold);
    font-size: 18px;
    line-height: 1.4;
    text-align: center;
}
.pt-detail-box-1 .pt-detail-content p,
.pt-detail-box-12 .pt-detail-content p {
    margin: 0;
    text-align: justify !important;
}

/* Khối nội dung 2 cột (Figma 49:6652 ...): nền gradient trắng → #F5F5F7 theo chiều dọc, khoảng cách 2 cột 32px */
.pt-detail-box-3.bg-second {
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
}
.pt-detail-box-3 .pt-detail-box-3-item {
    gap: 32px;
}

/* Nhà máy dạng 1 thẻ lớn (Figma 49:8119): ảnh trái 660x384, thông tin phải padding 32/64, gap 24 */
.pt-detail-box-5 .factory-item.factory-item-type-2 {
    border-radius: 16px;
    background: #fff;
}
.pt-detail-box-5 .factory-item-type-2 .img {
    flex: 1;
    width: auto;
    min-width: 0;
    height: 384px;
    aspect-ratio: auto;
    border-radius: 16px 0 0 16px;
}
.pt-detail-box-5 .factory-item-type-2 .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pt-detail-box-5 .factory-item-type-2 .content {
    flex: 1;
    padding: 32px 64px;
    gap: 24px;
    margin: 0 !important;
    justify-content: center;
}
.pt-detail-box-5 .factory-item-type-2 .content .desc {
    margin-top: 0;
}

/* Tiêu đề banner các trang con: chữ thường (không in hoa), trừ trang chủ */
body:not(:has(.main-home-container)) .banner-content .banner-title {
    text-transform: none;
}

/* Quy trình: thanh cuộn ngang theo Figma 49:6770 (track #F0F0F0 cao 10px bo 10, thumb #066042 20%), cách nội dung 16px */
.pt-detail-box-4-first {
    width: min(100%, 1440px);
    overflow-x: scroll;
    scrollbar-width: auto;
    padding-bottom: 16px;
}
.pt-detail-box-4-first::-webkit-scrollbar {
    height: 10px;
}
.pt-detail-box-4-first::-webkit-scrollbar-track {
    background-color: #f0f0f0;
    border-radius: 10px;
}
.pt-detail-box-4-first::-webkit-scrollbar-thumb {
    background-color: rgba(6, 96, 66, 0.2);
    border-radius: 10px;
}
@supports (-moz-appearance: none) {
    .pt-detail-box-4-first {
        scrollbar-width: thin;
        scrollbar-color: rgba(6, 96, 66, 0.2) #f0f0f0;
    }
}

/* Danh sách có dấu tick (Figma 49:6922): icon 24px + chữ cách 24px, mục "Danh sách thiết bị" cùng cỡ chữ với các dòng khác */
.pt-detail-box-3-item .content .list p:has(> img) {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin: 0;
}
.pt-detail-box-3-item .content .list p:has(> img) > img {
    flex-shrink: 0;
}
.pt-detail-box-3-item .content .list h3.item {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    font-family: var(--font-primary-semiBold);
    font-weight: 400;
}
.pt-detail-box-3-item .content .list h3.item a {
    color: #066042;
    text-decoration: underline;
}
.pt-detail-box-3-item .content .list h3.item {
    position: relative;
    padding-left: 48px;
}
.pt-detail-box-3-item .content .list h3.item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: url("/themes/cnc-tech/images/icons/tick-cycle.svg") center /
        contain no-repeat;
}

/* Hàng ảnh bên trái (mục chẵn): chữ cách ảnh thêm 32px (Figma 49:6968); liên kết trong danh sách tick cùng kiểu chữ với dòng thường */
.pt-detail-box-3-item:nth-child(even) .content {
    padding-left: 32px;
    padding-right: 0;
}
.pt-detail-box-3-item .content .list p:has(> img) a {
    color: inherit;
    font-family: inherit;
    text-decoration: none !important;
}

/* Mục "Năng lực" dạng 2 cột (Figma 49:7675): icon + chữ cách 24px, dòng đầu đậm, nút "Danh sách thiết bị" chữ gradient */
.pt-detail-box-3-item .content .list.list-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    gap: 16px;
    align-items: start;
}
.pt-detail-box-3-item .content .list.list-specs .item {
    gap: 24px;
}
.pt-detail-box-3-item .content .list.list-specs .item strong {
    font-family: var(--font-primary-semiBold);
    font-weight: 400;
}
.pt-detail-box-3-item .content .list .item-link a {
    text-transform: uppercase;
    font-family: var(--font-primary-medium);
    text-decoration: none !important;
    background: linear-gradient(90deg, #285d2c 0%, #a4c939 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Thẻ dịch vụ OEM/ODM (Figma 49:8211): mô tả màu #434343 */
.pt-detail-box-8-content .right .item .content .desc {
    color: #434343;
}
.pt-detail-box-8-content .right .item .icon img {
    object-fit: contain;
}

/* /subsidiary-company (Figma 49:9131) */
.subsidiary-company-container.sec-72 {
    padding: 104px 0;
}
.subsidiary-company-inner .main-title {
    text-transform: uppercase;
    font-family: var(--font-primary-bold);
    color: #121212;
}
.list-company-menu {
    gap: 32px;
}
.company-menu-item .content {
    padding: 24px 32px;
}
.list-company-box .company-box-item {
    padding: 64px;
    gap: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.list-company-box .company-box-item .list-item {
    gap: 40px;
}
.list-company-box .company-box-item .list-item:first-child:not(:last-child) {
    padding-bottom: 40px;
}
.list-company-box .company-box-item .list-item + .list-item {
    padding-top: 48px;
}
.list-company-box .company-box-item .list-item:only-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.list-company-box .company-box-item .list-item .list-company {
    gap: 32px;
}
.list-company-box
    .company-box-item
    .list-item
    .list-company
    .company-item
    .logo {
    height: 70px;
    padding: 8px 12px;
}
.list-company-box
    .company-box-item
    .list-item
    .list-company
    .company-item
    span {
    font-size: 16px;
    line-height: 24px;
    color: #434343;
    font-family: var(--font-primary-medium);
}
.list-company-box .company-item,
.list-company-box .company-item:hover {
    text-decoration: none;
}

/* Banner có breadcrumb (khối cnc_page_hero, cấu hình trong block): kiểu thường — breadcrumb căn giữa trên tiêu đề */
.cnc-page-hero .cnc-page-hero-title.has-crumb {
    flex-direction: column;
    gap: 8px;
}
.cnc-page-hero:not(.is-overlay) .cnc-page-hero-crumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: var(--gray-9---body-text);
    text-transform: uppercase;
    font-family: var(--font-primary-medium);
    font-size: 14px;
    line-height: 20px;
}
.cnc-page-hero:not(.is-overlay) .cnc-page-hero-crumb a {
    color: inherit;
    text-decoration: none;
}
.cnc-page-hero:not(.is-overlay) .cnc-page-hero-crumb a:hover {
    color: var(--primary-color, #285d2c);
}
.cnc-page-hero:not(.is-overlay) .cnc-page-hero-crumb i {
    font-size: 10px;
}

/* Banner overlay: breadcrumb + tiêu đề đè lên ảnh (Figma 49:9133) */
.cnc-page-hero.is-overlay {
    position: relative;
}
/* Hero overlay cao 680px theo Figma (Đơn vị thành viên 78:19248; cùng chuẩn các banner khác); tablet 420px, mobile 240px bên dưới */
.cnc-page-hero.is-overlay .cnc-page-hero-swiper {
    height: 680px;
}
.cnc-page-hero.is-overlay .cnc-page-hero-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 8px;
    padding: 80px max(16px, calc((100% - 1350px) / 2)) 32px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.48),
        rgba(0, 0, 0, 0) 89%
    );
    pointer-events: none;
}
.cnc-page-hero.is-overlay .cnc-page-hero-title a {
    pointer-events: auto;
}
.cnc-page-hero.is-overlay .cnc-page-hero-crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-transform: uppercase;
    font-family: var(--font-primary-medium);
    font-size: 16px;
    line-height: 22px;
}
.cnc-page-hero.is-overlay .cnc-page-hero-crumb a {
    color: #fff;
    text-decoration: none;
}
.cnc-page-hero.is-overlay .cnc-page-hero-crumb i {
    font-size: 10px;
}
.cnc-page-hero.is-overlay .cnc-page-hero-title h1 {
    color: #fff;
    font-family: var(--font-primary-bold);
    font-size: 48px;
    line-height: 56px;
    text-align: left;
    text-transform: none;
}
.cnc-page-hero.is-overlay .cnc-page-hero-dots {
    justify-content: flex-end;
    bottom: 40px;
    padding-right: max(16px, calc((100% - 1350px) / 2));
}
@media (max-width: 1024px) {
    .cnc-page-hero.is-overlay .cnc-page-hero-swiper {
        height: 420px;
    }
}
@media (max-width: 767px) {
    .cnc-page-hero.is-overlay .cnc-page-hero-swiper {
        height: 240px;
    }
    .cnc-page-hero.is-overlay .cnc-page-hero-title {
        padding-top: 40px;
        padding-bottom: 16px;
    }
    .cnc-page-hero.is-overlay .cnc-page-hero-title h1 {
        font-size: 28px;
        line-height: 36px;
    }
    .cnc-page-hero.is-overlay .cnc-page-hero-crumb {
        font-size: 12px;
    }
}

/* Phân trang danh sách tài liệu (Figma 49:8534) */
.investors-pagination {
    margin-top: 40px;
    padding: 0;
    list-style: none;
}
.investors-pagination li a {
    text-decoration: none;
}
.investors-pagination li.last a {
    width: 40px;
}

/* Báo cáo thường niên: ảnh bìa + tiêu đề + ngày (Figma 49:8594) */
.investors-item.investors-item-type-2 {
    gap: 32px;
    align-items: flex-start;
    padding: 12px 24px 12px 12px;
}
.investors-item-type-2 .img {
    flex-shrink: 0;
    width: 278px;
    height: 157px;
}
.investors-item-type-2 .img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.investors-item-type-2 .content {
    align-self: stretch;
    justify-content: center;
    padding-left: 0;
}
.investors-item-type-2 .content .title {
    font-size: 22px;
    line-height: 30px;
}
.investors-item-type-2 .content .date {
    color: #8c8c8c;
    font-size: 16px;
    line-height: 24px;
}
.investors-item-type-2 .actions {
    align-self: center;
}
@media (max-width: 767px) {
    .investors-item.investors-item-type-2 {
        flex-wrap: wrap;
    }
    .investors-item-type-2 .img {
        width: 100%;
        height: auto;
        aspect-ratio: 278 / 157;
    }
}

/* Trang danh mục tin: bộ lọc + lưới 3 cột (Figma 49:9187) */
.news-container.news-container-grid {
    background: #f9fafb;
    padding: 56px 0;
}
.news-container-grid .news-inner {
    gap: 40px;
}
.news-filter {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}
.news-filter-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
}
.news-filter-search {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 467px;
    max-width: 100%;
}
.news-filter-label {
    color: #090c13;
    opacity: 0.9;
    font-family: var(--font-primary-bold);
    font-size: 24px;
    line-height: 32px;
}
.news-filter-form {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 8px 8px 16px;
    border: 1px solid #bccdbe;
    border-radius: 32px;
    background: transparent;
}
.news-filter-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #121212;
    font-size: 16px;
    line-height: 24px;
}
.news-filter-form input::placeholder {
    color: #8c8c8c;
}
.news-filter-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 24px;
    background: #e44119;
    cursor: pointer;
}
.news-filter-desc {
    width: 446px;
    max-width: 100%;
    margin: 0;
    color: #494d59;
    font-size: 16px;
    line-height: 24px;
}
.news-filter-chips {
    display: flex;
    /* flex-wrap: wrap; */
    gap: 4px;
    margin-bottom: 30px;
    border-bottom: 1px solid #d8d8d8;
    padding-bottom: 12px;
    overflow-x: auto;
    width: 100%;
}
.news-chip {
    display: inline-flex;
    white-space: nowrap;
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 0px 16px;
    border: none;
    border-radius: 0px;
    color: #066042;
    font-family: var(--font-primary-medium);
    font-size: 16px;
    line-height: 26px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.25s ease;
}
.news-chip:hover,
.news-chip.active {
    /* background: #066042; */
    /* border-color: #066042; */
    color: #066042;
    text-decoration: none;
    font-weight: bold;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 32px;
    width: 100%;
}
.news-grid-item,
.news-grid-item:hover {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}
.news-grid-img {
    aspect-ratio: 420 / 288;
    overflow: hidden;
    border-radius: 12px;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.15));
    background: #e8ecef;
}
.news-grid-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.news-grid-item:hover .news-grid-img img {
    transform: scale(1.05);
}
.news-grid-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 16px;
}
.news-grid-tag {
    color: #e44119;
    font-family: var(--font-primary-medium);
    font-size: 14px;
    line-height: 22px;
    text-transform: uppercase;
}
.news-grid-title {
    color: #121212;
    font-family: var(--font-primary-medium);
    font-size: 20px;
    line-height: 28px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}
.news-grid-item:hover .news-grid-title {
    color: #066042;
}
.news-grid-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #8c8c8c;
    font-size: 16px;
    line-height: 24px;
}
.news-grid-date img {
    flex: none;
    width: 16px;
    height: 16px;
}
.news-grid-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #8c8c8c;
}
.news-pagination {
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
.news-pagination li a,
.news-pagination li span {
    text-decoration: none;
}
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .news-filter-top {
        flex-direction: column;
    }
    .news-filter-search,
    .news-filter-desc {
        width: 100%;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .news-chip {
        height: 38px;
        font-size: 16px;
    }
}

/* Danh mục tạp chí nội bộ: ảnh bìa 308×386, 4 cột (Figma 49:9475) */
.news-grid.is-magazine {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.magazine-item,
.magazine-item:hover {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-decoration: none;
}
.magazine-img {
    aspect-ratio: 308 / 386;
    overflow: hidden;
    border-radius: 16px;
    background: #e8ecef;
}
.magazine-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.4s ease;
}
.magazine-item:hover .magazine-img img {
    transform: scale(1.05);
}
.magazine-title {
    color: #121212;
    font-family: var(--font-primary-bold);
    font-size: 22px;
    line-height: 30px;
    transition: color 0.25s ease;
}
.magazine-item:hover .magazine-title {
    color: #066042;
}
@media (max-width: 1024px) {
    .news-grid.is-magazine {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .news-grid.is-magazine {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
    }
    .magazine-title {
        font-size: 16px;
        line-height: 24px;
    }
}

/* Tin tức liên quan (Figma 49:9325): thẻ bỏ gạch chân, dots: số đang chọn dạng viên thuốc xanh */
.other-news-container .news-item a,
.other-news-container .news-item a:hover {
    text-decoration: none;
}
.other-news-container .news-item .news-img {
    height: auto;
    aspect-ratio: 420 / 288;
    filter: none;
}
.other-news-container .news-slider .owl-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}
.other-news-container .news-slider .owl-dot {
    width: 8px;
    height: 8px;
    border-radius: 6px;
    background: #bccdbe;
    transition:
        width 0.3s ease,
        background 0.3s ease;
}
.other-news-container .news-slider .owl-dot.active {
    width: 37px;
    background: #066042;
}
.other-news-container .news-slider.owl-theme .owl-dots .owl-dot span {
    display: none !important;
}

/* Chia sẻ bài viết: thêm nút sao chép liên kết (Figma 49:9254) */
.news-detail-share a {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-detail-share .news-copy-link.copied::after {
    content: attr(data-copied);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 10px;
    border-radius: 6px;
    background: #121212;
    color: #fff;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
    pointer-events: none;
}

/* Nút "Xem thêm »" (Figma 49:9390): SemiBold 16/24 đen, không gạch chân, icon 14px cách 4px */
.video-more,
.video-more:hover {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #000;
    font-family: var(--font-primary-semiBold);
    font-size: 16px;
    line-height: 24px;
    text-decoration: none;
}
.video-more img {
    width: 14px;
    height: 14px;
    display: block;
}

/* Happy CNCers (Figma 49:9778): thẻ sự kiện + carousel câu chuyện */
.event-cards-section {
    background: #fff;
}
.event-cards-title {
    margin-bottom: 40px;
}
.event-cards-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}
.event-item-img {
    display: block;
}
.event-item-content .title,
.event-item-content .title:hover {
    color: #121212;
    text-decoration: none;
}
.event-item-content .content-item {
    color: #434343;
    font-size: 16px;
    line-height: 24px;
}
.event-item-content .content-item img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.event-item-content .action a,
.event-item-content .action a:hover {
    text-decoration: none;
}
.event-item-content .btn-register-event {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 40px;
    background: #e44119;
    color: #fff;
    text-transform: uppercase;
    font-family: var(--font-primary-medium);
    font-size: 16px;
    line-height: 24px;
}
.event-item-content .btn-border-red {
    text-transform: uppercase;
    font-family: var(--font-primary-medium);
    font-size: 16px;
    line-height: 24px;
    text-decoration: none;
}
.stories .stories-desc {
    max-width: 900px;
    margin: 16px auto 0;
    text-align: center;
    color: #121212;
    font-size: 14px;
    line-height: 20px;
}
@media (max-width: 1024px) {
    .event-cards-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .event-cards-list {
        grid-template-columns: 1fr;
    }
}

/* Thi đua yêu nước, hội nhập quốc tế: tiêu đề 1 dòng (Figma 49:9778) */

/* Ảnh môi trường làm việc: cùng tỉ lệ 428:313 dù ảnh gốc khác tỉ lệ */
.list-img-happy-cncers .img-happy-cncers-item img {
    display: block;
    width: 100%;
    aspect-ratio: 428 / 313;
    object-fit: cover;
}
.happy-cncers-item img {
    width: 100%;
    aspect-ratio: 420 / 400;
    object-fit: cover;
}

/* Chuyện nghề: ảnh cùng tỉ lệ 428:313, carousel nằm trong container như trang gốc */
.stories .container > .stories-carousel {
    overflow: visible;
}
.stories .story-card__media {
    aspect-ratio: 428 / 313;
    height: auto;
}
.stories .story-card__media img {
    height: 100%;
}
.stories .story-card__title {
    height: auto;
    min-height: 52px;
}
.stories .container > .stories-carousel .stories-swiper {
    overflow: hidden;
    padding-left: 12px;
    padding-right: 12px;
    margin: 0 -12px;
}

/* Thi đua yêu nước, hội nhập quốc tế (Figma 49:9859): tiêu đề 46px, nhãn mục viết hoa, đoạn mô tả căn đều */
.happy-cncersbox-4-header .main-title {
    font-size: 46px;
    line-height: 56px;
    letter-spacing: -1.38px;
}
/* Thu nhỏ dần theo màn hình (không dùng !important; các mốc xếp từ lớn đến nhỏ để mốc nhỏ thắng) */
@media (max-width: 1700px) {
    .happy-cncersbox-4-header .main-title {
        font-size: 36px;
        line-height: 46px;
        letter-spacing: -1px;
    }
}
@media (max-width: 1280px) {
    .happy-cncersbox-4-header .main-title {
        font-size: 32px;
        line-height: 40px;
        letter-spacing: -0.6px;
    }
}
.happy-cncersbox-4-header .main-title.main-title-2 {
    top: 1px;
    left: 2px;
}
.happy-cncersbox-4-header .main-title.main-title-3 {
    top: 3px;
    left: 4px;
}
.happy-cncersbox-4-header .desc {
    width: min(100%, 701px);
    font-size: 16px;
    line-height: 24px;
}
.happy-cncersbox-4-item .title {
    text-transform: uppercase;
}
.happy-cncersbox-4-item .desc {
    font-size: 16px;
    line-height: 24px;
    text-align: justify;
}
@media (max-width: 1024px) {
    .happy-cncersbox-4-header .main-title {
        font-size: 28px;
        line-height: 36px;
        letter-spacing: 0;
    }
}

/* Chuyện nghề: kéo để trượt, chỉ bấm được icon play; không nhảy layout khi đổi thẻ giữa */
.stories .stories-swiper:not(.is-ready) .story-card {
    transition: none;
}
.stories .story-card {
    cursor: grab;
}
.stories .story-card:active {
    cursor: grabbing;
}
.stories .story-card__date {
    display: block !important;
    visibility: hidden;
}
.stories .stories-swiper .swiper-slide-active .story-card__date {
    visibility: visible;
}
.stories .story-card__play.video-item {
    cursor: pointer;
}
.stories .story-card__play.video-item:hover img {
    transform: none;
}
.stories .story-card__play {
    width: 44px;
    height: 44px;
}

.stories .container > .stories-carousel {
    overflow: hidden;
    padding: 0 12px;
    margin: 30px -12px 0;
}
.stories .container > .stories-carousel .stories-swiper {
    overflow: visible;
    padding: 16px 0 8px;
    margin: 0;
}

/* Fancybox phải nằm trên header cố định */
.fancybox__container {
    z-index: 99999;
}
.list-img-happy-cncers .img-happy-cncers-item {
    cursor: zoom-in;
}

/* Cơ hội nghề nghiệp (Figma 49:9535) */
.career-container .career-item-img,
.career-container .career-item-title,
.career-container .career-item-title:hover {
    text-decoration: none;
}
.career-container .career-item-title {
    color: #121212;
    font-family: var(--font-primary-bold);
}
.career-container .career-item:hover .career-item-title {
    color: #066042;
}
.career-box-1 .data-list .data-item .number {
    color: #066042;
}
.career-box-2 .main-title,
.career-box-3 .main-title,
.career-box-1 .main-title {
    text-transform: uppercase;
}

/* Tin tuyển dụng: phân trang, ẩn thẻ rỗng */
.career-pagination {
    justify-content: center;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}
.career-pagination li a {
    text-decoration: none;
}
.career-jobs .career-list-item {
    height: calc(100% - 40px);
}
.career-jobs a,
.career-jobs a:hover {
    text-decoration: none;
}
.career-jobs .career-list-item .location,
.career-jobs .career-list-item .second .desc {
    text-decoration: none;
}

/* Thẻ tin tuyển dụng (Figma 49:9635): tiêu đề 24/32, địa điểm, mô tả 2 dòng, hạn nộp, nút "XEM THÊM" */
.career-jobs .career-list-item {
    padding: 32px;
    gap: 16px;
    margin-bottom: 32px;
    height: calc(100% - 32px);
}
.career-jobs .career-list-item .first {
    gap: 12px;
    padding-bottom: 16px;
}
.career-jobs .career-list-item .first .title {
    font-size: 24px;
    line-height: 32px;
}
.career-jobs .career-list-item .location {
    color: #434343 !important;
    font-size: 16px;
    line-height: 24px;
}
.career-jobs .career-list-item .second {
    gap: 16px;
    flex: 1;
}
.career-jobs .career-list-item .second .desc {
    opacity: 0.8;
    min-height: 48px;
    color: #595959;
    font-size: 16px;
    line-height: 24px;
}
.career-jobs .career-list-item .second .desc:empty {
    display: block;
}
.career-jobs .application-deadline {
    color: #494d59;
    font-size: 16px;
    line-height: 24px;
    gap: 6px;
}
.career-jobs .application-deadline .date {
    color: #066042;
    font-size: 18px;
    line-height: 26px;
}
.career-jobs .career-list-item .btn-view-all {
    margin-top: auto;
}

/* Chi tiết tin tuyển dụng (Figma 49:9655) */
.page-career-detail .career-detail-container {
    background: #fff;
    padding-top: 56px;
}
.career-detail-content-title {
    font-size: 28px;
    line-height: 36px;
    text-transform: none;
    margin: 0;
    font-family: var(--font-primary-bold);
    color: #121212;
}
.career-detail-content .application-deadline {
    color: #494d59;
    font-size: 16px;
    line-height: 24px;
}
.career-detail-content .application-deadline .date {
    color: #066042;
    font-family: var(--font-primary-medium);
}
.career-detail-content .line {
    width: 100%;
    height: 1px;
    background: #d8d8d8;
}
.career-detail-content .editor-content {
    width: 100%;
    text-align: justify;
}
.career-detail-content .editor-content h4 {
    margin: 24px 0 8px;
    font-family: var(--font-primary-medium);
    font-size: 20px;
    line-height: 28px;
    text-transform: uppercase;
    color: #121212;
}
.career-detail-content .editor-content ul {
    margin: 0 0 8px;
    padding-left: 20px;
    list-style: disc;
}
.career-detail-content .editor-content li {
    margin-bottom: 4px;
}
.career-contact-info .title {
    text-transform: uppercase;
}
.career-contact-info .list .item {
    justify-content: flex-start;
}
.career-contact-info .list .item a,
.career-contact-info .list .item span {
    color: #121212;
    text-decoration: none;
}
.career-detail-content .form-career {
    width: 100%;
    margin-top: 24px;
}
.form-career .upload-wrapper {
    margin: 8px 0 0;
}
.form-career .btn-get-advice {
    border: 0;
}
.form-career .alert {
    width: 100%;
    margin-bottom: 0;
}
.hightlight-career {
    width: 364px;
}
.hightlight-career a.hightlight-career-item,
.hightlight-career a.hightlight-career-item:hover {
    text-decoration: none;
}
.hightlight-career-item .title {
    transition: color 0.25s ease;
}
.hightlight-career-item:hover .title {
    color: #066042;
}
.hightlight-career-item .application-deadline {
    color: #494d59;
    font-size: 16px;
    line-height: 24px;
}
.hightlight-career-item .application-deadline .date {
    color: #066042;
    font-size: 16px;
}
@media (max-width: 991px) {
    .career-detail-inner {
        flex-direction: column;
    }
    .hightlight-career {
        width: 100%;
        position: static;
    }
}
.career-detail-content-title {
    text-transform: uppercase;
}

/* Hồ sơ năng lực (Figma 49:10022): nền chuyển trắng → xám nhạt, tiêu đề 36px, thẻ tài liệu bóng nhẹ */
.page-company-profile .investors-container {
    padding: 72px 0;
    background: linear-gradient(180deg, #fff 0%, #f5f5f7 100%);
}
.page-company-profile .company-profile-inner {
    gap: 72px;
}
.page-company-profile .company-file-list {
    gap: 40px;
}
.page-company-profile .company-file-list .main-title {
    text-align: left;
    text-transform: uppercase;
    color: #121212;
}
.page-company-profile .company-file-list .investors-list {
    gap: 16px;
}
.page-company-profile .investors-item {
    gap: 16px;
    padding: 12px 24px 12px 12px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.08);
    cursor: default;
}
.page-company-profile #equipment_list .investors-item {
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}
.page-company-profile .investors-item .img {
    flex-shrink: 0;
    width: 200px;
}
.page-company-profile .investors-item .img:empty {
    display: none;
}
.page-company-profile .investors-item .img img {
    display: block;
    width: 200px !important;
    height: auto;
    max-height: 283px;
    object-fit: cover;
    border-radius: 8px;
}
.page-company-profile .investors-item .content {
    color: #121212;
    font-family: var(--font-primary-medium);
    font-size: 20px;
    line-height: 28px;
    text-decoration: none;
}
.page-company-profile .investors-item:hover .content {
    color: #066042;
}
.page-company-profile .investors-item .actions {
    border: 0;
}
.page-company-profile .investors-item .btn-down {
    display: flex;
    padding: 0;
    border: 0;
}
.page-company-profile .investors-item .btn-down img {
    width: 32px;
    height: 32px;
}

/* Gallery (Figma 49:9906): nền trắng → xám nhạt, lưới 3 cột 420px, ảnh cao 364px, nhãn gradient */
.galleries-container.bg-second {
    padding: 72px 0;
    background: linear-gradient(180deg, #fff 0%, #f5f5f7 100%);
}
.galleries-container .galleries-inner {
    gap: 40px 32px;
}
.galleries-container .galleries-item {
    width: calc((100% - 64px) / 3);
    gap: 12px;
}
.galleries-container .galleries-item .img {
    width: 100%;
    height: 364px;
    aspect-ratio: auto;
    border-radius: 16px;
}
.galleries-container .galleries-item .name,
.galleries-container .galleries-item .name:hover {
    text-decoration: none;
    color: #fff;
    background: linear-gradient(90deg, #285d2c 0%, #a4c939 100%);
    font-size: 24px;
    line-height: 32px;
}
@media (max-width: 991px) {
    .galleries-container .galleries-item {
        width: calc((100% - 32px) / 2);
    }
}
@media (max-width: 575px) {
    .galleries-container .galleries-item {
        width: 100%;
    }
    .galleries-container .galleries-item .img {
        height: 260px;
    }
}

/* Trang /gallery — "Nhà máy của chúng tôi" (Figma 49:9919): nền trắng, tiêu đề trái, thẻ không viền, badge đè ảnh, địa chỉ + "Danh sách thiết bị" gradient */
.page-gallery .galleries-factory-container.sec-72 {
    padding: 72px 0;
    background: #fff;
}
.page-gallery .galleries-factory-container .main-title {
    text-align: left;
}
.page-gallery .galleries-factory-container .pt-detail-box-5-box {
    gap: 40px;
}
.page-gallery .galleries-factory-container .factory-item {
    border-radius: 16px;
    background: #fff;
    box-shadow: none;
}
.page-gallery .galleries-factory-container .factory-item .img {
    height: 224px;
    border-radius: 8px 8px 0 0;
}
.page-gallery .galleries-factory-container .factory-item .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-gallery .galleries-factory-container .factory-item .content {
    padding: 0 16px 16px;
    margin-top: 0;
    gap: 12px;
}
.page-gallery .galleries-factory-container .factory-item .content .icon {
    margin-top: -32px;
    padding: 16px;
    width: 68px;
    height: 68px;
    border-radius: 64px;
    background: linear-gradient(90deg, #285d2c, #a4c939);
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-gallery .galleries-factory-container .factory-item .content .icon img {
    width: 36px;
    height: 36px;
}
.page-gallery .galleries-factory-container .factory-item .content .title {
    font-family: var(--font-primary-semiBold);
    font-size: 20px;
    line-height: 28px;
    color: #121212;
}
.page-gallery .galleries-factory-container .factory-item .address {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    color: #121212;
    font-size: 16px;
    line-height: 24px;
}
.page-gallery .galleries-factory-container .factory-item .address img {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}
.page-gallery .galleries-factory-container .factory-item .content .desc {
    text-transform: uppercase;
    font-family: var(--font-primary-medium);
    font-size: 16px;
    line-height: 24px;
    background: linear-gradient(90deg, #285d2c, #a4c939);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    width: max-content;
}
.page-gallery .galleries-factory-container .pt-detail-box-5-carousel .owl-dots {
    margin-top: 24px;
}
.page-gallery .galleries-factory-container .pt-detail-box-5-carousel .owl-dot {
    width: 8px;
    height: 8px;
    border-radius: 6px;
    background: #bccdbe;
}
.page-gallery
    .galleries-factory-container
    .pt-detail-box-5-carousel
    .owl-dot.active {
    width: 37px;
    background: #066042;
}

/* Chứng nhận (Figma 49:10000): giống Hồ sơ năng lực — nền trắng → xám nhạt, thẻ có ô PDF xanh 64px */
.page-certification .investors-container {
    padding: 72px 0;
    background: linear-gradient(180deg, #fff 0%, #f5f5f7 100%);
}
.page-certification .company-file-list {
    gap: 40px;
}
.page-certification .company-file-list .main-title {
    text-align: left;
    text-transform: uppercase;
    color: #121212;
}
.page-certification .company-file-list .investors-list {
    gap: 16px;
}
.page-certification .investors-item {
    gap: 16px;
    padding: 12px 24px 12px 12px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    cursor: default;
    align-items: stretch;
}
.page-certification .investors-item .img.cert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 64px;
    padding: 16px;
    border-radius: 8px;
    background: #066042;
}
.page-certification .investors-item .img.cert-icon img {
    width: 40px;
    height: 40px;
}
.page-certification .investors-item .content {
    align-self: center;
    color: #121212;
    font-family: var(--font-primary-medium);
    font-size: 20px;
    line-height: 28px;
}
.page-certification .investors-item:hover .content {
    color: #066042;
}
.page-certification .investors-item .actions {
    align-self: center;
    border: 0;
}
.page-certification .investors-item .btn-down {
    display: flex;
    padding: 0;
    border: 0;
}
.page-certification .investors-item .btn-down img {
    width: 32px;
    height: 32px;
}

/* Công nghệ sản xuất (module manufacturing): danh sách trong nội dung soạn thảo — mỗi <li> có tick xanh,
   thay cho khối .list > .item + <img tick-cycle.svg> cũ (admin chỉ cần gõ gạch đầu dòng trong editor). */
.pt-detail-box-3-item .editor-content ul,
.pt-detail-content ul {
    list-style: none;
    padding-left: 0;
    margin: 0 0 16px;
}
.pt-detail-box-3-item .editor-content ul li,
.pt-detail-content ul li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 12px;
    text-align: justify;
}
.pt-detail-box-3-item .editor-content ul li::before,
.pt-detail-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: url("/themes/cnc-tech/images/icons/tick-cycle.svg") center /
        contain no-repeat;
}
.pt-detail-box-3-item .editor-content p {
    margin-bottom: 12px;
    text-align: justify;
}
.pt-detail-box-4-carousel .item .item-desc {
    margin-top: 8px;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: #434343;
}

/* Thanh quản trị frontend (admin bar, 32px) ⇒ đẩy header cố định xuống. */
.cms-adminbar-on .header-container,
.cms-adminbar-on .overlay-header,
.cms-adminbar-on .header-navigator {
    top: 32px;
}

/* Khối Bản đồ dịch vụ (cnc_services_map): ảnh nền tròn + dịch vụ xếp đều trên vòng tròn (vị trí --x/--y tính ở view).
   Kích thước theo bề ngang khung (cqw) ⇒ co giãn đúng tỉ lệ; nhãn là chữ HTML theo ngôn ngữ. */
.cnc-smap {
    container-type: inline-size;
    max-width: 880px;
    margin: 0 auto;
}

.cnc-smap-stage {
    position: relative;
    width: 62%;
    aspect-ratio: 1;
    margin: 13cqw auto 7cqw;
}

.cnc-smap-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cnc-smap-item {
    position: absolute;
    left: var(--x);
    top: var(--y);
    z-index: 2;
    width: 9cqw;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    text-decoration: none;
}

.cnc-smap-icon {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.cnc-smap-icon img {
    display: block;
    width: 100%;
    height: 100%;
}

.cnc-smap-label {
    position: absolute;
    bottom: calc(100% + 0.4cqw);
    left: 50%;
    width: max-content;
    max-width: 24cqw;
    padding: 0.8cqw 1.8cqw;
    border-radius: 999px;
    background: #f4f5f4;
    box-shadow: 0 0.6cqw 1.6cqw rgba(0, 0, 0, 0.14);
    color: #066042;
    font-family: var(--font-primary-bold);
    font-size: clamp(9px, 1.7cqw, 15px);
    line-height: 1.3;
    text-align: center;
    transform: translateX(-50%);
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.cnc-smap-label::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    border: 1cqw solid transparent;
    border-top-color: #f4f5f4;
    border-bottom: 0;
    transform: translateX(-50%);
    transition: border-color 0.3s ease;
}

.cnc-smap-item:hover .cnc-smap-icon,
.cnc-smap-item:focus-visible .cnc-smap-icon {
    box-shadow: 0 0.8cqw 2cqw rgba(6, 96, 66, 0.3);
    transform: scale(1.08);
}

.cnc-smap-item:hover .cnc-smap-label,
.cnc-smap-item:focus-visible .cnc-smap-label {
    background: #066042;
    color: #fff;
}

.cnc-smap-item:hover .cnc-smap-label::after,
.cnc-smap-item:focus-visible .cnc-smap-label::after {
    border-top-color: #066042;
}

/* Khung hẹp (điện thoại): giữ nguyên bố cục vòng tròn như PC (Figma 78:12254), chỉ thu nhỏ theo bề ngang khung;
   nhãn không được tràn/cắt nên tăng cỡ chữ tối thiểu và để nhãn rộng hơn một chút. */
@container (max-width: 575px) {
    .cnc-smap-stage {
        width: 64%;
        margin: 18cqw auto 12cqw;
    }

    .cnc-smap-label {
        max-width: 30cqw;
        padding: 1.2cqw 2.4cqw;
        font-size: max(8px, 2.4cqw);
        line-height: 1.25;
    }

    .cnc-smap-label::after {
        border-width: 1.6cqw;
    }
}

/* Font mặc định toàn trang: Nunito Sans (họ mona-sans-* trỏ tới file Nunito Sans). Rich-text từ editor hay mang font-family inline (vd tahoma) — ép về font kế thừa */
.desc [style*="font-family"],
.main-container [style*="font-family"],
.footer-container [style*="font-family"],
.header-container [style*="font-family"] {
    font-family: inherit !important;
}

/* Header cố định cao 112px (≥1400px, Figma 78:11639): main phải bắt đầu ngay dưới header, tránh header đè lên banner.
   1280–1399px header gọn hơn (logo 150px) nên giữ margin mặc định 96px; tablet 569–768px header cao 73px. */
@media (min-width: 1280px) {
    .main-container:not(:has(.main-home-container)) {
        margin-top: 112px;
    }
}
@media (min-width: 569px) and (max-width: 768px) {
    .main-container:not(:has(.main-home-container)) {
        margin-top: 73px;
    }
}

/* Hero trang Công nghệ sản xuất (Figma 78:11640): cao 680px, tiêu đề 48/56 cách đáy 32px; trang dịch vụ gia công (page-manufacturing-service) cũng tiêu đề 48/56 */
@media (min-width: 1025px) {
    .page-manufacturing .banner-item {
        height: 680px;
    }
    .page-manufacturing .banner-content .banner-title,
    .page-manufacturing-service .banner-content .banner-title {
        font-size: 48px;
        line-height: 56px;
    }
}

/* Footer – thanh thông tin (Figma 78:12681): SĐT/email/“follow us” không xuống dòng; địa chỉ tối đa 2 dòng, không dính icon mạng xã hội */
@media (min-width: 1025px) {
    .footer-first-inner .left {
        min-width: 0;
    }
    .footer-first-inner .left .item .content .desc,
    .item-follow-us .title {
        white-space: nowrap;
    }
    .footer-first-inner .right .content .desc {
        white-space: normal;
        max-width: 330px;
    }
    .footer-first-inner .right {
        flex-shrink: 0;
        margin-left: 32px;
    }
}

/* Footer laptop 1025–1399px (T-64): không đủ chỗ cho 1 hàng ⇒ xuống 2 hàng, không đè nhau.
   Hàng 1: SĐT / Email / Theo dõi dàn đều toàn chiều ngang; hàng 2: Google Map căn trái. */
@media (min-width: 1025px) and (max-width: 1399px) {
    .footer-first-inner {
        flex-wrap: wrap;
        row-gap: 16px;
    }
    .footer-first-inner .left {
        flex: 1 1 100%;
        justify-content: space-between;
        gap: 24px;
    }
    .footer-first-inner .right {
        width: 100%;
        margin-left: 0;
        justify-content: flex-start;
    }
    .footer-first-inner .right .content .desc {
        max-width: none;
    }
}

/* Footer – thanh thông tin trên mobile: mỗi item 1 dòng, căn trái, chữ được xuống dòng */
@media (max-width: 768px) {
    .footer-first-inner {
        align-items: stretch;
    }
    .footer-first-inner .left {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 16px;
        width: 100%;
    }
    .footer-first-inner .left .item,
    .footer-first-inner .right {
        width: 100%;
        margin: 0;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .footer-first-inner .right {
        flex-shrink: 1;
        gap: 16px;
    }
    .footer-first-inner .left .item .content,
    .footer-first-inner .right .content {
        align-items: flex-start;
        text-align: left;
        min-width: 0;
    }
    .footer-first-inner .left .item .content .desc,
    .footer-first-inner .right .content .desc,
    .item-follow-us .title {
        white-space: normal;
        max-width: none;
        overflow-wrap: anywhere;
        text-align: left;
    }
    .item-follow-us {
        justify-content: flex-start;
        flex-wrap: wrap;
        width: 100%;
    }
}

/* Triết lý kinh doanh (Figma 78:12207): viền + nhãn gradient #285D2C → #A4C939, chữ căn giữa 18/26 */
.node-introduction-detail .business-philosophy .items .item .item-container {
    border: 2px solid transparent;
    border-radius: 40px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(90deg, #285d2c, #a4c939) border-box;
}

.node-introduction-detail
    .business-philosophy
    .items
    .item
    .item-container
    .item-title {
    background: linear-gradient(90deg, #285d2c, #a4c939);
}

.node-introduction-detail
    .business-philosophy
    .items
    .item
    .item-container
    .item-content {
    border-radius: 28px;
    color: #121212;
    font-size: 18px;
    line-height: 26px;
}

.node-introduction-detail
    .business-philosophy
    .items
    .item
    .item-container
    .item-content
    p {
    max-width: 340px;
    margin: 0;
    text-align: center !important;
}

/* Mobile: Tầm nhìn – Sứ mệnh không trượt ngang, xếp 1 cột dọc hiển thị đủ các thẻ */
@media (max-width: 767px) {
    .vision-mission #vision-mission-items {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    .vision-mission #vision-mission-items .vision-mission-item {
        width: 100%;
    }
}

/* Mobile: Cột mốc phát triển – dòng mô tả xuống hàng, rộng hết khung (năm + chấm ở hàng trên) */
@media (max-width: 767px) {
    .cassiopeia-milestone-accordion .milestone-group-header {
        position: relative;
        gap: 12px;
        padding: 16px;
    }
    .cassiopeia-milestone-accordion .milestone-group-toggle {
        position: absolute;
        top: 16px;
        right: 16px;
    }
    .cassiopeia-milestone-accordion .milestone-group-header-main {
        gap: 8px 12px;
        align-items: center;
    }
    .cassiopeia-milestone-accordion .milestone-group-summary {
        flex: 0 0 100%;
        width: 100%;
    }
}

/* Khối số liệu giới thiệu (Figma 78:11651): khung 1200px, 3 cột 384px cách 24px, hàng cách 48px; icon 88px; số 24/32 #066042, nhãn 16/24 #5A5B5B */
.node-introduction-detail .main-items .items.items-icon {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 100px;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    justify-content: stretch;
}

.node-introduction-detail .main-items .items.items-icon .item {
    width: auto;
}

.node-introduction-detail .main-items .items.items-icon .item-container {
    align-items: center;
    gap: 24px;
}

.node-introduction-detail .main-items .items.items-icon .item-left {
    flex: none;
}

.node-introduction-detail .main-items .items.items-icon .item-left img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 105px;
    object-fit: contain;
}

.node-introduction-detail
    .main-items
    .items
    .item
    .item-container
    .item-right
    > div:first-child {
    margin-bottom: 0;
}

.node-introduction-detail .main-items .items.items-icon .item-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.node-introduction-detail
    .main-items
    .items.items-icon
    .item-right
    > div:first-child {
    margin: 0;
    color: #066042;
    font-size: 24px;
    line-height: 32px;
}

.node-introduction-detail
    .main-items
    .items.items-icon
    .item-right
    > div:last-child {
    font-size: 16px;
    line-height: 24px;
}

/* .img-responsive ép width 100% !important ở ≤768px ⇒ cần !important để giữ kích thước icon */
@media (max-width: 768px) {
    .node-introduction-detail .main-items .items.items-icon .item-left img {
        width: 88px !important;
        height: 88px !important;
    }
}

@media (max-width: 991px) {
    .node-introduction-detail .main-items .items.items-icon {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .node-introduction-detail .main-items .items.items-icon {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
        margin-left: 0;
        margin-right: 0;
    }
    .node-introduction-detail .main-items .items.items-icon .item-left img {
        width: 48px !important;
        height: 48px !important;
    }
    .node-introduction-detail .main-items .items.items-icon .item-container {
        align-items: center;
        gap: 12px;
    }
    .node-introduction-detail .main-items .items.items-icon .item-right {
        padding-bottom: 0;
        gap: 4px;
    }
    .node-introduction-detail
        .main-items
        .items.items-icon
        .item-right
        > div:first-child {
        font-size: 18px;
        line-height: 24px;
    }
    .node-introduction-detail
        .main-items
        .items.items-icon
        .item-right
        > div:last-child {
        font-size: 13px;
        line-height: 18px;
    }
}

/* Banner Về CNCTech (Figma 78:12731): chữ logo dùng Kardust Bold — font này chỉ nạp cho đúng chỗ này */
@font-face {
    font-family: "kardust-bold";
    src: url(../fonts/kardust/Kardust_Bold.otf);
    font-display: swap;
}

.cnc-about-hero .text-logo,
.cnc-about-hero .text-logo-copy {
    font-family: "kardust-bold", var(--font-primary-bold);
    font-weight: 400;
}

/* Desktop: slide cao 680px (ảnh cover), chữ logo nằm ở ~32% chiều cao như thiết kế */
@media (min-width: 1025px) {
    .cnc-about-hero .swiper-slide {
        height: 680px;
        overflow: hidden;
    }
    .cnc-about-hero .swiper-slide > img {
        height: 100%;
        object-fit: cover;
    }
    .cnc-about-hero .html-code {
        top: 106px;
    }
}

/* Home box 2 (Figma 78:13999): các thẻ cách nhau 16px, lề 32px hai bên ⇒ đường line (border-top #82AC35) đứt đoạn theo từng thẻ, không chạy liền sát mép */
@media (min-width: 1025px) {
    .home-box-2-content-list {
        box-sizing: border-box;
        gap: 16px;
        padding: 0 32px;
    }
}

/* Home box 2 (Figma 78:13999): panel ôm theo nội dung (đệm dưới 24px), vẫn sát đáy khối ảnh — thẻ ít dòng mô tả không bị thừa khoảng trống */
.home-box-2-content-list-item {
    justify-content: flex-end;
}

.home-box-2-content-list-item .second {
    flex: 0 0 auto;
}

/* Ban lãnh đạo (Figma 78:14000): khối trích dẫn cao 167px, chức vụ rộng 297px; bỏ chấm slider ở desktop (thiết kế chỉ có mũi tên + bộ đếm) */
@media (min-width: 769px) {
    .leader-item .leader-content .first {
        min-height: 166.9px;
    }
    .leader-item .leader-content .second {
        min-height: 74px;
    }
    .leader-item .leader-content .second .position {
        width: 297px;
        font-size: 16px;
        line-height: 24px;
    }
    .home-box-3 .leader-slider .owl-dots {
        display: none;
    }
}

/* Header cố định: trang ghép block không có .main-container (banner #main-slider / .cnc-page-hero) cũng phải bắt đầu ngay dưới header, không bị đè.
   Chiều cao header: ≥1280px 112px · 1025–1279px 81px · 569–1024px 73px · ≤568px không cố định. */
#main-slider {
    margin-top: 81px;
}
.region-content > .cnc-page-hero {
    margin-top: 81px;
}

@media (min-width: 1280px) {
    #main-slider,
    .region-content > .cnc-page-hero {
        margin-top: 112px;
    }
}

@media (min-width: 569px) and (max-width: 1024px) {
    #main-slider,
    .region-content > .cnc-page-hero {
        margin-top: 73px !important;
    } /* responsive.css đặt #main-slider margin-top: 0 ở ≤768px */
}

@media (max-width: 568px) {
    #main-slider,
    .region-content > .cnc-page-hero {
        margin-top: 0;
    }
}

/* Dải chứng nhận (Figma 78:14230): nền gradient #285D2C → #A4C939, py 32px; huy hiệu 120px trong vòng tròn trắng (padding 8px), cách nhau 64px */
.cnc-about-certs {
    padding: 32px 0;
    background: linear-gradient(90deg, #285d2c 0%, #a4c939 100%);
}

.cnc-about-certs-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 64px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cnc-about-certs-item a,
.cnc-about-certs-item > img {
    display: flex;
    box-sizing: content-box;
    padding: 8px;
    border-radius: 50%;
    background: #fff;
}

.cnc-about-certs-item img {
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

@media (max-width: 767px) {
    .cnc-about-certs {
        padding: 24px 0;
    }
    .cnc-about-certs-list {
        flex-wrap: nowrap;
        gap: 0;
        justify-content: flex-start;
    }
    .cnc-about-certs-item {
        width: 88px;
        flex: none;
    }
    .cnc-about-certs-item a,
    .cnc-about-certs-item > img {
        padding: 4px;
    }
    .cnc-about-certs-item img {
        width: 80px !important;
        height: 80px !important;
    }
}

/* Ban lãnh đạo – hàng trưởng nhóm (Figma 78:15670): danh xưng dòng riêng (hoa, thường); khung tiểu sử gap 48px, bóng nhẹ */

.menu-box-mangager.center .management-item-content .before-name {
    font-family: var(--font-primary-regular);
    text-transform: uppercase;
}

.menu-box-mangager.center .management-info-item {
    gap: 48px;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.15);
}

/* Ban lãnh đạo – thẻ trưởng nhóm: padding-left 75px trên desktop/tablet; mobile (≤768px) giữ như các thẻ khác */
@media (min-width: 769px) {
    .menu-box-mangager.center .management-item {
        padding-left: 75px;
        padding-right: 64px;
    }
}

/* Thiết bị & cơ sở vật chất (Figma 78:16143): chữ dưới ảnh (tiêu đề 20/28 đậm, mô tả 16/24 #616161, căn giữa) + nút gradient dưới khối */
.pt-detail-products-carousel .item .pt-product-caption {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    text-align: center;
}

.pt-product-caption-title {
    color: #121212;
    font-family: var(--font-primary-bold);
    font-size: 20px;
    line-height: 28px;
}

.pt-product-caption-desc {
    color: #616161;
    font-size: 16px;
    line-height: 24px;
}

.pt-detail-box-4-more {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pt-detail-box-4-more-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 32px;
    border-radius: 999px;
    background: linear-gradient(90deg, #285d2c 0%, #a4c939 100%);
    color: #fff !important;
    font-family: var(--font-primary-bold);
    font-size: 18px;
    line-height: 26px;
    text-decoration: none;
    text-align: center;
}

@media (max-width: 767px) {
    .pt-detail-box-4-more {
        margin-top: 24px;
    }
    .pt-detail-box-4-more-btn {
        font-size: 16px;
        line-height: 24px;
        padding: 10px 24px;
    }
}

/* Item có chữ dưới ảnh: bỏ khung tỉ lệ cố định (aspect-ratio 57/43 + overflow hidden làm cắt chữ); ảnh giữ tỉ lệ 57/43 (298×225) */
.pt-detail-box-4-product-content .item:has(.pt-product-caption) {
    aspect-ratio: auto;
    overflow: visible;
}

.pt-detail-box-4-product-content .item:has(.pt-product-caption) > img {
    width: 100%;
    height: auto;
    aspect-ratio: 57 / 43;
    border-radius: 8px;
}

/* Ảnh lớn + mô tả (pt-detail-box-14, Figma 78:18105): 4 mục đầu cùng một hàng (4 cột), từ mục thứ 5 trở đi 2 thẻ / hàng;
   thẻ: ảnh 640:352, phần chữ nền trắng (pt 16 / pb 32 / px 16), bóng 0 0 5px; danh sách chia 2 cột như thiết kế */
.pt-detail-box-14-list {
    gap: 40px 32px;
    align-items: stretch;
}

.pt-detail-box-14-list .pt-detail-box-14-item {
    width: calc((100% - 96px) / 4);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
}

.pt-detail-box-14-list .pt-detail-box-14-item:nth-child(n + 5) {
    width: calc(50% - 16px);
}

.pt-detail-box-14-list .pt-detail-box-14-item .img {
    aspect-ratio: 640 / 352;
}

.pt-detail-box-14-list .pt-detail-box-14-item .content {
    flex: 1;
    background: #fff;
    padding: 16px 16px 32px;
}

.pt-detail-box-14-list .pt-detail-box-14-item .content .desc ul {
    columns: 2;
    column-gap: 32px;
    margin: 0;
    padding-left: 24px;
}

.pt-detail-box-14-list .pt-detail-box-14-item .content .desc li {
    break-inside: avoid;
}

@media (max-width: 1024px) {
    .pt-detail-box-14-list .pt-detail-box-14-item,
    .pt-detail-box-14-list .pt-detail-box-14-item:nth-child(n + 5) {
        width: calc(50% - 16px);
    }
}

@media (max-width: 767px) {
    .pt-detail-box-14-list {
        gap: 24px;
    }
    .pt-detail-box-14-list .pt-detail-box-14-item,
    .pt-detail-box-14-list .pt-detail-box-14-item:nth-child(n + 5) {
        width: 100%;
    }
    .pt-detail-box-14-list .pt-detail-box-14-item .content .desc ul {
        columns: 1;
    }
}

/* Chi tiết đơn vị thành viên (Figma 78:19097) */
/* Nền: gradient xanh lá nhạt tắt về trong suốt tại 11.01% chiều cao */
.factory-detail-container {
    background: linear-gradient(
        180deg,
        rgba(135, 255, 144, 0.15) 0%,
        rgba(135, 255, 144, 0) 11.01%
    );
}

/* Tiêu đề khối (CNCTech Thăng Long, Vị trí): 32/40 */
.factory-detail-container .factory-detail-first .left .main-title,
.factory-detail-container .factory-detail-third .main-title {
    font-size: 32px;
    line-height: 40px;
}

.factory-detail-first {
    gap: 32px;
}

/* Tiêu đề phía trên khối thông số: 24px SemiBold #066042 */
.factory-detail-first .left .factory-info-title {
    color: #066042;
    font-family: var(--font-primary-semiBold);
    font-size: 24px;
    line-height: normal;
}

.factory-detail-first .left .list-info {
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);
}

/* Slider ảnh 731×530 */
.img-factory-list .owl-item .img {
    aspect-ratio: 731 / 530;
}

/* Bảng thông tin vị trí: bóng nhẹ, bo 8px; icon khoảng cách 32px */
.factory-detail-map .right {
    position: relative;
    z-index: 1;
    border-radius: 8px;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.15));
    background: #fff;
}

.factory-detail-map .list .item .icon img {
    width: 32px;
    height: 32px;
}

/* Dịch vụ của đơn vị: không có mô tả ⇒ tiêu đề nằm chính giữa */
.factory-detail-box-2-header.is-title-only {
    justify-content: center;
    text-align: center;
}

/* ── Quan hệ cổ đông: style riêng từng trang (class body `page-investor-<slug vi>` từ investor-category.blade.php) ── */

/* Báo cáo / Thông tin cổ phiếu / Quản trị doanh nghiệp: ẩn khối tiêu đề (tiêu đề + breadcrumb) trong hero overlay.
   Ẩn theo kiểu "chỉ dành cho trình đọc màn hình" để vẫn còn H1 cho SEO. */
.page-investor-bao-cao .cnc-page-hero.is-overlay .cnc-page-hero-title,
.page-investor-thong-tin-co-phieu
    .cnc-page-hero.is-overlay
    .cnc-page-hero-title,
.page-investor-quan-tri-cong-ty .cnc-page-hero.is-overlay .cnc-page-hero-title {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    background: none;
}

/* Đại hội đồng cổ đông (Figma 78:18609): tiêu đề nhóm đậm #121212 36/44, không đường kẻ dưới, cách danh sách 40px;
   dòng tài liệu: bóng 0 0 2px rgba(0,0,0,.1) */
.page-investor-dai-hoi-dong-co-dong
    .investors-container
    .time-line-box
    .main-title {
    color: var(--gray-9---body-text, #121212);
    font-family: var(--font-primary-bold); /* Nunito Sans Bold */
    font-size: 36px;
    font-style: normal;
    line-height: 44px; /* 122.222% */
    text-transform: uppercase;
    padding-bottom: 0;
    margin-bottom: 40px;
    border-bottom: 0;
}

/* Figma 78:18608: tiêu đề + danh sách cùng lề trái 112px, rộng 984px (khung 1320px) */
@media (min-width: 1280px) {
    .page-investor-dai-hoi-dong-co-dong .investors-container .time-line-box {
        margin-left: 112px;
        margin-right: 0;
        width: 984px;
        max-width: 984px;
    }
}

.page-investor-dai-hoi-dong-co-dong .investors-container .investors-item {
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.1);
}

/* Trang danh mục Quan hệ cổ đông có dải tab (VD Báo cáo thường niên | Báo cáo tài chính; Figma 78:18696):
   cách banner 64px, cách nội dung bên dưới 40px (trước đó tab dính sát tiêu đề năm) */
.page-investor-category .investors-container:has(.menu-list) {
    padding-top: 64px;
}

.page-investor-category .investors-container .menu-list {
    margin-bottom: 40px;
}

/* Phân trang tin tức: tối đa 4 số trang + nút Trước/Sau (khi hơn 4 trang); nút ở đầu/cuối danh sách mờ đi, không bấm được */
.news-pagination li.disabled span {
    opacity: 0.4;
    cursor: not-allowed;
}

.news-pagination li.news-pagination-prev a,
.news-pagination li.news-pagination-next a,
.news-pagination li.news-pagination-prev span,
.news-pagination li.news-pagination-next span {
    font-size: 12px;
}

/* Icon Play trên thumbnail video (Figma 78:20284): vòng + tam giác ĐEN, nền trong suốt, 50px chính giữa
   (trước: filter invert làm icon thành trắng). Dùng chung trang Video và khối Video ở trang chủ. */
.play-icon img {
    filter: none;
    width: 50px !important;
    height: 50px;
    object-fit: contain;
    border-radius: 50%;
    background: transparent;
    display: block;
}

/* Chi tiết tin: 2 cột — thân bài (hàng ngày + "Quay lại tin tức", nội dung, chia sẻ) | thẻ "TIN MỚI NHẤT" 6 bài */
.news-detail-layout {
    display: flex;
    align-items: flex-start;
    gap: 48px;
}

.news-detail-main {
    flex: 1;
    min-width: 0;
}

.news-detail-main .news-detail-content,
.news-detail-main .news-share {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.news-detail-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    color: #8c8c8c;
    font-size: 14px;
    line-height: 22px;
}

.news-detail-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.news-detail-date img {
    display: block;
}

.news-back {
    color: #434343;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}

.news-back:hover {
    color: #066042;
}

.news-latest {
    flex: none;
    width: 360px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.news-latest-title {
    padding: 12px 16px;
    background: linear-gradient(90deg, #285d2c 0%, #a4c939 100%);
    color: #fff;
    font-family: var(--font-primary-bold);
    font-size: 14px;
    line-height: 22px;
    text-transform: uppercase;
}

.news-latest-list {
    padding: 0 16px;
}

.news-latest-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
}

.news-latest-item:last-child {
    border-bottom: 0;
}

.news-latest-img {
    flex: none;
    width: 96px;
    height: 64px;
    border-radius: 4px;
    overflow: hidden;
    background: #eef0f4;
}

.news-latest-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-latest-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.news-latest-name {
    color: #121212;
    font-family: var(--font-primary-medium);
    font-size: 14px;
    line-height: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-latest-item:hover .news-latest-name {
    color: #066042;
}

.news-latest-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #8c8c8c;
    font-size: 12px;
    line-height: 18px;
}

@media (max-width: 991px) {
    .news-detail-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }
    .news-detail-main {
        width: 100%;
    }
    .news-latest {
        width: 100%;
    }
}

/* Nội dung bài viết: ảnh từ trình soạn thảo hay mang width/height cố định (style inline + thuộc tính) ⇒ luôn co theo khung,
   chiều cao tự tính theo tỉ lệ (không méo) */
.news-detail-content img,
.news-detail-content .img-responsive {
    max-width: 100% !important;
    height: auto !important;
}

/* Chia sẻ cuối bài (Figma 78:19542): "Chia sẻ bài viết:" 16/24 SemiBold + nút sao chép liên kết (vòng trắng, viền xanh nhạt) + Facebook đỏ, icon 36px cách nhau 8px */
.news-share .news-share-title {
    color: #121212;
    font-family: var(--font-primary-semiBold);
    font-size: 16px;
    line-height: 24px;
    white-space: nowrap;
}

.news-share .news-share-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-share .news-share-icons a {
    width: 36px;
    height: 36px;
    box-shadow: none;
}

.news-share .news-share-link {
    border: 1px solid rgba(113, 166, 78, 0.3);
    border-radius: 30px;
    background: #fff;
    box-sizing: border-box;
}

.news-share .news-share-fb img {
    display: block;
    width: 36px;
    height: 36px;
}

/* Chi tiết tin: liên kết "← Quay lại trang Tin tức" dưới khối chia sẻ */
.news-back-bottom {
    display: inline-block;
    margin-top: 24px;
    color: #066042;
    font-family: var(--font-primary-semiBold);
    font-size: 16px;
    line-height: 24px;
    text-decoration: none;
}

.news-back-bottom:hover {
    color: #285d2c;
    text-decoration: underline;
}

/* Bảng trong nội dung bài viết (Figma 78:19762): khung bo 12px viền #E6E6E6; hàng tiêu đề (th) nền gradient #285D2C → #A4C939 chữ trắng đậm 16/24;
   ô padding 14/20, chữ 15/24; hàng xen kẽ trắng / #F5F5F7; cột đầu rộng 300px, ngăn cách cột bằng đường dọc #E6E6E6 */
.news-detail-content table {
    width: 100%;
    margin: 24px 0;
    border: 1px solid #e6e6e6 !important;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.news-detail-content table th,
.news-detail-content table td {
    padding: 14px 20px;
    border: 0 !important;
    background: transparent;
    vertical-align: top;
    text-align: left !important;
    font-size: 15px;
    line-height: 24px;
}

.news-detail-content table th:first-child,
.news-detail-content table td:first-child {
    width: 300px;
}

.news-detail-content table td:first-child {
    border-right: 1px solid #e6e6e6 !important;
}

.news-detail-content table p {
    margin: 0;
    text-align: left !important;
}

.news-detail-content table tr:has(> th) {
    background: linear-gradient(90deg, #285d2c 0%, #a4c939 100%);
}

.news-detail-content table th,
.news-detail-content table th p {
    color: #fff;
    font-family: var(--font-primary-bold);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.news-detail-content table td,
.news-detail-content table td p {
    color: #333;
}

.news-detail-content table td strong,
.news-detail-content table td b {
    color: #121212;
    font-family: var(--font-primary-semiBold);
    font-weight: 400;
}

/* Có hàng tiêu đề: các hàng thân lẻ (3, 5…) nền xám; không có tiêu đề: hàng chẵn nền xám */
.news-detail-content table tr:has(> th) ~ tr:nth-child(odd) {
    background: #f5f5f7;
}
.news-detail-content table:not(:has(th)) tr:nth-child(even) {
    background: #f5f5f7;
}

@media (max-width: 767px) {
    .news-detail-content table th,
    .news-detail-content table td {
        padding: 10px 12px;
    }
    .news-detail-content table th:first-child,
    .news-detail-content table td:first-child {
        width: 38%;
    }
}

/* Chuyện nghề — carousel thẻ (Figma 78:20664): thẻ giữa 516px (ảnh 484×300), hai thẻ bên 387px nghiêng nhẹ sát hai mép khung 1320px,
   khoảng hở 15px; tiêu đề tối đa 388px; chấm phân trang đang chọn #066042 (37×8), cách thẻ 24px */
@media (min-width: 1100px) {
    .stories .stories-swiper .swiper-slide {
        padding: 0;
        background: transparent;
    }

    .stories .story-card {
        width: 387px;
        flex: none;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    }

    .stories .stories-swiper .swiper-slide-active .story-card {
        width: 516px;
        margin: 0 -38px;
        position: relative;
        z-index: 3;
        box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
    }

    .stories .stories-swiper .swiper-slide-prev .story-card {
        margin-right: auto;
        transform: perspective(1200px) rotateY(32deg) scale(0.96);
    }
    .stories .stories-swiper .swiper-slide-next .story-card {
        margin-left: auto;
        transform: perspective(1200px) rotateY(-32deg) scale(0.96);
    }
}

.stories .story-card__media {
    aspect-ratio: 484 / 300;
}
.stories .story-card__title {
    max-width: 388px;
}
.stories .stories-dots {
    margin-top: 24px;
}
.stories .stories-dots .swiper-pagination-bullet-active {
    background: #066042;
}

/* Thẻ nghiêng hai bên cao hơn khung: chỉ cắt theo chiều ngang, không cắt mép trên/dưới */
@media (min-width: 1100px) {
    .stories .container > .stories-carousel {
        overflow-x: clip;
        overflow-y: visible;
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

/* Chi tiết tuyển dụng — tiêu đề trong nội dung (h2, h3): Nunito Sans 600, màu #090C13; h2 20/28, h3 nhỏ hơn h2 2px (18/26) */
.career-detail-content .editor-content h2,
.career-detail-content .editor-content h3 {
    margin: 24px 0 8px;
    color: var(--Grey-9, #090c13);
    font-family: var(--font-primary-semiBold);
    font-style: normal;
    font-weight: 400; /* file font SemiBold đã khai báo weight thường — tránh in đậm chồng */
    text-transform: none;
}

.career-detail-content .editor-content h2 {
    font-size: 20px;
    line-height: 28px;
}
.career-detail-content .editor-content h3 {
    margin-top: 16px;
    font-size: 18px;
    line-height: 26px;
}
.career-detail-content .editor-content h2:first-child,
.career-detail-content .editor-content h3:first-child {
    margin-top: 0;
}

/* Hồ sơ năng lực (Figma 78:36035): khối tìm kiếm phía trên + tài liệu dạng thẻ lưới 4 cột.
   Khối search chỉ hiện ở /company-profile (block dùng chung với trang Chứng nhận) */
.docs-search {
    display: none;
}
.page-company-profile .investors-container {
    padding: 48px 0 72px;
    border-bottom: 1px solid #e4e4e4;
}
.page-company-profile .docs-search {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 72px;
}
.page-company-profile .docs-search__title {
    margin-bottom: 16px;
    color: #090c13;
    opacity: 0.9;
    font-family: var(--font-primary-bold);
    font-size: 24px;
    line-height: 32px;
}
.page-company-profile .docs-search__form {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 467px;
    max-width: 100%;
    padding: 8px 8px 8px 16px;
    border: 1px solid #bccdbe;
    border-radius: 32px;
    background: transparent;
    margin: 0;
}
.page-company-profile .docs-search__input {
    flex: 1 1 0;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #121212;
    font-family: var(--font-primary-regular);
    font-size: 16px;
    line-height: 24px;
    box-shadow: none;
}
.page-company-profile .docs-search__input::placeholder {
    color: #8c8c8c;
    opacity: 1;
}
.page-company-profile .docs-search__btn {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 24px;
    background: #e44119;
    cursor: pointer;
}
.page-company-profile .docs-search__desc {
    width: 446px;
    max-width: 100%;
    margin: 0;
    color: #494d59;
    font-size: 16px;
    line-height: 24px;
}
.page-company-profile .company-profile-inner {
    gap: 72px;
}
.page-company-profile .company-file-list .main-title {
    font-size: 36px;
    line-height: 44px;
}
.page-company-profile .company-file-list .investors-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 32px;
}
.page-company-profile .investors-item,
.page-company-profile #equipment_list .investors-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.page-company-profile .investors-item .img {
    width: 100%;
    height: auto;
    aspect-ratio: 308 / 386;
    overflow: hidden;
    border-radius: 16px;
    background: #f3f4f5;
}
.page-company-profile .investors-item .img img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-height: none;
    object-fit: cover;
    border-radius: 16px;
}
.page-company-profile .investors-item .img img[alt="file-icon"] {
    width: 64px !important;
    height: 64px !important;
    margin: 0 auto;
    object-fit: contain;
}
.page-company-profile .investors-item .content {
    width: 100%;
}
.page-company-profile .investors-item .content .title {
    display: block;
    color: #121212;
    font-family: var(--font-primary-bold);
    font-size: 22px;
    font-weight: 400;
    line-height: 30px;
}
.page-company-profile .investors-item .actions {
    display: none;
}
@media (max-width: 1199px) {
    .page-company-profile .company-file-list .investors-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 899px) {
    .page-company-profile .company-file-list .investors-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 16px;
    }
}
@media (max-width: 767px) {
    .page-company-profile .investors-container {
        padding: 32px 0 48px;
    }
    .page-company-profile .docs-search {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 40px;
    }
    .page-company-profile .docs-search__desc {
        width: 100%;
    }
    .page-company-profile .company-file-list .main-title {
        font-size: 26px;
        line-height: 34px;
    }
    .page-company-profile .investors-item .content .title {
        font-size: 16px;
        line-height: 24px;
    }
}
@media (max-width: 479px) {
    .page-company-profile .company-file-list .investors-list {
        grid-template-columns: 1fr;
    }
}
.page-company-profile .investors-container > .container {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}
.page-company-profile .investors-item .img img {
    object-fit: contain;
}
.page-company-profile .docs-search__box {
    min-width: 0;
    max-width: 100%;
}
@media (max-width: 767px) {
    .page-company-profile .docs-search__box {
        width: 100%;
    }
    .page-company-profile .docs-search__form {
        width: 100%;
    }
}

/* Trang album thư viện ảnh (Figma 78:35996): hàng thẻ danh mục (ảnh 420:336 + tên 18/26; thẻ chọn viền 4px + nền gradient #285D2C→#A4C939, chữ trắng)
   và lưới ảnh của danh mục đang chọn (thẻ 306×260 bo 16, cách nhau 32) */
.album-container {
    padding: 72px 0;
    background: linear-gradient(180deg, #fff 0%, #f5f5f7 100%);
}
.album-container .container {
    display: flex;
    flex-direction: column;
    gap: 72px;
}
.album-container .album-tabs {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.album-container .album-tab {
    flex: 0 1 182px; /* rộng tối đa ~182px (7 thẻ/hàng) — album ít danh mục không bị giãn to */
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    border: 4px solid transparent;
    border-radius: 16px;
    background: transparent;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
}
.album-container .album-tab__img {
    display: block;
    width: 100%;
    aspect-ratio: 420 / 336;
    border-radius: 16px;
    overflow: hidden;
}
.album-container .album-tab__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.album-container .album-tab__name {
    display: block;
    padding: 0 2px 8px;
    color: #121212;
    font-family: var(--font-primary-semiBold);
    font-size: 18px;
    line-height: 26px;
}
.album-container .album-tab.active {
    border-color: transparent;
    background: linear-gradient(90deg, #285d2c 0%, #a4c939 100%);
    background-origin: border-box;
}
.album-container .album-tab.active .album-tab__name {
    color: #fff;
}
.album-container .album-tab:not(.active):hover .album-tab__name {
    color: #066042;
}
.album-container .album-grid {
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
}
.album-container .album-grid.active {
    display: grid;
}
.album-container .album-photo {
    display: block;
    height: 260px;
    overflow: hidden;
    border-radius: 16px;
    background: #f3f4f5;
}
.album-container .album-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.album-container .album-photo:hover img {
    transform: scale(1.05);
}
@media (max-width: 1023px) {
    .album-container .container {
        gap: 40px;
    }
    .album-container .album-tabs {
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: thin;
    }
    .album-container .album-tab {
        flex: 0 0 150px;
    }
    .album-container .album-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
    .album-container .album-photo {
        height: auto;
        aspect-ratio: 306 / 260;
    }
}
@media (max-width: 767px) {
    .album-container {
        padding: 40px 0;
    }
    .album-container .album-tab {
        flex-basis: 120px;
    }
    .album-container .album-tab__name {
        font-size: 14px;
        line-height: 20px;
    }
    .album-container .album-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

/* Trang Danh sách thiết bị (Figma 78:36056): tab công nghệ + carousel thiết bị (4 thẻ), dưới là danh sách file PDF dạng hàng */
.page-equipment-list .region-content {
    background: linear-gradient(180deg, #fff 0%, #f5f5f7 100%);
}
.page-equipment-list .equip-tabs {
    padding: 72px 0 0;
}
.page-equipment-list .investors-container {
    padding: 72px 0;
    background: transparent;
    border-bottom: 1px solid #e4e4e4;
}
.page-equipment-list .investors-container > .container {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}
.equip-card {
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.equip-card__head {
    display: flex;
}
.equip-tab {
    flex: 1 1 0;
    min-width: 0;
    height: 88px;
    padding: 0 16px;
    border: 0;
    border-right: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
    color: #121212;
    font-family: var(--font-primary-medium, var(--font-primary-regular));
    font-size: 18px;
    line-height: 26px;
    cursor: pointer;
    transition: color 0.2s;
}
.equip-tab:last-child {
    border-right: 0;
}
.equip-tab:hover {
    color: #066042;
}
.equip-tab.active {
    border-color: transparent;
    background: linear-gradient(90deg, #285d2c 0%, #a4c939 100%);
    color: #fff;
}
.equip-card__body {
    position: relative;
    padding: 40px;
}
.equip-panel {
    display: none;
}
.equip-panel.active {
    display: block;
}
.equip-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: auto;
    text-align: center;
}
.equip-item__img {
    height: 225px;
    overflow: hidden;
    border-radius: 8px;
    background: #f3f4f5;
}
.equip-item__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.equip-item__title {
    color: #121212;
    font-family: var(--font-primary-bold);
    font-size: 20px;
    line-height: 28px;
}
.equip-item__desc {
    margin: -8px 0 0;
    color: #616161;
    font-size: 16px;
    line-height: 24px;
}
.equip-arrow {
    position: absolute;
    top: 152px;
    z-index: 2;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.equip-arrow--prev {
    left: 8px;
}
.equip-arrow--next {
    right: 8px;
}
.equip-arrow:hover svg circle {
    fill: #eaefea;
}
.page-equipment-list .company-file-list {
    gap: 0;
}
.page-equipment-list .company-file-list .main-title {
    display: none;
}
.page-equipment-list .company-file-list .investors-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.page-equipment-list .investors-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 24px 12px 12px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    cursor: default;
}
.page-equipment-list .investors-item .img {
    flex: none;
    width: 48px;
}
.page-equipment-list .investors-item .img:empty {
    display: none;
}
.page-equipment-list .investors-item .img img {
    display: block;
    width: 48px !important;
    height: auto;
}
.page-equipment-list .investors-item .content {
    flex: 1 1 0;
    min-width: 0;
}
.page-equipment-list .investors-item .content .title {
    color: #121212;
    font-family: var(--font-primary-medium, var(--font-primary-regular));
    font-size: 20px;
    line-height: 28px;
}
.page-equipment-list .investors-item .actions img {
    width: 32px;
    height: 32px;
}
@media (max-width: 1023px) {
    .page-equipment-list .equip-tabs {
        padding-top: 40px;
    }
    .equip-card__body {
        padding: 24px 20px;
    }
    .equip-arrow--prev {
        left: 0;
    }
    .equip-arrow--next {
        right: 0;
    }
    .equip-arrow {
        top: 120px;
        width: 40px;
        height: 40px;
    }
    .equip-arrow svg {
        width: 40px;
        height: 40px;
    }
}
@media (max-width: 767px) {
    .equip-card__head {
        overflow-x: auto;
    }
    .equip-tab {
        flex: 0 0 120px;
        height: 64px;
        font-size: 15px;
    }
    .equip-item__img {
        height: 200px;
    }
    .page-equipment-list .investors-container {
        padding: 40px 0;
    }
    .page-equipment-list .investors-item .content .title {
        font-size: 16px;
        line-height: 24px;
    }
}

/* Tầm nhìn – Sứ mệnh: ảnh luôn height 100% khung (responsive.css ép .img-responsive height:auto!important ở ≤768px) */
.vision-mission-img img.img-responsive {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

/* Slide ban lãnh đạo: hiệu ứng fade (Owl animateOut/animateIn) */
@keyframes cncFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes cncFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
.leader-slider .owl-animated-in {
    z-index: 0;
}
.leader-slider .owl-animated-out {
    z-index: 1;
}
.leader-slider .fadeIn {
    animation-name: cncFadeIn;
}
.leader-slider .fadeOut {
    animation-name: cncFadeOut;
}
.leader-slider .animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

/* Popup video: nút đóng × trắng, nền trong suốt, không viền (đặt góc trên phải video) */
#videoModal .modal-content {
    position: relative;
    overflow: visible;
    background: transparent;
    border: 0;
}
#videoModal .close {
    position: absolute;
    z-index: 5;
    top: 8px;
    right: 12px;
    color: #fff;
    opacity: 0.85;
    text-shadow: none;
    font-size: 28px;
    background: transparent;
    border: 0;
    cursor: pointer;
}
#videoModal .close:hover,
#videoModal .close:focus {
    opacity: 1;
    outline: 0;
}

/* Quy trình (pt-detail-box-4-first): icon bước luôn max-width 50px, kể cả mobile (responsive.css ép .img-responsive width 100% !important ở ≤768px) */
.pt-detail-box-4-first .item .content > img.img-responsive {
    width: auto !important;
    max-width: 50px !important;
    height: auto !important;
}

/* Cột mốc TRANG CHỦ (body.page-manufacturing) — chấm nhóm (Figma 78:11901 mặc định, 78:12114 khi mở); trang Lịch sử giữ kiểu ban đầu: vòng 28px viền 1px, lõi tròn 20px;
   viền #066042 + lõi gradient #285D2C → #A4C939; nhóm đang mở GIỮ NGUYÊN như mặc định (kể cả chữ năm) */
.page-manufacturing .cassiopeia-milestone-accordion .milestone-group-dot {
    box-sizing: border-box;
    width: 28px;
    height: 28px;
    padding: 3px;
    border: 1px solid #066042;
    border-radius: 50%;
    background: linear-gradient(90deg, #285d2c 0%, #a4c939 100%);
    background-clip: content-box;
    transition:
        border-color 0.25s ease,
        background 0.25s ease;
}
.page-manufacturing
    .cassiopeia-milestone-accordion
    .milestone-group.is-disabled
    .milestone-group-dot {
    border-color: #8c8c8c;
    background: #8c8c8c;
    background-clip: content-box;
    outline: 0;
}

/* Màu chữ từ RichEditor (Filament lưu <span class="color" style="--color:#…">) — hiển thị ở frontend */
span.color[style*="--color"] {
    color: var(--color);
}

/* Cột mốc — chấm + năm theo trạng thái (Figma 78:11901 mặc định / 78:12113 active):
   mọi nhóm (đóng hoặc mở): năm #066042 + chấm xanh gradient.
   Chỉ trang chủ (body.page-manufacturing): nhóm CUỐI luôn mang giao diện active (cam), kể cả khi đang đóng. */
.page-manufacturing
    .cassiopeia-milestone-accordion
    .milestone-group:last-child:not(.is-disabled)
    .milestone-group-range {
    color: #f26b21;
}
.page-manufacturing
    .cassiopeia-milestone-accordion
    .milestone-group:last-child:not(.is-disabled)
    .milestone-group-dot {
    border-color: #f26b21;
    outline: 0;
    background: #f26b21;
    background-clip: content-box;
}

/* Mốc timeline (năm / tháng-năm như "11-2026"): luôn 1 dòng để đường nét đứt nối liền các chấm */
.time-line-item,
.history-item {
    white-space: nowrap;
}
.time-line-item > span,
.history-item > span {
    white-space: nowrap;
}

/* Nút "Gửi thông tin" form ứng tuyển (Figma 78:20584): pill đỏ #E44119, padding 12/8/12/24, gap 12, chữ 16/24 hoa; icon mũi tên tròn trắng 30px bên phải */
.form-career .btn-get-advice {
    height: auto;
    padding: 12px 8px 12px 24px;
    gap: 12px;
    border-radius: 40px;
    background: #e44119;
    font-family: var(--font-primary-medium);
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
    white-space: nowrap;
}
.form-career .btn-get-advice::after {
    content: "";
    flex: none;
    z-index: 1;
    width: 30px;
    height: 30px;
    background: url("/themes/cnc-tech/images/icons/cta-arrow-circle.svg")
        center / 50px 50px no-repeat;
}

/* Danh sách ngôn ngữ ở header: chữ lấy màu text của trang (#121212), không dùng xanh link mặc định của thẻ <a> */
.header-language-item a,
.header-language-item a:visited {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--gray-9---body-text);
    text-decoration: none;
}
.header-language-item a:hover {
    color: var(--Foundation-Green-green-500);
    text-decoration: none;
}

/* Tab Giải thưởng (Figma 78:14833): bỏ border-bottom của tab, gạch chân active là ::before tuyệt đối (gradient #285D2C → #A4C939, 2px, đè lên đường kẻ #D8D8D8 của khung);
   ::after là vạch ngăn dọc 1px × 20px màu #D8D8D8 giữa các tab; chữ active #066042, thường rgba(38,38,38,.8) */
.award-menu-item {
    border-bottom: 0;
}
.award-menu-item::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, #285d2c 0%, #a4c939 100%);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}
.award-menu-item.active::before,
.award-menu-item:hover::before {
    opacity: 1;
    transform: scaleX(1);
}
.award-menu-item:not(:last-child)::after {
    top: 0;
    right: -32px;
    width: 1px;
    height: 20px;
    background: #d8d8d8;
}
.award-menu-item.active,
.award-menu-item:hover {
    color: #066042;
    border-color: transparent;
}

/* Câu chuyện khách hàng (Figma 78:15762): các thẻ trong owl slider luôn cao bằng nhau (owl-stage flex, thẻ cao 100%), bo góc 8px, tác giả dính đáy thẻ */
.customer-slider .owl-stage {
    display: flex;
}
.customer-slider .owl-item {
    display: flex;
    float: none;
}
.customer-slider .owl-item > .customer-item {
    height: auto;
    min-height: 100%;
    flex: 1 1 auto;
    border-radius: 8px;
}
.customer-slider .customer-item .info {
    margin-top: auto;
}

/* Nội dung dạng "Thẻ thông số" (Figma 78:16493): mỗi <p> là một thẻ nền xanh nhạt rgba(101,235,119,.1), cao tối thiểu 88px, padding 16/32, cách nhau 16px;
   chữ 20/28 #066042, nhãn (strong) đậm. Chọn ở admin: block "Ảnh + tiêu đề + nội dung" → mục → "Kiểu nội dung" = Thẻ thông số. */
.pt-detail-box-3-item .editor-content.is-specs p {
    display: flex;
    align-items: center;
    min-height: 88px;
    margin: 0 0 16px;
    padding: 16px 32px;
    background: rgba(101, 235, 119, 0.1);
    color: #066042;
    text-align: left;
    font-size: 20px;
    line-height: 28px;
}
.pt-detail-box-3-item .editor-content.is-specs p:last-child {
    margin-bottom: 0;
}
.pt-detail-box-3-item .editor-content.is-specs p strong {
    font-family: var(--font-primary-bold);
    font-weight: 400;
    color: inherit;
    margin-right: 0.3em;
}
@media (max-width: 767px) {
    .pt-detail-box-3-item .editor-content.is-specs p {
        padding: 12px 16px;
        min-height: 64px;
        font-size: 16px;
        line-height: 24px;
    }
}

/* Banner trang Lĩnh vực kinh doanh (body.page-business): tiêu đề luôn viết hoa (ghi đè luật "chữ thường" chung cho trang con) */
body.page-business .banner-content .banner-title {
    text-transform: uppercase;
}

/* Tiêu đề slider "Sản phẩm" (block cnc_mt_product_slider): 32px / 40px theo Figma (không kế thừa main-title 36/44) */
.pt-detail-box-11-box-first-header .main-title {
    font-size: 32px;
    line-height: 40px;
}

/* Khối giới thiệu dưới banner: giãn dòng TƯƠNG ĐỐI (số không đơn vị ⇒ mỗi cỡ chữ tự co theo, kể cả span 28px bên trong) — mô tả 1.4, dòng tiêu đề (chữ cỡ lớn trong span) 1.3, đoạn <p> rỗng giữa tiêu đề và mô tả tạo khoảng đệm 8px */
.pt-detail-box-1 .pt-detail-content p:has(span[style*="font-size"]),
.pt-detail-box-12 .pt-detail-content p:has(span[style*="font-size"]) {
    line-height: 1.3;
}
.pt-detail-box-1 .pt-detail-content p:empty,
.pt-detail-box-12 .pt-detail-content p:empty {
    min-height: 8px;
}

/* Link "Danh sách thiết bị" trong nội dung soạn thảo (Figma 78:17683): chữ hoa 16/24 Medium, chữ tô gradient #285D2C → #A4C939, không gạch chân.
   Áp cho đoạn chỉ chứa một link (p > a:only-child) trong khối Ảnh + tiêu đề + nội dung; chữ lồng bên trong (strong, span màu) cũng theo gradient. */
.pt-detail-box-3-item .editor-content p > a:only-child {
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    text-align: left;
    font-family: var(--font-primary-medium);
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    background: linear-gradient(90deg, #285d2c 0%, #a4c939 100%);
    -webkit-background-clip: text;
    background-clip: text;
}
.pt-detail-box-3-item .editor-content p > a:only-child,
.pt-detail-box-3-item .editor-content p > a:only-child * {
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-weight: 400;
    text-decoration: none;
}

/* Ảnh mục "Kiểu hiển thị ảnh = Hiển thị đủ ảnh" (is-natural): bỏ khung ngang 629×384, ảnh giữ tỉ lệ gốc (ảnh dọc/ảnh ghép không bị cắt), rộng tối đa 532px (Figma 532×1055) */
.pt-detail-box-3-item .img.is-natural {
    width: 532px;
    max-width: 100%;
    flex-shrink: 0;
    aspect-ratio: auto;
}
.pt-detail-box-3-item .img.is-natural img {
    height: auto;
    object-fit: contain;
    display: block;
}

/* ESG – tab "Cam kết các bên liên quan" (T-71): ≥1025px luôn 3 thẻ/hàng (trước: 3×30% + 2×64px > container ⇒ rớt 2 cột dưới ~1400px).
   Lưới 3 cột đều, khe cột co theo bề ngang; thẻ cao tối thiểu 498px (nội dung dài tự cao thêm). */
@media (min-width: 1025px) {
    .esg-box-5-inner {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 72px clamp(24px, 3.4vw, 64px);
    }
    .esg-box-5-item {
        width: auto;
        height: auto;
        min-height: 498px;
    }
}

/* Tuyển dụng – career-box-3 (T-73): 1025–1399px ảnh + cột chữ chia 2 cột co theo khung, ảnh/nền xanh không tràn đè chữ */
@media (min-width: 1025px) and (max-width: 1399px) {
    .career-box-3-item {
        width: 100%;
    }
    .career-box-3-item .desc {
        width: auto;
        flex: 1 1 0;
        min-width: 0;
    }
    .career-box-3-item .img {
        flex: 1 1 0;
        min-width: 0;
    }
    .career-box-3-item .img img {
        width: 100%;
        height: auto;
        aspect-ratio: 629 / 385;
        object-fit: cover;
    }
    .career-box-3-item .img::after {
        width: calc(100% - 66px);
        height: 91%;
    }
}

/* Chi tiết tin – hàng ngày + "Quay lại tin tức" (T-82): chữ 12/16, icon lịch 12px, "Quay lại" xanh #066042, đường kẻ mảnh phía dưới */
.news-detail-meta {
    font-size: 15px;
    line-height: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e6e6e6;
}
.news-detail-date {
    gap: 6px;
}
.news-detail-date img {
    width: 16px;
    height: 16px;
}
.news-back {
    color: #066042;
    font-family: "mona-sans-semiBold";
    font-size: 15px;
    line-height: 22px;
}
.news-back:hover {
    color: #285d2c;
    text-decoration: underline;
}

/* Bản đồ cơ sở: màn laptop — khối .right luôn hiện đủ (không bị co/cắt), .left co lại hiển thị phần còn lại */
.factory-detail-map .left {
    min-width: 0;
}
.factory-detail-map .left iframe,
.factory-detail-map .left img {
    width: 100%;
    max-width: 100%;
}
.factory-detail-map .right {
    flex: 0 0 420px;
    box-sizing: border-box;
    min-width: 0;
}
.factory-detail-map .list {
    width: 100%;
}
.factory-detail-map .list .item {
    width: 100%;
    height: auto;
    min-height: 88px;
    box-sizing: border-box;
}
.factory-detail-map .list .item .content {
    min-width: 0;
}

/* Chuyện nghề — laptop (1100–1500px): khung hẹp hơn 1320px nên bề rộng thẻ tính theo % bề rộng slide
   (thẻ bên 88%, thẻ giữa 117%, tỉ lệ đúng Figma 387/516 trên 440) để các thẻ không đè lên nhau */
@media (min-width: 1100px) and (max-width: 1500px) {
    .stories .story-card {
        width: 88%;
        max-width: 387px;
    }
    .stories .stories-swiper .swiper-slide-active .story-card {
        width: 117%;
        max-width: 516px;
        margin: 0 -8.5%;
    }
    .stories .story-card__title {
        max-width: 100%;
    }
}

/* Liên kết "← Quay lại…" (Figma 78:19514): mũi tên dùng font hệ thống (mona-sans không có glyph ←), liên kết bên dưới 16/24 #066042;
   nút sao chép liên kết căn giữa icon 16px trong vòng 36px */
.news-back-arrow {
    display: block;
    flex: none;
    width: 16px;
    height: 16px;
}
.news-back-bottom {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.news-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.news-share .news-share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ── Responsive laptop/tablet/mobile: chống tràn ngang (kiểm 1440 → 375px) ── */
/* Ảnh trong nội dung không vượt khung */
.partners-box-first img {
    max-width: 100%;
    height: auto;
}

/* Lịch sử phát triển: cột năm sticky nằm dưới header cố định (~125px) + khoảng thở, không bị header che. */
.cassiopeia-milestone-accordion .history-right {
    top: 160px;
}
.cms-adminbar-on .cassiopeia-milestone-accordion .history-right {
    top: 192px;
}

/* Lịch sử phát triển: cột trái co được để cột mốc bên phải không tràn */
.history-left,
.award-left {
    min-width: 0;
    flex-shrink: 1;
}
.history-left img {
    max-width: 100%;
    height: auto;
}

/* Khối nhà máy: tiêu đề + mô tả (box-2) và hàng thông tin + slider */
@media (max-width: 1399px) {
    .factory-detail-box-2-header {
        width: 100%;
        gap: 24px;
    }
    .factory-detail-box-2-header .desc {
        width: min(610px, 50%);
    }
    .factory-detail-first .right {
        width: min(731px, 50%);
        flex: none;
        min-width: 0;
    }
    .factory-detail-first .left {
        min-width: 0;
    }
}
@media (max-width: 991px) {
    .factory-detail-first {
        flex-direction: column;
    }
    .factory-detail-first .right {
        width: 100%;
    }
    .factory-detail-first .left {
        padding-right: 0;
        width: 100%;
    }
    .factory-detail-box-2-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .factory-detail-box-2-header .desc {
        width: 100%;
    }
    .factory-detail-box-2-header.is-title-only {
        align-items: center;
    }
}

/* Mạng lưới hoạt động: bản đồ + danh sách văn phòng xếp dọc khi hẹp */
@media (max-width: 1199px) {
    .network-of-operations-inner {
        flex-direction: column;
    }
    .network-of-operations-left {
        width: 100%;
        margin-top: 0;
    }
    .network-of-operations-left img {
        max-width: 100%;
        height: auto;
    }
    .network-of-operations-right {
        width: 100%;
        min-width: 0;
    }
}

/* Happy CNCers (khối 5) và các trang công nghệ sản xuất: cột xếp dọc khi hẹp */
@media (max-width: 991px) {
    .happy-cncersbox-5-inner {
        flex-direction: column;
        gap: 32px;
    }
    .happy-cncersbox-5-left {
        padding-right: 0;
        width: 100%;
    }
    .happy-cncersbox-5-inner .right {
        width: 100%;
    }
    .happy-cncersbox-5-inner .right img {
        max-width: 100%;
        height: auto;
    }
    .production-technology-inner .left {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        flex: none;
    }
    .production-technology-inner .left .desc {
        width: 100%;
        max-width: 100%;
    }
    .production-technology-inner .right {
        width: 100%;
    }
}

/* Tầm nhìn – sứ mệnh: các thẻ tự xuống dòng */
@media (max-width: 1199px) {
    .vision-mission .items {
        flex-wrap: wrap;
    }
    .vision-mission .items .vision-mission-item {
        width: calc(50% - 15px);
        min-width: 280px;
        flex: 1 1 calc(50% - 15px);
    }
}
@media (max-width: 767px) {
    .vision-mission .items .vision-mission-item {
        width: 100%;
        flex: 1 1 100%;
    }
}

/* Giải thưởng: lưới ảnh 2 cột trên mobile */
@media (max-width: 575px) {
    .award-img-list {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 12px;
    }
    .award-img-item,
    .award-img-item.first {
        grid-column: span 1;
        grid-row: auto;
        aspect-ratio: 4 / 3;
    }
    .award-img-item.first {
        grid-column: span 2;
    }
}

/* Ảnh chèn trong nội dung soạn thảo (p/desc) không vượt khung */
.region-content p img,
.production-technology-inner .desc img {
    max-width: 100%;
    height: auto;
}

/* Tuyển dụng (khối 3): ảnh + chữ xếp dọc, ảnh nền xanh nhạt theo bề rộng ảnh */
@media (max-width: 991px) {
    .career-box-3-item {
        flex-direction: column !important;
        align-items: stretch;
        gap: 36px;
    }
    .career-box-3-item .desc {
        padding: 0 !important;
    }
    .career-box-3-item .img {
        width: 100%;
        flex: none;
    }
    .career-box-3-item .img img {
        width: 100%;
        height: auto;
        aspect-ratio: 629 / 385;
    }
    .career-box-3-item .img::after {
        width: 90%;
        height: 90%;
    }
    .career-box-3-item .desc {
        width: 100%;
    }
}

/* Thẻ sự kiện (Happy CNCers): 2 nút "Đăng ký tham gia" / "Chi tiết" luôn 1 dòng — màn hẹp giảm cỡ chữ và padding */
.event-item-content .action .btn-register-event,
.event-item-content .action .btn-border-red {
    white-space: nowrap;
    padding-top: 0;
    padding-bottom: 0;
}
@media (max-width: 1440px) {
    .event-item-content .action .btn-register-event,
    .event-item-content .action .btn-border-red {
        font-size: 14px;
        line-height: 20px;
        padding-left: 12px;
        padding-right: 12px;
    }
}
@media (max-width: 991px) and (min-width: 569px) {
    .event-item-content .action .btn-register-event,
    .event-item-content .action .btn-border-red {
        font-size: 13px;
        line-height: 18px;
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* Thẻ sự kiện: 2 nút luôn cùng cỡ chữ, padding, chiều cao, viền (đồng bộ ở mọi độ rộng) */
.event-item-content .action .btn-register-event,
.event-item-content .action .btn-border-red {
    box-sizing: border-box;
    height: 44px;
    border: 1px solid transparent;
    padding-top: 0;
    padding-bottom: 0;
}
.event-item-content .action .btn-register-event {
    border-color: #e44119;
}
@media (max-width: 568px) {
    .event-item-content .action {
        height: 40px;
    }
    .event-item-content .action .btn-register-event,
    .event-item-content .action .btn-border-red {
        height: 40px;
    }
}

/* Bảng thông số — block cnc_mt_table (Figma 78:16064 "Machine Capabilities & Tolerances") */
.pt-detail-table-box.sec-72 {
    padding-bottom: 0;
}
.pt-detail-table-box .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.pt-detail-table-box-title {
    color: var(--gray-9---body-text);
    font-family: var(--font-primary-bold);
    font-size: 32px;
    line-height: 40px;
    text-transform: uppercase;
    text-align: center;
}
.pt-detail-table-wrap {
    width: 100%;
    padding: 1px;
    border-radius: 16px;
    background: linear-gradient(90deg, #285d2c 0%, #a4c939 100%);
}
.pt-detail-table-wrap > .pt-detail-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    background: var(--White);
    border-radius: 15px;
    overflow: hidden;
}
.pt-detail-table thead tr {
    background: linear-gradient(90deg, #285d2c 0%, #a4c939 100%);
}
.pt-detail-table thead th {
    padding: 20px 24px;
    background: transparent;
    color: var(--White);
    font-family: var(--font-primary-semiBold);
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    vertical-align: middle;
}
.pt-detail-table th + th,
.pt-detail-table td + td {
    border-left: 1px solid var(--gray-4---stroke);
}
.pt-detail-table thead th + th {
    border-left-color: rgba(255, 255, 255, 0.3);
}
.pt-detail-table tbody td {
    padding: 14px 24px;
    color: var(--gray-9---body-text);
    font-family: var(--font-primary-regular);
    font-size: 16px;
    line-height: 28px;
    vertical-align: middle;
    text-align: left;
    border-top: 1px solid var(--gray-4---stroke);
}
.pt-detail-table tbody tr:first-child td {
    border-top: 0;
}
.pt-detail-table tbody tr:nth-child(even) td {
    background: var(--bg-1);
}
.pt-detail-table .editor-content p {
    margin: 0;
}
.pt-detail-table .editor-content ul,
.pt-detail-table .editor-content ol {
    margin: 0;
    padding-left: 20px;
}
@media (max-width: 991px) {
    .pt-detail-table-box .container {
        gap: 24px;
    }
    .pt-detail-table-box-title {
        font-size: 24px;
        line-height: 32px;
    }
    .pt-detail-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .pt-detail-table-wrap > .pt-detail-table {
        min-width: 900px;
    }
    .pt-detail-table thead th {
        padding: 16px;
        font-size: 15px;
        line-height: 24px;
    }
    .pt-detail-table tbody td {
        padding: 12px 16px;
        font-size: 15px;
        line-height: 24px;
    }
}

/* Nhà máy trang dịch vụ: logo của đơn vị thành viên trong vòng tròn trắng (thay icon gradient mặc định) */
.pt-detail-box-5 .factory-item .content .icon.has-logo {
    width: 64px;
    height: 64px;
    padding: 10px;
    justify-content: center;
    background: var(--White);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.pt-detail-box-5 .factory-item .content .icon.has-logo img {
    width: 100%;
    height: 100%;
    max-width: 44px;
    max-height: 44px;
    object-fit: contain;
}

/* Form Đăng ký nhận thông tin (home-box-6): thông báo gửi thành công / lỗi trên nền ảnh xanh */
.form-newsletter .newsletter-message {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 16px;
    line-height: 24px;
    color: var(--White);
}
.form-newsletter .newsletter-message.is-success {
    background: rgba(41, 94, 48, 0.85);
    border: 1px solid #a4c939;
}
.form-newsletter .newsletter-message.is-error {
    background: rgba(228, 65, 25, 0.85);
    border: 1px solid #e44119;
}
.form-newsletter > .newsletter-message + div {
    margin-top: -16px;
}
.home-box-6#newsletter {
    scroll-margin-top: 120px;
}
/* T-86 Nút .btn.btn-color-red: .btn:hover của Bootstrap làm nền trong suốt, chữ trắng biến mất; giữ nền đỏ ở mọi trạng thái */
.btn.btn-color-red,
.btn.btn-color-red:hover,
.btn.btn-color-red:focus,
.btn.btn-color-red:active {
    background-color: var(--Foundation-Red-red-500);
    color: var(--White) !important;
    border-color: transparent;
}
/* T-87 Thi đua yêu nước (mobile): section cao theo nội dung, không còn bị cắt chữ; lớp phủ tối cho chữ trắng dễ đọc */
@media (max-width: 767px) {
    .happy-cncers-box-4 {
        position: relative;
        overflow: hidden;
    }
    .happy-cncersbox-4-bg {
        position: absolute;
        inset: 0;
        height: 100%;
    }
    .happy-cncersbox-4-bg::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
    }
    .happy-cncers-box-4 .container {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        padding-top: 32px;
        padding-bottom: 32px;
    }
    .happy-cncersbox-4-content,
    .happy-cncersbox-4-item {
        width: 100%;
    }
    .happy-cncersbox-4-item .desc {
        text-align: left;
    }
}

/* T-88 Popup góp ý (mobile): không dính mép trên/bị thanh trên cùng che header và nút X */
@media (max-width: 767px) {
    .form-gop-y-modal .modal-dialog {
        height: auto;
        margin: 56px auto 16px;
    }
}

/* T-89 Chế tạo khuôn mẫu (mobile): khối màu kéo hết bề ngang (thẻ xếp cột nhưng content bị co theo chữ) */
@media (max-width: 768px) {
    .pt-detail-box-3-item {
        align-items: stretch;
    }
    .pt-detail-box-3-item .content,
    .pt-detail-box-3-item:nth-child(even) .content {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}

/* T-90 Tab sản phẩm (mobile): tab ít thì dàn đều hết khung, nhiều thì vẫn cuộn ngang (css trang đang đặt flex: unset) */
@media (max-width: 568px) {
    .pt-detail-box-4-product .pt-detail-box-4-product-menu .item {
        flex: 1 0 auto;
    }
}

/* T-103 Trang chủ, khối Dịch vụ: khoảng cách theo Figma (Dịch vụ 40/80; khối lãnh đạo phía trên padding-bottom 40) */
.home-box-3.sec-72:has(+ .cnc-services-map) { padding-bottom: 40px; }
.cnc-services-map.sec-72 { padding-top: 40px; padding-bottom: 80px; }

/* Banner mọi trang ≤568px: chiều cao theo ảnh/video (auto), không ép height cố định.
   Trừ 2 trang trang chủ: body.page-manufacturing ("/") và body.page-home ("/vi/home") giữ nguyên CSS cũ. */
@media (max-width: 568px) {
  body:not(.page-manufacturing):not(.page-home) .main-slider-content .swiper-slide,
  body:not(.page-manufacturing):not(.page-home) #main-slider .cassiopeia-swiper,
  body:not(.page-manufacturing):not(.page-home) .banner-item,
  body:not(.page-manufacturing):not(.page-home) .banner-item.banner-news-details,
  body:not(.page-manufacturing):not(.page-home) .banner-news-details,
  body:not(.page-manufacturing):not(.page-home) .cnc-page-hero .cnc-page-hero-swiper,
  body:not(.page-manufacturing):not(.page-home) .cnc-page-hero.is-overlay .cnc-page-hero-swiper { height: auto !important; }
  body:not(.page-manufacturing):not(.page-home) .main-slider-content .swiper-slide img,
  body:not(.page-manufacturing):not(.page-home) .banner-item > img:not(.mobile),
  body:not(.page-manufacturing):not(.page-home) .banner-item > video.video-banner,
  body:not(.page-manufacturing):not(.page-home) .cnc-page-hero .cnc-page-hero-swiper .swiper-slide img { height: auto !important; object-fit: initial; }
}

.home-box-3.sec-72:has(+ .cnc-services-map) {
    padding-bottom: 40px;
}
.cnc-services-map.sec-72 {
    padding-top: 40px;
    padding-bottom: 80px;
}

/* Thanh chủ đề tin tức (trang chuyên mục): slider Swiper + mũi tên trái/phải. Đường kẻ dưới + khoảng cách chuyển ra
   khung ngoài; mũi tên tự ẩn khi đủ chỗ hiển thị hết (Swiper khoá ⇒ .swiper-button-lock). */
.news-filter-chips-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-bottom: 30px;
    padding-bottom: 12px;
    border-bottom: 1px solid #d8d8d8;
}
.news-filter-chips-wrap .news-filter-chips {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
}
.news-filter-chips-wrap .news-chip.swiper-slide {
    width: auto;
    flex-shrink: 0;
    background: transparent; /* style.css đặt nền trắng cho mọi .swiper-slide */
}
.news-chips-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #bccdbe;
    border-radius: 50%;
    background: #fff;
    color: #066042;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.news-chips-arrow:hover {
    background: #066042;
    border-color: #066042;
    color: #fff;
}
.news-chips-arrow.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}
.news-chips-arrow.swiper-button-lock {
    display: none;
}

/* Lịch sử phát triển: cột mốc năm (.history-right, sticky) leo theo khi cuộn — overflow: hidden của khung nhóm
   chặn sticky ⇒ dùng clip (vẫn cắt theo bo góc nhưng không tạo vùng cuộn riêng). */
.cassiopeia-milestone-accordion .milestone-group {
    overflow: clip;
}

/* Chuyện nghề: cả khối ảnh bấm được để mở video */
.stories .story-card__media.has-video {
    cursor: pointer;
}

/* Captcha ảnh (partials/captcha-field): hàng 1 ảnh + nút làm mới, hàng 2 ô nhập mã */
.form-item-captcha .captcha-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.form-item-captcha .captcha-img {
    flex: 0 0 auto;
    width: 160px;
    height: 48px;
    object-fit: cover;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}
.form-item-captcha .captcha-refresh {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #bccdbe;
    border-radius: 50%;
    background: #fff;
    color: #066042;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}
.form-item-captcha .captcha-refresh:hover {
    background: #066042;
    border-color: #066042;
    color: #fff;
}
