/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
    background-color: #fff;
    padding: 20px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 105px; /* 当前73px基础上放大约1.25倍 */
    width: auto;
}

.title {
    display: flex;
    align-items: center;
}

.title h2 {
    font-family: 'SimHei', '黑体', sans-serif; /* 黑体 */
    color: #000; /* 黑色 */
    font-size: 28px;
    letter-spacing: 2px;
    margin: 0;
    font-weight: normal; /* 如果需要加粗可以改为 bold，黑体本身比较粗 */
}

/* Navigation */
.navbar {
    background: linear-gradient(to right, #1992EE, #1684d9); /* 采用色号#1992EE的渐变色处理 */
    height: 5em; /* 菜单占高为5倍字符高度 */
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.nav-links li {
    position: relative;
    margin: 0 4px;
}

.nav-links > li > a {
    display: block;
    padding: 8px 15px;
    color: #fff;
    font-size: 19px;
    font-weight: bold; /* 加重字重 */
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-links > li > a:hover,
.nav-links > li > a.active,
.nav-links > li:hover > a {
    background-color: rgba(255, 255, 255, 0.25); /* 浅色浮动按钮 */
    transform: translateY(-2px); /* 浮动动效 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.nav-highlight {
    color: inherit !important;
}

.has-dropdown {
    padding-bottom: 0;
}

.has-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 12px; /* 悬停桥接区，避免鼠标下移时菜单消失 */
}

.dropdown-menu {
    position: absolute;
    top: calc(100% - 2px); /* 与主菜单按钮贴合，消除视觉间隙 */
    left: 0;
    min-width: 220px;
    background: rgba(19, 109, 198, 0.96);
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    padding: 8px 0;
    display: none;
    z-index: 20;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 18px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.16);
}

.has-dropdown:hover .dropdown-menu {
    display: block;
}

/* Banner */
.banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner img {
    width: 100%;
    display: block;
}

.banner picture {
    display: block;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: max-content; /* 不受右侧半屏宽度限制，长标题不折行 */
    color: #fff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
    z-index: 2;
    text-align: center;
}

.banner-text h1 {
    font-size: 78px;
    font-weight: 700;
    letter-spacing: 10px;
    white-space: nowrap; /* 团队名称较长，不折行 */
    margin: 0;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.banner-dots .dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.banner-dots .dot.active {
    width: 30px;
    border-radius: 6px;
    background-color: #0780de;
}

/* 专业群设置 */
.programs {
    padding: 40px 0;
    background-color: #fff;
}

.programs-container {
    position: relative;
    width: 100%;
}

.programs-outer-border {
    border: 1px solid #4aa2eb;
    border-radius: 4px;
    padding-top: 4px; /* Space for the inner top border */
    position: relative;
    margin-top: 25px; /* Make room for the pop-out triangles */
}

.programs-inner-border {
    border-top: 1px solid #a2d1f6;
    padding: 30px 20px 20px;
    background-color: #fff;
    position: relative;
}

/* Triangles */
.programs-outer-border::before {
    content: '';
    position: absolute;
    top: -1px; /* 底部较大的深色边框三角形 */
    left: 50%;
    transform: translateX(-50%);
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #4aa2eb; /* 外边框同色，作为边框露出来 */
    z-index: 5;
}

/* 内边框浅色三角形 */
.programs-inner-border::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 16px solid #a2d1f6;
    z-index: 6; /* 层级位于外边框之上，但在顶层深色三角形之下 */
}

.programs-outer-border::after {
    content: '';
    position: absolute;
    top: 1px; /* 向上错位2px，使其略高于浅色三角形 */
    left: 50%;
    transform: translateX(-50%);
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 16px solid #1a73e8; /* 与浅色三角形大小一致 */
    z-index: 8; /* 最高层级，确保遮挡下方的浅色三角形，仅留出底边 */
}

/* 覆盖内边框顶部的白线，让内边框三角形更干净地嵌入 */
.programs-inner-border::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 2px;
    background-color: #fff;
    z-index: 4;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 5;
}

.section-title img {
    height: 24px; /* Based on image size */
}

/* 标题文字：沿用原图片标题（蓝色粗体字）的样式，改为文字后标题再长也能容纳 */
.section-title .title-text {
    display: inline-block;
    line-height: 24px;
    color: #1e90ff;
    font-size: 19px;
    font-weight: bold;
    letter-spacing: 1px;
    white-space: nowrap;
}

.program-grid {
    display: flex;
    justify-content: space-between;
    padding: 0;
    background-color: transparent;
}

.program-card {
    text-align: center;
    width: 23%;
}

.program-card img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.program-card h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
    font-weight: bold;
}

.program-card p {
    font-size: 12px;
    color: #4aa2eb;
}

/* 专业群简介 & 新闻 */
.info-news {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin: 32px auto 16px;
    padding: 22px 24px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    gap: 28px;
}

.info-section,
.news-section {
    flex: 0 0 calc(50% - 20px);
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #0780de;
    padding-bottom: 8px;
    margin-bottom: 14px;
}

.section-header h3 {
    font-size: 20px;
    color: #0780de;
}

.section-header .more {
    font-size: 12px;
    color: #999;
}

.info-content {
    display: flex;
    gap: 16px;
    flex: 1;
}

.info-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 136px;
}

.tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 82px;
    padding: 8px 5px;
    border: 1px dashed #4aa2eb;
    border-radius: 5px;
    color: #0780de;
    cursor: pointer;
    background-color: #eaf4fc;
}

.tab-item img {
    width: 28px;
    margin-bottom: 4px;
}

.info-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.info-text {
    flex: 1;
    font-size: 14px;
    color: #666;
    line-height: 1.72;
}

.info-text p {
    margin-bottom: 0;
    text-indent: 2em;
}

.info-text p + p {
    margin-top: 8px;
}

.info-text-hei {
    font-weight: 700;
    font-color: #000000;
}

.news-content {
    display: flex;
    gap: 16px;
    flex: 1;
    align-items: flex-start;
}

.news-featured {
    flex: 0 0 42%;
    max-width: 42%;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.news-featured-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    color: inherit;
    text-decoration: none;
}

.news-featured-link:hover {
    text-decoration: none;
}

.news-featured img {
    width: 100%;
    height: 206px;
    object-fit: cover;
    display: block;
    margin-bottom: 10px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f5faff 0%, #e9f3fc 100%);
    box-shadow: 0 10px 24px rgba(7, 83, 142, 0.12);
}

.news-featured h4 {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 0;
    color: #1f3550;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 44px;
}

.news-featured p {
    display: none;
}

.news-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 8px;
}

.news-dots .dot {
    width: 6px;
    height: 6px;
    background-color: #ccc;
    border-radius: 50%;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.news-dots .dot.active {
    background-color: #0780de;
}

.news-list {
    flex: 1;
    max-width: none;
    min-width: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 14px;
    position: relative;
    line-height: 1.55;
}

.news-list li a {
    color: #333;
    position: relative;
    display: block;
    flex: 1;
    min-width: 0;
    padding-left: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 72px);
}

.news-list li a::before {
    content: '•';
    color: #0780de;
    position: absolute;
    left: 0;
}

.news-list li .date {
    color: #999;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 14px;
}

.news-list li a:hover::after,
.news-list li a:focus-visible::after {
    content: attr(data-full-title);
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    z-index: 20;
    max-width: 420px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(19, 43, 69, 0.95);
    color: #fff;
    font-size: 13px;
    line-height: 1.7;
    white-space: normal;
    word-break: break-word;
    box-shadow: 0 10px 24px rgba(9, 39, 67, 0.18);
}

.news-featured-link:hover h4,
.news-list li a:hover {
    color: #0780de;
}

/* 特色项目 */
.features {
    padding: 40px 0;
}

.features-container {
    display: flex;
    align-items: stretch;
    background-color: #fff;
    padding: 20px;
    padding-left: 0; /* 消除左边距，使左侧img与div左边界对齐 */
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    min-height: 330px;
}

.feature-title {
    flex: 0 0 84px;
    display: flex;
    align-items: stretch;
    justify-content: flex-start; /* 靠左对齐 */
    margin-left: 30px; /* img 左边距为30 */
    margin-right: 20px;
    position: relative; /* 为内部文字定位提供参照 */
    min-height: 100%;
}

.feature-title img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill;
}

.feature-title .title-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% - 8px), -50%);
    color: #fff; /* 假设特色项目框是深色背景，文字用白色 */
    font-size: 20px;
    font-weight: bold;
    writing-mode: vertical-lr; /* 竖向排列 */
    white-space: nowrap;
    line-height: 1;
    text-align: center;
    letter-spacing: 4px;
}

.feature-grid {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feature-item {
    width: 23%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 0;
    color: inherit;
    text-decoration: none;
}

.feature-item img,
.feature-item .img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 0;
    display: block;
    object-fit: contain;
    background-color: #f3f6fa;
    margin-bottom: 10px;
}

.feature-item h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
    font-weight: bold;
    line-height: 1.4;
}

.feature-item p {
    min-height: 32px;
    line-height: 1.4;
    padding: 0;
    font-size: 12px;
    color: #4aa2eb;
}

.feature-item:hover {
    text-decoration: none;
}

.feature-item img,
.feature-item h4,
.feature-item p {
    pointer-events: none;
}

.feature-item h4,
.feature-item p {
    transition: color 0.2s ease;
}

.feature-item:hover h4,
.feature-item:hover p {
    color: #0a5ca8;
}

.program-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.program-card:hover {
    text-decoration: none;
}

.program-card img,
.program-card h4,
.program-card p {
    pointer-events: none;
}

.program-card h4,
.program-card p {
    transition: color 0.2s ease;
}

.program-card:hover h4,
.program-card:hover p {
    color: #0a5ca8;
}

/* Bottom Boxes */
.bottom-boxes {
    padding: 40px 0;
    background-color: #fff;
}

.boxes-grid {
    display: flex;
    justify-content: space-between;
}

.carousel-header {
    margin-bottom: 18px;
}

.carousel-strip {
    gap: 18px;
    overflow: hidden;
    justify-content: flex-start;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-strip::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    flex: 0 0 248px;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #dbe9f7;
    box-shadow: 0 8px 18px rgba(12, 88, 154, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.carousel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(12, 88, 154, 0.14);
}

.carousel-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
    background-color: #edf6fd;
}

.carousel-card span {
    display: block;
    min-height: 64px;
    padding: 14px 14px 16px;
    color: #1f3550;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.5;
}

.carousel-gallery-page .inner-sidebar {
    width: 280px;
}

.carousel-gallery-page .gallery-card {
    padding: 22px;
}

.feature-doc-page .inner-sidebar {
    width: 250px;
}

.feature-doc-card {
    padding: 24px 26px;
}

.feature-doc-content {
    color: #31465a;
    font-size: 15px;
    line-height: 1.95;
}

.feature-doc-section + .feature-doc-section {
    margin-top: 28px;
}

.feature-doc-section h3 {
    font-size: 24px;
    color: #1f3550;
    margin-bottom: 14px;
}

.feature-doc-section p + p {
    margin-top: 12px;
}

.program-detail-page .inner-sidebar {
    width: 260px;
}

.program-detail-card {
    padding: 24px 26px 28px;
}

.program-detail-content {
    color: #31465a;
    font-size: 15px;
    line-height: 1.95;
}

.program-detail-content p {
    margin-bottom: 12px;
}

.program-detail-content p:last-child {
    margin-bottom: 0;
}

.program-detail-content .program-lead {
    font-size: 16px;
    font-weight: bold;
    color: #1f3550;
}

.program-carousel {
    margin-top: 26px;
    border: 1px solid #d7e8f7;
    border-radius: 16px;
    background: linear-gradient(180deg, #f9fcff 0%, #edf6fd 100%);
    overflow: hidden;
}

.program-carousel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid #d7e8f7;
}

.program-carousel-head h4 {
    margin: 0;
    font-size: 22px;
    color: #1f3550;
}

.program-carousel-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.program-carousel-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #188ee5 0%, #5eb2f0 100%);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.program-carousel-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(24, 142, 229, 0.22);
}

.program-carousel-stage {
    position: relative;
    padding: 22px;
}

.program-carousel-image {
    width: 100%;
    height: 520px;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 14px 28px rgba(16, 74, 126, 0.12);
}

.program-carousel-caption {
    margin-top: 14px;
    font-size: 15px;
    color: #425a72;
    text-align: center;
}

.program-carousel-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    padding: 0 22px 22px;
}

.program-carousel-thumb {
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.program-carousel-thumb:hover {
    transform: translateY(-1px);
}

.program-carousel-thumb.active {
    border-color: #188ee5;
}

.program-carousel-thumb img {
    width: 100%;
    height: 82px;
    object-fit: cover;
    display: block;
}

.program-carousel-thumb span {
    display: block;
    padding: 8px 10px 10px;
    color: #425a72;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

.program-word-page .inner-layout {
    display: block;
}

.program-word-card {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.program-word-paper {
    width: min(960px, 100%);
    margin: 0 auto;
    padding: 58px 78px 64px;
    background: #fff;
    border: 1px solid #d9e4ef;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(23, 61, 96, 0.08);
}

.program-word-title {
    margin: 0 0 34px;
    font-size: 28px;
    line-height: 1.4;
    font-weight: 700;
    text-align: center;
    color: #1f3550;
}

.program-word-lead,
.program-word-heading,
.program-word-paragraph {
    margin: 0;
    color: #1f3550;
    font-size: 18px;
    line-height: 2;
    text-indent: 2em;
}

.program-word-heading,
.program-word-paragraph,
.program-word-figure {
    margin-top: 12px;
}

.program-word-lead strong,
.program-word-heading strong {
    font-weight: 700;
}

.program-word-figure {
    margin-left: 0;
    margin-right: 0;
}

.program-word-figure-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.program-word-figure-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.program-word-figure-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.program-word-figure-grid img {
    display: block;
    width: 100%;
    margin: 0;
    border-radius: 4px;
}

.program-word-figure img {
    display: block;
    width: min(100%, 760px);
    margin: 0 auto;
    border-radius: 4px;
}

.program-word-figure figcaption {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.8;
    font-weight: 500;
    text-align: center;
    color: #1f3550;
}

.feature-word-page .program-word-paper {
    width: min(1000px, 100%);
    padding: 58px 78px 62px;
    border-radius: 12px;
    box-shadow: 0 16px 34px rgba(23, 61, 96, 0.1);
}

.feature-word-page .program-word-title {
    margin-bottom: 30px;
    font-size: 31px;
    line-height: 1.35;
    letter-spacing: 1px;
}

.feature-word-page .program-word-lead,
.feature-word-page .program-word-heading {
    margin-top: 22px;
    font-weight: 700;
    color: #163a60;
}

.feature-word-page .program-word-heading,
.feature-word-page .program-word-paragraph {
    margin-top: 10px;
    font-size: 17px;
    line-height: 1.95;
    text-align: justify;
}

.feature-word-page .program-word-figure {
    margin-top: 22px;
}

.feature-word-page .program-word-figure + .program-word-paragraph,
.feature-word-page .program-word-figure + .program-word-heading {
    margin-top: 16px;
}

.feature-word-page .program-word-figure-grid {
    gap: 20px;
}

.feature-word-page .translation-figure-grid-2023 img,
.feature-word-page .translation-figure-grid-2024 img {
    justify-self: center;
}

.feature-word-page .translation-figure-grid-2024 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(94%, 860px);
    margin: 0 auto;
}

.feature-word-page .translation-figure-grid-2023 img:nth-child(1),
.feature-word-page .translation-figure-grid-2023 img:nth-child(4),
.feature-word-page .translation-figure-grid-2024 img:nth-child(3) {
    grid-column: 1 / -1;
    width: min(72%, 560px);
}

.feature-word-page .translation-figure-grid-2023 img:nth-child(2),
.feature-word-page .translation-figure-grid-2023 img:nth-child(3),
.feature-word-page .translation-figure-grid-2024 img:nth-child(1),
.feature-word-page .translation-figure-grid-2024 img:nth-child(2) {
    width: min(88%, 100%);
}

.feature-word-page .translation-figure-grid-2024 img:nth-child(1),
.feature-word-page .translation-figure-grid-2024 img:nth-child(2) {
    width: 100%;
}

.feature-word-page .translation-figure-grid-2024 img:nth-child(3) {
    width: min(44%, 320px);
}

.feature-word-page .program-word-figure img,
.feature-word-page .program-word-figure-grid img {
    border: 1px solid #dce7f3;
    border-radius: 8px;
    background: #fff;
    padding: 6px;
    box-shadow: 0 12px 24px rgba(23, 61, 96, 0.09);
}

.feature-word-page .program-word-figure figcaption {
    max-width: 86%;
    margin: 12px auto 0;
    font-size: 13px;
    line-height: 1.75;
    color: #4a6077;
}

.gallery-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 620px;
    padding: 20px;
    border: 1px solid #d7e8f7;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fbff 0%, #edf6fd 100%);
}

.gallery-stage img {
    max-width: 100%;
    max-height: 760px;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(16, 74, 126, 0.15);
    background-color: #fff;
}

/* Footer */
.footer {
    background-color: #2a8eea;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

/* Inner Page */
.inner-template .header {
    padding: 16px 0 18px;
}

.inner-template .title h2 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    line-height: 1.2;
    text-align: right;
}

.inner-template .title h2 span:first-child {
    font-size: 24px;
    color: #1f3550;
    letter-spacing: 1px;
}

.inner-template .title h2 span:last-child {
    font-size: 30px;
    color: #0780de;
    font-weight: bold;
    letter-spacing: 2px;
}

.inner-page {
    padding: 32px 0 48px;
}

.inner-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.inner-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-card,
.content-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.sidebar-card {
    padding: 20px 18px;
}

.sidebar-title,
.content-title {
    font-size: 20px;
    font-weight: bold;
    color: #0780de;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 2px solid #d9ecfb;
}

.sidebar-group + .sidebar-group {
    margin-top: 18px;
}

.sidebar-group-title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.sidebar-menu li + li {
    margin-top: 8px;
}

.sidebar-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    background-color: #f4f9fe;
    color: #2d5d7b;
    transition: all 0.2s ease;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background-color: #1992ee;
    color: #fff;
}

.inner-content {
    flex: 1;
    min-width: 0;
}

.content-card {
    padding: 24px;
}

.content-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.content-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background-color: #e8f4fe;
    color: #0780de;
    font-size: 13px;
    font-weight: bold;
}

.content-intro {
    margin-bottom: 18px;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.pdf-preview {
    border: 1px solid #d7e8f7;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f8fbfe;
    margin-bottom: 22px;
}

.pdf-preview-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background-color: #edf6fd;
    border-bottom: 1px solid #d7e8f7;
}

.pdf-preview-head h4,
.file-list-head h4 {
    font-size: 16px;
    color: #1f4f74;
}

.pdf-preview-head span {
    font-size: 12px;
    color: #6a8aa5;
}

.pdf-frame {
    width: 100%;
    height: 720px;
    border: 0;
    display: block;
    background-color: #fff;
}

.pdf-tip {
    padding: 12px 18px 16px;
    color: #6b7f92;
    font-size: 13px;
    background-color: #f8fbfe;
}

.file-list {
    border: 1px solid #d7e8f7;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
}

.file-list-head {
    padding: 14px 18px;
    background-color: #edf6fd;
    border-bottom: 1px solid #d7e8f7;
}

.file-table {
    width: 100%;
    border-collapse: collapse;
}

.file-table th,
.file-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #eef3f8;
    font-size: 14px;
}

.file-table th {
    color: #4d6b85;
    background-color: #fbfdff;
}

.file-table td {
    color: #44586b;
}

.file-table tr:last-child td {
    border-bottom: 0;
}

.file-link {
    color: #0780de;
    font-weight: bold;
}

.file-link:hover {
    text-decoration: underline;
}

.anchor-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.anchor-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    background-color: #eef7ff;
    color: #0780de;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.2s ease;
}

.anchor-link:hover {
    background-color: #1992ee;
    color: #fff;
}

.achievement-section + .achievement-section {
    margin-top: 28px;
}

.achievement-block {
    border: 1px solid #d7e8f7;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
}

.achievement-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background-color: #edf6fd;
    border-bottom: 1px solid #d7e8f7;
}

.achievement-head h3 {
    font-size: 26px;
    color: #1f3550;
}

.achievement-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background-color: #dcefff;
    color: #0780de;
    font-size: 13px;
    font-weight: bold;
}

.achievement-desc {
    padding: 14px 20px 0;
    color: #66788a;
    font-size: 14px;
    line-height: 1.8;
}

.achievement-table-wrap {
    position: relative;
    overflow-x: auto;
    padding: 16px 20px 20px;
}

.achievement-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    min-width: 1180px;
}

.achievement-table th,
.achievement-table td {
    border: 1px solid #2a2a2a;
    padding: 12px 10px;
    font-size: 14px;
    line-height: 1.7;
    vertical-align: middle;
    background-color: #fff;
    color: #2c3c4f;
    word-break: break-word;
}

.achievement-table th {
    background-color: #6c9bcf;
    color: #1f3550;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.achievement-table td:nth-child(1),
.achievement-table td:nth-child(2),
.achievement-table td:nth-child(4),
.achievement-table td:nth-child(6),
.achievement-table td:nth-child(7) {
    text-align: center;
}

.achievement-table td:nth-child(3),
.achievement-table td:nth-child(5) {
    text-align: left;
}

.achievement-category-row td {
    background-color: #edf6fd;
    color: #1f3550;
    font-size: 16px;
    font-weight: bold;
    text-align: left !important;
    padding: 12px 14px;
}

.table-link {
    color: #0b56cc;
    font-weight: bold;
}

.table-link:hover {
    text-decoration: underline;
}

.section-placeholder {
    padding: 20px;
    color: #6d8091;
    font-size: 14px;
    line-height: 1.8;
}

.achievement-anchor-only {
    height: 1px;
    margin: 0;
    padding: 0;
}

/* 空状态提示（材料暂未上传 / 内容整理中） */
.empty-hint {
    padding: 18px 16px;
    color: #6d8091;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
}

.sidebar-menu .empty-hint {
    padding: 10px 12px;
}

.achievement-page .inner-page .container {
    width: min(1480px, calc(100% - 48px));
}

.achievement-page .inner-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.achievement-page .inner-sidebar {
    width: 240px;
    flex-shrink: 0;
}

.achievement-page .inner-content {
    flex: 1;
    min-width: 0;
}

.achievement-page .content-card {
    padding: 18px;
}

.achievement-page .sidebar-card {
    padding: 16px 14px;
}

.achievement-page .sidebar-menu a {
    font-size: 14px;
    line-height: 1.5;
}

.achievement-page .achievement-table {
    min-width: 1040px;
}

.achievement-page .achievement-table-wrap {
    max-height: calc(100vh - 280px);
    overflow-y: auto;
    overflow-x: auto;
}

.achievement-page section#national-achievements > .achievement-block > .achievement-table-wrap {
    padding-top: 0;
    padding-bottom: 0;
}

.achievement-page section#provincial-achievements > .achievement-block > .achievement-table-wrap {
    padding-top: 0;
}

.annual-evidence-page .inner-sidebar {
    width: 220px;
}

.annual-evidence-page .achievement-table {
    width: 100%;
    min-width: 0;
}

.annual-evidence-page section#annual-evidence > .achievement-block > .achievement-table-wrap {
    padding-top: 0;
    padding-bottom: 0;
    overflow-x: hidden;
}

.annual-evidence-page .achievement-table td:nth-child(1),
.annual-evidence-page .achievement-table td:nth-child(2),
.annual-evidence-page .achievement-table td:nth-child(3) {
    text-align: left;
}

.annual-evidence-page .achievement-table td:nth-child(4) {
    text-align: left;
}

.annual-evidence-page .achievement-table th,
.annual-evidence-page .achievement-table td {
    padding: 8px 6px;
    font-size: 12px;
    line-height: 1.5;
    word-break: break-all;
}

.annual-evidence-page .achievement-table th {
    font-size: 14px;
}

.annual-evidence-page .annual-category-cell,
.annual-evidence-page .annual-name-cell {
    background-color: #f7fbff;
    font-weight: bold;
    vertical-align: middle;
}

.annual-evidence-page .annual-content-cell {
    white-space: pre-line;
}

.annual-evidence-page .annual-link-cell .table-link {
    white-space: nowrap;
}

.achievement-page .achievement-table th,
.achievement-page .achievement-table td {
    padding: 10px 8px;
    font-size: 13px;
    line-height: 1.6;
}

.achievement-page .achievement-table th {
    font-size: 15px;
    position: sticky;
    top: 0;
    z-index: 5;
    background-color: #6c9bcf;
}

.achievement-page .achievement-head h3 {
    font-size: 24px;
}

.news-archive-container {
    width: min(1380px, calc(100% - 48px));
}

.news-archive-content {
    width: 100%;
}

.news-archive-card {
    padding: 22px 24px 24px;
}

.news-archive-heading {
    margin-bottom: 18px;
}

.news-archive-table-wrap {
    overflow-x: auto;
}

.news-archive-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid #d7e8f7;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.news-archive-list li {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) 160px;
    align-items: center;
    column-gap: 18px;
    padding: 14px 18px;
    border-bottom: 1px solid #e8f1fa;
}

.news-archive-list li:last-child {
    border-bottom: none;
}

.news-archive-header {
    background: #6c9bcf;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.news-archive-major,
.news-archive-date {
    font-size: 14px;
    line-height: 1.7;
}

.news-archive-major {
    color: #1f3550;
    font-weight: 600;
}

.news-archive-header .news-archive-major,
.news-archive-header .news-archive-date,
.news-archive-header .news-archive-title-text {
    color: #fff;
}

.news-archive-title-text {
    min-width: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #1f3550;
    font-weight: 600;
}

.news-archive-list li a {
    min-width: 0;
    color: #31465a;
    font-size: 14px;
    line-height: 1.75;
    text-decoration: none;
    word-break: break-word;
}

.news-archive-list li a:hover {
    color: #0780de;
    text-decoration: underline;
}

.news-archive-date {
    color: #6f8295;
    white-space: nowrap;
    text-align: right;
}

.news-archive-empty {
    display: block !important;
    padding: 28px 20px !important;
    color: #6f8295;
    text-align: center;
}

@media (max-width: 1280px) {
    .container {
        width: 94%;
    }

    /* 标题文字较长，容器变窄时同步缩小 */
    .inner-template .title h2 span:last-child,
    .home-page .title h2 {
        font-size: 24px;
    }
}

@media (max-width: 1100px) {
    /* logo 与标题并排放不下时，标题换到下一行居中 */
    .header-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .inner-template .title h2,
    .home-page .title h2 {
        align-items: center;
        text-align: center;
    }

    /* 导航放不下一行时按整项换行，不在词中间断开 */
    .navbar,
    .nav-links {
        height: auto;
    }

    .nav-links {
        flex-wrap: wrap;
        padding: 8px 0;
    }

    .nav-links > li > a {
        white-space: nowrap;
    }

    /* 横幅团队名称较长（11 个字），屏幕变窄时同步缩小，避免被裁切 */
    .banner-text h1 {
        font-size: 56px;
        letter-spacing: 6px;
    }
}

@media (max-width: 960px) {
    .banner-text h1 {
        font-size: 44px;
        letter-spacing: 4px;
    }

    .inner-layout {
        flex-direction: column;
    }

    .inner-sidebar {
        width: 100%;
    }

    .pdf-frame {
        height: 560px;
    }

    .carousel-card {
        flex-basis: 220px;
    }

    .gallery-stage {
        min-height: 420px;
        padding: 14px;
    }

    .program-carousel-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .program-carousel-image {
        height: 360px;
    }

    .program-carousel-thumbs {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .program-word-paper {
        padding: 36px 24px 42px;
    }

    .program-word-title {
        margin-bottom: 24px;
        font-size: 24px;
    }

    .program-word-figure-grid {
        grid-template-columns: 1fr;
    }

    .program-word-figure-grid-three,
    .program-word-figure-grid-four {
        grid-template-columns: 1fr;
    }

    .feature-word-page .program-word-paper {
        padding: 38px 24px 42px;
    }

    .feature-word-page .program-word-title {
        font-size: 26px;
        margin-bottom: 24px;
    }

    .program-word-lead,
    .program-word-heading,
    .program-word-paragraph {
        font-size: 16px;
    }


    .achievement-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .achievement-page .inner-page .container {
        width: 94%;
    }

    .achievement-page .inner-sidebar {
        width: 100%;
    }

    .news-archive-list li {
        grid-template-columns: 120px minmax(0, 1fr) 120px;
        column-gap: 12px;
        padding: 12px 14px;
    }
}

@media (max-width: 720px) {
    .news-archive-card {
        padding: 16px;
    }

    .news-archive-list li {
        grid-template-columns: 1fr;
        row-gap: 6px;
    }

    .news-archive-header {
        display: none;
    }

    .news-archive-major,
    .news-archive-date {
        text-align: left;
    }
}
