/* 栏目页样式 */
.page-header {
  background: linear-gradient(135deg, #00a096 0%, #007d76 100%);
}

/* 内容区域宽度 */
.page-content-wrapper {
  min-width: 1200px;
  max-width: 100%;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .page-content-wrapper {
    min-width: 100%;
  }
}

/* 子栏目导航 */
.sub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 2px solid #e6f5f3;
}

.sub-nav-item {
  flex: 1;
  min-width: 150px;
  padding: 1rem 1.5rem;
  text-align: center;
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

.sub-nav-item:hover {
  color: #00a096;
  background-color: #f5f9f7;
  border-bottom-color: #00a096;
}

.sub-nav-item.active {
  color: #00a096;
  background-color: #e6f5f3;
  border-bottom-color: #00a096;
  font-weight: 600;
}

.sub-nav-item i {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .sub-nav {
    flex-direction: column;
  }
  
  .sub-nav-item {
    width: 100%;
    border-bottom: 1px solid #e6f5f3;
    border-left: 3px solid transparent;
    justify-content: flex-start;
    text-align: left;
  }
  
  .sub-nav-item.active {
    border-left-color: #00a096;
    border-bottom-color: #e6f5f3;
  }
  
  .sub-nav-item:hover {
    border-left-color: #00a096;
    border-bottom-color: #e6f5f3;
  }
}

/* 栏目内容区域 */
.page-content {
  line-height: 1.8;
  color: #333;
}

.page-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e6f5f3;
}

.page-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

.page-content p {
  margin-bottom: 1rem;
  text-align: justify;
  font-size: 1.05rem;
}

.page-content ul,
.page-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.page-content li {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.page-content strong {
  font-weight: 600;
  color: #00a096;
}

.page-content a {
  color: #00a096;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-content a:hover {
  color: #007d76;
}

/* 卡片样式 */
.content-card {
  transition: all 0.3s ease;
}

.content-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 160, 150, 0.15), 0 10px 10px -5px rgba(0, 160, 150, 0.08);
}

/* 时间线样式 */
.timeline-item {
  position: relative;
  padding-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 2rem;
  bottom: -2rem;
  width: 2px;
  background: #e6f5f3;
}

.timeline-item:last-child::before {
  display: none;
}

/* 优势卡片 */
.advantage-card {
  transition: all 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-5px);
}

.advantage-card .icon-wrapper {
  transition: all 0.3s ease;
}

.advantage-card:hover .icon-wrapper {
  transform: scale(1.1);
  background-color: #00a096;
}

.advantage-card:hover .icon-wrapper i {
  color: white;
}

/* 分校信息卡片 */
.branch-card {
  transition: all 0.3s ease;
}

.branch-card:hover {
  border-color: #00a096;
  box-shadow: 0 4px 12px rgba(0, 160, 150, 0.15);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .page-content h2 {
    font-size: 1.5rem;
  }
  
  .page-content h3 {
    font-size: 1.25rem;
  }
  
  .page-content {
    font-size: 1rem;
  }
  
  .page-content p {
    font-size: 1rem;
  }
  
  .timeline-item {
    padding-left: 1.5rem;
  }
}

/* 图片样式 */
.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 列表样式优化 */
.page-content ul li::marker {
  color: #00a096;
}

.page-content ol li::marker {
  color: #00a096;
  font-weight: bold;
}

/* 联系卡片样式 */
.contact-card {
  background: linear-gradient(135deg, #00a096 0%, #007d76 100%);
  box-shadow: 0 10px 30px rgba(0, 160, 150, 0.3);
}

/* 图标动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.advantage-card {
  animation: fadeInUp 0.6s ease-out;
}

.advantage-card:nth-child(1) { animation-delay: 0.1s; }
.advantage-card:nth-child(2) { animation-delay: 0.2s; }
.advantage-card:nth-child(3) { animation-delay: 0.3s; }
.advantage-card:nth-child(4) { animation-delay: 0.4s; }
.advantage-card:nth-child(5) { animation-delay: 0.5s; }
.advantage-card:nth-child(6) { animation-delay: 0.6s; }

/* 时间线圆圈样式 */
.timeline-circle {
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 8px rgba(0, 160, 150, 0.2);
}

/* 面包屑导航样式 */
.breadcrumb {
  background-color: #f5f9f7;
}

.breadcrumb a {
  color: #666;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #00a096;
}

