  .site-footer{
    background:#fff;
    border-top:1px solid #eee;
    padding:28px 24px;
    box-shadow: 0 -8px 16px -8px rgba(0,0,0,.15);
  }
  .footer-upper{
    max-width:1200px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:32px;

    padding-top: 40px;
    padding-bottom: 40px;
  }

  /* ====== Your slogan styles applied ====== */
  .slogan{
    grid-column:1;
    grid-row:1;
    text-align:left;
    font-family:var(--ff-serif);
    flex:1 1 auto;          /* 让左侧在 flex 布局下可伸缩 */
    min-width:260px;
    padding-left: clamp(32px, 4vw, 60px);
  }
  .slogan h2{
    margin:0;               /* 紧贴两行 */
    font-size:1.5rem;       /* 按你的要求 */
    letter-spacing:.05em;
    line-height:1.25;
    font-weight:600;
    color:#111;
  }

  /* Right logos */
  .footer-logos{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap: 5px;
    flex:0 1 auto;
    min-width:280px;
  }
  .footer-logos img{
    display:block;
    height:100px;
    width:auto;
    object-fit:contain;
    transition:opacity .2s ease;
  }
  .footer-logos a:hover img{ opacity:.85; }


  .footer-logos .footer-images-school {
      transform: translate(20px, 0px);
  }

  .footer-logos .footer-images-university {
      transform: translate(0, -10px);
  }

@media (max-width:1200px){
  .footer-upper{
    flex-direction:column;        /* 垂直堆叠 */
    align-items:center;           /* 水平居中 */
    justify-content:center;       /* 垂直居中 */
    gap:20px;
    text-align:center;            /* slogan 文本居中 */
  }

  .slogan{
    padding-left:0;
    text-align:center;
    margin-bottom:8px;
  }

  .footer-logos{
    justify-content:center;       /* logo 居中 */
    flex-wrap:wrap;
    gap:10px;
    min-width:unset;
  }
}

@media (max-width:900px){
  .footer-logos{
    flex-direction:column;       /* 垂直排列 */
    align-items:center;          /* 水平居中 */
    justify-content:center;
    gap:12px;                    /* 上下间距 */
  }

  .footer-logos .footer-images-school {
    transform: translate(0, 0);
  }

  .footer-logos .footer-images-university {
    transform: translate(0, 0);
  }
}

.footer-divider {
  width: 100%;
  max-width: 1400px;   /* 与 .footer-top 一致的最大宽度 */
  height: 1px;         /* 分割线高度 */
  margin: 2rem 0;      /* 上下间距：可以根据需要调整 */
  background-color: #ddd;  /* 线条颜色 */
  /* 如果想居中： */
  margin-left: auto;
  margin-right: auto;
}

/* 下层整体：双列布局（左 connect / 右 carousel） */
.footer-lower{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  align-items:stretch;
  justify-content:space-between;
  gap:32px;
  padding:16px 0 32px;
  position:relative;
}

/* 你的 footer-connect 样式（改为正常流） */
.footer-connect {
  flex: 1 1 520px;
  max-width: 520px;
  text-align: left;
  padding-left: clamp(32px, 4vw, 60px);
}
.footer-connect h2 {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  font-family:var(--ff-serif);
}
.footer-connect p {
  margin: 0 0 1rem;
  line-height: 1.6;
  font-family:var(--ff-body);
}

/* 社交图标横排 */
.footer-connect .social-icons {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.footer-connect .social-icons a img {
  width: 32px;
  height: 32px;
  display: block;
  transition: opacity 0.2s;
}
.footer-connect .social-icons a img:hover {
  opacity: 0.7;
}

/* 你的 carousel 样式（沿用）*/
.carousel-container {
  width: 100%;
  max-width: 420px;     /* 稍加大以适配双列 */
  height: 320px;
  position: relative;
  perspective: 1000px;
  margin-left: 0;       /* 取消原来的 550px 左外边距，交给布局控制 */
  flex: 1 1 420px;
  margin-right: 0;
  transform: translate(-140px, -50px);
}

/* === 你原有的 carousel 样式保持 === */
.carousel-track {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.card {
  position: absolute;
  width: 280px;
  height: 200px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card img {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.card.center { z-index: 10; transform: scale(1.1) translateZ(0); }
.card.left-2 { z-index: 1; transform: translateX(-300px) scale(0.8) translateZ(-300px); opacity:.7; }
.card.left-1 { z-index: 5; transform: translateX(-150px) scale(0.9) translateZ(-100px); opacity:.9; }
.card.right-1{ z-index: 5; transform: translateX(150px)  scale(0.9) translateZ(-100px); opacity:.9; }
.card.right-2{ z-index: 1; transform: translateX(300px)  scale(0.8) translateZ(-300px); opacity:.7; }
.card.hidden{ opacity:0; pointer-events:none; }

@media (max-width: 1400px) {
  .carousel-container { transform: translate(-140px,-40px);}
  .card { width: 200px; height: 280px; }
  .card.left-2 { transform: translateX(-250px) scale(0.8) translateZ(-300px); }
  .card.left-1 { transform: translateX(-120px) scale(0.9) translateZ(-100px); }
  .card.right-1{ transform: translateX(120px)  scale(0.9) translateZ(-100px); }
  .card.right-2{ transform: translateX(250px)  scale(0.8) translateZ(-300px); }
}

@media (max-width:1200px){
  .footer-lower{
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 12px 0 0;
    text-align: center;
  }

  /* 顺序：Connect 在上，Carousel 在下 */
  .footer-connect{
    order: 1;
    flex: 0 0 auto;      /* ✅ 不再被 520px 撑高 */
    max-width: 640px;
    width: 100%;
    padding-left: 0;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .footer-connect h2,
  .footer-connect p{ margin: 0; }

  .footer-connect .social-icons{
    justify-content: center;
    margin: 0;
  }

  .carousel-container{
    order: 2;
    transform: translate(0,-50px);
    margin: 0 auto;             /* 居中 */
    max-width: 420px;    /* 桌面尺寸 */
    height: 320px;       /* 桌面高度 */

  }

    .card {
    width: 280px;
    height: 200px;
  }

  .card.left-2 {
    transform: translateX(-300px) scale(0.8) translateZ(-300px);
    opacity: .7;
  }
  .card.left-1 {
    transform: translateX(-150px) scale(0.9) translateZ(-100px);
    opacity: .9;
  }
  .card.center {
    z-index: 10;
    transform: scale(1.1) translateZ(0);
  }
  .card.right-1 {
    transform: translateX(150px) scale(0.9) translateZ(-100px);
    opacity: .9;
  }
  .card.right-2 {
    transform: translateX(300px) scale(0.8) translateZ(-300px);
    opacity: .7;
  }
}

/* <900px：进一步压缩高度与间距 */
@media (max-width: 900px) {
    .carousel-container{
    transform: none;
    }
	.card {
		width: 200px;
		height: 280px;
	}

	.card.left-2 {
		transform: translateX(-250px) scale(0.8) translateZ(-300px);
	}

	.card.left-1 {
		transform: translateX(-120px) scale(0.9) translateZ(-100px);
	}

	.card.right-1 {
		transform: translateX(120px) scale(0.9) translateZ(-100px);
	}

	.card.right-2 {
		transform: translateX(250px) scale(0.8) translateZ(-300px);
	}
}

.footer-license {
  display: block;
  max-width: 720px;
  margin: 1.5rem auto 0;  /* 顶部留间距 */
  line-height: 1.6;
  font-size: 0.85rem;
  color: #666;
  text-align: center;
  font-family:var(--ff-serif);
}

.footer-license a {
  color: #7C3AED;          /* 链接颜色可自定 */
  text-decoration: none;

}

/* 小屏更紧凑 */
@media (max-width: 600px) {
  .footer-license {
    padding: 0 1rem;
    font-size: 0.8rem;
  }
}

    /* 只针对 footer-connect 里的邮箱链接 */
.footer-connect a[href^="mailto"] {
  color: #000;           /* 黑色文字 */
  text-decoration: none; /* 去掉下划线 */
  font-weight: 500;      /* 可选：加一点字重 */
}

.footer-connect a[href^="mailto"]:hover {
  color: #333; /* 悬停时颜色微变化，可选 */
}
