/*
Theme Name: Workio Child
Theme URI: https://apusthemes.com/workio
Template: workio
Author: ReviewHue
Version: 1.0.8
Text Domain: workio-child
*/

/* ==========================================================================
   GLOBAL DESIGN SYSTEM
   - Primary: #087A5B
   - Primary Hover: #06664D
   - Dark Text: #17251F
   - Secondary Text: #68756F
   - Border: #DCE7E2
   - Light Green: #E8F3EE
   - Salary Accent: #F5B51B
   - Page Background: #F5F9F7
   - White: #FFFFFF
   - Typography: Inter / system sans-serif
   ========================================================================== */

body,
#wrapper-container,
#apus-main-content,
input, select, textarea, button, optgroup,
h1, h2, h3, h4, h5, h6,
p, span, a, li, label, strong, b, em,
.elementor, .elementor *,
.btn, .button, .btn-theme, .btn-theme-second,
.hero-headline, .hero-description,
.job-title, .job-company, .badge-salary, .badge-tag,
.category-title, .category-count,
.employer-name,
.cv-cta-title, .cv-cta-desc,
.section-title, .section-link,
.search-input, .search-select, .search-submit-btn,
#apus-header, #apus-header *,
#apus-header-mobile, #apus-header-mobile *,
.site-footer-custom, .site-footer-custom *,
.job-listing-item, .job-listing-item *,
.single-job_listing, .single-job_listing *,
.job-detail, .job-detail *,
.employer-item, .employer-item *,
.single-employer, .single-employer *,
.candidate-item, .candidate-item *,
.form-control, .select2-container, .select2-selection {
    font-family: 'Roboto', Arial, sans-serif !important;
}

/* Protect Icon Fonts from global font-family override */
.fa,
.fas,
.far,
.fal,
.fab,
[class^="fa-"],
[class*=" fa-"],
.flaticon,
[class^="flaticon-"],
[class*=" flaticon-"],
.themify,
[class^="ti-"],
[class*=" ti-"] {
    font-family: FontAwesome, "Flaticon", "themify", sans-serif !important;
}

.fa::before,
[class^="fa-"]::before,
[class*=" fa-"]::before {
    font-family: FontAwesome !important;
}

.flaticon::before,
[class^="flaticon-"]::before,
[class*=" flaticon-"]::before {
    font-family: "Flaticon" !important;
}

[class^="ti-"]::before,
[class*=" ti-"]::before {
    font-family: "themify" !important;
}

body,
#wrapper-container,
#apus-main-content {
    background-color: #F5F9F7 !important;
    color: #17251F;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   BƯỚC 1 — HEADER (PERSISTED & PRESERVED)
   ========================================================================== */
#apus-header {
    background-color: #F5F9F7 !important;
    border-bottom: 1px solid #E1EBE6 !important;
    box-shadow: none !important;
    position: relative;
    z-index: 999;
}

#apus-header .elementor-section,
#apus-header .elementor-section.custom-header-section,
#apus-header .elementor-top-section {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#apus-header .elementor-container {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 16px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
}

#apus-header .elementor-container:before,
#apus-header .elementor-container:after {
    display: none !important;
}

/* Header Columns */
#apus-header .header-col-logo,
#apus-header .elementor-element-col_logo {
    width: auto !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

#apus-header .header-col-logo .elementor-widget-wrap {
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
}

#apus-header .header-col-actions,
#apus-header .elementor-element-col_nav_actions {
    width: auto !important;
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: flex-end !important;
    padding: 0 !important;
    margin: 0 !important;
}

#apus-header .header-col-actions .elementor-widget-wrap {
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 30px !important;
}

#apus-header .header-col-actions .elementor-widget-wrap:before,
#apus-header .header-col-actions .elementor-widget-wrap:after {
    display: none !important;
}

/* Brand Logo Text & Customizer Image */
.site-logo-brand {
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    font-family: inherit;
    line-height: 1 !important;
}

.site-logo-brand:hover,
.site-logo-brand:focus {
    text-decoration: none !important;
}

.site-logo-brand .logo-text-timviec {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #17251F !important;
    letter-spacing: -0.4px !important;
}

.site-logo-brand .logo-text-24h {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #087A5B !important;
    margin-left: 2px !important;
    letter-spacing: -0.4px !important;
}

.site-logo-brand.site-logo-image img,
.site-logo-brand.site-logo-image .custom-logo {
    max-height: 42px !important;
    width: auto !important;
    display: block !important;
}

/* Header Navigation Menu */
#apus-header .main-menu {
    margin: 0 !important;
    padding: 0 !important;
}

#apus-header .main-menu nav,
#apus-header .main-menu .apus-megamenu {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

#apus-header #primary-menu {
    display: flex !important;
    align-items: center !important;
    gap: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border: none !important;
    background: transparent !important;
}

#apus-header #primary-menu > li {
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    display: inline-block !important;
}

#apus-header #primary-menu > li > a {
    display: inline-block !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #34423C !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transition: color 200ms ease !important;
}

#apus-header #primary-menu > li > a:hover,
#apus-header #primary-menu > li > a:focus,
#apus-header #primary-menu > li.active > a,
#apus-header #primary-menu > li.current-menu-item > a {
    color: #087A5B !important;
    background: transparent !important;
}

#apus-header #primary-menu > li:before,
#apus-header #primary-menu > li:after {
    display: none !important;
}

/* Header Login CTA Button */
/* Header Auth Buttons (Đăng nhập & Đăng ký) */
#apus-header .top-wrapper-menu {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 12px !important;
}

/* Hide default icons in login/register buttons */
#apus-header .top-wrapper-menu .btn-login i,
#apus-header .top-wrapper-menu .btn-login .ti-user,
#apus-header .top-wrapper-menu .btn-login .ti-pencil-alt {
    display: none !important;
}

/* 1. Nút Đăng nhập: text/link style, #17251F, hover #087A5B */
#apus-header .top-wrapper-menu .btn-login.login,
#apus-header .top-wrapper-menu .apus-user-login,
.mobile-login-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: transparent !important;
    color: #17251F !important;
    font-size: 14.5px !important;
    font-weight: 550 !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    border: none !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: color 180ms ease, background-color 180ms ease !important;
    cursor: pointer !important;
}

#apus-header .top-wrapper-menu .btn-login.login:hover,
#apus-header .top-wrapper-menu .btn-login.login:focus,
#apus-header .top-wrapper-menu .apus-user-login:hover,
#apus-header .top-wrapper-menu .apus-user-login:focus,
.mobile-login-link:hover {
    color: #087A5B !important;
    background-color: transparent !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

/* 2. Nút Đăng ký: solid button, background #087A5B, text #FFFFFF, hover #06664D, border-radius 8px, padding 10px 16px */
#apus-header .top-wrapper-menu .btn-login.register,
#apus-header .top-wrapper-menu .apus-user-register,
.mobile-register-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #087A5B !important;
    color: #FFFFFF !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    border: none !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background-color 200ms ease, transform 150ms ease !important;
    cursor: pointer !important;
}

#apus-header .top-wrapper-menu .btn-login.register:hover,
#apus-header .top-wrapper-menu .btn-login.register:focus,
#apus-header .top-wrapper-menu .apus-user-register:hover,
#apus-header .top-wrapper-menu .apus-user-register:focus,
.mobile-register-link:hover {
    background-color: #06664D !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

/* Header Logged-In User Display ("Admin") */
#apus-header .top-wrapper-menu.author-verify,
#apus-header .top-wrapper-menu .infor-account {
    display: inline-flex !important;
    align-items: center !important;
    cursor: pointer !important;
}

#apus-header .top-wrapper-menu .drop-dow {
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
}

#apus-header .top-wrapper-menu .infor-account .name-acount,
#apus-header .top-wrapper-menu.author-verify .name-acount,
#apus-header .top-wrapper-menu .name-acount,
.header_transparent:not(.fix-header) .no_keep_header section.elementor-element:not(.no-transparent) .top-wrapper-menu .infor-account .name-acount {
    color: #17251F !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    margin-left: 10px !important;
    padding-left: 0 !important;
    width: auto !important;
    transition: color 200ms ease !important;
}

#apus-header .top-wrapper-menu .infor-account .name-acount:hover,
#apus-header .top-wrapper-menu .drop-dow:hover .name-acount,
#apus-header .top-wrapper-menu .drop-dow:focus .name-acount {
    color: #087A5B !important;
    text-decoration: none !important;
}

#apus-header .top-wrapper-menu .infor-account .name-acount i,
#apus-header .top-wrapper-menu .infor-account .name-acount .ti-angle-down {
    color: #17251F !important;
    font-size: 11px !important;
    margin-left: 6px !important;
    display: inline-block !important;
}

#apus-header .top-wrapper-menu .avatar-wrapper img {
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
    object-fit: cover !important;
    display: block !important;
    border: 1px solid #DCE7E2 !important;
}

/* ==========================================================================
   HOMEPAGE GENERAL CONTAINERS & ELEMENTOR RESET
   ========================================================================= */
.home-hero,
.job-categories,
.latest-jobs,
.featured-employers,
.cv-cta,
.site-footer-custom {
    width: 100%;
    box-sizing: border-box;
}

.home-hero-container,
.job-categories-container,
.latest-jobs-container,
.featured-employers-container,
.cv-cta-container,
.footer-container {
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* Remove default Workio container margins on homepage */
.home #main-container,
.home #main-container.inner,
.home #main-content,
.home #main {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}
.home #main-container > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.home #main-container > .row > .main-page {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Remove default Elementor row margins */
.elementor-section.elementor-section-stretched {
    background-color: transparent !important;
}

/* Section Header Typography */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-title {
    font-size: 26px;
    font-weight: 750;
    color: #17251F;
    margin: 0;
    letter-spacing: -0.4px;
    line-height: 1.25;
}

.section-link {
    font-size: 14px;
    font-weight: 600;
    color: #087A5B !important;
    text-decoration: none !important;
    transition: color 200ms ease;
}

.section-link:hover {
    color: #06664D !important;
}

/* ==========================================================================
   BƯỚC 2 — HERO + JOB SEARCH
   ========================================================================== */
.home-hero {
    background-color: #F5F9F7;
    padding-top: 60px;
    padding-bottom: 50px;
}

.hero-headline {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.08;
    color: #17251F;
    max-width: 100%;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
}

@media (min-width: 1200px) {
    .hero-headline {
        font-size: 54px !important;
        white-space: nowrap !important;
        max-width: 100% !important;
        line-height: 1.05 !important;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .hero-headline {
        font-size: 44px !important;
        white-space: normal !important;
        max-width: 720px !important;
        line-height: 1.15 !important;
    }
}

.hero-description {
    font-size: 16.5px;
    line-height: 1.6;
    color: #68756F;
    margin: 0 0 28px 0;
}

/* Search Bar Desktop (Step 10A) */
.home-search {
    background: #FFFFFF;
    border: 2px solid #087A5B;
    border-radius: 12px;
    height: 76px;
    min-height: 76px;
    padding: 5px 6px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    max-width: 1140px;
    width: 100%;
}

.search-field {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 16px;
    height: 100%;
    box-sizing: border-box;
}

.search-field-keyword {
    flex: 0 0 35%;
    max-width: 35%;
}

.search-field-category {
    flex: 0 0 25%;
    max-width: 25%;
}

.search-field-location {
    flex: 0 0 25%;
    max-width: 25%;
}

.search-field-button {
    flex: 0 0 15%;
    max-width: 15%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.search-icon-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 12px !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
}

.search-svg {
    width: 16px !important;
    height: 16px !important;
    display: block !important;
    color: #68756F !important;
    stroke: #68756F !important;
    flex-shrink: 0 !important;
}

/* Strictly hide any duplicate i tags, pseudo-elements or font icons in search bar */
.home-search i,
.home-search .fa,
.home-search .flaticon,
.home-search .search-icon,
.home-search .ti-search,
.home-search .ti-location-pin,
.home-search .ti-briefcase {
    display: none !important;
}

.home-search *:before,
.home-search *:after,
.search-field:before,
.search-field:after,
.search-input:before,
.search-input:after,
.search-select:before,
.search-select:after,
.search-icon-wrap:before,
.search-icon-wrap:after {
    content: none !important;
    display: none !important;
}

.search-input {
    width: 100%;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 15px !important;
    color: #17251F !important;
    padding: 8px 0 !important;
    box-shadow: none !important;
}

.search-input::placeholder {
    color: #8C9993;
}

.search-divider {
    width: 1px;
    height: 38px;
    background-color: #DCE7E2;
    flex-shrink: 0;
}

.search-select {
    width: 100%;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 14.5px !important;
    color: #34423C !important;
    padding: 8px 22px 8px 0 !important;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    box-shadow: none !important;
}

/* Ensure Select2 within .home-search is 100% neutralized if present */
.home-search .select2-container,
.home-search .select2-container--default,
.home-search .select2-selection,
.home-search .select2-selection--single {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.home-search .select2-selection__rendered {
    padding-left: 0 !important;
    padding-right: 0 !important;
    line-height: inherit !important;
    color: #34423C !important;
    font-size: 14.5px !important;
}

.home-search .select2-selection__arrow,
.home-search .select2-selection__clear {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.select-arrow-wrap {
    position: absolute;
    right: 16px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.select-arrow-svg {
    width: 12px;
    height: 12px;
    display: block;
    color: #68756F;
    stroke: #68756F;
}

.select-arrow {
    position: absolute;
    right: 16px;
    pointer-events: none;
    color: #68756F;
    font-size: 14px;
}

.search-submit-btn {
    width: 100%;
    height: 64px;
    background-color: #087A5B;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 15px;
    border-radius: 10px;
    padding: 0 28px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 200ms ease;
    white-space: nowrap;
    box-sizing: border-box;
}

.search-submit-btn:hover,
.search-submit-btn:focus {
    background-color: #06664D;
    color: #FFFFFF;
    outline: none;
}

/* Suggested Search Pills */
.suggested-search {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    margin-bottom: 40px;
}

.suggested-label {
    font-size: 13.5px;
    color: #68756F;
    font-weight: 500;
}

.suggested-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.search-pill {
    background-color: #FFFFFF;
    border: 1px solid #DCE7E2;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    color: #34423C;
    text-decoration: none !important;
    display: inline-block;
    transition: all 200ms ease;
}

.search-pill:hover {
    background-color: #E8F3EE;
    color: #087A5B !important;
    border-color: #087A5B;
}

/* ==========================================================================
   BƯỚC 3 — STATISTICS
   ========================================================================== */
.home-stats {
    display: flex;
    align-items: flex-start;
    gap: 70px;
    margin-top: 35px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #17251F;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 13.5px;
    color: #68756F;
    margin-top: 4px;
    line-height: 1.3;
}

/* ==========================================================================
   BƯỚC 4 — JOB CATEGORIES
   ========================================================================== */
.job-categories {
    padding-top: 60px;
    padding-bottom: 20px;
}

.job-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.job-category-card {
    background: #FFFFFF;
    border: 1px solid #DCE7E2;
    border-radius: 12px;
    padding: 14px 16px;
    height: 74px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: border-color 200ms ease, transform 200ms ease;
}

.job-category-card:hover {
    border-color: #087A5B;
    transform: translateY(-2px);
}

.category-icon-box {
    width: 40px;
    height: 40px;
    background: #E8F3EE;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.category-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.category-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #26352E;
    margin: 0;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-count {
    font-size: 12px;
    color: #7A8781;
    margin-top: 3px;
}

/* ==========================================================================
   BƯỚC 5 — LATEST JOBS
   ========================================================================== */
.latest-jobs {
    padding-top: 60px;
    padding-bottom: 20px;
}

.latest-jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.job-card {
    background: #FFFFFF;
    border: 1px solid #DCE7E2;
    border-radius: 12px;
    padding: 16px 20px;
    min-height: 88px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: border-color 200ms ease, transform 200ms ease;
}

.job-card:hover {
    border-color: #087A5B;
    transform: translateY(-2px);
}

.job-avatar-box {
    width: 38px;
    height: 38px;
    background: #087A5B;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.job-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.job-title {
    font-size: 16px;
    font-weight: 700;
    color: #17251F;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.job-company {
    font-size: 13px;
    color: #68756F;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.job-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.badge-salary {
    background-color: #F5B51B;
    color: #3E3200;
    font-weight: 700;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 5px;
    line-height: 1.4;
}

.badge-tag {
    background-color: #E8F3EE;
    color: #47645A;
    font-weight: 500;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 5px;
    line-height: 1.4;
}

/* ==========================================================================
   BƯỚC 6 — FEATURED EMPLOYERS
   ========================================================================== */
.featured-employers {
    padding-top: 60px;
    padding-bottom: 20px;
}

.featured-employers .section-title {
    margin-bottom: 24px;
}

.featured-employers-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.employer-card {
    background: #FFFFFF;
    border: 1px solid #DCE7E2;
    border-radius: 12px;
    height: 115px;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: border-color 200ms ease, transform 200ms ease;
}

.employer-card:hover {
    border-color: #087A5B;
    transform: translateY(-2px);
}

.employer-avatar-box {
    width: 46px;
    height: 46px;
    background: #F8FAF9;
    border: 1px solid #E1EBE6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.employer-name {
    font-size: 13px;
    font-weight: 600;
    color: #17251F;
    margin-top: 10px;
    line-height: 1.3;
}

/* ==========================================================================
   BƯỚC 7 — CREATE CV CTA
   ========================================================================== */
.cv-cta {
    padding-top: 60px;
    padding-bottom: 70px;
}

.cv-cta-banner {
    background-color: #087A5B;
    border-radius: 14px;
    padding: 38px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-sizing: border-box;
}

.cv-cta-left {
    max-width: 650px;
}

.cv-cta-title {
    font-size: 28px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 8px 0;
    letter-spacing: -0.4px;
    line-height: 1.2;
}

.cv-cta-desc {
    font-size: 14.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

.cv-cta-right {
    flex-shrink: 0;
}

.btn-create-cv {
    display: inline-block;
    background-color: #F5B51B;
    color: #26301D !important;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: opacity 200ms ease, transform 150ms ease;
}

.btn-create-cv:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

/* ==========================================================================
   BƯỚC 8 — FOOTER
   ========================================================================== */
#apus-footer {
    background-color: #F5F9F7 !important;
    border-top: 1px solid #DCE7E2 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-footer-custom {
    padding: 22px 0;
    background-color: #F5F9F7;
}

.site-footer-custom .footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copyright {
    font-size: 12.5px;
    color: #68756F;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-links a {
    font-size: 12.5px;
    color: #68756F !important;
    text-decoration: none !important;
    transition: color 200ms ease;
}

.footer-links a:hover {
    color: #087A5B !important;
}

/* ==========================================================================
   BƯỚC 9 — RESPONSIVE BREAKPOINTS (Desktop, Tablet, Mobile)
   ========================================================================== */

/* Desktop Breakpoints (>= 768px) */
@media (min-width: 768px) {
    #apus-header {
        display: block !important;
    }
    #apus-header-mobile {
        display: none !important;
    }
}

/* Tablet: 768px - 1199px */
@media (min-width: 768px) and (max-width: 1199px) {
    .hero-headline {
        font-size: 48px;
    }
    .job-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .latest-jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .featured-employers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile: <= 767px */
@media (max-width: 767px) {
    #apus-header {
        display: none !important;
    }
    #apus-header-mobile {
        display: block !important;
        background-color: #F5F9F7 !important;
        border-bottom: 1px solid #E1EBE6 !important;
        box-shadow: none !important;
        padding: 10px 16px !important;
        position: relative;
        z-index: 999;
    }

    /* Eliminate blank space below mobile header */
    #apus-main-content,
    .header-mobile ~ #apus-main-content,
    .home #apus-main-content,
    #apus-main-content > .container-fluid,
    #main-container {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    /* Compact Mobile Offcanvas Menu */
    .mm-menu .mm-listview > li > a,
    .mm-menu .mm-listview > li > span {
        padding: 12px 20px !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        color: #17251F !important;
    }
    .mm-menu .mm-listview > li > a:hover,
    .mm-menu .mm-listview > li.active > a {
        color: #087A5B !important;
    }
    .mm-panels > .mm-panel:after {
        display: none !important;
        height: 0 !important;
    }
    .mm-panel .dropdown-menu-inner {
        padding-top: 10px !important;
    }

    /* Prevent mobile horizontal overflow */
    html, body {
        overflow-x: hidden !important;
    }

    #apus-header-mobile .container {
        width: 100% !important;
        padding: 0 !important;
        max-width: 100% !important;
    }

    .mobile-header-flex {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    .mobile-header-left {
        display: flex !important;
        align-items: center !important;
    }

    .mobile-header-left .site-logo-brand .logo-text-timviec,
    .mobile-header-left .site-logo-brand .logo-text-24h {
        font-size: 22px !important;
    }

    .mobile-header-right {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .mobile-header-right .btn-mobile-login {
        padding: 8px 14px !important;
        font-size: 13px !important;
        border-radius: 6px !important;
    }

    .mobile-header-right .btn-mobile-hamburger {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 38px !important;
        height: 38px !important;
        background: transparent !important;
        border: 1px solid #E1EBE6 !important;
        border-radius: 8px !important;
        color: #17251F !important;
        font-size: 18px !important;
        padding: 0 !important;
        margin: 0 !important;
        cursor: pointer !important;
        text-decoration: none !important;
        transition: background-color 200ms ease, color 200ms ease !important;
    }

    .mobile-header-right .btn-mobile-hamburger:hover,
    .mobile-header-right .btn-mobile-hamburger:focus {
        background-color: #EBF3EF !important;
        color: #087A5B !important;
        text-decoration: none !important;
    }

    /* Mobile Hero & Search */
    .home-hero {
        padding-top: 18px !important;
        padding-bottom: 28px !important;
    }
    .hero-headline {
        font-size: 34px !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        max-width: 100% !important;
    }
    .hero-description {
        font-size: 15px;
        margin-bottom: 24px;
    }
    /* Mobile Search (Step 10A) */
    .home-search {
        flex-direction: column !important;
        height: auto !important;
        min-height: 0 !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    .search-field-category,
    .search-field-location,
    .search-divider {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }

    .search-field-keyword {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        height: 54px !important;
        background: #FFFFFF !important;
        border: 2px solid #087A5B !important;
        border-radius: 10px !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
    }

    .search-field-button {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-top: 10px !important;
        padding: 0 !important;
    }

    .search-submit-btn {
        width: 100% !important;
        height: 54px !important;
        border-radius: 10px !important;
        margin-top: 0 !important;
        padding: 0 !important;
    }
    .suggested-search {
        margin-top: 14px;
        margin-bottom: 30px;
    }
    .home-stats {
        gap: 24px;
        flex-wrap: wrap;
        margin-top: 25px;
    }
    .stat-number {
        font-size: 24px;
    }

    /* Mobile Sections Spacing */
    .job-categories,
    .latest-jobs,
    .featured-employers,
    .cv-cta {
        padding-top: 45px;
        padding-bottom: 15px;
    }
    .job-category-grid {
        grid-template-columns: 1fr;
    }
    .latest-jobs-grid {
        grid-template-columns: 1fr;
    }
    .featured-employers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Mobile CTA */
    .cv-cta {
        padding-bottom: 45px;
    }
    .cv-cta-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 22px;
        gap: 20px;
    }
    .cv-cta-title {
        font-size: 24px;
    }
    .cv-cta-right {
        width: 100%;
    }
    .btn-create-cv {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    /* Mobile Footer */
    .site-footer-custom .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .footer-links {
        flex-wrap: wrap;
        gap: 14px;
    }
}

/* Accessibility Utilities */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.search-input:focus,
.search-input:focus-visible,
.search-select:focus,
.search-select:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.search-submit-btn:focus-visible {
    outline: 2px solid #087A5B !important;
    outline-offset: 2px !important;
}

/* ==========================================================================
   ẨN HOÀN TOÀN PAGE TITLE / BREADCRUMB HEADER TRÊN TOÀN BỘ WEBSITE
   - Ẩn triệt để #apus-breadscrumb, .wrapper-breads, .bread-title
   - Đảm bảo không còn bất kỳ khoảng trống hay banner nào xuất hiện dưới Header
   ========================================================================== */

#apus-breadscrumb,
.apus-breadscrumb,
.breadcrumb-page,
.wrapper-breads,
.wrapper-breads-inner,
.breadscrumb-inner,
.bread-title,
.breadcrumb,
ol.breadcrumb,
ul.breadcrumb,
.woocommerce-breadcrumb,
.breadcrumb-wrapper,
.job-breadcrumb,
.candidate-breadcrumb,
.employer-breadcrumb,
.apus-breadcrumbs {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

/* Khoảng cách trên cùng hợp lý cho các trang nội dung khi không còn breadcrumb banner */
.single-post #main-container,
.single-post.main-content {
    padding-top: 35px !important;
}

/* Các trang mặc định (page.php, archive blog, employer list) nếu không có top filter */
body.blog #main-container,
body.archive:not(.post-type-archive-job_listing) #main-container,
body.page-template-page-employers #main-container,
body.post-type-archive-employer #main-container {
    padding-top: 35px !important;
}

/* Đảm bảo Homepage (/) tuyệt đối không bị ảnh hưởng */
body.home #apus-breadscrumb {
    display: none !important;
}

/* Responsive spacing cho Mobile */
@media (max-width: 767px) {
    .single-post #main-container,
    .single-post.main-content,
    body.blog #main-container,
    body.archive:not(.post-type-archive-job_listing) #main-container,
    body.page-template-page-employers #main-container,
    body.post-type-archive-employer #main-container {
        padding-top: 20px !important;
    }
}

/* ==========================================================================
   REDESIGN JOB LISTING (SCOPED STRICTLY TO JOB ARCHIVE & LISTING PAGES)
   - Giữ nguyên 100% hệ màu của website Tìm Việc 24H
   - Thu gọn khoảng cách banner, search bar, và các thành phần
   - Bộ lọc chọn hiển thị dạng chip nhỏ gọn
   - Tổng kết quả và sắp xếp trên 1 hàng
   - Job Cards 2 cột trên desktop, 1 cột trên mobile
   ========================================================================== */

/* 1. Page Background & Container Spacing */
body.page-template-page-jobs,
body.post-type-archive-job_listing,
body.tax-job_listing_category,
body.tax-job_listing_location,
body.tax-job_listing_type,
body.tax-job_listing_tag {
    background-color: #F5F9F7 !important;
}

/* 2. Top Filter Sidebar Wrapper (Thanh tìm kiếm) */
body.page-template-page-jobs .jobs-filter-top-sidebar-wrapper,
body.post-type-archive-job_listing .jobs-filter-top-sidebar-wrapper,
body.tax-job_listing_category .jobs-filter-top-sidebar-wrapper,
body.tax-job_listing_location .jobs-filter-top-sidebar-wrapper,
body.tax-job_listing_type .jobs-filter-top-sidebar-wrapper,
body.tax-job_listing_tag .jobs-filter-top-sidebar-wrapper {
    margin-top: 0 !important;
    padding: 16px 0 !important;
    background-color: #FFFFFF !important;
    border-bottom: 1px solid #DCE7E2 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

body.page-template-page-jobs .widget-filter-top,
body.post-type-archive-job_listing .widget-filter-top,
body.tax-job_listing_category .widget-filter-top,
body.tax-job_listing_location .widget-filter-top,
body.tax-job_listing_type .widget-filter-top,
body.tax-job_listing_tag .widget-filter-top {
    padding: 0 !important;
    border: none !important;
}

/* Main Container spacing */
body.page-template-page-jobs #main-container,
body.post-type-archive-job_listing #main-container,
body.tax-job_listing_category #main-container,
body.tax-job_listing_location #main-container,
body.tax-job_listing_type #main-container,
body.tax-job_listing_tag #main-container {
    padding-top: 24px !important;
    padding-bottom: 48px !important;
}

/* 3. Thu gọn các ô tìm kiếm & dropdown bộ lọc */
.jobs-filter-top-sidebar-wrapper .filter-job-form .form-group {
    margin-bottom: 0 !important;
}

.jobs-filter-top-sidebar-wrapper .filter-job-form .form-control,
.jobs-filter-top-sidebar-wrapper .filter-job-form select,
.jobs-filter-top-sidebar-wrapper .filter-job-form .select2-container .select2-selection--single {
    height: 42px !important;
    border: 1px solid #DCE7E2 !important;
    border-radius: 8px !important;
    background-color: #FFFFFF !important;
    color: #17251F !important;
    font-size: 14px !important;
    line-height: 40px !important;
    box-shadow: none !important;
    transition: border-color 150ms ease, box-shadow 150ms ease !important;
    box-sizing: border-box !important;
}

.jobs-filter-top-sidebar-wrapper .filter-job-form .form-control:focus,
.jobs-filter-top-sidebar-wrapper .filter-job-form .select2-container--open .select2-selection--single {
    border-color: #087A5B !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(8, 122, 91, 0.1) !important;
}

.jobs-filter-top-sidebar-wrapper .filter-job-form .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 40px !important;
    font-size: 14px !important;
    color: #17251F !important;
    padding-left: 14px !important;
    padding-right: 28px !important;
}

.jobs-filter-top-sidebar-wrapper .filter-job-form .select2-container .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
    right: 10px !important;
}

.jobs-filter-top-sidebar-wrapper .filter-job-form input::placeholder {
    color: #94A3B8 !important;
}

/* Nút Filter & Advance */
.jobs-filter-top-sidebar-wrapper .filter-job-form .space-bottom-15 {
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.jobs-filter-top-sidebar-wrapper .filter-job-form .btn-theme-second,
.jobs-filter-top-sidebar-wrapper .filter-job-form button.button {
    height: 42px !important;
    line-height: 42px !important;
    padding: 0 20px !important;
    background-color: #087A5B !important;
    color: #FFFFFF !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 8px !important;
    transition: background-color 150ms ease !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.jobs-filter-top-sidebar-wrapper .filter-job-form .btn-theme-second:hover,
.jobs-filter-top-sidebar-wrapper .filter-job-form button.button:hover {
    background-color: #06664D !important;
    color: #FFFFFF !important;
}

.jobs-filter-top-sidebar-wrapper .filter-job-form .toggle-adv {
    height: 42px !important;
    line-height: 40px !important;
    padding: 0 16px !important;
    background-color: #F8FAF9 !important;
    color: #17251F !important;
    border: 1px solid #DCE7E2 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 150ms ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.jobs-filter-top-sidebar-wrapper .filter-job-form .toggle-adv:hover {
    background-color: #E8F3EE !important;
    border-color: #087A5B !important;
    color: #087A5B !important;
}

/* Hàng bộ lọc nâng cao (Advance fields) */
.jobs-filter-top-sidebar-wrapper .filter-job-form .advance-fields {
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px dashed #DCE7E2 !important;
}

.jobs-filter-top-sidebar-wrapper .filter-job-form .advance-fields .form-group {
    margin-bottom: 10px !important;
}

/* 4. Bộ lọc đang chọn hiển thị dạng chip nhỏ gọn */
.jobs-listing-wrapper .results-filter-wrapper {
    margin-bottom: 18px !important;
    padding: 10px 14px !important;
    background: #FFFFFF !important;
    border: 1px solid #DCE7E2 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.jobs-listing-wrapper .results-filter-wrapper .title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #68756F !important;
    margin: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    flex-shrink: 0 !important;
}

.jobs-listing-wrapper .results-filter-wrapper .inner {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: 1 1 auto !important;
}

.jobs-listing-wrapper .results-filter-wrapper ul.results-filter {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    align-items: center !important;
}

.jobs-listing-wrapper .results-filter-wrapper ul.results-filter li {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.jobs-listing-wrapper .results-filter-wrapper ul.results-filter li a {
    background: #E8F3EE !important;
    color: #087A5B !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 20px !important;
    padding: 4px 10px 4px 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 150ms ease !important;
    text-decoration: none !important;
    border: 1px solid #CDE2D8 !important;
}

.jobs-listing-wrapper .results-filter-wrapper ul.results-filter li a:hover {
    background: #087A5B !important;
    color: #FFFFFF !important;
    border-color: #087A5B !important;
}

.jobs-listing-wrapper .results-filter-wrapper ul.results-filter li a .close-value {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    background: #087A5B !important;
    color: #FFFFFF !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.jobs-listing-wrapper .results-filter-wrapper ul.results-filter li a:hover .close-value {
    background: #FFFFFF !important;
    color: #087A5B !important;
}

.jobs-listing-wrapper .results-filter-wrapper .inner > a {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #DC2626 !important;
    text-decoration: none !important;
    margin: 0 0 0 auto !important;
    padding: 3px 8px !important;
    border-radius: 5px !important;
    background: #FEE2E2 !important;
    transition: all 150ms ease !important;
}

.jobs-listing-wrapper .results-filter-wrapper .inner > a:hover {
    background: #DC2626 !important;
    color: #FFFFFF !important;
}

/* 5. Tổng số kết quả và Sắp xếp trên cùng 1 hàng */
.jobs-listing-wrapper .jobs-alert-ordering-wrapper {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #DCE7E2 !important;
}

.jobs-listing-wrapper .jobs-alert-ordering-wrapper .results-count {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #68756F !important;
    margin: 0 !important;
}

.jobs-listing-wrapper .jobs-alert-ordering-wrapper .results-count span {
    color: #17251F !important;
    font-weight: 700 !important;
}

.jobs-listing-wrapper .jobs-alert-ordering-wrapper .job-rss-btn {
    display: inline-block !important;
    margin: 0 0 0 10px !important;
}

.jobs-listing-wrapper .jobs-alert-ordering-wrapper .job-rss-btn a {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #087A5B !important;
    background: #E8F3EE !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    transition: background-color 150ms ease !important;
}

.jobs-listing-wrapper .jobs-alert-ordering-wrapper .job-rss-btn a:hover {
    background: #087A5B !important;
    color: #FFFFFF !important;
}

.jobs-listing-wrapper .jobs-alert-ordering-wrapper .jobs-ordering-wrapper {
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
}

.jobs-listing-wrapper .jobs-alert-ordering-wrapper .jobs-ordering {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.jobs-listing-wrapper .jobs-alert-ordering-wrapper .jobs-ordering .label {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #68756F !important;
    margin: 0 !important;
    padding: 0 !important;
}

.jobs-listing-wrapper .jobs-alert-ordering-wrapper select {
    height: 36px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
    color: #17251F !important;
    background-color: #FFFFFF !important;
    border: 1px solid #DCE7E2 !important;
    border-radius: 6px !important;
    outline: none !important;
    box-shadow: none !important;
}

.jobs-listing-wrapper .jobs-alert-ordering-wrapper .form-workio-ppp {
    margin-left: 8px !important;
}

/* 6. Job Cards: 2 CỘT TRÊN DESKTOP, 1 CỘT TRÊN MOBILE */
.jobs-listing-wrapper .jobs-wrapper.items-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
}

.jobs-listing-wrapper .jobs-wrapper.items-wrapper .style-list-jobs {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    width: 100% !important;
}

/* Support for Grid Mode (.row wrapper) */
.jobs-listing-wrapper .jobs-wrapper.items-wrapper > .row::before,
.jobs-listing-wrapper .jobs-wrapper.items-wrapper > .row::after {
    display: none !important;
    content: none !important;
}

.jobs-listing-wrapper .jobs-wrapper.items-wrapper > .row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    margin: 0 !important;
    width: 100% !important;
}

.jobs-listing-wrapper .jobs-wrapper.items-wrapper > .row > div {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    display: flex !important;
    clear: none !important;
}

/* 7. Định dạng Job Card theo bố cục tham khảo */
.jobs-listing-wrapper .job-card,
.jobs-listing-wrapper .job-list {
    background: #FFFFFF !important;
    border: 1px solid #DCE7E2 !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    min-height: 88px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    margin: 0 !important;
    transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease !important;
    overflow: hidden !important;
    text-decoration: none !important;
}

.jobs-listing-wrapper .job-card:hover,
.jobs-listing-wrapper .job-list:hover {
    border-color: #087A5B !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 14px rgba(8, 122, 91, 0.08) !important;
}

/* Overlay Link to make entire card clickable */
.jobs-listing-wrapper .job-card-link-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1 !important;
    text-decoration: none !important;
}

/* Avatar Box */
.jobs-listing-wrapper .job-avatar-box,
.jobs-listing-wrapper .job-employer-logo .employer-logo {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    background: #087A5B !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 2 !important;
}

.jobs-listing-wrapper .job-avatar-box img,
.jobs-listing-wrapper .job-avatar-img,
.jobs-listing-wrapper .job-employer-logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    background: #FFFFFF !important;
}

.jobs-listing-wrapper .job-avatar-letter {
    color: #FFFFFF !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

/* Card Body */
.jobs-listing-wrapper .job-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Job Title */
.jobs-listing-wrapper .job-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #17251F !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.35 !important;
}

.jobs-listing-wrapper .job-title a {
    color: #17251F !important;
    text-decoration: none !important;
    transition: color 150ms ease !important;
}

.jobs-listing-wrapper .job-card:hover .job-title a {
    color: #087A5B !important;
}

/* Company */
.jobs-listing-wrapper .job-company {
    font-size: 13px !important;
    color: #68756F !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;
}

.jobs-listing-wrapper .job-company a {
    color: #68756F !important;
    text-decoration: none !important;
}

.jobs-listing-wrapper .job-company a:hover {
    color: #087A5B !important;
    text-decoration: underline !important;
}

/* Badges Row */
.jobs-listing-wrapper .job-badges {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: auto !important;
}

.jobs-listing-wrapper .badge-salary {
    background-color: #F5B51B !important;
    color: #3E3200 !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    padding: 3px 8px !important;
    border-radius: 5px !important;
    line-height: 1.4 !important;
    display: inline-block !important;
}

.jobs-listing-wrapper .badge-tag {
    background-color: #E8F3EE !important;
    color: #47645A !important;
    font-weight: 500 !important;
    font-size: 12px !important;
    padding: 3px 8px !important;
    border-radius: 5px !important;
    line-height: 1.4 !important;
    display: inline-block !important;
}

.jobs-listing-wrapper .badge-urgent {
    background-color: #FEE2E2 !important;
    color: #DC2626 !important;
    font-weight: 600 !important;
    font-size: 11px !important;
    padding: 2px 7px !important;
    border-radius: 4px !important;
    line-height: 1.4 !important;
    display: inline-block !important;
}

.jobs-listing-wrapper .badge-featured {
    background-color: #DCFCE7 !important;
    color: #16A34A !important;
    font-weight: 600 !important;
    font-size: 11px !important;
    padding: 2px 7px !important;
    border-radius: 4px !important;
    line-height: 1.4 !important;
    display: inline-block !important;
}

/* Ẩn các nhãn mặc định thừa của Workio card */
.jobs-listing-wrapper .featured-urgent-label {
    display: none !important;
}
.jobs-listing-wrapper .job-list-container {
    width: 100% !important;
}
.jobs-listing-wrapper .deadline-closed {
    display: none !important;
}

/* 8. RESPONSIVE MOBILE (<= 767px) */
@media (max-width: 767px) {
    body.page-template-page-jobs .jobs-filter-top-sidebar-wrapper,
    body.post-type-archive-job_listing .jobs-filter-top-sidebar-wrapper {
        padding: 12px 0 !important;
    }

    body.page-template-page-jobs .filter-job-form .top-search .row > div,
    body.post-type-archive-job_listing .filter-job-form .top-search .row > div {
        margin-bottom: 8px !important;
    }

    body.page-template-page-jobs .filter-job-form .space-bottom-15,
    body.post-type-archive-job_listing .filter-job-form .space-bottom-15 {
        margin-top: 4px !important;
    }

    .jobs-listing-wrapper .jobs-alert-ordering-wrapper {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        align-items: center !important;
        margin-bottom: 16px !important;
        padding-bottom: 12px !important;
    }

    .jobs-listing-wrapper .jobs-alert-ordering-wrapper .results-count {
        grid-column: 1 / -1 !important;
        margin: 0 !important;
        font-size: 13px !important;
    }

    .jobs-listing-wrapper .jobs-alert-ordering-wrapper .job-rss-btn {
        display: none !important;
    }

    .jobs-listing-wrapper .jobs-alert-ordering-wrapper .jobs-ordering-wrapper {
        width: 100% !important;
        margin: 0 !important;
    }

    .jobs-listing-wrapper .jobs-alert-ordering-wrapper .jobs-ordering {
        width: 100% !important;
    }

    .jobs-listing-wrapper .jobs-alert-ordering-wrapper .form-workio-ppp {
        width: 100% !important;
        margin: 0 !important;
    }

    .jobs-listing-wrapper .jobs-alert-ordering-wrapper .jobs-ordering .label {
        display: none !important;
    }

    .jobs-listing-wrapper .jobs-alert-ordering-wrapper select,
    .jobs-listing-wrapper .jobs-alert-ordering-wrapper .select2-container,
    .jobs-listing-wrapper .jobs-alert-ordering-wrapper .select2-container--default .select2-selection--single {
        width: 100% !important;
        height: 36px !important;
        line-height: 34px !important;
        font-size: 13px !important;
        border-radius: 6px !important;
    }

    .jobs-listing-wrapper .jobs-alert-ordering-wrapper .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 34px !important;
        padding-left: 8px !important;
        font-size: 13px !important;
    }

    .jobs-listing-wrapper .jobs-alert-ordering-wrapper .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 34px !important;
    }

    .jobs-listing-wrapper .jobs-wrapper.items-wrapper,
    .jobs-listing-wrapper .jobs-wrapper.items-wrapper > .row {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .jobs-listing-wrapper .job-card,
    .jobs-listing-wrapper .job-list {
        padding: 14px 16px !important;
        gap: 12px !important;
    }

    .jobs-listing-wrapper .job-avatar-box {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        font-size: 16px !important;
    }

    .jobs-listing-wrapper .job-title {
        font-size: 14px !important;
    }
}
