﻿/* 首页样式 - 湖大经贸学院红色主题 */

/* 基础：长滚动页面需要 body 随内容自然撑高 */
html,
body {
    height: auto;
    min-height: 100%;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    color: #333;
    background: #fff;
}

.home-page .container {
    max-width: 1587px;
}

/* ========== Banner 区域 ========== */
.banner-section {
    position: relative;
    width: 100%;
    max-width: 1587px;
    height: 675px;
    margin: 0 auto;
    overflow: hidden;
    background: #f5f5f5;
}

.banner-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.banner-slide {
    position: relative;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #CDCDCD;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dots .dot.active {
    background: #fcff83;
}

.banner-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 55px;
    z-index: 10;
    pointer-events: none;
}

.banner-arrow {
    width: 50px;
    height: 50px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: opacity 0.3s ease;
    padding: 0;
}

.banner-arrow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.banner-arrow:hover {
    opacity: 0.8;
}

/* ========== 区块标题（设计稿为箭头背景 + 文字） ========== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
}

.section-header h2,
.section-title {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding-left: 0;
    font-size: 0;
    left: -40px;
}

.section-header h2::before,
.section-title::before {
    display: none;
}

.section-title img {
    width: 202px;
    height: 54px;
    display: block;
}

.section-title span {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #FFFFFF;
    white-space: nowrap;
}

.more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: #999999;
    text-decoration: none;
    transition: color 0.3s;
}

.more-link img {
    width: 7px;
    height: 13px;
    object-fit: contain;
}

.more-link:hover {
    color: #C41E24;
}

/* 白色版本的更多链接（用于人才培养区块） */
.more-link-white {
    color: #FFFFFF;
}

.more-link-white:hover {
    color: #fcff83;
}

/* ========== 新闻动态 + 通知公告 ========== */
.section-news-notice {
    padding: 50px 0;
    background: #fff;
}

.news-notice-layout {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.news-column {
    width: 778px;
    height: 595px;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #DDA9AA;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.news-list {
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

.notice-column {
    width: 778px;
    height: 595px;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #DDA9AA;
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.news-column .news-list{
    position: relative;
}
/* 新闻图片轮播 */
.news-slider {
    position: relative;
    width: 100%;
    height: 396px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.news-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.news-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.news-slide.active {
    opacity: 1;
    visibility: visible;
}

.news-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-slide-title-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
}

.news-slide-title-bar {
    width: 3px;
    height: 16px;
    background: #C13432;
    margin-right: 12px;
    flex-shrink: 0;
}

.news-slide-title {
    font-size: 18px;
    color: #FFFFFF;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 新闻轮播dots - 在标题右边 */
.news-slider-dots {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 15px;
}

.news-slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #CDCDCD;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-slider-dots .dot.active {
    background: #fcff83;
}

/* 兼容旧样式 */
.featured-news {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    margin-bottom: 15px;
}

.featured-news img {
    width: 100%;
    height: 396px;
    object-fit: cover;
    display: block;
}

.featured-news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    color: #fff;
}

.featured-news-title {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list,
.notice-list {
    display: flex;
    flex-direction: column;
}

.notice-list {
    border-top: 1px solid #FFECEC;
    margin-top: auto;
    padding-top: 10px;
}

.news-list-item,
.notice-list-item,
.education-list-item {
    display: flex;
    align-items: center;
    padding: 9px 0;
    /* border-bottom: 1px dashed #eee; */
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.news-list-item:last-child,
.notice-list-item:last-child,
.education-list-item:last-child {
    border-bottom: none;
}

.news-list-item:hover .title,
.notice-list-item:hover .title {
    color: #C13432;
}

.education-list-item:hover .title {
    color: #fcff83;
}

.dot-icon {
    width: 15px;
    height: 15px;
    margin-right: 10px;
    flex-shrink: 0;
}

.news-list-item .title,
.notice-list-item .title {
    flex: 1;
    font-size: 18px;
    color: #1A1A1A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.education-list-item .title {
    flex: 1;
    font-size: 18px;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-list-item .date,
.notice-list-item .date {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 400;
    font-size: 18px;
    color: #CF955E;
    margin-left: 10px;
    flex-shrink: 0;
}

.education-list-item .date {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 400;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 10px;
    flex-shrink: 0;
}

/* ========== 人才培养 ========== */
.section-education {
    min-height: 606px;
    height: auto;
    background: url('../hnu-images/home/bg-building-red.png') center center no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
}



.section-education .container {
    position: relative;
    z-index: 2;
    background: rgba(255, 133, 133, 0.02);
    border-radius: 12px;
    border: 1px solid #FBE8E9;
    padding: 20px 30px;
}

.section-education .more-link {
    color: rgba(255, 255, 255, 0.8);
}

.section-education .more-link:hover {
    color: #fff;
}

.education-layout {
    display: flex;
    justify-content: center;
    gap: 45px;
    margin-top: 15px;
}

.education-card {
    flex: 1 1 0;
    /* max-width: 718px; */
    min-width: 0;
    display: flex;
    flex-direction: column;
    /* background: rgba(255, 255, 255, 0.12); */
    /* border: 1px solid rgba(255, 255, 255, 0.25); */
    border-radius: 4px;
    overflow: hidden;

}

.education-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 88px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    gap: 10px;
}

.education-card-header-left {
    background-image: url('../hnu-images/lanhu/education-card-header-left@2x.png');
}

.education-card-header-right {
    background-image: url('../hnu-images/lanhu/education-card-header-right@2x.png');
}

/* 本科生教育图标 */
.education-card-header-left .education-icon {
    width: 31px;
    height: 28px;
    object-fit: contain;
}

/* 研究生教育图标 */
.education-card-header-right .education-icon {
    width: 36px;
    height: 28px;
    object-fit: contain;
}

.education-divider {
    width: 1px;
    background: #EFDCDD;
    align-self: stretch;
    flex-shrink: 0;
}

.education-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 12px 0;
}

.education-list-item {
    flex: 1;
    display: flex;
    align-items: center;
    color: #fff;
    /* border-bottom: 1px dashed rgba(255, 255, 255, 0.2); */
    font-size: 14px;
    transition: opacity 0.3s;
}

.education-list-item:hover {
    opacity: 0.85;
    color: #fff;
}

.education-list-item .date {
    color: rgba(255, 255, 255, 1);
}

/* ========== 科研智库 / 岳麓经济学论坛 ========== */
.section-research {
    padding: 50px 0;
    background: #fff;
}

.research-layout {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.research-column,
.research-column-forum {
    width: 778px;
    min-height: 500px;
    height: auto;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #DDA9AA;
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* 科研智库区域顶部分隔线 */
.research-column .news-list {
    border-top: 1px solid #FFECEC;
    padding-top: 10px;
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

.research-column .section-header {
    margin-bottom: 10px;
}

.forum-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    background: url('../hnu-images/lanhu/xueShuBg.png') center center no-repeat;
    background-size: cover;
    border-radius: 8px;
    overflow: hidden;
    box-sizing: border-box;
    padding: 53px 32px;
}

.forum-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 45px;
}

.forum-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 213px;
    height: 44px;
    border: 1px solid #CF955E;
    border-radius: 4px;
    font-weight: bold;
    font-size: 20px;
    color: #CF955E;
}

.forum-issue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 114px;
    height: 44px;
    background: url('../hnu-images/home/bg-cream-card.png');
    background-size: 100% 100%;
    border-radius: 4px;
    font-weight: bold;
    font-size: 17px;
    color: #C33D3C;
}

.forum-title {
    font-weight: bold;
    font-size: 22px;
    color: #C33D3C;
    line-height: 1.6;
    margin-bottom: 25px;
}



.forum-info {
    font-size: 20px;
    color: #333333;
    line-height: 2.2;
    margin-bottom: 15px;
}

.forum-info p {
    margin: 0;
    font-size: 20px;
    color: #333333;
}

.forum-info strong,
.forum-location strong {
    font-size: 20px;
    color: #C13432;
    margin-right: 8px;
    font-weight: 400;
    line-height: 2.8;
}

.forum-location {
    margin-top: auto;
    padding: 20px;
    border: 1px dashed #DDA9AA;
    border-radius: 4px;
    background: url('../hnu-images/lanhu/forum-card-campus-lineart@2x.png') right bottom no-repeat;
    background-size: contain;
    position: relative;
}

.forum-location p {
    margin: 0;
    font-size: 20px;
    color: #333333;
    position: relative;
    z-index: 1;
}

/* ========== 友情链接 ========== */
.section-links {
    padding: 50px 0;
    background: #fff;
    padding-top: 0;
}

.section-links .container {
    max-width: 1587px;
    min-height: 212px;
    background: linear-gradient(0deg, #FFF7F5 0%, #FFF7F5 15%, #FFF7F5 41%, #FFFFFF 100%);
    border-radius: 12px;
    border: 1px solid #DDA9AA;
    padding: 24px 30px;
}

.links-card {
    height: 100%;
}

.links-row-first {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.link-item {

    min-width: 0;
    display: flex;
    align-items: center;
    background: #fff;
    text-decoration: none;
    color: rgb(26, 26, 26);
    font-size: 16px;
    line-height: 24px;
    transition: color 0.3s, box-shadow 0.3s;
    width: 205px;
    height: 88px;
    background: #FFFFFF;
    border-radius: 8px;
    gap: 16px;
    padding-left: 20px;
    padding-right: 17px;
}

.link-item:hover {
    color: #C41E24;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.link-icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.link-item:hover .link-icon-img {
    transform: translateY(-3px);
}

.link-item.has-dropdown {
    cursor: pointer;
}

.link-item.has-dropdown .dropdown-arrow {
    width: 13px;
    height: 12px;
    margin-left: 4px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.link-item.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* PC端显示PC图标，隐藏移动端图标 */
.link-item.has-dropdown .link-icon-mobile {
    display: none;
}

.external-links-row {
    display: none;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    padding-top: 0;
    border-top: none;
}

.external-link-item {
    flex: 0 0 233px;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    height: 88px;
    padding-left: 20px;
    padding-right: 17px;
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
    color: rgb(26, 26, 26);
    font-size: 16px;
    font-family: "MicrosoftYaHei", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    line-height: 24px;
    transition: color 0.3s, box-shadow 0.3s;
}

.external-link-item:hover {
    color: #C41E24;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.external-link-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ========== 滚动入场动画 ========== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-from-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-from-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-from-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-from-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-scale-in.is-visible {
    opacity: 1;
    transform: scale(1);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

.delay-6 {
    transition-delay: 0.6s;
}

/* ========== 响应式适配增强（以 1920px 为基准） ========== */

/* >1920px：内容居中，保持比例 */
@media (min-width: 1921px) {
    .home-page .container,
    .banner-section,
    .section-links .container {
        margin-left: auto;
        margin-right: auto;
    }
}

/* 1200px–1920px：等比例缩放 */
@media (min-width: 1201px) and (max-width: 1920px) {
    .home-page .container {
      
    }

    .banner-section {
        height: clamp(420px, 35.16vw, 675px);
    }

    .banner-arrows {
        padding: 0 clamp(25px, 2.86vw, 55px);
    }

    .banner-arrow {
        width: clamp(36px, 2.6vw, 50px);
        height: clamp(36px, 2.6vw, 50px);
    }

    .section-news-notice,
    .section-education,
    .section-research,
    .section-links {
    }

 

    .section-header h2,
    .section-title {
        /* left: calc(-1 * clamp(20px, 1.56vw, 30px)); */
    }

    .section-title img {
        width: clamp(140px, 10.52vw, 202px);
        height: auto;
    }

    .section-title span {
        font-size: clamp(17px, 1.25vw, 24px);
    }

    .more-link {
        font-size: clamp(13px, 0.83vw, 16px);
    }

    .more-link img {
        width: clamp(6px, 0.36vw, 7px);
        height: clamp(11px, 0.68vw, 13px);
    }

    .news-notice-layout,
    .research-layout {
        gap: clamp(16px, 1.56vw, 30px);
    }

    .news-column {
        flex: 0 1 calc(50% - clamp(8px, 0.78vw, 15px));
        min-width: 0;
        width: auto;
        height: auto;
        min-height: clamp(455px, 30.99vw, 595px);
        padding: clamp(20px, 1.56vw, 30px);
    }

    .notice-column {
        flex: 0 1 calc(50% - clamp(8px, 0.78vw, 15px));
        min-width: 0;
        width: auto;
        height: auto;
        min-height: clamp(455px, 30.99vw, 595px);
        padding: clamp(20px, 1.56vw, 30px);
    }

    .news-slider {
        height: clamp(260px, 20.63vw, 396px);
        margin-bottom: clamp(10px, 0.78vw, 15px);
    }

    .news-slide-overlay {
        padding: clamp(12px, 0.78vw, 15px) clamp(15px, 1.04vw, 20px);
    }

    .news-slide-title {
        font-size: clamp(14px, 0.94vw, 18px);
    }

    .news-slider-dots {
        margin-left: clamp(10px, 0.78vw, 15px);
        gap: clamp(6px, 0.42vw, 8px);
    }

    .news-slider-dots .dot {
        width: clamp(6px, 0.42vw, 8px);
        height: clamp(6px, 0.42vw, 8px);
    }

    .news-list-item,
    .notice-list-item {
        padding: clamp(8px, 0.63vw, 12px) 0;
    }

    .news-list-item .title,
    .notice-list-item .title {
        font-size: clamp(14px, 0.94vw, 18px);
    }

    .news-list-item .date,
    .notice-list-item .date {
        font-size: clamp(14px, 0.94vw, 18px);
    }

    .dot-icon {
        width: clamp(12px, 0.78vw, 15px);
        height: clamp(12px, 0.78vw, 15px);
        margin-right: clamp(6px, 0.52vw, 10px);
    }

    .section-education {
        min-height: clamp(420px, 31.56vw, 606px);
        height: auto;
    }

    .section-education .container {
        /* padding: clamp(15px, 1.04vw, 20px); */
    }

    .education-layout {
        /* gap: clamp(30px, 4.74vw, 45px); */
    }

    .education-card {
        /* max-width: clamp(520px, 37.4vw, 718px); */
    }

    .education-card-header {
        width: 100%;
        height: clamp(60px, 4.58vw, 88px);
        font-size: clamp(16px, 1.15vw, 22px);
    }

    .education-card-header-left .education-icon {
        width: clamp(24px, 1.61vw, 31px);
        height: clamp(22px, 1.46vw, 28px);
    }

    .education-card-header-right .education-icon {
        width: clamp(28px, 1.88vw, 36px);
        height: clamp(22px, 1.46vw, 28px);
    }

    .education-list {
        /* padding: clamp(10px, 0.63vw, 12px) clamp(12px, 1.04vw, 20px); */
    }

    .education-list-item .title {
        font-size: clamp(14px, 0.94vw, 18px);
    }

    .education-list-item .date {
        font-size: clamp(14px, 0.94vw, 18px);
    }

    .research-column,
    .research-column-forum {
        width: calc(50% - clamp(8px, 0.78vw, 15px));
        min-height: clamp(380px, 26.04vw, 500px);
        height: auto;
        padding: clamp(20px, 1.56vw, 30px);
    }

    .research-column .section-header {
        margin-bottom: clamp(12px, 0.78vw, 10px);
    }

    .forum-card {
        padding: clamp(30px, 2.76vw, 53px) clamp(20px, 1.67vw, 32px);
    }

    .forum-card-header {
        margin-bottom: clamp(20px, 2.34vw, 45px);
    }

    .forum-tag {
        width: clamp(140px, 11.09vw, 213px);
        height: clamp(32px, 2.29vw, 44px);
        font-size: clamp(14px, 1.04vw, 20px);
    }

    .forum-issue {
        width: clamp(80px, 5.94vw, 114px);
        height: clamp(32px, 2.29vw, 44px);
        font-size: clamp(13px, 0.89vw, 17px);
    }

    .forum-title {
        font-size: clamp(16px, 1.15vw, 22px);
        margin-bottom: clamp(15px, 1.3vw, 25px);
    }

    .forum-info,
    .forum-info p,
    .forum-location p {
        font-size: clamp(14px, 1.04vw, 20px);
        line-height: clamp(1.8, 0.16vw + 1.5, 2.2);
    }

    .forum-info strong,
    .forum-location strong {
        font-size: clamp(14px, 1.04vw, 20px);
    }

    .forum-location {
        padding: clamp(12px, 1.04vw, 20px);
    }

    .section-links .container {
        min-height: auto;
        padding: clamp(16px, 1.25vw, 24px) clamp(20px, 1.56vw, 30px);
    }

    .external-links-row {
        gap: clamp(10px, 1.3vw, 15px);
        margin-top: clamp(16px, 1.93vw, 15px);
    }

    .link-item {
        width: clamp(120px, 10.68vw, 205px);
        height: clamp(60px, 4.58vw, 88px);
        gap: clamp(8px, 0.83vw, 16px);
        padding-left: clamp(10px, 1.04vw, 20px);
        padding-right: clamp(8px, 0.89vw, 17px);
        font-size: clamp(12px, 0.83vw, 16px);
        line-height: clamp(16px, 1.25vw, 24px);
    }

    .link-icon-img {
        width: clamp(36px, 3.125vw, 60px);
        height: clamp(36px, 3.125vw, 60px);
    }

    .external-link-item {
        flex: 0 0 clamp(150px, 12.14vw, 233px);
        height: clamp(60px, 4.58vw, 88px);
        gap: clamp(8px, 0.83vw, 16px);
        padding-left: clamp(10px, 1.04vw, 20px);
        padding-right: clamp(8px, 0.89vw, 17px);
        font-size: clamp(12px, 0.83vw, 16px);
        line-height: clamp(16px, 1.25vw, 24px);
    }

    .external-link-item img {
        width: clamp(36px, 3.125vw, 60px);
        height: clamp(36px, 3.125vw, 60px);
    }
}

/* ≤1200px：紧凑桌面/平板布局 */
@media (max-width: 1200px) {
    .home-page .container {
        /* width: 100%;
        padding-left: 15px;
        padding-right: 15px; */
    }

    .home-page .main-nav .nav-container {
        justify-content: flex-end;
    }

    .banner-section {
        height: 420px;
        max-width: none;
    }

    .banner-arrows {
        padding: 0 25px;
    }

    .section-news-notice,
    .section-education,
    .section-research,
    .section-links {
        padding: 40px 0;
        
    }

    .section-title img {
        width: 160px;
        height: auto;
    }

    .section-title span {
        font-size: 19px;
    }

    .news-notice-layout,
    .education-layout,
    .research-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .news-column,
    .notice-column,
    .research-column,
    .research-column-forum {
        width: 100%;
        height: auto;
        min-height: auto;
        max-width: none;
    }

    .news-slider {
        height: 320px;
    }

    .section-education {
        height: auto;
        min-height: auto;
    }

    .education-card {
        max-width: none;
        flex: 1 1 auto;
    }

    .education-card-header {
        width: 100%;
        max-width: none;
        height: clamp(60px, 5.83vw, 88px);
        font-size: clamp(18px, 1.83vw, 22px);
    }

    .education-list {
        padding: clamp(10px, 1.04vw, 12px) clamp(12px, 1.67vw, 20px);
    }

    .education-list-item .title,
    .education-list-item .date {
        font-size: clamp(15px, 1.5vw, 18px);
    }

    .forum-card {
        padding: clamp(20px, 4.42vw, 53px) clamp(15px, 2.67vw, 32px);
    }

    .forum-card-header {
        margin-bottom: clamp(20px, 3.75vw, 45px);
    }

    .forum-tag {
        width: auto;
        height: clamp(32px, 3.67vw, 44px);
        padding: 0 clamp(10px, 1vw, 12px);
        font-size: clamp(14px, 1.67vw, 20px);
    }

    .forum-issue {
        width: auto;
        height: clamp(32px, 3.67vw, 44px);
        padding: 0 clamp(10px, 1vw, 12px);
        font-size: clamp(13px, 1.42vw, 17px);
    }

    .forum-title {
        font-size: clamp(17px, 1.83vw, 22px);
        margin-bottom: clamp(15px, 1.3vw, 25px);
    }

    .forum-info,
    .forum-info p,
    .forum-location p {
        font-size: clamp(15px, 1.67vw, 20px);
        line-height: clamp(1.8, 0.16vw + 1.5, 2.2);
    }

    .forum-info strong,
    .forum-location strong {
        font-size: clamp(15px, 1.67vw, 20px);
    }

    .section-links .container {
        min-height: auto;
    }

    .links-row-first,
    .external-links-row {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: flex-start;
    }

    .external-links-row {
        display: flex;
        margin-top: 16px;
    }

    .link-item {
        flex: 1 1 calc(14.28% - 12px);
        min-width: 140px;
        width: auto;
        height: auto;
        min-height: 70px;
    }

    .external-link-item {
        flex: 1 1 calc(16.66% - 12px);
        min-width: 150px;
        width: auto;
        height: auto;
        min-height: 70px;
    }
}

/* ≤992px：平板布局 */
@media (max-width: 992px) {
    .banner-section {
        height: 320px;
    }

    .banner-arrows {
        padding: 0 20px;
    }

    .banner-arrow {
        width: 40px;
        height: 40px;
    }

    .section-news-notice,
    .section-education,
    .section-research,
    .section-links {
        padding: 35px 0;
    }

    .section-title img {
        width: 150px;
    }

    .section-title span {
        font-size: 18px;
    }

    .news-slider {
        height: 260px;
    }

    .news-list-item .title,
    .notice-list-item .title,
    .education-list-item .title {
        font-size: 15px;
    }

    .news-list-item .date,
    .notice-list-item .date,
    .education-list-item .date {
        font-size: 14px;
    }

    .education-card-header {
        height: 60px;
        font-size: 18px;
    }

    .education-list {
        padding: 10px 15px;
    }

    .research-column,
    .research-column-forum {
        padding: 15px;
    }

    .forum-card {
        padding: 20px;
    }

    .forum-title {
        font-size: 17px;
    }

    .forum-info,
    .forum-info p,
    .forum-location p {
        font-size: 15px;
        line-height: 2;
    }

    .forum-info strong,
    .forum-location strong {
        font-size: 15px;
    }

    .link-item {
        flex: 1 1 calc(33.333% - 12px);
        min-width: 120px;
    }

    .external-link-item {
        flex: 1 1 calc(33.333% - 12px);
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .banner-section {
        height: 220px;
    }

    .banner-arrows {
        padding: 0 15px;
    }

    .banner-arrow {
        width: 36px;
        height: 36px;
    }

    .section-news-notice,
    .section-education,
    .section-research,
    .section-links {
        padding: 30px 0;
    }

    .section-title img {
        width: 140px;
    }

    .section-title span {
        font-size: 17px;
    }

    .featured-news img {
        height: 180px;
    }

    .featured-news-overlay {
        padding: 12px;
    }

    .featured-news-title {
        font-size: 14px;
    }

    .news-slider {
        height: 220px;
    }

    .news-list-item,
    .notice-list-item,
    .education-list-item {
        padding: 10px 0;
    }

    .news-list-item .title,
    .notice-list-item .title,
    .education-list-item .title {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .news-list-item .date,
    .notice-list-item .date,
    .education-list-item .date {
        font-size: 12px;
    }

    .education-card-header {
        height: 52px;
        font-size: 16px;
        padding: 0 15px;
    }

    .education-list {
        padding: 10px 15px;
    }

    .research-column,
    .research-column-forum {
        padding: 15px;
    }

    .forum-card {
        padding: 15px;
    }

    .forum-title {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .forum-info,
    .forum-info p,
    .forum-location p {
        font-size: 13px;
        line-height: 1.8;
    }

    .forum-info strong,
    .forum-location strong {
        font-size: 13px;
    }

    .links-card {
        padding: 12px;
    }

    .links-row-first,
    .external-links-row {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-start;
    }

    .external-links-row {
        display: flex;
        margin-top: 10px;
    }

    .link-item {
        flex: 0 0 calc(50% - 5px);
        min-width: 0;
        height: auto;
        min-height: 70px;
        padding: 8px;
        font-size: 13px;
        line-height: 18px;
    }

    .link-icon-img {
        width: 40px;
        height: 40px;
    }

    .external-link-item {
        flex: 0 0 calc(50% - 5px);
        min-width: 0;
        height: auto;
        min-height: 60px;
        padding: 8px;
        font-size: 12px;
        line-height: 18px;
    }

    .external-link-item img {
        width: 40px;
        height: 40px;
    }

    /* 移动端禁用滚动动画 */
    .animate-on-scroll,
    .animate-from-left,
    .animate-from-right,
    .animate-scale-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 576px) {
    .banner-section {
        height: 180px;
    }

    .banner-arrows {
        padding: 0 10px;
    }

    .banner-arrow {
        width: 28px;
        height: 28px;
    }

    .section-news-notice,
    .section-education,
    .section-research,
    .section-links {
        padding: 25px 0;
    }

    .section-title img {
        width: 120px;
    }

    .section-title span {
        font-size: 15px;
    }

    .more-link {
        font-size: 13px;
    }

    .news-slider {
        height: 180px;
    }

    .news-slide-overlay {
        padding: 10px 12px;
    }

    .news-slide-title {
        font-size: 13px;
    }

    .news-list-item .title,
    .notice-list-item .title,
    .education-list-item .title {
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .dot-icon {
        width: 12px;
        height: 12px;
        margin-right: 6px;
    }

    .education-card-header {
        height: 48px;
        font-size: 15px;
    }

    .education-card-header-left .education-icon,
    .education-card-header-right .education-icon {
        width: 24px;
        height: 22px;
    }

    .education-list {
        padding: 8px 12px;
    }

    .education-list-item {
        padding: 9px 0;
    }

    .education-list-item .title,
    .education-list-item .date {
        font-size: 13px;
    }

    .research-column,
    .research-column-forum {
        padding: 12px;
    }

    .forum-card {
        padding: 12px;
    }

    .forum-card-header {
        margin-bottom: 15px;
    }

    .forum-tag {
        width: auto;
        height: 30px;
        padding: 0 10px;
        font-size: 13px;
    }

    .forum-issue {
        width: auto;
        height: 30px;
        padding: 0 10px;
        font-size: 12px;
    }

    .forum-title {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .forum-info,
    .forum-info p,
    .forum-location p {
        font-size: 12px;
        line-height: 1.7;
    }

    .forum-info strong,
    .forum-location strong {
        font-size: 12px;
    }

    .forum-location {
        padding: 10px;
    }

    .links-card {
        padding: 10px;
        margin-top: -20px;
    }

    .link-item,
    .external-link-item {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
        padding: 6px;
        font-size: 12px;
        line-height: 16px;
        min-height: 58px;
    }

    .link-icon-img,
    .external-link-item img {
        width: 32px;
        height: 32px;
    }
}