/* 首页样式 - 湖南大学生命医学交叉研究院（依 Figma 设计稿） */

/* ========== Banner 轮播 ========== */
.banner-section {
    width: 100%;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    width: 100%;
    /* 高度由 CSS 决定（桌面端最高 450px），不再由图片撑开 */
    height: clamp(300px, 23.4vw, 450px);
    overflow: hidden;
}

.banner-slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.banner-slide {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
}

.banner-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

.banner-slide-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* 左右切换箭头：深色半透明圆圈 + 白色箭头，悬停加深 */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 3;
    transition: background 0.25s;
}

.banner-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 11px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.banner-prev::before {
    transform: translate(-30%, -50%) rotate(-135deg);
}

.banner-next::before {
    transform: translate(-70%, -50%) rotate(45deg);
}

.banner-arrow:hover {
    background: rgba(0, 0, 0, 0.4);
}

.banner-prev {
    left: 40px;
}

.banner-next {
    right: 40px;
}

/* 底部圆点 */
.banner-dots {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d9d9d9;
    transition: background 0.25s;
}

.banner-dot.active {
    background: #cea983;
}

/* ========== 学院新闻 / 通知公告 ========== */
.news-section {
    padding: 43px 0 48px;
    background: #fff;
}

.news-section .sec-head {
    margin-bottom: 20px;
}

.news-section .more-link {
    position: relative;
    top: 6px;
}

.news-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.news-main {
    width: 725px;
    flex-shrink: 0;
}

/* 左：焦点图轮播（左右箭头 + 右下角页码 + 左下角日期标题） */
.news-featured {
    position: relative;
}

.news-slider {
    position: relative;
    height: 473px;
    overflow: hidden;
    border-radius: 6px;
}

.news-slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.news-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.news-slide-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-slide:hover .news-slide-img {
    transform: scale(1.03);
}

/* 底部渐变遮罩 */
.news-slide-mask {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 76px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

/* 左下角：日期 + 标题 */
.news-slide-caption {
    position: absolute;
    left: 17px;
    right: 17px;
    bottom: 14px;
    display: block;
    z-index: 2;
    color: #fff;
}

.news-caption-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: "Times New Roman", "Microsoft YaHei", serif;
    font-size: 14px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.95);
}

.news-caption-title {
    display: block;
    margin-top: 11px;
    padding-right: 92px;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 左右切换按钮 */
.news-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 3;
    transition: background 0.25s;
}

.news-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.news-prev {
    left: 28px;
}

.news-next {
    right: 28px;
}

.news-prev::before {
    transform: translate(-30%, -50%) rotate(-135deg);
}

.news-next::before {
    transform: translate(-70%, -50%) rotate(45deg);
}

.news-arrow:hover {
    background: rgba(0, 0, 0, 0.4);
}

/* 右下角页码 */
.news-dots {
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.news-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background 0.25s;
}

.news-dot.active {
    background: var(--primary-red);
}

/* 右：通知公告列表 */
.news-notice {
    width: 480px;
    flex-shrink: 0;
}

.notice-list li:first-child .notice-item {
    padding-top: 0;
}

.notice-list li:last-child .notice-item {
    padding-bottom: 0;
}

/* 悬停：日期框红底白字 + 标题变红 */
.notice-item:hover .notice-date-box {
    border-color: var(--primary-red);
    color: #fff;
}

.notice-item:hover .notice-date-box::before {
    background: var(--primary-red);
}

.notice-item:hover .notice-ym {
    border-top-color: rgba(255, 255, 255, 0.5);
}

.notice-item:hover .notice-title {
    color: var(--primary-red);
}

.notice-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 15px 0;
}

/* 条目之间的横向虚线分隔线 */
.notice-list li + li .notice-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5px;
    right: 0;
    height: 0;
    border-top: 1px dashed #FFDEDE;
}

.notice-date-box {
    position: relative;
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 0.5px dashed #F3A2A1;
    border-radius: 8px;
    color: var(--primary-red);
    transition: border-color 0.25s, color 0.25s;
}

/* 内层渐变底色：独立圆角，与外侧虚线框保持 5px 间隙 */
.notice-date-box::before {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 5px;
    background: linear-gradient(180deg, #FFDEDE 0%, #FFEBEB 100%);
    transition: background 0.25s;
}

.notice-day {
    position: relative;
    z-index: 1;
    font-family: "Times New Roman", "Microsoft YaHei", serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.1;
}

.notice-ym {
    position: relative;
    z-index: 1;
    font-family: "Times New Roman", "Microsoft YaHei", serif;
    font-size: 14px;
    line-height: 1.2;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid #C84947;
    min-width: 40px;
    text-align: center;
    transition: border-color 0.25s;
}

.notice-title {
    flex: 1;
    min-width: 0;
    font-size: 16px;
    line-height: 28px;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s;
}

/* ========== 学术动态 ========== */
.acad-section {
    padding: 39px 0 39px;
    background: var(--bg-acad) url('../hnu-images/home/acad-bg.png') center bottom / 100% auto no-repeat;
}

.acad-section .sec-head {
    margin-bottom: 21px;
}

.acad-section .more-link {
    position: relative;
    top: 4px;
}

.acad-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 40px;
}

.acad-card {
    height: 198px;
    background: #fff;
    overflow: hidden;
    transition: background-color 0.25s, box-shadow 0.25s;
}

.acad-card:hover {
    background: var(--primary-red);
    box-shadow: 0 8px 24px rgba(193, 52, 50, 0.18);
}

.acad-link {
    display: flex;
    align-items: stretch;
    height: 100%;
}

.acad-cover {
    flex-shrink: 0;
    width: 229px;
    overflow: hidden;
}

.acad-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.acad-info {
    flex: 1;
    min-width: 0;
    padding: 18px 26px;
    display: flex;
    flex-direction: column;
}

.acad-title {
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--text-main);
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s;
}

.acad-desc {
    flex-shrink: 0;
    margin-top: 12px;
    font-size: 14px;
    line-height: 24px;
    color: #898989;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s;
}

.acad-date {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 10px;
    padding-top: 9px;
    background-image: repeating-linear-gradient(90deg, #E0E0E0 0, #E0E0E0 2px, transparent 2px, transparent 4px);
    background-repeat: no-repeat;
    background-size: 100% 1px;
    background-position: 0 0;
    font-family: "Times New Roman", "Microsoft YaHei", serif;
    font-size: 14px;
    color: var(--gold);
    transition: color 0.25s, background-image 0.25s;
}

/* 悬停：信息区红底白字 */
.acad-card:hover .acad-title {
    color: #fff;
}

.acad-card:hover .acad-desc {
    color: #fff;
}

/* ========== 学术交流 ========== */
.exch-section {
    padding: 38px 0 38px;
    background: var(--bg-exch) url('../hnu-images/home/exch-bg.png') center bottom / 100% auto no-repeat;
}

.exch-section .sec-head {
    margin-bottom: 29px;
}

.exch-section .more-link {
    position: relative;
    top: 6px;
}

.exch-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 27px;
}

/* 移动端轮播控件：仅移动端显示 */
.exch-dots,
.exch-nav-prev,
.exch-nav-next {
    display: none;
}

.exch-card {
    /* 不固定高度：海报整图（含顶部机构/期数页眉）按原始比例完整展示，卡片随图自适应增高 */
    height: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: linear-gradient(180deg, #FAE2DB 0%, #FBE9E3 40%, #FCF1EB 100%);
}

/* 卡片上半部分的整图：PC 与移动/平板一致，直接以整图呈现「标题 + 报告人/摘要」 */
.exch-card.has-poster .exch-poster {
    display: block;
    width: 100%;
    height: auto;
    flex: 0 0 auto;
    object-fit: contain;
}

.exch-poster {
    display: none;
}

.exch-meta {
    width: 100%;
    margin-top: 14px;
}

.exch-meta li {
    font-size: 10px;
    line-height: 16px;
    color: #333;
}

.exch-meta .exch-v {
    color: #962327;
}

/* 底部块：论坛标题 + 报告信息 */
.exch-bottom {
    flex-shrink: 0;
    height: 166px;
    padding: 11.5px 12px 20px 15px;
    background: #fff;
    transition: background-color 0.25s;
}

.exch-forum {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 17px;
    font-weight: 400;
    line-height: 21px;
    color: var(--text-main);
    margin-bottom: 18px;
    transition: color 0.25s;
}

.exch-forum:hover {
    color: var(--primary-red);
}

.exch-bottom .exch-meta {
    margin-top: 0;
}

.exch-bottom .exch-meta li {
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 24px;
    color: #898989;
    transition: color 0.25s;
}

.exch-bottom .exch-meta .exch-v {
    color: #898989;
    transition: color 0.25s;
}

/* 每行前置图标：设计原图透明底 PNG（金色），悬停用滤镜刷白 */
.exch-bottom .exch-meta-icon {
    display: block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-right: 8.5px;
    object-fit: contain;
    transition: filter 0.25s;
}

/* 悬停：底部块红底白字 */
.exch-card:hover .exch-bottom {
    background: var(--primary-red);
}

.exch-card:hover .exch-bottom .exch-forum,
.exch-card:hover .exch-bottom .exch-forum:hover {
    color: #fff;
}

.exch-card:hover .exch-bottom .exch-meta li,
.exch-card:hover .exch-bottom .exch-meta .exch-v {
    color: rgba(255, 255, 255, 0.92);
}

.exch-card:hover .exch-bottom .exch-meta-icon {
    filter: brightness(0) invert(1);
}

/* ========== 快速导航 ========== */
.quicknav-section {
    padding: 33px 0 53px;
    background: #fff;
}

.qn-title {
    font-size: 22px;
    font-weight: 400;
    color: var(--text-main);
    line-height: 29px;
    margin-bottom: 19px;
}

.qn-list {
    display: flex;
    gap: 16px;
}

.qn-item {
    flex: 1;
    min-width: 0;
}

.qn-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 116px;
    background: #fff;
    border: 1px solid #e6e2da;
    box-sizing: border-box;
    transition: border-color 0.25s, background 0.25s;
}

.qn-icon {
    width: 60px;
    height: 60px;
    display: block;
    object-fit: contain;
    transition: filter 0.25s;
}

.qn-label {
    margin-top: 8px;
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    color: #6A7179;
    transition: color 0.25s;
}

/* 悬停：红底白字（图标转白） */
.qn-link:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

.qn-link:hover .qn-icon {
    filter: brightness(0) invert(1);
}

.qn-link:hover .qn-label {
    color: #fff;
}

/* ============================================================
   小屏适配（≤1279px：移动端 + 平板，依 Figma 移动端设计稿 375px 基准）
   平板沿用移动端版式，仅在下方「平板区间」按比例放大关键尺寸
   ============================================================ */
@media (max-width: 1279px) {

    /* ---------- 板块标题 ---------- */
    .sec-head {
        min-height: 26px;
        margin-bottom: 14px;
    }

    .sec-head-left {
        gap: 8px;
    }

    .sec-head-icon {
        width: 22px;
        height: 24px;
    }

    .sec-head-title {
        font-size: 20px;
        line-height: 26px;
    }

    .more-link {
        gap: 4px;
        font-size: 13px;
    }

    .more-link img {
        width: 16px;
        height: 16px;
    }

    /* ---------- Banner ---------- */
    .banner-slider {
        height: 160px;
    }

    .banner-arrow {
        width: 26px;
        height: 26px;
    }

    .banner-arrow::before {
        width: 7px;
        height: 7px;
        border-top-width: 1.5px;
        border-right-width: 1.5px;
    }

    .banner-prev {
        left: 12px;
    }

    .banner-next {
        right: 12px;
    }

    .banner-dots {
        bottom: 12px;
        gap: 5px;
    }

    .banner-dot {
        width: 7px;
        height: 7px;
    }

    /* ---------- 学院新闻 ---------- */
    .news-section {
        padding: 24px 0 23px;
    }

    .news-section .sec-head {
        margin-bottom: 14px;
    }

    .news-section .more-link {
        top: 2px;
    }

    .news-layout {
        display: block;
    }

    .news-main {
        width: 100%;
    }

    .news-slider {
        height: auto;
        aspect-ratio: 343 / 236;
    }

    .news-slide-mask {
        height: 58px;
    }

    .news-slide-caption {
        left: 12px;
        right: 12px;
        bottom: 10px;
    }

    .news-caption-date {
        font-size: 12px;
    }

    .news-caption-title {
        margin-top: 6px;
        padding-right: 58px;
        font-size: 14px;
        line-height: 20px;
    }

    .news-arrow {
        width: 26px;
        height: 26px;
    }

    .news-arrow::before {
        width: 7px;
        height: 7px;
        border-top-width: 1.5px;
        border-right-width: 1.5px;
    }

    .news-prev {
        left: 10px;
    }

    .news-next {
        right: 10px;
    }

    .news-dots {
        right: 12px;
        bottom: 12px;
        gap: 5px;
    }

    .news-dot {
        width: 6px;
        height: 6px;
    }

    /* ---------- 通知公告 ---------- */
    .news-notice {
        width: 100%;
        margin-top: 27px;
    }

    .news-notice .sec-head {
        margin-bottom: 5px;
    }

    .news-notice .more-link {
        top: 2px;
    }

    .notice-item {
        gap: 18px;
        padding: 15px 0;
    }

    /* 覆盖 base 的 li:first-child 去上内边距，保证首条与设计稿一致 */
    .notice-list li:first-child .notice-item {
        padding-top: 15px;
    }

    .notice-date-box {
        width: 49px;
        height: 49px;
        border-radius: 6px;
    }

    .notice-date-box::before {
        inset: 4px;
        border-radius: 4px;
    }

    .notice-day {
        font-size: 20px;
    }

    .notice-ym {
        margin-top: 2px;
        padding-top: 2px;
        min-width: 30px;
        font-size: 11px;
    }

    .notice-title {
        font-size: 14px;
        line-height: 25px;
    }

    /* ---------- 学术动态（单列，卡片版式与 PC 端一致，仅整体缩小） ---------- */
    .acad-section {
        padding: 23px 0 24px;
        /* 移动端换用竖版背景图（750×1029 @2x）：整块铺满（含顶部标题区），与学术交流区一致 */
        background: var(--bg-acad) url('../hnu-images/home/acad-bg-phone.png') center / 100% 100% no-repeat;
    }

    .acad-section .sec-head {
        margin-bottom: 12px;
    }

    .acad-section .more-link {
        top: 2px;
    }

    /* 单列 + 卡片间距，其余版式沿用 PC（左图右文、白底卡片、标题/日期） */
    .acad-list {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    /* 依移动端设计稿：卡片高 99、封面宽 111 */
    .acad-card {
        height: 99px;
    }

    .acad-cover {
        width: 111px;
    }

    .acad-info {
        padding: 10px 11px 5px 13px;
    }

    .acad-title {
        font-size: 14px;
        line-height: 18px;
        -webkit-line-clamp: 3;
    }

    /* 设计稿移动端卡片无摘要 */
    .acad-desc {
        display: none;
    }

    .acad-date {
        gap: 6px;
        margin-top: 8px;
        padding-top: 8px;
        font-size: 12px;
        line-height: 14px;
    }

    /* ---------- 学术交流（横向轮播 + 圆点） ---------- */
    .exch-section {
        padding: 24px 0 20px;
        /* 移动端换用竖版背景图（750×1053 @2x）：作为整块底图铺满（含顶部标题区），
           图片上边=区块上边、下边=区块下边，天空与草地分别贴住上下边 */
        background: var(--bg-exch) url('../hnu-images/home/exch-bg-phone.png') center / 100% 100% no-repeat;
    }

    .exch-section .sec-head {
        margin-bottom: 14px;
    }

    .exch-section .more-link {
        top: 2px;
    }

    .exch-carousel {
        position: relative;
    }

    .exch-list {
        display: flex;
        gap: 0;
        overflow-x: auto;
        /* 只横向滚动：否则 overflow-y 会被算成 auto，卡片未播放入场动画时的
           translateY(30px) 会撑出 30px 纵向可滚动区，导致卡片能被上下拖动 */
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .exch-list::-webkit-scrollbar {
        display: none;
    }

    /* 学术交流移动端不做入场动画：卡片横向排布，视口外的卡片
       IntersectionObserver 判定不到，会一直停在 opacity:0 不可见 */
    .exch-section .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

    /* 卡片两侧留出换页按钮的间距（53px × 2 = 按钮区 + 与卡片的间隙） */
    .exch-card {
        flex: 0 0 calc(100% - 106px);
        width: calc(100% - 106px);
        margin: 0 53px;
        height: auto;
        scroll-snap-align: center;
    }

    /* 有整图时：上半部分显示整图 */
    .exch-card.has-poster .exch-poster {
        display: block;
        width: 100%;
        height: auto;
    }

    .exch-meta li {
        font-size: 10px;
        line-height: 15px;
    }

    .exch-bottom {
        height: auto;
        padding: 10px 12px 8px;
    }

    .exch-forum {
        margin-bottom: 6px;
        font-size: 15px;
        line-height: 19px;
    }

    .exch-bottom .exch-meta li {
        font-size: 12px;
        line-height: 20px;
    }

    .exch-bottom .exch-meta-icon {
        width: 14px;
        height: 14px;
        margin-right: 6px;
    }

    .exch-nav-prev,
    .exch-nav-next {
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.25);
        z-index: 5;
    }

    .exch-nav-prev {
        left: 0;
    }

    .exch-nav-next {
        right: 0;
    }

    .exch-nav-prev::before,
    .exch-nav-next::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 7px;
        height: 7px;
        border-top: 1.5px solid #fff;
        border-right: 1.5px solid #fff;
    }

    .exch-nav-prev::before {
        transform: translate(-30%, -50%) rotate(-135deg);
    }

    .exch-nav-next::before {
        transform: translate(-70%, -50%) rotate(45deg);
    }

    .exch-dots {
        display: flex;
        justify-content: center;
        gap: 7px;
        margin-top: 31px;
    }

    .exch-dot {
        width: 7px;
        height: 7px;
        padding: 0;
        border: none;
        border-radius: 50%;
        background: #D9CFC9;
        cursor: pointer;
    }

    .exch-dot.active {
        background: var(--primary-red);
    }

    /* ---------- 快速导航（3 列 × 2 行） ---------- */
    /* 版式依设计稿：标题下 16px、卡片列间距 9px / 行间距 12px、卡片高 71px */
    .quicknav-section {
        padding: 24px 0 40px;
    }

    .qn-title {
        margin-bottom: 16px;
        font-size: 18px;
        line-height: 24px;
    }

    .qn-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px 9px;
    }

    .qn-item {
        flex: none;
    }

    .qn-link {
        height: 71px;
    }

    .qn-icon {
        width: 40px;
        height: 40px;
    }

    .qn-label {
        margin-top: 4px;
        font-size: 13px;
        line-height: 17px;
    }
}

/* ============================================================
   平板区间（768–1279px）：沿用移动端版式，按比例放大关键尺寸
   ============================================================ */
@media (min-width: 768px) and (max-width: 1279px) {

    /* ---------- 板块标题 ---------- */
    .sec-head {
        min-height: 34px;
        margin-bottom: 18px;
    }

    .sec-head-left {
        gap: 11px;
    }

    .sec-head-icon {
        width: 28px;
        height: 31px;
    }

    .sec-head-title {
        font-size: clamp(22px, 2.2vw, 26px);
        line-height: 34px;
    }

    .more-link {
        gap: 6px;
        font-size: 15px;
    }

    .more-link img {
        width: 19px;
        height: 19px;
    }

    /* ---------- Banner ---------- */
    .banner-slider {
        height: clamp(240px, 42.7vw, 520px);
    }

    .banner-arrow {
        width: 38px;
        height: 38px;
    }

    .banner-arrow::before {
        width: 9px;
        height: 9px;
        border-top-width: 2px;
        border-right-width: 2px;
    }

    .banner-prev { left: 24px; }

    .banner-next { right: 24px; }

    .banner-dots {
        bottom: 18px;
        gap: 7px;
    }

    .banner-dot {
        width: 9px;
        height: 9px;
    }

    /* ---------- 学院新闻 ---------- */
    .news-section {
        padding: 36px 0 40px;
    }

    .news-section .sec-head {
        margin-bottom: 18px;
    }

    /* 按 PC 稿比例显示，避免超宽屏下焦点图过高。
       必须显式 width:100%：否则 max-height 封顶后浏览器会用比例反算宽度，
       使焦点图缩窄并偏左（不再居中） */
    .news-slider {
        width: 100%;
        aspect-ratio: 725 / 473;
        max-height: 560px;
    }

    .news-slide-mask {
        height: 78px;
    }

    .news-slide-caption {
        left: 18px;
        right: 18px;
        bottom: 14px;
    }

    .news-caption-date {
        font-size: 14px;
    }

    .news-caption-title {
        margin-top: 10px;
        padding-right: 90px;
        font-size: 19px;
        line-height: 27px;
    }

    .news-arrow {
        width: 36px;
        height: 36px;
    }

    .news-arrow::before {
        width: 9px;
        height: 9px;
        border-top-width: 2px;
        border-right-width: 2px;
    }

    .news-prev { left: 20px; }

    .news-next { right: 20px; }

    .news-dots {
        right: 18px;
        bottom: 18px;
        gap: 7px;
    }

    .news-dot {
        width: 8px;
        height: 8px;
    }

    /* ---------- 通知公告 ---------- */
    .news-notice {
        margin-top: 40px;
    }

    .notice-item {
        gap: 28px;
        padding: 20px 0;
    }

    .notice-list li:first-child .notice-item {
        padding-top: 20px;
    }

    .notice-date-box {
        width: 64px;
        height: 64px;
        border-radius: 8px;
    }

    .notice-day {
        font-size: 26px;
    }

    .notice-ym {
        min-width: 38px;
        font-size: 13px;
    }

    .notice-title {
        font-size: 16px;
        line-height: 32px;
    }

    /* ---------- 学术动态 ---------- */
    .acad-section {
        padding: 36px 0 38px;
        /* 平板宽度改用 PC 版底部装饰图，避免竖版背景图被拉伸变形 */
        background: var(--bg-acad) url('../hnu-images/home/acad-bg.png') center bottom / 100% auto no-repeat;
    }

    .acad-section .sec-head {
        margin-bottom: 18px;
    }

    .acad-list {
        gap: 16px;
    }

    .acad-card {
        height: 132px;
    }

    .acad-cover {
        width: 152px;
    }

    .acad-info {
        padding: 14px 16px 8px 18px;
    }

    .acad-title {
        font-size: 16px;
        line-height: 22px;
    }

    .acad-date {
        margin-top: 10px;
        padding-top: 10px;
        font-size: 13px;
        line-height: 16px;
    }

    /* ---------- 学术交流 ---------- */
    .exch-section {
        padding: 36px 0 28px;
        background: var(--bg-exch) url('../hnu-images/home/exch-bg.png') center bottom / 100% auto no-repeat;
    }

    .exch-section .sec-head {
        margin-bottom: 18px;
    }

    /* 限宽居中：海报整图在平板上不至于过大 */
    .exch-carousel {
        max-width: 680px;
        margin: 0 auto;
    }

    .exch-card {
        flex: 0 0 calc(100% - 160px);
        width: calc(100% - 160px);
        margin: 0 80px;
    }

    .exch-bottom {
        padding: 14px 16px 12px;
    }

    .exch-forum {
        margin-bottom: 8px;
        font-size: 18px;
        line-height: 24px;
    }

    .exch-bottom .exch-meta li {
        font-size: 14px;
        line-height: 24px;
    }

    .exch-nav-prev,
    .exch-nav-next {
        width: 34px;
        height: 34px;
    }

    .exch-nav-prev::before,
    .exch-nav-next::before {
        width: 9px;
        height: 9px;
        border-top-width: 2px;
        border-right-width: 2px;
    }

    .exch-dots {
        gap: 9px;
        margin-top: 40px;
    }

    .exch-dot {
        width: 9px;
        height: 9px;
    }

    /* ---------- 快速导航 ---------- */
    .quicknav-section {
        padding: 36px 0 52px;
    }

    .qn-title {
        margin-bottom: 20px;
        font-size: 22px;
        line-height: 28px;
    }

    .qn-list {
        gap: 16px 14px;
    }

    .qn-link {
        height: 92px;
    }

    .qn-icon {
        width: 50px;
        height: 50px;
    }

    .qn-label {
        font-size: 15px;
        line-height: 20px;
    }
}
