﻿/* 全局重置 - 核心：禁止页面整体横向滚动 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  width: 100%;
  overflow-x: hidden !important;
  font-family: "Microsoft Yahei", sans-serif;
  font-size: 14px;
  color: #333;
  background: #fff;
}

/* 清除浮动 */
.clear,
.udv-clearfix::after {
  content: "";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

a {
  text-decoration: none;
  color: #2b4ba4;
}
a:hover {
  text-decoration: underline;
}

/* 头部样式 */
.wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.header {
  padding: 10px 0;
  display: flex;
  align-items: center;
}
.logo img {
  height: 70px;
  width: auto;
  border: 0;
}
.topl {
  font-size: 18px;
  color: #2b4ba4;
  font-weight: bold;
  margin-left: 10px;
}
.topr {
  margin-left: auto;
}

/* 手机端隐藏广告 */
@media (max-width: 767px) {
  .topr {
    display: none !important;
  }
}

/* 导航栏样式 */
.nav-outer {
  width: 100%;
  background: #2A5296 !important;
  padding: 0 !important;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x;
}
.nav-outer::-webkit-scrollbar {
  display: none !important;
}
.nav-inner {
  width: max-content;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 calc(50% - 600px + 15px) !important;
  height: 100%;
}
@media (max-width: 1200px) {
  .nav-inner {
    padding: 0 15px !important;
  }
}
.nav1 {
  width: 100%;
}
.nav1 ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  height: 36px;
  align-items: center;
}
.nav1 li {
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}
.nav1 li:first-child a {
  padding-left: 0 !important;
}
.nav1 li a {
  display: block;
  color: #fff !important;
  padding: 12px 15px;
  font-size: 16px;
  text-align: left;
  height: 100%;
  line-height: 24px;
}
.nav1 li a.current {
  background: #1f3a80;
  font-weight: bold;
  text-decoration: none;
}
@media (max-width: 767px) {
  .nav1 li a {
    padding: 10px 12px;
    font-size: 16px;
  }
  .nav1 ul {
    height: 36px;
  }
}

/* 面包屑导航 */
.breadcrumb-outer {
  width: 100%;
  margin: 0px 0;
  padding: 0 !important;
}
.breadcrumb-container {
  width: 1200px;
  margin: 0 auto;
  height: 30px;
  padding: 0 !important;
  box-sizing: border-box;
}
.breadcrumb-content {
  border: 1px solid #C4D2EA;
  height: 100%;
  line-height: 30px;
  padding: 0 12px;
  box-sizing: border-box;
  width: 100%;
  text-align: left;
  margin: 0;
}
@media (max-width: 1200px) {
  .breadcrumb-container {
    width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .breadcrumb-content {
    width: 100%;
    border-left: 1px solid #159ad3;
    border-right: 1px solid #159ad3;
  }
}

/* 文章内容区域 */
.article-container {
  width: 1200px;
  max-width: 100%;
  margin: 20px auto;
  padding: 0 15px;
  box-sizing: border-box;
}
.article-title {
  font-size: 24px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  text-align: center;
}
.article-meta {
  font-size: 12px;
  color: #999;
  text-align: center;
  margin-bottom: 20px;
}
.article-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  padding: 0 10px;
}
.article-content p {
  margin-bottom: 15px;
}
.article-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px auto;
}

/* 手机端文章适配 */
@media (max-width: 767px) {
  .article-title {
    font-size: 20px;
  }
  .article-content {
    font-size: 14px;
    padding: 0 5px;
  }
}


/* 文章左右两栏布局 */
.article-wrapper {
  max-width: 1200px;
  margin: 20px auto;
  display: flex;
  gap: 20px;
  padding: 0 15px;
  box-sizing: border-box;
}
/* 左侧主内容 */
.article-main {
  flex: 1;
}
/* 右侧固定200px侧边栏 */
.article-sidebar {
  width: 200px;
  flex-shrink: 0;
}

/* 文章标题 */
.article-title {
  font-size: 24px;
  color: #2b4ba4;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}
/* 文章内容 */
.article-content {
  line-height: 1.8;
  font-size: 14px;
  margin-bottom: 30px;
}
.article-content img {
  max-width: 100%;
  height: auto;
}

/* 咨询表单 */
.ask-form {
  border: 1px solid #ddd;
  padding: 15px;
  background: #f9f9f9;
  margin-top: 20px;
}
.ask-form h3 {
  font-size: 20px;
  color: #2b4ba4;
  margin-bottom: 12px;
}
.ask-form textarea {
  width: 100%;
  height: 120px;
  padding: 10px;
  font-size: 18px; 
  box-sizing: border-box;
  margin-bottom: 10px;
  border: 1px solid #ccc;
}
.ask-form textarea::placeholder {
    color: #999; /* 提示文字浅灰色 */
  opacity: 1; /* 兼容Firefox */
  font-size: 18px; /* 可选：提示文字也保持18px */
}

.form-row {
  margin-bottom: 8px;
}
.form-row span {
  display: inline-block;
  width: 60px;
}
.form-row input {
  width: calc(100% - 64px);
  padding: 4px;
  font-size: 18px; 
  border: 1px solid #ccc;
}
.form-row input::placeholder {
  color: #999; /* 提示文字浅灰色 */
  opacity: 1; /* 兼容Firefox */
  font-size: 18px; 
}
.submit-btn {
  background: #2b4ba4;
  color: #fff;
  font-size: 20px; 
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  margin-top: 5px;
}


/* 文章下方JS容器样式适配 */
<!-- 核心样式：黑色文字 + 拉开间距 --> 
/* JS容器基础样式 */
.article-online {
  width: 100%;
  padding: 20px 10px; /* 上下20px，左右10px内边距，拉开容器整体间距 */
  margin: 15px 0; /* 上下15px外边距，和文章/表单分隔开 */
  border-top: 1px dashed #eee;
  box-sizing: border-box;
  overflow: hidden;
  
  font-size: 16px; /
}

/* 强制JS内所有文字为纯黑色 */
.article-online,
.article-online * {
  color: #000 !important; /* 纯黑色，覆盖JS自带样式 */
  max-width: 100% !important;
  box-sizing: border-box !important;
  
  /* 核心：拉开文字间距 */
  line-height: 2; /* 行高设为2（默认1.4），拉开行间距 */
  letter-spacing: 0.5px; /* 字间距0.5px，拉开单个文字的间距 */
  margin-bottom: 10px; /* 每个元素底部加10px间距，拉开块级元素间距 */
  font-size: 16px !important; 
}

/* 优化JS内链接样式（可选） */
.article-online a {
  color: #000 !important; /* 链接也设为黑色 */
  text-decoration: none;
  padding: 2px 0; /* 链接上下加2px内边距，更易点 */
}
.article-online a:hover {
  text-decoration: underline;
  color: #333 !important; /* hover时稍暗，提升交互感 */
}

/* 优化JS内按钮/输入框间距 */
.article-online button,
.article-online input,
.article-online textarea {
  margin-top: 8px !important;
  margin-bottom: 12px !important;
  padding: 8px !important;
}


/* 右侧边栏模块 */
.side-box {
  border: 1px solid #eee;
  padding: 10px;
  margin-bottom: 15px;
}
.side-box h4 {
  font-size: 20px;
  color: #2b4ba4;
  text-align: center;
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}
.lawyer-pic {
  text-align: center;
  margin-bottom: 8px;
}
.lawyer-name {
  font-size: 16px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 5px;
}
.lawyer-tel {
  font-size: 20px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 5px;
}


.city-list {
  list-style: none;
  padding: 0;
  font-size: 18px; 
  line-height: 1.8;
}
.city-list li {
  text-align: center;
}
.city-list li a {
  text-align: center;
}

/* 手机端：侧边栏下移 */
@media (max-width: 767px) {
  .article-wrapper {
    flex-direction: column;
  }
  .article-sidebar {
    width: 100%;
  }
}


/* 适配侧边栏JS容器 */

.lawyer-js-container {
  
width: 100%; /* 填满200px侧边栏 */
  
padding: 5px 0;
  
box-sizing: border-box;
  
overflow: hidden; /* 防止JS内容超出侧边栏 */

  color: #000 !important; /* 核心：强制文字黑色 */
}

/* 确保JS加载的内容不超出200px宽度 */

.lawyer-js-container * {
  max-width: 100% !important;
  box-sizing: border-box !important;
  color: #000 !important; /* 覆盖JS内部样式 */
}



/* 底部样式 */
p[align="center"] {
  text-align: center;
  padding: 20px 10px;
  font-size: 12px;
  color: #666;
  line-height: 2;
} 