/* Site chrome — header & footer (clean overrides) */

:root {
    --chrome-green: #1ca774;
    --chrome-green-dark: #159a63;
    --chrome-green-soft: #f0fdf4;
    --chrome-border: #eef2f6;
    --chrome-text: #334155;
    --chrome-heading: #0f172a;
    --chrome-radius: 12px;
}

/* ── Header ── */
.header.site-header {
    padding: 0;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: #0f172a !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow 0.25s ease;
}

.header.site-header.stick {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.header.site-header .main-header {
    min-height: 72px;
    gap: 16px;
}

.header.site-header .header-left .header-logo {
    max-width: 180px;
}

.header.site-header .header-left .header-logo img {
    max-height: 42px;
    width: auto;
    object-fit: contain;
}

.header.site-header .header-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header.site-header .main-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header.site-header .main-menu li {
    float: none;
    padding: 0;
}

.header.site-header .main-menu > li > a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s, background 0.2s;
}

@media (min-width: 1200px) {
    .header.site-header .main-menu {
        gap: 10px 28px;
    }

    .header.site-header .main-menu > li > a {
        padding: 8px 18px;
    }
}

.header.site-header .main-menu > li > a:hover,
.header.site-header .main-menu > li > a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.header.site-header .main-menu li ul li a {
    color: var(--chrome-text);
}

.header.site-header .main-menu li ul li a:hover,
.header.site-header .main-menu li ul li a.active {
    color: var(--chrome-green);
    background: var(--chrome-green-soft);
}

.header.site-header .main-menu li.has-children > a {
    padding-right: 22px;
}

.header.site-header .main-menu li.has-children > a::after {
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
}

.header.site-header .main-menu li ul {
    border-radius: var(--chrome-radius);
    border: 1px solid var(--chrome-border);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
    padding: 8px;
    min-width: 200px;
}

.header.site-header .main-menu li ul li a {
    border-radius: 8px;
    padding: 10px 14px;
}

.header.site-header .header-right {
    min-width: auto;
    flex-shrink: 0;
}

.header.site-header .header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header.site-header .btn-header-ghost {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.header.site-header .btn-header-ghost:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.header.site-header .btn-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #fff !important;
    background: var(--chrome-green) !important;
    border: none;
    box-shadow: 0 4px 14px rgba(28, 167, 116, 0.3);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header.site-header .btn-header-cta:hover {
    background: var(--chrome-green-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(28, 167, 116, 0.35);
    color: #fff !important;
}

.header.site-header .block-signin .btn-shadow {
    box-shadow: none;
}

/* Mobile drawer */
.mobile-header-active.mobile-header-wrapper-style {
    background: #fff;
}

.mobile-header-active .mobile-header-content-area {
    padding: 24px 20px;
}

.mobile-header-active .mobile-search form {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--chrome-border);
    border-radius: 50px;
    padding: 4px 16px;
    overflow: hidden;
}

.mobile-header-active .mobile-search input {
    border: none;
    background: transparent;
    flex: 1;
    padding: 10px 0;
    font-size: 14px;
}

.mobile-header-active .mobile-menu li a {
    padding: 12px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--chrome-heading);
    border-bottom: 1px solid var(--chrome-border);
}

.mobile-header-active .mobile-account h6 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-top: 20px;
}

.mobile-header-active .site-copyright {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--chrome-border);
    font-size: 13px;
    color: #94a3b8;
}

/* ── Newsletter strip ── */
.site-newsletter {
    padding: 48px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.site-newsletter-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 40px;
    background: linear-gradient(135deg, var(--chrome-green-soft) 0%, #fff 55%);
    border: 1px solid #d1fae5;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(28, 167, 116, 0.08);
}

.site-newsletter-text h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--chrome-heading);
    margin: 0 0 6px;
}

.site-newsletter-text p {
    font-size: 14px;
    color: var(--chrome-text-muted, #64748b);
    margin: 0;
}

.site-newsletter-form {
    flex: 1;
    min-width: 280px;
    max-width: 480px;
}

.site-newsletter-form .form-inner {
    display: flex;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--chrome-border);
    border-radius: 50px;
    padding: 6px 6px 6px 20px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.site-newsletter-form input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    min-width: 0;
    background: transparent;
}

.site-newsletter-form button {
    border-radius: 50px !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    white-space: nowrap;
}

/* ── Footer ── */
.footer.site-footer {
    padding-top: 64px;
    padding-bottom: 0;
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 32px 24px;
}

@media (max-width: 991px) {
    .site-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .site-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575px) {
    .site-footer-grid {
        grid-template-columns: 1fr;
    }
}

.site-footer-brand .footer_logo img {
    max-height: 40px;
    width: auto;
}

.site-footer-brand .footer-desc {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.6);
    margin: 16px 0 20px;
    max-width: 280px;
}

.site-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.site-footer-social a:hover {
    background: var(--chrome-green);
    border-color: var(--chrome-green);
    color: #fff;
}

.site-footer-col h6 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 18px;
}

.site-footer-col .menu-footer {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer-col .menu-footer li {
    margin-bottom: 10px;
}

.site-footer-col .menu-footer li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer-col .menu-footer li a:hover {
    color: #fff;
}

.site-footer-bottom {
    margin-top: 48px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.site-footer-bottom a {
    color: var(--chrome-green);
    text-decoration: none;
}

.site-footer-bottom a:hover {
    text-decoration: underline;
}

/* ── Homepage responsive ── */
.learn-more-img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    border-radius: 12px;
}

@media (max-width: 767px) {
    .learn-more-img {
        max-height: 280px;
    }

    .banner-hero .form-find form {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .banner-hero .form-find .box-industry,
    .banner-hero .form-find select,
    .banner-hero .form-find .input-keysearch,
    .banner-hero .form-find .btn-find {
        width: 100%;
        max-width: 100%;
        margin-right: 0 !important;
    }
}

.section-box.recruiters .swiper-slide {
    display: flex;
    flex-wrap: wrap;
}

.section-box.recruiters .item-5 {
    flex: 0 0 25%;
    max-width: 25%;
    float: none;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .section-box.recruiters .item-5 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .section-box.recruiters .item-5 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* HOME-03 — Việc làm nổi bật: tab danh mục (pill, chữ lớn) */
.futured_jobs .featured-jobs-tabs {
    width: 100%;
    max-width: 100%;
}

.futured_jobs .featured-jobs-tabs .nav-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 10px 12px;
    width: 100%;
    border: 0;
    padding: 0;
}

.futured_jobs .featured-jobs-tabs .nav-tabs .nav-item {
    display: block;
    margin: 0;
    padding: 0;
}

.futured_jobs .featured-jobs-tabs .nav-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 12px 22px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--chrome-heading);
    background: #fff;
    border: 1px solid #e0e6f7;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.futured_jobs .featured-jobs-tabs .nav-tabs .nav-link:hover {
    color: var(--chrome-green);
    border-color: var(--chrome-green);
    background: var(--chrome-green-soft);
}

.futured_jobs .featured-jobs-tabs .nav-tabs .nav-link.active,
.futured_jobs .featured-jobs-tabs .nav-tabs .nav-link.active:hover {
    color: #fff;
    background: var(--chrome-green);
    border-color: var(--chrome-green);
    box-shadow: 0 4px 14px rgba(28, 167, 116, 0.32);
}

.futured_jobs .featured-jobs-tabs .nav-tabs .nav-link:focus-visible {
    outline: 2px solid var(--chrome-green);
    outline-offset: 2px;
}

@media (max-width: 575px) {
    .futured_jobs .featured-jobs-tabs .nav-tabs {
        gap: 8px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .futured_jobs .featured-jobs-tabs .nav-tabs .nav-link {
        font-size: 14px;
        padding: 10px 16px;
        flex-shrink: 0;
    }
}
