﻿/* 全局样式和变量 */
:root {
  --white-text: #fff;
  --primary-color: #c81e1e; /* 网站主色调 - 红色 */
  --secondary-color: #333;  /* 次要颜色 - 深灰色 */
  --text-color: #333;       /* 文本颜色 */
  --light-gray: #f5f5f5;    /* 浅灰色背景 */
  --border-color: #eee;     /* 边框颜色 */
}
h3 {
    animation: fadeIn 0.6s ease-out forwards;
    animation-delay: 0.8s;
}
body {
  line-height: 1.5;
  background-color: #fff;
  overflow-x: hidden;
  width: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* 通用样式 - 移动端默认样式 */
.section-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title h3 {
  display: inline-block;
  position: relative;
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.section-title h3 span {
  position: relative;
  z-index: 1;
  padding: 0 10px;
}

.section-title h3:before {
  content: '';
  background: url(../img/common/class-title.png) no-repeat center;
  width: 100%;
  height: 20px;
  position: absolute;
  left: 0;
  bottom: 0;
}

.section-title p {
  font-size: 14px;
  color: #999;
  text-transform: uppercase;
  padding-left: 0px;
}

.idx-news .item .txt h3{
   font-size:18px !important;
   font-weight:700 !important;
}

/* 大屏幕下的板块标题样式 (>767px) */
@media (min-width: 768px) {
  .section-title {
    text-align: left;
    margin-bottom: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
  }
  
  .section-title:before {
    content: '';
    width: 45px;
    height: 3px;
    background-color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 20px;
  }
  
  .section-title h3 {
    display: block;
    padding-left: 60px;
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 5px;
  }
  
  .section-title h3 span {
    padding: 0;
  }
  
  .section-title h3:before {
    display: none;
  }
  
  .section-title p {
    /*padding-left: 80px;*/
    font-size: 22px;
    color: #444;
    /*font-weight: bold;*/
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .section-title .more-link {
    position: absolute;
    right: 20px;
    bottom: 0;
display: none;
  }
  
  .section-title .more-link a {
    font-size: 16px;
    display: flex;
    align-items: center;
    color: #b91b22;
  }
  
  .section-title .more-link a:after {
    content: '>';
    margin-left: 5px;
  }
}

/* 按钮样式 */
.btn-primary {
  display: inline-block;
  padding: 8px 20px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
}

.btn-outline {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid #ccc;
  color: var(--text-color);
  border-radius: 4px;
  font-size: 14px;
}

.btn-more {
  display: inline-block;
  color: var(--primary-color);
  font-size: 14px;
}

.more-link {
  text-align: right;
}

.more-link a {
  color: var(--primary-color);
  font-size: 14px;
}

/* 响应式布局通用媒体查询 */
@media (max-width: 1200px) {
  .container {
    max-width: 1024px;
  }
}

@media (max-width: 992px) {
  /* 平板电脑通用样式 */
  .container {
    max-width: 720px;
  }
 .announcement-tabs a{display:none}
 .more-link{display:none}
.section-title h3 span{color:#333}
}

@media (max-width: 767px) {
  /* 移动设备通用样式 */
.section-title{    margin-bottom: 20px;}
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    overflow-x: hidden;
  }
 .announcement-tabs a{display:none}
.section-title h3:before{display:none}
  
  /* 防止文本溢出 */
  h1, h2, h3, h4, h5, h6, p, a, span, div {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  /* 通用内容宽度控制 */
  section {
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
}

@media (max-width: 576px) {
  /* 小屏幕移动设备通用样式 */
  .container {
    padding: 0 10px;
  }
  
  .section-title h3 {
    font-size: 20px;
  }
  
  .section-title p {
    font-size: 12px;
  }
 .announcement-tabs a{display:none}
} 
