/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** 1. GLOBAL & LAYOUT ***************/
.filter-search-input button {
    margin: 0;
}
.text-center { text-align: center; }
.cokivi-home-wrapper .container, 
.cokivi-archive-container, 
.cokivi-company-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding-left: 15px; 
    padding-right: 15px; 
}

/* Section Styling */
.section-box { margin-bottom: 40px; }
.section-title { 
    border-left: 4px solid #004e92; 
    padding-left: 12px; 
/* 	font-size: 20px; */
}
.section-desc { color: #666; margin-bottom: 40px; }
.home-section { padding: 60px 0; }

/* Badge Verified */
.verified-badge, .verified-icon { 
    color: #1877f2; 
    font-size: 14px; 
    margin-left: 5px; 
    background: #e3f2fd; 
    padding: 2px 8px; 
    border-radius: 10px; 
    vertical-align: middle;
}

/*************** 2. BUTTONS & ACTIONS ***************/
.btn-action { 
    display: flex; align-items: center; justify-content: center; 
    width: 100%; padding: 10px; margin-bottom: 10px; 
    border-radius: 5px; font-weight: 600; text-decoration: none !important; 
    transition: 0.2s; gap: 8px; font-size: 14px; 
}
.btn-action:hover { opacity: 0.9; transform: translateY(-1px); }

/* Color Variants */
.btn-zalo { background: #1877f2; color: #fff !important; }
.btn-email { background: #fff; border: 1px solid #ddd; color: #333 !important; }
.btn-download { background: #27ae60; color: #fff !important; }
.btn-quote { background: #f57c00; color: #fff !important; border: none; }
.btn-quote:hover { background: #ef6c00; box-shadow: 0 4px 8px rgba(245, 124, 0, 0.4); }
.btn-view-profile { 
    font-size: 12px; font-weight: 600; color: #fff !important; 
    background: #004e92; padding: 6px 12px; border-radius: 4px; text-decoration: none; 
}
.btn-view-profile:hover { background: #0054cc; }

/* Home CTA Button */
.btn-cta-white { 
    display: inline-block; background: #fff; color: #f57c00 !important; 
    font-weight: 700; padding: 12px 30px; border-radius: 50px; 
    text-decoration: none; transition: 0.3s; box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
}
.btn-cta-white:hover { background: #fff3e0; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0,0,0,0.2); }

/* Promo Sidebar Button */
.btn-promo { 
    display: block; background: #d32f2f; color: #fff !important; 
    padding: 12px 15px; border-radius: 6px; font-weight: 700; 
    text-decoration: none; text-transform: uppercase; font-size: 14px; 
    transition: 0.3s; box-shadow: 0 4px 6px rgba(211, 47, 47, 0.3); 
}
.btn-promo:hover { background: #b71c1c; transform: translateY(-2px); box-shadow: 0 6px 12px rgba(211, 47, 47, 0.4); }


/*************** 3. FORMS (CF7 & POPUP) ***************/
/* Popup Form */
#popup-bao-gia { width: 100%; max-width: 600px; border-radius: 10px; padding: 0; overflow: hidden; background: #fff; }
.quote-popup-content { padding: 30px; }
.quote-title { text-align: center; font-size: 24px; color: #333; margin-bottom: 5px; font-weight: 700; text-transform: uppercase; }
.quote-subtitle { text-align: center; color: #666; margin-bottom: 25px; border-bottom: 1px solid #eee; padding-bottom: 15px; }

/* CF7 Inputs */
.cf7-wrapper input[type="text"], .cf7-wrapper input[type="email"], .cf7-wrapper input[type="tel"], .cf7-wrapper textarea,
.cokivi-register-form input[type="text"], .cokivi-register-form input[type="email"], .cokivi-register-form input[type="tel"], .cokivi-register-form input[type="url"], .cokivi-register-form select {
    width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 5px; background: #fafafa; margin-bottom: 15px;
}
.cf7-wrapper input:focus, .cokivi-register-form input:focus { border-color: #004e92; background: #fff; outline: none; }

/* Register Page Form Specifics */
.register-form-box { background: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border: 1px solid #eee; }
.form-header { margin-bottom: 25px; text-align: center; }
.form-row { display: flex; gap: 20px; margin-bottom: 15px; }
.form-col { flex: 1; }
.form-col.full-width { flex: 100%; }
.form-col label { display: block; font-weight: 600; margin-bottom: 5px; font-size: 14px; color: #444; }
.wpcf7-list-item { display: inline-block; margin-right: 15px; margin-bottom: 10px; }
.upload-row { background: #fff8e1; padding: 15px; border-radius: 5px; border: 1px dashed #ffb300; }
.note { font-size: 13px; color: #f57c00; font-style: italic; margin-bottom: 10px; }

/* Form Submit Buttons */
.cf7-wrapper input[type="submit"], .form-submit input[type="submit"] {
    width: 100%; background: #004e92; color: #fff; padding: 12px; border: none; border-radius: 4px; font-weight: bold; cursor: pointer; text-transform: uppercase; transition: 0.3s;
}
.form-submit input[type="submit"] { background: #d32f2f; font-size: 16px; padding: 15px; }
.cf7-wrapper input[type="submit"]:hover { background: #0054cc; }
.form-submit input[type="submit"]:hover { background: #b71c1c; transform: translateY(-2px); }


/*************** 4. SINGLE COMPANY PAGE (CHI TIẾT) ***************/
.cokivi-company-container { padding-top: 30px; padding-bottom: 50px; }

/* Header */
.company-header { border-bottom: 2px solid #f1f1f1; padding-bottom: 20px; margin-bottom: 30px; }
.company-title {color: var(--primaty-color);}
.company-meta .meta-item { display: inline-block; margin-right: 20px; color: #666; font-size: 14px; margin-top: 5px; }
.company-meta i { color: #999; margin-right: 5px; }

/* Sidebar */
.sidebar-inner-box { background: #f8f9fa; padding: 20px; border-radius: 8px; border: 1px solid #eee; }
.company-logo { text-align: center; margin-bottom: 20px; background: #fff; padding: 10px; border-radius: 6px; border: 1px solid #eee; }
.company-logo img { max-height: 120px; object-fit: contain; }

/* Contact List */
.contact-info-list { margin-top: 20px; border-top: 1px solid #eee; padding-top: 15px; }
.contact-item { display: flex; margin-bottom: 12px; font-size: 14px; line-height: 1.4; }
.contact-item .icon-box { width: 25px; color: #004e92; flex-shrink: 0; }

/* Socials */
.company-socials-section { margin-top: 20px; padding-top: 15px; border-top: 1px solid #ddd; text-align: center; }
.company-socials-section p { font-size: 15px; margin-bottom: 10px; color: #555; font-weight: bold; }
.social-buttons { display: flex; justify-content: center; gap: 10px; }
.social-icon { width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff !important; font-size: 16px; transition: 0.2s; }
.social-icon.fb { background: #1877f2; }
.social-icon.yt { background: #ff0000; }
.social-icon.tt { background: #000; }
.social-icon:hover { transform: scale(1.1); }

/* Content: Video, Products, Machines */
.about-section ul { margin-left: 1.3em; }
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 8px; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.product-item { border: 1px solid #eee; border-radius: 6px; overflow: hidden; transition: 0.3s; }
.product-item:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.product-item .p-img img { width: 100%; height: 150px; object-fit: cover; }
.product-item .p-name { padding: 10px; margin: 0; font-weight: 600; text-align: center; font-size: 14px; background: #fafafa; border-top: 1px solid #eee; }
/* Lightbox hover effect */
.product-item .p-img, .cert-item { cursor: pointer; position: relative; }
.product-item .p-img:hover img, .cert-item:hover img { opacity: 0.9; }

.machine-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.machine-table th { background: #f1f1f1; text-align: left; padding: 12px; border: 1px solid #ddd; font-weight: 600; }
.machine-table td { border: 1px solid #ddd; padding: 10px; vertical-align: middle; }

.cert-grid, .partner-grid { display: flex; flex-wrap: wrap; gap: 15px; }
.cert-item img, .partner-item img { height: 80px; width: auto; border: 1px solid #eee; padding: 5px; border-radius: 4px; object-fit: contain; }

/* Sidebar Promo Box */
.sidebar-promo-box { margin-top: 30px; background: #fff8e1; border: 2px dashed #ffb300; padding: 25px 20px; border-radius: 12px; text-align: center; position: relative; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.promo-icon { width: 50px; height: 50px; background: #ffb300; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 15px auto; }
.promo-title { font-size: 18px; font-weight: 700; color: #333; margin-bottom: 10px; line-height: 1.3; }
.promo-desc { font-size: 14px; color: #555; margin-bottom: 20px; line-height: 1.5; }


/*************** 5. ARCHIVE PAGE (DANH MỤC) ***************/
.cokivi-archive-container { padding-top: 40px; padding-bottom: 60px; background: #fdfdfd; }
.archive-header { border-bottom: 2px solid #eee; margin-bottom: 30px; padding-bottom: 20px; }
.archive-title { font-size: 28px; color: #333; font-weight: 700; }
.archive-title .sub-text { font-size: 18px; color: #666; font-weight: 400; display: block; margin-bottom: 5px; }
.archive-count { margin-top: 10px; font-size: 14px; color: #666; font-style: italic; }

/* Header Promo Box (Archive) */
.header-promo-box { background: linear-gradient(135deg, #fff9c4 0%, #ffecb3 100%); border: 1px dashed #ffb300; border-radius: 8px; padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 4px 10px rgba(255, 193, 7, 0.2); }
.promo-content h3 { margin: 0 0 5px 0; font-size: 18px; color: #d32f2f; font-weight: 700; }
.promo-content p { margin: 0; color: #555; }
.promo-btn { margin-left: 20px; flex-shrink: 0; }

/* Company Card Item (Horizontal) */
.company-card-item { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 20px; margin-bottom: 20px; transition: all 0.3s ease; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.company-card-item:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.08); transform: translateY(-3px); border-color: #dbeaff; }

.card-logo-box { border: 1px solid #f1f1f1; border-radius: 6px; padding: 10px; height: 120px; display: flex; align-items: center; justify-content: center; background: #fff; }
.card-logo-box img { max-height: 100%; width: auto; object-fit: contain; }

.card-title { font-size: 20px; margin-bottom: 10px; margin-top: 0; line-height: 1.3; }
.card-title a { color: #333; text-decoration: none; font-weight: 700; }
.card-title a:hover { color: #004e92; }
.card-meta { font-size: 14px; color: #555; margin-bottom: 15px; }
.meta-line { margin-bottom: 6px; }
.meta-line i { color: #999; width: 20px; text-align: center; margin-right: 5px; }

.card-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-badge { background: #f0f2f5; color: #555; font-size: 12px; padding: 3px 8px; border-radius: 4px; }
.tag-more { font-size: 12px; color: #999; padding: 3px; }

.card-actions { display: flex; flex-direction: column; gap: 10px; text-align: center; }
.btn-card { display: block; padding: 10px 15px; border-radius: 5px; font-size: 14px; font-weight: 600; text-decoration: none; transition: 0.2s; }
.btn-view { background: #004e92; color: #fff !important; }
.btn-view:hover { background: #0056d6; }
.btn-quote-mini { background: #fff; border: 1px solid #f57c00; color: #f57c00 !important; }
.btn-quote-mini:hover { background: #f57c00; color: #fff !important; }

/* Pagination */
.archive-pagination { margin-top: 40px; text-align: center; }
.archive-pagination .page-numbers { display: inline-block; padding: 8px 15px; margin: 0 5px; border: 1px solid #ddd; color: #333; text-decoration: none; border-radius: 4px; }
.archive-pagination .current { background: #004e92; color: #fff; border-color: #004e92; }


/*************** 6. HOME PAGE (TRANG CHỦ) ***************/
/* Hero Section */
.home-hero {
    background: linear-gradient(rgba(0,30,60,0.85), rgba(0,30,60,0.8)), url('https://images.unsplash.com/photo-1565043589221-1a6fd9ae45c7?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover; background-position: center; padding: 100px 0; color: #fff; text-align: center;
}
.hero-title { font-size: 36px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; color: #fff; letter-spacing: 1px; }
.hero-subtitle { font-size: 18px; margin-bottom: 30px; opacity: 0.9; }

.search-input-group { display: flex; background: #fff; border-radius: 50px; padding: 5px; max-width: 700px; margin: 0 auto; box-shadow: 0 5px 20px rgba(0,0,0,0.3); }
.search-input-group input { border: none; flex: 1; padding: 10px 20px; font-size: 16px; outline: none; background: transparent; box-shadow:none;margin-bottom: 0 !important;margin-top: 10px;}
.btn-search { background: #004e92; color: #fff; border: none; padding: 10px 30px; border-radius: 40px; font-weight: 600; cursor: pointer; transition: 0.3s; margin-bottom:0;margin-right:0}
.btn-search:hover { background: #0054cc; }

.hero-tags { margin-top: 20px; font-size: 14px; color: #ccc; }
.hero-tags a { color: #fff; text-decoration: underline; margin-left: 10px; }
.hero-tags a:hover { color: #f57c00; }

/* Home: Register Hero */
.register-hero { background: linear-gradient(135deg, #004e92 0%, #000428 100%); color: #fff; padding: 60px 0; text-align: center; margin-bottom: 40px; }
.hero-desc { font-size: 16px; max-width: 700px; margin: 0 auto 30px auto; opacity: 0.9; }
.hero-stats { display: flex; justify-content: center; gap: 30px; }
.stat-item { background: rgba(255,255,255,0.1); padding: 8px 15px; border-radius: 20px; font-size: 14px; }
.stat-item i { color: #f57c00; margin-right: 5px; }

/* Industry Grid (3 Cols) */
.industry-section { background: #fff; }
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.industry-col { background: #fdfdfd; border: 1px solid #eee; border-radius: 8px; overflow: hidden; transition: 0.3s; }
.industry-col:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }

.industry-header { padding: 20px; display: flex; align-items: center; gap: 15px; color: #fff; }
.header-blue { background: linear-gradient(135deg, #004e92 0%, #004e92 100%); }
.header-green { background: linear-gradient(135deg, #27ae60 0%, #11998e 100%); }
.header-orange { background: linear-gradient(135deg, #f57c00 0%, #e65100 100%); }
.industry-header h3 { margin: 0; font-size: 18px; color: #fff; font-weight: 700; }
.industry-header i { font-size: 24px; }

.industry-list { list-style: none; margin: 0; padding: 10px 0; }
.industry-list li a { display: block; padding: 12px 20px; color: #555; text-decoration: none; border-bottom: 1px solid #f5f5f5; font-size: 15px; transition: 0.2s; }
.industry-list li a:hover { color: #004e92; padding-left: 25px; background: #fafafa; }
.industry-list li a i { margin-right: 10px; color: #ccc; font-size: 12px; }

/* Product Tags (Cloud) */
.products-section { background: #f4f6f8; }
.product-tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.prod-tag-item { background: #fff; color: #444; padding: 8px 15px; border-radius: 30px; text-decoration: none; font-size: 14px; border: 1px solid #ddd; display: inline-flex; align-items: center; gap: 6px; transition: 0.2s; }
.prod-tag-item:hover { background: #004e92; color: #fff; border-color: #004e92; transform: translateY(-2px); }
.prod-tag-item i { color: #004e92; font-size: 12px; }
.prod-tag-item:hover i { color: #fff; }

/* Home Company Grid (Vertical) */
.featured-section { background: #fff; }
.section-header-flex { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-bottom: 10px; flex-wrap: nowrap; }
.header-left-col { flex: 1; }
.section-heading { margin: 0; line-height: 1.2; }
.view-all-link { color: #004e92; font-weight: 600; text-decoration: none; white-space: nowrap; margin-left: 20px; flex-shrink: 0; }
.view-all-link:hover { text-decoration: underline; }

/* --- COMPANY CARD (GIAO DIỆN MỚI: NÚT DƯỚI LOGO) --- */
.home-company-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; }
.home-company-card { 
    background: #fff; border-radius: 8px; overflow: hidden; 
    border: 1px solid #eee; transition: 0.3s; 
    /* Bỏ flex-direction column vì không dùng footer nữa */
}
.verified-card { border-color: #e3f2fd; }
.verified-card:hover { border-color: #004e92; box-shadow: 0 10px 25px rgba(0,104,255,0.1); transform: translateY(-3px); }

/* Flexbox cho body */
.card-body { padding: 15px; display: flex; gap: 15px; align-items: flex-start; }

/* Cột trái: Chứa Logo và Nút */
.card-left-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 85px; /* Cố định chiều rộng cột trái */
    flex-shrink: 0;
    gap: 8px;
}

.card-logo-wrap {
    width: 80px; height: 80px;
    border: 1px solid #f1f1f1;
    border-radius: 6px;
    padding: 5px;
    display: flex; align-items: center; justify-content: center;
    background: #fff;
}
.card-logo-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Nút Xem hồ sơ (Mini) */
.btn-view-mini {
    font-size: 11px;
    font-weight: 600;
    color: #fff !important;
    background: #004e92;
    padding: 4px 0;
    width: 100%;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    line-height: 1.4;
    transition: 0.2s;
}
.btn-view-mini:hover { background: #0054cc; }

/* Cột phải: Nội dung */
.card-content { flex: 1; }
.company-name { font-size: 15px; margin: 0 0 5px 0; line-height: 1.3; }
.company-name a { color: #333; text-decoration: none; font-weight: 700; }
.company-name a:hover { color: #004e92; }
.verified-badge { color: #1877f2; font-size: 14px; margin-left: 5px; }

.company-meta a { font-size: 14px; color: #666; }
.meta-row { margin-bottom: 5px; display: flex; align-items: flex-start; }
.meta-row i { color: #999; width: 16px; margin-right: 5px; margin-top: 3px; flex-shrink: 0; }
.meta-row.tags { flex-wrap: wrap; gap: 3px; }
.meta-row.tags span { background: #f0f2f5; padding: 2px 6px; border-radius: 4px; font-size: 11px; color: #555; }

/* Register Page - Benefit Column */
.benefit-box { background: #f9f9f9; padding: 30px; border-radius: 10px; border: 1px solid #eee; }
.benefit-box h3 { font-size: 20px; border-bottom: 2px solid #004e92; padding-bottom: 10px; margin-bottom: 20px; color: #333; }
.benefit-list { list-style: none; padding: 0; margin: 0; }
.benefit-list li { display: flex; margin-bottom: 20px; gap: 15px; }
.benefit-list li i { font-size: 20px; color: #004e92; margin-top: 3px; width: 30px; text-align: center; }
.benefit-list li strong { display: block; color: #333; margin-bottom: 5px; }
.benefit-list li p { font-size: 13px; color: #666; margin: 0; line-height: 1.4; }
.support-box { background: #e3f2fd; padding: 20px; border-radius: 8px; text-align: center; margin-top: 20px; }
.support-phone { display: block; font-size: 20px; font-weight: bold; color: #d32f2f; text-decoration: none; margin: 5px 0; }
/* --- TRANG DANH BẠ (ARCHIVE) --- */

/* Header nút đăng ký */
.text-right { text-align: right; }
.btn-primary-outline {
    display: inline-block;
    border: 1px solid #004e92;
    color: #004e92;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 600;
    transition: 0.2s;
}
.btn-primary-outline:hover { background: #004e92; color: #fff !important; }

/* --- SIDEBAR BỘ LỌC --- */
.filter-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    position: sticky; /* Giữ sidebar khi cuộn */
    top: 20px; 
}
.filter-group { margin-bottom: 25px; border-bottom: 1px solid #f5f5f5; padding-bottom: 20px; }
.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.filter-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-title i { color: #004e92; }

/* Input Search trong Sidebar */
.filter-search-input {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}
.filter-search-input input {
    border: none;
    padding: 8px 10px;
    width: 100%;
    font-size: 14px;
    outline: none;
	margin-bottom:0;
}
.filter-search-input button {
    background: #f1f1f1;
    border: none;
    color: #666;
    padding: 0 10px;
    cursor: pointer;
}
.filter-search-input button:hover { background: #ddd; }

/* List lọc (Scroll nếu dài) */
.filter-list {
    list-style: none;
    padding: 0; margin: 0;
}
.scroll-list {
    max-height: 250px; /* Chiều cao tối đa */
    overflow-y: auto; /* Hiện thanh cuộn nếu dài */
}
/* Tùy chỉnh thanh cuộn cho đẹp */
.scroll-list::-webkit-scrollbar { width: 4px; }
.scroll-list::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }

.filter-list li { margin-bottom: 8px; }
.filter-list li a {
    display: block;
    color: #555;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s;
    padding: 2px 0;
}
.filter-list li a:hover, .filter-list li a.active {
    color: var(--fs-color-secondary) !important;
    font-weight: 600;
    transform: translateX(3px);
}
.filter-list li a .count {
    color: #999;
    font-size: 12px;
    float: right;
}

/* --- TÙY CHỈNH CARD TRONG DANH BẠ --- */
.verified-border { border-left: 3px solid #004e92; }
.hotline-box {
    color: #d32f2f;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 8px;
}
/* --- STYLE CHO SIDEBAR BỘ LỌC --- */
.filter-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    position: sticky;
    top: 20px; /* Dính sidebar khi cuộn */
    margin-bottom: 30px;
}
.filter-heading {
    font-size: 18px;
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 15px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
}
.filter-group {
    margin-bottom: 25px;
}
.filter-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #555;
    text-transform: uppercase;
}
.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
/* Thanh cuộn cho list dài */
.scroll-list {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 5px;
}
.scroll-list::-webkit-scrollbar {
    width: 4px;
}
.scroll-list::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

.filter-list li {
    margin-bottom: 8px;
}
.filter-list li a {
    display: block;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s;
    padding: 3px 0;
}
.filter-list li a:hover {
    color: #004e92;
    padding-left: 5px;
}
.filter-list li a i {
    color: #ccc;
    width: 20px;
    text-align: center;
    margin-right: 5px;
}
.filter-list li a.active {
    color: #004e92;
    font-weight: 700;
}
.filter-list li a.active i {
    color: #004e92;
}
.filter-list li a .count {
    font-size: 11px;
    color: #999;
    float: right;
}

/* Nút Reset */
.btn-reset {
    display: block;
    text-align: center;
    background: #f1f1f1;
    color: #333;
    padding: 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 15px;
    transition: 0.2s;
}
.btn-reset:hover {
    background: #e0e0e0;
}
/* --- STYLE CHO DANH MỤC ĐA CẤP (SIDEBAR) --- */
.filter-item-parent {
    margin-bottom: 5px;
}
.parent-link {
    color: #333 !important;
    font-size: 14px;
    padding: 5px 0;
    display: block;
}
.parent-link.active {
    color: #004e92 !important;
}

/* Danh sách con */
.filter-sub-list {
    list-style: none;
    padding-left: 15px; /* Thụt đầu dòng */
    margin: 5px 0 10px 0;
    border-left: 1px solid #eee; /* Đường kẻ chỉ dẫn */
}
.child-link {
    color: #666 !important;
    font-size: 13px;
    padding: 3px 0 3px 5px;
    display: block;
    transition: 0.2s;
}
.child-link:hover, .child-link.active {
    color: var(--fs-color-secondary) !important;
    padding-left: 8px; /* Hiệu ứng đẩy nhẹ khi hover */
}
.child-link i {
    font-size: 10px;
    margin-right: 3px;
    color: #ccc;
}
.child-link.active i {
    color: #004e92;
}
/*Hub Page*/
/* --- STYLE CHO TRANG HUB (TỔNG HỢP) --- */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.hub-item {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.hub-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: var(--fs-color-secondary);
}
.hub-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}
.hub-info {
    flex: 1;
}
.hub-title {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
}
.hub-count {
    font-size: 13px;
    color: #888;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 10px;
}
.hub-arrow {
    color: #ccc;
    font-size: 14px;
    margin-left: 10px;
    transition: 0.2s;
}
.hub-item:hover .hub-arrow {
    color: var(--primary-color);
    transform: translateX(3px);
}
.hub-item:hover .hub-title {
    color: var(--primary-color);
}
/*111111111111*/
/* --- BOTTOM CTA SECTION --- */
.bottom-cta-section {
    background: linear-gradient(135deg, #003366 0%, #001a33 100%);
    padding: 50px 0;
    margin-top: 60px;
    color: #fff;
}

.cta-wrapper-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Cột trái: Text */
.cta-text-content {
    flex: 1;
}
.cta-main-title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 1.3;
}
.cta-sub-desc {
    font-size: 16px;
    color: #e0e0e0;
    margin-bottom: 20px;
    max-width: 600px;
    line-height: 1.6;
}
.cta-benefits-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.cta-benefits-list li {
    font-size: 14px;
    font-weight: 600;
    color: #81d4fa; /* Màu xanh sáng */
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Cột phải: Button */
.cta-action-btn {
    text-align: center;
    flex-shrink: 0;
}
.btn-big-register {
    display: inline-block;
    background: #f57c00; /* Màu cam nổi bật trên nền xanh */
    color: #fff !important;
    font-size: 18px;
    font-weight: 700;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(245, 124, 0, 0.4);
    text-transform: uppercase;
}
.btn-big-register:hover {
    background: #ef6c00;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 124, 0, 0.6);
}
.cta-note {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: #ccc;
    font-style: italic;
}

/* Hiệu ứng Pulse (Nhịp tim) cho nút */
.pulse-effect {
    animation: pulse-orange 2s infinite;
}
@keyframes pulse-orange {
    0% { box-shadow: 0 0 0 0 rgba(245, 124, 0, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(245, 124, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 124, 0, 0); }
}
/* --- HOME LOCATION SECTION --- */
.home-location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.loc-card-item {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.loc-card-item:hover {
    background: #fff;
    border-color: #0068ff;
    box-shadow: 0 5px 15px rgba(0, 104, 255, 0.1);
    transform: translateY(-3px);
}

.loc-icon-box {
    width: 40px;
    height: 40px;
    background: #e3f2fd;
    color: #000428;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 12px;
    flex-shrink: 0;
}

.loc-info {
    flex: 1;
}

.loc-name {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.loc-count {
    font-size: 12px;
    color: #888;
    display: block;
    margin-top: 3px;
}

.loc-arrow {
    color: #ccc;
    font-size: 14px;
    transition: 0.2s;
}

.loc-card-item:hover .loc-arrow {
    color: #0068ff;
    transform: translateX(3px);
}
input[type="text"]:focus{box-shadow: none !important;background:transparent !important}
/* Style cho nút Xem tất cả Ngành nghề */
.btn-view-all-industry {
    display: inline-block;
    padding: 12px 35px;
    background-color: #fff;
    color: #004e92;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.btn-view-all-industry:hover {
    border-color: var(--fs-color-secondary);
    background-color: var(--fs-color-secondary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 104, 255, 0.2);
}

.btn-view-all-industry i {
    margin-left: 8px;
    transition: margin-left 0.3s;
}

.btn-view-all-industry:hover i {
    margin-left: 12px;
}
/*************** 7. RESPONSIVE MEDIA QUERIES ***************/
@media (max-width: 849px) {
    /* Promo Box */
    .header-promo-box { flex-direction: column; text-align: center; margin-top: 20px; }
    .promo-btn { margin-left: 0; margin-top: 15px; }
    /* Card List View */
    .company-card-item .col { margin-bottom: 15px; text-align: center; }
    .company-card-item .card-meta { text-align: left; padding-left: 10px; }
    .company-card-item .card-tags { justify-content: center; }
    .company-card-item { padding: 15px 10px; }
	.archive-header .text-right { text-align: left; margin-top: 10px; }
    .company-card-item .col { margin-bottom: 10px; }
    .card-actions { flex-direction: row; justify-content: center; flex-wrap: wrap; }
    .hotline-box { width: 100%; text-align: center; }
    .col-sidebar-filter { margin-bottom: 30px; } /* Đẩy sidebar xuống hoặc lên tùy layout theme */
}
@media (max-width: 768px) {
    /* Home Grids */
    .industry-grid, .home-company-grid { grid-template-columns: 1fr; }
    .home-cat-grid { grid-template-columns: repeat(2, 1fr); }
    
    /* Hero */
    .hero-title { font-size: 24px; }
    .hero-stats { flex-direction: column; gap: 10px; }
    
    /* Search */
    .search-input-group { flex-direction: column; padding: 10px; border-radius: 10px; }
    .search-input-group input { margin-bottom: 10px; text-align: center; }
    .btn-search { width: 100%; }

    /* Forms */
    .form-row { flex-direction: column; gap: 0; }
	.home-location-grid {
        grid-template-columns: repeat(2, 1fr); /* Mobile hiển thị 2 cột */
    }
    .cta-wrapper-flex {
        flex-direction: column;
        text-align: center;
    }
    .cta-benefits-list {
        justify-content: center;
        margin-bottom: 20px;
    }
    .cta-main-title {
        font-size: 22px;
    }
    .btn-big-register {
        width: 100%; /* Nút full màn hình trên mobile */
        padding: 15px 20px;
    }
}