/* AB模板网 整站模板下载 */
/* 模板：Www.AdminBuy.Cn */
/* 仿站：Fang.AdminBuy.Cn */
/* 素材：Sc.AdminBuy.Cn */
/* js特效：js.AdminBuy.Cn */
/* QQ：9490489 */
/* 微信：wwwadminbuycn */

*{margin:0;padding:0;box-sizing:border-box;font-family:"Microsoft Yahei",sans-serif;}
ul{list-style:none;}
a{text-decoration:none;color:#333;}
img{max-width:100%;display:block;}
.clearfix::after{content:"";display:block;clear:both;}

/* 全局通用 */
.ab_container{width:1200px;margin:0 auto;padding:0 15px;}
.ab_section{padding:80px 0;}
.ab_title{text-align:center;margin-bottom:60px;}
.ab_title h2{font-size:32px;color:#0f3460;margin-bottom:12px;position:relative;display:inline-block;}
.ab_title h2::after{content:"";width:70px;height:3px;background:#16539e;position:absolute;left:50%;transform:translateX(-50%);bottom:-15px;}
.ab_title p{color:#666;margin-top:25px;font-size:16px;}

/* 顶部导航 */
.ab_topbar{background:#0a2447;color:#fff;padding:10px 0;font-size:14px;}
.ab_topbar .ab_container{display:flex;justify-content:space-between;align-items:center;}
.ab_tel a{color:#fff;}

.ab_header{background:#fff;box-shadow:0 2px 8px rgba(0,0,0,0.1);position:sticky;top:0;z-index:999;}
.ab_header .ab_container{display:flex;justify-content:space-between;align-items:center;position:relative;}
.ab_logo{padding:15px 0;}
.ab_logo h1{font-size:26px;color:#0f3460;}
.ab_logo img{ display:block}
.ab_nav ul{display:flex;}
.ab_nav li a{display:block;padding:30px 18px;font-size:16px;transition:0.3s;}
.ab_nav li a:hover{color:#16539e;}
.ab_nav li a.active{color:#16539e;border-bottom:3px solid #16539e;}

/* 移动端汉堡按钮 */
.ab_menu_btn{display:none;width:30px;height:40px;position:absolute;cursor:pointer;z-index:10;right: 15px;}
.ab_menu_btn span{position:absolute;width:100%;height:3px;background:#0f3460;left:0;transition:0.3s;border-radius:2px;}
.ab_menu_btn span:nth-child(1){top:8px;}
.ab_menu_btn span:nth-child(2){top:18px;}
.ab_menu_btn span:nth-child(3){top:28px;}
.ab_menu_btn.active span:nth-child(1){transform:rotate(45deg);top:18px;}
.ab_menu_btn.active span:nth-child(2){opacity:0;}
.ab_menu_btn.active span:nth-child(3){transform:rotate(-45deg);top:18px;}

.ab_mobile_nav{display:none;position:absolute;width:100%;left:0;top:100%;background:#fff;box-shadow:0 4px 8px rgba(0,0,0,0.1);z-index:998;}
.ab_mobile_nav li{border-bottom:1px solid #eee;}
.ab_mobile_nav li a{display:block;padding:14px 20px;font-size:16px;}

/* Banner轮播 */
.ab_banner{height:600px;position:relative;overflow:hidden;}
.ab_banner .swiper{width:100%;height:100%;}
.ab_banner .swiper-slide{width:100%;height:100%;display:flex;align-items:center;background-size:cover;background-position:center;}
.ab_banner .swiper-slide::before{content:"";position:absolute;width:100%;height:100%;background:rgba(6,22,46,0.65);left:0;top:0;z-index:1;}
.ab_banner_text{position:relative;color:#fff;max-width:650px;z-index:2;}
.ab_banner_text h3{font-size:46px;margin-bottom:22px;line-height:1.3;}
.ab_banner_text p{font-size:18px;line-height:1.8;margin-bottom:35px;opacity:0.95;}
.ab_btn{display:inline-block;padding:15px 36px;background:#16539e;color:#fff;border-radius:2px;font-size:17px;transition:0.3s;}
.ab_btn:hover{background:#0f3460;}
.ab_btn_light{background:#fff;color:#0f3460;margin-left:20px;}
.ab_btn_light:hover{background:#eee;}
.ab_banner .swiper-pagination{bottom:30px;}
.ab_banner .swiper-pagination-bullet{background:#fff;opacity:0.6;}
.ab_banner .swiper-pagination-bullet-active{opacity:1;}

/* 律所简介 */
.ab_about{background:#f8f9fa;}
.ab_about_box{display:flex;gap:50px;align-items:center;}
.ab_about_img{width:50%;}
.ab_about_text{width:50%;}
.ab_about_text h3{font-size:26px;color:#0f3460;margin-bottom:20px;}
.ab_about_text p{color:#555;line-height:1.9;font-size:16px;margin-bottom:16px;}

/* 业务领域 */
.ab_service_list{display:flex;flex-wrap:wrap;gap:30px;}
.ab_service_item{width:calc(25% - 23px);background:#fff;box-shadow:0 3px 12px #eee;padding:35px 25px;transition:0.3s;border-top:4px solid transparent;}
.ab_service_item:hover{transform:translateY(-6px);border-top-color:#16539e;box-shadow:0 8px 22px #e2e7ef;}
.ab_service_item h4{font-size:20px;color:#0f3460;margin:16px 0 12px;}
.ab_service_item p{color:#666;line-height:1.7;font-size:15px;}

/* 律师团队 */
.ab_team{background:#f8f9fa;}
.ab_team_list{display:flex;gap:30px;flex-wrap:wrap;}
.ab_team_item{width:calc(25% - 23px);background:#fff;overflow:hidden;}
.ab_team_img{height:320px;overflow:hidden;}
.ab_team_img img{width:100%;height:100%;object-fit:cover;transition:0.4s;}
.ab_team_item:hover .ab_team_img img{transform:scale(1.06);}
.ab_team_info{padding:22px;}
.ab_team_info h4{font-size:19px;color:#0f3460;margin-bottom:6px;}
.ab_team_info span{color:#16539e;font-size:14px;display:block;margin-bottom:10px;}
.ab_team_info p{color:#666;font-size:14px;line-height:1.7;}

/* 成功案例 */
.ab_case_list{display:flex;flex-wrap:wrap;gap:30px;}
.ab_case_item{width:calc(33.333% - 20px);background:#fff;box-shadow:0 2px 10px #eee;overflow:hidden;}
.ab_case_img{height:220px;overflow:hidden;}
.ab_case_img img{width:100%;height:100%;object-fit:cover;transition:0.4s;}
.ab_case_item:hover .ab_case_img img{transform:scale(1.05);}
.ab_case_info{padding:20px;}
.ab_case_info h4{font-size:17px;margin-bottom:10px;color:#0f3460;white-space:nowrap;overflow: hidden;text-overflow:ellipsis;}
.ab_case_info p{color:#666;font-size:14px;line-height:1.7;}

.ab_scrol{max-height: 320px; overflow-y: scroll; scrollbar-width: thin; scrollbar-color: #0f3460 #eee;}

/* 客户评价 */
.ab_comment{background:#0f3460;color:#fff;}
.ab_comment_swiper{padding-bottom:50px;overflow:hidden;}
.ab_comment_item{background:rgba(255,255,255,0.08);padding:30px;border-radius:4px;height:100%;}
.ab_comment_item p{line-height:1.8;margin-bottom:18px;font-size:15px;opacity:0.92;}
.ab_comment_user{font-weight:bold;}
.ab_comment .swiper-pagination-bullet{background:#fff;}

/* 新闻资讯【重点修改移动端布局】 */
.ab_news{background:#f8f9fa;}
.ab_news_wrap{display:flex;gap:40px;}
.ab_news_left{width:70%;}
.ab_news_item{display:flex;background:#fff;margin-bottom:25px;box-shadow:0 2px 8px #e5e8ee;overflow:hidden;}
.ab_news_img{width:240px;height:160px;flex-shrink:0;}
.ab_news_img img{width:100%;height:100%;object-fit:cover;}
.ab_news_txt{padding:20px;flex:1;}
.ab_news_txt h4{font-size:18px;margin-bottom:10px;color:#0f3460;}
.ab_news_txt p{color:#666;font-size:15px;line-height:1.7;margin-bottom:10px;}
.ab_news_time{font-size:13px;color:#999;}

.ab_news_right{width:30%;}
.ab_sidebar_box{background:#fff;padding:25px;box-shadow:0 2px 8px #e5e8ee;margin-bottom:30px;    border-radius: 6px;}
.ab_sidebar_box h3{font-size:18px;color:#0f3460;margin-bottom:17px;padding-bottom:10px;border-bottom:1px solid #eee;}
.ab_hot_news li{padding:10px 0;border-bottom:1px dashed #eee;white-space:nowrap;overflow: hidden;text-overflow:ellipsis;}
.ab_hot_news li a{color:#444;font-size:15px;}
.ab_hot_news li a:hover{color:#16539e;}

/* 在线预约咨询 */
.ab_book{padding:80px 0;background-image:url('../images/bookbg.jpg');background-size:cover;background-position:center;position:relative;color:#fff;text-align:center;}
.ab_book::before{content:"";position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(8,25,48,0.72);}
.ab_book .ab_container{position:relative;}
.ab_book h3{font-size:34px;margin-bottom:18px;}
.ab_book p{font-size:17px;margin-bottom:35px;opacity:0.94;max-width:700px;margin-left:auto;margin-right:auto;line-height:1.8;}

/* 联系我们 */
.ab_contact{padding:80px 0;}
.ab_contact_wrap{display:flex;gap:50px;}
.ab_contact_left{width:50%;}
.ab_contact_left h3{font-size:26px;color:#0f3460;margin-bottom:25px;}
.ab_contact_item{margin-bottom:22px;font-size:16px;color:#555;line-height:1.8;}
.ab_contact_item strong{color:#0f3460;width:90px;display:inline-block;}

.ab_contact_right{width:50%;}
.ab_form{}
.ab_form_row{display:flex;gap:20px;margin-bottom:20px;}
.ab_form input{width:50%;height:48px;padding:0 15px;border:1px solid #ddd;font-size:15px;outline:none;}
.ab_form textarea{width:100%;height:140px;padding:15px;border:1px solid #ddd;font-size:15px;resize:none;outline:none;margin-bottom:20px;}
.ab_form button{padding:14px 45px;background:#16539e;color:#fff;border:none;font-size:16px;cursor:pointer;transition:0.3s;}
.ab_form button:hover{background:#0f3460;}

/* 页脚 */
.ab_footer{background:#0a2447;color:#fff;padding:70px 0 30px;}
.ab_footer_wrap{display:flex;gap:40px;margin-bottom:50px;flex-wrap:wrap;}
.ab_footer_col{flex:1;min-width:180px;}
.ab_footer_col h4{font-size:20px;margin-bottom:25px;padding-bottom:12px;border-bottom:1px solid #23426e;}
.ab_footer_col li{margin-bottom:14px;white-space:nowrap;overflow: hidden;text-overflow:ellipsis}
.ab_footer_col a{color:#c0cde0;}
.ab_footer_col a:hover{color:#fff;}
.ab_copyright{text-align:center;padding-top:30px;border-top:1px solid #23426e;color:#a0b3ce;font-size:14px;line-height:1.8;}

/* 返回顶部 */
.ab_backtop{width:46px;height:46px;background:#16539e;color:#fff;text-align:center;line-height:46px;position:fixed;right:30px;bottom:30px;cursor:pointer;display:none;z-index:998;}

/* 右侧悬浮咨询栏 */
.ab_float_side{position:fixed;right:0;top:50%;transform:translateY(-50%);z-index:997;}
.ab_float_item{width:54px;height:54px;background:#16539e;color:#fff;text-align:center;line-height:54px;border-radius:4px 0 0 4px;margin-bottom:8px;cursor:pointer;position:relative;font-size:22px;}
.ab_float_tip{position:absolute;right:100%;top:0;background:#16539e;white-space:nowrap;padding:0 14px;height:54px;line-height:54px;display:none;border-radius:4px 0 0 4px;}
.ab_float_item:hover .ab_float_tip{display:block;}
.ab_float_qrcode{position:absolute;right:100%;top:-80px;width:160px;background:#fff;padding:10px;display:none;box-shadow:0 2px 12px #999;}
.ab_float_item:hover .ab_float_qrcode{display:block;}

/* =========移动端适配========== */
@media(max-width:1200px){
    .ab_container{width:100%;}
}
@media(max-width:992px){
    .ab_service_item{width:calc(33.333% - 20px);}
    .ab_team_item{width:calc(33.333% - 20px);}
    .ab_honor_item{width:calc(33.333% - 20px);}
	.ab_detail_wrap{flex-direction:column;}
	.ab_detail_main,.ab_detail_sidebar{width:100% !important;}
	.ab_case_thumb{height:260px;}
	.ab_case_item{width:calc(50% - 15px);}
	.ab_contact_wrap{flex-direction:column;}
	.ab_contact_left,.ab_contact_right{width:100% !important;}
	.ab_form_row{flex-direction:column;gap:0;}
	.ab_form_row .ab_form_item{width:100% !important;}
	.ab_detail_wrap{flex-direction:column;}
	.ab_detail_main,.ab_detail_sidebar{width:100%;}
	.ab_article_thumb{height:260px;}
	.ab_news_wrap{flex-direction:column;}
	.ab_news_main,.ab_news_sidebar{width:100% !important;}
	.ab_news_item{flex-direction:column;}
	.ab_news_img{width:100%;height:220px;}
	.ab_service_item{width:calc(50% - 15px);}
	.ab_lawyer_item{width:calc(33.333% - 20px) !important;}
	.ab_lawyer_head{flex-direction: column; align-items: center; text-align: center;}
	.ab_lawyer_avatar{ height: auto !important; width:80% !important}
	
}
@media(max-width:768px){
	.ab_logo img{ height:50px !important}
	.ab_logo{ padding:8px 0 !important}
	.ab_scrol{ max-height:inherit !important}
	.ab_lawyer_img{ height:200px !important}
	.ab_lawyer_item{width:calc(50% - 15px) !important;}
    .ab_nav{display:none;}
    .ab_menu_btn{display:block;}

    .ab_banner{height:420px;}
    .ab_banner_text h3{font-size:30px;}
    .ab_banner_text p{font-size:16px;}
    .ab_btn{padding:12px 24px;font-size:15px;}
    .ab_btn_light{margin-left:10px;}

    .ab_service_item,.ab_team_item{width:calc(50% - 15px);}
    .ab_case_item{width:100% !important;}

    .ab_about_box,.ab_contact_wrap{flex-direction:column;}
    .ab_about_img,.ab_about_text,.ab_contact_left,.ab_contact_right{width:100%;}

    /* =========新闻资讯手机端：上下布局【本次修改】 ========= */
    .ab_news_wrap{flex-direction:column;}
    .ab_news_left,.ab_news_right{width:100%;}
    .ab_news_item{flex-direction:column !important;}
    .ab_news_img{width:100% !important;height:200px !important;}

    .ab_form_row{flex-direction:column;gap:20px;}
    .ab_form input{width:100%;}

    .ab_float_side .ab_float_item{width:42px;height:42px;line-height:42px;font-size:16px;}
    .ab_backtop{right:15px;bottom:15px;width:40px;height:40px;line-height:40px;}

    .ab_section{padding:50px 0;}
    .ab_title h2{font-size:26px;}
	
	.ab_page_banner{height:100px !important;}
	.ab_page_banner h2{font-size:28px !important;}

	.ab_about_box{flex-direction:column;}
	.ab_about_img,.ab_about_text{width:100%;}

	.ab_culture_list{flex-direction:column;}
	.ab_honor_item{width:calc(50% - 15px);}

	.ab_timeline_item{padding-left:75px;}
	.ab_timeline_year{width:60px;height:60px;line-height:60px;font-size:16px;left:5px;}
	.ab_timeline_item::before{left:35px;}
	.ab_section{padding:50px 0;}
	.ab_case_article{padding:15px 15px !important;}
	.ab_contact_box{padding:22px 18px !important;}
	.ab_map_box{height:260px;}
	.ab_article{padding:15px 15px !important;}
	.ab_service_item{width:100% !important;}
	.ab_lawyer_item{width:calc(50% - 15px);}
	.ab_page_banner .ab_container{ padding-bottom: 10px !important;}
	.ab_topbar{display: none;}
}
@media(max-width:576px){
    .ab_case_item{width:100% !important;}
	.ab_lawyer_item{width:calc(50% - 15px) !important;}
}
@media(max-width:480px){
    .ab_service_item,.ab_team_item{width:100%;}
    .ab_topbar .ab_container{flex-direction:column;gap:6px;text-align:center;}
    .ab_banner{height:360px;}
    .ab_banner_text h3{font-size:24px;}
	.ab_honor_item{width:100% !important;}
}
.ab_page_banner{height:280px;position:relative;display:flex;align-items:flex-end;}
.ab_page_banner::before{content:"";position:absolute;width:100%;height:100%;background:rgba(8,25,48,0.65);left:0;top:0;}
.ab_page_banner .ab_container{position:relative;color:#fff;padding-bottom:90px;}
.ab_page_banner h2{font-size:36px;margin-bottom:12px;}
.ab_bread{font-size:15px;opacity:0.9;}
.ab_bread a{color:#fff;}
.ab_bread span{margin:0 8px;}

/* 发展历程 */
.ab_timeline{background:#f8f9fa;}
.ab_timeline_list{max-width:900px;margin:0 auto;}
.ab_timeline_item{display:flex;margin-bottom:36px;position:relative;padding-left:110px;}
.ab_timeline_item::before{content:"";position:absolute;left:40px;top:0;width:2px;height:100%;background:#16539e;}
.ab_timeline_item:last-child::before{display:none;}
.ab_timeline_year{position:absolute;left:0;top:0;width:80px;height:80px;line-height:80px;text-align:center;background:#16539e;color:#fff;border-radius:50%;font-weight:bold;font-size:18px;z-index:2;}
.ab_timeline_txt{background:#fff;padding:25px;box-shadow:0 2px 10px #eee;border-radius:4px;flex:1;}
.ab_timeline_txt h4{color:#0f3460;font-size:18px;margin-bottom:8px;}
.ab_timeline_txt p{color:#666;line-height:1.7;}

/* 律所文化 */
.ab_culture_list{display:flex;gap:30px;}
.ab_culture_item{flex:1;background:#fff;padding:35px 25px;box-shadow:0 3px 12px #eee;text-align:center;border-top:4px solid #16539e;}
.ab_culture_item h4{font-size:20px;color:#0f3460;margin-bottom:14px;}
.ab_culture_item p{color:#666;line-height:1.8;}

/* 荣誉资质 */
.ab_honor_list{display:flex;flex-wrap:wrap;gap:30px;}
.ab_honor_item{width:calc(25% - 23px);background:#fff;box-shadow:0 2px 10px #eee;padding:20px;text-align:center;}
.ab_honor_img{height:180px;overflow:hidden;margin-bottom:15px;}
.ab_honor_img img{width:100%;height:100%;object-fit:cover;}
.ab_honor_item h5{color:#0f3460;font-size:16px;font-weight:normal;}

/* 案例详情主体布局 */
.ab_detail_wrap{display:flex;gap:40px;}
.ab_detail_main{width:820px;}
.ab_detail_sidebar{width:340px;}

.ab_case_article{background:#fff;padding:30px 35px;box-shadow:0 2px 12px rgba(0,0,0,0.06);border-radius:6px;}
.ab_case_thumb{width:100%;height:360px;margin-bottom:30px;overflow:hidden;border-radius:6px;}
.ab_case_thumb img{width:100%;height:100%;object-fit:cover;}
.ab_case_info_line{margin-bottom:20px;color:#666;font-size:15px;}
.ab_case_info_line span{margin-right:20px;}
.ab_case_tag_title{display:inline-block;background:#16539e;color:#fff;font-size:14px;padding:4px 12px;border-radius:3px;margin-bottom:15px;}

.ab_case_article h4{font-size:20px;color:#0f3460;margin:30px 0 16px;padding-left:10px;border-left:3px solid #16539e;}
.ab_case_article p{font-size:16px;line-height:1.9;color:#444;margin-bottom:16px;}
.ab_case_article ul{padding-left:20px;margin-bottom:16px;}
.ab_case_article li{line-height:1.8;color:#444;margin-bottom:8px;list-style:disc;}

.ab_detail_article h3{font-size:26px;color:#0f3460;margin-bottom:20px;}
.ab_detail_article h4{font-size:20px;color:#0f3460;margin:30px 0 16px;}
.ab_detail_article ul{padding-left:20px;margin-bottom:16px;}
.ab_detail_article li{line-height:1.8;color:#444;margin-bottom:8px;list-style:disc;}

/* 侧边栏 */
.ab_side_box{background:#fff;box-shadow:0 2px 12px #eee;padding:26px;margin-bottom:30px;border-radius:6px;}
.ab_side_title{font-size:18px;color:#0f3460;padding-bottom:12px;border-bottom:2px solid #16539e;margin-bottom:20px;}
.ab_side_case li{border-bottom:1px solid #eee;}
.ab_side_case li a{display:block;padding:12px 0;transition:0.2s;font-size:15px;}
.ab_side_case li a:hover{color:#16539e;padding-left:6px;}
.ab_side_contact p{line-height:2;color:#444;margin-bottom:8px;}
.ab_side_news li{border-bottom:1px solid #eee;}
.ab_side_news li a{display:block;padding:12px 0;transition:0.2s;font-size:15px;}
.ab_side_news li a:hover{color:#16539e;padding-left:6px;}
.ab_side_service li{border-bottom:1px solid #eee;}
.ab_side_service li a{display:block;padding:12px 0;transition:0.2s;}
.ab_side_service li a:hover{color:#16539e;padding-left:6px;}

.ab_side_lawyer li{border-bottom:1px solid #eee;}
.ab_side_lawyer li a{display:block;padding:12px 0;transition:0.2s;}
.ab_side_lawyer li a:hover{color:#16539e;padding-left:6px;}

/* 案例列表样式 */
.ab_case_list{display:flex;flex-wrap:wrap;gap:30px;}
.ab_case_item{width:calc(33.333% - 20px);background:#fff;box-shadow:0 3px 14px rgba(0,0,0,0.08);overflow:hidden;transition:0.3s;border-radius:6px;}
.ab_case_item:hover{transform:translateY(-6px);box-shadow:0 8px 24px rgba(22,83,158,0.15);}
.ab_case_img{height:220px;overflow:hidden;background:#f5f5f5;}
.ab_case_img img{width:100%;height:100%;object-fit:cover;transition:0.4s;}
.ab_case_item:hover .ab_case_img img{transform:scale(1.06);}
.ab_case_text{padding:20px 18px 24px;}
.ab_case_tag{display:inline-block;background:#16539e;color:#fff;font-size:13px;padding:3px 10px;border-radius:3px;margin-bottom:10px;}
.ab_case_text h3{font-size:18px;color:#0f3460;margin-bottom:10px;line-height:1.5;display:block;white-space:nowrap;overflow: hidden;text-overflow:ellipsis;}
.ab_case_desc{color:#666;font-size:14px;line-height:1.6;margin-bottom:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.ab_case_more{display:inline-block;color:#16539e;font-weight:bold;font-size:15px;}
.ab_case_more:hover{text-decoration:underline;}

/* 分页预留样式（后续可扩展） */
.ab_page_box{text-align:center;margin-top:60px;}

/* 联系页面布局 */
.ab_contact_wrap{display:flex;gap:40px;}
.ab_contact_left{width:580px;}
.ab_contact_right{flex:1;}

.ab_contact_box{background:#fff;box-shadow:0 3px 14px rgba(0,0,0,0.08);border-radius:6px;padding:35px;}
.ab_contact_item{display:flex;align-items:flex-start;margin-bottom:26px;}
.ab_contact_icon{width:46px;height:46px;background:#16539e;border-radius:50%;text-align:center;line-height:46px;color:#fff;font-size:20px;flex-shrink:0;margin-right:18px;}
.ab_contact_text h5{font-size:17px;color:#0f3460;margin-bottom:6px;}
.ab_contact_text p{color:#555;line-height:1.7;font-size:15px;}
.ab_contact_text a{color:#16539e;}

/* 留言表单 */
.ab_form_item{margin-bottom:18px;}
.ab_form_row{display:flex;gap:16px;}
.ab_form_row .ab_form_item{width:50%;}
.ab_contact_box input,.ab_contact_box textarea{width:100%;height:46px;border:1px solid #ddd;padding:0 14px;font-size:15px;border-radius:4px;outline:none;transition:0.3s;}
.ab_contact_box textarea{height:120px;padding:12px;resize:none;line-height:1.6;}
.ab_contact_box input:focus,.ab_contact_box textarea:focus{border-color:#16539e;}
.ab_submit{width:100%;height:48px;background:#16539e;color:#fff;border:none;font-size:16px;border-radius:4px;cursor:pointer;transition:0.3s;}
.ab_submit:hover{background:#0f3460;}

/* 地图容器 */
.ab_map_box{width:100%;height:360px;border-radius:6px;overflow:hidden;margin-top:30px;background:#eee;}

/* 资讯详情主体布局 */
.ab_detail_wrap{display:flex;gap:40px;}
.ab_detail_main{width:820px;}
.ab_detail_sidebar{width:340px;}

.ab_article{background:#fff;padding:30px 35px;box-shadow:0 2px 12px rgba(0,0,0,0.06);border-radius:6px;}
.ab_article_thumb{width:100%;height:360px;margin-bottom:30px;overflow:hidden;border-radius:6px;}
.ab_article_thumb img{width:100%;height:100%;object-fit:cover;}
.ab_article_info{margin-bottom:20px;color:#666;font-size:15px;}
.ab_article_info span{margin-right:20px;}
.ab_article_tag{display:inline-block;background:#16539e;color:#fff;font-size:14px;padding:4px 12px;border-radius:3px;margin-bottom:15px;}

.ab_article h4{font-size:20px;color:#0f3460;margin:30px 0 16px;padding-left:10px;border-left:3px solid #16539e;}
.ab_article p{font-size:16px;line-height:1.9;color:#444;margin-bottom:16px;}
.ab_article ul{padding-left:20px;margin-bottom:16px;}
.ab_article li{line-height:1.8;color:#444;margin-bottom:8px;list-style:disc;}

/* 资讯列表布局 */
.ab_news_wrap{display:flex;gap:40px;}
.ab_news_main{width:820px;}
.ab_news_sidebar{width:340px;}

.ab_news_item{display:flex;background:#fff;box-shadow:0 3px 14px rgba(0,0,0,0.08);border-radius:6px;overflow:hidden;margin-bottom:30px;transition:0.3s;}
.ab_news_item:hover{transform:translateY(-4px);box-shadow:0 8px 20px rgba(22,83,158,0.12);}
.ab_news_img{width:240px;height:170px;overflow:hidden;background:#f5f5f5;flex-shrink:0;}
.ab_news_img img{width:100%;height:100%;object-fit:cover;transition:0.4s;}
.ab_news_item:hover .ab_news_img img{transform:scale(1.06);}
.ab_news_text{padding:13px 24px;flex:1; overflow:hidden}
.ab_news_tag{display:inline-block;background:#16539e;color:#fff;font-size:13px;padding:3px 10px;border-radius:3px;margin-bottom:10px;}
.ab_news_text h3{font-size:18px;color:#0f3460;margin-bottom:10px;line-height:1.5;display:blockoverflow:hidden;white-space:nowrap;overflow: hidden;text-overflow:ellipsis;}
.ab_news_desc{color:#666;font-size:14px;line-height:1.6;margin-bottom:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.ab_news_meta{font-size:13px;color:#999;display:flex;gap:20px;}
.ab_news_more{color:#16539e;font-weight:bold;font-size:15px;margin-top:8px;display:inline-block;}
.ab_news_more:hover{text-decoration:underline;}

/* 业务列表样式 */
.ab_service_list{display:flex;flex-wrap:wrap;gap:30px;}
.ab_service_item{width:calc(33.333% - 20px);background:#fff;box-shadow:0 3px 14px rgba(0,0,0,0.08);overflow:hidden;transition:0.3s;border-radius:6px;}
.ab_service_item:hover{transform:translateY(-6px);box-shadow:0 8px 24px rgba(22,83,158,0.15);}
.ab_service_img{height:210px;overflow:hidden;}
.ab_service_img img{width:100%;height:100%;object-fit:cover;transition:0.4s;}
.ab_service_item:hover .ab_service_img img{transform:scale(1.06);}
.ab_service_text{padding:24px 0 0;}
.ab_service_text h3{font-size:20px;color:#0f3460;margin-bottom:12px;}
.ab_service_text p{color:#666;line-height:1.7;font-size:15px;margin-bottom:16px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.ab_service_more{display:inline-block;color:#16539e;font-weight:bold;}
.ab_service_more:hover{text-decoration:underline;}

/* 律师详情主体布局 */
.ab_detail_wrap{display:flex;gap:40px;}
.ab_detail_main{width:820px;}
.ab_detail_sidebar{width:340px;}

.ab_lawyer_head{display:flex;gap:30px;margin-bottom:35px;}
.ab_lawyer_avatar{width:180px;height:220px;overflow:hidden;border-radius:6px;}
.ab_lawyer_avatar img{width:100%;height:100%;object-fit:cover;}
.ab_lawyer_info h3{font-size:28px;color:#0f3460;margin-bottom:8px;}
.ab_lawyer_job{color:#16539e;font-size:17px;margin-bottom:12px;}
.ab_lawyer_tag span{display:inline-block;padding:4px 12px;border:1px solid #16539e;color:#16539e;border-radius:3px;margin-right:8px;margin-bottom:8px;font-size:14px;}

.ab_detail_article h4{font-size:20px;color:#0f3460;margin:30px 0 16px;padding-left:10px;border-left:3px solid #16539e;}
.ab_detail_article p{font-size:16px;line-height:1.9;color:#444;margin-bottom:16px}
.ab_detail_article ul{padding-left:20px;margin-bottom:16px;}
.ab_detail_article li{line-height:1.8;color:#444;margin-bottom:8px;list-style:disc;}

/* 律师列表样式 */
.ab_lawyer_list{display:flex;flex-wrap:wrap;gap:30px;}
.ab_lawyer_item{width:calc(25% - 23px);background:#fff;box-shadow:0 3px 14px rgba(0,0,0,0.08);overflow:hidden;transition:0.3s;border-radius:6px;}
.ab_lawyer_item:hover{transform:translateY(-6px);box-shadow:0 8px 24px rgba(22,83,158,0.15);}
.ab_lawyer_img{height:330px;overflow:hidden;background:#f5f5f5;}
.ab_lawyer_img img{width:100%;height:100%;object-fit:cover;transition:0.4s;}
.ab_lawyer_item:hover .ab_lawyer_img img{transform:scale(1.06);}
.ab_lawyer_text{padding:20px 18px 24px;}
.ab_lawyer_text h3{font-size:20px;color:#0f3460;margin-bottom:6px;text-align:center;}
.ab_lawyer_post{text-align:center;color:#16539e;font-size:15px;margin-bottom:10px;}
.ab_lawyer_field{color:#666;font-size:14px;line-height:1.6;text-align:center;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.ab_lawyer_more{display:block;text-align:center;color:#16539e;font-weight:bold;}
.ab_lawyer_more:hover{text-decoration:underline;}

.ab_img img{ max-width:100% !important; height:auto !important;display:inline-block;}
.ab_img p{text-wrap: inherit !important;}
.ab_img p span{text-wrap: inherit !important;}

/* AB模板网新增分页样式 www.admibnuy.cn */
.pagebar { padding:20px; overflow:hidden; clear:both}
.pagebar .pagination {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
.pagination a {
  background: #fff;
  border: 1px solid #ccc;
  color: #333;
  font-size: 12px;
  padding: 8px 10px;
  margin: 0 2px;
  border-radius: 3px; line-height:100%
}
.pagination span {
    color: #333;
    font-size: 12px;
    padding: 7px 2px;
    margin: 0 2px;
    border-radius: 3px;
}
.pagination a:hover {
  color: #333;
  border: 1px solid #333;
}
.pagination a.page-num-current {
  color: #fff;
  background: #333;
  border: 1px solid #333;
}
.pagination .st{ font-family:宋体}
.text-secondary{ text-align:center; padding:20px 0}