 :root {
        --primary-blue: #0066b3;
        --dark-blue: #004a90;
        --light-gray: #f8f9fa;
      }

      body {
        font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
          margin: 0;
  overflow-x: hidden; /* 防止出现水平滚动条 */
  box-sizing: border-box;
      }

      /* 顶部横幅 - 添加PNG背景 */
      .top-banner {
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1030;
        color: white;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.7);
        background: url(../images/bg-header.png),
                  linear-gradient(135deg, #697389 0%, #4d6c8f 100%);
        background-size: cover;
        background-blend-mode: soft-light;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        min-height: 220px;
        display: flex;
        align-items: center; 
      }
      /* 桌面导航 - 添加PNG背景 */
      .desktop-nav {
        top: 180px; /* 根据顶部横幅高度调整 */
        left: 0;
        width: 100%;
        z-index: 1029;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        font-size: 14px;
        background-size: cover;
        background-blend-mode: soft-light;
         background:
          linear-gradient(135deg, #006ecd 0%, #006ecd 100%);

      }

      .school-name {
        font-weight: 600;
        font-size: 18px;
        letter-spacing: 1px;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
      }

      .english-name {
        font-size: 12px;
        opacity: 0.9;
        letter-spacing: 0.5px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
      }

      .college-name {
        font-weight: 500;
        font-size: 16px;
        text-align: center;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
      }

      .college-english {
        font-size: 12px;
        text-align: center;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
      }

      .top-banner .search-box {
        max-width: 260px;
      }

      .top-banner .form-control {
        font-size: 13px;
        height: 32px;
        background-color: rgba(255, 255, 255, 0.9);
        border: none;
      }

      .top-banner .btn {
        padding: 0 10px;
        height: 32px;
      }

      /* 电脑端导航样式 */
      .desktop-nav .nav-item {
        margin: 0 5.5px;
      }

      .desktop-nav .nav-link {
        color: #fff;
        transition: all 0.3s ease;
        font-weight: 800;
      }

      .desktop-nav .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.25);
      }

      .desktop-nav .nav-link.active {
        font-weight: 600;
        background-color: rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      }

      /* 桌面端下拉菜单样式 */
      .desktop-nav .dropdown-menu {
        background-color:#006ecd ;
        border: none;
        border-radius: 0;
        /* margin-top: 8px; */
        --bs-dropdown-min-width: 8rem;
      }

      .desktop-nav .dropdown-item {
        padding: 8px 16px;
        font-size: 18px;
        color:white;
        line-height: 30px;
        text-align: center;
      }

      .desktop-nav .dropdown-item:hover {
        background-color: #073476;
        color: white;
      }

      .nav-buttons .btn {
        font-size: 13px;
        padding: 5px 15px;
        transition: all 0.3s ease;
      }

      .nav-buttons .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      }

      /* 手机端导航样式 */
      .mobile-nav-container {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1030;
        padding: 12px 0;
        background: url("../images/bg-header.png"),
          linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
        background-size: cover;
        background-blend-mode: soft-light;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      }

      /* 移动端二级菜单样式 */
      .mobile-submenu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding-left: 20px;
      }

      .mobile-nav-item.expanded .mobile-submenu {
        max-height: 500px; /* 足够高的值以容纳所有子项 */
      }

      .mobile-subnav-link {
        display: block;
        padding: 12px 20px;
        color: #555;
        text-decoration: none;
        border-radius: 4px;
        font-size: 16px;
        transition: all 0.3s;
      }

      .mobile-subnav-link:hover {
        background-color: #f0f8ff;
        padding-left: 25px;
        color: var(--primary-blue);
      }

      .submenu-toggle {
        transition: transform 0.3s ease;
        padding: 10px;
        font-size: 14px;
        color: #666;
      }

      .mobile-nav-item.expanded .submenu-toggle {
        transform: rotate(180deg);
      }

      .hamburger-btn {
        border: none;
        background: transparent;
        padding: 5px;
        font-size: 24px;
        color: white;
        transition: all 0.3s ease;
      }

      .hamburger-btn:hover {
        transform: scale(1.1);
      }

      .mobile-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 1040;
        display: none;
        backdrop-filter: blur(5px);
      }

      /* 关键修改：手机菜单展开时为纯白背景 */
      .mobile-nav-content {
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        height: 100%;
        background: white; /* 纯白背景 */
        z-index: 1050;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
        padding: 20px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
      }

      .mobile-nav-content.active {
        transform: translateX(0);
      }

      .close-nav-btn {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 24px;
        background: none;
        border: none;
        color: #666;
        transition: transform 0.3s ease;
      }

      .close-nav-btn:hover {
        transform: rotate(90deg);
        color: #333;
      }

      .mobile-nav-item {
        padding: 15px 0;
        border-bottom: 1px solid #eee;
      }

      .mobile-nav-item:last-child {
        border-bottom: none;
      }

      .mobile-nav-link {
        font-size: 18px;
        color: #333;
        text-decoration: none;
        display: block;
        width: 100%;
        text-align: left;
        padding: 8px 12px;
        border-radius: 5px;
        transition: all 0.3s ease;
      }

      .mobile-nav-link:hover,
      .mobile-nav-link:focus {
        background-color: #f0f8ff;
        padding-left: 20px;
        color: var(--primary-blue);
      }

      .mobile-nav-link.active {
        background-color: #e1f0ff;
        color: var(--dark-blue);
        font-weight: 600;
      }

      /* 响应式调整 */
      @media (max-width: 991.98px) {
        .desktop-nav,
        .top-banner {
          display: none;
        }

        .mobile-nav-container {
          display: block;
        }

        .college-name-container {
          padding-left: 40px;
        }

        body {
          padding-top: 60px; /* 为移动导航栏留出空间 */
        }
      }

      @media (min-width: 992px) {
        .mobile-nav-container {
          display: none !important;
        }
      }

      .align-items-center{
        padding-left: 9%;
        padding-right: 9%;
      }

      /* 页面内容占位 */
      .content-placeholder {
        min-height: 2000px; /* 确保有足够的内容测试滚动 */
        background: linear-gradient(180deg, #f8f9fa, #e9ecef);
        padding: 30px;
        text-align: center;
        color: #555;
      }

      a{
        text-decoration: none;
        color: inherit; 
      }
      .banner-carousel {
        overflow: hidden;
        position: relative; /* 添加相对定位 */
      }

      .news-carousel {
  position: relative;
}

.more-link{
  margin-left: 53%;
}

.more-link a {
  text-decoration: none;
  transition: color 0.3s;
}

.carousel-indicators.custom-indicators {
  position: absolute;
  bottom: 50px; /* 距离底部 10px */
  left: 90%;
  transform: translateX(-50%);
  margin: 0;
}

.carousel-indicators.custom-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  border: none;
  margin: 0 4px;
}

.carousel-indicators.custom-indicators button.active {
  background-color: rgba(255, 255, 255, 1);
}

      .banner-item {
        height: 460px; /* 调整为更合理的高度 */
        background-size: cover;
        background-position: center;
        position: relative;
      }

      .banner-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(193, 0, 0, 0.8);
        color: white;
        padding: 15px 20px;
        text-align: center;
      }

      .banner-overlay h2 {
        font-size: 28px; /* 调整为更合理的字号 */
        font-weight: bold;
        margin-bottom: 5px;
        line-height: 1.2;
      }

      .banner-overlay p {
        font-size: 18px;
        margin: 0;
        font-weight: 500;
      }
      /* 自定义指示器 */
      .custom-indicators {
        position: absolute;
        bottom: 10px;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        z-index: 10;
        padding: 0;
        margin: 0;
      }

      .custom-indicator {
        width: 40px;
        height: 6px;
        background-color: rgba(255, 255, 255, 0.5);
        border: none;
        border-radius: 2px;
        margin: 0 5px;
        cursor: pointer;
        transition: all 0.3s ease;
      }

      .custom-indicator.active {
        background-color: white;
        width: 50px;
      }

      /* 学院动态区 */

      .section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 18px;
        padding-right: 25px;
        padding-left: 25px;
        margin-bottom: 30px;
        position: relative;
        overflow: hidden;
      }
      /* 标题左侧内容 */
      .title-left {
        display: flex;
        align-items: center;
        position: relative;
        z-index: 2;
      }
      /* logo样式 */
      .title-logo {
        width: 72px;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .title-logo img {
        width: 100%;
        height: auto;
        filter: drop-shadow(0 2px 4px rgba(0, 72, 144, 0.2));
      }
      .section-title {
        font-size: 24px;
        font-weight: 700;
        color: #333;
        margin: 0;
        position: relative;
        display: flex;
        align-items: center;
      }

      /* "News"样式 */
      .news-tag {
        font-size: 17px;
        color: #939393;
        font-weight: 500;
        margin-left: 0px;
        position: relative;
        opacity: 0.7;
      }
      /* "更多"链接样式 */
      .view-more {
        position: relative;
        z-index: 2;
        font-size: 16px;
        color: #666;
        text-decoration: none;
        display: flex;
        align-items: center;
        padding: 5px 10px;
        border-radius: 4px;
        transition: all 0.3s;
      }

      .view-more:hover {
        color: var(--dark-blue);
        background: rgba(255, 255, 255, 0.5);
      }

      .view-more i {
        margin-left: 5px;
        transition: transform 0.3s;
      }

      .view-more:hover i {
        transform: translateX(3px);
      }

      .section-title {
        position: relative;
        font-size: 22px;
        font-weight: 600;
        color: var(--dark-blue);
        margin-left: -10px;
      }

      .dynamic-section {
        position: relative;
        overflow: hidden;
        /* 添加背景图片 */
        background-image: url("../images/bg-1.png");
        background-size: cover;
        background-position: center;
        padding-left: 9%;
         padding-right: 9%;
       padding-top: 1%;
      }

      .dynamic-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        position: relative; /* 确保内容在覆盖层上方 */
        z-index: 2;
      }

      /* 图片新闻幻灯 */
      .news-carousel {
        border-radius: 8px;
        overflow: hidden;
      }

     .news-item {
        height: 500px;
        background-size: cover;
        background-position: center;
        position: relative;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
      }

      .news-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--primary-blue);
        color: white;
        padding: 5px;
      }

      .news-overlay h3 {
        font-size: 20px;
        margin-bottom: 5px;
        text-align: center;
      }

      .news-overlay .date {
        font-size: 14px;
        color: #ccc;
      }

      /* 通知公告栏 */
      .announcement-box {
        border-radius: 8px;
        position: relative;
        overflow: hidden;
        padding-bottom: 2rem;
      }

      /* 标题区域 */
      .announcement-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 25px;
        position: relative;
        z-index: 2;
      }

      .announcement-title {
        font-size: 24px;
        font-weight: 700;
        color: #333;
        margin: 0;
        position: relative;
        padding-left: 40px;
      }

      .announcement-title::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 4px;
        background: var(--primary-blue);
        border-radius: 2px;
      }

      .announcement-list {
        list-style: none;
        padding: 0;
        margin: 0;
        position: relative;
        z-index: 2;
      }

      .announcement-item {
        position: relative;
        padding: 11px 15px 12px 40px;
        transition: background-color 0.3s;
        background-color: #fff;
      }

      .announcement-item::before {
        content: "●";
        position: absolute;
        left: 20px;
        top: 9px;
        color: var(--primary-blue);
        font-size: 16px;
      }

      .announcement-item2 {
        position: relative;
        padding: 10px 15px 4px 40px;
        transition: background-color 0.3s;
        background-color: #fff;
      }

      .announcement-item2::before {
        content: "●";
        position: absolute;
        left: 20px;
        top: 9px;
        color: var(--primary-blue);
        font-size: 16px;
      }


      .announcement-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
      }

      .announcement-text {
        flex: 1;
        color: #333;
        line-height: 1.5;
        font-size: 16px;
      }

      .announcement-item:hover {
  background-color: #294997;
}

.announcement-item:hover .announcement-text,
.announcement-item:hover .announcement-date {
  color: #fff  !important;
}

.announcement-item2:hover {
  background-color: #294997;
}

.announcement-item2:hover .announcement-text,
.announcement-item2:hover .announcement-date {
  color: #fff  !important;
}


      .announcement-date {
        font-size: 14px;
        color: #666;
        background: rgba(255, 255, 255, 0.3);
        padding: 3px 10px;
        border-radius: 15px;
        white-space: nowrap;
      }

      .announcement-divider {
        height: 14px;
      }

      /* 信息板块 */

      .dynamic-section2 {
        position: relative;
        overflow: hidden;
        /* 添加背景图片 */
        background-image: url("../images/bg-2.png");
        background-size: cover;
        background-position: center;
        padding-left: 9%;
    padding-right: 9%;
    padding-top: 2%;
      }

      .academic-section {
        width: 100%;
        margin: 0 auto;
      }

      /* 学术活动卡片 */
      .academic-card {
        display: flex;
        margin-bottom: 15px;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 15px
      }

      /* 时间卡片 */
      .date-card {
        width: 70px;
        background: white;
        color: #333;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-right: 2px;
        margin-left: 2px;
            flex-shrink: 0;
      }
.academic-card {
  transition: background-color 0.3s ease;
}

.academic-card:hover {
  background-color: #ffffff; /* 鼠标放上去时背景变成纯白 */
}
.notice-card {
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 默认轻微阴影 */
}

.notice-card:hover {
  background-color: #f0f0f0; /* 鼠标放上去背景轻微变化 */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* 加深阴影，立体感更强 */
}

.notice-card .academic-content1 {
  font-size: 1em; /* 固定文字大小 */
  line-height: 1.4; /* 保证多行文字的可读性 */
  color: #333; /* 文字颜色 */
  transition: color 0.3s ease;
}

.notice-card:hover .academic-content1 {
  color: #007bff; /* 鼠标放上去，文字颜色变蓝（示例） */
}




      .date-year-month {
        background: #006ecd;
        color: white;
        text-align: center;
        padding: 5px 0;
        font-size: 14px;
      }

      .date-day {
        text-align: center;
        font-size: 16px;
        color: #333;
        border: 1px solid;
      }

      /* 活动内容 */
      .academic-content {
        flex: 1;
        padding-left: 20px;
      }

.notice-card .academic-content{
        line-height: 19px;
      }

      .academic-content2 {
        flex: 1;
        padding-left: 30px;
      }

      .academic-content1 {
        flex: 1;
        padding-left: 20px;
        display: flex;
        align-items: center;
      }

      .event-title {
        font-size: 16px;
        font-weight: 700;
        color: #222;
        padding-bottom: 5px;
        text-indent: 7px;
      }
      .event-title2 {
        font-size: 16px;
        font-weight: 700;
        color: #222;
        padding-bottom: 5px;
      }


      .event-title3 {
        font-size: 14px;
        color: #222;
        padding-bottom: 5px;
      }

      .academic-details {
        display: grid;
        grid-template-columns: 1fr 1fr;
      }

      .academic-field {
        display: flex;
        align-items: center;
        padding-left: 8px;
      }

      .field-label {
        font-weight: 600;
        color: #555;
        margin-right: 8px;
        font-size: 12px;
      }

      .field-value {
        font-weight: 500;
        color: #333;
        font-size: 14px;
      }

      .location-field {
        grid-column: span 2;
        padding-top: 0px;
        border-top: 1px dashed #eee;
      }

      /* 标题区域 */
      .academic-header {
        display: flex;
        align-items: center;
        padding-bottom: 15px;
      }

      .academic-logo {
        width: 40px;
        height: 40px;
        margin-right: 15px;
      }

      .academic-logo img {
        width: 100%;
        height: auto;
      }

      .academic-title {
        font-size: 20px;
        font-weight: 700;
        color: #333;
        margin: 0;
      }

      .academic-subtitle {
        font-size: 16px;
        font-weight: 500;
        color: #777;
        margin-top: 5px;
      }

      /* 学生工作 */

      .dynamic-section3 {
        position: relative;
        overflow: hidden;
        /* 添加背景图片 */
        background-image: url("../images/bg-3.png");
        background-size: cover;
        background-position: center;
        padding-left: 9%;
    padding-right: 9%;
    padding-top: 2%;
      }

      .dynamic-section4 {
        position: relative;
        overflow: hidden;
        /* 添加背景图片 */
        background-image: url("../images/bg-4.png");
        background-size: cover;
        background-position: center;
        padding-left: 9%;
    padding-right: 9%;
    padding-top: 2%;
    padding-bottom: 2%;
      }

      /* 功能网格容器 */
      .features-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        grid-auto-rows: minmax(180px, auto);
      }

      /* 功能卡片 */
      .feature-card {
        background: #006ecd;
        border-radius: 12px;
        padding: 25px;
        text-align: center;
        color: white;
        transition: all 0.3s;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
      }

      .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
        background: #0260b1;
      }

      .feature-icon {
        margin-bottom: 20px;
        width: 70px;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
      }

      .feature-icon img {
        width: 40px;
        height: 40px;
      }

      .feature-name {
        font-size: 22px;
        font-weight: 600;
        line-height: 1.4;
      }

      /* 会议室预约模块 - 占两列 */
      .double-column-feature {
        grid-column: span 2; /* 占两列宽度 */
        background: var(--primary-blue);
        border-radius: 12px;
        padding: 38px;
        color: white;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        transition: all 0.3s;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
      }

      .double-column-feature:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
        background: #1f4e75;
      }

      /* 风采展示区 */
      .left-header {
        display: flex;
        align-items: center;
      }

      .section-logo {
        width: 45px;
        height: 45px;
        margin-right: 15px;
      }

      .section-logo img {
        width: 100%;
        height: auto;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
      }

      .section-title-group {
        display: flex;
        flex-direction: column;
      }

      .section-title {
        font-size: 32px;
        font-weight: 700;
        margin: 0;
        line-height: 1.2;
      }

      .section-subtitle {
        font-size: 18px;
        font-weight: 600;
        color: var(--text-gray);
        margin-top: 5px;
      }

      /* 标签页导航 */
      .nav-tabs {
        border: none;
        margin-bottom: 20px;
      }

      .nav-link {
        font-size: 20px;
        color: var(--primary-blue);
        padding: 10px 25px;
        border: none;
        border-radius: 8px 8px 0 0;
        transition: all 0.3s;
        position: relative;
        font-weight: 600;
      }

      .nav-link:not(.active):hover {
        color: white;
        background-color: rgba(20, 78, 129, 0.1);
      }
 .nav-link:not(.active){
              opacity: 1;

 }


    .nav-link2 {
        font-size: 20px;
        color: var(--primary-blue);
        padding: 10px 25px;
        border: none;
        border-radius: 8px 8px 0 0;
        transition: all 0.3s;
        position: relative;
        font-weight: 600;
      }

      .nav-link2:not(.active):hover {
        color: white;
        background-color: rgba(20, 78, 129, 0.1);
      }
 .nav-link2:not(.active){
              opacity: 0.6;

 }



      .container{
        max-width: 100%;
        padding:0;
      }


    .nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  font-weight: bold; /* 只加粗文字 */
  color: var(--primary-blue) !important; /* 让字体颜色跟未选中时一致 */
  background-color: transparent !important; /* 不要背景色变化 */
  border-color: transparent !important; /* 不要边框变化 */
}


      .nav-link.active::after {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        font-weight: 600;
      }



 .nav-tabs .nav-item.show .nav-link2,
.nav-tabs .nav-link.active {
  font-weight: bold; /* 只加粗文字 */
  color: var(--primary-blue) !important; /* 让字体颜色跟未选中时一致 */
  background-color: transparent !important; /* 不要背景色变化 */
  border-color: transparent !important; /* 不要边框变化 */
}


      .nav-link2.active::after {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        font-weight: 600;
      }

      
      /* 图片轮播容器 */
      .gallery-slider {
        position: relative;
        padding: 0 30px;
        margin: 25px -40px 0px 2px;
      }

      .slider-container {
        overflow: hidden;
        position: relative;
        border-radius: 10px;
      }

      .slider-track {
        display: flex;
        transition: transform 0.5s ease;
      }

      .slide-item {
        flex: 0 0 25%;
        padding: 10px;
        box-sizing: border-box;
      }

 .image-title-below {
  position: relative;
  background-color: var(--primary-blue); /* 变量色 */
  color: #fff;
  font-size: 16px;
  padding: 8px 12px;  /* 修正了这里 */
  width:50%;
  margin-left: 25%;
  display: inline-block; /* 内容宽度，像标签 */
  margin-top: -6px; /* 向上覆盖图片6px */
  border-radius: 0 0 6px 6px;
  box-sizing: border-box;
  text-align: center;
  font-weight: 600;
  user-select: none;
  
  /* 给左右居中加点额外处理：父容器必须 text-align: center */
}


      .slide-card {
        background: white;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition: all 0.3s;
      }

      .slide-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
      }

      .image-container {
        height: 250px;
        position: relative;
        overflow: hidden;
      }

      .slide-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
      }

      .slide-card:hover .slide-image {
        transform: scale(1.05);
      }

      .image-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
        color: white;
        padding: 10px;
      }

      .image-title {
        font-size: 16px;
        font-weight: 600;
        margin: 5px 0;
        text-align: center;
      }

      .info-container {
        padding: 10px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background: white;
      }

      /* 导航按钮 */
      .slider-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: white;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
        cursor: pointer;
        transition: all 0.3s;
        z-index: 10;
        border: 1px solid #f0f0f0;
      }

      .slider-nav:hover {
        background: var(--primary-blue);
        color: white;
        transform: translateY(-50%) scale(1.1);
      }

      .slider-nav.prev {
        left: -20px;
      }

      .slider-nav.next {
        right: -20px;
      }

      /* 响应式设计 */
      @media (max-width: 1200px) {
        .slide-item {
          flex: 0 0 33.33%;
        }
      }

      /* 响应式设计 */
      @media (max-width: 992px) {
        .dynamic-grid {
          grid-template-columns: 1fr;
        }

        .banner-item {
          height: 200px;
        }
        .banner-overlay h2 {
          font-size: 20px;
        }

        .banner-overlay p {
          font-size: 16px;
        }
        .dynamic-grid {
          grid-template-columns: 1fr;
        }
        .features-grid {
          grid-template-columns: repeat(2, 1fr);
        }

        .double-column-feature {
          grid-column: auto;
        }
        .slide-item {
          flex: 0 0 50%;
        }

        .section-title {
          font-size: 28px;
        }

        .section-subtitle {
          font-size: 16px;
        }
      }

      @media (max-width: 768px) {
        .dynamic-grid {
          grid-template-columns: 1fr;
        }
        .banner-item {
          height: 180px;
        }

        .banner-overlay h2 {
          font-size: 20px;
        }

        .features-grid {
          grid-template-columns: repeat(2, 1fr);
          grid-auto-rows:auto;
        }

        .feature-name{
          font-size: 20px;
        }

        .feature-card,
        .double-column-feature {
          height: auto;
          padding:10px;
        }
        .feature-icon{
          margin-bottom: 0px;
        }

        .banner-overlay p {
          font-size: 16px;
        }

        .info-grid {
          grid-template-columns: 1fr;
        }

        .gallery-item {
          flex-direction: column;
          height: auto;
        }

        .gallery-img {
          width: 100%;
          height: 200px;
          margin-right: 0;
          margin-bottom: 15px;
        }
        .announcement-item {
          padding: 8px 15px 8px 40px;
        }

        .announcement-item::before {
          left: 15px;
        }

        .announcement-content {
          flex-direction: column;
          align-items: flex-start;
        }

        .announcement-date {
          margin-top: 8px;
        }

      .academic-card {
    display: flex;
    flex-direction: row; /* 上下排版 */
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  }

  .date-card {
       display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.9em;
    /* min-width: 10rem; */
  }

  .academic-details{
    display: grid;
    grid-template-columns: auto;
  }

  .academic-content {
    flex: 1;
    width: 100%;
  }

  .event-title {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 6px;
  }

  .

  .academic-details {
    font-size: 0.85em;
  }

  .academic-field {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 4px;
  }

  .field-label {
    font-weight: 600;
    margin-right: 4px;
  }

  .field-value {
    flex: 1;
  }


        .location-field {
          grid-column: span 1;
        }
        .academic-header {
          flex-wrap: wrap;
        }

        .double-column-feature {
          flex-direction: column;
          text-align: center;
        }
        .slide-item {
          flex: 0 0 100%;
        }

        .section-header {
          align-items: flex-start;
          padding-right: 0;
          padding-left: 0;
        }

        .view-more {
    position: relative;
    z-index: 2;
    font-size: 16px;
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 11px 10px;
    border-radius: 4px;
    transition: all 0.3s;
        }

        .nav-item {
          margin-bottom: 5px;
        }

        .section-title {
          font-size: 24px;
        }

        .gallery-slider {
          padding: 0 20px;
        }

        .slider-nav {
          width: 40px;
          height: 40px;
        }

        .more-link{
          margin-left: 2%;
        }

      }

      /* footer */
       .dynamic-footer {
        position: relative;
        padding: 30px 9% 0px;
        overflow: hidden;
        color: #fff;
      }

      /* 背景图片层 */
      .footer-bg-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("../images/bg-5.png");
        background-size: cover;
        background-position: center;
        z-index: -2; /* 放在所有内容下面 */
      }

      /* 蓝色遮罩层 */
      .footer-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
          145deg,
          rgba(62, 91, 161, 0.85),
          rgba(62, 91, 161, 0.95)
        );
        z-index: -1; /* 在背景图上方，内容下方 */
      }

      .footer-content {
        position: relative;
        z-index: 2;
      }

      .footer-title {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 20px;
        padding-bottom: 8px;
        border-bottom: 2px solid rgba(255, 255, 255, 0.3);
        display: inline-block;
      }

      .contact-info {
        margin-bottom: 8px;
        line-height: 1.6;
      }

      .links-container {
        display: flex;
        flex-direction: column;
        gap: 15px;
      }

      .links-section h5 {
        font-size: 16px;
        font-weight: 500;
        margin-bottom: 10px;
      }

      .links-list {
        list-style: none;
        padding: 0;
        margin: 0;
      }

      .links-list li {
        margin-bottom: 8px;
      }

      .links-list a {
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        transition: all 0.3s;
        position: relative;
        padding-left: 18px;
        display: block;
      }

      .links-list a:hover {
        color: #fff;
        text-decoration: underline;
      }

      .links-list a::before {
        content: "•";
        position: absolute;
        left: 0;
        top: 0;
      }

      .qrcode-container {
        display: flex;
        flex-direction: column;
        align-items: start;
      }

      .qrcode-img {
        width: 120px;
        height: 120px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        margin-bottom: 15px;
        background-color: rgba(255, 255, 255, 0.1);
      }

      .copyright {
        text-align: center;
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        font-size: 14px;
        color: rgba(255, 255, 255, 0.8);
      }

      @media (max-width: 768px) {
        .footer-content > .row > div {
          margin-bottom: 30px;
          padding-left: 0px !important;
        }

        .qrcode-container {
          align-items: flex-start;
        }
      }

      /* list */

/* 头部图片 */
.header-image {
  background: url("../images/lmbanner.jpg")
    no-repeat center center;
  background-size: cover;
  height: 300px;
  position: relative;
  overflow: hidden; /* 避免背景图引起溢出 */
}

/* 菜单容器 */
.menu-container {
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

/* 菜单标题 */
.menu-title {
  width: 230px;
  background-color: #006ecd;
  color: #fff;
  padding: 20px 0;
  font-weight: bold;
  font-size: 22px;
  text-align: center;
  margin-left: 9%;
}

/* 内容区域 */
.content-wrapper {
  display: flex;
  gap: 20px;
  margin-left: 9%;
  margin-right: 9%;
  overflow: hidden; /* 修正横向溢出 */
  box-sizing: border-box;
}

/* 左侧菜单 */
.full-menu {
  width: 230px;
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #e9ecef;
}

.full-menu li {
  text-align: center;
  position: relative;
  padding: 15px 15px 15px 10px;
  border-bottom: 1px solid #dee2e6;
}

.full-menu li a{
 font-size: 18px;
}


.full-menu li:hover {
  background-color: #006ecd;
  color: #fff;
}

.full-menu li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 2px solid #dee2e6;
  border-radius: 50%;
  background-color: transparent;
  box-sizing: border-box;
}

.full-menu li::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background-color: #dee2e6;
  border-radius: 50%;
}

/* 右侧内容 */
.main-container {
  flex-grow: 1;
  min-width: 0; /* 避免flex内容撑开引起溢出 */
}

.breadcrumb-container {
  background-color: #f8f9fa;
  padding: 10px;
  font-size: 14px;
}

.section-title {
  color: #294997;
  font-weight: bold;
  margin: 20px 0;
  text-align: center;
}

.news-list li {
  line-height: 50px;
  list-style: none;
  padding: 5px 0;
  border-bottom: 1px solid #e9ecef;
}

.news-list li:hover {
  background-color: #294997;
  color: #fff;
}

.news-list li:hover span {
  color: #fff;
}

.news-list li span {
  float: right;
  color: #888;
  font-size: 12px;
}

.left-column {
  margin-top: -5px;
}

/* 手机端自适应 */
@media (max-width: 768px) {
  .header-image {
    height: 250px;
  }
  .menu-container {
    justify-content: center;
  }
  .menu-title {
    width: auto;
    padding: 8px 20px;
    font-size: 16px;
  }
  .content-wrapper {
    flex-direction: column;
    gap: 10px;
    margin: 10px;
  }
  .left-column {
    margin-top: 0;
    width: 100%;
  }
  .full-menu {
    width: 100%;
  }
  .main-container {
    width: 100%;
  }
}
