* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

[v-cloak] {
  display: none;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.header-img {
  width: 100%;
  vertical-align: middle;
  aspect-ratio: 1200/426;
}

.content {
  padding-bottom: 40px;
}

.data {
  margin-top: 40px;
}

.data-category {
  display: flex;
  align-items: center;
  height: 46px;
  color: #224bff;
  font-size: 30px;
  font-weight: 900;
  line-height: 36px;
}
.data-category-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  margin-right: 10px;
}

.data-list {
  margin-top: 20px;
}

.data-item {
  margin-top: 10px;
  padding: 20px 0;
  border-bottom: 1px solid #ebebeb;
}
.data-item-title {
  color: #333333;
  font-size: 26px;
  font-weight: 900;
  text-align: justify;
  max-height: 74px;
  line-height: 37px;
  overflow: hidden;
}
.data-item-title a {
  text-decoration: none;
  color: inherit;
}
.data-item-title a:hover {
  color: #0180ff;
  text-decoration: underline;
}
.data-item-footer {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.data-item-tag {
  padding: 2px 12px;
  color: #0180ff;
  font-size: 16px;
  font-weight: 900;
  text-align: justify;
  line-height: 24px;
  border: 1px solid #0180ff;
}
.data-item-more {
  color: #0170f5;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  text-decoration: none;
  padding-right: 24px;
  background: url('./../images/arrow.png') no-repeat center right;
  background-size: 24px;
}

/* 展开区域样式 */
.data-item-expand {
  margin-top: 15px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

/* Vue transition 动画 */
.expand-enter-active,
.expand-leave-active {
  transition: all 0.3s ease;
  overflow: hidden;
}

.expand-enter,
.expand-leave-to {
  opacity: 0;
  max-height: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.expand-enter-to,
.expand-leave {
  opacity: 1;
  max-height: 500px;
}

.expand-label {
  display: inline-block;
  padding: 4px 16px;
  color: #0170f5;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  border-radius: 4px;
  background: #ebf3ff;
}

.expand-desc {
  margin-top: 15px;
  color: #333333;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  text-align: justify;
}

.expand-btn-wrapper {
  margin-top: 20px;
  text-align: center;
}

.expand-btn {
  display: inline-block;
  padding: 10px 24px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 400;
  text-align: center;
  border-radius: 8px;
  background: linear-gradient(139.5deg, #43a3f5 0%, #3a5bfc 100%);
  text-decoration: none;
}

.expand-btn:hover {
  opacity: 0.9;
}

/* 标题点击效果 */
.data-item-title {
  cursor: pointer;
  transition: color 0.2s;
}

.data-item-title:hover {
  color: #0180ff;
}


.detail-title {
  margin-top: 40px;
  color: #333333;
  font-size: 38px;
  font-weight: 500;
  text-align: justify;
  line-height: 57px;
}

.section-label {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 16px;
  color: #0170f5;
  font-size: 16px;
  font-weight: 400;
  text-align: justify;
  line-height: 24px;
  border-radius: 4px;
  background: #ebf3ff;
}

.detail-desc {
  margin-top: 30px;
  color: #333333;
  font-size: 22px;
  font-weight: 400;
  text-align: justify;
  line-height: 37px;
}

.detail-btn {
  margin: 70px auto 40px;
  display: block;
  width: 136px;
  height: 44px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  line-height: 44px;
  border-radius: 8px;
  background: linear-gradient(139.5deg, #43a3f5 0%, #3a5bfc 100%);
  text-decoration: none;
}

@media (max-width: 1200px) {
  .content {
    padding: 0 30px 30px;
  }
}

/* ==================== 平板设备适配 (768px - 1024px) ==================== */
@media (max-width: 1024px) {
  .data {
    margin-top: 30px;
  }

  .data-category {
    font-size: 26px;
    height: 40px;
    line-height: 40px;
  }

  .data-category-icon {
    width: 40px;
    height: 40px;
  }

  .data-list {
    margin-top: 15px;
  }

  .data-item-title {
    font-size: 22px;
    line-height: 33px;
    max-height: 66px;
  }

  .data-item-tag,
  .data-item-more {
    font-size: 15px;
  }

  /* 详情页适配 */
  .detail-title {
    margin-top: 32px;
    font-size: 32px;
    line-height: 48px;
  }

  .section-label {
    margin-top: 10px;
    padding: 3px 14px;
    font-size: 15px;
    line-height: 23px;
  }

  .detail-desc {
    margin-top: 25px;
    font-size: 19px;
    line-height: 32px;
  }

  .detail-btn {
    margin: 50px auto 35px;
    width: 128px;
    height: 42px;
    font-size: 15px;
    line-height: 42px;
  }

  /* 展开区域适配 */
  .data-item-expand {
    margin-top: 15px;
    padding: 18px;
  }

  .expand-label {
    padding: 3px 14px;
    font-size: 15px;
    line-height: 23px;
  }

  .expand-desc {
    margin-top: 14px;
    font-size: 15px;
    line-height: 26px;
  }

  .expand-btn-wrapper {
    margin-top: 18px;
  }

  .expand-btn {
    padding: 9px 22px;
    font-size: 14px;
  }
}

/* ==================== 手机设备适配 (< 768px) ==================== */
@media (max-width: 768px) {
  .content {
    padding: 0 15px 30px;
  }

  .data {
    margin-top: 20px;
  }

  .data-category {
    font-size: 20px;
    height: 32px;
    line-height: 32px;
    font-weight: 500;
  }

  .data-category-icon {
    width: 32px;
    height: 32px;
    margin-right: 8px;
  }

  .data-list {
    margin-top: 10px;
  }

  .data-item {
    padding: 15px 0;
  }

  .data-item-title {
    font-size: 18px;
    line-height: 27px;
    max-height: 54px;
    font-weight: 700;
  }

  .data-item-footer {
    margin-top: 15px;
  }

  .data-item-tag {
    font-size: 12px;
    padding: 2px 10px;
    line-height: 18px;
    font-weight: 700;
  }

  .data-item-more {
    font-size: 16px;
  }

  /* 展开区域适配 */
  .data-item-expand {
    margin-top: 12px;
    padding: 15px;
  }

  .expand-label {
    padding: 3px 12px;
    font-size: 14px;
    line-height: 22px;
  }

  .expand-desc {
    margin-top: 12px;
    font-size: 14px;
    line-height: 24px;
  }

  .expand-btn-wrapper {
    margin-top: 15px;
  }

  .expand-btn {
    padding: 8px 20px;
    font-size: 14px;
  }

  /* 详情页适配 */
  .detail-title {
    margin-top: 28px;
    font-size: 26px;
    line-height: 40px;
  }

  .section-label {
    margin-top: 10px;
    padding: 3px 12px;
    font-size: 14px;
    line-height: 22px;
  }

  .detail-desc {
    margin-top: 22px;
    font-size: 17px;
    line-height: 29px;
  }

  .detail-btn {
    margin: 45px auto 32px;
    width: 124px;
    height: 40px;
    font-size: 15px;
    line-height: 40px;
  }
}

/* ==================== 小屏手机适配 (< 480px) ==================== */
@media (max-width: 480px) {
  .data-category {
    font-size: 18px;
    height: 28px;
    line-height: 28px;
  }

  .data-category-icon {
    width: 28px;
    height: 28px;
    margin-right: 6px;
  }

  .data-item {
    padding: 10px 0;
  }

  .data-item-title {
    font-size: 16px;
    line-height: 24px;
    max-height: 48px;
  }

  .data-item-footer {
    margin-top: 12px;
  }

  .data-item-tag {
    font-size: 11px;
    padding: 2px 8px;
    font-weight: 400;
  }

  .data-item-more {
    font-size: 14px;
    line-height: 20px;
    padding-right: 20px;
    background-size: 20px;
  }

  /* 展开区域适配 */
  .data-item-expand {
    margin-top: 12px;
    padding: 15px;
  }

  .expand-label {
    padding: 3px 12px;
    font-size: 14px;
    line-height: 22px;
  }

  .expand-desc {
    margin-top: 12px;
    font-size: 14px;
    line-height: 24px;
  }

  .expand-btn-wrapper {
    margin-top: 15px;
  }

  .expand-btn {
    padding: 8px 20px;
    font-size: 14px;
  }

  /* 详情页适配 */
  .detail-title {
    margin-top: 20px;
    font-size: 22px;
    line-height: 34px;
  }

  .section-label {
    margin-top: 8px;
    padding: 2px 10px;
    font-size: 13px;
    line-height: 20px;
  }

  .detail-desc {
    margin-top: 18px;
    font-size: 15px;
    line-height: 26px;
  }

  .detail-btn {
    margin: 35px auto 25px;
    width: 120px;
    height: 40px;
    font-size: 14px;
    line-height: 40px;
    border-radius: 128px;
  }
}

