/* 学员风采页面专属样式 */

/* Banner背景装饰 */
.student-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
  position: relative;
  overflow: hidden;
}

.student-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.student-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.student-banner .container {
  position: relative;
  z-index: 2;
}

/* 主内容布局 */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  padding: 40px 0;
}

.content-area {
  min-width: 0;
}

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

.sidebar-widget {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid var(--border-color);
}

.widget-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-color);
  position: relative;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
}

.widget-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  text-align: center;
}

.btn-block {
  width: 100%;
}

/* 快速报名表单 */
.sidebar-form .form-group {
  margin-bottom: 14px;
}

.sidebar-form input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.sidebar-form input:focus {
  border-color: var(--primary-color);
}

.sidebar-form .captcha-container {
  width: 100px;
  height: 40px;
  font-size: 18px;
}

.sidebar-form .btn {
  margin-top: 8px;
  padding: 12px;
  font-size: 15px;
}

/* 喜报展示区 */
.honor-widget {
  background: linear-gradient(135deg, #fff7ed 0%, #fff 100%);
  border-color: #fed7aa;
}

.honor-widget .widget-title {
  color: #ea580c;
  border-bottom-color: #f97316;
}

.honor-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.honor-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #fed7aa;
  font-size: 14px;
}

.honor-name {
  font-weight: 500;
  color: var(--text-primary);
}

.honor-score {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 13px;
  background: #fff7ed;
  padding: 2px 10px;
  border-radius: 12px;
}

/* 联系方式组件 */
.contact-widget .hotline {
  text-align: center;
  margin-bottom: 16px;
}

.phone-number {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.work-hint {
  font-size: 13px;
  color: var(--text-light);
}

/* 文章卡片在学员风采页的特殊样式 - 竖排展示更适合图片案例 */
@media (min-width: 769px) {
  .list-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .list-content .article-card {
    flex-direction: column;
    margin-bottom: 0;
  }

  .list-content .article-card .card-thumb {
    width: 100%;
    height: 200px;
  }
}

/* 分类筛选优化 */
.category-filter {
  background: var(--secondary-color);
  padding: 16px 20px;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
}

.category-btn {
  border-radius: 6px;
  padding: 8px 20px;
  position: relative;
  overflow: hidden;
}

.category-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.category-btn:hover::before,
.category-btn.active::before {
  left: 100%;
}

/* 响应式适配 */
@media (max-width: 1024px) {
  .main-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sidebar {
    order: -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .main-layout {
    padding: 24px 0;
  }

  .sidebar {
    grid-template-columns: 1fr;
  }

  .sidebar-widget {
    padding: 20px;
  }

  .list-content {
    display: block;
  }

  .list-content .article-card {
    margin-bottom: 16px;
  }

  .category-filter {
    padding: 12px;
    gap: 8px;
  }

  .category-btn {
    padding: 6px 16px;
    font-size: 13px;
  }

  .phone-number {
    font-size: 20px;
  }
}