:root {
    --primary-blue: #2e1dab;
    --primary-dark: #110b68;
    --accent-purple: #791CB5;
    --accent-gold: #C9A227;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-light: #e0e0e0;
    --shadow: 0 4px 20px rgba(57, 34, 221, 0.08);
    --shadow-hover: 0 8px 30px rgba(57, 34, 221, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

/* Main Navigation - 在Hero下方 */
.main-nav {
    background-image: linear-gradient(to right, #791CB5, #3922dd);
    border-bottom: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%, rgba(0, 0, 0, 0.08) 100%);
    pointer-events: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
    z-index: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary-blue);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent-purple), var(--primary-blue));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: 1.4;
}

.nav-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

.nav-links a:hover span.en {
    color: rgba(255, 255, 255, 0.8);
}

.nav-links a.active {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

.nav-links a.active span.en {
    color: rgba(255, 255, 255, 0.9);
}

.lang-switch {
    display: flex;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 4px;
}

.lang-btn {
    padding: 6px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.8);
}

.lang-btn:hover {
    color: white;
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section - 全屏，无顶部导航，高度减小 */
.hero {
    min-height: 60vh;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--primary-blue) 50%, var(--primary-dark) 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 20% 80%, rgba(255,255,255,0.05) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%),
            radial-gradient(circle at 50% 50%, rgba(0,0,0,0.1) 0%, transparent 80%);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-image:
            linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}
/* Hero：无轮播图时仍用渐变 */
.hero {
    min-height: 60vh;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--primary-blue) 50%, var(--primary-dark) 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 0;
}

/* 轮播背景容器 */
.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

/* 单张轮播图：铺满、居中，默认透明，激活时显示 */
.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-bg-slide.active {
    opacity: 1;
}

/* 无轮播图时显示的渐变层（与原来 .hero-pattern 的视觉效果一致即可） */
.hero-fallback {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* 保证文字在轮播之上 */
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-light);
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-subtitle-cn {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    margin-bottom: 0.5rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle-en {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.hero-info-item svg {
    width: 24px;
    height: 24px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--text-light);
    color: var(--primary-blue);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Countdown Section - 在导航下方 */
.countdown-section {
    background: var(--bg-light);
    padding: 0 2rem;
    position: relative;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out, opacity 0.4s ease-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

.countdown-section.expanded {
    max-height: 500px;
    padding: 3rem 2rem;
    opacity: 1;
}

.countdown-section.collapsed {
    max-height: 0;
    padding: 0 2rem;
    opacity: 0;
    overflow: hidden;
}

.countdown-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    color: var(--text-dark);
}

.countdown-close-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

/* 浮动倒计时卡片 */
.countdown-floating-card {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, var(--accent-purple), var(--primary-blue));
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 999;
    min-width: 110px;
    transition: var(--transition);
    cursor: pointer;
}

.countdown-floating-card:hover {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
    transform: translateX(-5px);
}

/* 单页模板：浮动卡片默认显示（桌面端） */
body.page-template .countdown-floating-card {
    display: block;
}

.floating-countdown-title {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.floating-countdown-title .zh {
    font-size: 0.75rem;
    line-height: 1.2;
}

.floating-countdown-title .en {
    font-size: 0.65rem;
    opacity: 0.85;
    line-height: 1.2;
}

body.lang-en .floating-countdown-title .zh {
    order: 2;
    font-size: 0.65rem;
    opacity: 0.85;
}

body.lang-en .floating-countdown-title .en {
    order: 1;
    font-size: 0.75rem;
}

.floating-countdown-timer {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
}

.floating-countdown-item {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.floating-countdown-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.floating-countdown-unit {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.05rem;
}

.floating-countdown-unit .zh {
    font-size: 0.6rem;
    line-height: 1.2;
}

.floating-countdown-unit .en {
    font-size: 0.5rem;
    opacity: 0.85;
    line-height: 1.2;
}

body.lang-en .floating-countdown-unit .zh {
    order: 2;
    font-size: 0.5rem;
    opacity: 0.85;
}

body.lang-en .floating-countdown-unit .en {
    order: 1;
    font-size: 0.6rem;
}

.countdown-section .countdown {
    margin-top: 0;
}

.countdown {
    margin-top: 0;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.countdown-section .countdown-label {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-align: center;
}

.countdown-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.countdown-item {
    text-align: center;
}

.countdown-section .countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent-purple), var(--primary-blue));
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    min-width: 70px;
}

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 10px;
    min-width: 70px;
}

.countdown-unit {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 8px;
}

/* Sections */
section {
    padding: 5rem 2rem;
}

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

.section-header {
    text-align: left;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.section-title-en {
    font-size: 1rem;
    color: var(--primary-blue);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-purple), var(--primary-blue));
    margin: 1rem 0;
    border-radius: 2px;
}

/* Introduction Section */
#introduction {
    background: var(--bg-white);
}

.introduction-content {
    max-width: 100%;
}

.introduction-text {
    margin-bottom: 3rem;
    line-height: 1.8;
    font-size: 1rem;
    color: var(--text-dark);
}

.introduction-text p {
    margin-bottom: 1rem;
}

.introduction-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.intro-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: none;
}

.intro-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.intro-card h3 svg {
    width: 24px;
    height: 24px;
    color: var(--primary-blue);
}

.intro-downloads {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.intro-download-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.intro-download-link:hover {
    color: var(--primary-dark);
    padding-left: 0.5rem;
}

.intro-download-link:last-child {
    border-bottom: none;
}

.intro-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.intro-buttons .btn {
    width: 100%;
    justify-content: center;
}

.intro-buttons .btn-primary {
    background: linear-gradient(135deg, var(--accent-purple), var(--primary-blue));
    color: white;
    border: none;
}

.intro-buttons .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(57, 34, 221, 0.3);
}

.intro-buttons .btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.intro-buttons .btn-outline:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#intro-dates-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#intro-dates-list .date-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

#intro-dates-list .date-item:last-child {
    border-bottom: none;
}

#intro-dates-list .date-item .label {
    font-weight: 500;
    color: var(--text-dark);
}

#intro-dates-list .date-item .date {
    color: var(--primary-blue);
    font-weight: 600;
}

/* About Section */
#about {
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* 有图片时的样式 */
.about-card.has-image {
    padding: 0;
}

.about-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--accent-purple), var(--primary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 12px 0 0; /* 保留上面的倒角 */
    overflow: hidden;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.about-content {
    padding: 2rem;
}

/* 无图片时的图标样式 */
.about-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-purple), var(--primary-blue));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 2rem 1rem 2rem;
}

.about-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

/* 无图片时的内容区域 */
.about-card:not(.has-image) .about-content {
    padding-top: 0;
}

.about-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.about-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Committee Section */
#committee {
    background: var(--bg-white);
}

.committee-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 24px;
    border: 2px solid var(--primary-blue);
    background: transparent;
    color: var(--primary-blue);
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-blue);
    color: white;
}

/* Special Sessions tabs 样式（一条线上的按钮切换） */
.special-sessions-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 0;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-light);
}

.special-sessions-tabs .tab-btn {
    padding: 12px 20px;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--text-dark);
}

.special-sessions-tabs .tab-btn:hover {
    color: var(--primary-blue);
}

.special-sessions-tabs .tab-btn.active {
    color: white;
    border-bottom-color: var(--primary-blue);
    background: var(--primary-blue);
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    justify-items: start;
}

.committee-card {
    background: var(--bg-white);
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.committee-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.committee-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-purple), var(--primary-blue));
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    overflow: hidden;
}

/* 有图片时不显示背景 */
.committee-avatar.has-image {
    background: none;
}

.committee-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.committee-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--primary-dark);
}

.committee-card .title {
    font-size: 0.85rem;
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
}

.committee-card .affiliation {
    font-size: 0.85rem;
    color: #666;
}

.committee-card .topic {
    font-size: 0.85rem;
    color: var(--primary-blue);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Speakers Section */
#speakers {
    background: var(--bg-light);
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    justify-items: start;
}

/* 演讲嘉宾使用和组织架构一样的样式 */
.speakers-grid .committee-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    width: 100%;
    max-width: 100%;
}

.speakers-grid .committee-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.speakers-grid .committee-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-purple), var(--primary-blue));
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    overflow: hidden;
}

.speakers-grid .committee-avatar.has-image {
    background: none;
}

.speakers-grid .committee-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}


.speaker-info .affiliation {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}

.speaker-topic {
    background: var(--bg-light);
    padding: 0.8rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.speaker-topic strong {
    color: var(--primary-blue);
}

/* Sponsors Section */
#sponsors {
    background: var(--bg-white);
}

.sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: flex-start;
}

.sponsor-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.sponsor-link:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.sponsor-image {
    max-width: 200px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sponsors-empty {
    width: 100%;
}

/* Schedule Section */
#schedule {
    background: var(--bg-white);
}

.schedule-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.schedule-content {
    max-width: 900px;
    margin: 0 auto;
}

.schedule-day {
    display: none;
}

.schedule-day.active {
    display: block;
}

.schedule-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.schedule-item:hover {
    background: rgba(0, 82, 165, 0.05);
}

.schedule-time {
    min-width: 100px;
    font-weight: 600;
    color: var(--primary-blue);
}

.schedule-details h4 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
    color: var(--primary-dark);
}

.schedule-details .speaker-name {
    font-size: 0.9rem;
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
}

.schedule-details .location {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.schedule-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 10px;
}

.tag-keynote {
    background: var(--accent-gold);
    color: white;
}

.tag-session {
    background: var(--primary-blue);
    color: white;
}

.tag-break {
    background: #e0e0e0;
    color: #666;
}

/* Special Sessions Section */
#special-sessions {
    background: var(--bg-white);
}

.special-sessions-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 0;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-light);
}

.special-sessions-content {
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow-x: hidden;
}

.special-sessions-panel {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.special-sessions-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.special-sessions-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.special-session-item {
    background: transparent;
    border-radius: 0;
    padding: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.special-session-item:hover {
    box-shadow: none;
    transform: none;
}

.special-session-image {
    width: 100%;
    max-width: 100%;
    max-height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.special-session-image img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

.special-session-content {
    flex: 1;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.special-session-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.special-session-overview {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.special-session-body {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.8;
    width: 100%;
    max-width: 100%;
    overflow-x: auto; /* 超出部分可以横向滚动 */
    overflow-y: visible;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 处理后台编辑器可能产生的不规范内容 */
.special-session-body * {
    max-width: 100%;
    box-sizing: border-box;
}

.special-session-body img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

.special-session-body table {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
}

.special-session-body table thead,
.special-session-body table tbody,
.special-session-body table tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.special-session-body pre,
.special-session-body code {
    max-width: 100%;
    overflow-x: auto;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.special-session-body iframe,
.special-session-body embed,
.special-session-body object,
.special-session-body video {
    max-width: 100% !important;
    height: auto;
}

.special-session-body p {
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.special-session-body h1,
.special-session-body h2,
.special-session-body h3,
.special-session-body h4 {
    color: var(--primary-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.special-session-body ul,
.special-session-body ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.special-session-body a {
    color: var(--primary-blue);
    text-decoration: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.special-session-body a:hover {
    text-decoration: underline;
}

/* Call for Papers Section */
#papers {
    background: var(--bg-light);
}

.papers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.papers-info h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.papers-info p {
    color: #666;
    margin-bottom: 1.5rem;
}

.topics-list {
    list-style: none;
}

.topics-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.topics-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
}

.important-dates {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.important-dates h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.date-item:last-child {
    border-bottom: none;
}

.date-item .label {
    color: #555;
}

.date-item .date {
    font-weight: 600;
    color: var(--primary-blue);
}

.downloads {
    margin-top: 2rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}

.download-btn:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

/* News Section */
#news {
    background: var(--bg-white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.news-image {
    height: 180px;
    background: linear-gradient(135deg, var(--accent-purple), var(--primary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.news-image.has-image {
    background: none;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.news-image svg {
    width: 60px;
    height: 60px;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    font-size: 0.8rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.news-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.news-content p {
    font-size: 0.9rem;
    color: #666;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 1rem;
    font-weight: 500;
}

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

/* Contact Section */
#contact {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.contact-text h4 {
    font-size: 0.95rem;
    color: var(--primary-dark);
    margin-bottom: 0.2rem;
}

.contact-text p,
.contact-text a {
    font-size: 0.9rem;
    color: #666;
    text-decoration: none;
}

.contact-text a:hover {
    color: var(--primary-blue);
}

.contact-map {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 350px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0e8ff, #e0d4ff);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    position: relative;
    overflow: hidden;
}


.map-placeholder svg {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* 酒店卡片样式 */
.hotel-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hotel-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0e8ff, #e0d4ff);
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hotel-info {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-white);
}

.hotel-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.hotel-info p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-dark), #1a1470);
    color: var(--text-light);
    padding: 3rem 2rem 1.5rem;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.3rem 0;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.xiamen-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0 !important;
}

.xiamen-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    transition: var(--transition);
}

.xiamen-link:hover .xiamen-image {
    transform: scale(1.05);
    opacity: 0.9;
}

.xiamen-link span {
    display: block;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        height: 60px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--accent-purple), var(--primary-blue));
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
        z-index: 1001;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }
    
    .countdown-section {
        padding: 0 1rem;
    }
    
    .countdown-section.expanded {
        padding: 2rem 1rem;
    }
    
    .countdown-section.collapsed {
        padding: 0 1rem;
    }
    
    .countdown-floating-card {
        bottom: 15px;
        right: 10px;
        padding: 0.6rem 0.8rem;
        min-width: 100px;
    }
    
    .floating-countdown-title {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
        padding-bottom: 0.3rem;
    }
    
    .floating-countdown-title .zh {
        font-size: 0.7rem;
    }
    
    .floating-countdown-title .en {
        font-size: 0.6rem;
    }
    
    .floating-countdown-number {
        font-size: 1rem;
    }
    
    .floating-countdown-unit {
        font-size: 0.55rem;
    }
    
    .floating-countdown-unit .zh {
        font-size: 0.55rem;
    }
    
    .floating-countdown-unit .en {
        font-size: 0.45rem;
    }
    
    .countdown-floating-card {
        display: none !important;
    }

    .hero-content {
        padding: 2rem 1rem;
    }
    
    .hero {
        min-height: 50vh;
    }
    
    .introduction-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .committee-grid,
    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .sponsors-grid {
        gap: 1.5rem;
    }
    
    .sponsor-image {
        max-width: 150px;
        max-height: 100px;
    }
    
    .introduction-cards {
        grid-template-columns: 1fr;
    }
    
    .special-sessions-tabs {
        gap: 0.5rem;
    }
    
    .special-session-item {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .special-session-title {
        font-size: 1.25rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .special-session-overview {
        font-size: 0.95rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .special-session-body {
        font-size: 0.95rem;
        width: 100%;
        max-width: 100%;
        overflow-x: auto; /* 移动端超出部分可以横向滚动 */
        -webkit-overflow-scrolling: touch; /* iOS平滑滚动 */
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* 移动端特别处理表格 */
    .special-session-body table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 0.9rem;
    }
    
    .special-session-body table thead,
    .special-session-body table tbody,
    .special-session-body table tr {
        display: table;
        width: 100%;
        table-layout: auto;
    }
    
    .special-session-body table td,
    .special-session-body table th {
        white-space: nowrap;
        padding: 0.5rem;
        min-width: 80px;
    }
    
    /* 移动端处理列表 */
    .special-session-body ul,
    .special-session-body ol {
        margin-left: 1rem;
        padding-left: 1rem;
    }
    
    /* 移动端处理代码块 */
    .special-session-body pre {
        font-size: 0.85rem;
        padding: 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .section-header {
        text-align: left;
    }
    
    @media (max-width: 480px) {
        .committee-grid,
        .speakers-grid {
            grid-template-columns: 1fr;
        }
    }

    .hero-info {
        flex-direction: column;
        gap: 1rem;
    }

    .countdown-timer {
        gap: 0.8rem;
    }

    .countdown-section .countdown-number {
        font-size: 1.8rem;
        padding: 10px 15px;
        min-width: 55px;
    }
    
    .countdown-number {
        font-size: 1.8rem;
        padding: 10px 15px;
        min-width: 55px;
    }

    section {
        padding: 3rem 1rem;
    }

    .papers-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .schedule-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .schedule-time {
        min-width: auto;
    }
}

/* Hide English content by default */
.en {
    display: none;
}

.zh {
    display: block;
}

body.lang-en .en {
    display: block;
}

body.lang-en .zh {
    display: none;
}

/* Inline elements */
span.en, span.zh {
    display: inline;
}

body.lang-en span.en {
    display: inline;
}

body.lang-en span.zh {
    display: none;
}

/* 导航栏中文模式下的样式优化 */
.nav-links a span.zh {
    display: block;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.9);
}

.nav-links a span.en {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
    margin-top: 2px;
}

body.lang-en .nav-links a span.zh {
    display: none;
}

body.lang-en .nav-links a span.en {
    display: block;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0;
}

body.lang-en .nav-links a {
    flex-direction: row;
}

/* ==========================================
   新闻弹窗样式
   ========================================== */

.news-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-modal.active {
    display: flex;
    opacity: 1;
}

.news-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.news-modal-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    margin: auto;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.news-modal.active .news-modal-container {
    transform: scale(1);
}

.news-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: var(--transition);
    color: var(--text-dark);
}

.news-modal-close:hover {
    background: var(--bg-white);
    transform: rotate(90deg);
}

.news-modal-content {
    overflow-y: auto;
    flex: 1;
}

.news-modal-header {
    padding: 2.5rem 2.5rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.news-modal-date {
    font-size: 0.85rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.news-modal-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.4;
    margin: 0;
}

.news-modal-image {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    background: transparent;
    padding: 0 2.5rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-modal-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.news-modal-body {
    padding: 2rem 2.5rem;
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1rem;
}

.news-modal-body p {
    margin-bottom: 1rem;
}

.news-modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.news-modal-body h1,
.news-modal-body h2,
.news-modal-body h3,
.news-modal-body h4 {
    color: var(--primary-dark);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.news-modal-body h1 { font-size: 1.75rem; }
.news-modal-body h2 { font-size: 1.5rem; }
.news-modal-body h3 { font-size: 1.25rem; }
.news-modal-body h4 { font-size: 1.1rem; }

.news-modal-body ul,
.news-modal-body ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.news-modal-body li {
    margin-bottom: 0.5rem;
}

.news-modal-body a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.news-modal-body a:hover {
    color: var(--primary-dark);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-modal-container {
        max-width: 95%;
        max-height: 95vh;
        border-radius: 12px;
    }
    
    .news-modal-header {
        padding: 2rem 1.5rem 1rem;
    }
    
    .news-modal-title {
        font-size: 1.4rem;
    }
    
    .news-modal-image {
        padding: 0 1.5rem;
        margin-top: 1rem;
        max-height: 300px;
    }
    
    .news-modal-body {
        padding: 1.5rem;
        font-size: 0.95rem;
    }
    
    .news-modal-close {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
    }
}

/* Page Content Section - 单页内容区域 */
.page-content-section {
    background: var(--bg-white);
    padding: 4rem 0;
    min-height: 60vh;
}

/* Page 页面容器确保有边距 */
body.page-template .page-content-section .section-container {
    padding: 0 2rem;
}

/* 单页模板：Hero 高度缩小到 20vh */
body.page-template .hero {
    min-height: 20vh;
}

/* 单页模板：移除导航选中效果 */
body.page-template .nav-links a.active {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
}

body.page-template .nav-links a.active span.en {
    color: rgba(255, 255, 255, 0.8);
}

.page-header {
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: none;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
}

.page-title .zh {
    display: block;
}

.page-title .en {
    display: block;
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 400;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.lang-en .page-title .zh {
    display: none;
}

body.lang-en .page-title .en {
    display: block;
    font-size: 2.5rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-top: 0;
    text-transform: none;
    letter-spacing: 0;
}

.page-body {
    line-height: 1.8;
    color: var(--text-dark);
}

.page-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.page-content p {
    margin-bottom: 1.5rem;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    color: var(--primary-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.page-content h1 {
    font-size: 2rem;
}

.page-content h2 {
    font-size: 1.75rem;
}

.page-content h3 {
    font-size: 1.5rem;
}

.page-content h4 {
    font-size: 1.25rem;
}

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

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.page-content a:hover {
    color: var(--accent-purple);
    text-decoration: underline;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.page-content table th,
.page-content table td {
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    text-align: left;
}

.page-content table th {
    background: var(--bg-light);
    color: var(--primary-dark);
    font-weight: 600;
}

.page-content blockquote {
    border-left: 4px solid var(--primary-blue);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: #666;
    font-style: italic;
}

@media (max-width: 768px) {
    /* 单页模板：移动端 Hero 高度 */
    body.page-template .hero {
        min-height: 20vh;
    }
    
    /* 单页模板：移动端隐藏浮动卡片 */
    body.page-template .countdown-floating-card {
        display: none !important;
    }
    
    .page-content-section {
        padding: 2rem 0;
        min-height: 50vh;
    }
    
    /* 移动端 page 页面内容区域添加左右边距 */
    body.page-template .page-content-section {
        padding: 2rem 1rem !important; /* 上下2rem，左右1rem */
    }
    
    body.page-template .page-content-section .section-container {
        padding: 0 !important; /* 移除容器的padding，由外层控制 */
        max-width: 100%;
    }
    
    body.page-template .page-header {
        padding: 0;
        margin-bottom: 2rem;
    }
    
    body.page-template .page-body {
        padding: 0;
    }
    
    body.page-template .page-content {
        padding: 0;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .page-title .en {
        font-size: 1rem;
    }

    body.lang-en .page-title .en {
        font-size: 1.8rem;
    }

    .page-content {
        font-size: 1rem;
    }

    .page-content h1 {
        font-size: 1.5rem;
    }

    .page-content h2 {
        font-size: 1.35rem;
    }

    .page-content h3 {
        font-size: 1.2rem;
    }
}