
/* 全局基础样式 */
:root{
    --primary:#002fa7;
    --primary-dark:#0f36a9;
    --accent:#00bec7;
    --text:#0f1523;
    --muted:#6a768f;
    --line:#e1e7f2;
    --surface:#ffffff;
    --bg-soft:#f7f9fc;
    --radius:18px;
    --radius-soft:26px;
    --shadow:0 18px 45px rgba(15,21,35,.08);
    --shadow-soft:0 26px 70px rgba(7,14,32,.12);
    --max-width:1880px;
    --gutter:5vw;
    font-family:"Inter",system-ui,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
    color-scheme:light;
    --line-gray:#cccccc;
    --yellow:#fbd26a;
    --hover-bg:#002fa7;
    --gray:#f5f5f5;
    --border-gray:#dadcdf;
}
*{box-sizing:border-box;margin:0;padding:0;list-style-type: none}
body {
    font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
    overflow-x: hidden;
    line-height: 1.6;
    background-color: #f5f5f5;
}
ul, ol {
    list-style: none;
}
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}
img {
    max-width: 100%;
    display: block;
}
.container {
    width: 92%;
    max-width: 1440px;
    margin: 0 auto;
}
.transition {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 头部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(0,0,0,0);
    color: #fff;
    z-index: 9999;
    transition: all 0.5s ease;

}
.header-main {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    z-index: 1000;
}
.logo img {
    max-width: 180px;
    height: auto;
}

/* 桌面端导航 - 新增箭头样式 */
.nav {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 14px;
    font-weight: bold;
}
.nav-item {
    position: relative;
    cursor: pointer;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 5px; /* 文字和箭头间距 */
}
/* 桌面端箭头样式 */
.nav-item .nav-arrow {
    font-size: 10px;
    color: #fff;
    transition: transform 0.3s ease;
    opacity: 0; /* 默认隐藏箭头 */
}
/* 鼠标移到一级菜单时显示箭头 + 二级菜单 */
.nav-item:hover .nav-arrow {
    opacity: 1;
    transform: rotate(180deg); /* 箭头翻转 */
}
.nav-item:hover,.nav-item a.on {
    color: #fbd26a;
}
.mobile-nav .nav .nav-item a {
    display: block;width: 100%;
}
.subnav {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0,0,0,0.95);
    width: 180px;
    padding: 15px;
    display: none;
    border-radius: 4px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.business-child.subnav {
    width: 780px;
    left: -167px;
}
/* 桌面端 hover 显示二级菜单（配合箭头） */
.nav-item:hover .subnav {
    display: block;
}
.subnav a {
    display: block;
    padding: 8px 10px;
    font-size: 14px;
    font-weight: normal;
    width: 180px;
    color: #fff;
}
.business-child.subnav a {
    display: inline-block;
}
.subnav a:hover {
    color: #fbd26a;
}

/* 搜索框 - 核心优化：仅保留一个搜索图标，按钮在输入框内部右侧 */
.search {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 1000;
}
.search-box {
    display: none;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border-radius: 30px;
    overflow: hidden;
    width: 200px; /* 搜索框宽度 */
}
.search-box input {
    border: none;
    background: transparent;
    padding: 8px 15px;
    width: calc(100% - 40px); /* 预留按钮位置 */
    color: #fff;
    outline: none;
    font-size: 14px;
}
.search-box input::placeholder {
    color: rgba(255,255,255,0.7);
}
/* 内部搜索按钮 - 仅保留这一个 */
.search-btn-inside {
    padding: 0 15px;
    height: 100%;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}
/* 外部搜索触发按钮 - 点击后隐藏，避免双图标 */
.search-btn {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.search-btn:hover {
    color: #fbd26a;
}

/* 汉堡菜单按钮 */
.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

/* Banner轮播 图片缩放动画 + 文字固定不动 */
.banner {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: -80px;
    padding-top: 80px;
}
.banner-slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    opacity: 0;
    transition: all 6s ease;
}
.banner-slide-item.active {
    opacity: 1;
    /*transform: scale(1.1);*/
}
/* 图片缩放动画 */
.banner-slide-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    transition: transform 6s ease;
    transform: scale(1.1);
    z-index: -1;
}
.banner-slide-item.active::before {
    transform: scale(1);
}
/* 文字固定 不缩放 */
.banner-slide-item .container {
    position: relative;
    z-index: 2;
    margin-top: 50px;
}

.banner-slide-item h1 {
    font-size: clamp(28px, 5vw, 50px);
    padding: 0 20px;
}
.banner-slide-item p {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 40px;
    padding: 0 20px;
}
.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #002fa7;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.5s ease;
    margin: 0 20px;
}
.banner-btn:hover {
    background: #002fa7;
    color: #fff;
}
.banner-btn span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #002fa7;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.5s ease;
}
.banner-btn:hover span {
    background: #fbd26a;
}
.banner-dots {
    position: absolute;
    bottom: clamp(40px, 8vw, 200px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}
.banner-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}
.banner-dot.active {
    background: #002fa7;
    transform: scale(1.2);
}

/* 热点聚焦 */
.news {
    background: #F5F5F5;
    padding: clamp(40px, 8vw, 80px) 0;
}
.section-title {
    text-align: center;
    margin-bottom: clamp(30px, 5vw, 0px);
}
.section-title h2 {
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 10px;
}
.section-title p {
    color: #666;
    font-size: clamp(14px, 1.5vw, 16px);
}
.news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 30px);
}
.news-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.5s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.news-item:hover {
    background: #002fa7;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.news-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}
.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.news-item:hover .news-img img {
    transform: scale(1.05);
}
.news-content {
    padding: 25px;
}
.news-content h3 {
    font-size: clamp(16px, 1.8vw, 18px);
    margin-bottom: 10px;
}
.news-content p {
    font-size: clamp(13px, 1.4vw, 14px);
    color: #666;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-item:hover .news-content p {
    color: #fff;
}
.news-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.news-bottom span {
    font-size: clamp(12px, 1.4vw, 14px);
}
.news-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #002fa7;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
}
.news-item:hover .news-arrow {
    background: rgb(251, 210, 106);
    color: #002fa7;
}

/* 关于金汇人 */
.about {
    min-height: 600px;
    height: auto;
    padding: clamp(60px, 10vw, 80px) 0;
    background-image: url(../images/3aboutBg.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.about .section-title p {
    color:#fff !important;
}
.about-text {
    max-width: 800px;
    margin: 0 auto 50px;
    padding: 0 20px;
}
.about-text p {
    font-size: clamp(14px, 1.6vw, 16px);
    margin-bottom: 30px;
    color:#fff;
}
.about-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #002fa7;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.5s ease;
    margin-bottom: clamp(30px, 6vw, 60px);
}
.about-btn:hover {
    background: #002fa7;
    color: #fff;
}
.about-btn span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #002fa7;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.5s ease;
}
.about-btn:hover span {
    background: #fbd26a;
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(15px, 2vw, 20px);
    padding: 0 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.about-card {
    background: rgba(255,255,255,0.9);
    border-radius: 8px;
    padding: clamp(20px, 3vw, 30px) clamp(15px, 2vw, 20px);
    text-align: center;
    transition: all 0.5s ease;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.about-card:hover {
    background: #fbd26a;
    color: #002fa7;
    transform: translateY(-5px);
}
.about-card .num {
    font-size: clamp(24px, 3.6vw, 36px);
    font-weight: bold;

}
.about-card .unit{
    font-weight: bold;
    margin-left: 2px;
}
.about-card p {
    font-size: clamp(14px, 1.4vw, 16px);
}

/* 业务领域 严格响应式：>1080 2列，<1080 1列 */
.bussiness-index {background-color: #fff}
.bussiness {
    padding: clamp(40px, 8vw, 80px) 0;
}
.bussiness-wrap {
    overflow:hidden;
}
.bussiness-list {
    display: flex;
    transition: all 0.5s ease;
}
.bussiness-row {
    /*min-width:100%;*/
    /*display:grid;*/
    /*grid-template-columns: repeat(2, 1fr);*/
    /*gap: clamp(20px, 3vw, 30px);*/
    /*padding: 0 10px;*/
}
.bussiness-item {
    display: inline-block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.bussiness-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}
.bussiness-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.bussiness-item:hover .bussiness-img img {
    transform: scale(1.05);
}
.bussiness-default {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(20px, 3vw, 30px);
    color: #fff;
    transition: opacity 0.5s ease;
}
.bussiness-default h3 {
    font-size: clamp(18px, 2.4vw, 24px);
    margin-bottom: 8px;
}
.bussiness-default p {
    font-size: clamp(13px, 1.4vw, 14px);
    line-height: 1.6;
}
.bussiness-item:hover .bussiness-default {
    opacity: 0;
}
.bussiness-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    min-height: 33.33%;
    background: #002fa7;
    transform: translateY(100%);
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    padding: clamp(20px, 3vw, 30px);
    color: #fff;
}
.bussiness-item:hover .bussiness-hover {
    transform: translateY(0);
}
.hover-main h3 {
    font-size: clamp(18px, 2.2vw, 22px);
    margin-bottom: 5px;
}
.hover-main p {
    font-size: clamp(13px, 1.4vw, 14px);
    margin-bottom: 10px;
}
.hover-bottom {
    display: flex;
    align-items: center;
}
.hover-bottom span {
    font-size: clamp(12px, 1.4vw, 14px);
}
.hover-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fbd26a;
    color: #002fa7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-left:auto;
}
/* 业务切换圆点 */
.bussiness .swiper-pagination-bullet {
    width:12px;
    height:12px;
    border-radius:50%;
    margin: 0 !important;
    cursor:pointer;
    transition: all 0.3s ease;
}
.bussiness .swiper-pagination-bullet-active {
    background: #002fa7;
    transform: scale(1.2);
}
.bussiness-dots {
    display:flex;
    justify-content:center;
    gap:12px;
    margin-top:clamp(30px, 4vw, 40px);
}
.b-dot {
    width:12px;
    height:12px;
    border-radius:50%;
    background:#ccc;
    cursor:pointer;
    transition: all 0.3s ease;
}
.b-dot.active {
    background:#002fa7;
    transform: scale(1.2);
}

/* 金汇人论著 */
.treatise {
    background: #F5F5F5;
    padding: clamp(40px, 8vw, 80px) 0;
}
.treatise-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(20px, 3vw, 30px);
}
.treatise-item {
    background: #fff;
    border-radius: 8px;
    padding: clamp(20px, 3vw, 30px);
    transition: all 0.5s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.treatise-item:hover {
    background: #002fa7;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.treatise-item h3 {
    font-size: clamp(16px, 1.8vw, 18px);
    margin-bottom: 15px;
}
.treatise-item p {
    font-size: clamp(13px, 1.4vw, 14px);
    color: #666;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.treatise-item:hover p {
    color: #fff;
}
.treatise-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.treatise-bottom span {
    font-size: clamp(12px, 1.4vw, 14px);
}
.treatise-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fbd26a;
    color: #002fa7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* 页脚 */
.footer {
    background: #000;
    color: #fff;
    padding: clamp(30px, 5vw, 50px) 0 20px;
}
.footer-top {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: clamp(20px, 3vw, 30px);
    margin-bottom: clamp(20px, 3vw, 30px);
}
.social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}
.social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(128,128,128,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.social a:hover {
    background: #002fa7;
    transform: translateY(-3px);
}
.footer-middle {
    height: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: clamp(20px, 3vw, 30px);
    padding: 0 0 clamp(30px, 5vw, 40px);
}
.footer-col h4 {
    font-size: clamp(14px, 1.6vw, 16px);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #002fa7;
}
.footer-col li {
    margin-bottom: 10px;
}
.footer-col a {
    font-size: clamp(12px, 1.4vw, 14px);
    color: rgba(255,255,255,0.8);
}
.footer-col a:hover {
    color: #002fa7;
    padding-left: 5px;
}
.footer-bottom {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: clamp(11px, 1.2vw, 12px);
    color: rgba(255,255,255,0.7);
    padding-top: clamp(20px, 3vw, 30px);
}
.footer-links {
    display: flex;
    gap: clamp(15px, 2vw, 20px);
    margin-top: 10px;
    width: 100%;
}
.footer-links a {
    color: rgba(255,255,255,0.7);
}
.footer-links a:hover {
    color: #002fa7;
}

/* 移动端导航样式 */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    z-index: 999;
    transition: width 0.4s ease;
    overflow-y: auto;
    padding-top: 80px;
}
.mobile-nav.open {
    width: 85%;
    max-width: 450px;
}
.mobile-nav .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 0;
}

/* ============================================== */
/* 核心断点：分辨率 < 1080px 显示汉堡菜单 */
/* ============================================== */
@media (max-width: 1080px) {
    .desktop-nav {
        display: none !important;
    }
    .hamburger {
        display: flex !important;
    }
    /* 业务领域：1列 */
    .bussiness-row {
        grid-template-columns: 1fr !important;
    }
    /* 热点聚焦：2列 */
    .news-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-list .news-item:nth-child(n+3) {
        display: none;
    }


    /* 关于金汇人：2列 */
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .about-card:nth-child(n+5) {
        display: none;
    }
    .header {
        height: 70px;
    }
    .treatise-item:nth-child(n+3) {
        display: none;
    }
    .search-btn{ display: none;}
}

@media (max-width: 768px) {
    .header {
        height: 60px;
    }
    .banner {
        min-height: 450px;
    }
    .news-list {
        grid-template-columns: 1fr;
    }
    .about-grid {display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .search{ display: none;}
    .footer-middle{display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-top .logo{ display: none;}
}

@media (max-width: 480px) {
    .mobile-nav.open {
        width: 100%;
    }
}


/* 企业文化Banner - 静态无轮播 */
.culture-banner {
    position: relative;
    height: 50vh;
    min-height: 400px;
    overflow: hidden;
    margin-top: -80px;
    padding-top: 80px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.culture-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.culture-banner .container {
    position: relative;
    z-index: 2;
}
.culture-banner h1 {
    font-size: clamp(28px, 5vw, 50px);
}
.culture-banner p {
    font-size: clamp(16px, 2vw, 20px);
    color: #fff;
}

/* 文化标签切换栏 - Banner底部 */
.culture-tabs {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.7);
}
.culture-tab-item {
    flex: 1;
    text-align: center;
    padding: 18px 0;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}
.culture-tab-item.active {
    background-color: #fbd26a;
    color: #002fa7;
}

/* 企业文化内容区域 */
.culture-section {
    padding: clamp(40px, 8vw, 60px) 0;
    background-color: #f5f5f5;
}
/* 文化内容卡片容器 */
.culture-content {
    display: none;
}
.culture-content.active {
    display: block;
}
/* 文化卡片样式 - 核心修改：奇偶行交替布局 */
.culture-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.culture-card {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    width: 100%;
}
/* 奇数行：左图右文 */
.culture-card:nth-child(odd) {
    flex-direction: row;
}
/* 偶数行：左文右图 */
.culture-card:nth-child(even) {
    flex-direction: row-reverse;
}
/* 图片容器 - 16:9比例 + hover放大效果 */
.culture-img-wrap {
    flex: 0 0 50%;
    overflow: hidden;
    aspect-ratio: 16/9; /* 固定16:9比例 */
}
.culture-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持图片比例填充容器 */
    transition: transform 0.4s ease;
}
/* 文字内容区域 */
.culture-text {
    flex: 0 0 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s ease;
}
.culture-text h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
    transition: color 0.4s ease;
}
.culture-text p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    transition: color 0.4s ease;
}
/* Hover交互效果 */
.culture-card:hover .culture-img {
    transform: scale(1.08); /* 图片放大8% */
}
.culture-card:hover .culture-text {
    background-color: #002fa7; /* 背景变蓝色 */
    color: #fff; /* 文字变白色 */
}
.culture-card:hover .culture-text h3,
.culture-card:hover .culture-text p {
    color: #fff;
}

/* 页脚 - 保留原样式 */
.footer {
    background: #000;
    color: #fff;
    padding: clamp(30px, 5vw, 50px) 0 20px;
}
.footer-top {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: clamp(20px, 3vw, 30px);
    margin-bottom: clamp(20px, 3vw, 30px);
}
.social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}
.social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(128,128,128,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.social a:hover {
    background: #002fa7;
    transform: translateY(-3px);
}
.footer-middle {
    height: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: clamp(20px, 3vw, 30px);
    padding: 0 0 clamp(30px, 5vw, 40px);
}
.footer-col h4 {
    font-size: clamp(14px, 1.6vw, 16px);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #002fa7;
}
.footer-col li {
    margin-bottom: 10px;
}
.footer-col a {
    font-size: clamp(12px, 1.4vw, 14px);
    color: rgba(255,255,255,0.8);
}
.footer-col a:hover {
    color: #002fa7;
    padding-left: 5px;
}
.footer-bottom {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: clamp(11px, 1.2vw, 12px);
    color: rgba(255,255,255,0.7);
    padding-top: clamp(20px, 3vw, 30px);
}
.footer-links {
    display: flex;
    gap: clamp(15px, 2vw, 20px);
    margin-top: 10px;
    width: 100%;
}
.footer-links a {
    color: rgba(255,255,255,0.7);
}
.footer-links a:hover {
    color: #002fa7;
}

/* 移动端导航样式 */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    z-index: 999;
    transition: width 0.4s ease;
    overflow-y: auto;
    padding-top: 80px;
}
.mobile-nav.open {
    width: 85%;
    max-width: 450px;
}
.mobile-nav .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 0;
}
.mobile-nav .nav-item {
    width: 100%;
    padding: 15px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: block;
    justify-content: space-between;
    align-items: center;
    gap: 0;
}
.mobile-nav .subnav {
    position: static;
    display: none;
    width: 1000%;
    background: rgba(255,255,255,0.05);
    margin-top: 10px;
    padding: 10px 15px;
}
.mobile-nav .subnav.open {
    display: block;
}
.mobile-nav .nav-item .toggle-subnav {
    font-size: 16px;
    color: #fbd26a;
    cursor: pointer;
    transition: transform 0.3s;
    float: right;
}

/* 响应式适配 */
@media (max-width: 1080px) {
    .desktop-nav {
        display: none !important;
    }
    .hamburger {
        display: flex !important;
    }
    .header {
        height: 70px;
    }
    .search-btn {
        display: none;
    }
    .culture-banner {
        height: 40vh;
        min-height: 650px;
    }
    /* 移动端：所有卡片转为上下布局 */
    .culture-card,
    .culture-card:nth-child(odd),
    .culture-card:nth-child(even) {
        flex-direction: column;
    }
    .culture-img-wrap, .culture-text {
        flex: 100%;
    }
    .culture-text {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .header {
        height: 60px;
    }
    .culture-banner {
        min-height: 350px;
    }
    .search {
        display: none;
    }
    .footer-middle {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-top .logo {
        display: none;
    }
    .culture-tab-item {
        font-size: 14px;
        padding: 12px 0;
    }
    .culture-text h3 {
        font-size: 18px;
    }
    .culture-text p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .mobile-nav.open {
        width: 100%;
    }
    .culture-tab-item {
        font-size: 12px;
        padding: 10px 0;
    }
    .culture-text {
        padding: 20px;
    }
}

/* 荣誉资质内容区域 */
.honor-section {
    padding: clamp(40px, 8vw, 60px) 0;
    background-color: #f5f5f5;
}

/* 荣誉资质卡片布局 - 九宫格样式 */
.honor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}
/* 荣誉卡片核心样式 */
.honor-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    /* 为底部按钮预留空间 */
}
/* 卡片hover效果：文字变白、背景微调 */
.honor-card:hover {
    /* background-color: #002fa7; */
}
.honor-card:hover .honor-text {
    color: #fff;
    background-color: #002fa7;  /*蓝色背景 */

}
.honor-card:hover .honor-btn {
    background-color: #fbd26a; /* 箭头按钮变黄 */
    color: #002fa7;
}
/* 荣誉图片容器 */
.honor-img-wrap {
    width: 100%;
    aspect-ratio: 4/4; /* 适配奖牌图片比例 */
    overflow: hidden;
}
.honor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.honor-card:hover .honor-img {
    transform: scale(1.05); /* 图片轻微放大 */
    background: #002fa7;
}
/* 荣誉文字区域 */
.honor-text {
    padding: 15px 20px;
    transition: all 0.4s ease; padding-bottom: 50px;
}
.honor-text h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
    transition: color 0.4s ease;
}
.honor-text p {
    font-size: 14px;
    color: #666;
    transition: color 0.4s ease;
}
.honor-card:hover .honor-text h3,
.honor-card:hover .honor-text p {
    color: #fff; /* hover时文字变白 */
}
/* 放大按钮 */
.honor-btn {
    position: absolute;
    right: 20px;
    bottom: 35px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #002fa7; /* 初始蓝色 */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
}
/* 分页样式（简化版） */
.paged {
    margin-top: 40px;
    text-align: center;
}
.paged span,.paged a {
    border: none;
    background: #fff;
    margin: 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px 10px;
    display: inline-block;
}
.paged .current {
    background-color: #002fa7;
    color: #fff;
}
.honor-pagination button:hover:not(.active) {
    background-color: #f0f0f0;
}

/* 图片放大弹窗样式 */
.img-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.img-modal.active {
    display: flex;
}
.modal-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
}
.modal-img {
    max-width: 100%;
    max-height: 90vh;
    border: 5px solid #fff;
    border-radius: 8px;
}
.modal-close {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fbd26a;
    color: #002fa7;
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.modal-close:hover {
    background-color: #e9b84e;
}


/* 新闻列表区域 */
.news-list-section {
    padding: clamp(40px, 8vw, 40px) 0;
    background-color: #f5f5f5;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 3vw, 30px);
    margin-bottom: 40px;
}
.news-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}
/* 第二个卡片hover样式（设计图效果） */
.news-card:hover,
.news-card:hover.active-style {
    background-color: #002fa7;
    color: #fff;
}
.news-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}
.news-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card:hover p {
    color: #fff;
}
.news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.news-date {
    font-size: 14px;
    color: #999;
}
.news-card:hover .news-date {
    color: #fff;
}
.news-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #002fa7;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
}
.news-card:hover .news-arrow {
    background-color: #fbd26a;
    color: #002fa7;
}
/* 新闻详情内容区域 - 核心样式 */
.news-detail-section {
    padding: clamp(40px, 8vw, 60px) 0;
    background-color: #f5f5f5;
}
.news-detail-card {
    background-color: #fff;
    padding: clamp(30px, 5vw, 50px);
    border-radius: 8px;

    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
/* 文章头部信息 */
.news-detail-header {
    margin-bottom: clamp(20px, 3vw, 30px);
    padding-bottom: clamp(15px, 2vw, 20px);
    border-bottom: 1px solid #eee;
}
.news-detail-title {
    font-size: clamp(20px, 3vw, 28px);
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}
.news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: #999;
}
.news-detail-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.news-detail-meta i {
    font-size: 12px;
}
/* 文章正文 */
.news-detail-content {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    text-align: justify;

}
.news-detail-content img {
    display: inline-block;
}
.news-detail-content p {
    margin-bottom: clamp(15px, 2vw, 20px);
    text-align: justify; /* 两端对齐提升阅读体验 */
}
.news-detail-content h4 {
    font-size: 18px;
    color: #333;
    margin: clamp(20px, 3vw, 30px) 0 clamp(10px, 1.5vw, 15px);
    font-weight: bold;
}
/* 上下篇导航 */
.news-detail-nav {
    margin-top: clamp(30px, 4vw, 40px);
    padding-top: clamp(20px, 3vw, 25px);
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.news-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}
.news-nav-item a {
    color: #666;
}
.news-nav-item a:hover {
    color: #002fa7;
}
.news-nav-label {
    color: #999;
    min-width: 60px;
    display: inline-block;
}

/* 论著列表区域 - 核心优化 */
.treatise-list-section {
    padding-top: 40px;
    background-color: #f5f5f5;
}
/* 改为1列布局，1行1个模块 */
.treatise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(30px, 5vw, 40px);
    margin-bottom: 60px;

    margin-left: auto;
    margin-right: auto;
}
.treatise-card {
    background-color: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 30px;
    width: 100%;    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
/* 图片容器 - 严格5:4比例（设计图比例） */
.treatise-img-wrapper {
    overflow: hidden;
    flex-shrink: 0;border-right:1px solid #eee

}
.treatise-img-wrapper img {
    margin: 0 auto;
    object-fit: cover;
    transition: transform 0.3s ease;box-shadow: 0 10px 20px rgba(0,0,0,0.08);transform: scale(.66);
}
.treatise-card:hover .treatise-img-wrapper img {
    transform: scale(.7);  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
/* 文字内容区域 */
.treatise-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;margin: 0 25px
}
/* 第二个卡片默认高亮 + 所有卡片hover高亮（设计图样式） */

.treatise-card:hover {
    background-color: #002fa7;
    color: #fff;
}
.treatise-card h3 {
    font-size: 22px;
    font-weight: bold;
    line-height: 1.4;
    margin: 0;
}
.treatise-card .treatise-date {
    font-size: 16px;
    color: #999;

}
.treatise-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin: 0 0 20px 0;
}
/* 高亮状态下的文字颜色 */
.treatise-date,
.treatise-card:hover .treatise-date {
    color: #fff;
}

.treatise-card:hover p {
    color: #fff;
}
/* 快速概览按钮 - 还原设计图样式 */
.treatise-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 30px;
    background-color: #fff;
    color: #002fa7;
    font-size: 14px;

    border: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 140px;
}
.treatise-card .treatise-btn i {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #002fa7;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}
/* 高亮状态下的按钮样式 */

.treatise-card:hover .treatise-btn {
    background-color: #fbd26a;
    color: #002fa7;border:0;
}
.treatise-btn i,
.treatise-card:hover .treatise-btn i {
    background-color: #fff;
    color: #002fa7;
}
/* 联系我们内容区域 - 按你要求设置 */
.contact-section {
    padding: clamp(40px, 8vw, 40px) 0;
    background-color: #f5f5f5;
}
/* 联系方式卡片样式 */
.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.contact-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #002fa7;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-text h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #002fa7;
}
.contact-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}
/* 地图全屏显示 - 无圆角、无背景、无内边距 */
.contact-map {
    width: 100vw;
    height: 650px;
    background-color: #fff;
    border-radius: 0;
    overflow: hidden;
    margin: 0 0 40px -50vw;
    position: relative;
    left: 50%;
    background-repeat: no-repeat;
    background-position: center center;
}
.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 留言表单 - 去掉白色背景 */
.contact-form {
    background: transparent;
    padding: 30px 0;
    max-width: 800px;
    margin: 0 auto;
}
.form-title {
    text-align: center;
    font-size: 20px;
    color: #002fa7;
    margin-bottom: 25px;
    font-weight: bold;
}
.form-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}
.form-group.full-width {
    grid-template-columns: 1fr;
}
.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e7f2;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease;
}
.form-input:focus {
    border-color: #002fa7;
}
.form-input::placeholder {
    color: #999;
}
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e7f2;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    outline: none;
    resize: none;
    min-height: 120px;
    transition: border-color 0.3s ease;
}
.form-textarea:focus {
    border-color: #002fa7;
}
.form-btn {
    display: block;
    width: 180px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    background-color: #002fa7;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin: 0 auto;
    transition: background-color 0.3s ease;
}
.form-btn:hover {
    background-color: #0f36a9;
}

/* 内容区域 */
.history-section {
    padding: 0;
    background-color: #f5f5f5;margin: 40px 0 40px 0px;
}
.history-content {
    display: none;
}
.history-content.active {
    display: block;
}

/* ====================== 时间轴 严格1:1复刻设计图 ====================== */
.timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 40px 0;
}
/* 时间轴竖线：1px 灰色 */
.timeline::after {
    content: '';
    position: absolute;
    width: 1px;
    background-color: var(--line-gray);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
/* 时间轴条目 */
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}
.timeline-item:nth-child(even):after {
    left: -7px;
}
.timeline-item:nth-child(odd):after {
    right: -7px;
}
.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}
/* 左侧条目 */
.timeline-left {
    left: 0;
    text-align: right;
}
/* 右侧条目 */
.timeline-right {
    left: 50%;
    text-align: left;
}
/* 时间轴圆点 */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background-color: var(--primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}
.timeline-left::after { right: -7px; }
.timeline-right::after { left: -7px; }

/* 时间轴文字样式 - 1:1还原 */
.timeline-top {
    font-size: 20px;
    color: var(--primary); /* 年份文字蓝色 #002fa7 */
    margin-bottom: 10px;font-weight: bold;
}
.timeline-text {
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    color: #333;
    line-height: 60px;
    padding: 10px 25px;
    border: 1px solid #dadcdf;
}

.history-section .container {
    width: 92%;
    max-width: var(--max-width);
    margin: 0 auto;
    background-color: #fff !important;
    padding: 60px 80px;
}

/* 关于我们内容区域 */
.about-section {
    padding: clamp(40px, 8vw, 0px) 0;
    background-color: #f5f5f5;
}
.about-content {
    display: none;
}
.about-content.active {
    display: block;
}

/* 模块统一白色背景 */
.module-white{
    background: #fff;
    padding: 40px;
    margin-bottom: 40px;    border-radius: 8px;
    text-align: justify;
}

/* 1. 金汇人简介 */
.intro-text {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}
.intro-img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;    border-radius: 8px;
}

/* 2. 我们的重点 无背景 + 16:9图片 */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}
.focus-item {
    text-align: center;background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.5s ease;
}
.focus-img-wrap{
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-bottom: 15px;
}
.focus-img-wrap img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.focus-item h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}
.focus-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;margin-bottom: 30px;
    padding: 0 20px;
}






/* 3. 律师文化 纯文字 + 白色背景 + 2行2列 + hover效果 */
.about-section .culture-grid {
    background: #fff;
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 8px;
    text-align: justify;
}
.culture-item {
    background: #fff;
    color: #666; line-height: 1.8;
}
.culture-item h4 {
    font-size: 18px;
    margin-bottom: 15px;
}
.culture-item p {
    font-size: 15px;
    line-height: 1.8;
}

/* 4. 我们的客户 1行4个 移动端2个 */
.client-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}
.client-tag {
    flex: 0 0 calc(25% - 12px);
    padding: 10px 16px;
    background: #f5f5f5;
    border-radius: 6px;
    font-size: 14px;
    color: #666;
    text-align: center;
    transition: all 0.3s ease;
}
.client-tag:hover {
    background: #002fa7;
    color: #fff;
}


/* 业务列表区域 */
.bussiness-list-section {
    padding: clamp(40px, 8vw, 40px) 0;
    background-color: #f5f5f5;
}
.bussiness-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 3vw, 30px);
    margin-bottom: 40px;
}
.bussiness-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}
/* 第二个卡片hover样式（设计图效果） */
.bussiness-card:hover,
.bussiness-card:hover.active-style {
    background-color: #002fa7;
    color: #fff;
}
.bussiness-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}
.bussiness-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bussiness-card:hover p {
    color: #fff;
}
.bussiness-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bussiness-date {
    font-size: 14px;
    color: #999;
}
.bussiness-card:hover .bussiness-date {
    color: #fff;
}
.bussiness-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #002fa7;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
}
.bussiness-card:hover .bussiness-arrow {
    background-color: #fbd26a;
    color: #002fa7;
}

.bussiness-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 30px);
}
.bussiness-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.5s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.bussiness-item:hover {
    background: #002fa7;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.bussiness-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}
.bussiness-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.bussiness-item:hover .news-img img {
    transform: scale(1.05);
}
.bussiness-content {
    padding: 25px;
}
.bussiness-content h3 {
    font-size: clamp(16px, 1.8vw, 18px);
    margin-bottom: 10px;
}
.bussiness-content p {
    font-size: clamp(13px, 1.4vw, 14px);
    color: #666;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bussiness-item:hover .bussiness-content p {
    color: #fff;
}
.bussiness-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bussiness-bottom span {
    font-size: clamp(12px, 1.4vw, 14px);
}
.bussiness-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #002fa7;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
}
.bussiness-item:hover .bussiness-arrow {
    background: rgb(251, 210, 106);
    color: #002fa7;
}

/* 业务核心区域 - 背景#f5f5f5 */
.business-section {
    background-color: var(--gray);
    padding: 60px 0;
}

/* 按钮样式 */
.btn-group {
    margin: 25px 0 20px 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 25px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;border-radius: 20px;
}
.btn-outline {
    background-color: #fff;
    color: var(--primary);
    border: 1px solid var(--primary);
}
.btn-outline:hover {
    background-color: var(--primary);
    color: #fff; box-shadow: 0 4px 12px rgba(0,47,167,0.2); transform: translateY(-2px);
}
.btn-primary {
    background: #002fa7;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.btn-primary:hover {
    background: #fbd26a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,47,167,0.2);
}

/* 主要法律服务范围列表 */
.service-list {
    font-size: 14px;
    color: #333;
    line-height: 1.8;
    padding-left: 20px;
}
.service-list li {
    list-style-type: disc;
    margin-bottom: 8px;
}

/* 相关律师模块 */
.filter-wrapper {
    background-color: #fff;
    padding: 25px 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.filter-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.filter-input {
    height: 40px;
    padding: 0 15px;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    flex: 1;
    min-width: 200px;
}
.filter-select {
    height: 40px;
    padding: 0 15px;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    flex: 1;
    min-width: 200px;
    appearance: none;
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 15px center;
    background-size: 14px;
}
.search-btn-primary {
    height: 40px;
    padding: 0 30px;
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.search-btn-primary i {
    font-size: 16px;
}

/* 字母筛选栏 */
.letter-filter {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
}
.letter-item {
    width: 42px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.letter-item.active {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.letter-item:hover:not(.active) {
    background-color: #f0f0f0;
}

/* 律师列表模块 */
.lawyer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}
.lawyer-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.lawyer-card:hover {
    background-color: var(--hover-bg);
    color: #fff;
    transform: translateY(-2px);
}
.lawyer-avatar {
    aspect-ratio: 4 / 5;
    flex: 0 0 30%;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}
.lawyer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lawyer-info {
    flex: 1;
}
.lawyer-name {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 2px;
}
.lawyer-title {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}
.lawyer-card:hover .lawyer-title {
    color: #fff;
    opacity: 0.9;
}
.lawyer-contact {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}
.lawyer-card:hover .lawyer-contact {
    color: #fff;
}
.lawyer-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 14px;
    color: var(--primary);
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}
.lawyer-card:hover .lawyer-btn {
    background-color: #fff;
    color: var(--primary);
    border-color: #fff;
}
.lawyer-btn i {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}
.business-section .lawyer-card:hover .lawyer-btn i {
    background-color: #fbd26a;
    color: #002fa7
}

/* 相关资讯模块 (与news.html样式一致) */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 3vw, 30px);
    margin-bottom: 40px;
}
.news-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.news-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text);
}
.news-card:hover .news-title {
    color: #fff;
}
.news-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-date {
    font-size: 14px;
    color: #999;

}
.news-more {
    position: absolute;
    bottom: 20px;
    right: 40px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.news-card:hover .news-more {
    background-color: var(--yellow);
    color: var(--primary);
}

/* 居中按钮样式 */
.center-btn {
    text-align: center;
    margin: 10px 0 30px 0;
}

.business-section .section-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--text);
    margin-bottom: 20px;
    position: relative;
    text-align: left;
}
.business-section .lawyer-name {
    font-size: 22px;
}

/* 专业人员核心区域 - 背景#f5f5f5 */
.team-section {
    background-color: var(--gray);
    padding: 40px 0;
}

/* 筛选模块 - 1:1复刻 */
.filter-wrapper {
    background-color: #fff;
    padding: 25px 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.filter-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.filter-input {
    height: 40px;
    padding: 0 15px;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    flex: 1;
    min-width: 200px;
}
.filter-select {
    height: 40px;
    padding: 0 15px;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    flex: 1;
    min-width: 200px;
    appearance: none;
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 15px center;
    background-size: 14px;
}
.search-btn-primary {
    height: 40px;
    padding: 0 30px;
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.search-btn-primary i {
    font-size: 16px;
}

/* 字母筛选栏 */
.letter-filter {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
}
.letter-item {
    width: 42px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.letter-item.active {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.letter-item:hover:not(.active) {
    background-color: #f0f0f0;
}

/* 律师列表模块 - 1:1复刻 */
.lawyer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.lawyer-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    display: flex;  //display: grid;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;  //grid-template-columns: repeat(3, 1fr)
}
.lawyer-card:hover {
    background-color: var(--hover-bg);
    color: #fff;
    transform: translateY(-2px);
}
.lawyer-avatar {
    aspect-ratio: 4 / 5;
    flex: 0 0 30%;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}
.lawyer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lawyer-info {
    flex: 1;
}
.team-section .lawyer-name {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 2px;
}
.lawyer-title {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}
.lawyer-card:hover .lawyer-title {
    color: #fff;
    opacity: 0.9;
}
.lawyer-contact {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}
.lawyer-card:hover .lawyer-contact {
    color: #fff;
}
.lawyer-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 14px;
    color: var(--primary);
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}
.lawyer-card:hover .lawyer-btn {
    background-color: #fff;
    color: var(--primary);
    border-color: #fff;
}
.lawyer-btn i {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}
.lawyer-card:hover .lawyer-btn i {
    background-color: #fff;
    color: var(--primary);
}
.team-section .lawyer-card:hover .lawyer-btn i {
    background-color: #fbd26a;
    color: var(--primary);
}

/* 徐健卡片 hover 效果预设 */
.lawyer-card.xujian {
    background-color: var(--hover-bg);
    color: #fff;
}
.lawyer-card.xujian .lawyer-title {
    color: #fff;
    opacity: 0.9;
}
.lawyer-card.xujian .lawyer-contact {
    color: #fff;
}
.lawyer-card.xujian .lawyer-btn {
    background-color: #fff;
    color: var(--primary);
    border-color: #fff;font-size: 14px;
}
.lawyer-card.xujian .lawyer-btn i {
    background-color: #fbd26a;
    color: #002fa7;
}
/* Banner - 详情页专属（650px高 + 4:5图片比例 + 无轮播/选项卡） */
.team-des-banner {
    position: relative;
    height: 650px;;
    overflow: hidden;
    margin-top: -80px;
    padding-top: 80px;
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
}
.team-des-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1;
}
.team-des-banner .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 40px 0;
}
.lawyer-basic-info {
    flex: 1;
    max-width: 60%;
}
.lawyer-name {
    font-size: 42px;
    font-weight: bold;

}
.lawyer-position {
    font-size: 20px;
    color: #fff;
    margin-bottom: 25px;
    opacity: 0.9;
}
.lawyer-contact-info {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 30px;
}
.lawyer-contact-info p {
    margin-bottom: 8px;
}
.lawyer-btn-group {
    display: flex;
    gap: 20px;
}
.btn-download, .btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-download {
    background: #fff;
    color: var(--primary);
    border: 1px solid #fff;
}
.btn-download:hover {
    background:#002fa7;
    color: #fff;border: 1px solid #002fa7;
}
.btn-contact {
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
}
.btn-contact:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
/* 4:5比例律师头像容器 */
.lawyer-avatar-wrap {
    flex: 0 0 280px;
    aspect-ratio: 4 / 5;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.lawyer-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 详情核心区域 - 背景#f5f5f5 + 4个模块划分 */
.team-des-section {
    background-color: var(--gray);
    padding: 40px 0;
}
/* 模块通用样式 */
.des-module {
    background: #fff;
    border-radius: 8px;
    padding: 35px 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.module-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 25px;
    color: var(--primary);
    position: relative;
    padding-bottom: 12px;
}
.module-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
}

/* 1. 简介模块（教育/执业/职业背景 + 正文） */
.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}
.intro-grid-item {
    padding: 15px 0 20px 0;
    border-bottom: 1px solid var(--border-gray);
}
.intro-grid-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #555;
}
.intro-grid-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}
.intro-content {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}
.intro-content p {
    margin-bottom: 15px;
}

/* 2. 荣誉模块 */
.honor-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.honor-item {
    padding: 12px 0;
    text-align: center;
    background: var(--gray);
    border-radius: 8px;
    font-size: 14px;
    color: #555;
}
.honor-item:hover {
    background: #002fa7;
    color: #fff;
}

/* 3. 执业领域模块 */
.practice-area-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    row-gap: 15px;
}
.practice-area-item {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* 4. 专业资格和职务模块 */
.qualification-list {
    font-size: 15px;
    line-height: 2;
    color: #444;
}
.qualification-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
}
.qualification-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}
@keyframes slideUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(100px);
        -ms-transform: translateY(100px);
        transform: translateY(100px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
}

.online-box {
    position: fixed;
    z-index: 9999999;
    width: 70px;
    height: 430px;
    margin: auto;
    right: 0px;
    top: 144px;
    bottom: 0px;
    display: block;
}
.online-box .item{
    background-color: rgb(0, 47, 167);
    display: block;
    color: #fff;
    border-bottom: 1px solid;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    padding: 10px 0px;
}
.online-box .item:last-child {
    border: none;
}
.online-box p{
    margin-top: 5px;
}
.online-box .item {
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}
.online-box .item .alert-box {
    position: absolute;
    right: 75px;
    color: #333;
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid #ebeef5;
    top: 15px;
    /*transition: all 1s ease;*/
    /*opacity: 0;*/
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: none;
}
.online-box .item .arrow {
    top: 15px;
    right: -11px;
    border-width: 6px;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .03));
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-left-color: #fff;
}
.online-box .item.weixin .arrow {
    top: 50px;
}
.online-box .item.weixin .alert-box {
    padding: 20px;
    top: -25px;
    left: -149px;
}
.online-box .item.weixin img {
    width: 100px;
}
.mobile-online {
    position: fixed; z-index: 99999999; cursor: pointer; width: 60px; height: 60px; margin: auto; right: 10px; bottom: 5px; display: none;
}

@media (max-width: 1200px) {
    .team-des-section .intro-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-des-section .practice-area-list {
        grid-template-columns: repeat(3, 1fr);
    }
    .team-des-section .honor-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .business-section .lawyer-info,.team-section .lawyer-info { flex: 1; text-align: left; }
}

@media (max-width: 1080px) {
    :root { --banner-height: 650px; }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .treatise-card h3 {
        font-size: 18px;
    }
    .treatise-card p {
        display: none;
        font-size: 14px;
        overflow: hidden;
        height: 180px;
    }
    .treatise-card-content {
        margin: 0;
    }
    .treatise-card {
        gap: 30px;
        padding: 20px;
    }
    .treatise-img-wrapper img {
        transform: scale(.8);
    }

    .history-section .container { padding: 40px 20px; }
    .timeline::after { left: 20px; }
    .timeline-item:nth-child(even) {
        left: 0;
    }
    .timeline-item {
        width: 60%;
        padding-left: 50px;
        padding-right: 20px;
        text-align: left !important;
    }
    .timeline-item { left: 0; }
    .timeline-item:after,.timeline-item:nth-child(even):after { left: 13px; }

    .timeline-text {
        line-height: 30px;
    }

    .culture-grid {
        grid-template-columns: 1fr;
    }
    .about-section .culture-grid {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    .focus-grid {
        grid-template-columns: 1fr;
    }

    .bussiness-banner {
        height: 40vh;
        min-height: 650px;
    }
    .bussiness-list{ grid-template-columns: repeat(2, 1fr);}
    .lawyer-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .lawyer-grid { grid-template-columns: 1fr; }
    .lawyer-card { flex-direction: column; text-align: center; }
    .lawyer-card {background-color: #fff;
        border-radius: 8px;
        padding: 20px;
        display: flex;  //display: grid;
        align-items: center;
        gap: 20px;
        transition: all 0.3s ease;
        border: 1px solid transparent;  }
    .team-section .lawyer-card,.business-section .lawyer-card {
        flex-direction: unset;
    }

    .lawyer-avatar {
        aspect-ratio: 4 / 5;
        flex: 0 0 30%;
        border-radius: 4px;
        overflow: hidden;
        flex-shrink: 0;
    }

    .team-des-banner .lawyer-basic-info {
        max-width: 100%;
        float:left; margin-top: 50px;
    }
    .team-des-banner .lawyer-name { font-size: 36px; }
    .team-des-banner .lawyer-btn-group {
        justify-content: left;
    }
    .team-des-banner .lawyer-avatar-wrap {
        float: right;margin-top: 40px;
    }

    /* 模块内边距适配 */
    .team-des-section .des-module {
        padding: 25px 30px;
    }
    .contact-info { grid-template-columns: repeat(1, 1fr); }
    .form-group {grid-template-columns: repeat(1, 1fr); gap: 15px; }

    .culture-section .culture-text h3{margin-bottom:0px;}
    .culture-section .culture-text { padding: 25px 40px 40px 40px; }
    .timeline-text { line-height: 20px; font-size: 12px; }
    .timeline-top { font-size: 16px; margin-bottom: 5px;}
    .timeline-item:nth-child(even) { margin-top: 10px; }
    .timeline-item:nth-child(odd) { margin-top: 10px; }
    .timeline{padding: 0;}
}

@media (max-width: 768px) {
    .about-tab-item {
        font-size: 14px;
        padding: 12px 0;
    }
    /* 客户标签 移动端1行2个 */
    .client-tag{
        flex: 0 0 calc(50% - 6px);
    }
    .module-white { padding: 20px 15px; text-align: justify; }
    .lawyer-name { font-size: 18px; }
    .lawyer-btn { display: none; }
    .lawyer-name{float: left;padding-top: 10px;}
    .team-section .lawyer-name,.team-section .lawyer-title,.business-section .lawyer-name,.business-section .lawyer-title  {
        float: none;display: inline-block;

    }
    .lawyer-title{float: left;padding: 17px 0 0 10px}
    .lawyer-contact{clear: both;}
    .lawyer-grid { gap: 20px;}
    .lawyer-btn{display: none;}

    .lawyer-name { font-size: 28px; }
    .lawyer-position { font-size: 18px; }
    .lawyer-contact-info { font-size: 14px; }
    .btn-download, .btn-contact {
        padding: 10px 20px;
        font-size: 13px;
    }

    .team-des-banner .lawyer-name { font-size: 28px; float: none}

    /* 模块适配 */
    .team-des-section .intro-grid {
        grid-template-columns: 1fr;
    }
    .team-des-section .honor-list {
        grid-template-columns: 1fr;
    }
    .team-des-section .practice-area-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-des-section .module-title {
        font-size: 18px;
    }
    .business-section .lawyer-name,.team-section .lawyer-name { font-size: 18px; }
    .paged span, .paged a { margin: 3px; padding: 5px 9px; }
    .timeline-item {
        width: 100%;
    }
    .online-box {
        display: none;
    }
    .mobile-online {
        display: block;
    }
}

@media (max-width: 480px) {
    .bussiness-list{ grid-template-columns: repeat(1, 1fr);}
    .business-section { padding: 30px 0; }
    .filter-wrapper { padding: 15px; }
    .letter-item { width: 30px; height: 30px; font-size: 12px; }
    .lawyer-card { padding: 15px; }
    .btn-group { flex-direction: column; }
    .btn { width: 100%; }
    .section-title { font-size: 18px; }

    /* Banner适配 */
    :root { --banner-height: 650px; }
    .lawyer-btn-group {
        flex-direction: column;align-items: center;
        gap: 20px;
    }
    .btn-download, .btn-contact {
        width: 80%;
    }
    .lawyer-avatar-wrap {
        flex: 0 0 180px;
    }
    .lawyer-basic-info{margin-top: 100px;}
    .team-des-banner .container{display:block}
    .team-des-banner .lawyer-basic-info {
        float:none; text-align: center;
    }
    .team-des-banner .lawyer-avatar-wrap{display:none}

    /* 模块适配 */
    .practice-area-list {
        grid-template-columns: 1fr;
    }
    .team-des-section {
        padding: 40px 0 20px 0;
    }
    .des-module {
        padding: 20px 30px;
        margin-bottom: 20px;
    }

    .mobile-nav.open {
        width: 100%;
    }
    .contact-form {
        padding: 20px 0;
    }
    .form-btn {
        width: 100%;
    }
}