/* ============== 基础重置 ============== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: #1d4ed8; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============== 通用布局 ============== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 40px 0; }
.section-gray { background: #f7f9fc; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-title {
    font-size: 30px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1d4ed8, #3b82f6);
    border-radius: 2px;
}
.section-subtitle { font-size: 16px; color: #6b7280; margin-top: 12px; }

/* ============== 顶部导航 ============== */
.site-header {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner { display: flex; align-items: center; height: 70px; gap: 20px; }
.header-tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-search {
    display: flex;
    align-items: center;
    background: #f3f4f6;
    border-radius: 20px;
    padding: 0 12px;
    height: 36px;
}
.header-search-input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    width: 140px;
    color: #374151;
}
.header-search-input::placeholder { color: #9ca3af; }
.header-search-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    line-height: 1;
}
.lang-toggle-btn {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.lang-toggle-btn:hover {
    background: linear-gradient(135deg, #1e40af, #1d4ed8);
    transform: scale(1.05);
}
.site-logo { display: flex; align-items: center; }
.site-logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
}
.site-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-left: 10px;
}
.site-logo-mark {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
}
.main-nav { display: flex; gap: 2px; flex-wrap: nowrap; }
.main-nav a {
    padding: 0 11px;
    height: 70px;
    line-height: 70px;
    font-size: 14px;
    color: #374151;
    position: relative;
    transition: color 0.2s;
    white-space: nowrap;
}
.main-nav a:hover { color: #1d4ed8; }
.main-nav a.active { color: #1d4ed8; font-weight: 600; }
.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 11px; right: 11px;
    height: 3px;
    background: #1d4ed8;
    border-radius: 3px 3px 0 0;
}
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-admin {
    padding: 6px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #6b7280;
    font-size: 13px;
    transition: all 0.2s;
}
.header-admin:hover { border-color: #1d4ed8; color: #1d4ed8; }

/* ============== 滚动新闻条 ============== */
.news-ticker-wrap {
    background: #e5e7eb;
    color: #1f2937;
}
.news-ticker {
    display: flex; align-items: center; height: 44px; gap: 14px;
}
.ticker-label {
    background: #1d4ed8;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
    letter-spacing: 1px;
}
.ticker-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 44px;
}
.ticker-list { position: absolute; top: 0; left: 0; right: 0; animation: ticker-scroll 40s linear infinite; }
.ticker-list:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}
.ticker-item {
    height: 44px;
    line-height: 44px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ticker-item a { color: #1f2937; }
.ticker-item a:hover { color: #1d4ed8; }
.ticker-item .ticker-date { opacity: 0.7; margin-right: 12px; font-size: 12px; }
.ticker-empty { height: 44px; line-height: 44px; font-size: 14px; opacity: 0.85; }

/* ============== 按钮 ============== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.25s;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.btn-primary { background: linear-gradient(135deg, #1d4ed8, #2563eb); color: #fff; }
.btn-primary:hover { background: linear-gradient(135deg, #1e40af, #1d4ed8); color: #fff; }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.25); color: #fff; }
.btn-outline { background: #fff; color: #1d4ed8; border: 2px solid #1d4ed8; }
.btn-outline:hover { background: #1d4ed8; color: #fff; }
.btn-danger { background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; }
.btn-danger:hover { background: linear-gradient(135deg, #dc2626, #b91c1c); color: #fff; }
.btn-red { background: linear-gradient(135deg, #dc2626, #ef4444); color: #fff; }
.btn-red:hover { background: linear-gradient(135deg, #b91c1c, #dc2626); color: #fff; }
.btn-red-outline { background: #fff; color: #dc2626; border: 2px solid #dc2626; }
.btn-red-outline:hover { background: #dc2626; color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 13px; border-radius: 8px; }

/* ============== 首页 Hero ============== */
.hero {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 120px 0 100px;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 50%, #0c1d4d 100%);
    z-index: 0;
}
.hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(59,130,246,0.25) 0%, transparent 50%);
}
.hero-inner { position: relative; z-index: 1; }
.hero-title { font-size: 48px; font-weight: 700; margin-bottom: 16px; letter-spacing: 2px; }
.hero-subtitle { font-size: 22px; font-weight: 300; margin-bottom: 12px; opacity: 0.95; }
.hero-desc { font-size: 15px; opacity: 0.85; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; }

/* ============== 首页 Banner 轮播 ============== */
.hero-carousel {
    position: relative;
    height: 420px;
    overflow: hidden;
    background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 50%, #0c1d4d 100%);
}
.carousel-slides {
    position: relative;
    height: 100%;
}
.carousel-slide {
    position: absolute;
    inset: 0;
    display: flex;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.carousel-slide.active {
    opacity: 1;
}
.carousel-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.carousel-slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,58,138,0.85), rgba(12,29,77,0.75));
}
.expo-slide-bg {
    background-size: cover !important;
    background-position: center !important;
}
.expo-slide-bg::after {
    background: rgba(0,0,0,0.4);
}
.carousel-slide-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
}
.carousel-slide-thumb {
    width: 280px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.carousel-slide-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel-slide-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: rgba(255,255,255,0.3);
}
.carousel-slide-text {
    flex: 1;
    color: #fff;
}
.carousel-slide-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 12px;
}
.carousel-slide-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}
.carousel-slide-summary {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.carousel-slide-cta {
    display: inline-block;
    padding: 10px 24px;
    background: #fff;
    color: #1d4ed8;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s;
}
.carousel-slide-cta:hover {
    background: #1d4ed8;
    color: #fff;
}
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}
.carousel-dot.active {
    background: #fff;
    width: 28px;
    border-radius: 5px;
}
.carousel-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}
.carousel-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    pointer-events: auto;
}
.carousel-arrow:hover {
    background: rgba(255,255,255,0.4);
}
.carousel-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* ============== 首页倒计时模块 ============== */
.countdown-section {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 45%, #3b82f6 100%);
    color: #fff;
    padding: 26px 0;
    position: relative;
    overflow: hidden;
}
.countdown-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.08) 0, transparent 40%);
    pointer-events: none;
}
.countdown-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    z-index: 1;
}
.countdown-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-shrink: 0;
}
.countdown-label {
    font-size: 16px;
    opacity: 0.95;
    white-space: nowrap;
}
.countdown-num {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    color: #fde68a;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
    animation: countdown-pulse 2.2s ease-in-out infinite;
    display: inline-block;
    font-variant-numeric: tabular-nums;
    min-width: 80px;
    text-align: center;
}
.countdown-year-tag {
    display: inline-block;
    font-size: 22px;
    margin-left: 2px;
    opacity: 0.8;
    cursor: help;
}
.countdown-unit {
    font-size: 20px;
    font-weight: 600;
    opacity: 0.95;
}
@keyframes countdown-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}
.countdown-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.95;
    flex: 1;
    min-width: 220px;
    justify-content: center;
}
.countdown-meta-strong {
    font-weight: 700;
    font-size: 15px;
}
.countdown-meta-sep {
    opacity: 0.6;
}
.countdown-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.countdown-cta {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}
.countdown-cta-primary {
    background: #fff;
    color: #1d4ed8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.countdown-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.countdown-cta-secondary {
    background: rgba(255,255,255,0.18);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.5);
}
.countdown-cta-secondary:hover {
    background: rgba(255,255,255,0.28);
    transform: translateY(-2px);
}
.countdown-empty {
    color: #fff;
    font-size: 16px;
    text-align: center;
    padding: 12px 0;
    opacity: 0.95;
}
@media (max-width: 768px) {
    .countdown-section { padding: 20px 0; }
    .countdown-card { justify-content: center; text-align: center; }
    .countdown-main { width: 100%; justify-content: center; }
    .countdown-num { font-size: 44px; min-width: 64px; }
    .countdown-meta { font-size: 13px; }
    .countdown-actions { width: 100%; justify-content: center; }
}

/* ============== 展会卡片 ============== */
.expo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.expo-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s;
    display: flex; flex-direction: column;
}
.expo-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.expo-card-head {
    padding: 28px 28px 20px;
    color: #fff;
    position: relative;
}
.expo-card-head.nanjing { background: linear-gradient(135deg, #dc2626, #ef4444); }
.expo-card-head.wuxi { background: linear-gradient(135deg, #1d4ed8, #3b82f6); }
.expo-tag { display: inline-block; background: rgba(255,255,255,0.2); padding: 2px 10px; border-radius: 4px; font-size: 12px; margin-bottom: 10px; }
.expo-card-head h3 { font-size: 20px; margin-bottom: 4px; }
.expo-card-head .expo-en { font-size: 12px; opacity: 0.8; }
.expo-card-body { padding: 24px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.expo-info-list { margin-bottom: 20px; }
.expo-info-list li { display: flex; padding: 8px 0; border-bottom: 1px dashed #e5e7eb; font-size: 14px; }
.expo-info-list li:last-child { border-bottom: 0; }
.expo-info-list .label { color: #6b7280; width: 80px; flex-shrink: 0; }
.expo-info-list .value { color: #1f2937; font-weight: 500; flex: 1; }
.expo-card-foot { margin-top: auto; display: flex; gap: 10px; }
.expo-card-foot a { flex: 1; }
.expo-cover-img { width: 100%; height: 160px; object-fit: cover; border-radius: 8px; margin-bottom: 16px; }

/* ============== 数据展示 ============== */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-top: 3px solid #1d4ed8;
}
.stat-num { font-size: 36px; font-weight: 700; color: #1d4ed8; margin-bottom: 6px; }
.stat-label { font-size: 14px; color: #6b7280; }
.stat-item .stat-num .unit { font-size: 16px; margin-left: 2px; color: #6b7280; font-weight: 400; }

/* ============== 首页行业动态 ============== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.2s;
    cursor: pointer;
    border: 1px solid #f1f5f9;
}
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: #1d4ed8;
}
.news-card-thumb {
    height: 140px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-card-thumb .news-thumb-placeholder {
    font-size: 36px;
    color: #d1d5db;
}
.news-card-body {
    padding: 16px;
}
.news-card-cat {
    display: inline-block;
    padding: 2px 8px;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 8px;
}
.news-card-title {
    font-size: 15px;
    color: #1f2937;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card:hover .news-card-title { color: #1d4ed8; }
.news-card-date {
    font-size: 12px;
    color: #9ca3af;
}

/* ============== 栏目入口 ============== */
.entry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.entry-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid #f1f5f9;
}
.entry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    border-color: transparent;
}
.entry-icon {
    width: 68px; height: 68px;
    color: #fff;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.entry-icon svg {
    width: 30px; height: 30px;
}
.entry-card h3 { font-size: 18px; color: #1f2937; margin-bottom: 10px; font-weight: 600; }
.entry-card p { color: #6b7280; font-size: 14px; line-height: 1.6; }

/* ============== 合作伙伴Logo墙 ============== */
.partners-section {
    padding: 50px 0;
    background: #fff;
}
.logo-wall {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
.logo-item {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 8px;
    padding: 10px;
    transition: all 0.3s;
    border: 1px solid #e5e7eb;
}
.logo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #1d4ed8;
}
.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ============== 首页杂志期刊封面 ============== */
.magazine-cover-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}
.magazine-cover-card {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/4;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.magazine-cover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.magazine-cover-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.magazine-cover-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 20px;
}
.mc-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}
.mc-sub {
    font-size: 14px;
    opacity: 0.9;
}
.mc-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: #fff;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    transform: translateY(100%);
    transition: transform 0.3s;
}
.magazine-cover-card:hover .mc-overlay {
    transform: translateY(0);
}
@media (max-width: 768px) {
    .magazine-cover-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* ============== 主办单位介绍 ============== */
.organizer-intro {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.organizer-content p {
    font-size: 15px;
    line-height: 1.9;
    color: #374151;
    margin-bottom: 16px;
    text-indent: 2em;
}
.organizer-content p:last-child {
    margin-bottom: 0;
}
.organizer-content strong {
    color: #1d4ed8;
}
.organizer-with-image {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.organizer-text {
    flex: 1;
}
.organizer-image {
    flex-shrink: 0;
    width: 400px;
}
.organizer-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
    .organizer-with-image {
        flex-direction: column;
    }
    .organizer-image {
        width: 100%;
    }
}

@keyframes sphereRotate {
    0% { transform: rotateX(-20deg) rotateY(0deg); }
    100% { transform: rotateX(-20deg) rotateY(360deg); }
}

/* ============== 底部 ============== */
.site-footer {
    background: #1f2937;
    color: #9ca3af;
    padding: 40px 0 0;
    font-size: 13px;
}
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 24px; padding-bottom: 30px; }
.footer-brand h4 { color: #fff; font-size: 18px; margin-bottom: 12px; }
.footer-brand p { line-height: 1.8; }
.footer-col h5 { color: #fff; font-size: 14px; margin-bottom: 14px; font-weight: 600; }
.footer-col li { padding: 4px 0; }
.footer-col a { color: #9ca3af; }
.footer-col a:hover { color: #fff; }
.footer-col-wechat { text-align: center; }
.footer-qrcode-img {
    width: 110px;
    height: 110px;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}
.footer-bottom {
    border-top: 1px solid #374151;
    padding: 20px 0;
    text-align: center;
    color: #6b7280;
    font-size: 12px;
}
.footer-bottom .record { margin: 0 8px; }
.footer-bottom a { color: #6b7280; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .record-icon { color: #ef4444; margin-right: 3px; }

/* ============== 内页通用 ============== */
.page-banner {
    background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
    color: #fff;
    padding: 70px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.page-banner h1 { font-size: 36px; font-weight: 700; margin-bottom: 12px; }
.page-banner p { font-size: 16px; opacity: 0.9; }

.breadcrumb {
    background: #f8fafc;
    padding: 16px 0;
    font-size: 14px;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
}
.breadcrumb a { color: #6b7280; }
.breadcrumb a:hover { color: #1d4ed8; }
.breadcrumb .sep { margin: 0 8px; color: #d1d5db; }
.breadcrumb .current { color: #1d4ed8; }

/* ============== 展会概况 ============== */
.exhibit-scope {
    margin-bottom: 40px;
    padding: 32px 0 12px;
}
.exhibit-scope-head {
    text-align: center;
    margin-bottom: 28px;
    position: relative;
}
.exhibit-scope-title {
    font-size: 26px;
    font-weight: 700;
    color: #1d4ed8;
    margin-bottom: 8px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}
.exhibit-scope-title::before,
.exhibit-scope-title::after {
    content: '';
    display: inline-block;
    width: 36px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1d4ed8);
    vertical-align: middle;
    margin: 0 14px;
    border-radius: 2px;
}
.exhibit-scope-title::after {
    background: linear-gradient(90deg, #1d4ed8, transparent);
}
.exhibit-scope-sub {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}
.exhibit-scope-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.exhibit-scope-card {
    background: #fff;
    border-radius: 12px;
    padding: 22px 22px 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}
.exhibit-scope-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-start, #1d4ed8), var(--accent-end, #3b82f6));
}
.exhibit-card-1 { --accent-start: #1d4ed8; --accent-end: #3b82f6; }
.exhibit-card-2 { --accent-start: #d97706; --accent-end: #f59e0b; }
.exhibit-card-3 { --accent-start: #059669; --accent-end: #10b981; }
.exhibit-card-4 { --accent-start: #7c3aed; --accent-end: #a855f7; }
.exhibit-card-5 { --accent-start: #db2777; --accent-end: #ec4899; }
.exhibit-scope-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.10);
    border-color: var(--accent-end, #3b82f6);
}
.exhibit-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.exhibit-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}
.exhibit-card-icon svg {
    width: 24px;
    height: 24px;
}
.exhibit-card-num {
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
    opacity: 0.55;
    font-variant-numeric: tabular-nums;
}
.exhibit-scope-cat {
    color: #1f2937;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: 0.5px;
}
.exhibit-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.exhibit-card-list li {
    color: #4b5563;
    font-size: 13.5px;
    line-height: 1.7;
    padding: 6px 0 6px 18px;
    position: relative;
    border-bottom: 1px dashed #f1f5f9;
}
.exhibit-card-list li:last-child {
    border-bottom: none;
}
.exhibit-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
}
@media (max-width: 900px) {
    .exhibit-scope-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .exhibit-scope-grid { grid-template-columns: 1fr; }
    .exhibit-scope-title { font-size: 22px; }
    .exhibit-scope-title::before,
    .exhibit-scope-title::after { width: 20px; margin: 0 8px; }
}

.about-tabs { display: flex; gap: 0; border-bottom: 2px solid #e5e7eb; margin-bottom: 30px; }
.about-tab {
    padding: 14px 24px;
    font-size: 15px;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
    background: none;
}
.about-tab.active { color: #1d4ed8; border-bottom-color: #1d4ed8; font-weight: 600; }
.about-tab:hover { color: #1d4ed8; }
.about-pane { display: none; }
.about-pane.active { display: block; animation: fadeIn 0.3s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.about-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}
.about-overview-text h3 { font-size: 22px; color: #1f2937; margin-bottom: 12px; }
.about-overview-text p { color: #4b5563; line-height: 1.9; margin-bottom: 10px; }
.about-organizers {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px dashed #d1d5db;
    font-size: 14px;
    line-height: 1.9;
}
.about-organizers-row {
    display: flex;
    gap: 6px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.about-organizers-row:last-child { margin-bottom: 0; }
.about-organizers-label {
    color: #1d4ed8;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}
.about-organizers-list {
    color: #4b5563;
    flex: 1;
    min-width: 0;
}
@media (max-width: 768px) {
    .about-organizers-row { flex-direction: column; gap: 2px; }
}
.about-overview-img {
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    color: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    display: flex; flex-direction: column; justify-content: center;
    min-height: 280px;
    position: relative;
}
.about-overview-img > * { position: relative; z-index: 1; }
.about-overview-img.wuxi { background: linear-gradient(135deg, #0891b2, #06b6d4); }
.about-overview-img h4 { font-size: 20px; margin-bottom: 8px; }
.about-overview-img .date-big { font-size: 28px; font-weight: 700; margin: 12px 0; }
.about-overview-img .venue { font-size: 15px; opacity: 0.9; }

.about-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 30px;
}
.about-info-item {
    background: #f7f9fc;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}
.about-info-item .num { font-size: 28px; font-weight: 700; color: #1d4ed8; }
.about-info-item .num .unit { font-size: 14px; color: #6b7280; margin-left: 2px; font-weight: 400; }
.about-info-item .label { color: #6b7280; font-size: 13px; margin-top: 4px; }

.about-features { margin-top: 40px; }
.about-features h3 { font-size: 20px; color: #1f2937; margin-bottom: 20px; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-item {
    background: #fff;
    border-radius: 10px;
    padding: 24px 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border-left: 3px solid #1d4ed8;
}
.feature-item .ftitle { font-weight: 600; color: #1f2937; margin-bottom: 8px; font-size: 15px; }
.feature-item .fdesc { color: #6b7280; font-size: 13px; line-height: 1.7; }

/* ============== 历届精彩回顾 ============== */
.gallery-section {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.gallery-section-head {
    text-align: center;
    margin-bottom: 26px;
}
.gallery-section-sub {
    color: #6b7280;
    font-size: 14px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.gallery-item {
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid #f1f5f9;
}
.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    border-color: #1d4ed8;
}
.gallery-img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f3f4f6;
}
.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.gallery-item:hover .gallery-img-wrap img {
    transform: scale(1.06);
}
.gallery-meta {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.gallery-edition {
    color: #1d4ed8;
    font-weight: 600;
    font-size: 14px;
}
.gallery-caption {
    color: #6b7280;
    font-size: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gallery-empty {
    grid-column: 1 / -1;
    padding: 40px 20px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}
.gallery-pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.gallery-page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #4b5563;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
.gallery-page-btn:hover:not(:disabled):not(.active) {
    border-color: #1d4ed8;
    color: #1d4ed8;
}
.gallery-page-btn.active {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff;
    border-color: #1d4ed8;
}
.gallery-page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.gallery-page-info {
    color: #6b7280;
    font-size: 13px;
    margin-left: 10px;
}
@media (max-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-section { padding: 22px 16px; }
}

/* ============== 杂志期刊 ============== */
.mag-pane { display: none; }
.mag-pane.active { display: block; }
.mag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mag-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.2s;
}
.mag-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.mag-cover {
    height: 220px;
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    color: #fff;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center;
    padding: 20px;
    position: relative;
}
.mag-cover.issue-1 { background: linear-gradient(135deg, #1d4ed8, #2563eb); }
.mag-cover.issue-2 { background: linear-gradient(135deg, #059669, #10b981); }
.mag-cover.issue-3 { background: linear-gradient(135deg, #d97706, #f59e0b); }
.mag-cover.issue-4 { background: linear-gradient(135deg, #7c3aed, #8b5cf6); }
.mag-cover.issue-5 { background: linear-gradient(135deg, #be185d, #db2777); }
.mag-cover.issue-6 { background: linear-gradient(135deg, #0891b2, #06b6d4); }
.mag-cover .m-title { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.mag-cover .m-issue { font-size: 14px; opacity: 0.85; margin-bottom: 14px; }
.mag-cover .m-cat { font-size: 12px; padding: 2px 10px; background: rgba(255,255,255,0.2); border-radius: 4px; }
.mag-card-body { padding: 18px 20px; }
.mag-card-body h4 { font-size: 16px; color: #1f2937; margin-bottom: 6px; }
.mag-card-body .m-desc { color: #6b7280; font-size: 13px; line-height: 1.7; }
.mag-card-foot { padding: 0 20px 18px; display: flex; gap: 10px; }
.mag-card-foot a { flex: 1; }

/* ============== 参展申请 ============== */
.apply-hero {
    background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
    color: #fff;
    padding: 50px 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
}
.apply-hero h2 { font-size: 24px; margin-bottom: 10px; }
.apply-hero p { font-size: 14px; opacity: 0.9; max-width: 700px; margin: 0 auto; }

.apply-flow { margin: 40px 0; }
.apply-flow h3 { font-size: 20px; color: #1f2937; margin-bottom: 24px; text-align: center; }
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.flow-step {
    text-align: center;
    position: relative;
    padding: 20px 14px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.flow-step .step-num {
    width: 38px; height: 38px;
    background: #1d4ed8;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
    font-size: 16px;
    font-weight: 700;
}
.flow-step h4 { font-size: 15px; color: #1f2937; margin-bottom: 6px; }
.flow-step p { font-size: 13px; color: #6b7280; line-height: 1.6; }

.apply-expos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 30px; }
.apply-expo-card {
    background: #fff;
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-top: 4px solid #1d4ed8;
}
.apply-expo-card.wuxi { border-top-color: #0891b2; }
.apply-expo-card h3 { color: #1f2937; font-size: 18px; margin-bottom: 8px; }
.apply-expo-card .expo-meta { color: #6b7280; font-size: 13px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px dashed #e5e7eb; }
.apply-expo-card .btn { width: 100%; display: block; }

.apply-tips {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 18px 22px;
    border-radius: 6px;
    color: #92400e;
    font-size: 13px;
    line-height: 1.8;
}
.apply-tips strong { color: #78350f; }

/* ============== 主场服务商 & 运输服务 ============== */
.service-vendor-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    max-width: 700px;
    margin: 0 auto;
}
.vendor-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}
.vendor-header h3 {
    color: #1d4ed8;
    font-size: 18px;
}
.vendor-info {
    margin-bottom: 20px;
}
.vendor-company {
    font-size: 18px;
    color: #1f2937;
    margin-bottom: 8px;
}
.vendor-info p {
    color: #4b5563;
    margin-bottom: 6px;
}
.vendor-services {
    margin-bottom: 20px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
}
.vendor-services h4 {
    color: #374151;
    margin-bottom: 10px;
    font-size: 14px;
}
.vendor-services ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.vendor-services li {
    color: #6b7280;
    font-size: 14px;
    padding-left: 16px;
    position: relative;
}
.vendor-services li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #1d4ed8;
}
.vendor-contact {
    padding-top: 16px;
    border-top: 1px dashed #e5e7eb;
}
.vendor-contact p {
    color: #374151;
    margin-bottom: 6px;
}
.transport-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
.transport-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-top: 4px solid #10b981;
}
.transport-card h4 {
    color: #1f2937;
    font-size: 16px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e5e7eb;
}
.transport-card p {
    color: #4b5563;
    font-size: 14px;
    margin-bottom: 8px;
}
@media (max-width: 768px) {
    .vendor-services ul { grid-template-columns: 1fr; }
    .transport-grid { grid-template-columns: 1fr; }
}

/* ============== 展商服务 ============== */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    transition: all 0.2s;
}
.service-card:hover { border-color: #1d4ed8; transform: translateY(-2px); }
.service-icon {
    width: 50px; height: 50px;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
    font-weight: 700;
}
.service-card h3 { font-size: 17px; color: #1f2937; margin-bottom: 8px; }
.service-card p { color: #6b7280; font-size: 13px; line-height: 1.7; margin-bottom: 12px; }
.service-card ul { color: #6b7280; font-size: 13px; }
.service-card li { padding: 3px 0; }
.service-card li::before { content: '·'; color: #1d4ed8; margin-right: 6px; font-weight: 700; }

.timeline { position: relative; padding: 20px 0; }
.timeline::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 2px;
    background: #e5e7eb;
    transform: translateX(-50%);
}
.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}
.timeline-item:nth-child(odd) { flex-direction: row; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-content {
    width: 45%;
    background: #fff;
    padding: 18px 22px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.timeline-content h4 { color: #1d4ed8; font-size: 15px; margin-bottom: 6px; }
.timeline-content p { color: #6b7280; font-size: 13px; line-height: 1.7; }
.timeline-dot {
    width: 14px; height: 14px;
    background: #1d4ed8;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #1d4ed8;
}

/* ============== 观众指引 ============== */
.visitor-tabs { display: flex; gap: 4px; margin-bottom: 20px; background: #fff; padding: 6px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); width: fit-content; }
.visitor-tab {
    padding: 8px 18px;
    background: none;
    color: #6b7280;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
.visitor-tab.active { background: #1d4ed8; color: #fff; }

.visitor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.visitor-card {
    background: #fff;
    border-radius: 10px;
    padding: 26px 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.visitor-card h3 { color: #1d4ed8; font-size: 17px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; }
.visitor-card li { padding: 6px 0; color: #4b5563; font-size: 14px; line-height: 1.7; }
.visitor-card li strong { color: #1f2937; margin-right: 8px; display: inline-block; min-width: 70px; }

/* 交通指引分组（仅交通卡片使用） */
.visitor-card .traffic-section { margin-bottom: 14px; }
.visitor-card .traffic-section:last-child { margin-bottom: 0; }
.visitor-card .traffic-section-title {
    color: #1d4ed8;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px;
    padding-left: 4px;
    border-left: 3px solid #1d4ed8;
    padding: 2px 0 2px 8px;
    background: #f8fafc;
    border-radius: 4px;
}
.visitor-card .traffic-section ul { margin-top: 4px; }

.visitor-pane { display: none; }
.visitor-pane.active { display: block; }

/* 展馆周边地图 */
.visitor-map {
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.visitor-map h3 { color: #1d4ed8; font-size: 18px; margin-bottom: 16px; }
.map-container {
    border-radius: 8px;
    overflow: hidden;
    background: #f3f4f6;
    min-height: 350px;
}
.map-container iframe { border: 0; display: block; }

/* ============== 新闻中心 ============== */
.news-layout { display: grid; grid-template-columns: 1fr 280px; gap: 30px; }
.news-list { background: #fff; border-radius: 10px; padding: 14px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.news-item {
    padding: 18px 16px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.news-item:hover { background: #f7f9fc; }
.news-item:last-child { border-bottom: 0; }
.news-thumb {
    width: 120px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-thumb-placeholder {
    font-size: 28px;
    color: #d1d5db;
}
.news-content { flex: 1; min-width: 0; }
.news-item h3 { color: #1f2937; font-size: 16px; margin-bottom: 6px; }
.news-item:hover h3 { color: #1d4ed8; }
.news-item .news-meta { color: #9ca3af; font-size: 12px; }
.news-item .news-meta .news-cat { color: #1d4ed8; margin-right: 10px; }
.news-item .news-summary { color: #6b7280; font-size: 13px; line-height: 1.7; margin-top: 6px; }

.news-aside { }
.aside-block { background: #fff; border-radius: 10px; padding: 20px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.aside-block h3 { color: #1f2937; font-size: 15px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid #1d4ed8; }
.aside-block li { padding: 8px 0; border-bottom: 1px dashed #f1f5f9; font-size: 13px; }
.aside-block li:last-child { border-bottom: 0; }
.aside-block .rank-num { display: inline-block; width: 18px; height: 18px; background: #e5e7eb; color: #6b7280; text-align: center; line-height: 18px; border-radius: 3px; margin-right: 6px; font-size: 11px; }
.aside-block li:nth-child(-n+3) .rank-num { background: #ef4444; color: #fff; }

.news-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.page-btn { padding: 6px 12px; border: 1px solid #e5e7eb; border-radius: 4px; color: #4b5563; font-size: 13px; cursor: pointer; background: #fff; }
.page-btn.active { background: #1d4ed8; color: #fff; border-color: #1d4ed8; }
.page-btn:hover:not(.active) { border-color: #1d4ed8; color: #1d4ed8; }

/* 新闻详情弹窗 */
.modal-mask {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    display: none;
    align-items: center; justify-content: center;
    padding: 20px;
}
.modal-mask.show { display: flex; }
.modal-content {
    background: #fff;
    width: 100%; max-width: 760px;
    max-height: 90vh;
    border-radius: 10px;
    overflow: hidden;
    display: flex; flex-direction: column;
    animation: modalIn 0.25s;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: none; } }
.modal-head {
    padding: 18px 24px;
    border-bottom: 1px solid #f1f5f9;
    display: flex; justify-content: space-between; align-items: center;
    position: relative; z-index: 2;
}
.modal-head h3 { color: #1f2937; font-size: 17px; }
.modal-close {
    width: 32px; height: 32px;
    border-radius: 6px;
    background: #f3f4f6;
    color: #6b7280;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    transition: all 0.2s;
    border: 0;
    position: relative;
    z-index: 5;
    pointer-events: auto;
}
.modal-close:hover { background: #fee2e2; color: #ef4444; }
.modal-body { padding: 24px; overflow: auto; flex: 1; }
.news-detail h2 { font-size: 22px; color: #1f2937; margin-bottom: 10px; }
.news-detail .news-meta { color: #9ca3af; font-size: 13px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid #f1f5f9; }
.news-detail .news-content { color: #374151; line-height: 1.9; font-size: 14px; }
.news-detail .news-content p { margin-bottom: 12px; }

/* ============== 返回顶部浮动按钮 ============== */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(29, 78, 216, 0.35), 0 2px 6px rgba(0,0,0,0.1);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.85);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.back-to-top:hover {
    background: linear-gradient(135deg, #1e40af, #1d4ed8);
    transform: translateY(-3px) scale(1.05);
}
.back-to-top:active {
    transform: translateY(0) scale(0.95);
}
@media (max-width: 600px) {
    .back-to-top {
        right: 14px;
        bottom: 18px;
        width: 42px;
        height: 42px;
        font-size: 19px;
    }
}

/* ============== 联系我们页面 ============== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-bottom: 28px;
}
.contact-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 26px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(29, 78, 216, 0.12);
    border-color: #dbeafe;
}
.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.contact-title {
    font-size: 19px;
    color: #1f2937;
    margin: 0 0 18px 0;
    font-weight: 700;
    padding-bottom: 14px;
    border-bottom: 2px dashed #e5e7eb;
}
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contact-person {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.person-name {
    font-size: 17px;
    color: #1d4ed8;
    font-weight: 700;
}
.person-meta {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
}
.person-meta a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s;
}
.person-meta a:hover {
    color: #1d4ed8;
}
.contact-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
    margin: 4px 0;
}
.contact-office {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border-radius: 14px;
    padding: 24px 28px;
    border-left: 4px solid #1d4ed8;
    margin-top: 8px;
}
@media (max-width: 760px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-card {
        padding: 22px 18px;
    }
}

/* ============== 管理后台 ============== */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 70px); }
.admin-sidebar {
    background: #1f2937;
    color: #d1d5db;
    padding: 20px 0;
}
.admin-logo {
    padding: 0 20px 20px;
    border-bottom: 1px solid #374151;
    margin-bottom: 16px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}
.admin-nav li a {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 20px;
    color: #d1d5db;
    font-size: 14px;
    transition: all 0.15s;
    border-left: 3px solid transparent;
}
.admin-nav li a:hover { background: #374151; color: #fff; }
.admin-nav li a.active { background: #1d4ed8; color: #fff; border-left-color: #fff; }

.admin-main { background: #f3f4f6; padding: 24px; }
.admin-header {
    background: #fff;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 16px;
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.admin-header h2 { font-size: 18px; color: #1f2937; }
.admin-header .admin-meta { color: #6b7280; font-size: 13px; }

.admin-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    margin-bottom: 16px;
}
.admin-card-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}
.admin-card-head h3 { color: #1f2937; font-size: 16px; }
.admin-toolbar { display: flex; gap: 8px; align-items: center; }
.admin-toolbar input, .admin-toolbar select {
    padding: 6px 10px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 13px;
    background: #fff;
    outline: none;
}
.admin-toolbar input:focus, .admin-toolbar select:focus { border-color: #1d4ed8; }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #f1f5f9; font-size: 13px; }
.admin-table th { background: #f9fafb; color: #6b7280; font-weight: 600; }
.admin-table tr:hover td { background: #f9fafb; }
.admin-table .row-title { color: #1f2937; font-weight: 500; }
.admin-table .row-actions { display: flex; gap: 6px; }
.admin-table .row-actions button {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.15s;
}
.admin-table .row-actions .edit:hover { border-color: #1d4ed8; color: #1d4ed8; }
.admin-table .row-actions .del:hover { border-color: #ef4444; color: #ef4444; }
.admin-table .badge { display: inline-block; padding: 1px 8px; background: #eff6ff; color: #1d4ed8; border-radius: 10px; font-size: 11px; }

.admin-empty { text-align: center; padding: 40px 20px; color: #9ca3af; }
.admin-empty .icon { font-size: 36px; margin-bottom: 8px; opacity: 0.5; }

.admin-form .form-group { margin-bottom: 14px; }
.admin-form label { display: block; color: #374151; font-size: 13px; margin-bottom: 6px; font-weight: 500; }
.admin-form label .req { color: #ef4444; margin-left: 2px; }
.admin-form input[type=text], .admin-form input[type=date], .admin-form select, .admin-form textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
}
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { border-color: #1d4ed8; }
.admin-form textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
.admin-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-form-actions { display: flex; gap: 8px; justify-content: flex-end; padding-top: 8px; border-top: 1px solid #f1f5f9; margin-top: 16px; }

/* 封面上传 */
.cover-upload-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.cover-hint { color: #9ca3af; font-size: 12px; }
.cover-preview {
    position: relative;
    width: 120px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}
.cover-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cover-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: rgba(239,68,68,0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cover-remove:hover { background: #dc2626; }

/* 富文本编辑器 */
.rich-editor-wrap {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    overflow: hidden;
}
.rich-toolbar {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 8px;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.rich-toolbar button {
    padding: 4px 10px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.15s;
}
.rich-toolbar button:hover {
    background: #1d4ed8;
    color: #fff;
    border-color: #1d4ed8;
}
.toolbar-sep {
    width: 1px;
    height: 24px;
    background: #e5e7eb;
    margin: 0 4px;
}
.toolbar-img-btn {
    padding: 4px 10px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
}
.toolbar-img-btn:hover {
    background: #1d4ed8;
    color: #fff;
    border-color: #1d4ed8;
}
.rich-editor {
    min-height: 200px;
    padding: 16px;
    outline: none;
    font-size: 14px;
    line-height: 1.8;
    background: #fff;
}
.rich-editor:empty:before {
    content: attr(data-placeholder);
    color: #9ca3af;
    pointer-events: none;
}
.rich-editor:focus {
    box-shadow: inset 0 0 0 2px rgba(29, 78, 216, 0.2);
}
.rich-editor p { margin-bottom: 12px; }
.rich-editor h2 { font-size: 20px; margin: 16px 0 8px; color: #1f2937; }
.rich-editor h3 { font-size: 16px; margin: 12px 0 6px; color: #374151; }
.rich-editor img { max-width: 100%; border-radius: 6px; margin: 8px 0; }
.rich-editor ul, .rich-editor ol { padding-left: 24px; margin: 8px 0; }
.rich-editor li { margin-bottom: 4px; }

.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 16px; }
.admin-stat-card { background: #fff; border-radius: 8px; padding: 18px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.admin-stat-card .stat-num { font-size: 24px; font-weight: 700; color: #1d4ed8; }
.admin-stat-card .stat-label { color: #6b7280; font-size: 12px; margin-top: 4px; }
.admin-stat-card .stat-progress {
    margin-top: 10px;
    width: 100%;
    height: 8px;
    background: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
}
.admin-stat-card .stat-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    width: 0%;
    transition: width 0.3s ease, background 0.3s ease;
}
.admin-stat-card .stat-progress-bar.warn { background: linear-gradient(90deg, #f59e0b, #d97706); }
.admin-stat-card .stat-progress-bar.danger { background: linear-gradient(90deg, #ef4444, #dc2626); }
.admin-stat-card .stat-hint {
    font-size: 11px;
    color: #6b7280;
    margin-top: 6px;
    line-height: 1.4;
}
.admin-stat-card .stat-hint.warn { color: #d97706; }
.admin-stat-card .stat-hint.danger { color: #dc2626; }

.toast {
    position: fixed; top: 30px; left: 50%; transform: translateX(-50%) translateY(-20px);
    background: #1f2937; color: #fff;
    padding: 10px 22px; border-radius: 6px;
    font-size: 13px;
    z-index: 300;
    opacity: 0;
    transition: all 0.25s;
    pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { background: #059669; }
.toast.error { background: #dc2626; }

/* ============== 响应式 ============== */
@media (max-width: 960px) {
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 18px; }
    .expo-grid, .about-overview, .visitor-grid, .apply-expos { grid-template-columns: 1fr; }
    .entry-grid, .mag-grid, .service-grid, .feature-list, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-grid, .about-info-grid, .flow-steps { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .news-layout { grid-template-columns: 1fr; }
    .main-nav { display: none; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .timeline::before { left: 20px; }
    .timeline-item, .timeline-item:nth-child(even) { flex-direction: row; padding-left: 50px; }
    .timeline-content { width: 100%; }
    .timeline-dot { left: 20px; }
    .carousel-slide-content { flex-direction: column; text-align: center; padding: 20px; }
    .carousel-slide-thumb { width: 200px; height: 120px; }
    .carousel-slide-title { font-size: 22px; }
}
@media (max-width: 600px) {
    .section { padding: 20px 0; }
    .section-title { font-size: 22px; }
    .entry-grid, .mag-grid, .service-grid, .feature-list, .footer-main, .stat-grid, .about-info-grid, .flow-steps, .admin-stats, .admin-form .form-row, .news-grid { grid-template-columns: 1fr; }
    .hero { padding: 70px 0 60px; }
    .hero-title { font-size: 26px; }
    .hero-cta { flex-direction: column; }
    .page-banner { padding: 40px 0; }
    .page-banner h1 { font-size: 24px; }
    .hero-carousel { height: 500px; }
    .carousel-slide-content { padding: 15px; gap: 15px; }
    .carousel-slide-thumb { width: 100%; height: 150px; }
    .carousel-slide-title { font-size: 18px; }
    .carousel-slide-summary { font-size: 12px; -webkit-line-clamp: 2; }
    .header-search-input { width: 100px; }
}
