﻿/*------------------------------------------------------------------
[Color codes]
Buttons, etc:	#726FB9 (blue)
hover color:	#fed136 (yellow)
-------------------------------------------------------------------*/
/* main font for menu. */
@import url(http://fonts.googleapis.com/css?family=Lora:400|Raleway:100,200,300,400,500,700,800);
/*- General -*/
body {
	font-family: "Raleway", Sans-serif;
	-webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	letter-spacing: -0.04em;
	font-weight: 700;
	font-style: normal;
	font-family: "Raleway", Sans-serif;
	color: #4A4A4A;
}
p {
	font-family: 'Raleway', sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 24px;
	color: #000;
}
img {
	max-width: 100%;
	height: auto;
}
a {
    color: #4A4A4A;	
}
a:hover, a:focus, a:active, a.active {
	color: #fec503;
}
a, a:hover, a:focus, a:active, a.active {
	outline: 0;
	text-decoration: none;
}
::selection {
	text-shadow: none;
	background: #fed136;
}
section {
	padding-bottom: 60px;
}
section:last-child {
	padding-bottom: 0px;
}
.copyrights{
	text-indent:-9999px;
	height:0;
	line-height:0;
	font-size:0;
	overflow:hidden;
}
/*- Reset bootstrap -*/
@media (min-width: 1200px)
.container {
	width: 1260px;
}
.row-gutter {
	margin-left: -20px;
	margin-right: -20px;
}
.col-gutter {
	padding-left: 20px;
	padding-right: 20px;
}
.sidebar-gutter {
	padding-left: 10px;
       
}
.navbar .navbar-nav > li > a {
	color:#fff;
}
header {
	margin: 130px 0 65px;
	text-align: center;
}
/*- BX Slaider reset -*/
.bxslider {
	margin: 0;
	padding: 0;
}
.bx-wrapper .bx-viewport {
	left: 0;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	border: none;
}
.bx-wrapper .bx-prev {
	border: 1px solid #000;
	background-image: none !important;
	background-color: rgba(223, 223, 223, 0.34);
}
.bx-wrapper .bx-next {
	border: 1px solid #000;
	background-image: none !important;
	background-color: rgba(223, 223, 223, 0.34);
}
.bx-wrapper .bx-prev:hover {
	background-color: rgba(223, 223, 223, 0.34);
}
.bx-wrapper .bx-next:hover {
	background-color: rgba(223, 223, 223, 0.34);
}
.bx-wrapper .bx-controls-direction a {
	position: absolute;
	top: 50%;
	margin-top: -16px;
	outline: 0;
	width: 50px;
	height: 50px;
	text-indent: inherit;
	z-index: 99;
	color: #fff;
	text-align: center;
	line-height: 50px;
}
.main-slider img {
	position: relative;
}
.main-slider h2 {
	position: absolute;
	top: 10px;
	bottom: 10px;
	left: 10px;
	background-color: rgba(0, 0, 0, 0.52);
	color: #fff;
	padding: 25px 40px;
	font-size: 32px;
}
.main-slider h2 a {
	color: #fff;
}
.main-slider h2 a:hover {
	color: #dfdfdf;
}
/*- blog post -*/
.blog-post {
	padding-bottom: 30px;
	margin-bottom: 60px;
	border-bottom: 1px solid #CECECE;
}
.blog-post:last-child {
	border-bottom: none;
}
.blog-post .blog-post-body {
	text-align: center;
	padding: 20px 0;
}
.blog-post .blog-post-body h2 {
	margin: 0;
	padding: 15px 0px 20px;
	font-size: 41px;
	line-height: 49px;
}
.blog-post .blog-post-body p {
	text-align: justify;
	font-size: 20px;
	font-weight: 300;
	line-height: 30px;
	color: #000;
}
.blog-post .blog-post-body a {
	color: #4A4A4A;
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}
.blog-post .blog-post-body a:hover  {
	color: #dddddd;
}
.blog-post .post-meta {
	margin: 5px 0 20px;
	font-weight: 400;
	font-size: 16px;
	color: #B1B1B1;
	font-family: "Lora";
	font-style: italic;
}
.blog-post .post-meta a {
	color: #B1B1B1;
}
.blog-post .post-meta a:hover {
	color: #fed136;
}
.blog-post .post-meta span {
	padding-left: 15px;
	padding-right: 15px;
}
.blog-post .post-meta span:first-child {
	padding-left: 0;
	padding-right: 15px;
}
.blog-post .post-meta i {
	padding-right: 5px;
	font-size: 12px;
}
.blog-post .read-more a {
	display: inline-block;
	padding: 12px 40px;
	margin: 30px 0 0px;
	border: 1px solid;
	border-radius: 25px;
	border-color: #E6E6E6;
	background-color: #F3F3F3;
	font-family: "Open Sans", Sans-serif;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 1.7px;
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}
.blog-post .read-more a:hover {
	background-color: #fed136;
	border-color: #fed136;
	color: #fff;
}
.blog-post .blog-post-text {
	text-align: left;
}
.blog-post .blog-post-text p {
	text-align: justify;
	font-size: 17px;
	font-weight: 400;
	line-height: 28px;
	color: #000;
	letter-spacing: 0.1px;
	margin-bottom: 30px;
}
.blog-post .blog-post-text img {
	max-width: 100%
}
/*- Sidebar -*/
.sidebar-title {
	background-color: #2B2B2B;
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	font-weight: 800;
	letter-spacing: 0.8px;
	font-size: 14px;
	padding:10px 0px;
	margin: 10px 0px;
	font-family: "Raleway", Sans-serif;
}
.sidebar-widget {
	margin-bottom: 5px;	
}
.sidebar-widget li {
	font-size: 17px;
	margin-bottom: 10px;
}
.widget-socials {
	text-align: center;
}
.widget-socials a {
	margin: 3px 8px;
	padding: 5px;
	font-size: 17px;
	color: #3C3C3C;
}
.widget-about img {
	width: 100%;
}
.widget-about h4 {
	text-align: center;
	margin: 10px 0 5px;
}
.widget-about .author-title {
	font-size: 13px;
	font-weight: 400;
	line-height: 20px;
	color: #B5B5B5;
	text-align: center;
}
.widget-about p {
	margin-top: 10px;
	font-size: 17px;
	line-height: 24px;
	color: #000000;
}
.widget-post {
	display: table;
	margin: 0 0 20px 0;
	border-bottom: 1px solid;
	border-color: #E4E4E4;
	padding-bottom: 20px;
	width: 100%;
}
.widget-post:last-child {
	border-bottom: none;
	padding-bottom: 0px;
	margin: 0px;
}
.widget-post .post-image {
	float: left;
	width: 90px;
	vertical-align: middle;
	position: relative;
	margin-right: 20px;
}
.widget-review .post-image {
	width: 70px;
	margin-right: 15px;
}
.widget-post .post-body {
	overflow: hidden;
}
.widget-post h2 {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
}
.widget-post h2 a {
	color: #4A4A4A;
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}
.widget-post h2 a:hover {
	color: #969696;
}
.widget-post .post-meta {
	margin-top: 5px;
	font-weight: 400;
	font-size: 11px;
	color: #B1B1B1;
	font-family: "Lora";
	font-style: italic;
}
.widget-post .post-meta span {
	margin-right: 8px;
}
.widget-post .post-meta span a {
	color: #B1B1B1;
}
.section-title {
	margin: 0 0 45px 0;
	border-top: 1px solid #505050;
	font-size: 28px;
	padding-top: 10px;
	font-weight: 300;
	color: #272727;
}
.section-title span {
}
/*- Footer -*/
footer {
	padding: 0;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #717171;
	text-align: center;
	border-top: 1px solid #CECECE;
}
footer .footer-socials {
	margin: 60px 0 20px;
}
footer .footer-socials a {
	display: inline-block;
	margin-right: 5px;
	background-color: #626165;
	color: #fff;
	/* padding: 20px; */
	font-size: 20px;
	line-height: 45px;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}
footer .footer-socials a:hover {
	background-color: #dddddd;
}
footer .footer-bottom {
	padding: 10px 0 40px;
}
/*- 底部横向导航 -*/
.footer-nav {
	margin: 15px 0;
	padding: 10px 0;
	border-top: 1px solid #3a3a3a;
	border-bottom: 1px solid #3a3a3a;
}
.footer-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}
.footer-nav li {
	margin: 0;
	padding: 0;
}
.footer-nav li::after {
	content: "|";
	margin: 0 10px;
	color: #555;
}
.footer-nav li:last-child::after {
	content: "";
	margin: 0;
}
.footer-nav li a {
	color: #717171;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
	-webkit-transition: color 0.2s ease-out;
	-moz-transition: color 0.2s ease-out;
	-o-transition: color 0.2s ease-out;
	transition: color 0.2s ease-out;
}
.footer-nav li a:hover {
	color: #fed136;
	text-decoration: none;
}
<!-- 文章正文图片自适应 -->

  /* 正文区所有图片：宽度不超过容器，高度自动等比缩放 */
  .blog-post-text img {
    max-width: 100%;
    height: auto;
    display: block;        /* 消除图片底部默认空白 */
    border-radius: 4px;    /* 轻微圆角，视觉更友好 */
  }

  /* 如果编辑器写死了 width/height 行内样式，用 !important 强制覆盖 */
  .blog-post-text img[style] {
    max-width: 100% !important;
    height: auto !important;
  }

  /* 图片居中对齐（可选，根据风格取舍） */
  .blog-post-text p img {
    margin: 0 auto;
  }

  /* 移动端额外保险：防止 table 布局撑破容器 */
  .blog-post-text table {
    max-width: 100%;
    word-break: break-all;
  }

/* -------------------------------------------------------
   瀑布流布局：CSS columns 方案
   桌面端双列，平板单列，纯 CSS 无需 JS
------------------------------------------------------- */

/* 容器：双列瀑布流 */
.masonry-grid {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 20px;
  -moz-column-gap: 20px;
  column-gap: 20px;
}

/* 每个卡片：不允许在列内被截断 */
.masonry-item {
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
  display: inline-block; /* 配合 break-inside 兼容旧 WebKit */
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 20px;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  /* 覆盖 .blog-post 原有的底部分割线和大间距 */
  border-bottom: 1px solid #e8e8e8 !important;
  padding-bottom: 0 !important;
}

/* 卡片内正文区字号适配窄列 */
.masonry-item .blog-post-body {
  padding: 10px 12px 14px;
  text-align: left;
}

.masonry-item .blog-post-body h2 {
  font-size: 18px;
  line-height: 26px;
  padding: 8px 0 8px;
  margin: 0;
}

.masonry-item .blog-post-body p {
  font-size: 14px;
  line-height: 22px;
}

.masonry-item .post-meta {
  font-size: 13px;
  text-align: center;
}

.masonry-item .read-more {
  text-align: center;
}
.masonry-item .read-more a {
  padding: 7px 20px;
  margin: 10px auto 6px;
  font-size: 11px;
}

/* 平板及手机端：单列 */
@media (max-width: 767px) {
  .masonry-grid {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }
}

/* -------------------------------------------------------
   热门推荐区块：轮播图下方三列横排
------------------------------------------------------- */
.hot-recommend {
  margin: 30px 0;
  padding: 0;
}
.hot-recommend-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 25px 0;
  padding: 0;
  background-color: transparent;
  color: #4A4A4A;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-align: center;
  font-family: "Raleway", Sans-serif;
}
/* 标题左右两条装饰线 */
.hot-recommend-title::before,
.hot-recommend-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background-color: #E0E0E0;
}
.hot-recommend-title::before {
  margin-right: 18px;
}
.hot-recommend-title::after {
  margin-left: 18px;
}
.hot-recommend-title i {
  color: #fed136;
  margin-right: 5px;
}
.hot-recommend-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}
.hot-recommend-item {
  padding: 0 10px;
  margin-bottom: 20px;
  box-sizing: border-box;
}
.hot-recommend-link {
  display: block;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  -webkit-transition: box-shadow 0.2s ease-out;
  -moz-transition: box-shadow 0.2s ease-out;
  -o-transition: box-shadow 0.2s ease-out;
  transition: box-shadow 0.2s ease-out;
}
.hot-recommend-link:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}
.hot-recommend-pic {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hot-recommend-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-transition: transform 0.3s ease-out;
  -moz-transition: transform 0.3s ease-out;
  -o-transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
}
.hot-recommend-link:hover .hot-recommend-pic img {
  transform: scale(1.05);
}
.hot-recommend-body {
  padding: 12px 14px 14px;
}
.hot-recommend-body h4 {
  margin: 0 0 8px 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  color: #4A4A4A;
  /* 标题最多两行，超出省略 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hot-recommend-link:hover h4 {
  color: #969696;
}
.hot-recommend-meta {
  font-size: 12px;
  color: #B1B1B1;
  font-family: "Lora", serif;
  font-style: italic;
  text-align: center;
}
.hot-recommend-meta span {
  margin-right: 12px;
}
.hot-recommend-meta span:last-child {
  margin-right: 0;
}
.hot-recommend-meta i {
  margin-right: 4px;
  font-size: 11px;
}
/* 手机端：单列 */
@media (max-width: 767px) {
  .hot-recommend-list {
    flex-direction: column;
  }
  .hot-recommend-item {
    width: 100%;
  }
}

    /* 服务领域卡片 */
    .service-cards {
      margin-bottom: 25px;
    }
    .service-cards .section-title {
      font-size: 22px;
      font-weight: 700;
      color: #1a237e;
      text-align: center;
      margin-bottom: 20px;
      position: relative;
      padding-bottom: 12px;
    }
    .service-cards .section-title::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 50px;
      height: 3px;
      background: #1a237e;
      border-radius: 2px;
    }
    .service-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 15px;
    }
    .service-card {
      background: #fff;
      border: 1px solid #e8eaf6;
      border-radius: 8px;
      padding: 22px 15px;
      text-align: center;
      transition: all 0.3s;
      text-decoration: none;
      display: block;
      color: #333;
    }
    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 25px rgba(26,35,126,0.12);
      text-decoration: none;
      color: #333;
      border-color: #1a237e;
    }
    .service-card .icon-circle {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: linear-gradient(135deg, #e8eaf6, #c5cae9);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 10px;
      font-size: 22px;
      color: #1a237e;
    }
    .service-card h3 {
      font-size: 15px;
      font-weight: 600;
      margin: 0 0 6px;
      color: #1a237e;
    }
    .service-card p {
      font-size: 12px;
      color: #666;
      margin: 0;
      line-height: 1.5;
    }
    /* 信任条 */
    .trust-strip {
      display: flex;
      justify-content: center;
      gap: 40px;
      flex-wrap: wrap;
      padding: 15px 0;
      margin-bottom: 20px;
      border-bottom: 1px solid #eee;
    }
    .trust-item {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      color: #555;
    }
    .trust-item .fa {
      color: #2e7d32;
      font-size: 16px;
    }

/* -------------------------------------------------------
   热门法律问答FAQ：纯文字两列列表，每列五条
------------------------------------------------------- */
.faq-list-section {
  margin: 30px 0;
}
.faq-list {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 30px;
  -moz-column-gap: 30px;
  column-gap: 30px;
}
.faq-list-item {
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
  margin-bottom: 0;
}
.faq-list-item a {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed #E4E4E4;
  color: #4A4A4A;
  font-size: 15px;
  line-height: 22px;
  -webkit-transition: color 0.2s ease-out;
  -moz-transition: color 0.2s ease-out;
  -o-transition: color 0.2s ease-out;
  transition: color 0.2s ease-out;
}
.faq-list-item a:hover {
  color: #1a237e;
  text-decoration: none;
}
.faq-item-icon {
  flex-shrink: 0;
  margin-right: 8px;
  color: #1a237e;
  font-size: 14px;
}
.faq-item-title {
  /* 标题最多一行，超出省略号 */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* 手机端：单列 */
@media (max-width: 767px) {
  .faq-list {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }
}
/* ========== Logo 等比缩放放进导航栏 ========== */

.navbar-brand {
  padding: 5px 15px 5px 0;      /* 让 logo 上下留 5px，左右让位给菜单 */
  height: 50px;                  /* 与 navbar 同高，居中对齐 */
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 40px;                  /* 固定高度 → 等比缩放 */
  width: auto;                   /* 宽自动按 2.31 比例算出 ≈ 92px */
  max-width: 200px;              /* 防止极端宽度溢出 */
  display: block;
}

/* 响应式：手机端 logo 略小 */
@media (max-width: 767px) {
  .navbar-brand img {
    height: 32px;
  }
}
/* ================================================
   修复导航栏错位：压缩菜单项间距让右侧电话挤回同一行
   ================================================ */

/* 1. 压缩所有菜单项的内边距（Bootstrap 3 默认是 15px） */
.navbar-nav > li > a {
  padding-left: 10px;
  padding-right: 10px;
}

/* 2. 字号略缩，让中文菜单不那么宽 */
.navbar-nav > li > a {
  font-size: 13px;       /* 默认约 14px */
}

/* 3. 右侧电话菜单更紧凑 */
.navbar-nav.navbar-right > li > a {
  padding: 10px 6px;
  font-size: 13px;
}

/* 4. logo 也再小一档，给菜单腾空间 */
.navbar-brand img {
  height: 36px;          /* 原 40px */
  margin-right: 4px;
}

/* 5. 兜底：再压缩容器内边距 */
.navbar .container {
  padding-left: 10px;
  padding-right: 10px;
}

/* 6. 安全网：如果还是不够，允许 navbar 横向滚动而不是错位 */
@media (min-width: 1200px) {
  .navbar-collapse {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
  }
}
/* 导航栏背景色改为深海军蓝 */
.navbar-inverse {
  background-color: #0f172a;   /* 替换这里选你喜欢的色 */
  border-color: #0a1020;
}
/* 轮播图（banner）下移，避开 fixed 导航栏并留出呼吸空间 */
.main-slider {
  margin-top: 5px;      /* 导航栏 50px + 额外 30px 留白 */
  margin-bottom: 0px;   /* 与下方信任条保持距离 */
  text-align: center;   /* 轮播图居中 */
}
.main-slider .bx-wrapper {
  margin: 0 auto;       /* bxSlider 容器居中 */
}
.main-slider .bx-wrapper img {
  display: block;
  margin: 0 auto;       /* 轮播图片居中 */
}

.hero-text-banner {
  background-color: #0f172a;  /* 深海军蓝 */
  color: #ffffff;
  width: 100%;
  margin-top: 50px;           /* 避开 fixed 导航栏 */
  padding: 120px 20px;        /* 大留白营造全屏冲击力 */
  text-align: center;
}
/* 显式覆盖全局 h1/p 的深色，避免被继承优先级覆盖 */
.hero-text-banner,
.hero-text-banner h1,
.hero-text-banner p {
  color: #ffffff;
}
.hero-slogan-small { font-size: 15px; letter-spacing: 4px; opacity: 0.9; }
.hero-slogan-large { font-size: 50px; line-height: 1.15; font-weight: 700; margin: 0; }