* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

header {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

nav h1 a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 500;
}

.nav-menu a:hover {
    color: #3498db;
    background: rgba(255,255,255,0.1);
}

main {
    max-width: 1700px;
    margin: 2rem auto;
    padding: 0 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-height: 60vh;
}

/* Hero */
.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
                url('/static/images/hero-bg.jpg') center/cover no-repeat;
    color: white;
    margin: -20px -20px 2rem -20px;
    border-radius: 8px 8px 0 0;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    color: #ffffff;
    font-family: 'Microsoft YaHei', '微软雅黑', 'Arial Black', sans-serif;
    line-height: 1.2;
    animation: fadeInDown 1s ease-out;
    text-transform: uppercase;
    background: linear-gradient(90deg, #ffffff, #a0d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 300;
    color: #f0f0f0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Microsoft YaHei', '微软雅黑', 'Segoe UI', sans-serif;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out 0.3s both;
    border-top: 2px solid rgba(255,255,255,0.3);
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.hero-title-en {
    font-size: 15rem;
    font-weight: 400;
    color: #d0d0d0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
    font-family: 'Arial', sans-serif;
    letter-spacing: 5px;
    animation: fadeInDown 1s ease-out 0.2s both;
}

.hero-subtitle-en {
    font-size: 1.3rem;
    font-weight: 300;
    color: #e0e0e0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out 0.5s both;
    font-style: italic;
}

.hero-content.left {
    text-align: left;
    padding-left: 100px;
    align-items: flex-start;
}

.hero-content.right {
    text-align: right;
    padding-right: 100px;
    align-items: flex-end;
}

.hero-content.bottom {
    justify-content: flex-end;
    padding-bottom: 80px;
}

.hero-content.top {
    justify-content: flex-start;
    padding-top: 80px;
}

.hero-content h2 {
    font-size: 3.4rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 2.4rem;
    color: #f0f0f0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-content {
    font-size: 1.2rem;
}

/* 动画 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 内容区 */
.content-section {
    margin: 3rem 0;
}

.content-section h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #3498db;
    font-size: 1.8rem;
    text-align: center;
    font-weight: 600;
}

/* 文章卡片 */
.news-item,
.research-item {
    margin-bottom: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.news-item:hover,
.research-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.news-item h4 a,
.research-item h4 a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.news-item h4 a:hover,
.research-item h4 a:hover {
    color: #3498db;
}

/* 左右布局 */
.article-card {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.article-card-horizontal {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.article-image {
    flex-shrink: 0;
}

.article-image-large {
    width: 450px;
}

.article-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3; /* 宽600，高450 */
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #fff;
    display: block;
}

.article-info {
    flex: 1;
    min-width: 0;
}

.article-info-large {
    padding-top: 4px;
}

.article-info h4 {
    margin-top: 0;
    margin-bottom: 16px;
    line-height: 1.4;
}

.article-info h4 a {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1f2d3d;
    text-decoration: none;
}

.article-info h4 a:hover {
    color: #3498db;
}

.article-info .meta {
    margin-bottom: 18px;
    color: #666;
    font-size: 1rem;
}

.article-info p {
    margin: 0 0 14px 0;
    line-height: 1.9;
    font-size: 1.08rem;
    color: #444;
}

/* 成员区 */
/* 成员区 */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.member-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.member-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f8f8f8;
}


.member-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.member-info {
    padding: 1.2rem;
    text-align: center;
}

.member-info h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.6rem;
}

.member-position,
.member-title,
.member-research,
.member-email,
.member-company {
    margin: 0.35rem 0;
    color: #555;
    line-height: 1.6;
}

/* 研究方向图片 */
.research-image-container {
    width: 100% !important;
    height: 450px !important;
    border-radius: 12px !important;
    margin: 2.5rem 0 !important;
    overflow: hidden !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1) !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #f8f9fa !important;
}

.research-image-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

/* 页脚 */
footer {
    text-align: center;
    padding: 2rem 0;
    color: #666;
    font-size: 0.95rem;
}

/* 响应式 */
@media (max-width: 1200px) {
    .article-image-large {
        width: 380px;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .hero-subtitle {
        font-size: 1.6rem;
    }

    .hero-title-en {
        font-size: 9rem;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-title-en {
        font-size: 8rem;
    }

    .nav-menu li {
        margin-left: 1rem;
    }

    .article-image-large {
        width: 320px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    main {
        margin: 1rem auto;
        padding: 0 15px;
    }

    .hero {
        min-height: 360px;
        margin: -15px -15px 1.5rem -15px;
    }

    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .hero-title-en {
        font-size: 4rem;
        letter-spacing: 2px;
    }

    .hero-subtitle-en {
        font-size: 1rem;
    }

    .hero-content.left,
    .hero-content.right {
        text-align: center;
        padding-left: 20px;
        padding-right: 20px;
        align-items: center;
    }

    .hero-content.top {
        padding-top: 40px;
    }

    .hero-content.bottom {
        padding-bottom: 40px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.3rem;
    }

    .content-section h3 {
        font-size: 1.5rem;
    }

    .news-item,
    .research-item {
        padding: 1rem;
    }

    .article-card,
    .article-card-horizontal {
        flex-direction: column;
    }

    .article-image,
    .article-image-large {
        width: 100%;
    }

    .article-image img {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 4 / 3;
        height: auto;
    }

    .member-image {
        height: 260px;
    }

    .research-image-container {
        height: 320px !important;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 300px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-title-en {
        font-size: 3rem;
    }

    .hero-subtitle-en {
        font-size: 0.95rem;
    }

    .news-item h4 a,
    .research-item h4 a {
        font-size: 1.1rem;
    }

    .article-info h4 a {
        font-size: 1.25rem;
    }

    .member-image {
        height: 220px;
    }

    .research-image-container {
        height: 240px !important;
    }
}.venue {
    margin: 0 0 10px 0;
    color: #444;
    font-size: 0.98rem;
    line-height: 1.6;
}

.venue strong {
    color: #2c3e50;
}

.venue-name {
    color: #d93025;
    font-weight: 450;
}