/*
Theme Name: Hengzong Tech
Theme URI: https://hengzong.com
Author: Hengzong Technology
Author URI: https://hengzong.com
Description: 海外获客、询盘管理一体化系统官网主题。专为外贸数字营销企业设计，包含外贸建站、谷歌SEO/SEM、海外社媒推广等服务的展示。支持后台管理所有内容。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hengzong
Tags: business, corporate, b2b, saas, foreign-trade, responsive, custom-post-types
*/

/* All theme styles are in css/style.css */


/* Fix header white bar */
body.home .header,
body.front-page .header,
body.page .header {
    background: linear-gradient(135deg, #0a1b2d 0%, #142e57 100%) !important;
    box-shadow: none !important;
}

/* ===== Service页面导航栏修复 ===== */
/* 顶部透明背景白色文字（适配Hero区域） */
html body.archive.post-type-archive-service .header.mkb-nav {
    background-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
}

html body.archive.post-type-archive-service .header.mkb-nav .nav ul li.menu-item a {
    color: rgba(255, 255, 255, 0.85) !important;
}

html body.archive.post-type-archive-service .header.mkb-nav .nav ul li.menu-item a:hover {
    color: #ffffff !important;
}

html body.archive.post-type-archive-service .header.mkb-nav .logo-text {
    color: #ffffff !important;
}

/* 滚动后白色背景深色文字 */
html body.archive.post-type-archive-service .header.mkb-nav.mkb-nav-scrolled,
html body.archive.post-type-archive-service .header.mkb-nav.scrolled {
    background-color: #ffffff !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

html body.archive.post-type-archive-service .header.mkb-nav.mkb-nav-scrolled .nav ul li.menu-item a,
html body.archive.post-type-archive-service .header.mkb-nav.scrolled .nav ul li.menu-item a {
    color: #333333 !important;
}

html body.archive.post-type-archive-service .header.mkb-nav.mkb-nav-scrolled .nav ul li.menu-item a:hover,
html body.archive.post-type-archive-service .header.mkb-nav.scrolled .nav ul li.menu-item a:hover {
    color: #1a73e8 !important;
}

html body.archive.post-type-archive-service .header.mkb-nav.mkb-nav-scrolled .logo-text,
html body.archive.post-type-archive-service .header.mkb-nav.scrolled .logo-text {
    color: #1a1a2e !important;
}

/* ===== Footer Logo Styles ===== */
.footer .logo,
footer .logo,
.footer-brand .logo {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
}

.footer .logo img.custom-logo,
footer .logo img.custom-logo,
.footer-brand .logo img.custom-logo {
    width: 50px !important;
    height: 50px !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
}

.footer .logo .logo-text,
footer .logo .logo-text,
.footer-brand .logo .logo-text {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
}

/* ===== 导航栏样式修复 ===== */
.nav ul {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.nav ul li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: flex !important;
    align-items: center !important;
}
.nav ul li.menu-item a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 8px 16px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.5 !important;
    height: 40px !important;
    position: relative !important;
    transition: color 0.2s ease !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}
.nav ul li.menu-item a:hover {
    color: #ffffff !important;
}
.nav ul li.menu-item a::after {
    content: '' !important;
    position: absolute !important;
    bottom: 4px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 0 !important;
    height: 2px !important;
    background: linear-gradient(90deg, #2563eb, #06b6d4) !important;
    border-radius: 2px !important;
    transition: width 0.3s ease !important;
    opacity: 0.8 !important;
}
.nav ul li.menu-item a:hover::after {
    width: calc(100% - 32px) !important;
}
.nav ul li.current-menu-item a,
.nav ul li.current_page_item a,
.nav ul li a.mkb-nav-active {
    color: #ffffff !important;
    font-weight: 600 !important;
}
.nav ul li.current-menu-item a::after,
.nav ul li.current_page_item a::after,
.nav ul li a.mkb-nav-active::after {
    width: calc(100% - 32px) !important;
    height: 3px !important;
    bottom: 2px !important;
    opacity: 1 !important;
    background: linear-gradient(90deg, #2563eb, #3b82f6) !important;
}
.logo {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    height: 40px !important;
}
.logo a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    height: 100% !important;
}
.logo img.custom-logo {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
    display: block !important;
}
.logo .logo-text {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
}
.nav ul li.menu-item:last-child a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 24px !important;
    height: 40px !important;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
    margin-left: 8px !important;
    position: relative !important;
}
.nav ul li.menu-item:last-child a:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4) !important;
    color: #ffffff !important;
}
.nav ul li.menu-item:last-child a::after {
    display: none !important;
}
.header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}
@media (max-width: 1024px) {
    .nav ul { gap: 4px !important; }
    .nav ul li.menu-item a { padding: 8px 12px !important; font-size: 14px !important; }
    .nav ul li.menu-item:last-child a { padding: 8px 18px !important; font-size: 14px !important; }
    .logo .logo-text { font-size: 18px !important; }
}

/* ===== 隐藏客户案例页行业分类区块 ===== */
.case-brands-section {
    display: none !important;
}

