/*
* 模板036：枣红色传统新闻门户风格
* 主色调：枣红色 #c00
* 布局：标准新闻门户两栏布局，参考人民网/新华网正规风格
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #c00;
  --primary-dark: #900;
  --text: #222;
  --text-secondary: #555;
  --text-light: #888;
  --border: #e0e0e0;
  --border-light: #eee;
  --bg: #f4f4f4;
  --bg-white: #ffffff;
}

body {
  font-family: "SimSun", "Songti SC", "Noto Serif SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

/* 顶部条 */
.top-bar {
  background: #f0f0f0;
  line-height: 32px;
  font-size: 12px;
  color: #666;
  border-bottom: 1px solid #e5e5e5;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-tools a {
  margin-left: 15px;
  color: #666;
}

.top-tools a:hover {
  color: var(--primary);
}

/* 头部 */
.site-header {
  background: var(--bg-white);
  padding-top: 15px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0 20px;
}

.logo-block {
  flex: 1;
}

.site-logo {
  display: block;
}

.logo-name {
  display: block;
  font-size: 42px;
  font-weight: bold;
  color: var(--primary);
  letter-spacing: 5px;
  font-family: "SimHei", "Heiti SC", "Noto Sans SC", sans-serif;
}

.logo-slogan {
  display: block;
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 2px;
  margin-top: 5px;
  font-family: Arial, sans-serif;
}

.header-hotline {
  text-align: right;
}

.hotline-label {
  font-size: 12px;
  color: var(--text-secondary);
}

.hotline-number {
  font-size: 26px;
  font-weight: bold;
  color: var(--primary);
  font-family: Arial, sans-serif;
  line-height: 1.2;
}

.hotline-number a {
  color: var(--primary);
}

.hotline-time {
  font-size: 12px;
  color: var(--text-light);
}

/* 主导航 */
.main-navigation {
  background: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  padding: 12px 0;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

.main-nav-list {
  display: flex;
}

.main-nav-list li a {
  display: block;
  padding: 0 22px;
  line-height: 46px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  font-family: "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

.main-nav-list li a:hover,
.main-nav-list li a.active {
  background: var(--primary-dark);
  color: #fff;
}

/* 焦点区 */
.focus-section {
  padding: 15px 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.focus-wrap {
  display: grid;
  grid-template-columns: 750px 1fr;
  gap: 20px;
}

.focus-big {
  position: relative;
  border: 1px solid var(--border);
  overflow: hidden;
}

.focus-big img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.focus-big-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: #fff;
}

.focus-big-text h2 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 8px;
  line-height: 1.4;
}

.focus-big-text p {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.9;
}

.focus-news {
  border: 1px solid var(--border);
}

.news-box-title {
  background: var(--primary);
  color: #fff;
  padding: 8px 15px;
  font-size: 15px;
  font-weight: bold;
}

.news-box-title span {
  border-left: 4px solid #fff;
  padding-left: 8px;
}

.important-news li {
  padding: 11px 15px;
  border-bottom: 1px dotted var(--border);
  font-size: 14px;
  line-height: 1.5;
}

.important-news li:last-child {
  border-bottom: none;
}

.important-news li a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.important-news li a:before {
  content: '•';
  color: var(--primary);
  margin-right: 8px;
}

/* 区块标题通用 */
.section-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 15px;
}

.section-name {
  font-size: 18px;
  font-weight: bold;
  color: var(--primary);
  font-family: "Microsoft YaHei", sans-serif;
}

.section-more a {
  font-size: 12px;
  color: var(--text-light);
}

/* 平台频道 */
.channel-section {
  padding: 15px 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border-light);
  background: #fafafa;
}

.channel-item:hover {
  border-color: var(--primary);
  background: #fff8f8;
}

.channel-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  flex-shrink: 0;
  border-radius: 2px;
}

.icon-douyin {background: #161823;}
.icon-kuaishou {background: #ff4906;}
.icon-xiaohongshu {background: #fe2c55;}
.icon-shipinhao {background: #07c160;}
.icon-bilibili {background: #00a1d6;}
.icon-all {background: var(--primary);}

.channel-info h3 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 3px;
}

.channel-info p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 两栏主布局 */
.main-two-col {
  padding: 15px 15px;
  display: grid;
  grid-template-columns: 830px 1fr;
  gap: 20px;
}

.content-block {
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 15px;
  margin-bottom: 15px;
}

/* 服务列表 */
.service-list-normal {
  display: flex;
  flex-direction: column;
}

.service-item-normal {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px dotted var(--border);
}

.service-item-normal:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.service-thumb-box {
  width: 100%;
  height: 130px;
}

.thumb1 {background: linear-gradient(135deg, #c00, #e44);}
.thumb2 {background: linear-gradient(135deg, #b8860b, #daa520);}
.thumb3 {background: linear-gradient(135deg, #006400, #228b22);}
.thumb4 {background: linear-gradient(135deg, #00008b, #4169e1);}

.service-text h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
}

.service-text h3 a:hover {
  color: var(--primary);
}

.service-meta {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.service-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
  text-indent: 2em;
}

.view-detail {
  font-size: 13px;
  color: var(--primary);
}

/* 服务流程 */
.process-flow-normal {
  display: flex;
  gap: 15px;
  align-items: stretch;
}

.process-step-normal {
  flex: 1;
  text-align: center;
  padding: 20px 10px;
  border: 1px solid var(--border);
  background: #fafafa;
}

.step-number-box {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  line-height: 40px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin: 0 auto 10px;
}

.process-step-normal h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 8px;
}

.process-step-normal p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* FAQ */
.faq-normal {
  display: flex;
  flex-direction: column;
}

.faq-item-normal {
  padding: 12px 0;
  border-bottom: 1px dotted var(--border);
}

.faq-item-normal:last-child {
  border-bottom: none;
}

.faq-question {
  font-size: 15px;
  font-weight: bold;
  color: var(--text);
  margin-bottom: 8px;
  cursor: pointer;
}

.faq-answer {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  text-indent: 2em;
  display: none;
}

.faq-item-normal.active .faq-answer {
  display: block;
}

/* 资讯列表 - 强制Grid规则 */
ul.article-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

ul.article-cards > li.article-card {
  min-width: 0;
  width: auto;
  max-width: none;
  margin: 0;
  float: none;
  box-sizing: border-box;
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
}

.article-card .card-thumb {
  width: 100%;
  overflow: hidden;
  height: 150px;
}

.article-card .card-thumb img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card .card-title {
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 12px 6px;
  line-height: 1.5;
}

.article-card .card-title a:hover {
  color: var(--primary);
}

.article-card .card-date {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  padding: 0 12px 10px;
}

.article-card .card-summary {
  overflow-wrap: anywhere;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 0 12px 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 侧边栏 */
.side-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  margin-bottom: 15px;
}

.side-title {
  font-size: 16px;
  font-weight: bold;
  padding: 8px 12px;
  background: var(--primary);
  color: #fff;
}

.side-contact-box .side-title {
  background: var(--primary);
}

.side-contact-content {
  padding: 15px;
  text-align: center;
}

.side-contact-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.side-phone {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 12px;
}

.side-phone a {
  color: var(--primary);
}

.side-btn {
  display: block;
  background: var(--primary);
  color: #fff;
  padding: 8px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
}

.side-btn:hover {
  background: var(--primary-dark);
  color: #fff;
}

.side-contact-hours {
  font-size: 12px;
  color: var(--text-light);
}

.side-advantage {
  padding: 10px 15px;
}

.side-advantage li {
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.check {
  color: #c00;
  margin-right: 6px;
  font-weight: bold;
}

.side-promise {
  padding: 15px;
  font-size: 13px;
  line-height: 2;
  color: var(--text-secondary);
}

.side-quick-nav {
  padding: 5px 0;
}

.side-quick-nav li {
  padding: 8px 15px;
  border-bottom: 1px dotted var(--border-light);
  font-size: 14px;
}

.side-quick-nav li:last-child {
  border-bottom: none;
}

.side-quick-nav li a:before {
  content: '>';
  color: var(--primary);
  margin-right: 8px;
  font-size: 12px;
}

/* 在线表单 */
.contact-form-section {
  padding: 30px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
}

.form-title-area {
  text-align: center;
  margin-bottom: 25px;
}

.form-title-area h2 {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-title-area p {
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-form-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 25px;
  background: #f9f9f9;
  border: 1px solid var(--border);
}

.form-row-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 15px;
}

.form-group-item {
  display: flex;
  flex-direction: column;
}

.form-group-item.full {
  margin-bottom: 20px;
}

.form-group-item label {
  font-size: 14px;
  margin-bottom: 6px;
  font-weight: bold;
}

.must {
  color: var(--primary);
}

.form-group-item input,
.form-group-item select,
.form-group-item textarea {
  padding: 8px 10px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.form-group-item input:focus,
.form-group-item select:focus,
.form-group-item textarea:focus {
  border-color: var(--primary);
}

.form-submit-area {
  text-align: center;
}

.submit-form-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 40px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  font-family: inherit;
}

.submit-form-btn:hover {
  background: var(--primary-dark);
}

/* 底部联系区 */
.bottom-contact {
  background: #8b0000;
  color: #fff;
  padding: 30px 0;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-text h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
}

.contact-text p {
  font-size: 13px;
  opacity: 0.9;
}

.contact-btns {
  display: flex;
  gap: 15px;
}

.contact-phone-btn {
  background: #fff;
  color: var(--primary);
  padding: 10px 25px;
  font-size: 18px;
  font-weight: bold;
}

.contact-phone-btn:hover {
  background: #f0f0f0;
  color: var(--primary-dark);
}

.contact-online-btn {
  border: 1px solid #fff;
  color: #fff;
  padding: 10px 25px;
  font-size: 14px;
}

.contact-online-btn:hover {
  background: #fff;
  color: var(--primary);
}

/* 主页脚 */
.site-footer {
  background: #2a2a2a;
  color: #999;
  padding: 30px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid #3a3a3a;
}

.footer-logo .logo-name {
  font-size: 24px;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.footer-about-text {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.footer-address {
  font-size: 14px;
}

.footer-address a {
  color: #fff;
  font-weight: bold;
}

.footer-nav-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.footer-nav-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 12px;
}

.footer-nav-col ul li {
  padding: 4px 0;
  font-size: 13px;
}

.footer-nav-col ul li a {
  color: #999;
}

.footer-nav-col ul li a:hover {
  color: #fff;
}

.friend-links-area {
  padding: 15px 0;
  border-bottom: 1px solid #3a3a3a;
  font-size: 13px;
}

.fl-title {
  color: #666;
  margin-right: 10px;
}

.fl-links {
  display: inline;
}

.fl-links a {
  color: #999;
  margin: 0 8px;
  font-size: 13px;
}

.fl-links a:hover {
  color: #fff;
}

.copyright-area {
  padding-top: 15px;
  text-align: center;
  font-size: 12px;
  line-height: 2;
}

.beian-info a {
  color: #999;
  margin: 0 10px;
}

.beian-info a:hover {
  color: #fff;
}

/* 文章详情页 */
.article-detail-wrap {
  padding: 15px 15px 30px;
}

.article-two-col {
  display: grid;
  grid-template-columns: 830px 1fr;
  gap: 20px;
}

.article-breadcrumb {
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 10px 15px;
  margin-bottom: 15px;
  font-size: 13px;
  color: var(--text-light);
}

.article-breadcrumb a {
  color: var(--text-light);
}

.article-breadcrumb a:hover {
  color: var(--primary);
}

.news-article {
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 30px;
}

.article-head {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.news-title {
  font-size: 26px;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 15px;
  font-family: "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

.article-info-bar {
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  justify-content: center;
  gap: 20px;
}

.article-summary-box {
  background: #f5f5f5;
  padding: 12px 15px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
  border-left: 3px solid var(--primary);
}

.article-cover-img {
  margin-bottom: 25px;
  text-align: center;
}

.article-content-text {
  font-size: 16px;
  line-height: 2;
  color: #333;
  text-align: justify;
}

.article-content-text p {
  margin-bottom: 20px;
  text-indent: 2em;
}

.article-content-text h2,
.article-content-text h3 {
  margin: 25px 0 15px;
  font-weight: bold;
  text-indent: 0;
}

.article-content-text h2 {font-size: 20px;}
.article-content-text h3 {font-size: 18px;}

.article-content-text img {
  max-width: 100%;
  margin: 20px auto;
}

.article-end {
  margin-top: 30px;
  padding: 15px;
  background: #f8f8f8;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.article-related-service {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.article-related-service h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.related-item {
  display: block;
  padding: 12px;
  border: 1px solid var(--border);
  background: #fafafa;
}

.related-item h4 {
  font-size: 14px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 5px;
}

.related-item p {
  font-size: 12px;
  color: var(--text-secondary);
}

.article-bottom-nav {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.article-consult {
  color: var(--primary);
  font-weight: bold;
}

.hot-news-side {
  padding: 5px 0;
}

.hot-news-side li {
  padding: 8px 15px;
  border-bottom: 1px dotted var(--border-light);
  font-size: 13px;
}

.hot-news-side li:last-child {
  border-bottom: none;
}

.hot-news-side li a:before {
  content: '•';
  color: var(--primary);
  margin-right: 6px;
}

/* 响应式 */
@media (max-width: 1199px) {
  .container {
    width: 100%;
  }
  
  .focus-wrap {
    grid-template-columns: 1fr;
  }
  
  .focus-big img {
    height: 300px;
  }
  
  .main-two-col {
    grid-template-columns: 1fr;
  }
  
  .article-two-col {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .top-bar .container {
    flex-direction: column;
    line-height: 26px;
    text-align: center;
    font-size: 11px;
  }
  
  .top-tools a {
    margin: 0 8px;
  }
  
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 15px 0;
  }
  
  .logo-name {
    font-size: 32px !important;
    letter-spacing: 2px !important;
    text-align: center;
  }
  
  .header-hotline {
    text-align: center;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .main-nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    z-index: 999;
  }
  
  .main-nav-list.active {
    display: flex;
  }
  
  .main-nav-list li a {
    line-height: 42px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .focus-big img {
    height: 220px;
  }
  
  .focus-big-text h2 {
    font-size: 18px;
  }
  
  .channel-grid {
    grid-template-columns: 1fr;
  }
  
  .service-item-normal {
    grid-template-columns: 1fr;
  }
  
  .service-thumb-box {
    height: 180px;
  }
  
  .process-flow-normal {
    flex-direction: column;
  }
  
  .form-row-row {
    grid-template-columns: 1fr;
  }
  
  .contact-row {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .contact-btns {
    flex-direction: column;
    width: 100%;
  }
  
  .footer-nav-cols {
    grid-template-columns: 1fr;
  }
  
  .news-article {
    padding: 20px 15px;
  }
  
  .news-title {
    font-size: 20px;
  }
  
  .article-info-bar {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .related-list {
    grid-template-columns: 1fr;
  }
  
  .article-bottom-nav {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
