/* banner区域 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  

.banner-container {
    height: 421px;
    width: 100vw;
    display: flex;
    justify-content: space-around;
}

.banner-content {
    margin: 0 auto;
    height: 421px;
    width: 100vw;

    display: flex;
    justify-content: space-between;
}

.left-section {
    display: flex;
    align-items: center;
    flex-direction: column;
    color: #fff;
    flex: 0 0 35%;
}

.left-content {
    width: 214px;
height: 420px;
display: flex;
align-items: center;
flex-direction: column;
background: rgba(0,0,0,0.3);
border-radius: 0px 0px 0px 0px;
}

.left-section h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.consult-btn {
    background: #1890ff;
    color: white;
    padding: 12px 40px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
}

.center-section {
    flex: 1;
    text-align: center;
}

.stats-number {
    font-size: 48px;
    color: #fff;
    font-weight: bold;
}

.right-section {
    flex: 0 0 25%;
}
/* 分类查找区域 */
.category-header {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.category-header div {
    cursor: pointer;
    font-size: 16px;
    color: #666;
    padding: 5px 10px;
}

.category-header .active {
    color: #fff;
    font-weight: bold;
    position: relative;
}





.category-list {
    list-style: none;
    padding: 0;
}

.category-item {
    padding: 5px 15px;
    border-radius: 4px;
    transition: all 0.3s;
    cursor: pointer;
    font: 400 14px/16px 'Source Han Sans CN';
    color: #999;
    position: relative;
    
}
.category-item:hover {
    z-index: 101; /* 确保弹窗在最前 */
}
.category-item::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 0;
    width: 10px;
    height: 100%;
    background: transparent;
}



.category-item:hover {
    background: #1890ff;
}

.category-item:hover  {
    font-weight: bold;
    color: #fff;
}

.category-icon {
    width: 16px;
    height: 16px;
    margin-right: 10px;
}
/* 中间区域样式 */
.center-content {
    display: flex;
    height: 100%;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    flex: 0 0 35%;
}
.lawyer-list1{
    flex: 1;
    display: flex;
    gap: 10px;
}
.more-link{
    width: 50px;
    flex-shrink: 0;
}
.main-title {
    font: 400 32px/38px 'Source Han Sans CN';
    color: #fff;
    margin-bottom: 15px;
}

.sub-title2 {
    font-size: 22px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

.contact-line {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 20px;
}
.contact-btn{
    position: absolute;
    bottom: 10px;
}
.line {
    height: 1px;
    width: 40px;
    background: url(../../img/lvshi/lvshi-line.png);
}
.right-line{
    transform: rotate(180deg);
}
.contact-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.img-container {
   display: flex;
   align-items: center; 
}

.img-container img {
    width: 20px;
    height: 20px;
}

.phone-number2 {
    font-weight: 400;
    font-size: 24px;
    color: #FFFFFF;
    line-height: 28px;
    text-align: left;
    font-style: normal;
    margin-left: 10px;
    text-transform: none;
}
/* 右侧地理位置卡片 */
.right-section {
    display: flex;
    height: 100%;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background: url(../../img/lvshi/lvshi-location-banner.png) no-repeat center/contain;
    background-size: 254px 346px;
    color: #fff;
    flex: 0 0 35%;
}
.right-content {
    width: 174px;
    height: 346px;

    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.location-header {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.location-icon {
    width: 16px;
    height: 16px;
}

.location-title {
    font: bold 20px/23px 'Source Han Sans CN';
    color: #333;
}

.sub-title-line {
    position: relative;
    margin: 15px 0;
    text-align: center;
    font-weight: bold;
    font-size: 12px;
    color: #333333;
    line-height: 14px;
    text-align: center;
    font-style: normal;
    text-transform: none;
}

.sub-title-line::before,
.sub-title-line::after {
    content: '';
    position: absolute;

    width: 18px;
    height: 2px;
    background: url(../../img/lvshi/location-line.png) no-repeat;
}

.sub-title-line::before {
    left: -25px;
}

.sub-title-line::after {
    right: -25px;
}

.location-desc {
    font: 400 12px/14px 'Source Han Sans CN';
    color: #999;
    text-align: center;
    margin: 15px 0;
    width: 100%;
    min-width: 175px;
    font-weight: 400;
font-size: 12px;
color: #999999;
line-height: 14px;
text-align: center;
line-height: 20px;
font-style: normal;
text-transform: none;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 改为4列布局 */
    gap: 8px; /* 适当缩小间距 */
    margin-top: 10px;
    width: 100%; /* 确保填满容器 */
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 400;
font-size: 12px;
color: #333333;
line-height: 14px;
text-align: center;
font-style: normal;
text-transform: none;
    min-width: 40px; /* 添加最小宽度限制 */
}

.feature-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 5px;
}
/* 分类推荐列表 */
.category-block {

    letter-spacing: 1px;
    margin-top: 20px;
}

.category-header h2 {
    font: bold 24px/28px 'Source Han Sans CN';
    color: #333;
}
.category-header {
    display: flex;
    align-items: baseline;
}

.highlight {
    color: #183F99;
}

.sub-title {
    font: 400 10px/12px 'Source Han Sans CN';
    color: #666;
    margin-top: 8px;
    font-weight: 400;
    margin: 0;
    padding: 0;
    overflow: hidden;
font-size: 10px;
color: #666666;
line-height: 12px;
text-align: left;
font-style: normal;
text-transform: none;
}

.card-list {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.card-item {
    display: flex;
    cursor: pointer;

    padding: 20px;
    height: 216px;
    background: #fff;

    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.item1 {
    background: linear-gradient( 135deg, rgba(233,239,255,0.7) 0%, rgba(208,238,255,0.7) 49%, rgba(239,251,255,0.7) 100%);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
}
.item2 {
    background: linear-gradient( 135deg, rgba(255,242,232,0.7) 0%, rgba(255,221,195,0.7) 49%, rgba(255,247,242,0.7) 100%);
box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
}
.item3 {
    background: linear-gradient( 135deg, rgba(241, 242, 245, 0.7) 0%, rgba(208,238,255,0.7) 49%, rgba(239,251,255,0.7) 100%);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
}

.left-info1{
    position: relative;
    flex: 1;
    gap: 8px;
    padding: 20px;
}

.lawyer-photo {
    width: 192px;
    height: 192px;
    border-radius: 4px;
    overflow: hidden;
}

.lawyer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 18px;
}

.lawyer-name {
    font: bold 20px/1.5 'Source Han Sans CN';
    color: #333;
    line-height: 18px;
}

.firm {
    font-size: 12px;
    color: #666;
}

.practice-years {
    color: #3370FF;
    font-size: 12px;
    margin-top: 10px;
}

.stats-line {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

.slogan1 {
    font-size: 12px;
    color: #666666;
    margin-top: 10px;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
}

.contact-line {
    display: flex;
    margin-top: 20px;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.phone-icon {
    width: 16px;
    height: 16px;
}
.phone{
    color: #666666;
}
.consult-btn {
    background: linear-gradient( 90deg, #6B97FF 0%, #4077F7 100%);
    color: white;
    width: 88px;
    height: 26px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

.more-btn {
    width: 49px;
    height: 216px;
    background: linear-gradient( 180deg, #F4F4F4 0%, #D9D9D9 100%);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
    border-radius: 6px 6px 6px 6px;
    opacity: 0.7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.more-btn:hover {
    opacity: 1;
}
/* 分割线模块 */
.split-module {
width: 84vw;
    height: 60px;
    margin: 30px auto;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.module-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.title-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vertical-line {
    width: 4px;
    height: 20px;
    background: #183F99;
}

.module-section h3 {
    font: 500 16px/1.5 'Source Han Sans CN';
    color: #333;
}

.tag-container {
    display: flex;
    gap: 15px;
}

.module-tag {
    width: 136px;
    height: 33px;
    border: 1px solid #D9D9D9;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
}
/* 导航模块 */
.nav-module {
    width: 84vw;
    height: 44px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.nav-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;

}

.nav-dot {
    width: 6px;
    height: 6px;
    background: #D9D9D9;
    border-radius: 50%;
}

.nav-item span {
    font: 500 14px/1.5 'Source Han Sans CN';
    color: #333;
    white-space: nowrap;
}
.news-list {
    width: 84vw;
    height: 281px;
    margin: 0 auto;
    margin-top: 40px;
    background: #fff;
}
html {
    overflow-x: hidden;
}

.news-container {
    display: flex;
    height: 100%;
}

.news-left {
    flex: 1;
    /* padding: 20px; */
}

.news-header {
    display: flex;
    gap: 10px;
    position: relative;
}

.tab {
    font: 16px/19px 'Source Han Sans CN';
    color: #666;
    cursor: pointer;
    padding-bottom: 8px;
}

.tab.active {
    color: #183F99;
    font-weight: bold;
}

.underline {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;

    background: #183F99;
    transition: all 0.3s;
}

.news-items {
    margin-top: 20px;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
}

.news-item:hover {
    background-color: #f5f5f5;
}

.news-item .dot {
    width: 6px;
    height: 6px;
    background: #999;
    border-radius: 50%;
}

.news-item .title {
    flex: 1;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item .time {
    color: #999;
    font-size: 12px;
}

.slider-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
}

.slider-dots .dot.active {
    background: #183F99;
}

.news-right {
    padding: 20px;
    width: 40%;
    flex: 1;
    /* padding: 20px; */
    margin-left: 100px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.service-title {
    font-weight: bold;
    font-size: 18px;
    color: #333333;
    line-height: 21px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-bottom: 30px;
    
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.service-item {
    width: 276px;
    height: 79px;
    background: #F5F5F5;
    padding: 12px;
    border-radius: 4px;
}

.service-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.service-icon {
    width: 20px;
    height: 20px;
}

.service-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}
.pufa-knowledge {
    padding: 30px 0;
}

.pk-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
}

.pk-title {
    display: flex;
    align-items: baseline;
}

.pk-subtitle {
    position: relative;
    padding-left: 20px;
}

.pk-subtitle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 16px;
    background: #183F99;
    transform: translateY(-50%);
}
.pf-desc {
    font-weight: 400;
                            font-size: 10px;
                            color: #666666;
                            line-height: 12px;
                            letter-spacing: 1px;
                            text-align: left;
                            font-style: normal;
                            margin-top: 5px;
                            text-transform: none; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.pk-content {
    display: flex;
    gap: 20px;
}

.pk-left {
    flex-shrink: 0;
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.pk-middle, .pk-right {
    flex: 1;
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pk-article-item {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 12px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}
.pk-article-item:hover {
    background: #f8f9fa;
    cursor: pointer;
}

.pk-article-item h4 {
    font-size: 14px;
    color: #333;
}

.pk-article-item .pf-desc {
    color: #666;
    font-size: 12px;

    height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.pk-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 12px;
}
/* 修改后 */
.news-items.active .news-slide.active {
    display: block;
}

/* 保持其他规则不变 */
.news-slide {
    display: none;
}
.news-items {
    display: none;
}
.news-items.active {
    display: block;
}
.sub-category-popup {
    position: absolute;
    left: 100%; /* 定位到父元素右侧 */
    top: 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 15px;
    min-width: 140px;
    display: none;
    z-index: 100;
    margin-left: 5px; /* 添加右边距 */
    top: -10px;
    /* 增加过渡间隙保护 */
    padding: 15px 10px;
    /* 允许弹窗接收鼠标事件 */
    pointer-events: auto;
}

.category-item:hover .sub-category-popup {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.sub-category-popup a {
    display: block;
    padding: 8px 12px;
    color: #666;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.2s;
}
/* 三级行政区划样式 */
.region-list {
    width: 100%;
    position: relative;
    z-index: 500;
}


/* 基础项样式 */
.province-item,
.city-item,
.county-item {
    position: relative;
    padding: 8px 32px 8px 16px;
    transition: all 0.2s;
    cursor: pointer;
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap; /* 新增：防止文字换行 */
}

/* 一级省份样式 */
.province-item {
    color: #fff;
    margin: 6px 0;
    &::after {
        content: ">";
        position: absolute;
        right: 12px;
        color: rgba(255,255,255,0.8);
        font-size: 12px;
    }
    &:hover {
        background: rgba(255,255,255,0.15);
    }
}

/* 二级城市样式 */
.city-item {
    color: #333;
    &::after {
        content: ">";
        position: absolute;
        right: 12px;
        color: #999;
        font-size: 12px;
    }
    &:hover {
        background: #f5f8ff;
    }
}

/* 三级区县样式 */
.county-item {
    color: #666;
    &:hover {
        background: #183F99;
        color: #fff;
        &::after { color: #fff; }
    }
}

/* 级联弹窗公共样式 */
.city-list,
.county-list {
    position: absolute;
    left: calc(100% + 2px);
    top: -10px;
    min-width: 160px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 6px;
    padding: 8px 0;
    z-index: 600;
    display: none;
    min-width: 160px;
    width: auto; /* 修改：根据内容自适应宽度 */
    padding: 8px 0;
    &::before {
        content: "";
        position: absolute;
        left: -6px;
        top: 15px;
        border: 6px solid transparent;
        border-right-color: #fff;
    }
}

/* 二级城市弹窗定位 */
.city-list {
    left: calc(100% + 8px);
    top: -5px;
}

/* 三级区县弹窗定位 */
.county-list {
    min-width: 180px;
    width: auto; /* 新增：移除固定宽度 */
}

/* 悬停显示逻辑 */
.province-item:hover .city-list,
.city-item:hover .county-list {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateX(10px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

/* 分隔线样式 */
.city-item:not(:last-child) {
    border-bottom: 1px solid #eee;
}

/* 悬停保护区域 */
.city-list::after,
.county-list::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 8px;
    height: 100%;
    background: transparent;
}
/* 修改箭头定位 */
.province-item::after,
.city-item::after {
    top: 50%;
    transform: translateY(-50%);
}

/* 保持其他样式不变 */
.province-item::after {
    /* content: ">";
    position: absolute;
    right: 12px;
    color: rgba(255,255,255,0.8);
    font-size: 12px; */
}

.city-item::after {
    content: ">";
    position: absolute;
    right: 12px;
    color: #999;
    font-size: 12px;
}
.lv-img {
    width: 192px;
    height: 12px;
}