/*
Theme Name: International Communication Organization
Theme URI: https://www.icoun.org
Author: ICO Team
Author URI: https://www.icoun.org
Description: 国际传播组织官方网站专业主题。支持视频英雄区、响应式布局、PWA、多语言就绪。
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ico-theme
*/

* { box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif; margin:0; padding:0; background:#f8f8f8; color:#333; line-height:1.8; font-size:16px; }
a { color:#c00; text-decoration:none; }
a:hover { text-decoration:underline; }
img { max-width:100%; height:auto; }

/* 视频英雄区 */
.hero-video { position:relative; width:100%; height:100vh; min-height:500px; overflow:hidden; display:flex; align-items:center; justify-content:center; text-align:center; color:white; }
.hero-video video { position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; z-index:-1; }
.hero-overlay { position:absolute; top:0; left:0; width:100%; height:100%; background:rgba(0, 47, 108, 0.55); z-index:0; }
.hero-content { position:relative; z-index:1; max-width:900px; padding:30px; }
.hero-content h1 { font-size:4.5em; margin:0 0 20px; font-weight:bold; text-shadow:2px 2px 8px rgba(0,0,0,0.8); }
.hero-content p { font-size:1.8em; margin:0 0 40px; text-shadow:1px 1px 6px rgba(0,0,0,0.8); }
.play-button { display:inline-block; width:90px; height:90px; background:rgba(255,255,255,0.95); border-radius:50%; cursor:pointer; box-shadow:0 0 30px rgba(0,0,0,0.6); animation:pulse 2s infinite; }
.play-button::after { content:'▶'; font-size:3.5em; color:#c00; position:relative; left:6px; top:2px; }
@keyframes pulse { 0% { box-shadow:0 0 0 0 rgba(255,255,255,0.7); } 70% { box-shadow:0 0 0 40px rgba(255,255,255,0); } 100% { box-shadow:0 0 0 0 rgba(255,255,255,0); } }

/* 导航栏 */
nav { background:#c00; padding:15px 0; text-align:center; position:relative; }
nav a { color:white; margin:0 25px; font-weight:bold; font-size:1.2em; }
.hamburger { display:none; cursor:pointer; font-size:2.2em; color:white; position:absolute; right:20px; top:12px; z-index:100; }
.nav-menu { display:flex; justify-content:center; flex-wrap:wrap; gap:30px; }

/* 主内容区 */
main { max-width:1200px; margin:40px auto; padding:0 20px; display:grid; grid-template-columns:3fr 1fr; gap:40px; }
.content, .sidebar { background:white; padding:40px; border-radius:10px; box-shadow:0 4px 20px rgba(0,0,0,0.1); }
.content h2 { font-size:2.2em; color:#002f6c; border-bottom:4px solid #c00; padding-bottom:10px; margin-bottom:30px; }

/* 新闻列表 */
article { margin-bottom:40px; padding-bottom:30px; border-bottom:1px dashed #ddd; }
article h3 { font-size:1.6em; margin:0 0 10px; }
article h3 a { color:#c00; }
.meta { font-size:0.9em; color:#666; margin:10px 0; }

/* 响应式优化 */
@media (max-width:900px) {
    main { grid-template-columns:1fr; }
    .hamburger { display:block; }
    .nav-menu { display:none; flex-direction:column; width:100%; background:#c00; padding:20px 0; margin-top:15px; }
    .nav-menu.active { display:flex; }
    .nav-menu a { padding:15px; font-size:1.4em; }
    .hero-video { height:70vh; }
    .hero-content h1 { font-size:3em; }
    .hero-content p { font-size:1.4em; }
    .play-button { width:70px; height:70px; }
    .play-button::after { font-size:2.8em; left:4px; }
}
@media (max-width:480px) {
    .hero-video { height:60vh; }
    .hero-content h1 { font-size:2.4em; }
    .hero-content p { font-size:1.2em; }
}