/* 华图教育 - 关于华图页面样式 */

/* CSS 变量 */
:root {
  --brand-red: #c82020;
  --brand-red-dark: #a01a1a;
  --text-dark: #222222;
  --text-base: #333333;
  --text-secondary: #666666;
  --text-light: #999999;
  --bg-white: #ffffff;
  --bg-light: #f5f5f5;
  --bg-footer: #3a3a3a;
  --border-color: #eaeaea;
  --container-width: 1200px;
  --border-radius: 4px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-base);
  background-color: var(--bg-white);
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* 通用容器 */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* Header 导航栏 */
.header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav {
  display: flex;
  gap: 40px;
}

.nav-item {
  font-size: 16px;
  color: var(--text-base);
  padding: 5px 0;
  position: relative;
  transition: color 0.3s;
}

.nav-item:hover,
.nav-item.active {
  color: var(--brand-red);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--brand-red);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-base);
  transition: all 0.3s;
}

/* Hero 首屏 */
.hero {
  background: url('../images/banner.png') no-repeat center center/cover;
  padding: 80px 0;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
 width: 1200px;

}

.hero-content {
  flex: 1;
  max-width: 580px;
  z-index: 1;
  text-align: left;
}

.hero-title {
  margin-bottom: 20px;
}

.title-line {
  display: block;
  font-size: 48px;
  font-weight: bold;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 8px;
}

.title-highlight {
  color: var(--brand-red);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 50px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.stat-item {
  text-align: center;
  padding: 25px 12px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  color: var(--brand-red);
  position: relative;
}

.stat-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-color: rgba(200, 32, 32, 0.1);
  border-radius: 50%;
}

.stat-icon svg {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.stat-number {
  font-size: 20px;
  font-weight: bold;
  color: var(--brand-red);
  margin-bottom: 6px;
}

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

/* 公司简介 */
.about {
  padding: 80px 0 60px;
  background-color: var(--bg-white);
}

.section-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 45px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--brand-red);
  border-radius: 2px;
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
  background-color: var(--bg-white);
  padding: 40px 50px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-color);
}

.about-content p {
  font-size: 16px;
  color: var(--text-base);
  line-height: 2;
  margin-bottom: 22px;
  text-indent: 2em;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* 荣誉与媒体报道 */
.honor-media {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.honor-media-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.honor-card,
.media-card {
  background-color: var(--bg-white);
  border-radius: 8px;
  padding: 30px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.honor_box{
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.honor-card .card-title,
.media-card .card-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8e8e8;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.honor-card .card-title::before,
.media-card .card-title::before {
  content: '';
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, #e73c33 0%, #c52929 100%);
  border-radius: 2px;
}

.honor-list {
  flex: 1;
}

.honor-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed #e8e8e8;
}

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

.honor-star {
  color: #f5a623;
  font-size: 16px;
  font-weight: bold;
  flex-shrink: 0;
}

.honor-text {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.honor-trophy {
  width: 220px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.honor-trophy img {
  max-width: 100%;
  filter: drop-shadow(0 8px 16px rgba(245, 166, 35, 0.3));
}

.media-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.media-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed #e8e8e8;
  transition: all 0.3s ease;
}

.media-item:hover {
  background-color: rgba(200, 32, 32, 0.02);
  padding-left: 8px;
  margin-left: -8px;
  margin-right: -8px;
  padding-right: 8px;
}

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

.media-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background-color: #fff;
}

.media-logo svg {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.media-name {
  font-size: 14px;
  font-weight: bold;
  color: var(--brand-red);
  line-height: 1.2;
}

.media-domain {
  font-size: 9px;
  color: var(--text-light);
  margin-top: 2px;
}

.media-title {
  font-size: 14px;
  color: var(--text-base);
  flex: 1;
  line-height: 1.6;
}

/* 三栏内容区 */
.content-section {
  padding: 60px 0 80px;
  background-color: var(--bg-white);
}

.content-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.content-card {
  background-color: var(--bg-white);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.content-card:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 25px;
  background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
}

.content-card .card-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-dark);
  position: relative;
  padding-left: 15px;
}

.content-card .card-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  background-color: var(--brand-red);
  border-radius: 2px;
}

.more-link {
  font-size: 14px;
  color: var(--text-secondary);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.more-link:hover {
  color: var(--brand-red);
  transform: translateX(5px);
}

/* 品牌文章列表 */
.article-list {
  padding: 20px 25px;
}

.article-item {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--border-color);
  transition: all 0.3s ease;
}

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

.article-item:hover {
  background-color: rgba(200, 32, 32, 0.02);
  padding-left: 10px;
  margin-left: -10px;
  margin-right: -10px;
  padding-right: 10px;
  border-radius: 4px;
}

.article-item:hover .article-title {
  color: var(--brand-red);
}

.article-info {
  flex: 1;
  min-width: 0;
}

.article-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-base);
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s;
}

.article-date {
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}



/* 考试资讯列表 */
.news-list {
  padding: 20px 25px;
}

.news-item {
  display: flex;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--border-color);
  align-items: flex-start;
  transition: all 0.3s ease;
}

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

.news-item:hover {
  background-color: rgba(200, 32, 32, 0.02);
  padding-left: 10px;
  margin-left: -10px;
  margin-right: -10px;
  padding-right: 10px;
  border-radius: 4px;
}

.news-item:hover .news-title {
  color: var(--brand-red);
}

.news-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 32px;
  padding: 0 8px;
  background: linear-gradient(135deg, var(--brand-red) 0%, #d63031 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(200, 32, 32, 0.3);
}

.news-info {
  flex: 1;
  min-width: 0;
}

.news-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-base);
  line-height: 1.6;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.news-date {
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}



/* 红色统计条 */
.stats-bar {
  background: linear-gradient(135deg, var(--brand-red) 0%, #a01a1a 100%);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stats-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #fff;
  padding: 15px 0;
  position: relative;
}

.stats-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
}

.stats-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.stats-item:hover .stats-icon {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.25);
}

.stats-icon svg {
  width: 100%;
  height: 100%;
}

.stats-text {
  font-size: 17px;
  font-weight: 500;
}

/* Footer 页脚 */
.footer {
  background-color: #2d2d2d;
  padding: 45px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand {
  flex-shrink: 0;
}

.footer-copyright {
  flex: 1;
  text-align: center;
}

.footer-copyright p {
  font-size: 12px;
  color: #888;
  line-height: 1.6;
  margin: 0;
}

.footer-links {
  flex-shrink: 0;
}

.footer-bottom {
  display: none;
}

.footer-col {
  flex: 0 0 auto;
  padding: 15px 0;
}

.footer-col-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  position: relative;
  padding-left: 16px;
  letter-spacing: 0.5px;
}

.footer-col-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, #e73c33 0%, #c52929 100%);
  border-radius: 2px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 16px;
  position: relative;
}

.footer-list li:last-child {
  margin-bottom: 0;
}

.footer-list a {
  font-size: 14px;
  color: #999;
  transition: all 0.3s ease;
  display: inline-block;
  line-height: 1.5;
  position: relative;
}

.footer-list a:hover {
  color: #fff;
  padding-left: 8px;
}

.footer-list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background-color: var(--brand-red);
  transition: width 0.3s ease;
}

.footer-list a:hover::after {
  width: 20px;
}

.footer-qrcode {
  display: flex;
  gap: 16px;
}

.qrcode-item {
  text-align: center;
}

.qrcode-placeholder {
  width: 100px;
  height: 100px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  border-radius: 6px;
  box-shadow: none;
}

.qrcode-placeholder span {
  font-size: 11px;
  color: #666;
  text-align: center;
  line-height: 1.4;
}

.qrcode-item span {
  font-size: 12px;
  color: #999;
  display: block;
}

.svg-container {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.stat-icon svg,
.stats-icon svg {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

.footer-bottom p {
  font-size: 12px;
  color: #666;
    text-align: center;
  line-height: 1.8;
}


/* 二级列表页面样式 */
.page-hero {
  background: linear-gradient(135deg, #c82020 0%, #a01a1a 100%);
  padding: 50px 0;
  color: #fff;
}

.page-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-title {
  font-size: 32px;
  font-weight: bold;
  margin: 0;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.page-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-breadcrumb a:hover {
  color: #fff;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.5);
}

/* 新闻列表区域 */
.news-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.news-section-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
}

/* 侧边栏 */
.news-sidebar {
  background-color: #fff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.sidebar-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  padding-bottom: 15px;
  border-bottom: 2px solid #c82020;
  margin-bottom: 20px;
  position: relative;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-item {
  margin-bottom: 0;
}

.sidebar-item a {
  display: block;
  padding: 12px 15px;
  font-size: 14px;
  color: #666;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.sidebar-item a:hover {
  background-color: rgba(200, 32, 32, 0.05);
  color: #c82020;
}

.sidebar-item.active a {
  background-color: rgba(200, 32, 32, 0.1);
  color: #c82020;
  font-weight: 500;
}

.sidebar-ad {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px dashed #e8e8e8;
}

.ad-title {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 18px;
}

.ad-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background-color: #f8f9fa;
  border-radius: 6px;
  margin-bottom: 12px;
}

.ad-item:last-child {
  margin-bottom: 0;
}

.ad-tag {
  font-size: 11px;
  color: #fff;
  background-color: #c82020;
  padding: 4px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  align-self: flex-start;
}

.ad-content h4 {
  font-size: 13px;
  color: #333;
  margin: 0 0 6px 0;
  font-weight: 500;
}

.ad-price {
  font-size: 14px;
  color: #c82020;
  font-weight: bold;
}

/* 新闻内容区 */
.news-content {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.news-filter {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #e8e8e8;
}

.filter-label {
  font-size: 14px;
  color: #666;
}

.filter-item {
  font-size: 14px;
  color: #666;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.filter-item:hover {
  color: #c82020;
}

.filter-item.active {
  background-color: #c82020;
  color: #fff;
}

/* 新闻卡片 */
.news-articles {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.news-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background-color: #fafafa;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.news-card:hover {
  background-color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.news-card-img {
  width: 220px;
  height: 150px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-tag {
  font-size: 12px;
  color: #fff;
  background-color: #c82020;
  padding: 4px 10px;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 12px;
}

.news-card-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.news-card:hover .news-card-title {
  color: #c82020;
}

.news-card-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 auto 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-meta {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  font-size: 13px;
  color: #999;
}

.news-card-read {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 分页 */

/* 文章详情页样式 */
.article-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.article-section-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
}

.article-main {
  background-color: #fff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.article-header {
  padding-bottom: 25px;
  border-bottom: 1px dashed #e8e8e8;
  margin-bottom: 30px;
}

.article-tag {
  display: inline-block;
  font-size: 12px;
  color: #fff;
  background-color: #c82020;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 15px;
}

/* 文章详情页样式 */
.article-detail-page .news-hero-bg {
  background: url('../images/banner.png') no-repeat center center/cover;
}

.article-detail-section {
  padding: 40px 0;
  background-color: #fafafa;
}

.article-detail-inner {
  max-width: 900px;
  margin: 0 auto;
}

.article-content {
  background-color: #fff;
  padding: 50px 60px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.article-detail-page .article-title {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  line-height: 1.4;
  margin: 0 0 20px 0;
  text-align: center;
}

/* 内容摘要样式 */
.article-summary {
  margin-top: 20px;
  padding: 20px 25px;
  background-color: #f8f9fa;
  border-left: 4px solid #c82020;
  border-radius: 0 4px 4px 0;
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  font-style: italic;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  font-size: 14px;
  color: #888;
  justify-content: center;
  padding: 18px 25px;
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  border-radius: 8px;
  margin-top: 15px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-item svg {
  width: 16px;
  height: 16px;
  color: #c82020;
  flex-shrink: 0;
}

.meta-author,
.meta-date,
.meta-views {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-author svg {
  color: #1890ff;
}

.meta-date svg {
  color: #52c41a;
}

.meta-views svg {
  color: #fa8c16;
}

.article-body {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
}

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

.article-body h2 {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin: 30px 0 15px 0;
  padding-left: 10px;
  border-left: 4px solid #c82020;
}

.article-image {
  margin: 25px 0;
  text-align: center;
}

.article-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.image-caption {
  font-size: 14px;
  color: #999;
  margin-top: 10px;
  text-indent: 0 !important;
}

.article-footer {
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px dashed #e8e8e8;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.tags-label {
  font-size: 14px;
  color: #666;
}

.tag-link {
  font-size: 13px;
  color: #c82020;
  background-color: rgba(200, 32, 32, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag-link:hover {
  background-color: #c82020;
  color: #fff;
}

.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  padding: 20px 25px;
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  border-radius: 8px;
}

.share-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.share-buttons {
  display: flex;
  gap: 10px;
}

.share-btn {
  min-width: 80px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 14px;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.share-btn svg {
  width: 18px;
  height: 18px;
}

.share-btn[data-platform="wechat"]:hover {
  background-color: #07c160;
  border-color: #07c160;
  color: #fff;
}

.share-btn[data-platform="weibo"]:hover {
  background-color: #e6162d;
  border-color: #e6162d;
  color: #fff;
}

.share-btn[data-platform="qq"]:hover {
  background-color: #12b7f5;
  border-color: #12b7f5;
  color: #fff;
}

/* 相关推荐 */
.related-articles {
  background-color: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.related-title {
  font-size: 17px;
  font-weight: bold;
  color: #333;
  padding-bottom: 14px;
  border-bottom: 2px solid #c82020;
  margin-bottom: 20px;
}

.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-item {
  padding: 15px 0;
  border-bottom: 1px dashed #f0f0f0;
  transition: all 0.3s ease;
}

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

.related-item:hover {
  padding-left: 10px;
}

.related-item a {
  text-decoration: none;
}

.related-title-text {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.related-item:hover .related-title-text {
  color: #c82020;
}

.related-date {
  font-size: 12px;
  color: #999;
}

.tag-item {
  font-size: 13px;
  color: #c82020;
  background-color: rgba(200, 32, 32, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
}

.share-icon {
  width: 18px;
  height: 18px;
}

.article-nav {
  background-color: #fff;
  border-radius: 8px;
  padding: 25px 40px;
  margin-top: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.nav-prev,
.nav-next {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.nav-prev {
  margin-bottom: 15px;
}

.nav-label {
  font-size: 14px;
  color: #999;
  flex-shrink: 0;
}

.nav-link {
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #c82020;
}

/* 文章侧边栏 */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sidebar-box {
  background-color: #fff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.sidebar-box .sidebar-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  padding-bottom: 15px;
  border-bottom: 2px solid #c82020;
  margin-bottom: 20px;
}

.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-item {
  margin-bottom: 12px;
}

.related-item:last-child {
  margin-bottom: 0;
}

.related-link {
  font-size: 14px;
  color: #666;
  text-decoration: none;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.related-link:hover {
  color: #c82020;
}

/* 列表页新样式 */
.news-hero {
  position: relative;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.news-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(200, 32, 32, 0.95) 0%, rgba(160, 26, 26, 0.95) 100%);
}

  .news-hero-bg {
  background: url('../images/banner.png') no-repeat center center/cover;
}

.contact-page .news-hero-bg {
  background: url('../images/banner.png') no-repeat center center/cover;
}

.exam-news-page .news-hero-bg {
  background: url('../images/banner.png') no-repeat center center/cover;
}

.course-news-page .news-hero-bg {
  background: url('../images/banner.png') no-repeat center center/cover;
}

.news-hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.news-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  min-height: 280px;
      display: flex;
    align-items: center;
}

/* 面包屑导航区域 */
.breadcrumb-section {
  padding: 15px 0;
  background-color: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.breadcrumb-section .news-breadcrumb {
  position: static;
  transform: none;
  background: transparent;
  border: none;
  padding: 0;
}

.breadcrumb-section .news-breadcrumb a {
  color: #666;
}

.breadcrumb-section .news-breadcrumb a:hover {
  color: #c82020;
}

.breadcrumb-section .news-breadcrumb span {
  color: #ccc;
}

/* 文章详情页面包屑导航 */
.news-hero .news-breadcrumb {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

.news-breadcrumb a,
.news-breadcrumb span {
  display: inline-block;
  vertical-align: middle;
  margin: 0 4px;
}

.news-breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
}

.news-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.news-breadcrumb span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.news-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin: 10px 0 0 0;
}

.news-body {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.news-body-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
}

.news-main {
  background-color: #fff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.featured-article {
  margin-bottom: 40px;
}

.featured-image {
  position: relative;
  margin-bottom: 25px;
  border-radius: 8px;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.featured-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.badge-text {
  font-size: 12px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 5px 12px;
  border-radius: 4px;
}

.badge-highlight {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background-color: #c82020;
  padding: 6px 14px;
  border-radius: 4px;
}

.article-cat {
  display: inline-block;
  font-size: 12px;
  color: #fff;
  background-color: #c82020;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.article-excerpt {
  margin-bottom: 25px;
}

.article-excerpt p {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin: 0;
}

.article-toc {
  background-color: #fafafa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #c82020;
}

.toc-title {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin: 0 0 15px 0;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 10px;
}

.toc-list li:last-child {
  margin-bottom: 0;
}

.toc-list a {
  font-size: 14px;
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.toc-list a:hover {
  color: #c82020;
}

.article-section {
  margin-bottom: 35px;
}

.section-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin: 0 0 18px 0;
}

.article-section p {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin: 0 0 15px 0;
  text-indent: 2em;
}

.article-section p:last-child {
  margin-bottom: 0;
}

.section-image {
  margin: 25px 0;
}

.section-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.timeline {
  background-color: #fafafa;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 35px;
}

.timeline-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin: 0 0 20px 0;
}

.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px dashed #e8e8e8;
}

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

.timeline-date {
  font-size: 14px;
  font-weight: bold;
  color: #c82020;
  width: 80px;
  flex-shrink: 0;
}

.timeline-dot {
  width: 8px;
  height: 8px;
  background-color: #c82020;
  border-radius: 50%;
  flex-shrink: 0;
}

.timeline-content {
  font-size: 14px;
  color: #555;
}

/* 侧边栏 */
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-course {
  background-color: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.sidebar-title {
  font-size: 17px;
  font-weight: bold;
  color: #1a1a1a;
  margin: 0 0 20px 0;
  padding-bottom: 14px;
  border-bottom: 3px solid #c82020;
  letter-spacing: 0.5px;
}



/* 新闻卡片列表 */
.news-list-section {
  margin-bottom: 30px;
}

.news-list-section .list-title {
  font-size: 18px;
  font-weight: bold;
  color: #1a1a1a;
  margin: 0 0 24px 0;
  padding-left: 14px;
  border-left: 4px solid #c82020;
  letter-spacing: 0.5px;
}

.news-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.news-card-item {
  display: flex;
  flex-direction: column;
  padding: 0;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.news-card-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.news-card-item:last-child {
  margin-bottom: 0;
}

.card-thumb {
  width: 100%;
  height: 160px;
  flex-shrink: 0;
  overflow: hidden;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card-item:hover .card-thumb img {
  transform: scale(1.08);
}

.card-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.card-cat {
  font-size: 12px;
  color: #c82020;
  font-weight: 600;
  margin-bottom: 12px;
  display: inline-block;
  padding: 3px 10px;
  background-color: rgba(200, 32, 32, 0.08);
  border-radius: 4px;
  align-self: flex-start;
  letter-spacing: 0.5px;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 12px 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.card-title a:hover {
  color: #c82020;
}

.card-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 16px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.card-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #999;
  padding-top: 12px;
  border-top: 1px solid #f5f5f5;
}

/* 分页样式 */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 30px 0;
}

.page-btn {
  padding: 10px 18px;
  font-size: 14px;
  color: #666;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-btn:hover {
  color: #c82020;
  border-color: #c82020;
  background-color: rgba(200, 32, 32, 0.04);
}

.page-item {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #666;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-item:hover {
  color: #c82020;
  border-color: #c82020;
  background-color: rgba(200, 32, 32, 0.04);
}

.page-item.active {
  color: #fff;
  background: linear-gradient(135deg, #c82020, #a01818);
  border-color: #c82020;
  box-shadow: 0 4px 12px rgba(200, 32, 32, 0.3);
}

/* Hero 区域标题统一样式 */
.news-hero .news-title {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 15px 0;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.3),
    0 4px 16px rgba(0, 0, 0, 0.2);
  letter-spacing: 1.5px;
}

/* 品牌文章列表页样式 */
  .news-hero .news-title {
  font-size: 40px;
}

.search-section {
  padding: 25px 0;
  background-color: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.search-inner {
  max-width: 600px;
  margin: 0 auto;
}

.search-box {
  display: flex;
  align-items: center;
  background-color: #f8f9fa;
  border-radius: 40px;
  padding: 6px 6px 6px 24px;
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
}

.search-box:focus-within {
  border-color: #c82020;
  box-shadow: 0 0 0 3px rgba(200, 32, 32, 0.1);
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 15px;
  color: #333;
  outline: none;
}

.search-input::placeholder {
  color: #999;
}

.search-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c82020, #a01818);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(200, 32, 32, 0.4);
}

.search-btn svg {
  width: 18px;
  height: 18px;
}

.news-list-section {
  padding: 40px 0 60px;
  background-color: #f8f9fa;
}

.news-list-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

 .news-item-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.news-item-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: #e8e8e8;
}

 .news-card-header {
  margin-bottom: 14px;
}

 .news-card-title {
  font-size: 19px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.news-item-card:hover .news-card-title {
  color: #c82020;
}

.news-card-summary {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  margin: 0 0 18px 0;
}

 .news-card-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px dashed #e8e8e8;
}

 .news-card-meta .meta-item {
  font-size: 14px;
  color: #999;
}

.read-more {
  margin-left: auto;
  font-size: 14px;
  color: #c82020;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: #a01818;
  margin-right: -4px;
}
.pagination-area {
  padding-top: 30px;
  margin-top: 20px;
  border-top: 1px solid #e8e8e8;
}

.page-dots {
  font-size: 14px;
  color: #999;
  padding: 0 8px;
}


/* 联系我们页面样式 */
.contact-section {
  padding: 50px 0;
  background-color: #fafafa;
}

.contact-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-section .section-title {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin: 0 0 10px 0;
}

.contact-section .section-desc {
  font-size: 16px;
  color: #666;
  margin: 0;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c82020 0%, #a81818 100%);
  border-radius: 20px;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(200, 32, 32, 0.3);
}

.card-icon svg {
  width: 32px;
  height: 32px;
}

.card-content {
  flex: 1;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px 0;
}

.card-value {
  font-size: 20px;
  font-weight: bold;
  color: #c82020;
  margin: 0 0 8px 0;
}

.card-hint {
  font-size: 14px;
  color: #999;
  margin: 0;
}

/* 旧的联系表单样式（保留备用） */
.contact-form-wrapper {
  background-color: #fff;
  padding: 35px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.contact-form-wrapper .section-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin: 0 0 30px 0;
  padding-bottom: 15px;
  border-bottom: 2px solid #c82020;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.form-group label::after {
  content: '';
  color: #c82020;
  margin-left: 4px;
}

.form-group label:has(+ input[required])::after,
.form-group label:has(+ textarea[required])::after {
  content: '*';
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #c82020;
  box-shadow: 0 0 0 3px rgba(200, 32, 32, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #ccc;
}

.submit-btn {
  padding: 14px 30px;
  background: linear-gradient(135deg, #c82020 0%, #a81818 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 32, 32, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}


/* 分校列表区域 */
.branches-section {
  padding: 60px 0;
  background-color: #fff;
}

.branches-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.branches-section .section-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 40px;
}

.branches-section .section-desc {
  font-size: 16px;
  color: #666;
}

/* 省份过滤器 */
.province-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 24px;
  background: #f5f5f5;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: #f0f0f0;
  color: #c82020;
}

.filter-btn.active {
  background: linear-gradient(135deg, #c82020 0%, #a81818 100%);
  color: #fff;
}

/* 分校卡片网格 */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* 分校卡片 */
.branch-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.branch-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.card-header {
  padding: 20px 24px;
  background: linear-gradient(135deg, #f8f9fa 0%, #f0f0f0 100%);
  border-bottom: 1px solid #eee;
}

.province-tag {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, #c82020 0%, #a81818 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 8px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.card-body {
  padding: 20px 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: #666;
  font-size: 14px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  width: 18px;
  height: 18px;
  color: #c82020;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item a {
  color: #c82020;
  text-decoration: none;
  word-break: break-all;
}

.contact-info-item a:hover {
  text-decoration: underline;
}

.contact-info-item span {
  line-height: 1.6;
}

/* ========== 响应式适配 - 整合所有媒体查询 ========== */

/* iPad及平板设备 (≤ 1024px) */
@media (max-width: 1024px) {
  /* 导航 */
  .nav {
    gap: 20px;
  }
  
  .nav-item {
    font-size: 15px;
  }
  
  /* Hero区域 */
  .hero {
    padding: 60px 0;
    min-height: auto;
  }
  
  .hero-inner {
    flex-direction: column;
    gap: 35px;
    text-align: center;
    width: 100%;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .title-line {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 35px;
  }
  
  .hero-stats {
    gap: 12px;
  }
  
  .stat-item {
    padding: 20px 10px;
  }
  
  .stat-icon {
    width: 38px;
    height: 38px;
  }
  
  .stat-number {
    font-size: 18px;
  }
  
  /* 荣誉与媒体报道 */
  .honor-media {
    padding: 45px 0;
  }
  
  .honor-media-inner {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .honor-card,
  .media-card {
    padding: 28px;
  }
  
  .honor_box {
    flex-direction: row;
  }
  
  .honor-trophy {
    width: 100px;
  }
  
  /* 三栏内容区 */
  .content-section {
    padding: 45px 0 65px;
  }
  
  .content-inner {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  
  .content-card:last-child {
    grid-column: span 2;
  }
  
  .content-card .card-title {
    font-size: 18px;
  }
  
  /* 红色统计条 */
  .stats-bar {
    padding: 30px 0;
  }
  
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .stats-item:not(:last-child)::after {
    display: none;
  }
  
  .stats-item:nth-child(1)::after,
  .stats-item:nth-child(2)::after {
    display: block;
  }
  
  /* Footer */
  .footer {
    padding: 50px 0 20px;
  }
  
  .footer-inner {
    flex-direction: column;
    gap: 35px;
  }
  
  .footer-links {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
  
  /* 联系卡片 */
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .contact-card {
    padding: 25px;
  }
  
  .card-icon {
    width: 60px;
    height: 60px;
  }
  
  /* 文章详情页 */
  .article-detail-section {
    padding: 30px 0;
  }
  
  .article-content {
    padding: 35px 25px;
  }
  
  .article-detail-page .article-title {
    font-size: 24px;
  }
  
  .article-meta {
    gap: 15px;
    padding: 15px 20px;
  }
  
  .article-summary {
    padding: 15px 20px;
    font-size: 14px;
  }
  
  /* 新闻列表页 */
  .news-section-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .news-sidebar {
    order: 2;
  }
  
  .news-content {
    order: 1;
  }
  
  /* 文章详情页侧边栏 */
  .article-section-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  /* 新闻主体区域 */
  .news-body-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .news-card-list {
    grid-template-columns: 1fr;
  }
}

/* 移动端设备 (≤ 768px) */
@media (max-width: 768px) {
  /* Header */
  .header-inner {
    height: 60px;
  }
  
  .nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 15px 20px;
    gap: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }
  
  .nav.active {
    display: flex;
  }
  
  .nav-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
  }
  
  .nav-item:last-child {
    border-bottom: none;
  }
  
  .nav-item.active {
    color: var(--brand-red);
    font-weight: 500;
  }
  
  .nav-item.active::after {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
    padding: 8px;
  }
  
  /* Hero区域 */
  .hero {
    padding: 45px 0;
    min-height: auto;
  }
  
  .hero-inner {
    text-align: center;
    gap: 30px;
    width: 100%;
  }
  
  .title-line {
    font-size: 28px;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 30px;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .stat-item {
    padding: 16px 10px;
  }
  
  .stat-icon {
    width: 34px;
    height: 34px;
  }
  
  .stat-icon::before {
    width: 30px;
    height: 30px;
  }
  
  .stat-number {
    font-size: 16px;
  }
  
  .stat-label {
    font-size: 12px;
  }
  
  /* 公司简介 */
  .about {
    padding: 50px 0 40px;
  }
  
  .section-title {
    font-size: 24px;
    margin-bottom: 35px;
  }
  
  .about-content {
    padding: 25px 20px;
  }
  
  .about-content p {
    font-size: 14px;
    line-height: 1.8;
    text-indent: 1.5em;
  }
  
  /* 荣誉与媒体报道 */
  .honor-media {
    padding: 35px 0;
  }
  
  .honor-card,
  .media-card {
    padding: 22px;
  }
  
  .honor-card .card-title,
  .media-card .card-title {
    font-size: 18px;
    padding-bottom: 12px;
  }
  
  .honor_box {
    flex-direction: column;
    gap: 20px;
  }
  
  .honor-list {
    order: 2;
  }
  
  .honor-trophy {
    width: 100%;
    max-width: 150px;
    margin: 0 auto;
    order: 1;
  }
  
  .honor-item {
    padding: 12px 0;
  }
  
  .honor-text {
    font-size: 14px;
  }
  
  .media-item {
    padding: 12px 0;
    gap: 15px;
  }
  
  .media-logo {
    width: 75px;
    height: 45px;
  }
  
  .media-name {
    font-size: 13px;
  }
  
  .media-title {
    font-size: 13px;
  }
  
  /* 三栏内容区 */
  .content-section {
    padding: 40px 0 50px;
  }
  
  .content-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .content-card:last-child {
    grid-column: span 1;
  }
  
  .content-card .card-title {
    font-size: 17px;
  }
  
  .card-header {
    padding: 18px 20px;
  }
  
  .article-list,
  .news-list,
  .course-list {
    padding: 15px 20px;
  }
  
  .article-item,
  .news-item,
  .course-item {
    padding: 15px 0;
  }
  
  .article-thumb {
    width: 75px;
    height: 55px;
  }
  
  /* 红色统计条 */
  .stats-bar {
    padding: 25px 0;
  }
  
  .stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  
  .stats-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 10px 0;
  }
  
  .stats-item:not(:last-child)::after {
    display: none;
  }
  
  .stats-icon {
    width: 32px;
    height: 32px;
  }
  
  .stats-text {
    font-size: 14px;
  }
  
  /* Footer */
  .footer {
    padding: 40px 0 20px;
  }
  
  .footer-inner {
    gap: 30px;
  }
  
  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  
  .footer-col-title {
    font-size: 15px;
  }
  
  .footer-list li {
    margin-bottom: 12px;
  }
  
  .footer-qrcode {
    justify-content: flex-start;
    gap: 20px;
  }
  
  .qrcode-placeholder {
    width: 90px;
    height: 90px;
  }
  
  /* 联系卡片 */
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .contact-card {
    padding: 20px;
  }
  
  .card-icon {
    width: 50px;
    height: 50px;
  }
  
  /* 分校列表 */
  .branches-section {
    padding: 40px 0;
  }
  
  .branches-section .section-title {
    font-size: 24px;
  }
  
  .branches-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .filter-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .card-header,
  .card-body {
    padding: 16px;
  }
  
  /* 文章详情页 */
  .article-detail-section {
    padding: 20px 0;
  }
  
  .article-detail-inner {
    padding: 0 15px;
  }
  
  .article-content {
    padding: 25px 15px;
  }
  
  .article-detail-page .article-title {
    font-size: 20px;
    line-height: 1.5;
  }
  
  .article-meta {
    gap: 10px;
    padding: 12px 15px;
    font-size: 13px;
  }
  
  .article-summary {
    padding: 12px 15px;
    font-size: 13px;
  }
  
  /* 新闻列表页 */
  .news-card {
    flex-direction: column;
  }
  
  .news-card-img {
    width: 100%;
    height: 180px;
  }
  
  .news-card-title {
    font-size: 16px;
  }
  
  .page-title {
    font-size: 26px;
  }
  
  /* 文章详情页 */
  .article-main {
    padding: 25px;
  }
  
  .article-title {
    font-size: 22px;
  }
  
  .article-body {
    font-size: 15px;
  }
  
  .article-nav {
    padding: 20px 25px;
  }
  
  .nav-prev,
  .nav-next {
    flex-direction: column;
    gap: 5px;
  }
  
  /* 新闻主体区域 */
  .news-hero {
    height: 220px;
  }
  
  .news-hero .news-title {
    font-size: 32px;
  }
  
  .news-subtitle {
    font-size: 16px;
  }
  
  .news-main {
    padding: 25px;
  }
  
  .timeline-item {
    flex-wrap: wrap;
  }
  
  .timeline-date {
    width: auto;
  }
  
  .card-thumb {
    height: 140px;
  }
  
  /* 品牌文章列表页 */
  .search-section {
    padding: 20px 0;
  }
  
  .news-list-section {
    padding: 30px 0 45px;
  }
  
  .news-item-card {
    padding: 22px 20px;
  }
  
  .news-card-title {
    font-size: 17px;
  }
  
  .news-card-summary {
    font-size: 14px;
  }
  
  .news-card-meta {
    gap: 16px;
    flex-wrap: wrap;
  }
  
  .news-card-meta .meta-item {
    font-size: 13px;
  }
  
  /* 联系我们页面 */
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .contact-info,
  .contact-form-wrapper {
    padding: 25px;
  }
}

/* 移动端小屏幕 (≤ 480px) */
@media (max-width: 480px) {
  /* Hero区域 */
  .hero {
    padding: 35px 0;
  }
  
  .title-line {
    font-size: 24px;
    margin-bottom: 5px;
  }
  
  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 25px;
  }
  
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  
  .stat-item {
    padding: 12px 8px;
  }
  
  .stat-icon {
    width: 30px;
    height: 30px;
  }
  
  .stat-icon::before {
    width: 26px;
    height: 26px;
  }
  
  .stat-number {
    font-size: 14px;
  }
  
  .stat-label {
    font-size: 11px;
  }
  
  /* 公司简介 */
  .about-content {
    padding: 20px 15px;
  }
  
  .about-content p {
    font-size: 13px;
  }
  
  /* 荣誉与媒体报道 */
  .honor-card,
  .media-card {
    padding: 18px;
  }
  
  .honor-card .card-title,
  .media-card .card-title {
    font-size: 17px;
  }
  
  .honor-item {
    gap: 10px;
  }
  
  .honor-text {
    font-size: 13px;
  }
  
  .media-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
  }
  
  .media-logo {
    width: 70px;
    height: 40px;
  }
  
  /* 文章与新闻列表 */
  .article-item {
    gap: 10px;
  }
  
  .article-thumb {
    width: 65px;
    height: 48px;
  }
  
  .article-title {
    font-size: 13px;
  }
  
  .news-tag {
    padding: 4px 10px;
    font-size: 11px;
  }
  
  .news-title {
    font-size: 13px;
  }
  
  /* 红色统计条 */
  .stats-bar {
    padding: 20px 0;
  }
  
  .stats-inner {
    gap: 12px;
  }
  
  .stats-item {
    padding: 8px 0;
  }
  
  .stats-icon {
    width: 28px;
    height: 28px;
  }
  
  .stats-text {
    font-size: 12px;
  }
  
  /* Footer */
  .footer {
    padding: 35px 0 18px;
  }
  
  .footer-inner {
    gap: 25px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .footer-col-title {
    font-size: 14px;
  }
  
  .footer-list li {
    margin-bottom: 10px;
  }
  
  .footer-list a {
    font-size: 13px;
  }
  
  .qrcode-placeholder {
    width: 80px;
    height: 80px;
  }
  
  .footer-bottom p {
    font-size: 11px;
    line-height: 1.6;
  }
  
  /* 新闻列表页 */
  .page-hero {
    padding: 35px 0;
  }
  
  .page-title {
    font-size: 22px;
  }
  
  .news-section {
    padding: 40px 0;
  }
  
  .news-content {
    padding: 20px;
  }
  
  .news-card {
    padding: 15px;
  }
  
  .news-card-img {
    height: 150px;
  }
  
  /* 文章详情页 */
  .article-section {
    padding: 40px 0;
  }
  
  .article-main {
    padding: 20px;
  }
  
  .article-title {
    font-size: 20px;
  }
  
  .article-meta {
    gap: 10px;
  }
  
  .sidebar-box {
    padding: 20px;
  }
  
  /* 新闻主体区域 */
  .news-hero {
    height: 180px;
  }
  
  .news-hero .news-title {
    font-size: 26px;
  }
  
  .news-body {
    padding: 40px 0;
  }
  
  .news-main {
    padding: 20px;
  }
  
  .article-section p {
    font-size: 15px;
  }
  
  .news-item {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .news-link {
    order: 2;
    width: 100%;
  }
  
  .news-date {
    order: 3;
  }
  
  .card-thumb {
    height: 120px;
  }
  
  /* 品牌文章列表页 */
  .news-hero .news-title {
    font-size: 24px;
  }
  
  .news-subtitle {
    font-size: 15px;
  }
  
  .news-hero {
    height: 200px;
  }
  
  .news-item-card {
    padding: 18px 16px;
  }
  
  .news-card-title {
    font-size: 16px;
  }
  
  .news-card-summary {
    font-size: 13px;
  }
  
  .news-card-meta {
    gap: 12px;
  }
  
  /* 联系我们页面 */
  .contact-section {
    padding: 30px 0;
  }
  
  .contact-info,
  .contact-form-wrapper {
    padding: 20px;
  }
  
  .contact-item {
    gap: 15px;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
  }
  
  .contact-icon svg {
    width: 18px;
    height: 18px;
  }
}
