/* 考试须知页面专属样式 */
.page4-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
  position: relative;
}
.page4-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1434030216411-0b793f4b4173?w=1920&h=400&fit=crop') center/cover;
  opacity: 0.15;
}
.page4-banner .container {
  position: relative;
  z-index: 2;
}

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

/* 左侧主内容 */
.content-main {
  min-width: 0;
}

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

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

/* 表单卡片 */
.form-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border-color);
}

.consult-form .form-group input,
.consult-form .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 14px;
  transition: border-color 0.2s ease;
}

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

.btn-fullwidth {
  width: 100%;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  margin-top: 16px;
}

.form-tip {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.form-tip a {
  color: var(--accent-color);
  font-weight: 600;
}

/* 考试信息卡片 */
.sidebar-info-card h4,
.sidebar-hot-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
}

.info-list {
  margin-bottom: 8px;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f2f5;
  font-size: 14px;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-date {
  color: var(--primary-color);
  font-weight: 500;
}

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

/* 热门问题 */
.hot-links li {
  margin-bottom: 10px;
}

.hot-links li a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  display: block;
  padding: 6px 0;
}

.hot-links li a:hover {
  color: var(--primary-color);
  padding-left: 4px;
}

/* 文章卡片样式微调 - 适配考试须知页面 */
.content-main .article-card {
  flex-direction: row;
}

.content-main .article-card .card-thumb {
  width: 260px;
  height: 180px;
}

/* 响应式适配 */
@media (max-width: 1024px) {
  .content-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .content-sidebar {
    order: -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .content-layout {
    padding: 24px 0;
  }
  
  .content-sidebar {
    grid-template-columns: 1fr;
  }
  
  .content-main .article-card {
    flex-direction: column;
  }
  
  .content-main .article-card .card-thumb {
    width: 100%;
    height: 200px;
  }
  
  .page4-banner {
    padding: 40px 0;
  }
  
  .page4-banner h1 {
    font-size: 24px;
  }
}