/*
Theme Name: CNTP Magazine
Theme URI: https://www.cntp.org.cn
Author: CNTP
Author URI: https://www.cntp.org.cn
Description: 《中国新技术新产品》杂志社官方网站主题 - 天蓝色CNTP风格
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cntp
Tags: magazine, news, blue, custom-menu, featured-images, custom-colors
*/

/* ===== 基础重置 ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0288D1;
    --primary-blue-dark: #0277BD;
    --primary-blue-light: #03A9F4;
    --secondary-blue: #01579B;
    --secondary-blue-light: #0288D1;
    --accent-gold: #C99A3A;
    --bg-gray: #F5F6FA;
    --bg-light: #FFFFFF;
    --text-dark: #2C2C2C;
    --text-medium: #555555;
    --text-light: #888888;
    --border-color: #E0E0E0;
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 2px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --header-height: 100px;
    --nav-height: 48px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-gray);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover { color: var(--primary-blue); }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ===== 顶部工具栏 ===== */
.top-bar { background: #F0F0F0; border-bottom: 1px solid var(--border-color); height: 34px; line-height: 34px; font-size: 13px; color: var(--text-medium); }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { display: flex; align-items: center; gap: 16px; }
.top-bar-left .date { color: var(--text-light); }
.top-bar-right { display: flex; align-items: center; gap: 20px; }
.top-bar-right a { color: var(--text-medium); font-size: 13px; }
.top-bar-right a:hover { color: var(--primary-blue); }
.top-bar-right .divider { color: #CCC; }

/* ===== 网站头部 ===== */
.site-header { background: var(--bg-light); padding: 20px 0; box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.header-left { display: flex; align-items: center; gap: 18px; }
.header-logo { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.header-logo img { width: 100%; height: 100%; object-fit: contain; }
.header-title h1 { font-size: 28px; font-weight: 700; color: var(--primary-blue); letter-spacing: 2px; margin-bottom: 4px; }
.header-title .subtitle { font-size: 13px; color: var(--text-light); letter-spacing: 1px; }
.header-title .subtitle span { margin-right: 12px; }
.header-right { display: flex; align-items: center; gap: 16px; }
.search-box { display: flex; align-items: center; border: 2px solid var(--primary-blue); border-radius: 4px; overflow: hidden; height: 38px; }
.search-box input { width: 220px; border: none; outline: none; padding: 0 12px; font-size: 14px; height: 100%; font-family: inherit; }
.search-box button { background: var(--primary-blue); color: #FFF; border: none; height: 100%; padding: 0 16px; cursor: pointer; font-size: 14px; font-family: inherit; transition: var(--transition); }
.search-box button:hover { background: var(--primary-blue-dark); }

/* ===== 导航栏 ===== */
.main-nav { background: var(--primary-blue); height: var(--nav-height); position: relative; z-index: 100; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); }
.main-nav .container { display: flex; align-items: center; height: 100%; }
.nav-list { display: flex; height: 100%; }
.nav-list > li { position: relative; height: 100%; list-style: none; }
.nav-list > li > a { display: flex; align-items: center; height: 100%; padding: 0 24px; color: #FFF; font-size: 16px; font-weight: 500; transition: var(--transition); border-bottom: 3px solid transparent; }
.nav-list > li > a:hover, .nav-list > li.current-menu-item > a, .nav-list > li.current_page_item > a { background: rgba(255, 255, 255, 0.15); border-bottom-color: var(--accent-gold); }
.nav-list > li > a .nav-icon { margin-right: 6px; font-size: 14px; }

/* 下拉菜单 */
.dropdown { position: absolute; top: 100%; left: 0; background: #FFF; min-width: 180px; box-shadow: var(--shadow-lg); border-radius: 0 0 4px 4px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); z-index: 200; }
.nav-list > li:hover .dropdown, .nav-list > li:hover .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a, .sub-menu li a { display: block; padding: 10px 20px; color: var(--text-dark); font-size: 14px; border-bottom: 1px solid var(--border-color); }
.dropdown li:last-child a, .sub-menu li:last-child a { border-bottom: none; }
.dropdown li a:hover, .sub-menu li a:hover { background: var(--bg-gray); color: var(--primary-blue); padding-left: 26px; }

/* WordPress sub-menu */
.nav-list .sub-menu { position: absolute; top: 100%; left: 0; background: #FFF; min-width: 180px; box-shadow: var(--shadow-lg); border-radius: 0 0 4px 4px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); z-index: 200; list-style: none; }
.nav-list .sub-menu li { list-style: none; }

/* 移动端菜单 */
.nav-toggle { display: none; background: none; border: none; color: #FFF; font-size: 24px; cursor: pointer; padding: 8px; }

/* ===== 通用区块 ===== */
.section { padding: 30px 0; }
.section-gray { background: var(--bg-gray); }
.section-white { background: var(--bg-light); }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 2px solid var(--primary-blue); padding-bottom: 10px; }
.section-header .section-title { display: flex; align-items: center; gap: 10px; }
.section-header .section-title h2 { font-size: 22px; font-weight: 700; color: var(--text-dark); }
.section-header .section-title .title-en { font-size: 13px; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }
.section-header .section-title .title-bar { width: 4px; height: 22px; background: var(--primary-blue); border-radius: 2px; }
.section-header .more-link { font-size: 14px; color: var(--text-light); display: flex; align-items: center; gap: 4px; }
.section-header .more-link:hover { color: var(--primary-blue); }

/* ===== 面包屑 ===== */
.breadcrumb { background: var(--bg-light); padding: 12px 0; border-bottom: 1px solid var(--border-color); font-size: 13px; color: var(--text-light); }
.breadcrumb a { color: var(--text-medium); }
.breadcrumb a:hover { color: var(--primary-blue); }
.breadcrumb .separator { margin: 0 8px; color: #CCC; }
.breadcrumb .current { color: var(--primary-blue); }

/* ===== 轮播图区域 ===== */
.hero-section { background: var(--bg-light); padding: 24px 0; }
.hero-wrapper { display: grid; grid-template-columns: 1fr 360px; gap: 20px; }
.carousel { position: relative; width: 100%; height: 400px; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-md); }
.carousel-track { width: 100%; height: 100%; position: relative; }
.carousel-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s ease; }
.carousel-slide.active { opacity: 1; }
.carousel-slide .slide-bg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; position: relative; }
.carousel-slide .slide-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.75)); color: #FFF; }
.carousel-slide .slide-content h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.carousel-slide .slide-content p { font-size: 14px; opacity: 0.9; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0, 0, 0, 0.4); color: #FFF; border: none; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 20px; display: flex; align-items: center; justify-content: center; transition: var(--transition); z-index: 10; }
.carousel-btn:hover { background: rgba(0, 0, 0, 0.7); }
.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }
.carousel-dots { position: absolute; bottom: 16px; 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.5); cursor: pointer; transition: var(--transition); border: none; }
.carousel-dot.active { background: #FFF; width: 28px; border-radius: 5px; }
.slide-bg-1 { background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d); }
.slide-bg-2 { background: linear-gradient(135deg, #0F2027, #203A43, #2C5364); }
.slide-bg-3 { background: linear-gradient(135deg, #642B73, #C6426E); }
.slide-bg-4 { background: linear-gradient(135deg, #134E5E, #71B280); }

/* 要闻速递 */
.news-flash { background: var(--bg-light); border-radius: 8px; box-shadow: var(--shadow-md); height: 400px; display: flex; flex-direction: column; overflow: hidden; }
.news-flash-header { background: var(--primary-blue); color: #FFF; padding: 14px 20px; font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.news-flash-body { flex: 1; padding: 16px 20px; overflow: hidden; }
.news-flash-body li { padding: 10px 0; border-bottom: 1px dashed var(--border-color); display: flex; align-items: flex-start; gap: 10px; list-style: none; }
.news-flash-body li:last-child { border-bottom: none; }
.news-flash-body li .flash-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary-blue); margin-top: 9px; flex-shrink: 0; }
.news-flash-body li a { font-size: 14px; color: var(--text-dark); line-height: 1.6; flex: 1; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-flash-body li a:hover { color: var(--primary-blue); }
.news-flash-body li .flash-date { font-size: 12px; color: var(--text-light); flex-shrink: 0; margin-top: 2px; }

/* ===== 快捷入口卡片 ===== */
.quick-access { padding: 24px 0; }
.quick-access-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.quick-card { background: var(--bg-light); border-radius: 8px; padding: 24px 20px; text-align: center; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid transparent; cursor: pointer; display: block; }
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-blue); }
.quick-card .card-icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 26px; }
.quick-card .card-icon svg { width: 28px; height: 28px; fill: currentColor; }
.quick-card:nth-child(1) .card-icon { background: #E1F5FE; color: var(--primary-blue); }
.quick-card:nth-child(2) .card-icon { background: #E8F0FE; color: var(--secondary-blue); }
.quick-card:nth-child(3) .card-icon { background: #FEF3E8; color: var(--accent-gold); }
.quick-card:nth-child(4) .card-icon { background: #E8FAF0; color: #1A9E5A; }
.quick-card h3 { font-size: 16px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.quick-card p { font-size: 13px; color: var(--text-light); }

/* ===== 新闻列表区块 ===== */
.news-block { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.news-list { background: var(--bg-light); border-radius: 8px; padding: 0; box-shadow: var(--shadow-sm); overflow: hidden; }
.news-list .list-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 2px solid var(--primary-blue); }
.news-list .list-header h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); display: flex; align-items: center; gap: 8px; }
.news-list .list-header h3::before { content: ''; width: 4px; height: 18px; background: var(--primary-blue); border-radius: 2px; }
.news-list .list-header .more { font-size: 13px; color: var(--text-light); }
.news-list ul { padding: 8px 24px 20px; }
.news-list ul li { padding: 12px 0; border-bottom: 1px dashed var(--border-color); display: flex; justify-content: space-between; align-items: center; gap: 12px; list-style: none; }
.news-list ul li:last-child { border-bottom: none; }
.news-list ul li a { font-size: 15px; color: var(--text-dark); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative; padding-left: 14px; }
.news-list ul li a::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; background: var(--primary-blue); border-radius: 50%; }
.news-list ul li a:hover { color: var(--primary-blue); }
.news-list ul li .date { font-size: 13px; color: var(--text-light); flex-shrink: 0; }

/* 带图片的新闻列表 */
.news-list-with-image { background: var(--bg-light); border-radius: 8px; box-shadow: var(--shadow-sm); overflow: hidden; }
.news-list-with-image .list-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 2px solid var(--primary-blue); }
.news-list-with-image .list-header h3 { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.news-list-with-image .list-header h3::before { content: ''; width: 4px; height: 18px; background: var(--primary-blue); border-radius: 2px; }
.news-list-with-image .list-body { padding: 20px 24px; }
.featured-news-item { display: flex; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border-color); margin-bottom: 16px; }
.featured-news-item .thumb { width: 160px; height: 100px; border-radius: 6px; flex-shrink: 0; overflow: hidden; }
.featured-news-item .thumb .thumb-bg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 32px; color: rgba(255, 255, 255, 0.8); }
.featured-news-item .info h4 { font-size: 16px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.featured-news-item .info h4:hover { color: var(--primary-blue); }
.featured-news-item .info p { font-size: 13px; color: var(--text-light); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.featured-news-item .info .meta { font-size: 12px; color: var(--text-light); margin-top: 8px; }

/* ===== 期刊展示区 ===== */
.journal-showcase { background: var(--bg-light); border-radius: 8px; box-shadow: var(--shadow-sm); overflow: hidden; display: grid; grid-template-columns: 280px 1fr; gap: 0; }
.journal-cover { background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark)); padding: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #FFF; text-align: center; }
.journal-cover .cover-frame { width: 180px; height: 240px; background: #FFF; border-radius: 4px; padding: 12px; display: flex; flex-direction: column; justify-content: space-between; color: var(--text-dark); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); margin-bottom: 16px; }
.journal-cover .cover-frame .cover-top { border-bottom: 2px solid var(--primary-blue); padding-bottom: 8px; }
.journal-cover .cover-frame .cover-top .cn-name { font-size: 14px; font-weight: 700; color: var(--primary-blue); line-height: 1.4; }
.journal-cover .cover-frame .cover-top .en-name { font-size: 8px; color: var(--text-light); margin-top: 4px; }
.journal-cover .cover-frame .cover-center { text-align: center; }
.journal-cover .cover-frame .cover-center .year { font-size: 28px; font-weight: 700; color: var(--primary-blue); }
.journal-cover .cover-frame .cover-center .issue { font-size: 16px; color: var(--text-medium); margin-top: 4px; }
.journal-cover .cover-frame .cover-bottom { text-align: center; font-size: 10px; color: var(--text-light); }
.journal-cover .cover-info { font-size: 14px; }
.journal-cover .cover-info .issue-no { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.journal-info { padding: 30px; }
.journal-info .info-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border-color); }
.journal-info .info-header h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); }
.journal-info .info-header .vol-info { font-size: 13px; color: var(--text-light); }
.journal-info .article-list li { padding: 10px 0; border-bottom: 1px dashed var(--border-color); display: flex; align-items: center; gap: 12px; list-style: none; }
.journal-info .article-list li:last-child { border-bottom: none; }
.journal-info .article-list li .article-type { font-size: 12px; padding: 2px 8px; border-radius: 3px; background: #E1F5FE; color: var(--primary-blue); flex-shrink: 0; font-weight: 500; }
.journal-info .article-list li .article-type.blue { background: #E8F0FE; color: var(--secondary-blue); }
.journal-info .article-list li .article-type.green { background: #E8FAF0; color: #1A9E5A; }
.journal-info .article-list li a { font-size: 14px; color: var(--text-dark); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.journal-info .article-list li a:hover { color: var(--primary-blue); }
.journal-info .article-list li .article-author { font-size: 12px; color: var(--text-light); flex-shrink: 0; }

/* ===== 政策法规区块 ===== */
.policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.policy-card { background: var(--bg-light); border-radius: 8px; box-shadow: var(--shadow-sm); overflow: hidden; padding: 24px; }
.policy-card .card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--primary-blue); }
.policy-card .card-header h3 { font-size: 17px; font-weight: 700; color: var(--text-dark); display: flex; align-items: center; gap: 8px; }
.policy-card .card-header h3::before { content: ''; width: 4px; height: 17px; background: var(--primary-blue); border-radius: 2px; }
.policy-card .card-header .more { font-size: 13px; color: var(--text-light); }
.policy-card ul li { padding: 10px 0; border-bottom: 1px dashed var(--border-color); display: flex; justify-content: space-between; align-items: center; gap: 10px; list-style: none; }
.policy-card ul li:last-child { border-bottom: none; }
.policy-card ul li a { font-size: 14px; color: var(--text-dark); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-left: 14px; position: relative; }
.policy-card ul li a::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; background: var(--primary-blue); border-radius: 50%; }
.policy-card ul li a:hover { color: var(--primary-blue); }
.policy-card ul li .date { font-size: 12px; color: var(--text-light); flex-shrink: 0; }

/* ===== 学术交流区块 ===== */
.academic-events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.event-card { background: var(--bg-light); border-radius: 8px; box-shadow: var(--shadow-sm); overflow: hidden; transition: var(--transition); }
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.event-card .event-banner { height: 140px; display: flex; align-items: center; justify-content: center; position: relative; }
.event-card .event-banner .event-type { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, 0.9); padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 600; color: var(--primary-blue); }
.event-card .event-banner svg { width: 48px; height: 48px; fill: rgba(255, 255, 255, 0.5); }
.event-card .event-body { padding: 20px; }
.event-card .event-body h4 { font-size: 16px; font-weight: 600; color: var(--text-dark); margin-bottom: 10px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.event-card .event-body h4:hover { color: var(--primary-blue); }
.event-card .event-body .event-meta { font-size: 13px; color: var(--text-light); line-height: 1.8; }
.event-card .event-body .event-meta .meta-item { display: flex; align-items: center; gap: 6px; }
.event-card .event-body .event-meta .meta-item svg { width: 14px; height: 14px; fill: var(--text-light); }

/* ===== 成果创新区块 ===== */
.innovation-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.innovation-card { background: var(--bg-light); border-radius: 8px; box-shadow: var(--shadow-sm); overflow: hidden; transition: var(--transition); cursor: pointer; }
.innovation-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.innovation-card .innovation-image { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 40px; color: rgba(255, 255, 255, 0.6); position: relative; }
.innovation-card .innovation-image .tag { position: absolute; top: 12px; right: 12px; background: rgba(255, 255, 255, 0.9); padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.innovation-card .innovation-body { padding: 16px; }
.innovation-card .innovation-body h4 { font-size: 15px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.innovation-card .innovation-body h4:hover { color: var(--primary-blue); }
.innovation-card .innovation-body p { font-size: 13px; color: var(--text-light); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.innovation-card .innovation-body .innovation-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border-color); font-size: 12px; color: var(--text-light); }
.innovation-card .innovation-body .innovation-meta .field-tag { color: var(--secondary-blue); font-weight: 500; }

/* ===== 友情链接 ===== */
.friendly-links { background: var(--bg-light); border-radius: 8px; padding: 24px; box-shadow: var(--shadow-sm); }
.friendly-links .links-header { margin-bottom: 16px; }
.friendly-links .links-header h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); display: flex; align-items: center; gap: 8px; }
.friendly-links .links-header h3::before { content: ''; width: 4px; height: 18px; background: var(--primary-blue); border-radius: 2px; }
.friendly-links .links-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.friendly-links .link-item { display: flex; align-items: center; justify-content: center; padding: 12px 8px; border: 1px solid var(--border-color); border-radius: 6px; font-size: 13px; color: var(--text-medium); text-align: center; transition: var(--transition); background: var(--bg-light); }
.friendly-links .link-item:hover { border-color: var(--primary-blue); color: var(--primary-blue); background: #E1F5FE; transform: translateY(-2px); }

/* ===== 页脚 ===== */
.site-footer { background: #2C2C2C; color: #BBB; padding: 40px 0 0; margin-top: 40px; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 30px; border-bottom: 1px solid #444; }
.footer-about .footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-about .footer-logo .logo-icon { width: 48px; height: 48px; background: var(--primary-blue); border-radius: 6px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.footer-about .footer-logo .logo-icon img { width: 100%; height: 100%; object-fit: contain; }
.footer-about .footer-logo h3 { font-size: 18px; color: #FFF; font-weight: 700; }
.footer-about p { font-size: 13px; line-height: 1.8; color: #999; margin-bottom: 16px; }
.footer-col h4 { font-size: 15px; color: #FFF; margin-bottom: 16px; font-weight: 600; }
.footer-col ul li { margin-bottom: 10px; list-style: none; }
.footer-col ul li a { font-size: 13px; color: #999; }
.footer-col ul li a:hover { color: var(--primary-blue-light); }
.footer-contact .contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 13px; color: #999; }
.footer-bottom { padding: 20px 0; text-align: center; font-size: 13px; color: #777; }
.footer-bottom .footer-links { margin-bottom: 8px; }
.footer-bottom .footer-links a { color: #999; margin: 0 8px; }
.footer-bottom .footer-links a:hover { color: var(--primary-blue-light); }

/* ===== 投稿系统页面 ===== */
.submission-hero { background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark)); padding: 50px 0; color: #FFF; text-align: center; }
.submission-hero h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; letter-spacing: 2px; }
.submission-hero p { font-size: 16px; opacity: 0.9; max-width: 700px; margin: 0 auto; }
.submission-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 30px 0; }
.step-card { background: var(--bg-light); border-radius: 8px; padding: 24px 20px; text-align: center; box-shadow: var(--shadow-sm); position: relative; }
.step-card .step-number { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-blue); color: #FFF; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; margin: 0 auto 14px; }
.step-card h4 { font-size: 16px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; }
.submission-form-wrapper { background: var(--bg-light); border-radius: 8px; padding: 40px; box-shadow: var(--shadow-md); margin-bottom: 30px; }
.submission-form-wrapper h3 { font-size: 22px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.submission-form-wrapper .form-desc { font-size: 14px; color: var(--text-light); margin-bottom: 30px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.form-group label .required { color: var(--primary-blue); margin-left: 2px; }
.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="tel"], .form-group select, .form-group textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--border-color); border-radius: 4px; font-size: 14px; font-family: inherit; color: var(--text-dark); transition: var(--transition); outline: none; }
.form-group input[type="text"]:focus, .form-group input[type="email"]:focus, .form-group input[type="tel"]:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(2, 136, 209, 0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.file-upload { border: 2px dashed var(--border-color); border-radius: 8px; padding: 30px; text-align: center; transition: var(--transition); cursor: pointer; }
.file-upload:hover { border-color: var(--primary-blue); background: #E1F5FE; }
.btn-primary { background: var(--primary-blue); color: #FFF; border: none; padding: 12px 40px; border-radius: 4px; font-size: 16px; font-weight: 600; cursor: pointer; transition: var(--transition); font-family: inherit; }
.btn-primary:hover { background: var(--primary-blue-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(2, 136, 209, 0.3); }
.form-actions { display: flex; gap: 16px; justify-content: center; margin-top: 30px; }
.submission-notice { background: #FFFBE6; border: 1px solid #FFE58F; border-radius: 8px; padding: 24px; margin-bottom: 30px; }
.submission-notice h4 { font-size: 16px; font-weight: 700; color: #D48806; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.submission-notice ul { padding-left: 20px; }
.submission-notice ul li { font-size: 14px; color: var(--text-medium); margin-bottom: 8px; line-height: 1.7; list-style: disc; }

/* ===== 列表页通用样式 ===== */
.page-banner { height: 200px; display: flex; align-items: center; justify-content: center; color: #FFF; text-align: center; position: relative; overflow: hidden; }
.page-banner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.3); }
.page-banner .banner-content { position: relative; z-index: 1; }
.page-banner h2 { font-size: 34px; font-weight: 700; margin-bottom: 10px; letter-spacing: 3px; }
.page-banner p { font-size: 15px; opacity: 0.9; letter-spacing: 1px; }
.banner-news { background: linear-gradient(135deg, #1a2a6c, #b21f1f); }
.banner-journal { background: linear-gradient(135deg, #0F2027, #203A43); }
.banner-policy { background: linear-gradient(135deg, #134E5E, #71B280); }
.banner-academic { background: linear-gradient(135deg, #642B73, #C6426E); }
.banner-innovation { background: linear-gradient(135deg, #FF512F, #DD2476); }
.banner-submission { background: linear-gradient(135deg, #0288D1, #0277BD); }
.banner-contact { background: linear-gradient(135deg, #003D79, #0055A4); }

/* 新闻列表页 */
.news-page-layout { display: grid; grid-template-columns: 1fr 300px; gap: 30px; padding: 30px 0; }
.news-page-main { background: var(--bg-light); border-radius: 8px; padding: 24px; box-shadow: var(--shadow-sm); }
.news-article-list .article-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border-color); }
.news-article-list .article-item:last-child { border-bottom: none; }
.news-article-list .article-item .article-content { flex: 1; }
.news-article-list .article-item .article-content h3 { font-size: 17px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; line-height: 1.5; }
.news-article-list .article-item .article-content h3:hover { color: var(--primary-blue); }
.news-article-list .article-item .article-content .article-summary { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-article-list .article-item .article-content .article-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--text-light); }
.news-article-list .article-item .article-content .article-meta .meta-tag { background: #E1F5FE; color: var(--primary-blue); padding: 2px 10px; border-radius: 3px; font-size: 12px; }

/* 分页 */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 30px; }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--border-color); border-radius: 4px; font-size: 14px; color: var(--text-medium); cursor: pointer; transition: var(--transition); }
.pagination a:hover, .pagination .active { background: var(--primary-blue); color: #FFF; border-color: var(--primary-blue); }

/* 侧边栏 */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-card { background: var(--bg-light); border-radius: 8px; box-shadow: var(--shadow-sm); overflow: hidden; }
.sidebar-card .card-header { padding: 14px 20px; background: var(--bg-gray); border-bottom: 2px solid var(--primary-blue); font-size: 16px; font-weight: 700; color: var(--text-dark); }
.sidebar-card .card-body { padding: 16px 20px; }
.sidebar-card .card-body .ranking-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--border-color); }
.sidebar-card .card-body .ranking-item:last-child { border-bottom: none; }
.sidebar-card .card-body .ranking-item .rank-num { width: 22px; height: 22px; border-radius: 4px; background: var(--border-color); color: #FFF; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.sidebar-card .card-body .ranking-item:nth-child(1) .rank-num { background: var(--primary-blue); }
.sidebar-card .card-body .ranking-item:nth-child(2) .rank-num { background: #E67E22; }
.sidebar-card .card-body .ranking-item:nth-child(3) .rank-num { background: #F1C40F; }
.sidebar-card .card-body .ranking-item a { font-size: 13px; color: var(--text-dark); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-card .card-body .ranking-item a:hover { color: var(--primary-blue); }

/* 联系我们页面 */
.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.contact-info-card { background: var(--bg-light); border-radius: 8px; padding: 30px 24px; text-align: center; box-shadow: var(--shadow-sm); transition: var(--transition); }
.contact-info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.contact-info-card .contact-icon { width: 60px; height: 60px; border-radius: 50%; background: #E1F5FE; color: var(--primary-blue); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 28px; }
.contact-info-card h4 { font-size: 18px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.contact-info-card p { font-size: 15px; color: var(--text-medium); }

/* ===== 图标框样式 ===== */
.section-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; margin-right: 10px; flex-shrink: 0; }
.section-icon svg { width: 20px; height: 20px; fill: currentColor; }
.icon-red { background: linear-gradient(135deg, #FF6B6B, #EE5A24); color: #FFF; }
.icon-blue { background: linear-gradient(135deg, #4A90D9, #0277BD); color: #FFF; }
.icon-green { background: linear-gradient(135deg, #27AE60, #1E8449); color: #FFF; }
.icon-purple { background: linear-gradient(135deg, #9B59B6, #7D3C98); color: #FFF; }
.icon-orange { background: linear-gradient(135deg, #F39C12, #D35400); color: #FFF; }
.icon-gold { background: linear-gradient(135deg, #C99A3A, #B7842A); color: #FFF; }
.icon-teal { background: linear-gradient(135deg, #1ABC9C, #16A085); color: #FFF; }
.icon-indigo { background: linear-gradient(135deg, #5C67C8, #4548B0); color: #FFF; }
.banner-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.2); border: 2px solid rgba(255,255,255,0.5); margin-bottom: 16px; }
.banner-icon svg { width: 32px; height: 32px; fill: #FFF; }

/* ===== WordPress 文章内容 ===== */
.entry-content { font-size: 16px; line-height: 1.8; color: var(--text-dark); }
.entry-content h2 { font-size: 22px; margin: 24px 0 12px; color: var(--text-dark); }
.entry-content h3 { font-size: 18px; margin: 20px 0 10px; color: var(--text-dark); }
.entry-content p { margin-bottom: 16px; }
.entry-content img { margin: 20px 0; border-radius: 8px; }
.entry-content blockquote { border-left: 4px solid var(--primary-blue); padding: 12px 20px; margin: 20px 0; background: var(--bg-gray); border-radius: 0 8px 8px 0; }
.entry-meta { font-size: 13px; color: var(--text-light); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border-color); }
.entry-meta span { margin-right: 16px; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .hero-wrapper { grid-template-columns: 1fr; }
    .news-block { grid-template-columns: 1fr; }
    .journal-showcase { grid-template-columns: 1fr; }
    .policy-grid { grid-template-columns: 1fr; }
    .academic-events { grid-template-columns: repeat(2, 1fr); }
    .innovation-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-access-grid { grid-template-columns: repeat(2, 1fr); }
    .news-page-layout { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .friendly-links .links-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .top-bar-left .date { display: none; }
    .header-right { display: none; }
    .header-title h1 { font-size: 22px; }
    .nav-toggle { display: block; }
    .nav-list { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary-blue); flex-direction: column; }
    .nav-list.show { display: flex; }
    .nav-list > li { width: 100%; }
    .nav-list > li > a { padding: 12px 24px; }
    .carousel { height: 250px; }
    .news-flash { height: auto; }
    .submission-steps { grid-template-columns: 1fr 1fr; }
    .form-row, .form-row-3 { grid-template-columns: 1fr; }
    .contact-info-grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; }
    .friendly-links .links-grid { grid-template-columns: repeat(2, 1fr); }
    .container { padding: 0 15px; }
}
