* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;}

html {
  overflow-x: hidden;}

body {
  font-family: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC',
      sans-serif;
  background: #f5f5f5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;}

/* ========== 滚动出场动画 ========== */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);}

.scroll-animate-delay-1 {
  transition-delay: 0.1s;}
.scroll-animate-delay-2 {
  transition-delay: 0.2s;}
.scroll-animate-delay-3 {
  transition-delay: 0.3s;}
.scroll-animate-delay-4 {
  transition-delay: 0.4s;}
.scroll-animate-delay-5 {
  transition-delay: 0.5s;}

/* 左侧滑入 */
.scroll-slide-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;}

.scroll-slide-left.visible {
  opacity: 1;
  transform: translateX(0);}

/* 右侧滑入 */
.scroll-slide-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;}

.scroll-slide-right.visible {
  opacity: 1;
  transform: translateX(0);}

/* 缩放效果 */
.scroll-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;}

.scroll-scale.visible {
  opacity: 1;
  transform: scale(1);}

/* ========== 顶部快捷栏 ========== */
.top-bar {
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0)
  );
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 60px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  transition: all 0.4s ease;}

.top-bar a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  margin-right: 15px;
  gap: 4px;}

.top-bar a::before {
  content: '';
  width: 3px;
  height: 14px;
  background: #fff;
  opacity: 0.6;
  margin-right: 15px;}

.top-bar.scrolled a::before {
  background: #000000;}

.top-bar a:last-of-type {
  border-right: none;}

.top-bar a:hover {
  color: #fff;}

.top-bar .search-icon {
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin-left: 10px;
  color: #fff;}

.top-bar.scrolled {
  background: #fff;
  position: fixed;
  top: 0;}

.top-bar.scrolled a {
  color: #666;
  border-right-color: #ddd;}

.top-bar.scrolled a:hover {
  color: #1a5f9e;}

.top-bar.scrolled .search-icon {
  color: #666;}

/* ========== 主导航 ========== */
.main-header {
  position: absolute;
  /* top: 38px; */
  left: 0;
  right: 0;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  z-index: 1001;
  background: transparent;
  transition: all 0.4s ease;}

.main-header.scrolled {
  position: fixed;
  /* top: 58px; */
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);}



.logo-white,
.logo-black {
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 100%;
height: auto;
max-height: 58px;
object-fit: contain;
object-position: left center;
transition: opacity 0.4s ease;}

.logo-black {
  opacity: 0;}

.main-header.scrolled .logo-white {
  opacity: 0;}

.main-header.scrolled .logo-black {
  opacity: 1;}

.main-header.scrolled .logo-white,
.main-header.scrolled .logo-black {
  height: 73px;}

.logo-icon {
  width: 55px;
  height: 55px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s ease;}

.main-header.scrolled .logo-icon {
  width: 45px;
  height: 45px;}

.logo-icon svg {
  width: 48px;
  height: 48px;}

.logo-text {
  color: #fff;
  transition: all 0.4s ease;}

.main-header.scrolled .logo-text {
  color: #333;}

.logo-text .cn-name {
  font-family: 'Noto Serif SC', serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1.2;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;}

.main-header.scrolled .logo-text .cn-name {
  text-shadow: none;
  font-size: 22px;}

.logo-text .en-name {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1px;
  opacity: 0.95;
  margin-top: 1px;
  transition: all 0.4s ease;}

.main-header.scrolled .logo-text .en-name {
  opacity: 0.7;}

.logo-text .sub-title {
  font-size: 10px;
  opacity: 0.85;
  margin-top: 2px;
  letter-spacing: 0.5px;
  transition: all 0.4s ease;}

.main-header.scrolled .logo-text .sub-title {
  opacity: 0.6;}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;}

.nav-box{
  display: flex;
  align-items: center;
  gap: 0;}

.nav-item {
  position: relative;}

.nav-item > a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 30px 20px;
  display: block;
  transition: all 0.3s;
  position: relative;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);}

.main-header.scrolled .nav-item > a {
  color: #333;
  text-shadow: none;
  padding: 25px 20px;}

.nav-item > a::after {
  content: '';
  position: absolute;
  bottom: 18px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transition: transform 0.3s;}

.main-header.scrolled .nav-item > a::after {
  background: #1a5f9e;
  bottom: 15px;}

.nav-item:hover > a::after {
  transform: scaleX(1);}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #fff;
  min-width: 160px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-radius: 0 0 4px 4px;}

.dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #056aee;}



.dropdown a:hover {
  color: #056aee;}

/* ========== 导航搜索框 ========== */
.nav-search-wrapper {
  display: flex;
  align-items: center;
  margin-left: 10px;}

.nav-search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 22px;
  padding: 0 6px 0 14px;
  overflow: hidden;
  transition: all 0.35s ease;
  color: #f0f0f0;
  width: 42px;
  height: 38px;}

.main-header.scrolled .nav-search-box {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.12);}

.nav-search-box:focus-within,
.nav-search-box.active {
  width: 210px;
  background: rgba(255, 255, 255, 0.5);}
/* 输入框文字（输入后的文字） */
.nav-search-box input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: #fff;
  width: 100%;
  padding: 0;
  opacity: 0;
  transition: opacity 0.3s;}

/* ========== 占位符placeholder颜色控制 ========== */
/* Chrome、Edge、Safari */
.nav-search-box input::placeholder {
  color: #ffffff; /* 未滚动时白色 */
  opacity: 0.8;}
/* Firefox */
.nav-search-box input::-moz-placeholder {
  color: #ffffff;
  opacity: 0.8;}
/* IE */
.nav-search-box input:-ms-input-placeholder {
  color: #ffffff;}

.nav-search-box input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: #fff;
  width: 100%;
  padding: 0;
  opacity: 0;
  transition: opacity 0.3s;}

.main-header.scrolled .nav-search-box input {
  color: #333;}
/* 滚动后白底导航，占位符改为深灰色 */
.main-header.scrolled .nav-search-box input::placeholder {
  color: #666;
  opacity: 0.75;}
.main-header.scrolled .nav-search-box input::-moz-placeholder {
  color: #666;
  opacity: 0.75;}
.main-header.scrolled .nav-search-box input:-ms-input-placeholder {
  color: #666;}

.nav-search-box:focus-within input,
.nav-search-box.active input {
  opacity: 1;
  padding-right: 8px;}

.nav-search-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  transition: color 0.3s, transform 0.3s;}

.main-header.scrolled .nav-search-btn {
  color: #666;}

.nav-search-box:focus-within .nav-search-btn,
.nav-search-box.active .nav-search-btn {
  color: #1a5f9e;}

.nav-search-btn:hover {
  transform: scale(1.1);}

/* ========== Banner轮播 ========== */
.banner-section {
  position: relative;
  width: 100%;
  height: 920px;
  overflow: hidden;
  padding-top: 118px;}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;}

.banner-slide.active {
  opacity: 1;}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;}

.banner-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
  align-items: center;}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;}

.dot.active {
  background: #fff;
  border-color: #fff;}

.dot-horse {
  width: 30px;
  height: 30px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;}

.dot-horse svg {
  width: 24px;
  height: 24px;
  fill: rgba(255, 255, 255, 0.7);
  transition: fill 0.3s;}

.dot-horse:hover svg,
.dot-horse.active svg {
  fill: #fff;}

/* ========== 内容区域 ========== */
.content-wrapper {
  max-width: 1500px;
  margin: 0 auto;
  padding: 40px 20px;}

/* ========== 商院要闻 + 通知公告 ========== */
.news-announcement-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  margin-bottom: 40px;}

.news-section .section-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;}

.news-section .section-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #333;}

.news-section .section-header .en {
  font-size: 12px;
  color: #552f75;
  font-weight: 400;}

.news-section .section-header .more {
  margin-left: auto;
  font-size: 13px;
  color: #552f75;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;}

.news-section .section-header .more:hover {
  color: #1a5f9e;}

.news-bottom-row {
  display: flex;
  flex-direction: column;
  gap: 0;}

.news-date-list .date-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr;}

.news-date-list .date-track .date-item {
  min-width: 0;
  box-sizing: border-box;}

.news-date-list {
  overflow: hidden;
  position: relative;
  height: 120px;}

.date-item {
  padding: 16px 20px;
  background: #c49b47;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;}
.date-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;}

.date-item:hover {
  background: #1a3290;}

.date-item.active {
  background: #1a3290;}

.date-text {
  font-size: 16px;
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  opacity: 0.95;}

.date-title {
  font-size: 17px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;}

.news-date-list .date-list-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;}

.news-date-list .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;}

.news-date-list .dot.active {
  background: #fff;
  transform: scale(1.2);}

.sub-news-list {
  display: none;}

.featured-news {
  position: relative;
  height: 380px;
  overflow: hidden;
  cursor: pointer;}

.featured-news img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;}

.featured-news .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));}

.featured-news .overlay h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;}

.announcement-section .section-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;}

.announcement-section .section-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #333;}

.announcement-section .section-header .en {
  font-size: 12px;
  color: #552f75;
  font-weight: 400;}

.announcement-section .section-header .more {
  margin-left: auto;
  font-size: 13px;
  color: #552f75;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;}

.announcement-section .section-header .more:hover {
  color: #1a5f9e;}

.announcement-list {
  background: #fff;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);}

.announcement-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background 0.2s;}

.announcement-item:last-child {
  border-bottom: none;}

.announcement-item:hover {
      background: #1a3290;
      color: #fff;}
.announcement-item:hover a,
.announcement-item:hover .day,
.announcement-item:hover .month-year {
  color: #fff !important;}



.announcement-item .date-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 45px;}

.announcement-item .date-box .day {
  font-size: 26px;
  font-weight: 700;
  color: #1a5f9e;
  line-height: 1;}



.announcement-item .date-box .month-year {
  font-size: 11px;
  color: #096ae9;
  margin-top: 2px;                
  font-weight: 700;}
.month-year:hover {
color:#fff
;}
.announcement-item .content {
  flex: 1;}

.announcement-item .content .title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;}

/* ========== 媒体商学院 + 产教融合 ========== */
.media-industry-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  margin-bottom: 40px;}

.media-section .section-header,
.industry-section .section-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  align-item: center;
  margin-bottom: 20px;}

.media-section .section-header h2,
.industry-section .section-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #333;}

.media-section .section-header .en,
.industry-section .section-header .en {
  font-size: 12px;
  color: #552f75;
  font-weight: 400;}

.media-section .section-header .more,
.industry-section .section-header .more {
  margin-left: auto;
  font-size: 13px;
  color: #552f75;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;}

.media-section .more:hover,
.section-header .more:hover {
  color: #1a5f9e;}

.media-section .section-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;}

.media-section .section-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #333;}

.media-carousel {
  position: relative;
  background: #ffffff;
  padding: 20px 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  /* 关键：确保宽度始终和父容器一致 */
  width: 100%;
  box-sizing: border-box;}

.media-carousel .carousel-wrapper {
  display: flex;
  gap: 11px;
  width: 100%;}

.media-card {
  flex: 0 0 calc(50%); /* 2条并排，减去gap的一半 */
  flex-shrink: 0;
  min-width: 0; /* 关键：覆盖 flex 子元素默认 min-width:auto，防止被图片撑大 */
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;}

.media-card:hover {
  transform: translateY(-3px);}

.media-card img {
  width: 100%;
  max-width: 100%;
  height: 188px;
  object-fit: cover;
  display: block;}

.media-card .info {
  padding: 12px;}

.media-card .title {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 最多显示2行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis; /* 超出显示省略号 */
  max-height: 42px;}

.media-card .meta {
  font-size: 12px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 8px;}

.media-card .meta .tag {
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;}

.meta-time span {
  color: rgb(197, 91, 4);}

.meta-location {
  color: rgb(197, 90, 2);}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(243, 195, 62, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 5;
  transition: all 0.3s;}

.carousel-arrow:hover {
  background: #1a5f9e;
  color: #fff;}

.carousel-arrow.prev {
  left: 5px;}

.carousel-arrow.next {
  right: 5px;}

.carousel-arrow svg {
  width: 18px;
  height: 18px;
  color: #fff;}

.industry-section .section-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;}

.industry-section .section-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #333;}

.industry-card {
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s;}

.industry-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);}

.industry-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;}

.industry-card .info {
  padding: 15px;}

.industry-card .title {
  font-size: 15px;
  color: #333;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 8px;}

.industry-card .desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;}

/* ========== 产教融合列表 ========== */
.industry-news-list {
  display: flex;
  flex-direction: column;
  gap: 10px;}

.industry-news-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 12px;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);}

.industry-news-item.active {
  background: #f0f7ff;
  box-shadow: 0 2px 8px rgba(26, 50, 144, 0.15);}

.industry-news-item.active .news-meta {
  color: #1a3290;}

.industry-news-item .news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  order: 0;}
.industry-news-item .news-content .news-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 25px;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 最多显示2行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;}

.industry-news-item .news-content .from-time {
  margin-left: 10px;}

.industry-news-item .news-content .from-news {
  color: gray;}

.industry-news-item:hover {
  background: #1a3290;
  color: #fff;
  .from-news {
      color: #fff;}
}

.industry-news-item .news-img {
  flex: 0 0 200px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  order: 1;}

/* ========== 合作单位 ========== */
.partners-section {
  margin-bottom: 40px;}

.partners-section .section-header {
  text-align: center;
  margin-bottom: 30px;
  border-top: 2px solid rgba(163, 162, 162, 0.5);
  padding-top: 20px;}

.partners-section .section-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #333;}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;}

.partner-item {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;}

.partner-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);}

.partner-item img {
  max-width: 100%;
  object-fit: contain;}

.partner-item .placeholder {
  font-size: 14px;
  color: #999;
  font-weight: 500;}

/* ========== 底部 ========== */
.footer {
  background: #0f2b5b;
  color: #fff;
  padding: 50px 60px 20px;}

.footer-content {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr ;
  gap: 40px;
  margin-bottom: 30px;}

.footer-section h4 {
  font-size: 16px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 2;
  text-decoration: none;
  display: block;
  transition: color 0.3s;}

.footer-section a:hover {
  color: #fff;}

.contact-section p {
  line-height: 1.8;
  margin-bottom: 8px;}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;}
.mobile-menu-btn,
.mobile-nav-panel,
.mobile-nav-overlay {
  display: none;}

/* ============================================================
===================== 手机端适配 ============================
============================================================ */
@media screen and (max-width: 768px) {
  /* 顶部快捷栏 */
  .top-bar {
      padding: 0 15px;
      height: 44px;
      justify-content: space-between;}
  .date-item img {
      width: 60px;
      height: 45px;}

  .top-bar a {
      font-size: 11px;
      margin-right: 5px;}

  .top-bar a::before {
      width: 1px;
      height: 10px;
      margin-right: 8px;}

  .top-bar a:nth-child(n + 5) {
      display: none;}

  .top-bar .search-icon {
      width: 18px;
      height: 18px;}

  /* 主导航 */
  .main-header {
      padding: 0 15px;
      height: 60px;
      top: 0px;}

  .main-header.scrolled {
      top: 0;
      height: 60px;}


  .main-nav {
      display: none;}

  /* 汉堡菜单按钮 */
  .mobile-menu-btn {
      display: flex;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 10px;
      z-index: 1003;}

  .mobile-menu-btn span {
      width: 24px;
      height: 2px;
      background: #fff;
      transition: all 0.3s;}
  .mobile-nav-panel.active {
      right: 0;
      display: block;}
  .mobile-nav-overlay.active {
      opacity: 1;
      visibility: visible;
      display: block;}

  .main-header.scrolled .mobile-menu-btn span {
      background: #333;}

  /* 移动端菜单搜索 */
  .mobile-nav-search {
      display: flex;
      align-items: center;
      background: #f5f5f5;
      border-radius: 22px;
      padding: 0 6px 0 16px;
      margin-bottom: 16px;
      border: 1px solid #e0e0e0;}

  .mobile-nav-search input {
      flex: 1;
      border: none;
      outline: none;
      background: transparent;
      font-size: 14px;
      color: #333;
      padding: 10px 0;}

  .mobile-nav-search input::placeholder {
      color: #999;}

  .mobile-nav-search button {
      border: none;
      background: transparent;
      cursor: pointer;
      padding: 8px;
      color: #666;
      display: flex;
      align-items: center;}

  .mobile-nav-search button:hover {
      color: #1a5f9e;}

  /* 移动端菜单面板 */
  .mobile-nav-panel {
      position: fixed;
      top: 0;
      right: -100%;
      width: 80%;
      max-width: 320px;
      height: 100vh;
      background: #fff;
      z-index: 2000;
      transition: right 0.4s ease;
      overflow-y: auto;
      padding: 60px 20px 20px;
      box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);}

  .mobile-nav-panel.active {
      right: 0;}

  .mobile-nav-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      z-index: 1999;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s;}

  .mobile-nav-overlay.active {
      opacity: 1;
      visibility: visible;}

  .mobile-nav-item {
      border-bottom: 1px solid #eee;}

  .mobile-nav-item > a,
  .mobile-nav-row > .mobile-nav-link {
      flex: 1 1 auto;
      display: block;
      padding: 15px 0;
      color: #000000;
      text-decoration: none;
      font-size: 16px;
      font-weight: 500;}

  /* ===== 一级标题与展开箭头分开：点标题跳转，点箭头才展开子菜单 ===== */
  .mobile-nav-row {
      display: flex;
      align-items: center;}

  .mobile-nav-toggle {
      flex: 0 0 auto;
      width: 44px;              /* 手指点得中的热区 */
      height: 44px;
      margin-right: -12px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: none;
      background: transparent;
      color: #999;
      font-size: 12px;
      line-height: 1;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
      transition: transform 0.3s ease, color 0.3s ease;}

  .mobile-nav-toggle.active {
      transform: rotate(180deg);
      color: #1a5f9e;}

  .mobile-dropdown {
      padding-left: 15px;
      padding-bottom: 10px;
      display: none;}

  .mobile-dropdown.active {
      display: block;}

  .mobile-dropdown a {
      display: block;
      padding: 10px 0;
      color: #666;
      text-decoration: none;
      font-size: 14px;}

  /* Banner */
  .banner-section {
      height: 20vh;
      min-height: 200px;}

  .banner-dots {
      gap: 10px;
      bottom: 15px;}

  .dot {
      width: 10px;
      height: 10px;}

  .dot-horse {
      width: 24px;
      height: 24px;}

  .dot-horse svg {
      width: 18px;
      height: 18px;}

  /* 内容区域 */
  .content-wrapper {
      padding: 20px 5px;}

  /* 手机端减小动画偏移，避免右侧溢出空白 */
  .scroll-slide-left {
      transform: translateX(-30px);}
  .scroll-slide-right {
      transform: translateX(30px);}
  .scroll-animate {
      transform: translateY(25px);}

  /* 商院要闻 + 通知公告 */
  .news-announcement-row {
      grid-template-columns: 1fr;
      gap: 20px;}

  .featured-news {
      height: 220px;}

  .featured-news .overlay h3 {
      font-size: 15px;}

  .news-date-list {
      flex-direction: column;}

  .date-item {
      padding: 12px 15px;}

  .date-text {
      font-size: 14px;
      margin-bottom: 4px;}

  .date-title {
      font-size: 14px;}

  .announcement-item {
      padding: 12px 0;}

  .announcement-item .date-box .day {
      font-size: 20px;}

  .announcement-item .content .title {
      display: -webkit-box;
      -webkit-line-clamp: 2; /* 最多显示2行 */
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis; /* 超出显示省略号 */
      font-size: 14px;}

  /* 媒体商学院 + 产教融合 */
  .media-industry-row {
      grid-template-columns: 1fr;
      gap: 20px;}


  /* ===== 媒体商学院移动端：参考 banner-slide，opacity 堆叠切换 ===== */
  .media-carousel {
      padding: 15px;
      position: relative;
      overflow: hidden;}

  /* 移动端取消 flex 横排与位移逻辑，改为绝对定位堆叠 */
  .media-carousel .carousel-wrapper {
      position: relative;
      display: block; /* 取消 flex，彻底避免宽度溢出 */
      width: 100%;
      gap: 0;
      /* 关键：覆盖 js 在 pc 端可能设置的 transform/transition */
      transform: none !important;
      transition: none !important;}

  /* 所有卡片绝对堆叠，默认不可见（同 banner-slide） */
  .media-carousel .media-card {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      min-width: 0;
      flex: none;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.5s ease;
      pointer-events: none;}

  /* 卡片固定高度，不让图片/标题行数影响父级 media-section 高度 */
  .media-carousel .media-card {
      height: 290px;}

  /* 当前可见卡片：用 relative 撑开容器高度 */
  .media-carousel .media-card.active {
      position: relative;
      opacity: 1;
      visibility: visible;
      pointer-events: auto;}

  .media-card img {
      height: 180px;}

  /* 手机端左右切换箭头（与 PC 端一致，缩小尺寸适配） */
  .carousel-arrow {
      width: 32px;
      height: 32px;
      z-index: 10;}

  .carousel-arrow svg {
      width: 16px;
      height: 16px;}

  .industry-card img {
      height: 180px;}

  /* 合作单位 */
  .partners-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;}

  .partner-item {
      height: 60px;
      padding: 10px;}

  .partner-item .placeholder {
      font-size: 11px;}

  /* 底部 */
  .footer {
      padding: 30px 20px 15px;}

  .footer-content {
      grid-template-columns: 1fr;
      gap: 25px;}

  .footer-section h4 {
      font-size: 15px;
      margin-bottom: 12px;}

  .footer-section p,
  .footer-section a {
      font-size: 13px;
      line-height: 1.8;}

  .footer-bottom {
      font-size: 11px;
      padding-top: 15px;}
}

/* 平板端适配 */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .top-bar {
      padding: 0 30px;}

  .main-header {
      padding: 0 30px;}

  .nav-item > a {
      padding: 30px 12px;
      font-size: 14px;}

  .news-announcement-row {
      grid-template-columns: 1fr;}

  .media-industry-row {
      grid-template-columns: 1fr;}

  .partners-grid {
      grid-template-columns: repeat(4, 1fr);}

  .footer-content {
      grid-template-columns: 1fr 1fr;}
}


/* 专业介绍卡片样式 */
.major-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;}
@media (max-width:768px){
      .major-list {
          display: grid;
          grid-template-columns: repeat(2, 1fr);
          gap: 22px;}
  }

.major-item {
  position: relative;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #eef1f6;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1f3a5f;
  letter-spacing: 1px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(26, 58, 110, 0.04);}

.major-item::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background: #c8161d;
  border-radius: 2px;
  transition: all 0.3s ease;}

.major-item:hover {
  background: #1a4b8c;
  color: #fff;
  border-color: #1a4b8c;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(26, 75, 140, 0.18);}

.major-item:hover::before {
  background: #ffd24d;}
@media (max-width:768px){
.major-item{
padding:16px;
font-size:1.2rem;}
}

/* 专业介绍卡片样式 */
.major-list {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 44px;
align-items: stretch;}
.major-item {
display: flex;
align-items: center; /* 文字垂直居中 */
padding:  29px 16px;}
@media (max-width:768px){
.major-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  align-items: stretch;}
.major-item {
  display: flex;
  align-items: center;}
}

  
/* 专业介绍卡片内标题 */
.profession-text {
  margin-left:20px;}
@media (min-width:1000px) and (max-width:1330px) {
.profession-text {
  font-size: 0.8rem !important;}
}


.major-item::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background: #c8161d;
  border-radius: 2px;
  transition: all 0.3s ease;}

.major-item:hover {
  background: #1a3290;
  color: #fff;
  border-color: #1a3290;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(26, 75, 140, 0.18);}

.major-item:hover::before {
  background: #ffd24d;}
@media (max-width: 768px) {
  .profession-text {
  margin-left:0px;}

.industry-section .section-header h2 {
  width:100px;
  font-size: 22px;
  font-weight: 700;
  color: #333;}

}
.announcement-list {
  background: #fff;
  padding: 20px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);}
.dropdown a {
display: block;
color: black;
text-decoration: none;
padding: 10px 24px;
font-size: 1.2rem;
transition: all 0.2s;
white-space: nowrap;
text-align: center;}
.main-header {
width: 100%;}
.header-inner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
width: 100%;
box-sizing: border-box;}

/* Logo容器：重点，设置max-width，允许缩小 */
.logo-section {
position: relative;
flex: 0 1 160px; 
/* flex: 0 1 基准宽度，不主动放大，但空间不够会缩小！ */
max-width: 30vw;
min-width: 20vw; /* logo最小不能小于100px，防止缩没了 */

display: flex;
align-items: center;}

.logo-black {
opacity: 0;}
.main-header.scrolled .logo-white {
opacity: 0;}
.main-header.scrolled .logo-black {
opacity: 1;}

/* 导航菜单：占剩下全部空间，空间不足自动收缩 */
.main-nav {
flex: 1 1 auto;
justify-content: right;}
.main-nav ul {
display: flex;
flex-wrap: nowrap;
gap: 4px;
list-style: none;
margin:0;
padding:0;
white-space: nowrap;}
.main-nav li a {
font-size: 1rem;
padding: 6px 8px;}

/* 窗口变窄：缩小文字，防止挤压 */
@media screen and (max-width:1200px) {
.logo-section {

max-width:50vw;
min-width:20vw;}
.main-nav li a {
font-size: 0.9rem;
padding:4px 6px;}
}
@media screen and (max-width:992px) {
.logo-section {

max-width:50vw;
min-width:30vw;}
.main-nav li a {
font-size:0.82rem;
padding:3px 5px;}
}
/* 移动端断点：直接隐藏横向菜单，换成汉堡按钮 */
@media screen and (max-width:768px) {
.main-nav ul {
display:none;}
/* 这里你需要加汉堡菜单按钮 */
}

/* ========== 移动端面板内的搜索框 ========== */
.mobile-nav-panel .nav-search-box {
width: 100% !important;          /* 占满面板宽度，不再折叠 */
height: 42px;
background: #f5f5f5;             /* 浅灰底，白面板上可见 */
border: 1px solid #e0e0e0;
border-radius: 22px;
padding: 0 6px 0 16px;
margin-bottom: 16px;
opacity: 1;}

/* 展开/聚焦状态也要覆盖，防止被 PC 端 .active 样式顶回去 */
.mobile-nav-panel .nav-search-box.active,
.mobile-nav-panel .nav-search-box:focus-within {
width: 100% !important;
background: #f5f5f5;
border-color: #1a5f9e;
box-shadow: none;}

/* 输入的文字颜色：白色 → 深蓝 */
.mobile-nav-panel .nav-search-box input {
color: #1a5f9e;                  /* 想换别的色改这里，如 #333 */
opacity: 1;}

/* 占位符颜色 */
.mobile-nav-panel .nav-search-box input::placeholder { color: #999; opacity: 1;}
.mobile-nav-panel .nav-search-box input::-moz-placeholder { color: #999; opacity: 1;}
.mobile-nav-panel .nav-search-box input:-ms-input-placeholder { color: #999;}

/* 搜索图标按钮颜色 */
.mobile-nav-panel .nav-search-box .nav-search-btn { color: #666;}
.mobile-nav-panel .nav-search-box.active .nav-search-btn,
.mobile-nav-panel .nav-search-box:focus-within .nav-search-btn { color: #1a5f9e;}


.mobile-nav-item > a,
.mobile-nav-row > .mobile-nav-link {   /* 新增第二个选择器 */
    flex: 1 1 auto;
    display: block;
    padding: 15px 0;
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}
/* ===== 一级标题与展开箭头分开：点标题跳转，点箭头才展开子菜单 ===== */
.mobile-nav-row { display: flex; align-items: center; }
.mobile-nav-toggle {            /* 44×44 手指热区、无边框透明按钮 */
    flex: 0 0 auto; width: 44px; height: 44px; margin-right: -12px;
    display: flex; align-items: center; justify-content: center;
    border: none; background: transparent; color: #999;
    font-size: 12px; line-height: 1;
    cursor: pointer; -webkit-tap-highlight-color: transparent;
    transition: transform .3s ease, color .3s ease;
}