﻿
.banner {
    height: 590px;
    align-self: stretch;
    background: var(--base-white, #fff);
}

.banner-image {
    height: 590px;
    flex-shrink: 0;
    background: url("../themes/VNVC/images/thumbs/banner_home_vnvc.webp") lightgray 50% / cover no-repeat;
}

.banner-group {
    max-width: 1488px;
    padding: 0 24px;
    height: 100%;
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
}
/* Mobile banner */
.bannermobile {
    display: none;
    background: var(--base-white, #fff);
}

/* Toggle PC/Mobile banner */
@media (max-width: 767.98px) {
    .banner {
        display: none;
    }

    .title-three {
        max-width: 100%;
        font-size: 14px;
    }
}

.section-head--tagline::after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    top: 0px;
    border-top: 2px dotted rgba(11, 75, 179, .55);
    z-index: 0;
}

.section-head--tagline .section-tag {
    position: absolute;
    left: 5px;
    top: 0px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 56px;
    padding: 0 14px 0 0;
    background: #0B4BB3;
    border-radius: 0 0 10px 10px;
    color: #fff;
    white-space: nowrap;
}

.section-head--tagline {
    max-width: 1440px;
    margin: 0 auto 14px;
    position: relative;
    height: 40px;
}

/* =========================
   SECTION TAGLINE - TABLET (<= 991.98px)
   ========================= */
@media (max-width: 991.98px) {
    .section-head--tagline {
        height: 44px; /* đủ không gian cho tag nhỏ hơn */
        margin: 0 auto 12px;
    }

        .section-head--tagline::after {
            left: 16px;
            right: 16px;
        }

        .section-head--tagline .section-tag {
            left: 5px;
            height: 44px;
            gap: 8px;
            padding: 0 12px 0 0;
        }
}

/* =========================
   SECTION TAGLINE - MOBILE (<= 575.98px)
   ========================= */
@media (max-width: 575.98px) {
    .text-20 {
        font-size: 14px;
    }

    .text-24 {
        font-size: 16px;
    }
    .section-head--tagline {
        padding: 0 12px;
        height: 40px;
        margin: 0 auto 10px;
    }

        .section-head--tagline::after {
            left: 12px;
            right: 12px;
        }

        .section-head--tagline .section-tag {
            left: 5px;
            height: 40px;
            gap: 6px;
            padding: 0 10px 0 0;
            max-width: calc(100% - 24px); /* tránh tràn */
            overflow: hidden;
        }
}

.section-tag {
    background: #0B4BB3;
    border-radius: 10px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 56px;
    white-space: nowrap;
}

.section-tag__icon {
    width: 46px;
    height: 46px;
    object-fit: contain;
    display: block;
}

.section-tag__text {
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .2px;
}

/* =========================
   SECTION TAGLINE - TABLET (<= 991.98px)
   ========================= */
@media (max-width: 991.98px) {

    .section-tag {
        left: 16px;
        height: 44px;
        gap: 8px;
        padding: 0 12px 0 0;
    }

    .section-tag__icon-box {
        width: 44px;
        height: 44px;
    }

    .section-tag__icon {
        width: 34px;
        height: 34px;
    }

    .section-tag__text {
    }
}

/* =========================
   SECTION TAGLINE - MOBILE (<= 575.98px)
   ========================= */
@media (max-width: 575.98px) {

    .section-tag {
        left: 12px;
        height: 40px;
        gap: 6px;
        padding: 0 10px 0 0;
        max-width: calc(100% - 24px); /* tránh tràn */
        overflow: hidden;
    }

    .section-tag__icon-box {
        width: 40px;
        height: 40px;
    }

    .section-tag__icon {
        width: 30px;
        height: 30px;
    }

    .section-tag__text {
        line-height: 1;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}

.job-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .job-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    }

.job-card__title {
    color: #333;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-card__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #0f172a;
    font-size: 15px;
    margin-bottom: 16px;
}

.job-card__row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 14px;
    color: #000000;
}

    .job-card__row:last-child {
        margin-bottom: 0;
    }

.job-card__icon {
    font-size: 16px;
    flex-shrink: 0;
}

.job-card__text {
    color: #000000;
    line-height: 1.4;
}

.job-card__btn {
    width: 30%;
    padding: 5px 10px;
    background: #0066CC;
    color: #fff;
    border-radius: 25px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
    margin-left: auto;
}

    .job-card__btn:hover {
        background: #0052A3;
        color: #fff;
    }

.job-card__btn-yellow {
    width: 30%;
    padding: 5px 10px;
    background: #f2a23a;
    color: #fff;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}

    .job-card__btn-yellow:hover {
        background: #ffac46;
        color: #fff;
    }

.btn-xem-them {
    max-width: 150px;
    background: #f2a23a;
    color: #fff;
    font-weight: 900;
    border-radius: 999px;
    padding: 5px 20px;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.5px;
}

    .btn-xem-them:hover {
        background: #ffac46;
        color: #fff;
    }
/* Carousel Indicators */
.carousel-indicators {
    position: relative;
    margin-top: 30px;
    margin-bottom: 0;
    bottom: auto;
}

    .carousel-indicators [data-target] {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: #ddd;
        border: none;
        opacity: 1;
        margin: 0 4px;
        cursor: pointer;
    }

    .carousel-indicators .active {
        background-color: #333;
    }

/* Responsive */
@media (max-width: 991px) {
    .job-card__title {
    }

    .job-card__btn {
        width: 70%;
    }

    .job-card__btn-yellow {
        width: 70%;
    }
}

@media (max-width: 767px) {
    .job-card {
        padding: 16px;
    }

    .job-card__btn {
        width: 100%;
    }

    .job-card__btn-yellow {
        width: 100%;
    }

    .job-card__title {
        min-height: auto;
    }
}

.section-content {
    background: #f3f6fb;
    border-radius: 16px;
    padding: 18px 18px;
    margin-bottom: 18px;
    width: 100%;
}

.text-blue-title {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.2px;
    color: #0B4BB3;
    text-transform: uppercase;
}

.m-h-50 {
    min-height: 50px;
}
/* Container */
.select2-container {
    height: 44px !important;
}

/* Single select */
.select2-container--default .select2-selection--single {
    height: 44px;
    border-radius: 20px;
    border: none !important;
    background: #ffffff !important;
    padding: 0 16px;
    display: flex;
    align-items: center;
}

    /* Text */
    .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
        color: #6b7280;
        line-height: 44px;
        padding-left: 0;
        padding-right: 28px;
    }

    /* Arrow */
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
        height: 44px;
        right: 12px;
    }

/* Focus */
.select2-container--focus .select2-selection--single {
    outline: none;
    box-shadow: none;
}

/* Remove default background overlay */
.select2-container--default
.select2-selection--single::after {
    display: none;
}

.col-lg-5 {
    flex: 0 0 20%;
    max-width: 20%;
}

@media (max-width: 991px) {
    .col-lg-5 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .col-lg-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.card-title {
    color: var(--slate-900, #0f172a);
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    line-height: 36px;
}

.card {
    display: flex;
    padding: 20px 24px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #034EA208;
    border-radius: 18px;
    overflow: hidden;
    margin: 10px;
}

.recruitment__card-icon {
    height: 96px;
}

.card-subtitle,
.card-title {
    color: #034EA2;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
}

.card-body {
    color: #000000;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
}

.card-blue {
    background: #0B4BB3;
    border-radius: 18px;
    color: #FFFFFF;
    padding: 20px;
    margin: 10px;
    text-align: left;
}

.recruit-warning {
    position: relative;
    background: #fdecec;
    border-radius: 16px;
    padding: 24px 20px 20px;
    height: 100%;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

    .recruit-warning ul {
        padding-left: 18px;
        list-style-position: inside;
        text-align: center;
    }

    .recruit-warning li {
        margin-bottom: 4px;
    }

.warning-icon {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 40px;
    height: 40px;
    background: #e92020;
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile banner */
.bannermobile {
    display: none;
    background: var(--base-white, #fff);
}

/* Toggle PC/Mobile banner */
@media (max-width: 767.98px) {
    .title-three {
        max-width: 100%;
        font-size: 14px;
    }
}

.newjob-home__more {
    display: flex;
    justify-content: flex-end; /* nút cam canh phải như ảnh */
    margin-top: 18px;
}

.newjob-home__btn-more {
    background: #f2a23a;
    color: #fff;
    font-weight: 900;
    border-radius: 999px;
    padding: 12px 26px;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.custom-check {
    position: relative;
}

    .custom-check .form-check-input {
        width: 20px;
        height: 20px;
        margin-top: 0.15rem;
        border: 2px solid #0d5bd7;
        border-radius: 4px;
        appearance: none;
        -webkit-appearance: none;
        outline: none;
        cursor: pointer;
    }

        .custom-check .form-check-input:checked {
            background-color: #0d5bd7;
        }

            .custom-check .form-check-input:checked::after {
                content: '';
                position: absolute;
                left: 6px;
                top: 2px;
                width: 6px;
                height: 12px;
                border: solid #fff;
                border-width: 0 2px 2px 0;
                transform: rotate(45deg);
            }

    .custom-check .form-check-label {
        margin-left: 8px;
        cursor: pointer;
    }

.achievement-enviroment {
    padding: 20px 18px;
    max-width: 100%;
    margin-bottom: 20px;
    background: #034EA2;
    border-radius: 40px;
    overflow: hidden;
    padding: 40px 90px 36px;
    box-sizing: border-box;
}

.achievement__title {
    line-height: 1.1;
    letter-spacing: 0;
    text-align: center;
    color: #fff;
    margin: 0 0 22px 0;
}

.achievement__subtitle {
    line-height: 1.1;
    letter-spacing: 0;
    text-align: center;
    color: #fff;
    margin: 22px 0 22px 0;
}

.pic-achievement {
    width: 100%;
    max-width: 1440px;
    height: auto;
    display: block;
    border-radius: 32px;
    overflow: hidden;
    margin: 0 auto 18px;
    object-fit: cover;
    align-content: center;
    justify-content: center;
}

.r-img {
    margin-left: -6px;
    margin-right: -6px;
}

    .r-img > [class^="col-"] {
        padding: 6px;
    }

    .r-img img {
        width: 100%;
        display: block;
    }

.achievement__content {
    line-height: 1.5;
    letter-spacing: 0;
    text-align: justify;
    color: #fff;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .achievement-enviroment {
        padding: 32px 40px 28px;
    }

    .achievement__title {
    }

    .achievement__content {
    }
}

@media (max-width: 767px) {
    .achievement-enviroment {
        padding: 24px 16px 20px;
        border-radius: 24px;
    }

    .achievement__title {
    }

    .achievement__content {
        text-align: left;
    }

    .pic-achievement {
        border-radius: 16px;
    }
}

.achievement__content {
    line-height: 1.5; /* bỏ "benefits" */
}

@media (max-width: 1024px) {
    .pic-achievement {
        height: auto !important;
        object-fit: contain; /* không cắt ảnh */
    }

    fb-link {
        height: 60px;
    }

    .fb-text {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    f
    .pic-achievement {
        height: auto !important;
        object-fit: contain; /* không cắt ảnh */
        border-radius: 16px;
        display: block;
    }
}

.section-head--tagline::after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    top: 0px;
    border-top: 2px dotted rgba(11, 75, 179, .55);
    z-index: 0;
}

.section-head--tagline .section-tag {
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 56px;
    padding: 0 14px 0 0;
    background: #0B4BB3;
    border-radius: 0 0 10px 10px;
    color: #fff;
    white-space: nowrap;
}

.section-tag__icon-box {
    width: 56px;
    height: 56px;
    border-radius: 0 0 10px 10px;
    background: #F59E0B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.section-tag__icon {
    width: 46px;
    height: 46px;
    object-fit: contain;
    display: block;
}

.section-tag__text {
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .2px;
}

.section-head--tagline {
    max-width: 1440px;
    margin: 0 auto 14px;
    padding: 0 24px;
    position: relative;
    height: 40px;
}

/* =========================
   SECTION TAGLINE - TABLET (<= 991.98px)
   ========================= */
@media (max-width: 991.98px) {
    .section-head--tagline {
        padding: 0 16px;
        height: 44px; /* đủ không gian cho tag nhỏ hơn */
        margin: 0 auto 12px;
    }

        .section-head--tagline::after {
            left: 16px;
            right: 16px;
        }

        .section-head--tagline .section-tag {
            left: 16px;
            height: 44px;
            gap: 8px;
            padding: 0 12px 0 0;
        }

    .section-tag__icon-box {
        width: 44px;
        height: 44px;
    }

    .section-tag__icon {
        width: 34px;
        height: 34px;
    }

    .section-tag__text {
    }
}

/* =========================
   SECTION TAGLINE - MOBILE (<= 575.98px)
   ========================= */
@media (max-width: 575.98px) {
    .section-head--tagline {
        padding: 0 12px;
        height: 40px;
        margin: 0 auto 10px;
    }

        .section-head--tagline::after {
            left: 12px;
            right: 12px;
        }

        .section-head--tagline .section-tag {
            left: 12px;
            height: 40px;
            gap: 6px;
            padding: 0 10px 0 0;
            max-width: calc(100% - 24px); /* tránh tràn */
            overflow: hidden;
        }

    .section-tag__icon-box {
        width: 40px;
        height: 40px;
    }

    .section-tag__icon {
        width: 30px;
        height: 30px;
    }

    .section-tag__text {
        line-height: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.benefits--compact {
    padding: 0 24px 40px;
}

.benefits__inner--grid {
    max-width: 1440px;
    margin: 0 auto;
}

.benefits__grid--lines {
    background: #F8FAFC;
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(12, minmax(0,1fr));
    gap: 0 !important;
}

.benefit-card {
    grid-column: span 4;
    padding: 36px 28px;
    text-align: center;
    background: transparent !important;
    border-radius: 0 !important;
    border-right: 2px dashed rgba(11,75,179,.25);
    border-bottom: 2px dashed rgba(11,75,179,.25);
}

.benefit-card-edu {
    grid-column: span 8;
    padding: 36px 28px;
    text-align: center;
    background: transparent !important;
    border-radius: 0 !important;
    border-bottom: none;
    border-right: none;
}

.benefits__grid--lines > .benefit-card:nth-child(3) {
    border-right: none;
}

.benefits__grid--lines > .benefit-card:nth-child(4) {
    border-bottom: none;
}

/* icon */
.benefit-card__icon img {
    width: 86px;
    height: 86px;
    object-fit: contain;
    display: block;
    margin: 0 auto 12px;
}

/* title */
.benefit-card__title {
    line-height: 1.15;
    color: #1f2a44;
    text-transform: uppercase;
    margin: 8px 0 10px;
}

/* text */
.benefit-card__text {
    font-size: 16px;
    line-height: 1.6;
    color: #0f172a;
    max-width: 360px;
    margin: 0 auto;
}

/* span-8 text */
.benefit-card-edu .benefit-card__text {
    max-width: 720px;
}

/* responsive */
@media (max-width: 991.98px) {
    .benefits__grid--lines {
        grid-template-columns: repeat(12, minmax(0,1fr));
    }

    .benefit-card {
        grid-column: span 6;
        border-right: none;
    }

    .benefit-card-edu {
        grid-column: span 12;
    }

    /* kẻ ngang cho list dọc */
    .benefit-card {
        border-bottom: 2px dashed rgba(11,75,179,.25);
    }

    .benefits__grid--lines > .benefit-card:last-of-type {
        border-bottom: none;
    }
}

@media (max-width: 767.98px) {
    .benefit-card, .benefit-card-edu {
        grid-column: span 12;
        padding: 26px 16px;
    }

    .benefit-card__icon img {
        width: 72px;
        height: 72px;
    }

    .benefit-card__title {
    }

    .benefit-card__text {
        font-size: 14px;
    }
}

.intro {
    max-width: 1440px;
    margin: 0 auto;
    background: #fff;
    border: 0;
    border-radius: 0;
    height: auto;
    justify-content: center;
    align-items: center;
}

.intro-grid {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

.intro-box {
    grid-column: span 4;
    padding: 0;
    background: transparent !important;
    text-align: left;
    justify-items: center;
}

.intro-box2 {
    grid-column: span 6;
    padding: 0;
    background: transparent !important;
    text-align: center;
    font-size: 20px;
    justify-items: center;
}

.intro-box3 {
    grid-column: span 12;
    padding: 0;
    background: transparent !important;
    text-align: left;
    justify-items: center;
}

.intro-box4 {
    grid-column: span 3;
    padding: 0;
    background: transparent !important;
    text-align: left;
    justify-items: center;
}

.intro-box5 {
    grid-column: span 6;
    padding: 0;
    background: transparent !important;
    text-align: left;
    justify-items: center;
}

.intro-box img {
    width: 100%;
    height: 261px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    justify-items: center;
}

.intro-box2 img {
    width: 100%;
    height: 381px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    justify-items: center;
}

.intro-box3 img {
    width: 100%;
    height: 626px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    justify-items: center;
}

.intro-box4 img {
    width: 100%;
    height: 207px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    justify-items: center;
}

.intro-box5 img {
    width: 100%;
    height: 207px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    justify-items: center;
}

.intro__content {
    max-width: 1440px;
    margin: 0 auto 20px;
    font-size: 20px;
    text-align: justify;
    font-weight: 400;
}

    .intro__content p {
        margin-bottom: 20px;
        line-height: 1.2;
    }

        .intro__content p:last-child {
            margin-bottom: 0;
        }

    .intro__content .highlight {
    }

.intro-box3 p {
    font-size: 20px;
    text-align: justify;
    font-weight: 400;
    line-height: 1.2;
}

.intro-tag {
    max-width: 1440px;
    overflow: hidden;
    box-sizing: border-box;
    color: #034EA2;
    padding-top:20px;
}

    .intro-tag p {
        display: block;
        font-weight: 700;
        font-size: 40px;
        line-height: 1.2;
    }
/* =========================
   MOBILE (<= 767.98px)
   ========================= */
@media (max-width: 767.98px) {

    .intro,
    .intro-grid,
    .intro__content,
    .intro-tag {
        max-width: 100%;
    }

    .intro {
        padding: 0 12px 16px;
    }

    .intro-grid {
        padding: 0 12px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .intro-box,
    .intro-box2,
    .intro-box3,
    .intro-box4,
    .intro-box5 {
        grid-column: 1 / -1;
        text-align: left;
    }

        .intro-box img,
        .intro-box2 img,
        .intro-box3 img,
        .intro-box4 img,
        .intro-box5 img {
            width: 100%;
            height: auto !important;
            object-fit: contain;
            border-radius: 12px;
            display: block;
        }

    .intro__content {
        padding: 12px 12px;
        font-size: 16px;
        margin: 0 auto 12px;
    }

        .intro__content p {
        }

    .intro-tag {
        padding: 12px 12px;
        margin: 0 auto 12px;
        border-radius: 20px;
    }

        .intro-tag p {
            font-size: 22px;
            line-height: 1.1;
        }
}

/* Wrapper: 2 cột, line đè lên giữa */
.formation {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 180px;
}

/* 2 cột */
.formation__col {
    display: flex;
    flex-direction: column;
    gap: 34px;
    z-index: 1; /* nằm dưới line */
}

.formation__col--left .year-block {
    text-align: right;
}

.formation__col--right .year-block {
    text-align: left;
}

.formation__line {
    position: absolute;
    left: 49%;
    top: 0;
    transform: translateX(-50%);
    width: 122px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

    .formation__line img {
        width: 122px;
        height: 100%;
        display: block;
        object-fit: contain;
    }

/* Card năm */
.year-block {
    position: relative;
    width: 100%;
    padding: 10px 0;
}

    .year-block year {
        height: 30px;
    }
/* Badge chung */
.year-block__badge__col-left {
    position: absolute;
    top: 4px;
    z-index: 6;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-weight: 900;
    font-size: 48px;
    line-height: 1;
    color: #0B4BB3;
}

    .year-block__badge__col-left p {
        margin: 0;
    }

.year-block__badge__col-right {
    position: absolute;
    top: 0px;
    z-index: 6;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-weight: 900;
    font-size: 48px;
    line-height: 1;
    color: #0B4BB3;
}

    .year-block__badge__col-right p {
        margin: 0;
    }

.year-block-2018__badge__col-right {
    position: absolute;
    top: 240px;
    z-index: 6;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-weight: 900;
    font-size: 48px;
    line-height: 1;
    color: #0B4BB3;
}

    .year-block-2018__badge__col-right p {
        margin: 0;
    }

/* Badge bám sát line (đẩy ra ngoài card) */
.formation__col--left .year-block__badge__col-left {
    right: -70px;
}

.formation__col--right .year-block__badge__col-right {
    left: -70px;
}

.formation__col--right .year-block-2018__badge__col-right {
    left: -70px;
}

/* ===== 2017 overlay text trên ảnh ===== */
.year-2017 .year-block__media {
    position: relative;
    display: block;
    width: 100%;
}

    .year-2017 .year-block__media > img {
        width: 100%;
        height: auto;
        display: block;
    }

/* content nằm góc trên-phải của year-block__media */
.year-2017 .year-block__content-left {
    position: absolute;
    top: 0px;
    right: 0px;
    padding-right: 0;
    z-index: 2;
}

/* Box text */
.year-2017 .content-year-2017 {
    width: 316px;
    text-align: right;
    padding-right: 10px;
    position: relative;
}

    .year-2017 .content-year-2017::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        width: 5px;
        background: #034EA24D;
        border-radius: 4px;
    }

/* Title/desc 2017 */
.year-2017 .year-block__title {
    margin: 0;
   
    line-height: 1.1;
    color: #0f172a;
    text-transform: uppercase;
}

.year-2017 .year-block__desc {
    margin: 6px 0 0;
   
    line-height: 1.25;
    color: #0f172a;
    max-width: 316px;
    padding-bottom: 25px;
}

/* ===== 2019  ===== */
.year-2019 .year-block__media {
    position: relative;
    display: block;
    width: 100%;
    height: 430px;
}

    .year-2019 .year-block__media > img {
        width: 100%;
        height: auto;
        display: block;
        position: absolute;
        left: 0;
        bottom: -20px;
    }

/* content nằm góc trên-phải của year-block__media */
.year-2019 .year-block__content-left {
    position: absolute;
    height: 1040px top: 0px;
    right: 0px;
    padding-right: 0;
    z-index: 2;
}

/* Box text */
.year-2019 .content-year-2019 {
    width: 400px;
    text-align: right;
    padding-right: 10px;
    position: relative;
}

    .year-2019 .content-year-2019::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        width: 5px;
        background: #034EA24D;
        border-radius: 4px;
    }

/* Title/desc 2019 */
.year-2019 .year-block__title {
    margin: 0;
   
    line-height: 1.1;
    color: #0f172a;
    text-transform: uppercase;
}

.year-2019 .year-block__desc {
    margin: 6px 0 0;
   
    line-height: 1.25;
    color: #0f172a;
    padding-bottom: 25px;
}
/* ===== 2019  ===== */

/* ===== 2021  ===== */
.year-2021 .year-block__media {
    position: relative;
    display: block;
    width: 100%;
    height: 600px;
}

    .year-2021 .year-block__media > img {
        width: 100%;
        height: auto;
        display: block;
        position: absolute;
        left: 0;
        bottom: -20px;
    }

/* content nằm góc trên-phải của year-block__media */
.year-2021 .year-block__content-left {
    position: absolute;
    height: 1040px top: 0px;
    right: 0px;
    padding-right: 0;
    z-index: 2;
}

/* Box text */
.year-2021 .content-year-2021 {
    width: 585px;
    text-align: right;
    padding-right: 10px;
    position: relative;
}

    .year-2021 .content-year-2021::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        width: 5px;
        background: #034EA24D;
        border-radius: 4px;
    }

/* Title/desc 2021 */
.year-2021 .year-block__title {
    margin: 0;
   
    line-height: 1.1;
    color: #0f172a;
    text-transform: uppercase;
}

.year-2021 .year-block__desc {
    margin: 6px 0 0;
   
    line-height: 1.25;
    color: #0f172a;
    padding-bottom: 25px;
}
/* ===== 2021  ===== */

/* ===== 2023  ===== */
.year-2023 .year-block__media {
    position: relative;
    display: block;
    width: 100%;
    height: 680px;
}

    .year-2023 .year-block__media > img {
        width: 100%;
        height: auto;
        display: block;
        position: absolute;
        left: 0;
        bottom: -20px;
    }

/* content nằm góc trên-phải của year-block__media */
.year-2023 .year-block__content-left {
    position: absolute;
    height: 1040px top: 0px;
    right: 0px;
    padding-right: 0;
    z-index: 2;
}

/* Box text */
.year-2023 .content-year-2023 {
    width: 480px;
    text-align: right;
    padding-right: 10px;
    position: relative;
}

    .year-2023 .content-year-2023::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        width: 5px;
        background: #034EA24D;
        border-radius: 4px;
    }

/* Title/desc 2023 */
.year-2023 .year-block__title {
    margin: 0;
   
    line-height: 1.1;
    color: #0f172a;
    text-transform: uppercase;
}

.year-2023 .year-block__desc {
    margin: 6px 0 0;
   
    line-height: 1.25;
    color: #0f172a;
    padding-bottom: 25px;
}
/* ===== 2023  ===== */

/* ===== 2025  ===== */
.year-2025 .year-block__media {
    position: relative;
    display: block;
    width: 100%;
    height: 1020px;
}

    .year-2025 .year-block__media > img {
        width: 100%;
        height: auto;
        display: block;
        position: absolute;
        left: 0;
        bottom: -0px;
    }

/* content nằm góc trên-phải của year-block__media */
.year-2025 .year-block__content-left {
    position: absolute;
    height: 1040px top: 0px;
    right: 0px;
    padding-right: 0;
    z-index: 2;
}

/* Box text */
.year-2025 .content-year-2025 {
    width: 632px;
    text-align: right;
    padding-right: 10px;
    position: relative;
}

    .year-2025 .content-year-2025::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        width: 5px;
        background: #034EA24D;
        border-radius: 4px;
    }

/* Title/desc 2023 */
.year-2025 .year-block__title {
    margin: 0;
    line-height: 1.1;
    color: #0f172a;
    text-transform: uppercase;
}

.year-2025 .year-block__desc {
    margin: 6px 0 0;   
    line-height: 1.25;
    color: #0f172a;
    padding-bottom: 25px;
}
/* ===== 2025  ===== */

/* ===== 2018  ===== */
.year-2018 .year-block__media {
    position: relative;
    display: block;
    width: 100%;
    height: 440px;
}

    .year-2018 .year-block__media > img {
        width: 100%;
        height: auto;
        display: block;
        position: absolute;
        right: 0;
        top: -70px;
    }

/* content nằm góc trên-phải của year-block__media */
.year-2018 .year-block__content-left {
    position: absolute;
    height: 1040px;
    top: 0px;
    left: 0px;
    padding-left: 0;
    z-index: 2;
}

/* Box text */
.year-2018 .content-year-2018 {
    width: 632px;
    text-align: left;
    top: 240px;
    padding-left: 10px;
    position: relative;
}

    .year-2018 .content-year-2018::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 5px;
        background: #034EA24D;
        border-radius: 4px;
    }

/* Title/desc 2018*/
.year-2018 .year-block__title {
    margin: 0;
    line-height: 1.1;
    color: #0f172a;
    text-transform: uppercase;
}

.year-2018 .year-block__desc {
    margin: 6px 0 0;
    line-height: 1.25;
    color: #0f172a;
    padding-bottom: 25px;
}
/* ===== 2018  ===== */

/* ===== 2020  ===== */
.year-2020 .year-block__media {
    position: relative;
    display: block;
    width: 100%;
    height: 640px;
}

    .year-2020 .year-block__media > img {
        width: 100%;
        height: auto;
        display: block;
        position: absolute;
        right: 0;
    }

/* content nằm góc trên-phải của year-block__media */
.year-2020 .year-block__content-left {
    position: absolute;
    height: 1040px top: 0px;
    left: 0px;
    padding-left: 0;
    z-index: 2;
}

/* Box text */
.year-2020 .content-year-2020 {
    width: 632px;
    text-align: left;
    top: 0px;
    padding-left: 10px;
    position: relative;
}

    .year-2020 .content-year-2020::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 5px;
        background: #034EA24D;
        border-radius: 4px;
    }

/* Title/desc 2020*/
.year-2020 .year-block__title {
    margin: 0;   
    line-height: 1.1;
    color: #0f172a;
    text-transform: uppercase;
}

.year-2020 .year-block__desc {
    margin: 6px 0 0;
   
    line-height: 1.25;
    color: #0f172a;
    padding-bottom: 25px;
}
/* ===== 2020  ===== */

/* ===== 2022  ===== */
.year-2022 .year-block__media {
    position: relative;
    display: block;
    width: 100%;
    height: 640px;
}

    .year-2022 .year-block__media > img {
        width: 100%;
        height: auto;
        display: block;
        position: absolute;
        right: 0;
    }

/* content nằm góc trên-phải của year-block__media */
.year-2022 .year-block__content-left {
    position: absolute;
    height: 1040px top: 0px;
    left: 0px;
    padding-left: 0;
    z-index: 2;
}

/* Box text */
.year-2022 .content-year-2022 {
    width: 632px;
    text-align: left;
    top: 0px;
    padding-left: 10px;
    position: relative;
}

    .year-2022 .content-year-2022::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 5px;
        background: #034EA24D;
        border-radius: 4px;
    }

/* Title/desc 2020*/
.year-2022 .year-block__title {
    margin: 0;
   
    line-height: 1.1;
    color: #0f172a;
    text-transform: uppercase;
}

.year-2022 .year-block__desc {
    margin: 6px 0 0;
   
    line-height: 1.25;
    color: #0f172a;
    padding-bottom: 25px;
}
/* ===== 2022  ===== */

/* ===== 2024  ===== */
.year-2024 .year-block__media {
    position: relative;
    display: block;
    width: 100%;
    height: 640px;
}

    .year-2024 .year-block__media > img {
        width: 100%;
        height: auto;
        display: block;
        position: absolute;
        right: 0;
    }

/* content nằm góc trên-phải của year-block__media */
.year-2024 .year-block__content-left {
    position: absolute;
    height: 1040px top: 0px;
    left: 0px;
    padding-left: 0;
    z-index: 2;
}

/* Box text */
.year-2024 .content-year-2024 {
    width: 632px;
    text-align: left;
    top: 0px;
    padding-left: 10px;
    position: relative;
}

    .year-2024 .content-year-2024::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 5px;
        background: #034EA24D;
        border-radius: 4px;
    }

/* Title/desc 2020*/
.year-2024 .year-block__title {
    margin: 0;
   
    line-height: 1.1;
    color: #0f172a;
    text-transform: uppercase;
}

.year-2024 .year-block__desc {
    margin: 6px 0 0;
   
    line-height: 1.25;
    color: #0f172a;
    padding-bottom: 25px;
}
/* ===== 2024  ===== */

.story {
    max-width: 1440px;
    margin: 0 auto;
    background: #fff;
    border: 0;
    border-radius: 0;
    height: auto;
    justify-content: center;
    align-items: center;
}

.story-grid {
    max-width: 1484px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

.story-box2 {
    grid-column: span 6;
    padding: 0;
    background: #034EA21A;
    text-align: center;
    justify-items: center;
    border-radius: 25px;
}

    .story-box2 img {
        padding: 8px 8px 8px 8px;
        width: 100%;
        height: 381px;
        object-fit: cover;
        border-radius: 25px;
        display: block;
        justify-items: center;
    }

    .story-box2 p {
        padding: 8px 8px 8px 8px;
        font-size: 20px;
        font-weight: 800;
        width: 90%;
    }

.story-box3 {
    grid-column: span 12;
    padding: 0;
    background: transparent !important;
    text-align: left;
    justify-items: center;
}

    .story-box3 img {
        width: 100%;
        object-fit: cover;
        border-radius: 20px;
        display: block;
        justify-items: center;
    }

@media (max-width: 767.98px) {

    .story,
    .story-grid {
        max-width: 100%;
    }

    .story {
        padding: 12px;
    }

    .story-grid {
        padding: 0 12px;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .story-box2,
    .story-box3 {
        grid-column: 1 / -1;
    }

        .story-box2 img,
        .story-box3 img {
            width: 100%;
            height: auto !important;
            object-fit: contain;
            border-radius: 12px;
            display: block;
        }

    .story-box2 {
        border-radius: 16px;
    }

        .story-box2 img {
            padding: 8px;
        }

        .story-box2 p {
            width: 100%;
            padding: 8px 12px 12px;
            font-size: 16px;
            font-weight: 800;
        }
}

.full-width-image {
    width: 100%;
    overflow-x: hidden;
}

    .full-width-image img {
        width: 100%;
        max-width: 100%;
        display: block;
        margin: 0 auto;
    }

.fb-link {
    width: 100%;
    height: 70px;
    background: #1e1b8c;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

    .fb-link a {
        color: #fff;
        text-decoration: none;
    }

        .fb-link a:hover {
            text-decoration: underline;
            cursor: pointer;
        }

.fb-text {
    font-size: 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fb-text img {
    width: 46px;
    height: 46px;
    filter: brightness(0) invert(1);
}

.icon-phone {
    margin-right: 1rem;
}

.icon-facebook {
    margin-right: 0.5rem;
}

.contact-item + .contact-item {
    border-left: 5px solid #fff;
    padding-left: 12px;
    margin-left: 12px;
}

@media (max-width: 430px) {
    .fb-text img {
        width: 30px;
        height: 30px;
    }

    fb-link {
        height: 60px;
    }

    .fb-text {
        font-size: 14px;
        flex-direction: column;
        align-items: center;
    }

    .contact-item + .contact-item {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
    }
}
/* ---------- Chặn tràn ngang trên mobile ---------- */
/* Ảnh giải thưởng để kích thước gốc 1260px, bị cắt trong khung overflow:hidden */
.pic-achievement > img {
    display: block;
    width: 100%;
    height: auto;
}

/* Timeline "VNVC hình thành & phát triển": 2 cột + các mốc năm định vị tuyệt đối,
   bề rộng cứng 585-632px -> trên mobile trả về luồng thường, xếp dọc 1 cột. */
@media (max-width: 1199.98px) {
    .formation {
        grid-template-columns: 1fr;
        column-gap: 0;
    }

    .formation__line {
        display: none;
    }

    .formation__col--left .year-block,
    .formation__col--right .year-block {
        margin-left: 0;
        margin-right: 0;
    }

    .year-block,
    .year-block__media,
    .year-block__content-left,
    .year-block__content-right,
    .year-block__title,
    .year-block__desc,
    [class*="content-year-"] {
        position: static !important;
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        text-align: left !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

        .year-block__media > img {
            position: static !important;
            width: 100% !important;
            height: auto !important;
        }

        [class*="content-year-"]::after {
            display: none !important;
        }

    .year-block__badge__col-left,
    .year-block__badge__col-right,
    .year-block-2018__badge__col-right {
        position: static !important;
        margin-bottom: 8px;
    }
}

/* Timeline mobile: chừa lề hai bên và không ngắt dòng số năm ("20 / 17") */
@media (max-width: 1199.98px) {
    .year-block {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .year-block__badge__col-left,
    .year-block__badge__col-right,
    .year-block-2018__badge__col-right {
        white-space: nowrap;
    }
}

/* Cột tìm kiếm việc làm ở trang chủ (trước dùng inline padding cho desktop) */
.home-jobs__col-left {
    padding-right: 50px;
    padding-left: 0;
}

@media (max-width: 767.98px) {
    .home-jobs__col-left {
        padding-right: 15px;
        padding-left: 15px;
    }
}

/* Card HOT trang chủ: badge + 2 pill (số lượng tuyển / còn n ngày) theo mockup */
.job-card {
    position: relative;
}

.job-card__hot {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #F7941D;
    color: #fff;
    padding: 3px 10px;
    border-radius: 6px;
}

.job-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 4px;
}

.job-card__pill {
    background: #EFF6FF;
    color: #0256B3;
    border-radius: 6px;
    padding: 4px 10px;
}

/* ===== Hero banner trang chủ (ảnh Figma + nút thật phủ lên) ===== */
.hero-banner {
    position: relative;
    width: 100%;
    line-height: 0;
}

.hero-banner__img {
    display: block;
    width: 100%;
    height: auto;
}

/* Nút "ỨNG TUYỂN NGAY!" bake trong ảnh -> phủ vùng bấm trong suốt, theo % để co giãn.
   Đo từ Figma node 4:13379: left 60.7% top 79.3% w 23.1% h 13%. */
.hero-banner__cta {
    position: absolute;
    left: 60.7%;
    top: 79.3%;
    width: 23.1%;
    height: 13%;
    border-radius: 999px;
    z-index: 2;
}

    .hero-banner__cta:focus-visible {
        outline: 2px solid #fff;
        outline-offset: 2px;
    }

/* Dải Fanpage tuyển dụng */
.fb-link .icon-facebook {
    width: 26px;
    height: 26px;
}

.fb-link .fb-text a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

    .fb-link .fb-text a:hover {
        text-decoration: underline;
    }

/* ===== Tìm kiếm việc làm (trang chủ) ===== */
.home-search {
    text-align: center;
    padding: 24px 0 8px;
}

.home-search__title {
    color: #0B4BB3;
    margin-bottom: 20px;
}

/* ===== Vị trí HOT (trang chủ) ===== */
.home-hot {
    text-align: center;
    padding: 12px 0 8px;
}

.home-hot__tag {
    margin: 0 auto 20px;
}

.home-hot__tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.home-hot__tab {
    border: 1px solid #CBD9EC;
    background: #fff;
    color: #334155;
    border-radius: 10px;
    padding: 8px 20px;
}

    .home-hot__tab.is-active {
        background: #1E40AF;
        border-color: #1E40AF;
        color: #fff;
    }

.home-hot__grid {
    text-align: left;
}

.home-hot__more {
    margin-top: 20px;
}

.btn-xem-tatca {
    display: inline-block;
    background: #F7941D;
    color: #fff;
    border-radius: 8px;
    padding: 12px 32px;
    text-decoration: none;
}

    .btn-xem-tatca:hover {
        color: #fff;
        filter: brightness(1.05);
    }

.home-hot__empty {
    padding: 24px 0;
    color: #64748B;
}

@media (max-width: 767.98px) {
    .home-search__title {
    }

    .home-hot__tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}

.home-hot__tab {
    transition: background .16s ease, border-color .16s ease, color .16s ease;
    cursor: pointer;
}

    .home-hot__tab:hover:not(.is-active) {
        border-color: #1E40AF;
        color: #1E40AF;
        background: #EFF6FF;
    }

    .home-hot__tab:focus-visible {
        outline: none;
        box-shadow: 0 0 0 3px rgba(30, 64, 175, .3);
    }

.btn-xem-tatca {
    transition: filter .16s ease, transform .16s ease, box-shadow .16s ease;
}

    .btn-xem-tatca:hover {
        filter: brightness(1.05);
        box-shadow: 0 6px 16px rgba(247, 148, 29, .35);
    }

    .btn-xem-tatca:active {
        transform: translateY(1px);
    }

/* Card HOT trang chủ: nhấc nhẹ khi hover */
.home-hot .job-card--filter {
    transition: box-shadow .18s ease, transform .18s ease;
}

    .home-hot .job-card--filter:hover {
        transform: translateY(-3px);
    }

/* ===== Thẻ HOT trang chủ: dùng chung _JobCardFilter với trang Việc làm (tên + icon xanh, nhãn HOT ngọn lửa) ===== */
.home-hot .job-card.job-card--filter {
    height: 100%;
    padding: 12px 16px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    text-align: left;
    text-decoration: none;
}

    .home-hot .job-card.job-card--filter:hover {
        box-shadow: 0 6px 18px rgba(2, 86, 179, .15);
    }

.home-hot .job-card--filter .job-card__title {
    color: #0B4BB3;
    margin: 0 0 10px;
    line-height: 1.4;
}

.home-hot .job-card__hot + .job-card__title {
    padding-right: 56px;
}

.home-hot .job-card--filter .job-card__info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
    margin-bottom: 0;
}

.home-hot .job-card--filter .job-card__row {
    margin-bottom: 0;
    font-size: 14px;
    color: #1E293B;
}

.home-hot .job-card__ico {
    display: inline-flex;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    color: #0B4BB3;
}

    .home-hot .job-card__ico svg {
        width: 100%;
        height: 100%;
    }

.home-hot .job-card--filter .job-card__meta {
    margin-top: 10px;
    gap: 6px;
}

.home-hot .job-card--filter .job-card__pill {
    background: #E6F0FD;
    color: #0B4BB3;
    border-radius: 999px;
    padding: 2px 8px;
}

.home-hot .job-card__hot {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    top: 10px;
    right: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1.4;
}

/* Nút XEM TẤT CẢ: viên thuốc cam (Figma) */
.btn-xem-tatca {
    border-radius: 999px;
    padding: 10px 36px;
    letter-spacing: .02em;
}

/* ===== Trang chủ – màn máy tính ≥1200px theo Figma 1440 ===== */
@media (min-width: 1200px) {
    /* site.css nới .container lên 1440px → nội dung tràn sát mép. Figma: nội dung rộng 1252px, căn giữa (như trang Việc làm) */
    .container.home-page {
        max-width: calc(1252px + 15px); /* 1252 nội dung + padding 7.5px x 2 của .container */
    }

    /* Khối Tìm kiếm + HOT: nền xanh nhạt tràn hết bề ngang, nội dung vẫn trong khung 1252 */
    .home-page > .home-band {
        margin-top: 0 !important;
        padding: 8px 0 32px;
        background: #EAF3FD;
        box-shadow: 0 0 0 100vmax #EAF3FD;
        clip-path: inset(0 -100vmax);
    }

    /* Tiêu đề HOT: chữ xanh như "CƠ HỘI NGHỀ NGHIỆP TẠI VNVC", không huy hiệu */
    .home-hot__tag.section-tag {
        display: block;
        background: none;
        padding: 0;
        box-shadow: none;
    }

        .home-hot__tag .section-tag__icon-box {
            display: none;
        }

        .home-hot__tag .section-tag__text {
            display: inline;
            padding: 0;
            background: none;
            color: #0B4BB3;
            line-height: 1.2;
        }

    .home-hot__grid > .home-hot__item {
        margin-bottom: 20px; /* Figma: hàng thẻ cách nhau 20px */
    }

    /* Tab miền (Figma): cao 48px, cách nhau 24px */
    .home-hot__tabs {
        gap: 24px;
    }

    .home-hot__tab {
        padding: 11px 20px;
    }
}

/* Khoảng cách thẻ 20px như Figma (thẻ 406px, cách 20px) – chỉ khi màn đủ rộng để lề âm 10px không tràn khung */
@media (min-width: 1290px) {
    .home-hot__grid {
        margin-left: -10px;
        margin-right: -10px;
    }

        .home-hot__grid > .home-hot__item {
            padding: 0 10px;
        }
}

/* Khối "Môi trường làm việc" ở máy tính ≥1200 (Figma): nền xanh rộng gần sát mép (cách 16px), nội dung bên trong rộng bằng khung 1252 */
@media (min-width: 1200px) {
    .home-page .achievement-enviroment {
        width: calc(min(100vw, 1440px) - 32px);
        max-width: none;
        margin-left: 50%;
        transform: translateX(-50%);
        padding: 26px max(32px, calc((min(100vw, 1440px) - 32px - 1252px) / 2)) 33px; /* Figma: tiêu đề cách mép trên 26px, ảnh cuối cách mép dưới 33px */
        border-radius: 32px;
    }

    .home-page .achievement__title {
        line-height: 1.2;
        margin-bottom: 26px;
    }

    /* Figma: ảnh giải thưởng cách đoạn mô tả 24px */
    .home-page .achievement-enviroment .pic-achievement {
        margin-bottom: 24px;
    }

    /* Lưới 12 ảnh văn hoá (Figma 303x207): cột cách 16px, hàng cách 15px */
    .home-page .achievement-enviroment .r-img {
        margin-left: -8px;
        margin-right: -8px;
    }

        .home-page .achievement-enviroment .r-img > [class^="col-"] {
            padding: 7.5px 8px;
        }

    .home-page .achievement__subtitle {
        text-transform: uppercase;
        white-space: nowrap;
    }
}

/* Timeline "Hình thành & phát triển": hộp chữ cột trái rộng cố định theo khung 1440 cũ (2021: 585px, 2025: 632px…)
   → khung nội dung 1252px thì cột chỉ ~536px, chữ tràn qua mép trái. Giới hạn hộp chữ không rộng hơn cột. */
.formation__col--left .year-block__content-left,
.formation__col--left [class^="content-year-"] {
    max-width: 100%;
}

@media (min-width: 1200px) {
    /* <br> viết cứng theo bề rộng cũ → trong cột hẹp hơn tạo dòng lởm chởm; để chữ tự xuống dòng */
    .formation__col--left .year-block__desc br {
        display: none;
    }
}

/* 1200–1399: cột timeline hẹp hơn → chữ 2025 nhiều dòng hơn, nới chiều cao để không đè ảnh minh hoạ */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .year-2025 .year-block__media {
        height: 1090px;
    }
}

/* ===== Timeline "VNVC hình thành & phát triển" – mobile / tablet (<1200) theo Figma mobile =====
   - 1 cột đúng thứ tự năm: 2 cột trái/phải "trải phẳng" (display: contents) rồi xếp bằng order
   - Mỗi năm: số năm 1 dòng (2017) + gạch ngang → tiêu đề, mô tả → ảnh minh hoạ
   - Mặc định chỉ hiện 2017, 2018 mờ dần + nút Xem thêm; bấm mở hết (.formation.is-open) */
.formation__more {
    display: none;
}

@media (max-width: 1199.98px) {
    .formation {
        display: flex !important;
        flex-direction: column;
        column-gap: 0;
        padding-top: 0;
    }

    .formation__col {
        display: contents;
    }

    .formation__line,
    .formation .year-block.year {
        display: none !important;
    }

    .formation .year-2017 { order: 1; }
    .formation .year-2018 { order: 2; }
    .formation .year-2019 { order: 3; }
    .formation .year-2020 { order: 4; }
    .formation .year-2021 { order: 5; }
    .formation .year-2022 { order: 6; }
    .formation .year-2023 { order: 7; }
    .formation .year-2024 { order: 8; }
    .formation .year-2025 { order: 9; }

    .formation .year-block {
        display: flex;
        flex-direction: column;
        padding: 0 12px 24px !important;
    }

    /* Số năm: "2017" trên 1 dòng, gạch ngang bên dưới, đứng đầu khối */
    .formation [class*="badge__col"] {
        order: -1;
        display: flex;
        flex-direction: row !important; /* gốc: column → "20" / "17" chồng 2 dòng */
        gap: 0 !important;
        align-items: baseline;
        margin: 0 0 14px !important;
        padding: 0 0 8px;
        border-bottom: 3px solid #C9DAF0;
        color: #0B4BB3;
        font-size: 30px;
        font-weight: 800;
        line-height: 1.1;
        white-space: nowrap;
        transform: none !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: none !important;
        text-align: left !important;
    }

        .formation [class*="badge__col"] p {
            display: inline;
            margin: 0;
            font: inherit;
            color: inherit;
            line-height: inherit;
        }

    /* Chữ trước, ảnh sau */
    .formation .year-block__media {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

        .formation .year-block__media > img {
            order: 2;
            max-width: 480px;
        }

    .formation .year-block__title {
        margin-top: 6px;
    }

    .formation .year-block__desc,
    .formation .year-block__desc p {
        margin-bottom: 4px;
    }

    .formation .year-block__desc br {
        display: none;
    }

    /* Vạch nhấn dọc cạnh chữ (desktop) – mobile không có */
    .formation [class*="content-year-"]::before,
    .formation [class*="content-year-"]::after {
        display: none !important;
    }

    /* Thu gọn */
    .formation:not(.is-open) .year-block:not(.year-2017):not(.year-2018) {
        display: none;
    }

    .formation:not(.is-open) .year-2018 {
        max-height: 70px;
        overflow: hidden;
        padding-bottom: 0 !important;
        -webkit-mask-image: linear-gradient(#000 10%, transparent);
        mask-image: linear-gradient(#000 10%, transparent);
        pointer-events: none;
    }

    .formation__more {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        margin: -24px auto 12px;
        padding: 6px 14px;
        border: 0;
        background: none;
        color: #0B4BB3;
        font-size: 15px;
        font-weight: 600;
        position: relative;
        z-index: 1;
        cursor: pointer;
    }

    .formation.is-open + .formation__more {
        margin-top: 0;
    }

        .formation.is-open + .formation__more svg {
            transform: rotate(180deg);
        }
}

/* ===== Câu chuyện VNVC dạng slide (spec 4.8: card + nút ‹ ›) – máy tính 2 card/khung, mobile 1 card (hé card sau) ===== */
.story-slider {
    grid-column: 1 / -1;
    position: relative;
}

.story-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

    .story-track::-webkit-scrollbar {
        display: none;
    }

    .story-track > .story-box2 {
        flex: 0 0 calc((100% - 18px) / 2);
        min-width: 0;
        scroll-snap-align: start;
    }

.story-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #0B4BB3;
    color: #fff;
    box-shadow: 0 4px 12px rgba(2, 86, 179, .25);
    cursor: pointer;
    transition: opacity .16s ease, background .16s ease;
}

    .story-nav:hover:not(:disabled) {
        background: #F7941D;
    }

    .story-nav:disabled {
        opacity: .35;
        cursor: default;
    }

.story-nav--prev {
    left: -20px;
}

.story-nav--next {
    right: -20px;
}

/* Máy tính ≥1200: nút nằm ngoài lưới như Figma (khung 1252 còn lề hai bên) */
@media (min-width: 1200px) {
    .story-nav--prev {
        left: -56px;
    }

    .story-nav--next {
        right: -56px;
    }
}

@media (max-width: 767.98px) {
    .story-track {
        gap: 12px;
    }

        .story-track > .story-box2 {
            flex-basis: 86%;
        }

    /* Nằm ngang giữa ảnh (không đè chữ mô tả bên dưới) */
    .story-nav {
        top: 0;
        width: 34px;
        height: 34px;
        margin-top: 0;
        transform: translateY(calc(var(--story-anh, 160px) / 2 - 9px));
    }

    .story-nav--prev {
        left: 4px;
    }

    .story-nav--next {
        right: 4px;
    }
}

/* ===== Mobile theo Figma "Trang chủ Mobile" =====
   Tìm kiếm: nền xanh nhạt, ô nhập + nút "Tìm kiếm" cùng 1 hàng (không có ô chọn tỉnh);
   "VỊ TRÍ TUYỂN DỤNG 'HOT'": chữ xanh, không thẻ nền/logo */
@media (max-width: 767.98px) {
    /* nền xanh nhạt tràn hết bề ngang màn hình (khung cha có lề) */
    .home-search {
        margin: 0 calc(50% - 50vw);
        padding: 32px calc(50vw - 50% + 8px) 40px;
        background: #EAF3FE;
    }

    .home-hot__tag.section-tag {
        height: auto;
        padding: 0;
        background: none;
        white-space: normal;
    }

        .home-hot__tag .section-tag__icon-box {
            display: none;
        }

        .home-hot__tag .section-tag__text {
            padding: 0;
            color: #0B4BB3;
        }
}

/* ===== Mobile theo Figma: khối "VNVC có môi trường làm việc tốt nhất" =====
   Nền xanh tràn ngang (không bo góc); tiêu đề 2 dòng không "2024"; đoạn văn canh đều;
   tiêu đề phụ in hoa; ảnh văn hoá 2 hàng cuộn ngang (thẻ ~172×117, bo 10) */
@media (max-width: 575.98px) {
    /* tràn hết bề ngang màn hình (khung cha lệch lề trái/phải) */
    .achievement-enviroment {
        position: relative;
        left: 50%;
        width: 100vw;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding: 40px 17px 32px;
        border-radius: 0;
        transform: translateX(-50%);
    }

    .achievement-enviroment .achievement__br {
        display: inline !important;
    }

    .achievement-enviroment .achievement__nam {
        display: none;
    }

    html body .achievement-enviroment .achievement__title {
        font-size: 16px;
        line-height: 1.25;
    }

    .achievement-enviroment .pic-achievement img {
        border-radius: 10px;
    }

    html body .achievement-enviroment .achievement__content {
        line-height: 1.3;
        text-align: justify;
    }

    html body .achievement-enviroment .achievement__subtitle {
        font-size: 16px;
        line-height: 1.25;
        text-transform: uppercase;
    }

    .achievement-enviroment .r-img {
        display: grid;
        grid-auto-flow: column;
        grid-template-rows: repeat(2, auto);
        grid-auto-columns: 172px;
        gap: 10px;
        margin: 0 -17px;
        padding: 0 17px 4px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 17px; /* ảnh đầu thẳng lề nội dung, không dính mép màn hình */
        scrollbar-width: none;
    }

        .achievement-enviroment .r-img::-webkit-scrollbar {
            display: none;
        }

        .achievement-enviroment .r-img > [class*="col"] {
            width: auto;
            max-width: none;
            padding: 0;
            scroll-snap-align: start;
        }

            .achievement-enviroment .r-img > [class*="col"] img {
                display: block;
                width: 100%;
                height: 117px;
                object-fit: cover;
                border-radius: 10px;
            }
}

/* Mobile: mọi đoạn văn trang chủ cùng cỡ 16px (khối Giới thiệu: câu nổi bật .intro-tag và mô tả ảnh .intro-box) */
@media (max-width: 575.98px) {
    html body .intro-tag p,
    html body .intro .intro-box2 p,
    html body .intro .intro-box3 p {
        font-size: 16px;
        line-height: 1.5;
    }
}

/* ===== Trang chủ ≥1200 – kích thước theo Figma "Trang chủ" 1440 ===== */
@media (min-width: 1200px) {
    /* Giới thiệu hệ thống: 6 ảnh 408x276.5, cách nhau 20px (chỉ lưới có .intro-box) */
    .home-page .intro-grid:has(> .intro-box) {
        gap: 20px;
    }

        .home-page .intro-grid:has(> .intro-box) .intro-box img {
            height: auto;
            aspect-ratio: 408 / 276.5;
        }

    /* Câu chuyện VNVC: thẻ cách nhau 26px; ảnh 599x381 lùi vào 8-9px trong thẻ 617 */
    .home-page .story-track {
        gap: 26px;
    }

        .home-page .story-track > .story-box2 {
            flex-basis: calc((100% - 26px) / 2);
        }

    .home-page .story-box2 img {
        height: calc(381px + 16px); /* ảnh 381 + padding 8 trên/dưới */
    }

    /* Nút ‹ › 44px, mép trái cách khung nội dung 51px (Figma x39 / x1401) */
    .home-page .story-nav {
        width: 44px;
        height: 44px;
        margin-top: -22px;
    }

    .home-page .story-nav--prev {
        left: -51px;
    }

    .home-page .story-nav--next {
        right: -51px;
    }
}

/* ===== Timeline "VNVC hình thành & phát triển" – máy tính ≥1200 theo Figma "Trang chủ" (4:3023) =====
   - 2 cột bằng nhau (Figma 630 + 630), đường nét đứt nằm đúng ranh giới 2 cột
   - Mỗi năm: số năm sát đường giữa (48 Black #034EA2) → gạch dọc 5px → chữ (20, tiêu đề đậm) → ảnh minh hoạ đúng cỡ gốc
     (Figma: ảnh = cỡ file, cột trái căn mép trái, cột phải căn mép phải)
   - Khoảng cách giữa các năm lấy theo toạ độ Figma; bỏ các định vị tuyệt đối riêng từng năm ở trên */
@media (min-width: 1200px) {
    .formation {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 0;
        padding-top: 0;
        padding-bottom: 40px; /* ảnh 2025 không dính sát khối kế tiếp */
    }

    .formation .formation__line {
        left: 50%;
        top: 78px; /* Figma: đường bắt đầu thấp hơn ảnh 2018 78px */
        bottom: 110px;
        height: auto;
        width: 98px;
        transform: translateX(-50%);
    }

        /* SVG gốc 61×4684 bị kéo về chiều cao khối (~3100) → thu bề ngang cùng tỉ lệ (~0.67): sóng hẹp lại, không chạm số năm, chấm tròn không méo */
        .formation .formation__line img {
            width: 41px;
            height: 100%;
            margin: 0 auto;
            object-fit: fill;
        }

    .formation .formation__col {
        gap: 0;
    }

    .formation .formation__col .year-block {
        padding: 0;
    }

    .formation .formation__col .year-block__media {
        position: static;
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto;
    }

    .formation .formation__col .year-block__content-left,
    .formation .formation__col .year-block__content-right {
        position: relative;
        order: 0;
        inset: auto;
        width: auto;
        max-width: 100%;
        padding: 0;
        z-index: 2;
    }

    .formation .formation__col .year-block__media > img {
        position: relative;
        order: 1;
        inset: auto;
        width: auto;
        max-width: 100%;
        height: auto;
        margin: 0;
        z-index: 1;
    }

    .formation .formation__col--left .year-block__media > img {
        align-self: flex-start;
    }

    .formation .formation__col--right .year-block__media > img {
        align-self: flex-end;
    }

    /* Khối chữ + gạch dọc rgba(3,78,162,.3) 5px. Trái: chữ tận x616, gạch 626–631, số năm 638–720; phải: số năm 720–798, gạch 808–813, chữ từ 819 */
    .formation .formation__col [class^="content-year-"] {
        position: relative;
        inset: auto;
        width: auto;
        max-width: none;
        margin: 9px 0 0;
    }

        .formation .formation__col [class^="content-year-"]::before {
            display: none;
        }

        .formation .formation__col [class^="content-year-"]::after {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            width: 5px;
            border-radius: 0;
            background: rgba(3, 78, 162, .3);
        }

    /* Khung nội dung 1252 hẹp hơn Figma 1260 → cho chữ lấn ra lề ngoài để ngắt dòng như Figma */
    .formation .formation__col--left [class^="content-year-"] {
        margin-left: -12px;
        margin-right: 93px;
        padding: 0 15px 0 0;
        text-align: right;
    }

        .formation .formation__col--left [class^="content-year-"]::after {
            left: auto;
            right: 0;
        }

    .formation .formation__col--right [class^="content-year-"] {
        margin-left: 92px;
        margin-right: -8px;
        padding: 0 0 0 11px;
        text-align: left;
    }

        .formation .formation__col--right [class^="content-year-"]::after {
            left: 0;
            right: auto;
        }

    .formation .formation__col .year-block__title,
    .formation .formation__col .year-block__desc {
        max-width: none;
        margin: 0;
        padding: 0;
        line-height: normal;
        color: #000;
    }

        .formation .formation__col .year-block__desc p {
            margin: 0;
            line-height: normal;
        }

        /* Figma: mỗi nhóm (tiêu đề + mô tả) cách nhau 1 dòng trống */
        .formation .formation__col .year-block__desc + .year-block__title {
            margin-top: 23px;
        }

    /* Số năm "20 / 17": sát đường giữa, ngang đầu khối chữ */
    .formation .formation__col [class*="badge__col"] {
        position: absolute;
        top: 0;
        bottom: auto;
        width: 82px;
        gap: 0;
        font-size: 48px;
        font-weight: 900;
        line-height: normal;
        color: #034EA2;
    }

    /* Số năm lùi 4px khỏi ranh giới 2 cột để đường nét đứt không chạm chữ số */
    .formation .formation__col--left [class*="badge__col"] {
        left: auto;
        right: 4px;
        text-align: left;
    }

    .formation .formation__col--right [class*="badge__col"] {
        left: 4px;
        right: auto;
        width: 80px;
        text-align: right;
    }

    /* Figma 2017: khối chữ rộng 453 (xuống dòng "… đầu tiên / tại Hà Nội & TP.HCM"), sát mép phải cột */
    .formation .formation__col .content-year-2017 {
        width: 468px; /* 453 chữ + 15 đệm gạch */
        margin-left: auto;
    }

    /* Figma 2017: ảnh toà nhà nằm dưới, phần trên lấn 33px vào sau khối chữ */
    .formation .year-2017 .year-block__media > img {
        margin-top: -33px;
    }

    .formation .year-2019 .year-block__media > img { margin-top: -8px; }
    .formation .year-2021 .year-block__media > img { margin-top: 8px; }
    .formation .year-2023 .year-block__media > img { margin-top: 17px; margin-left: 67px; } /* Figma: ảnh sách nhỏ hơn, lùi vào 67px */
    .formation .year-2025 .year-block__media > img { margin-top: 28px; }

    /* Cột phải 2018: ảnh Hexaxim đứng TRƯỚC chữ, số năm ngang đầu khối chữ */
    .formation .year-2018 .year-block__media > img {
        order: -1;
        margin-bottom: -7px;
    }

    .formation .year-2018 [class*="badge__col"] {
        top: 281px; /* ảnh 289 − 7 + 9 lề khối chữ − 10 (số năm cao hơn gạch 10px như Figma) */
    }

    .formation .year-2020 .year-block__media > img { margin-top: -31px; }
    .formation .year-2022 .year-block__media > img { margin-top: 14px; }
    .formation .year-2024 .year-block__media > img { margin-top: 22px; }

    /* Vị trí đầu mỗi năm theo Figma (tính từ đầu ảnh 2018 = đầu cột phải) */
    .formation .formation__col--left .year-2017 { margin-top: 136px; }
    .formation .formation__col--left .year-2019 { margin-top: 49px; }
    .formation .formation__col--left .year-2021 { margin-top: 153px; }
    .formation .formation__col--left .year-2023 { margin-top: 64px; }
    .formation .formation__col--left .year-2025 { margin-top: 209px; }
    .formation .formation__col--right .year-2020 { margin-top: 129px; }
    .formation .formation__col--right .year-2022 { margin-top: 80px; }
    .formation .formation__col--right .year-2024 { margin-top: 32px; }

    .formation .formation__col .year-block.year {
        display: none;
    }
}
