.display-none {
  display:none;
}

@media (max-width: 768px) {
  .banner-content-section {
    min-height: 180px;
  }

  .school-logo {
    height: 200px;
    object-fit: contain;
    border: 1px solid #e2e2e2;
  }

  .subtitle {
    margin-top: 2rem;
    font-size: 1.5rem;
    line-height: 1.5rem;
    color: #b8b8b8;
  }
}

@media (min-width: 768px) {
  .banner-content-section {
    min-height: 340px;
  }
  .school-logo {
    height: 300px;
    object-fit: contain;
    border: 1px solid #e2e2e2;
  }

  .subtitle {
    margin-top: 2rem;
    font-size: 3rem;
    line-height: 3rem;
    color: #b8b8b8;
  }

  .techgon-thumb img {
    height: 1080px;
    object-fit: cover;
  }
}

.faq-avatar {
  width: 54px;
  height: 54px;
  object-fit: cover;
  display: block;
}

.min-height-500px {
  min-height: 260px;
}

.welfare-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  background: #222;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.welfare-content {
  border-radius: 0 0 16px 16px;
  position: relative;
  z-index: 10; /* 数值可根据实际情况调整，确保高于蒙版 */
  text-align: center; 
  height: 100%;
}

.welfare-content h5 {
  font-size: 2rem !important;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: end;
  justify-content: center;
}
.welfare-card h5,
.welfare-card p {
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* 移除 hover 效果 */
.welfare-card:hover,
.welfare-card:focus,
.welfare-card:active {
  transform: none !important;
  box-shadow: none !important;
  filter: none !important;
}

.welfare-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px; /* 可根据实际视觉调整 */
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
}

.welfare-title {
  font-size: 2.8rem;      /* 更大字号 */
  font-weight: 800;
  color: #14224a;
  margin: 0.5rem 0 0 0;
  line-height: 1.2;
  letter-spacing: 1px;
}

.welfare-subtitle {
  font-size: 1.2rem;
  color: #5a4fff;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

/* 二维码样式*/
.qrcode-popup {
  /* 公共样式 */
  position: absolute;
  z-index: 9999;
  background: white;
  padding: 0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qrcode-container:hover .qrcode-popup {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 下方 */
.qrcode-popup-bottom {
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
}
.qrcode-popup-bottom::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid white;
}

/* 上方 */
.qrcode-popup-top {
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
}
.qrcode-popup-top::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid white;
}

/* 右侧 */
.qrcode-popup-right {
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
}
.qrcode-popup-right::after {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid white;
}

/* 左侧 */
.qrcode-popup-left {
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
}
.qrcode-popup-left::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid white;
}

.h1 {
  font-size: 80px;
  font-weight: 700;
  line-height: 84px;
  letter-spacing: -1.6px;
}