.title-a {
    border-bottom: 1px solid #d9d9d9;
    position: relative;
}
.title-name {
    color: #333;
    font-size: 20px;
    font-weight: bold;
    padding-bottom: 12px;
    display: inline-block;
}
.title-name:after {
    content: "";
    display: inline-block;
    width: 42px;
    height: 3px;
    font-size: 0;
    background: #ff9000;
    position: absolute;
    left: 0;
    bottom: -1px;
}
.title-a em {
    color: #999;
    font-size: 14px;
}
.title-more {
    color: #000;
    font-size: 10px;
    float: right;
    line-height: 32px;
}
.main1-p{
	color: #666;
    font-size: 14px;
    line-height: 31px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
}
.main1-p p{
    margin: 0;
}
.list-artical {
    font-size: 14px;
    padding-left: 15px;
    padding-top: 30px;
}
.list-artical li {
    line-height: 30px;
}
.list-artical li a {
    color: #666;
   	display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-list {
    margin: 60px 0;
    text-align: center;
}
.service-list li {
    background-color: F2F2F2;
    width: 100%;
    border: 1px solid #d9d9d9;
    height: 386px;
    position: relative;
    margin-left: 9px;
    display: inline-block;
}
.service-list li .icon {
    margin-top: 16px;
    font-size: 0;
    text-align: center;
}
.service-list li .icon .icon-hover {
    display: none;
}
.service-list li .service-name {
    font-size: 25px;
    color: #333;
    text-align: center;
    margin-top: 15px;
}
.service-list li .service-text {
    margin: 12px 20px 0 20px;
    font-size: 14px;
    color: #999;
    overflow: hidden;
	white-space: nowrap;
}
.service-list li .btn {
    text-align: center;
    margin-top: 30px;
}
.service-list li .viewmore {
    display: inline-block;
    width: 140px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 15px;
    color: #fff;
    background: #3a3a3a;
    border-radius: 40px;
}
.service-list li:hover {
    background: url(../images/service-bg.jpg) #ff9000 no-repeat center bottom;
    border-color: transparent;
    border-bottom: 0;
}
.service-list li:hover .icon-hover {
    display: inline-block !important;
}
.service-list li:hover .service-name, .service-list li:hover .service-text {
    color: #fff;
}
.service-list li:hover .viewmore {
    background: #fff;
    color: #ff9000;
}
.service-list li:hover .icon-normal {
    display: none;
}

.contain-2 {
    margin: 30px 0;
    background: #fff;
    padding: 20px;
    height: 510px;
}
.title-b .name {
    color: #333;
    font-size: 20px;
    font-weight: bold;
}
.title-b i {
    color: #ff9000;
    font-style: normal;
}
.title-b .more {
    color: #000;
    font-size: 10px;
    float: right;
    line-height: 32px;
}
.contain-body-2 {
    margin: 12px 0 0;
    min-height: 252px;
}
.list-img-contain .img {
    font-size: 0;
    border-bottom: 3px solid transparent;
    position: relative;
    overflow: hidden;
}
.list-mix {
    font-size: 14px;
    margin-top: 8px;
    padding-left: 15px;
}
.list-mix li {
    line-height: 34px;
    position: relative;
}
.list-mix li a {
    color: #333;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
}
.list-artical li a:hover {
    color: #ff9000;
    text-decoration: underline;
}
.list-mix li a:hover {
    color: #ff9000;
    text-decoration: underline;
}

.icon-normal images:nth(1) {
    background-image: url(../images/service-bg.jpg);
}

.my-map {
    margin: 20px auto !important;
    width: 100% !important;
    height: 280px !important;
}
@media only screen and (min-width: 280px) and (max-width: 450px) {
	.m-head {
		    box-sizing: border-box;
		    -moz-box-sizing: border-box;
		    -webkit-box-sizing: border-box;
		    width: 100%;
		    height: 50px;
		    background-repeat: no-repeat;
		    line-height: 50px;
		    position: relative;
		    background-color: #000;
		}
		.m-head span {
		    font-size: 20px;
		    color: #fff;
		    margin: 0 0.8rem;
		    height: 100%;
		    z-index: 100;
		    display: block;
		    text-align: center;
		}
		.menu-ul{
			width: 100%;
			height: 100px;
			padding: 0;
			background: #fff;
			padding-top: 10px;
		}
		.menu-ul li{
			list-style: none;
			width: 25%;
			float: left;
			text-align: center;
		}
		.menu-ul li a {
		    font-size: 16px;
		    color: #3fba70;
		    border-right: 0.5px solid #e5e5e5;
		    display: block;
		}
		.menu-ul li img {
		    display: block;
		    width: 40px;
		    height: 40px;
		    margin: 0 auto;
		}
		.menu-ul li span {
		    color: #6fc027;
		    line-height: 35px;
		}
		.menu-ul li i {
		    font-style: normal;
		    display: block;
		    color: #999;
		    font-size: 14px;
		    line-height: 5px;
		}
		
		.abouts{
			padding: 10px;
		}
		.i-title {
		    height: 35px;
		    line-height: 35px;
		    background: #6fc027;
		    padding-right: 5px;
		    border-radius: 5px 0 0 0;
		}
		.i-in-title {
		    font-size: 18px;
		    color: #fff;
		    height: 35px;
		    line-height: 35px;
		    font-weight: 500;
		    float: left;
		    padding: 0 5px;
		    margin: 0;
		}
		.i-title a.more {
		    float: right;
		    color: #d1f6b1;
		    border: 0.5px solid #d1f6b1;
		    font-size: 14px;
		    border-radius: 20px;
		    padding: 0 5px;
		    height: 22px;
		    line-height: 22px;
		    margin-top: 6px;
		}
		.law-info {
			background: #fff;
		    color: #666;
		    line-height: 26px;
		    font-size: 16px;
		    padding: 15px 10px;
		}
		.law-photo{
			width: 35%;
			float: left;
			margin-right: 10px;
		}
		.yw-ul{
			position: relative;
		    display: flow-root;
		    padding: 0;
		    list-style: none;
		    margin-bottom: 0;
		}
		.yw-ul li{
			width: 46%;
		    float: left;
		    margin: 0 2% 10px 2%;
		    color: #fff;
		}
		.yw-ul li a {
		    width: 100%;
		    height: 40px;
		    line-height: 40px;
		    color: #666;
		    text-align: center;
		    font-size: 18px;
		    background: #f3f3f3;
		    display: block;
		    border-radius: 4px;
		    margin: 0 auto;
		    border: 0.5px solid #ccc;
		}
		.wj-ul{
			list-style: none;
			padding: 0;
			line-height: 40px;
		}
		.wj-ul li{
			border-bottom: 0.5px solid #ccc;
		}
		.wj-ul li a{
			font-size: 18px;
			display: block;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
			color: #666;
		}
		.lx-ul{
			list-style: none;
			padding: 0;
			line-height: 40px;
		}
		.lx-ul li{
			color: #666;
			border-bottom: 0.5px dashed #ccc;
		}
		.lx-add{
			line-height: 28px;
    		padding: 5px 0;
		}
		.lx-ul li i img {
		    width: 18px;
		    height: 18px;
		    display: inline-block;
		    margin-right: 10px;
		    vertical-align: -0.05rem;
		}
		.ewm{
			width: 100%;
			height: 240px;
			margin: 0 auto;
			background-color: #fff;
		}
		.ewm img{
			width: 40%;
		    display: block;
		    margin: 0 auto;
		    padding: 10px;
		}
		.other {
		    width: 100%;
		    position: fixed;
		    z-index: 9;
		    bottom: 0;
		    height: 52px;
		    background: #333;
		    /* overflow: hidden; */
		}
		.other a {
		    box-sizing: border-box;
		    -moz-box-sizing: border-box;
		    -webkit-box-sizing: border-box;
		    background-color: #333;
		    display: block;
		    line-height: 1.16rem;
		    text-align: center;
		    height: 52px;
		    width: 25%;
		    float: left;
		    color: #ccc;
		    font-size: 14px;
		    position: relative;
		    padding-top: 5px;
		    border-right: 1px solid #434343;
		}
		.other a.hover {
		    background: #3c3c3c;
		    color: #fff;
		    text-decoration: none;
		}
		.other img{
			width: 24px;
    		height: 24px;
    		display: block;
    		margin: 0 auto;
    		margin-bottom: 6px;
		}
}
@media only screen and (min-width: 450px) and (max-width: 3000px) {
	
}

/* ============================================================
   PbootCMS 站群 移动端适配层（2026-09-27）
   ------------------------------------------------------------
   适用：viplaw.cn 律师站群 705 站 / 59 种模板主题
   机制：追加到各主题 default/css/index.css 末尾（幂等，可重复执行）
   依据：全部主题同源 Bootstrap 3 + 共有类名（container / navbar /
         col-md-* / carousel / swiper / main3-box 等）

   修复的真实缺陷（实测 bjcq.viplaw.cn 390px）：
   1. 折叠菜单展开后 .navbar-collapse 的 max-height 停留在过渡中间值
      （340px），而菜单实际高 510px，overflow:auto 使最后 3 项
      （含「联系我们」）被裁成内部滚动区，用户看不到。
      → 展开态强制 max-height:none; overflow:visible
   2. 主题自带断点只覆盖 280~450px，451~768px 区间无适配。
      → 本层补 768px 断点
   3. 触屏 hover 位移/阴影抖动。
   ============================================================ */

/* ---------- 触屏优化：去掉 hover 位移与阴影抖动 ---------- */
@media (hover: none) {
  .nav-li:hover,
  .main3-box:hover,
  .swiper-slide:hover { transform: none; }
}

@media (max-width: 768px) {
  /* 1. 折叠菜单：展开态必须解除 max-height 限制，否则菜单项被裁切 */
  .navbar-collapse.collapse.in,
  .navbar-collapse.collapsing {
    max-height: none !important;
    overflow: visible !important;
    height: auto !important;
  }
  .navbar-collapse.collapse.in .navbar-nav,
  .navbar-collapse.collapsing .navbar-nav {
    max-height: none !important;
    overflow: visible !important;
  }

  /* 2. 导航项：整行可点，加大触控热区
     注意：header.css 在 index.css 之后加载，且含
     `.navbar-default .navbar-nav > li > a`（特异性 0,3,1），
     故本层用 `html .navbar-default .navbar-nav > li > a`（0,3,2）压制。 */
  html .navbar-nav { width: 100%; margin: 0; }
  html .navbar-nav > li { float: none; width: 100%; }
  html .navbar-default .navbar-nav > li > a,
  html .navbar-nav > li > a,
  html .nav-a {
    display: block;
    padding: 13px 15px;
    font-size: 16px;
    line-height: 1.4;
  }

  /* 3. 头部：logo 与电话纵向排布，避免挤压 */
  html .navbar-header { width: 100%; margin: 0; }
  html .logo-div { float: none; width: 100%; padding-left: 15px; padding-right: 60px; }
  html .logo-img { float: left; width: 56px; margin: 0 8px 0 0; padding-right: 0; background: none; }
  html .logo-img img { max-width: 100%; height: auto; }
  html .logo-title { text-align: left; }
  html .logo-p1 { font-size: 15px; margin: 0; }
  html .logo-p2 { font-size: 13px; margin: 0; }
  html .key-word h1,
  html .logo-div h1 { float: none; font-size: 20px; margin: 0 0 4px; line-height: 1.3; }
  html .logo-tel { float: none; width: 100%; margin: 6px 0 0; text-align: left; }
  html .tel-p2 { font-size: 18px; height: auto; line-height: 1.4; }
  html .tel-p2 img { width: 22px; vertical-align: middle; }
  html .navbar-toggle { margin-top: 6px; margin-right: 8px; }

  /* 4. 容器与栅格：收窄内边距，栅格在窄屏一律整行 */
  html .container { padding-left: 12px; padding-right: 12px; }
  /* Bootstrap .row 默认 margin: 0 -15px，窄屏容器 padding 只有 10~12px，
     负边距会把内容顶出视口（实测 .row 宽 400px / left -5px 造成 5px 溢出）。 */
  html .row { margin-left: 0; margin-right: 0; }
  html .container > .col-md-6,
  html .container > .col-md-4,
  html .container > .col-md-3,
  html .container > .col-md-8,
  html .container > .col-md-9,
  html .container > .col-md-12 { width: 100%; float: none; }

  /* 5. 轮播：高度自适应，避免固定高导致图片裁切 */
  html .banner-size,
  html .carousel-inner > .item > img { width: 100%; height: auto; }
  html .carousel-inner > .item > img { max-height: 260px; object-fit: cover; }

  /* 6. 首页第三部分（分类宫格）：窄屏单列 */
  html .main3-box { width: 100%; float: none; margin-bottom: 12px; }
  html .main3-ul li { font-size: 14px; line-height: 1.7; }

  /* 7. 首页第一部分：图片与信息纵向 */
  html .main1-img { width: 100%; height: auto; }
  html .main1-left-ul li { font-size: 14px; line-height: 1.8; }
  html .main1-p { font-size: 14px; line-height: 1.8; }

  /* 7b. 图片全局兜底：主题把 .headImg 等尺寸规则只写在 450px+ 断点里，
     导致 390px 手机上按原始尺寸渲染（实测 headImg 311x443 撑满屏、
     列表图 215x180 被放大到 370x310）。此处统一约束。 */
  html img { max-width: 100%; height: auto; }
  html .headImg {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    object-position: top center;
    display: block;
  }
  html .main2-img { width: 90px; height: 65px; object-fit: cover; }
  html .main1-headbox { width: 100%; float: none; }
  html .main2-ul img,
  html .main2-ul .main2-img { max-width: 90px; }

  /* 7c. 移动端轮播：主题给 PC 轮播图写了 height:200px，但移动端轮播图
     只有内联 width:100%，无高度约束，图片按原始比例撑到 370x310。
     此处统一约束高度并裁切，与 PC 端视觉一致。 */
  html .mySwiperMobile .swiper-slide img,
  html .mySwiperMobile img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
  }
  html .mySwiperMobile .swiper-slide { height: auto; }
  /* PC 轮播在窄屏必须隐藏（主题用 hidden-xs，但 swiper 样式可能覆盖） */
  html .mySwiperPc.hidden-xs { display: none !important; }

  /* 8. 正文/详情：字号与内边距，长表格横向滚动 */
  html .content,
  html .article-content,
  html .main-content { font-size: 15px; line-height: 1.85; }
  html .content p,
  html .article-content p { text-indent: 0; }
  html .content img,
  html .article-content img { max-width: 100%; height: auto; }
  html .content table,
  html .article-content table,
  html .content pre,
  html .article-content pre {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* 9. 列表页：标题允许换行，日期块收窄 */
  html .list-title,
  html .article-title { font-size: 17px; }
  html .news_index_date { width: 56px; }

  /* 10. 分页：换行居中 */
  html .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
  html .pagination > li > a,
  html .pagination > li > span { margin: 0; padding: 5px 10px; }

  /* 11. 底部固定拨号条：给正文留出安全间距 */
  html body { padding-bottom: 56px; }
}

@media (max-width: 480px) {
  html .navbar-default .navbar-nav > li > a,
  html .navbar-nav > li > a,
  html .nav-a { font-size: 15px; padding: 12px 12px; }
  html .key-word h1,
  html .logo-div h1 { font-size: 18px; }
  html .tel-p2 { font-size: 16px; }
  html .container { padding-left: 10px; padding-right: 10px; }
  html .carousel-inner > .item > img { max-height: 200px; }
  html .content,
  html .article-content,
  html .main-content { font-size: 14px; }
  html .list-title,
  html .article-title { font-size: 16px; }
  html .news_index_date { width: 48px; }
}
