@charset "utf-8";
/* ==========================================================
   首页样式
   ========================================================== */

/* ---------- 主视觉横幅 ---------- */
.home-hero {
  position: relative;
  overflow: hidden;
  background: #0f4c93;
  color: #fff;
}

.home-hero .hero-media {
  position: relative;
  height: 0;
  padding-bottom: 39.06%;
  overflow: hidden;
}

.home-hero .hero-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 主视觉多图渐变轮播 */
.home-hero .hero-swiper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.home-hero .hero-swiper .swiper-slide {
  overflow: hidden;
}

.home-hero .hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 90px;
}

.home-hero .hero-caption span {
  display: inline-block;
  max-width: 100%;
  padding: 14px 24px;
  background: rgba(0, 0, 0, .45);
  font-size: 34px;
  line-height: 1.25;
  font-weight: normal;
}

@media screen and (max-width: 996px) {
  .home-hero .hero-caption { bottom: 40px; }
  .home-hero .hero-caption span { font-size: 24px; padding: 10px 16px; }
}

@media screen and (max-width: 767px) {
  .home-hero .hero-caption { bottom: 20px; }
  .home-hero .hero-caption span { font-size: 18px; padding: 8px 12px; }
}

/* ---------- 快捷入口 ---------- */
.quick-links {
  padding: 27px 0 34px;
  background: linear-gradient(180deg, #f3f9ff 0%, #ffffff 78%);
}

.quick-links ul {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 18px;
}

.quick-links li a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 16px 8px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(12, 80, 140, .07);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}

/* 顶部渐变亮线：悬停时展开 */
.quick-links li a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff9a3d, #0e86d4);
  opacity: 0;
  transform: scaleX(.2);
  transition: opacity .35s ease, transform .35s ease;
}

.quick-links li a:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(12, 80, 140, .16);
}

.quick-links li a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* 圆形渐变图标底座 */
.quick-links .ql-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8f6fd 0%, #d2ebff 100%);
  color: #0e86d4;
  font-size: 24px;
  line-height: 1;
  transition: background .35s ease, color .35s ease, transform .35s ease, box-shadow .35s ease;
}

.quick-links li a:hover .ql-icon {
  background: linear-gradient(135deg, #24c9ef 0%, #0e86d4 100%);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 8px 18px rgba(14, 134, 212, .35);
}

.quick-links li a p {
  margin-top: 10px;
  font-size: 15px;
  font-weight: bold;
  color: #0b2f57;
  letter-spacing: 1px;
  transition: color .35s ease;
}

.quick-links li a:hover p {
  color: #0e86d4;
}

.quick-links .ql-en {
  margin-top: 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7aa6cc;
  transition: color .35s ease;
}

.quick-links li a:hover .ql-en {
  color: #2ea8c9;
}

@media screen and (max-width: 1260px) {
  .quick-links .ql-icon { width: 42px; height: 42px; font-size: 21px; }
  .quick-links li a p { margin-top: 8px; font-size: 14px; }
  .quick-links .ql-en { font-size: 10px; }
}

@media screen and (max-width: 996px) {
  .quick-links ul {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .quick-links .ql-icon { width: 48px; height: 48px; font-size: 24px; }
  .quick-links li a p { margin-top: 10px; font-size: 15px; }
}

@media screen and (max-width: 480px) {
  .quick-links ul { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .quick-links li a { padding: 12px 6px; border-radius: 14px; }
  .quick-links .ql-icon { width: 50px; height: 50px; font-size: 24px; }
  .quick-links li a p { margin-top: 10px; font-size: 15px; }
}

/* ---------- 新闻 / 通知 双栏 ---------- */
.home-columns {
  display: flex;
  gap: 44px;
  padding-bottom: 70px;
}

.home-columns > section {
  flex: 1;
  min-width: 0;
}

.col-head {
  display: flex;
  align-items: baseline;
  padding-bottom: 12px;
  margin-bottom: 26px;
  border-bottom: 1px solid #e4e4e4;
}

.col-head h2 {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.2;
}

.col-head h2 a { color: #333; }
.col-head h2 a:hover { color: #0f4c93; }

.col-head .col-en {
  margin-left: 12px;
  color: #999;
  font-size: 14px;
  font-family: Arial, sans-serif;
}

.col-head .more {
  margin-left: auto;
  color: #999;
  font-size: 14px;
}

.col-head .more:hover { color: #ff7a30; }

/* 栏目标题左侧的暖色竖向短线 */
.col-head h2 {
  position: relative;
  padding-left: 14px;
}

.col-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 20px;
  margin-top: -10px;
  border-radius: 2px;
  background: linear-gradient(180deg, #ff9a3d, #0e86d4);
}

/* 新闻列表：圆角卡片 + 上浮 */
.news-list li + li { margin-top: 22px; }

.news-list a {
  display: flex;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(12, 80, 140, .09);
  transition: transform .35s ease, box-shadow .35s ease;
}

.news-list a:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(12, 80, 140, .18);
}

.news-list .news-pic {
  flex: 0 0 280px;
  width: 280px;
  height: 158px;
  overflow: hidden;
}

.news-list .news-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.news-list a:hover .news-pic img { transform: scale(1.07); }

.news-list .news-info {
  flex: 1;
  min-width: 0;
  padding: 20px;
}

.news-list .news-title {
  display: -webkit-box;
  height: 4.8em;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.6;
  color: #0b2f57;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  transition: color .3s ease;
}

.news-list a:hover .news-title { color: #0e86d4; }

/* 日期胶囊 */
.news-list .news-date {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #eaf4fd;
  color: #0e86d4;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.4;
}

.news-list .news-date i {
  margin-right: 6px;
  font-size: 14px;
}

/* 头条：大图 + 底部深蓝渐变压字 */
.news-list li:first-child a {
  position: relative;
  display: block;
}

.news-list li:first-child .news-pic {
  width: 100%;
  height: 250px;
}

.news-list li:first-child .news-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 52px 22px 16px;
  background: linear-gradient(180deg, rgba(8, 42, 86, 0) 0%, rgba(8, 42, 86, .85) 100%);
}

.news-list li:first-child .news-title {
  height: auto;
  max-height: 3.2em;
  font-size: 19px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
  -webkit-line-clamp: 2;
}

.news-list li:first-child a:hover .news-title { color: #fff; }

.news-list li:first-child .news-date {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

/* 通知公告列表：日期牌与标题无缝拼接为整体 */
.notice-list li + li { margin-top: 10px; }

.notice-list a {
  display: flex;
  align-items: stretch;
  border-radius: 14px;
  overflow: hidden;
  background: #f4f9ff;
  transition: transform .3s ease, box-shadow .3s ease;
}

.notice-list a:hover {
  transform: translateX(4px);
  box-shadow: 0 10px 24px rgba(12, 80, 140, .14);
}

/* 日期牌：拉满行高，与标题区拼接；年小、月日加粗 */
.notice-date {
  flex: 0 0 68px;
  width: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  background: linear-gradient(160deg, #e2f1ff 0%, #cfe7ff 100%);
  transition: background .3s ease;
}

.notice-date .year {
  display: block;
  color: #7aa6cc;
  font-size: 11px;
  letter-spacing: .06em;
  line-height: 1.2;
  transition: color .3s ease;
}

.notice-date .day {
  display: block;
  color: #0f4c93;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.4;
  transition: color .3s ease;
}

.notice-list a:hover .notice-date {
  background: linear-gradient(135deg, #24c9ef, #0e86d4);
}

.notice-list a:hover .notice-date .year,
.notice-list a:hover .notice-date .day { color: #fff; }

.notice-title {
  flex: 1;
  min-width: 0;
  align-self: center;
  padding: 10px 14px 10px 18px;
  font-size: 16px;
  color: #0b2f57;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .3s ease;
}

.notice-list a:hover .notice-title { color: #0e86d4; }

/* 右端箭头：悬停时滑入，强化单条整体感 */
.notice-list a::after {
  content: "›";
  align-self: center;
  margin-right: 14px;
  color: #0e86d4;
  font-size: 20px;
  line-height: 1;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s ease, transform .3s ease;
}

.notice-list a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* 最新一条 NEW 标记 */
.notice-list li:first-child .notice-title::before {
  content: "NEW";
  display: inline-block;
  margin-right: 8px;
  padding: 2px 7px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ff9a3d, #ff6b3d);
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: .05em;
  vertical-align: 2px;
}

@media screen and (max-width: 996px) {
  .home-columns {
    display: block;
    padding-bottom: 40px;
  }
  .home-columns > section { margin-bottom: 40px; }
}

@media screen and (max-width: 767px) {
  .news-list .news-pic {
    flex: 0 0 180px;
    width: 180px;
    height: 111px;
  }
  .news-list .news-info { padding: 14px; }
  /* 头条保持通栏大图 */
  .news-list li:first-child .news-pic {
    width: 100%;
    height: 190px;
  }
  .news-list li:first-child .news-info { padding: 40px 16px 12px; }
  .news-list li:first-child .news-title { font-size: 17px; }
  .notice-title { font-size: 15px; }
}

/* ---------- 服务指南（位于右栏·通知公告之下） ---------- */
.home-section { padding-bottom: 64px; }

/* 同一栏内第二个栏目标题与上方列表拉开距离 */
.home-columns .col-head ~ .col-head { margin-top: 46px; }

.guide-list {
  display: grid;
  grid-template-columns: 1fr;
}

.guide-list li { border-bottom: 1px dashed #e4e4e4; }

.guide-list a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 0;
}

.guide-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
}

.guide-list a:hover .guide-title { color: #0f4c93; }

.guide-date {
  flex: none;
  color: #999;
  font-size: 14px;
}

/* ---------- 国际教育（通栏 Tab） ---------- */
.intl-section {
  position: relative;
  padding: 64px 0 74px;
  background: linear-gradient(115deg, #0d3f7d 0%, #0f4c93 32%, #0e86d4 70%, #24c9ef 100%);
  overflow: hidden;
}

/* 左上青色光晕 / 右下暖橙光晕：呼应文化融合 */
.intl-section::before {
  content: "";
  position: absolute;
  top: -200px;
  left: -140px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 201, 239, .35) 0%, transparent 65%);
}

.intl-section::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -220px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 154, 61, .32) 0%, transparent 65%);
}

.intl-section .gjc-container {
  position: relative;
  z-index: 1;
}

/* 栏头白色变体 */
.intl-section .col-head { border-bottom-color: rgba(255, 255, 255, .3); }
.intl-section .col-head h2 a { color: #fff; }
.intl-section .col-head h2 a:hover { color: #ffe1c2; }
.intl-section .col-head .col-en { color: rgba(255, 255, 255, .65); }
.intl-section .col-head .more { color: rgba(255, 255, 255, .85); }
.intl-section .col-head .more:hover { color: #ff9a3d; }

/* Tab 导航：玻璃胶囊 */
.intl-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.intl-tab-nav li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(6px);
  color: #eaf6ff;
  font-size: 16px;
  cursor: pointer;
  transition: all .3s ease;
}

.intl-tab-nav li i { font-size: 18px; }

.intl-tab-nav li:hover {
  background: rgba(255, 255, 255, .22);
  transform: translateY(-2px);
}

.intl-tab-nav li.on {
  background: #fff;
  color: #0f4c93;
  font-weight: bold;
  box-shadow: 0 10px 26px rgba(4, 34, 68, .3);
}

.intl-tab-nav li.on i { color: #ff7a30; }

/* 内容面板：白色大圆角卡片 */
.intl-panels {
  min-height: 336px;
  padding: 30px 34px 24px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(4, 34, 68, .25);
}

.intl-panel { display: none; }

.intl-panel.on {
  display: block;
  animation: intlFade .45s ease;
}

@keyframes intlFade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* 面板内列表：橙色渐变圆点 + 标题 + 日期 */
.intl-list li + li { margin-top: 4px; }

.intl-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background .3s ease;
}

.intl-list a::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9a3d, #ff6b3d);
  transition: transform .3s ease;
}

.intl-list a:hover { background: #f3f9ff; }
.intl-list a:hover::before { transform: scale(1.35); }

.intl-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  color: #0b2f57;
  transition: color .3s ease;
}

.intl-list a:hover .intl-title { color: #0e86d4; }

.intl-date {
  flex: none;
  color: #9db6cc;
  font-size: 13px;
  font-family: Arial, sans-serif;
}

.intl-more {
  margin-top: 12px;
  text-align: right;
}

.intl-more a {
  font-size: 14px;
  color: #0e86d4;
}

.intl-more a:hover { color: #ff7a30; }

/* 学生风采 coverflow 3D 轮播 */
.xsfc-swiper { padding: 6px 0 40px; }

.xsfc-swiper .swiper-slide {
  width: 420px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 30px rgba(4, 34, 68, .18);
}

.xsfc-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.xsfc-swiper .swiper-slide p {
  padding: 12px 16px;
  font-size: 15px;
  color: #0b2f57;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .3s ease;
}

.xsfc-swiper .swiper-slide a:hover p { color: #0e86d4; }

.xsfc-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #c6d9ec;
  opacity: 1;
  transition: all .3s ease;
}

.xsfc-swiper .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 4px;
  background: linear-gradient(90deg, #ff9a3d, #0e86d4);
}

/* 学院简介面板：文字通栏，按钮右对齐 */
.intl-intro-panel {
  display: none;
  flex-direction: column;
}

.intl-intro-panel.on { display: flex; }

.intl-intro-text {
  font-size: 16px;
  line-height: 2;
  color: #44546a;
}

.intl-btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  margin-top: 22px;
  padding: 12px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #24c9ef, #0e86d4);
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  box-shadow: 0 10px 22px rgba(14, 134, 212, .3);
  transition: transform .3s ease, box-shadow .3s ease;
}

.intl-btn:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(14, 134, 212, .4);
}

@media screen and (max-width: 996px) {
  .intl-section { padding: 48px 0 54px; }
  .intl-panels { padding: 22px 20px 18px; min-height: 0; }
}

@media screen and (max-width: 767px) {
  .intl-tab-nav { gap: 10px; }
  .intl-tab-nav li { padding: 9px 18px; font-size: 15px; }
  .intl-list a { padding: 10px 8px; }
  .intl-title { font-size: 15px; }
  .xsfc-swiper .swiper-slide { width: 270px; }
  .xsfc-swiper .swiper-slide img { height: 170px; }
}

/* ---------- 友情链接 ---------- */
.friend-links { padding-top: 64px; }

.friend-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* 渐变描边胶囊 + 渐变小圆点，与导航/快捷入口同一组青蓝渐变，但形态不同 */
.friend-links li a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 24px;
  font-size: 15px;
  color: #0b2f57;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, #24c9ef, #0e86d4) border-box;
  box-shadow: 0 4px 12px rgba(14, 134, 212, 0.08);
  transition: transform .3s ease, box-shadow .3s ease, color .3s ease, background .3s ease;
}

.friend-links li a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9a3d, #ff6b3d);
  transition: background .3s ease;
}

.friend-links li a:hover {
  color: #fff;
  background:
    linear-gradient(135deg, #24c9ef, #0e86d4) padding-box,
    linear-gradient(135deg, #24c9ef, #0e86d4) border-box;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(14, 134, 212, 0.28);
}

.friend-links li a:hover::before {
  background: #fff;
}

@media screen and (max-width: 996px) {
  .home-section { padding-bottom: 40px; }
  .friend-links { padding-top: 40px; }
}

@media screen and (max-width: 540px) {
  .friend-links li a { padding: 9px 18px; font-size: 14px; gap: 7px; }
}
