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

/* 设置rem单位基准 */
html {
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

.container {
  /* max-width: 1200px; */
  margin: 0 auto;
  /* padding: 0 1rem; */
}

/* 顶部校徽和标题 */
.header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  border-bottom: 1px solid #e0e0e0;
  background-color: white;
}

.logo img {
  height: 6rem;
}

.title h1 {
  font-size: 1.8rem;
  color: #205b9c;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.title p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.2rem;
}

/* 中间功能区块 */
.main-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 4rem 0;
  flex-wrap: wrap;
  gap: 2rem;
}

.card {
  width: 33.33%;
  height: 12rem;
  border: 1px solid #205b9c;
  border-radius: 0.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: white;
  transition: all 0.3s ease;
  cursor: pointer;
}

.card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.card:hover {
  transform: translateY(-0.3rem);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.card-logo {
  margin-bottom: 1.5rem;
}

.card-logo img {
  width: 4rem;
  height: 4rem;
}

.card-logo svg {
  width: 4rem;
  height: 4rem;
}

.card-title {
  font-size: 1.1rem;
  color: #205b9c;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.card-subtitle {
  font-size: 0.8rem;
  color: #666;
  text-align: center;
  padding: 0 1rem;
}

/* 底部通道说明 */
.footer {
  background-color: white;
  padding: 2rem 0;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-content h3 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1rem;
  font-weight: 600;
}

.description-item {
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  line-height: 1.7;
}

.description-item strong {
  color: #205b9c;
  font-weight: 600;
}

.description-item span {
  color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .header {
    flex-direction: column;
    padding: 1.5rem 0;
  }

  .logo img {
    height: 5rem;
  }

  .title h1 {
    font-size: 1.5rem;
    text-align: center;
  }

  .title p {
    text-align: center;
  }

  .main-content {
    flex-direction: column;
    padding: 2rem 0;
  }

  .card {
    width: 100%;
    max-width: 18rem;
    height: 16rem;
  }

  .footer-content {
    padding: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 13px;
  }

  .header {
    padding: 1rem 0;
  }

  .logo img {
    height: 4.5rem;
  }

  .title h1 {
    font-size: 1.3rem;
  }

  .main-content {
    padding: 1.5rem 0;
  }

  .card {
    height: 15rem;
  }

  .footer-content {
    padding: 0 1rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .main-content {
    justify-content: space-between;
    padding: 3rem 1rem;
  }

  .card {
    width: calc(33.333% - 1.33rem);
    height: 17rem;
  }
}
