@charset "UTF-8";

/* Banner大图（保留原有全屏逻辑） */
.banner {
  width: 100%;
  height: 100vh;
  /* 【兼容】iOS Safari 100vh包含地址栏问题：动态vh变量兜底 */
  height: calc(var(--vh, 1vh) * 100);
  /* 【兼容】兜底高度：防止小屏幕/vh计算异常导致高度塌陷 */
  min-height: 500px;
  /* 新增：为绝对定位的子元素提供正确的定位上下文 */
  position: relative;
}

.banner .slick {
  /* 为解决banner左右切换箭头不居中问题 */
  height: 100% !important;
}

:root {
  /* 6个导航块独立配色（差异化更明显） */
  --color-1: #B82635;
  /* 校庆标识 - 酒红 */
  --color-2: #8B5A2B;
  /* 校庆指南 - 棕褐 */
  --color-3: #F5E6D3;
  /* 校庆捐赠 - 米白 */
  --color-4: #8C1C13;
  /* 校友风采 - 深红 */
  --color-5: #D4AF37;
  /* 祝福寄语 - 鎏金 */
  --color-6: #2B5876;
  /* 长医印象 - 藏蓝 */
  --border-radius-lg: 16px;
  /* 统一圆角 */
  --transition-base: all 0.4s ease;
  --block-opacity: 0.85;
  /* 【兼容】补充缺失变量：修复原代码未定义导致的样式失效 */
  --primary-gold: #F2C94C;
  --primary-white: #FFFFFF;
  /* 【兼容】vh变量：仅iOS设备会被JS覆盖，默认值不影响其他设备 */
  --vh: 1vh;
}

/* Banner内容层（保留原有渐变遮罩） */
.banner-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  color: #fff;
  text-align: center;
  margin: 0 5%;
  /* 新增：修复移动端flex居中失效问题 */
  box-sizing: border-box;
  /* 确保padding/margin不影响高度计算 */
}

.banner-title {
  /* 【兼容】clamp降级：先写固定值，不支持clamp的浏览器用3rem */
  font-size: 2rem;
  font-size: clamp(2rem, 4.5vw, 5.5rem);
  font-weight: 600;
  margin-bottom: 25px;
  letter-spacing: 0.08em;
  line-height: 1.2;
  /* 【兼容】IE11阴影降级：仅保留单组阴影，避免解析异常 */
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}
.banner-title span {
    font-weight: 600;
  }
.banner-subtitle {
  /* 【兼容】clamp降级：固定值1.2rem兜底 */
  font-size: 1.2rem;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  /* 【兼容】IE11阴影降级 */
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
}

.banner-content img {
  max-width: 180px; /* 降级：老旧浏览器默认宽度 */
  max-width: clamp(160px, 14vw, 280px); /* 现代浏览器响应式 */
  width: 100%; /* 兜底：确保宽度自适应 */
  height: auto !important; /* 强制保持比例，优先级最高 */
  min-width: 120px; /* 兜底：防止小屏挤压过小 */
}

/* 核心修改：同水平+色块+圆角导航栏 */
.xq80-banner-nav {
/* 该宽度设置90%后，在一些屏幕较小的电脑会出现不居中 */
  /* width: 90%;  */ 
  max-width: 1400px;
  /* 修改：默认保持悬浮效果（PC端），移动端通过媒体查询覆盖 */
  margin: -170px auto 80px;
  /* 悬浮高度不变 */
  position: relative;
  z-index: 20;
  /* 新增：确保margin计算正确 */
  box-sizing: border-box;
}

.px1400 {
  width: 100%;
}

/* 导航列表：同水平+均匀间距 
【兼容】移除gap，仅保留基础flex布局，依赖justify-content: space-between实现自然间隙
*/
.xq80-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* 导航项：同水平+三列布局 
【兼容】1. 移除gap相关的calc扣除值，直接用百分比宽度；2. 固定margin-bottom保持行间距
*/
.xq80-nav-item {
  width: 32%;
  /* 三列布局，留自然间隙（32%*3=96%，剩余4%为间隙） */
  flex: 0 0 auto;
  /* 取消flex缩放，避免宽度异常 */
  margin-bottom: 20px;
  /* 仅保留底部行间距 */
  /* 【兼容】最小宽度：防止小屏幕挤压变形 */
  min-width: 280px;
}

/* 导航链接：色块+圆角+居中核心样式（统一透明度） */
.xq80-nav-item a {
  display: block;
  text-decoration: none;
  /* 【兼容】圆角降级：先写固定值，不支持变量的浏览器用16px */
  border-radius: 16px;
  border-radius: var(--border-radius-lg);
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  /* 【兼容】过渡降级：固定值兜底 */
  transition: all 0.4s ease;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 200px;
  /* 统一高度 */
  color: #fff;
  /* 默认文字白色 */
  background-color: transparent;
}

/* ========== 6个导航块独立配色+透明度 ========== */
/* 1号：校庆标识 - 酒红 + 可选背景图 */
.xq80-nav-item:nth-child(1) a {
  background: url(../images/xq80/banner1.jpg) no-repeat center center;
  background-size: cover;
}

.xq80-nav-item:nth-child(1) a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 【兼容】背景色降级：固定透明度兜底，变量覆盖 */
  background-color: rgba(184, 38, 53, 0.85);
  background-color: rgba(184, 38, 53, var(--block-opacity));
  z-index: 1;
  /* 【兼容】圆角降级 */
  border-radius: 16px;
  border-radius: var(--border-radius-lg);
}

/* 2号：校庆指南 - 棕褐 + 背景图 */
.xq80-nav-item:nth-child(2) a {
  background: url(../images/xq80/banner1.jpg) no-repeat center center;
  background-size: cover;
}

.xq80-nav-item:nth-child(2) a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(139, 90, 43, 0.85);
  background-color: rgba(139, 90, 43, var(--block-opacity));
  z-index: 1;
  border-radius: 16px;
  border-radius: var(--border-radius-lg);
}

/* 3号：校庆捐赠 - 米白 + 可选背景图（文字深色） */
.xq80-nav-item:nth-child(3) a {
  background: url(../images/xq80/banner1.jpg) no-repeat center center;
  background-size: cover;
  /* color: #333; */
}

.xq80-nav-item:nth-child(3) a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(240, 143, 21, 0.85);
  background-color: rgba(240, 143, 21, var(--block-opacity));
  z-index: 1;
  border-radius: 16px;
  border-radius: var(--border-radius-lg);
}

/* 4号：校友风采 - 深红 + 可选背景图 */
.xq80-nav-item:nth-child(4) a {
  background: url(../images/xq80/banner1.jpg) no-repeat center center;
  background-size: cover;
}

.xq80-nav-item:nth-child(4) a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(140, 28, 19, 0.85);
  background-color: rgba(140, 28, 19, var(--block-opacity));
  z-index: 1;
  border-radius: 16px;
  border-radius: var(--border-radius-lg);
}

/* 5号：祝福寄语 - 鎏金 + 可选背景图（文字深色） */
.xq80-nav-item:nth-child(5) a {
  background: url(../images/xq80/banner1.jpg) no-repeat center center;
  background-size: cover;
  /* color: #333; */
}

.xq80-nav-item:nth-child(5) a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(212, 175, 55, 0.85);
  background-color: rgba(212, 175, 55, var(--block-opacity));
  z-index: 1;
  border-radius: 16px;
  border-radius: var(--border-radius-lg);
}

/* 6号：长医印象 - 藏蓝 + 可选背景图 */
.xq80-nav-item:nth-child(6) a {
  background: url(../images/xq80/banner1.jpg) no-repeat center center;
  background-size: cover;
}

.xq80-nav-item:nth-child(6) a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(43, 88, 118, 0.85);
  background-color: rgba(43, 88, 118, var(--block-opacity));
  z-index: 1;
  border-radius: 16px;
  border-radius: var(--border-radius-lg);
}

/* ========== 图标容器：适配透明图标 ========== */
.xq80-icon {
  margin-bottom: 20px;
  /* 【兼容】过渡降级 */
  transition: all 0.4s ease;
  transition: var(--transition-base);
  position: relative;
  z-index: 2;
  /* 高于色块遮罩，保证图标清晰 */
  width: 180px;
  /* 固定图标容器大小 */
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 透明图标适配：去掉冗余样式，保证透明背景显示 */
.xq80-icon img {
  width: 100%;
  height: 100%;
  /* 【兼容】IE11不支持object-fit，用max宽高模拟contain效果 */
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* 保持图标比例，不拉伸 */
  position: relative;
  z-index: 2;
}

/* 导航文字：居中+简洁 */
.xq80-nav-item p {
  font-size: 1.4rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
  margin: 0;
  text-align: center;
  letter-spacing: 0.1em;
}

/* 悬浮交互：轻微缩放+阴影 */
.xq80-nav-item a:hover {
  /* 【兼容】IE11前缀：单独添加，不影响现代浏览器 */
  -ms-transform: scale(1.03);
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.xq80-nav-item a:hover .xq80-icon {
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

/* 响应式适配 */
@media (max-width: 1024px) {

  /* 平板端：取消100vh，改用padding-top实现等比缩放（16:9） */
  .banner {
    height: auto !important;
    min-height: auto !important;
    /* padding-top: 56.25%; */
    /* 16:9比例，可根据banner图实际比例调整 */
  }

  /* 移动端导航栏修改：取消悬浮，紧贴banner底部 */
  .xq80-banner-nav {
    margin: 0 auto 80px;
    /* 取消负margin，改为0 */
    padding: 0 5%;
    /* 补充左右内边距 */
  }

  .xq80-nav-item {
    width: 48%;
    /* 两列布局，留2%自然间隙 */
  }

  .xq80-nav-item a {
    min-height: 160px;
    padding: 40px 15px;
  }

  /* 强化移动端banner-content居中（适配等比缩放的banner） */
  .banner-content {
    margin: 0 5%;
    justify-content: center !important;
    align-items: center !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    /* 去掉宽度的显示，为解决移动端这部分右偏移不居中问题 */
    /* width: 100%; */  
    height: 100%;
  }

  /* 缩放banner-content文字大小 */
  .banner-title,
  .banner-subtitle {
    font-size: 1.2rem;
    font-size: clamp(1.2rem, 3vw, 2rem);
  }

}

@media (max-width: 768px) {

  /* 移动端：移除100vh，改为按宽度等比缩放 */
  .banner {
    height: auto !important;
  }

  /* 移动端导航栏修改：取消悬浮，紧贴banner底部 */
  .xq80-banner-nav {
    margin: 0 auto 80px;
    /* 取消负margin，改为0 */
    padding: 0 5%;
    /* 补充左右内边距 */
  }

  .xq80-nav-item {
    width: 48%;
    /* 两列布局，留2%自然间隙 */
  }

  .xq80-nav-item a {
    min-height: 160px;
    padding: 40px 15px;
  }

  /* 强化移动端banner-content居中 */
  .banner-content {
    margin: 0 5%;
    /* 减小左右边距 */
    justify-content: center !important;
    /* 强制居中 */
    align-items: center !important;
  }
 /* 强化移动端标识图缩小 */
  .banner-content img {
        max-width: 120px;
        max-width: clamp(100px, 10vw, 200px);
        min-width: 80px;
        }
}

@media (max-width: 480px) {
  .xq80-nav-item {
    width: 100%;
    /* 单列布局，无横向间隙 */
  }

  .xq80-nav-item a {
    min-height: 140px;
  }

  /* 移动端banner高度适配 */
  .banner {
    min-height: 400px;
    /* 降低最小高度适配小屏 */
  }
}

/* 背景图透明字体区域 start */
/* 背景图透明字体区域 */
.bg-image-section {
  position: relative;
  width: 100%;
  height: 45vh;
  /* 【兼容】iOS Safari地址栏问题：动态vh修正 */
  height: calc(var(--vh, 1vh) * 45);
  /* 【兼容】拆分背景写法：避免部分Android浏览器解析center/cover连写异常 */
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.85), rgba(139, 21, 56, 0.9));
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.85), rgba(139, 21, 56, 0.9)),
    url(../images/xq80/banner1.jpg) no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 40px 0;
  overflow: hidden;
  /* 【兼容】兜底高度：防止vh计算异常 */
  min-height: 300px;
}

/* 背景图区域装饰 */
.bg-image-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  pointer-events: none;
}

/* 顶部装饰线 */
.bg-image-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  /* 【兼容】渐变降级：固定色值兜底 */
  background: linear-gradient(to right, #F2C94C, #FFFFFF, #F2C94C);
  background: linear-gradient(to right, var(--primary-gold), var(--primary-white), var(--primary-gold));
  box-shadow: 0 0 20px rgba(242, 201, 76, 0.5);
}

.bg-image-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  padding: 0 40px;
  color: rgba(255, 255, 255, 0.95);
  /* 【兼容】IE11阴影降级 */
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 2;
  /* 【兼容】移动端移除gap，用margin替代 */
  margin: 20px 0;
}

.bg-image-left,
.bg-image-right {
  /* 【兼容】clamp降级：固定值兜底 */
  font-size: 2rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: bold;
  opacity: 0.95;
  flex: 1;
  letter-spacing: 0.3em;
  position: relative;
}

.bg-image-center {
  flex: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* 中心区域装饰 */
.bg-image-center::before {
  content: '';
  position: absolute;
  top: -20px;
  /* left: 50%;  */
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  border: 2px solid rgba(242, 201, 76, 0.3);
  border-radius: 50%;
  /* 【兼容】IE11动画前缀 */
  -ms-animation: pulse 3s infinite ease-in-out;
  animation: pulse 3s infinite ease-in-out;
}

/* 【兼容】IE11专属动画：单独定义 */
@-ms-keyframes pulse {

  0%,
  100% {
    -ms-transform: translateX(-50%) scale(1);
    opacity: 0.3;
  }

  50% {
    -ms-transform: translateX(-50%) scale(1.2);
    opacity: 0.6;
  }
}

@keyframes pulse {

  0%,
  100% {
    -ms-transform: translateX(-50%) scale(1);
    transform: translateX(-50%) scale(1);
    opacity: 0.3;
  }

  50% {
    -ms-transform: translateX(-50%) scale(1.2);
    transform: translateX(-50%) scale(1.2);
    opacity: 0.6;
  }
}

.bg-image-logo {
  /* 【兼容】clamp降级：固定值兜底 */
  font-size: 4rem;
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: bold;
  margin-bottom: 15px;
  opacity: 1;
  text-shadow: 0 0 30px rgba(242, 201, 76, 0.5);
  position: relative;
  z-index: 3;
}

.bg-image-year {
  font-size: 1rem;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  margin-bottom: 10px;
  opacity: 0.9;
  letter-spacing: 0.2em;
  font-weight: 500;
}

.bg-image-university {
  font-size: 1.5rem;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
  opacity: 1;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* bg-image-center校庆标识图片样式 */
.bg-image-logo-img {
  width: 100%;
  max-width: 260px;       /* PC端最大宽度，比原来放大了近20% */
  max-width: clamp(180px, 15vw, 300px); /* 响应式放大：中等屏幕按15vw缩放，大屏最高300px */
  height: auto;           /* 保持图片比例 */
  position: relative;
  z-index: 3;
  opacity: 1;
}

@media (max-width: 1024px){
 /* 缩放bg-image-left，bg-image-right文字大小 */
  .bg-image-left,
  .bg-image-right {
    font-size: 1.5rem;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  }
}

@media (max-width: 991px) {
  .bg-image-section {
    height: 40vh;
    height: calc(var(--vh, 1vh) * 40);
  }

  .bg-image-content {
    padding: 0 20px;
  }

  .bg-image-left,
  .bg-image-right {
    font-size: 1.5rem;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }

  .bg-image-left::before,
  .bg-image-right::before {
    width: 30px;
  }

  .bg-image-logo {
    font-size: 3rem;
    font-size: clamp(3rem, 8vw, 5rem);
  }
}

@media (max-width: 768px) {
  .bg-image-section {
    height: 35vh;
    height: calc(var(--vh, 1vh) * 35);
  }

  .bg-image-content {
    flex-direction: column;
    /* 移除gap，依赖margin实现纵向间距 */
    margin: 20px 0;
  }

  .bg-image-left,
  .bg-image-right {
    font-size: 1.2rem;
    font-size: clamp(1.2rem, 3vw, 2rem);
    flex: none;
  }

  .bg-image-left::before,
  .bg-image-right::before {
    display: none;
  }

  .bg-image-center {
    flex: none;
  }

  .bg-image-logo {
    font-size: 2.5rem;
    font-size: clamp(2.5rem, 7vw, 4rem);
  }

  .bg-image-year {
    font-size: 0.8rem;
    font-size: clamp(0.8rem, 2vw, 1.2rem);
  }

  .bg-image-university {
    font-size: 1rem;
    font-size: clamp(1rem, 3vw, 1.8rem);
  }
}

/* 背景图透明字体区域 end */

/* 校庆底部二维码 start */
.xq-foot-ewm .con {
  float: right;
  margin: 0px 15px;
  height: auto;
}

.xq-foot-ewm .con img {
  width: 110px;
  vertical-align: top;
  background: #fff;
  border: #fff 2px solid;
}

.xq-foot-ewm span {
  display: block;
  line-height: 30px;
  font-size: 18px;
  color: #ffffff;
  text-align: center;
  margin: 12px 0px 0px 0px;
}