/* 新闻详情页样式 */
.main-i {
  padding: 60px 0;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  min-height: calc(100vh - 200px);
}

.articlewenzhangye {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 文章头部 */
.articlewenzhangye .hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 15px 30px;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.articlewenzhangye .hd::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #1c85a4 0%, #3ca8d9 100%);
}

.articlewenzhangye .hd h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #272c31;
  line-height: 1.2;
}

.articlewenzhangye .hd .titBar {
  font-size: 14px;
  color: #999;
}

.articlewenzhangye .hd .titBar a {
  color: #1c85a4;
  transition: color 0.3s ease;
}

.articlewenzhangye .hd .titBar a:hover {
  color: #1c85a4;
}

/* 文章内容 */
.articlewenzhangye .bd {
  background: #fff;
  padding: 30px;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  min-height: 400px;
  line-height: 1.8;
  font-size: 16px;
  color: #333;
}

.articlewenzhangye .bd p {
  margin-bottom: 20px;
  text-indent: 2em;
}

.articlewenzhangye .bd img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.articlewenzhangye .bd h2,
.articlewenzhangye .bd h3,
.articlewenzhangye .bd h4 {
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #272c31;
  position: relative;
  padding-left: 15px;
}

.articlewenzhangye .bd h2 {
  font-size: 24px;
}

.articlewenzhangye .bd h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: #1c85a4;
  border-radius: 2px;
}

.articlewenzhangye .bd h3 {
  font-size: 20px;
}

.articlewenzhangye .bd h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  background: #1c85a4;
  border-radius: 2px;
}

.articlewenzhangye .bd h4 {
  font-size: 18px;
}

.articlewenzhangye .bd ul,
.articlewenzhangye .bd ol {
  padding-left: 40px;
  margin: 20px 0;
}

.articlewenzhangye .bd li {
  margin: 10px 0;
  list-style: inherit;
}

.articlewenzhangye .bd blockquote {
  background: #f8f9fa;
  border-left: 4px solid #1c85a4;
  padding: 20px 30px;
  margin: 30px 0;
  border-radius: 0 8px 8px 0;
  color: #666;
  font-style: italic;
}

.articlewenzhangye .bd code {
  background: #f5f5f5;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  color: #e83e8c;
  font-size: 14px;
}

.articlewenzhangye .bd pre {
  background: #272c31;
  color: #fff;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 20px 0;
}

.articlewenzhangye .bd pre code {
  background: transparent;
  color: #fff;
  padding: 0;
}

.articlewenzhangye .bd table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.articlewenzhangye .bd table th,
.articlewenzhangye .bd table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
}

.articlewenzhangye .bd table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #272c31;
}

.articlewenzhangye .bd table tr:last-child td {
  border-bottom: none;
}

.articlewenzhangye .bd table tr:hover {
  background: #f8f9fa;
}

/* 文章底部导航 */
.articlewenzhangye .ft {
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.articlewenzhangye .ft ul {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.articlewenzhangye .ft li {
  flex: 1;
  position: relative;
}

.articlewenzhangye .ft li a {
  display: block;
  padding: 25px 30px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 6px;
  color: #333;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.articlewenzhangye .ft li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2b8fbd 0%, #3ca8d9 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.articlewenzhangye .ft li a:hover::before {
  opacity: 1;
}

.articlewenzhangye .ft li a:hover {
  color: #fff;
  border-color: #1c85a4;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(43, 143, 189, 0.3);
}

.articlewenzhangye .ft li:first-child a::after {
  content: '← ';
  position: relative;
  z-index: 2;
  margin-right: 8px;
  font-weight: bold;
}

.articlewenzhangye .ft li:last-child a::after {
  content: ' →';
  position: relative;
  z-index: 2;
  margin-left: 8px;
  font-weight: bold;
}

.articlewenzhangye .ft li a span {
  position: relative;
  z-index: 2;
  display: inline-block;
}

.articlewenzhangye .ft li:last-child a {
  text-align: right;
}

/* 滚动动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.articlewenzhangye .hd,
.articlewenzhangye .bd,
.articlewenzhangye .ft {
  animation: fadeInUp 0.6s ease-out;
}

.articlewenzhangye .bd {
  animation-delay: 0.2s;
}

.articlewenzhangye .ft {
  animation-delay: 0.4s;
}