/* 首页专属样式 */
/* 隐藏导航栏立即报名按钮 */
.quick-actions .quick-apply {
  display: none !important;
}

/* 首页Banner自适应高度 */
.home-banner {
  height: auto !important;
}
.home-banner .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.home-banner .slide.active {
  position: relative;
  opacity: 1;
  z-index: 1;
}
.home-banner .slide picture,
.home-banner .slide img {
  width: 100%;
  height: auto !important;
  display: block;
  object-fit: cover;
}
.home-banner .slide-content {
  background: rgba(0,0,0,0.3);
  padding: 40px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}
.home-banner .banner-arrow {
  top: 50%;
}
.home-banner .banner-controls {
  bottom: 24px;
}

/* 全宽图片模块样式 */
.fullwidth-image-module {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  text-align: center;
  font-size: 0;
}
.fullwidth-image-module picture {
  max-width: 100%;
  display: inline-block;
  line-height: 0;
  vertical-align: top;
}
.fullwidth-image-module img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 首页表单模块 */
.home-form-section {
  padding: 60px 0;
}
.home-form-section.material-form {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  color: #fff;
}
.home-form-section.apply-form {
  background: var(--secondary-color);
}
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: center;
}
.form-info .form-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}
.home-form-section.apply-form .form-info .form-title {
  color: var(--text-primary);
}
.form-info .form-desc {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.9);
}
.home-form-section.apply-form .form-info .form-desc {
  color: var(--text-secondary);
  opacity: 1;
}
.form-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.form-benefits li {
  font-size: 15px;
  padding: 8px 0;
  color: rgba(255,255,255,0.95);
}
.home-form-section.apply-form .form-benefits li {
  color: var(--text-secondary);
}
.form-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}
.form-card h4 {
  font-size: 20px;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 24px;
}
.form-card input,
.form-card .form-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;
  background: #fff;
  color: var(--text-primary);
}
.form-card input:focus,
.form-card .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-card .form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}
.form-tip {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 12px;
  margin-bottom: 0;
}

/* 响应式适配 */
@media (max-width: 1024px) {
  .form-wrap {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .form-card {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }
  .home-banner .slide-content {
    padding: 24px;
  }
  .home-banner .slide-content h2 {
    font-size: 28px !important;
  }
}

@media (max-width: 768px) {
  .home-form-section {
    padding: 40px 20px;
  }
  .form-info .form-title {
    font-size: 22px;
    text-align: center;
  }
  .form-info .form-desc {
    text-align: center;
  }
  .form-benefits {
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: 280px;
    margin: 0 auto;
  }
  .home-banner .banner-arrow {
    display: none;
  }
  .home-banner .slide-content {
    padding: 20px;
    width: 92%;
  }
  .home-banner .slide-content h2 {
    font-size: 20px !important;
    margin-bottom: 8px !important;
  }
  .home-banner .slide-content p {
    font-size: 14px !important;
    margin-bottom: 16px !important;
  }
  .home-banner .slide-content .btn {
    padding: 10px 24px !important;
    font-size: 14px !important;
  }
}