    /* 全局重置 */
    *{margin:0;padding:0;box-sizing:border-box;}
    html{font-size:16px;scroll-behavior:smooth;}
    body{font-family:"Microsoft YaHei",sans-serif;color:#333;background:#fff;line-height:1.7;}
    ul,li{list-style:none;}
    a{text-decoration:none;color:#333;transition:0.3s;}
    img{max-width:100%;display:block;}
    input,textarea,button{font-family:inherit;outline:none;border:1px solid #ddd;}
    button{cursor:pointer;background:#d81e06;color:#fff;border:none;}
    .container{max-width:1510px;margin:0 auto;padding:0 20px;width:100%;}

    /* 主辅色变量 */
    :root{
      --main-red:#d81e06;
      --dark-red:#990000;
      --gray-bg:#f8f8f8;
      --white-bg:#ffffff;
      --text:#333;
    }

    /* 顶部欢迎栏 */
    .top-bar{background:var(--dark-red);color:#fff;padding:8px 0;font-size:14px;}
    .top-bar .container{display:flex;justify-content:space-between;align-items:center;}
    .sitemap a{color:#fff;margin-left:12px;}
    .sitemap a:hover{color:#ffc;}

    /* Logo+搜索+预约按钮头部 */
    .header-top{padding:15px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;}
    .logo{width:220px;}
    .search-box{flex:1;max-width:600px;display:flex;}
    .search-box input{flex:1;padding:10px 15px;border-radius:4px 0 0 4px;border-right:none;}
	.search-box input.text{width: 60%;}
	.search-box input.submit{background: no-repeat;border: none;color: #fff;}
    .search-box button{padding:0 20px;border-radius:0 4px 4px 0;}
	.search-box form{width: 100%;}
    .book-btn{padding:12px 26px;border-radius:4px;font-size:16px;font-weight:bold;}
    .book-btn:hover{background:var(--dark-red);}

    /* 全屏遮罩预约弹窗 4:3比例 */
    .mask{
      position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.8);
      z-index:9999;display:none;align-items:center;justify-content:center;padding:30px;
    }
    .form-box{
      width:min(90vw,800px);aspect-ratio:4/3;background:#fff;display:flex;overflow:hidden;
      border-radius:8px;position:relative;
    }
    .form-close{position:absolute;top:15px;right:15px;font-size:24px;color:#333;cursor:pointer;z-index:10;}
    .form-left{width:40%;background:#eee;}
    .form-left img{width:100%;height:100%;object-fit:cover;}
    .form-right{width:60%;padding:30px;overflow-y:auto;}
    .form-right h3{font-size:22px;margin-bottom:20px;color:var(--main-red);text-align:center;}
    .form-item{margin-bottom:16px;}
    .form-item label{display:block;margin-bottom:6px;font-weight:500;}
    .form-item input,.form-item textarea{width:100%;padding:10px;border-radius:4px;}
    .submit-form{width:100%;padding:12px;font-size:16px;margin-top:10px;cursor: pointer;background: var(--main-red);color: #fff;}
	.submit-form:hover{background: var(--dark-red);}
    .err-tip{color:red;font-size:13px;margin-top:4px;display:none;}

    /* 导航栏 PC均分6栏 */
    .nav-wrap{background:var(--main-red);}
    .nav-pc{display:flex;}
    .nav-pc li{flex:1;text-align:center;}
    .nav-pc li a{display:block;padding:16px 0;color:#fff;font-size:16px;font-weight:500;}
    .nav-pc li a:hover{background:var(--dark-red);}
    /* 移动端菜单按钮 */
    .menu-btn{display:none;color:#fff;font-size:24px;padding:14px 20px;}
    /* 右侧滑出移动端菜单 */
    .mobile-nav{
      position:fixed;top:0;right:-300px;width:300px;height:100%;background:#222;
      z-index:9998;transition:right 0.4s;padding-top:60px;
    }
    .mobile-nav.active{right:0;}
    .mobile-nav li a{display:block;padding:16px 30px;color:#fff;border-bottom:1px solid #333;}
    .mobile-nav li a i{margin-right:10px;width:20px;text-align:center;}
    .mobile-close{position:absolute;top:15px;right:20px;color:#fff;font-size:26px;cursor:pointer;}

    /* Banner轮播 */
    .banner{position:relative;overflow:hidden;height:500px;}
    .banner-item{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;transition:opacity 0.6s;}
    .banner-item.active{opacity:1;z-index:2;}
    .banner-item img{width:100%;height:100%;object-fit:cover;}
    .banner-pre,.banner-next{
      position:absolute;top:50%;transform:translateY(-50%);width:45px;height:45px;
      background:rgba(0,0,0,0.4);color:#fff;text-align:center;line-height:45px;
      font-size:20px;cursor:pointer;z-index:10;
    }
    .banner-pre{left:30px;}
    .banner-next{right:30px;}

    /* 通用区块样式 交替底色 */
    .section{padding:60px 0;}
    .section-gray{background:var(--gray-bg);}
    .section-white{background:var(--white-bg);}
    .section-title{text-align:center;font-size:28px;margin-bottom:40px;color:var(--text);position:relative;}
    .section-title:after{
      content:"";width:60px;height:3px;background:var(--main-red);
      position:absolute;left:50%;transform:translateX(-50%);bottom:-10px;
    }

    /* 1.律师介绍模块 左30%图 中间5%留白 右65%文字 */
    .lawyer-box{display:flex;gap:5%;align-items:center;}
    .lawyer-img{width:30%;}
    .lawyer-text{width:65%;}
    .lawyer-text h4{font-size:22px;margin-bottom:15px;color:var(--main-red);}
    .lawyer-text p{margin-bottom:12px;}
    .tag-item{display:inline-block;padding:4px 12px;background:#eee;margin:6px 8px 6px 0;border-radius:3px;}

    /* 2.擅长领域切换模块 */
    .skill-tab{margin-bottom:30px;display:flex;gap:15px;flex-wrap:wrap;justify-content:center;}
    .tab-item{width:140px;text-align:center;padding:15px;border:1px solid #ddd;border-radius:6px;cursor:pointer;transition:0.3s;}
    .tab-item i{font-size:28px;color:#666;margin-bottom:8px;display:block;}
    .tab-item.active{border-color:var(--main-red);background:#fff3f3;}
    .tab-item.active i{color:var(--main-red);}
    .tab-content{display:none;gap:0;align-items:center;}
    .tab-content.active{display:flex;}
	.tab-content-up{width: 70%;float: left;}
    .tab-text{width:50%;padding-right:2.5%;float: left;}
    .tab-img{width:50%;padding-right:2.5%;float: left;}
    .tab-text h5{font-size:20px;margin-bottom:12px;display:flex;align-items:center;gap:8px;}
    .tab-text h5 i{color:var(--main-red);font-size:14px;}
    .tab-text a{color:var(--main-red);margin-top:10px;display:inline-flex;align-items:center;gap:6px;}
	.tab-content-down{width: 30%;float: right;}
	.tab-content-down ul{width: 100%;display: block;}
	.tab-content-down ul li{width: 100%;position: relative;height: 30px;line-height: 30px;border-bottom: 1px dotted #dddddd;}
	.tab-content-down ul li a{display: block;width: 65%;float: left;font-size: 14px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;padding-right: 5%;}
	.tab-content-down ul li span{display: block;width: 30%;float: right;font-size: 14px;text-align: right;}


    /* 3.案件分析 两排6个卡片 */
    .case-list{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;}
    .case-card{background:#fff;overflow:hidden;border-radius:6px;box-shadow:0 2px 8px #eee;}
    .case-card img{width:100%;height:200px;object-fit:cover;}
    .case-card .card-text{padding:18px;}
    .case-card h5{font-size:16px;margin-bottom:8px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
	.case-card .card-text p{display: -webkit-box;-webkit-line-clamp: 3;-webkit-box-orient: vertical;overflow: hidden;font-size: 14px;}
    .case-card a{color:var(--main-red);margin-top:8px;display:inline-block;}

    /* 4.知识科普 单行左图右文10条 */
    .know-item{display:flex;gap:20px;padding:20px 0;border-bottom:1px solid #eee;align-items:center;}
    .know-img{width:180px;flex-shrink:0;}
    .know-text{flex:1;position:relative;padding-bottom:30px;}
    .know-text h5{font-size:18px;margin-bottom:8px;}
    .know-time{position:absolute;left:0;bottom:0;font-size:13px;color:#666;display:flex;align-items:center;gap:5px;}
    .know-more{position:absolute;right:0;bottom:0;color:var(--main-red);display:flex;align-items:center;gap:5px;}

    /* 5.联系我们 左二维码信息 右地图各50% */
    .contact-box{display:flex;gap:40px;}
    .contact-left{width:50%;}
    .contact-left .qrcode{width:160px;margin-bottom:20px;}
    .contact-left p{margin-bottom:12px;font-size:17px;display:flex;align-items:center;gap:10px;}
    .contact-left p i{color:var(--main-red);width:22px;}
    .contact-map{width:50%;min-height:300px;background:#eee;display:flex;align-items:center;justify-content:center;}
#mapWrap {
  overflow: hidden;
  position: relative;
}
#baiduMap {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: auto; 
}

#contact {
  scroll-margin-top: 50px; /* 锚点定位时偏移50px，不直接贴地图 */
}
    /* 友情链接 */
    .link-wrap{padding:30px 0;background:#f0f0f0;}
    .link-list{display:flex;flex-wrap:wrap;gap:15px;justify-content:center;}
    .link-list a{padding:4px 10px;color:#555;}
    .link-list a:hover{color:var(--main-red);}

    /* 底部居中 */
    footer{background:#222;color:#fff;padding:40px 0;text-align:center;font-size:14px;line-height:2;}
    footer a{color:#ccc;margin:0 8px;}


    /* 响应式适配 */
    @media (max-width: 768px) {
		
      .section-2-desc-wrap {
        flex-direction: column;
      }
      .section-2-desc, .section-2-img {
        width: 100%;
        padding-right: 0;
      }
      .section-2-img {
        margin-top: 15px;
      }
      .sub-content-img {
        height: 150px;
      }
    }

    /* 响应式适配 平板手机 */
    @media(max-width:992px){
      .lawyer-box{flex-direction:column;}
      .lawyer-img,.lawyer-text{width:100%;margin-bottom:20px;}
      .tab-content{flex-direction:column;}
      .tab-text,.tab-img{width:100%;padding:0 0 20px;}
      .contact-box{flex-direction:column;}
      .contact-left,.contact-map{width:100%;}
      .case-list{grid-template-columns:repeat(2,1fr);}
    }
    @media(max-width:768px){
      .nav-pc{display:none;}
      .menu-btn{display:block;position: relative;height: 60px;}
	  .menu-btn span{position: absolute;top: 50%;transform: translateY(-50%);left: 0;}
	  .menu-btn i{position: absolute;top: 50%;transform: translateY(-50%);right: 0;}
      .header-top{flex-direction:column;position: relative;height: 150px;}
      .logo{width: 50%;position: absolute;left: 10px; top: 10px}
	  .search-box{width: 100%;position: absolute;bottom: 10px;padding-left: 10px;}
	  .header-top .book-btn{position: absolute;right: 10px;top: 45px;transform: translateY(-50%);}
      .case-list{grid-template-columns:1fr;}
      .banner{height:280px;}
      .know-item{flex-direction:column;}
      .know-img{width:100%;}

    }
/*栏目页*/

    body {
      font-family: "Microsoft YaHei", sans-serif;
      color: #333;
      line-height: 1.6;
      background-color: #f9f9f9;
    }
    /* 网站最大宽度1510px，内容居中 */
    .container {
      max-width: 1510px;
      margin: 0 auto;
    }
    /* 主色调/辅色 */
    :root {
      --main-color: #e60012; /* 主色：红色 */
      --sub-color: #b3000d;  /* 辅色：深红色 */
      --text-color: #333;    /* 文章标题色 */
      --bg-light: #ffffff;   /* 浅底色 */
      --bg-dark: #f5f5f5;    /* 深底色 */
    }
    a {
      text-decoration: none;
      color: var(--text-color);
      transition: 0.3s;
    }
    a:hover {
      color: var(--main-color);
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    /* 文字溢出省略 单行 */
    .text-ellipsis {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    /* 文字溢出省略 两行 */
    .text-ellipsis-2 {
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    /* 文字溢出省略 三行 */
    .text-ellipsis-3 {
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    /* 通用按钮样式 */
    .common-btn {
      display: inline-block;
      padding: 10px 25px;
      background-color: var(--main-color);
      color: #fff;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-size: 16px;
      transition: 0.3s;
    }
    .common-btn:hover {
      background-color: var(--sub-color);
    }

    /* ========== 版块1：面包屑导航 ========== */
    .breadcrumb-section {
      padding: 15px 0;
      background-color: var(--bg-light);
    }
    .breadcrumb {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      color: #666;
    }
    .breadcrumb i {
      color: var(--main-color); /* 图标主色 */
      font-size: 16px;
    }
    .breadcrumb a.active {
      color: var(--main-color);
    }

    /* ========== 版块2：栏目头部信息 ========== */
    .column-header {
      padding: 30px 0;
      background-color: var(--bg-dark);
    }
    /* 栏目名称 */
    .column-title {
      font-size: 28px;
      color: var(--text-color);
      margin-bottom: 20px;
      border-left: 4px solid var(--main-color);
      padding-left: 15px;
    }
    /* 介绍+图片 布局 */
    .column-info {
      display: flex;
      gap: 30px;
      margin-bottom: 25px;
    }
    .column-desc {
	  position: relative;
      flex: 0 0 50%;
      font-size: 15px;
      color: #555;
      line-height: 1.8;
    }
    .column-img {
      flex: 0 0 50%;
    }
	.column-desc .book-btn{position: absolute;left: 0;bottom: 0;}
    /* 响应式：平板/手机 */
    @media (max-width: 992px) {
      .column-info {
        flex-direction: column;
		padding-bottom: 30px;
      }
      .column-desc, .column-img {
        flex: 0 0 100%;
      }
    }

    /* ========== 版块3：子栏目内容 ========== */
    .sub-column-section {
      padding: 40px 0;
      background-color: var(--bg-light);
    }
    /* 子栏目切换 */
    .sub-column-nav {
      display: flex;
      gap: 20px;
      margin-bottom: 30px;
      border-bottom: 1px solid #eee;
      padding-bottom: 10px;
    }
    .sub-column-nav a {
      font-size: 18px;
      padding: 5px 0;
      position: relative;
    }
    .sub-column-nav a.active {
      color: var(--main-color);
    }
    .sub-column-nav a.active::after {
      content: "";
      position: absolute;
      bottom: -10px;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: var(--main-color);
    }
    /* 子栏目内容列表（8条） */
    .sub-column-list {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 25px;
      margin-bottom: 40px;
    }
    .sub-item {
      background: #fff;
      border-radius: 6px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    .sub-item-img {
      width: 100%;
      height: 160px;
      object-fit: cover;
    }
    .sub-item-content {
      padding: 15px;
    }
    .sub-item-title {
      font-size: 16px;
      font-weight: 500;
      margin-bottom: 8px;
      color: var(--text-color);
    }
    .sub-item-desc {
      font-size: 14px;
      color: #666;
      margin-bottom: 10px;
    }
    .sub-item-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
      color: #999;
    }
    .sub-item-detail {
      color: var(--main-color);
    }
    /* 响应式：平板 */
    @media (max-width: 992px) {
      .sub-column-list {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    /* 响应式：手机 */
    @media (max-width: 576px) {
      .sub-column-list {
        grid-template-columns: 1fr;
      }

    }
    /* 分页 */
    .pagination {
      display: flex;
      justify-content: center;
      gap: 10px;
    }
	.pagination li.active{
		background: #d81e06;
	}
	.pagination li.active a{
		color:  #fff;
	}
    .pagination a {
      width: 35px;
      height: 35px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid #eee;
      border-radius: 4px;
    }
	.pagination a:last-child{
		width: 80px;
	}
    .pagination a.active, .pagination a:hover {
      background-color: var(--main-color);
      color: #fff;
      border-color: var(--main-color);
    }

    /* ========== 版块4：事件分析（4条，两行展示） ========== */
    .event-analysis {
      padding: 40px 0;
      background-color: var(--bg-dark);
    }
    .section-title-lm {
      font-size: 24px;
      margin-bottom: 30px;
      border-left: 4px solid var(--main-color);
      padding-left: 15px;
      color: var(--text-color);
    }
    .event-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
    }
    .event-item {
      display: flex;
      gap: 20px;
      align-items: flex-start;
    }
    .event-img {
      width: 35%;
      height: 120px;
      object-fit: cover;
      border-radius: 4px;
	  float: left;
    }
    .event-content {
      width:60%;
	  float: right;
    }
    .event-title {
      font-size: 16px;
      font-weight: 500;
      margin-bottom: 8px;
      color: var(--text-color);
    }
    .event-desc {
      font-size: 14px;
      color: #666;
      margin-bottom: 10px;
    }
    .event-detail {
      display: inline-block;
      padding: 3px 8px;
      border: 1px solid var(--main-color);
      color: var(--main-color);
      font-size: 13px;
      border-radius: 3px;
    }
    /* 响应式：手机 */
    @media (max-width: 576px) {
      .event-list {
        grid-template-columns: 1fr;
		display: block;
        width: 100%;
      }
	  .event-item{padding-bottom: 10px;}
	  .pagination{display: block;overflow: hidden;}
	  .pagination li{float: left;padding-right: 10px;padding-bottom: 10px;}
	  .pagination li.active{background: none;}
	  .pagination li.active a{background: #d81e06;}
    }

    /* ========== 版块5：法律科普（8条，一行2条） ========== */
    .law-science {
      padding: 40px 0;
      background-color: var(--bg-light);
    }
    .law-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px; /* 中间20px间隙 */
    }
    .law-item {
      display: flex;
      align-items: center;
      padding: 15px;
      background: #fff;
      border-radius: 6px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    .law-title {
      flex: 0 0 70%;
      font-size: 16px;
      color: var(--text-color);
    }
    .law-time {
      flex: 0 0 30%;
      text-align: right;
      font-size: 14px;
      color: #999;
    }
    /* 响应式：手机 */
    @media (max-width: 576px) {
      .law-list {
        grid-template-columns: 1fr;
		display: block;
      }
	  .column-header{
	      position: relative;
	  }
	  .column-desc{position: initial;}
	  .column-desc .book-btn{left: 50%;transform: translateX(-50%);bottom: 20px;}
    }

	/*文章页*/
.article-wrap * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.article-wrap ul {
    list-style: none;
}
.article-wrap a {
    text-decoration: none;
    color: inherit;
}
.article-wrap img {
    display: block;
	margin: 0 auto;
}
.article-wrap input, .article-wrap select, .article-wrap textarea, .article-wrap button {
    border: 1px solid #ddd;
    outline: none;
    font-family: inherit;
}

/* ====================== 页面基础容器 最大宽度1510px ====================== */
.article-wrap {
    width: 100%;
    padding: 30px 15px;
    background: #f7f7f7;
}
.article-container {
    max-width: 1510px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* ====================== 版块1 左侧70%文章主体 ====================== */
.article-main {
    width: 70%;
    background: #fff;
    padding: 35px;
    border-radius: 6px;
}
/* 1.1 H1标题居中 #333 */
.article-title {
    font-size: 28px;
    color: #333;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 20px;
}
/* 1.2 文章元信息 */
.article-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    color: #666;
    font-size: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}
.article-meta i {
    margin-right: 5px;
    color: #e6212a;
}
/* 1.3 文章内容 */
.article-content {
    color: #444;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
}
.article-content p {
    margin-bottom: 16px;
}
/* 1.4 上下分页 一左一右 */
.article-page-turn {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.article-page-turn div {
    font-size: 15px;
    color: #555;
}
.article-page-turn a {
    color: #e6212a;
}
.article-page-turn a:hover {
    text-decoration: underline;
}

/* ====================== 版块2 右侧30%侧边栏 ====================== */
.article-sidebar {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
/* 侧边栏通用区块 底色交替 block-odd / block-even */
.sidebar-block {
    border-radius: 6px;
    overflow: hidden;
}
.block-odd {
    background: #fff;
}
.block-even {
    background: #fafafa;
}
/* 暗红色标题栏 白色文字 */
.sidebar-title {
    background: #990a18;
    color: #fff;
    padding: 12px 18px;
    font-size: 17px;
    font-weight: 500;
}

/* 2.1 服务领域列表 */
.service-list {
    padding: 15px 18px;
}
.service-list li {
    padding: 10px 0;
    font-size: 15px;
    color: #333;
    border-bottom: 1px solid #eee;
}
.service-list li:last-child {
    border-bottom: none;
}
.service-list li i {
    color: #e6212a;
    width: 26px;
    display: inline-block;
}

/* 2.2 事件分析新闻项 */
.news-item {
    padding: 15px 18px;
    border-bottom: 1px solid #eee;
	width: 50%;
    float: left;
}
.news-item:last-child {
    border-bottom: none;
}
.news-img {
    margin-bottom: 10px;
    border-radius: 4px;
    overflow: hidden;
}
/* 标题文字溢出省略 */
.news-title {
    font-size: 15px;
    color: #333;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 8px;
}
.news-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
}
.news-detail a {
    color: #e6212a;
}

/* 2.3 预约咨询表单 + 悬浮样式 */
.consult-form {
    padding: 15px 18px;
}
.form-item {
    margin-bottom: 12px;
}
.form-item label {
    display: block;
    font-size: 14px;
    color: #444;
    margin-bottom: 5px;
}
.form-item input, .form-item select {
    width: 100%;
    height: 38px;
    padding: 0 10px;
    font-size: 14px;
}
.form-item textarea {
    width: 100%;
    height: 80px;
    padding: 8px 10px;
    resize: none;
    font-size: 14px;
}
.submit-btn {
    width: 100%;
    height: 42px;
    background: #e6212a;
    color: #fff;
    font-size: 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}
.submit-btn:hover {
    background: #c81b24;
}
.consult-form .submit-form{
	line-height: 50px;
    border-radius: 5px;
}
/* JS添加悬浮class */
.fixed-consult {
    position: fixed;
    top: 20px;
    width: calc((100% - 30px - 1510px) / 2 + (1510px * 0.3) - 30px);
    z-index: 99;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ====================== 响应式适配 平板/手机 ====================== */
/* 平板 小于1024px */
@media screen and (max-width: 1024px) {
    .article-container {
        flex-direction: column;
    }
    .article-main, .article-sidebar {
        width: 100%;
    }
    /* 移动端取消悬浮 */
    .fixed-consult {
        position: static !important;
        width: 100% !important;
        box-shadow: none !important;
    }
}
/* 手机 小于768px */
@media screen and (max-width: 768px) {
    .article-wrap {
        padding: 15px 10px;
    }
    .article-main {
        padding: 20px 15px;
    }
    .article-title {
        font-size: 22px;
    }
    .article-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    .article-page-turn {
        flex-direction: column;
        gap: 10px;
    }
	.channel-list-text{
		padding-right: 10px;
	}
	.block-odd{
	    position: inherit !important;
	}
}

/*频道页*/
        /* ========== 版块1 左侧70% ========== */
        /* 1.1 栏目名称+描述 */
        .channel-title-box h2 {
            font-size: 22px;
            color: #e6212a;
            margin-bottom: 12px;
        }
        .channel-title-line {
            width: 100%;
            height: 1px;
            background: #eee;
            margin-bottom: 12px;
        }
        .channel-title-desc {
            line-height: 1.7;
            color: #666;
        }
        /* 1.2 更多信息分享 */
        .channel-more-share {
            margin: 20px 0;
            padding: 15px;
            background: #f9f0f0;
            border-left: 4px solid #e6212a;
        }
        /* 1.3 栏目列表项 左图30% 右文字70% */
        .channel-list-item {
            display: grid;
            grid-template-columns: 30% 70%;
            gap: 15px;
            padding: 18px 0;
            border-bottom: 1px solid #eee;
        }
        .channel-list-item:last-child {
            border-bottom: none;
        }
        .channel-list-img img {
            width: 100%;
            height: 140px;
            object-fit: cover;
            border-radius: 3px;
        }
        .channel-list-text h3 {
            font-size: 17px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 8px;
            color: #333;
        }
        /* 描述固定3行，第三行省略 */
        .channel-list-desc {
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.6;
            color: #666;
            margin-bottom: 10px;
        }
        /* 时间+详情行 */
        .channel-list-foot {
            display: flex;
            justify-content: space-between;
            font-size: 14px;
            color: #999;
        }
        .channel-list-foot i {
            margin-right: 6px;
            color: #e6212a;
        }
        .channel-list-foot a {
            color: #e6212a;
            text-decoration: none;
        }
        /* 1.4 分页居中 */
        .channel-page {
            text-align: center;
            margin-top: 20px;
        }
		.channel-page li{
			float: left;
		}
		.channel-page li.active{
			color: #fff;
			background: #d81e06;
            border-radius: 2px;
		}
		.channel-page li.active a{
		    color: #fff;
			border: none;
		}
        .channel-page a {
            display: inline-block;
            padding: 6px 14px;
            border: 1px solid #ddd;
            margin: 0 4px;
            text-decoration: none;
            color: #333;
            border-radius: 2px;
        }
        .channel-page a.active {
            background: #e6212a;
            color: #fff;
            border-color: #e6212a;
        }
	/*律师介绍*/
        /* 页面容器 最大宽度1510px 居中 */
        .lawyerl-container {
            max-width: 1510px;
            margin: 0 auto;
            width: 100%;
            overflow: hidden;
        }
        /* 通用板块基础样式 */
        .lawyerl-section {
            padding: 60px 20px;
            width: 100%;
        }
        /* 板块底色交替 */
        .lawyerl-section-odd {
            background-color: #fff;
        }
        .lawyerl-section-even {
            background-color: #f8f3f3;
        }
        /* 板块标题通用 */
        .lawyerl-section-title {
            text-align: center;
            font-size: 32px;
            color: #333;
            margin-bottom: 60px;
            position: relative;
        }
        .lawyerl-section-title::after {
            content: "";
            width: 80px;
            height: 3px;
            background: #d81e06;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: -12px;
        }
        /* ========== 板块1：使命担当 中心辐射布局 ========== */
        .lawyerl-radiate-wrap {
            position: relative;
            width: min(100%, 90vw);
            height: min(900px, 90vw);
            margin: 0 auto;
        }
        /* 圆心核心图标 */
        .lawyerl-radiate-center {
			position: absolute;
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);
			width: 300px;
			height: 300px;
			background: #fff;
			border-radius: 50%;
			display: flex;
			align-items: center;
			justify-content: center;
			z-index: 2;
			border: 3px solid #d81e06;
        }
        .lawyerl-radiate-center i {
            font-size: 120px;
            color: #d81e06;
        }
        /* 放射项通用容器 */
        .lawyerl-radiate-item {
            position: absolute;
            top: 25%;
            left: 40%;
            text-align: center;
            transform-origin: center center;
        }
        /* 引线 */
        .lawyerl-radiate-line {
			position: absolute;
			bottom: -300px;
			left: 50%;
			transform-origin: top center;
			border-left: 2px solid #d81e06;
			z-index: 1;
        }
        /* 文字内容区域 */
        .lawyerl-radiate-text {
            margin-top: calc(450px - 60px);
            display: inline-block;
        }
        .lawyerl-radiate-text i {
            color: #d81e06;
            margin-right: 6px;
            font-size: 32px;
        }
        .lawyerl-radiate-text span {
            font-size: 32px;
            color: #333;
        }
        /* 文字下方等宽横线 */
        .lawyerl-radiate-underline {
            height: 2px;
            background: #d81e06;
            width: 100%;
            margin-top: 4px;
        }
        /* 5个放射项角度分配 0°顶部起，每项72° */
        .lawyerl-item-1 { transform: rotate(0deg) translateY(-550px); }
        .lawyerl-item-2 { transform: rotate(72deg) translateY(-550px); }
        .lawyerl-item-3 { transform: rotate(144deg) translateY(-550px); }
        .lawyerl-item-4 { transform: rotate(216deg) translateY(-550px); }
        .lawyerl-item-5 { transform: rotate(288deg) translateY(-550px); }
        .lawyerl-item-1 .lawyerl-radiate-line { height: 300px;}
        .lawyerl-item-2 .lawyerl-radiate-line { height: 300px;}
        .lawyerl-item-3 .lawyerl-radiate-line { height: 300px;}
        .lawyerl-item-4 .lawyerl-radiate-line { height: 300px;}
        .lawyerl-item-5 .lawyerl-radiate-line { height: 300px;}
        /* 小屏适配 缩小辐射半径 */
        @media (max-width: 768px) {
            .lawyerl-radiate-wrap {
                width: min(100%, 95vw);
                height: min(600px, 95vw);
            }
			.lawyerl-radiate-item{top: 12%;left: 29%;}
			.lawyerl-radiate-line{display: none;}
            .lawyerl-radiate-text { margin-top: calc(300px - 40px); }
            .lawyerl-item-1 { transform: rotate(0deg) translateY(-260px); }
            .lawyerl-item-2 { transform: rotate(72deg) translateY(-260px); }
            .lawyerl-item-3 { transform: rotate(144deg) translateY(-260px); }
            .lawyerl-item-4 { transform: rotate(216deg) translateY(-260px); }
            .lawyerl-item-5 { transform: rotate(288deg) translateY(-260px); }
            .lawyerl-item-1 .lawyerl-radiate-line { height: 300px; }
            .lawyerl-item-2 .lawyerl-radiate-line { height: 300px; }
            .lawyerl-item-3 .lawyerl-radiate-line { height: 300px; }
            .lawyerl-item-4 .lawyerl-radiate-line { height: 300px; }
            .lawyerl-item-5 .lawyerl-radiate-line { height: 300px; }
            .lawyerl-radiate-center {
                width: 90px;
                height: 90px;
            }
            .lawyerl-radiate-center i {
                font-size: 36px;
            }
            .lawyerl-radiate-text span {
                font-size: 14px;
            }
        }
        /* ========== 板块2：我的特点 图标+文字卡片布局 ========== */
        .lawyerl-feature-wrap {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 40px;
            width: min(1100px, 95vw);
            margin: 0 auto;
        }
        .lawyerl-feature-card {
            text-align: center;
            padding: 30px 20px;
            border: 1px solid #eee;
            border-radius: 10px;
            transition: all 0.3s ease;
        }
        .lawyerl-feature-card:hover {
            box-shadow: 0 6px 20px rgba(144, 0, 0, 0.12);
            border-color: #d81e06;
        }
        .lawyerl-feature-icon {
            width: 80px;
            height: 80px;
            background: #f8f3f3;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
        }
        .lawyerl-feature-icon i {
            font-size: 36px;
            color: #d81e06;
        }
        .lawyerl-feature-text {
            font-size: 17px;
            color: #333;
        }

        .more-wrap {
            width: 100%;
            height: 80px;
            /* 居中核心：flex */
            display: flex;
            justify-content: center;
            align-items: center;
			margin-top: 20px;
        }
        .more-wrap a {
			color: #db2206;
			text-decoration: none;
			font-size: 20px;
			font-weight: bold;
			border: 1px solid;
			padding: 5px 20px;
			border-radius: 8px;
		}
        .more-wrap a:hover {
            text-decoration: underline;
			background: #d81e06;
			color: #fff;
        }

/*悬浮按钮*/

    /* 外层悬浮大容器 */
    .float-consult-wrap {
      position: fixed;
      z-index: 9999;
      /* PC端：右侧悬浮 */
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    /* 每个功能项容器 */
    .float-item {
      position: relative;
      display: flex;
      align-items: center;
    }

    /* 按钮本体 */
    .float-btn {
      width: 52px;
      height: 52px;
      border-radius: 8px;
      background: #d82626;
      color: #fff;
      border: none;
      cursor: pointer;
      font-size: 14px;
      writing-mode: horizontal-tb;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s;
      flex-shrink: 0;
	  letter-spacing: 4px;
    }
    .float-btn:hover {
      background: #b81e1e;
    }

    /* 滑出面板（PC hover展示） */
    .slide-panel {
      position: absolute;
      right: 52px;
      top: 0;
      height: 52px;
      background: #ffffff;
      border: 1px solid #eee;
      border-radius: 8px 0 0 8px;
      white-space: nowrap;
      padding: 0 16px;
      display: flex;
      align-items: center;
      overflow: hidden;
      width: 0;
      opacity: 0;
      transition: all 0.3s ease;
      box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    }
    /* hover滑出动画：从右往左展开 */
    .float-item:hover .slide-panel {
      width: 180px;
      opacity: 1;
    }

    /* 二维码面板高度适配 */
    .slide-panel.qrcode-panel {
      height: auto;
      padding:10px;
    }
    .slide-panel.qrcode-panel img{
      width:120px;
      height:120px;
      object-fit:cover;
    }

    /* 复制成功提示 */
    .toast-tip {
      position: fixed;
      left: 50%;
      top: 50%;
      transform: translate(-50%,-50%);
      background: rgba(0,0,0,0.75);
      color:#fff;
      padding:10px 24px;
      border-radius:6px;
      font-size:14px;
      z-index:10000;
      opacity:0;
      pointer-events:none;
      transition:opacity 0.25s;
    }
    .toast-tip.show{
      opacity:1;
    }

    /* ========== 移动端适配 ========== */
    @media (max-width:768px) {
	  .container{padding: 0 10px;}
	  .tab-content-up{width: 100%;}
	  .tab-item{width: auto;}
	  .tab-content-down{width: 100%;}
	  .lawyerl-section-title{margin-bottom: auto;}
	  .section{padding: 20px 0;}
      .float-consult-wrap {
        /* 手机端：悬浮底部，横向排布 */
        right: 0;
        bottom: 16px;
        top: auto;
        transform: none;
        flex-direction: row;
        justify-content: center;
        width: 100%;
        padding:0 16px;
        gap:10px;
      }
      .float-item{
        flex:1;
      }
      .float-btn{
        width:100%;
        height:48px;
        writing-mode: unset;
        border-radius:8px;
      }
      /* 移动端禁用hover滑出效果 */
      .slide-panel{
        display:none !important;
      }
    }