/* Hero 轮播系统 */
.hero-carousel-system {
    width: 100%;
    max-width: 100%;
    margin: 0;
    height: calc(110vh - .98rem);
    display: block;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    overflow: hidden;
}

.carousel-viewport {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100vh;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide.active img {
    transform: scale(1.06);
}

.carousel-dots {
    position: absolute;
    bottom: .3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: .12rem;
}

.dot {
    width: .12rem;
    height: .12rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.32);
    border: 0.01rem solid rgba(255,255,255,0.14);
    cursor: pointer;
    transition: transform 0.28s var(--trans-fast), background 0.28s var(--trans-fast);
}

.dot.active {
    background: #fff;
    transform: scale(1.3);
    box-shadow: 0 0 .12rem rgba(255,255,255,0.6);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: clamp(.32rem, 4vw, .56rem);
    background: linear-gradient(180deg, rgba(4, 36, 71, 0.28) 0%, rgba(4, 36, 71, 0.86) 100%);
    color: #fff;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.hero-overlay h1 {
    font-size: clamp(0.48rem, 6vw, 0.88rem);
    max-width: 14ch;
    margin: 0 0 0.12rem;
    line-height: 1.02;
    text-shadow: 0 8px 32px rgba(4,36,71,0.45);
}

.hero-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(62,197,227,0.24), transparent 38%);
    pointer-events: none;
}

/* CTA 按钮 */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.12rem;
    margin-top: 0.24rem;
    background: linear-gradient(90deg, var(--accent-cyan), var(--primary-blue-soft));
    color: #fff;
    border-radius: 0.12rem;
    padding: 0.12rem 0.28rem;
    box-shadow: 0 .16rem .6rem rgba(11,79,138,0.18);
    transition: transform var(--trans-fast), box-shadow var(--trans-fast);
    text-decoration: none;
}

.hero-cta:hover { transform: translateY(-0.04rem); box-shadow: var(--shadow-btn-hover); }

/* 统一业务模块容器 */
.module-container,
.education-section,
.events-section,
.research-section,
.news-section,
.media-section {
    width: min(96%, 19rem);
    margin: 0 auto 0 auto;
    padding: clamp(.32rem, 3vw, .52rem) .32rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: .12rem;
    box-shadow: 0 .04rem .24rem rgba(0, 0, 0, 0.02);
    transition: box-shadow 0.4s ease;
}

.module-container:hover,
.education-section:hover,
.events-section:hover,
.research-section:hover,
.news-section:hover,
.media-section:hover {
    box-shadow: 0 .08rem .32rem rgba(0, 0, 0, 0.04);
}

/* 统一版块头部 */
.section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .16rem;
    margin-bottom: .24rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding-bottom: .16rem;
}

.title-group {
    display: flex;
    align-items: baseline;
    gap: .16rem;
}

.section-header h2 {
    font-size: clamp(0.26rem, 2.5vw, 0.36rem);
    margin: 0;
    letter-spacing: -0.02em;
    font-family: 'SourceHanSansCN-Bold', sans-serif;
    color: var(--text-main);
}

.section-subtitle {
    color: var(--primary-blue);
    font-size: 0.16rem;
    font-weight: 600;
    font-family: 'SourceHanSansCN-Medium', sans-serif;
}

.view-more {
    display: inline-flex;
    align-items: center;
    gap: 0.08rem;
    font-weight: 600;
    color: #0e7490;
    background: rgba(14, 116, 144, 0.06);
    border: 1px solid rgba(14, 116, 144, 0.15);
    border-radius: .3rem;
    padding: .08rem .16rem;
    font-size: .15rem;
    transition: all 0.3s ease;
}

.view-more:hover {
    background: rgba(14, 116, 144, 0.12);
    transform: translateY(-1px);
}

/* 统一自适应网格系统 */
.dynamic-grid,
.events-list,
.news-grid,
.research-grid,
.media-list,
.education-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(3.2rem, 1fr));
    gap: 0.32rem;
    margin-top: 0.24rem;
}

/* 统一卡片与动效逻辑 */
.dynamic-item,
.event-item,
.news-item,
.research-item,
.media-item,
.education-item {
    position: relative;
    padding: 0.24rem;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: .08rem;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: .18rem;
}

.dynamic-item:hover,
.event-item:hover,
.news-item:hover,
.research-item:hover,
.media-item:hover,
.education-item:hover {
    transform: translateY(-.04rem);
    border-color: rgba(14, 116, 144, 0.3);
    box-shadow: 0 .12rem .32rem rgba(14, 116, 144, 0.06);
    z-index: 2;
}

/* 统一卡片内部文本排印 */
.item-content,
.event-content,
.news-content,
.research-content,
.media-content,
.education-content {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.item-meta,
.event-meta,
.research-meta,
.news-meta,
.media-meta,
.education-meta {
    font-size: 0.14rem;
    color: var(--text-subtle);
    font-weight: 500;
    font-family: 'SourceHanSansCN-Medium', sans-serif;
    letter-spacing: 0.05em;
    display: flex;
    flex-wrap: wrap;
    gap: .1rem;
}

.item-content h3,
.event-content h3,
.news-content h3,
.research-content h3,
.media-content h3,
.education-content h3 {
    font-size: 0.2rem;
    line-height: 1.4;
    margin: 0;
    font-family: 'SourceHanSansCN-Bold', sans-serif;
    color: var(--text-strong);
}

.item-content h3 a,
.event-content h3 a,
.news-content h3 a,
.research-content h3 a,
.media-content h3 a,
.education-content h3 a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.item-content h3 a:hover,
.event-content h3 a:hover,
.news-content h3 a:hover,
.research-content h3 a:hover,
.media-content h3 a:hover,
.education-content h3 a:hover {
    color: #0e7490;
}

/* 统一视觉截断 */
.item-description,
.event-description,
.research-description,
.news-summary,
.media-description,
.education-description {
    font-size: 0.15rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 富文本内容规范 */
.richtext-content {
    color: var(--text-main);
    line-height: 1.8;
    font-size: 0.16rem;
    text-align: justify; 
}

.richtext-content p {
    margin-bottom: .24em;
}

.richtext-content strong, 
.richtext-content b {
    color: #0e7490;
    font-weight: 600;
}

.richtext-content ul, 
.richtext-content ol {
    margin-bottom: 1.5em;
    padding-left: 2em;
}

.richtext-content li {
    margin-bottom: 0.5em;
}

/* 响应式调整 */
@media (max-width: 1040px) {
    .header-wrapper {
        width: 100%;
    }
}

@media (max-width: 760px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-overlay {
        padding: 2.2rem 1.4rem;
    }
}