/* ====== 光华创五营官网样式 ====== */
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif; color:#333; line-height:1.7; background:#fff; }
a { color:#8B0000; text-decoration:none; transition:all .3s; }
a:hover { color:#B22222; }
img { max-width:100%; display:block; }
.container { max-width:1200px; margin:0 auto; padding:0 20px; }

/* ====== Header ====== */
.site-header { position:fixed; top:0; left:0; right:0; background:rgba(255,255,255,.95); box-shadow:0 2px 15px rgba(0,0,0,.08); z-index:1000; transition:all .3s; }
.header-inner { display:flex; align-items:center; justify-content:space-between; height:70px; }
.logo { display:flex; align-items:center; gap:12px; }
.logo img { width:44px; height:44px; border-radius:50%; object-fit:cover; }
.logo-text { font-size:22px; font-weight:700; color:#8B0000; letter-spacing:1px; }
.main-nav ul { display:flex; list-style:none; gap:30px; }
.main-nav a { color:#444; font-size:16px; font-weight:500; padding:8px 0; position:relative; }
.main-nav a:hover, .main-nav a.active { color:#8B0000; }
.main-nav a.active::after { content:""; position:absolute; bottom:0; left:0; right:0; height:2px; background:#FFD700; }
.menu-toggle { display:none; background:none; border:none; cursor:pointer; padding:8px; }
.menu-toggle span { display:block; width:26px; height:3px; background:#8B0000; margin:5px 0; transition:all .3s; }

/* ====== Hero ====== */
.hero { height:100vh; min-height:600px; background:linear-gradient(135deg, rgba(139,0,0,.85), rgba(80,0,0,.9)), url("../images/hero-bg.jpg") center/cover; color:#fff; display:flex; align-items:center; position:relative; padding-top:70px; }
.hero-content { text-align:center; max-width:900px; margin:0 auto; }
.hero-subtitle { font-size:20px; letter-spacing:4px; color:#FFD700; margin-bottom:20px; }
.hero h1 { font-size:56px; font-weight:700; margin-bottom:20px; letter-spacing:3px; }
.hero-slogan { font-size:24px; color:#f0e0c0; margin-bottom:40px; letter-spacing:2px; }
.hero-desc { font-size:17px; line-height:1.9; color:#f5e8d0; margin-bottom:40px; }
.btn { display:inline-block; padding:14px 36px; border-radius:4px; font-size:16px; font-weight:500; cursor:pointer; transition:all .3s; border:2px solid transparent; }
.btn-primary { background:#FFD700; color:#8B0000; }
.btn-primary:hover { background:#FFC107; transform:translateY(-2px); }
.btn-outline { background:transparent; color:#8B0000; border-color:#8B0000; }
.btn-outline:hover { background:#8B0000; color:#fff; }
.hero-btns { display:flex; gap:20px; justify-content:center; flex-wrap:wrap; }

/* ====== Section ====== */
.section { padding:90px 0; }
.section-alt { background:#faf8f4; }
.section-header { text-align:center; margin-bottom:60px; }
.section-title { font-size:38px; color:#8B0000; margin-bottom:15px; position:relative; display:inline-block; }
.section-title::after { content:""; position:absolute; bottom:-10px; left:50%; transform:translateX(-50%); width:60px; height:3px; background:#FFD700; }
.section-subtitle { font-size:17px; color:#777; margin-top:20px; }
.section-more { text-align:center; margin-top:50px; }

/* ====== About ====== */
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.about-img img { border-radius:8px; box-shadow:0 10px 40px rgba(0,0,0,.15); }
.about-text h3 { font-size:28px; color:#8B0000; margin-bottom:20px; }
.about-text p { font-size:16px; color:#555; margin-bottom:15px; line-height:1.9; }
.about-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:30px; }
.stat-item { text-align:center; padding:20px 10px; background:#faf8f4; border-radius:6px; }
.stat-num { font-size:32px; font-weight:700; color:#8B0000; }
.stat-label { font-size:14px; color:#777; margin-top:5px; }

/* ====== Culture ====== */
.culture-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
.culture-card { background:#fff; padding:40px 30px; border-radius:8px; box-shadow:0 5px 25px rgba(0,0,0,.06); text-align:center; border-top:4px solid #8B0000; transition:all .3s; }
.culture-card:hover { transform:translateY(-8px); box-shadow:0 15px 40px rgba(139,0,0,.12); }
.culture-icon { width:70px; height:70px; background:linear-gradient(135deg,#8B0000,#B22222); color:#FFD700; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:28px; margin:0 auto 20px; font-weight:700; }
.culture-card h3 { font-size:20px; color:#8B0000; margin-bottom:12px; }
.culture-card p { font-size:15px; color:#666; line-height:1.8; }

/* ====== News ====== */
.news-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
.news-card { background:#fff; border-radius:8px; overflow:hidden; box-shadow:0 4px 20px rgba(0,0,0,.07); transition:all .3s; }
.news-card:hover { transform:translateY(-6px); box-shadow:0 12px 35px rgba(0,0,0,.12); }
.news-card-link { display:block; color:inherit; }
.card-img { height:200px; overflow:hidden; }
.card-img img { width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.news-card:hover .card-img img { transform:scale(1.08); }
.card-body { padding:22px; }
.card-cat { display:inline-block; background:#8B0000; color:#FFD700; font-size:12px; padding:3px 12px; border-radius:3px; margin-bottom:12px; }
.card-body h3 { font-size:18px; color:#222; margin-bottom:10px; line-height:1.5; height:54px; overflow:hidden; }
.card-body p { font-size:14px; color:#777; line-height:1.7; height:66px; overflow:hidden; margin-bottom:15px; }
.card-meta { font-size:13px; color:#999; border-top:1px solid #eee; padding-top:12px; }

/* ====== Members 轮播简化为网格 ====== */
.members-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:20px; }
.member-card { text-align:center; }
.member-avatar { width:100px; height:100px; border-radius:50%; margin:0 auto 12px; overflow:hidden; border:3px solid #FFD700; }
.member-avatar img { width:100%; height:100%; object-fit:cover; }
.member-card h4 { font-size:15px; color:#333; margin-bottom:4px; }
.member-card p { font-size:12px; color:#888; }

/* ====== Contact ====== */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:50px; }
.contact-info h3 { font-size:26px; color:#8B0000; margin-bottom:20px; }
.contact-item { display:flex; gap:15px; margin-bottom:25px; align-items:flex-start; }
.contact-item-icon { width:44px; height:44px; background:#8B0000; color:#FFD700; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0; }
.contact-item h4 { font-size:16px; color:#333; margin-bottom:4px; }
.contact-item p { font-size:14px; color:#666; }
.contact-banner img { border-radius:8px; box-shadow:0 8px 30px rgba(0,0,0,.1); }

/* ====== Footer ====== */
.site-footer { background:#2a0a0a; color:#ccc; padding:60px 0 20px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:40px; margin-bottom:40px; }
.footer-col h4 { color:#FFD700; font-size:18px; margin-bottom:18px; }
.footer-col p { font-size:14px; color:#aaa; line-height:1.8; margin-bottom:8px; }
.footer-col ul { list-style:none; }
.footer-col ul li { margin-bottom:10px; }
.footer-col ul a { color:#aaa; font-size:14px; }
.footer-col ul a:hover { color:#FFD700; }
.footer-slogan { color:#FFD700 !important; font-size:18px !important; font-weight:600; letter-spacing:2px; margin-top:12px !important; }
.footer-bottom { border-top:1px solid #442222; padding-top:20px; text-align:center; font-size:13px; color:#777; }

/* ====== Back to top ====== */
.back-to-top { position:fixed; bottom:30px; right:30px; width:46px; height:46px; background:#8B0000; color:#FFD700; border:none; border-radius:50%; font-size:20px; cursor:pointer; opacity:0; visibility:hidden; transition:all .3s; z-index:999; box-shadow:0 4px 15px rgba(139,0,0,.3); }
.back-to-top.show { opacity:1; visibility:visible; }
.back-to-top:hover { background:#B22222; transform:translateY(-3px); }

/* ====== Page hero ====== */
.page-hero { background:linear-gradient(135deg,#8B0000,#5a0000); color:#fff; padding:140px 0 60px; text-align:center; }
.breadcrumb { font-size:14px; color:#f0d0a0; margin-bottom:20px; }
.breadcrumb a { color:#FFD700; }
.page-hero h1 { font-size:42px; margin-bottom:12px; }
.page-desc { font-size:17px; color:#f0d0a0; }

/* ====== News list ====== */
.news-list-section { padding:60px 0; }
.news-list { max-width:900px; margin:0 auto; }
.news-list-item { background:#fff; border-radius:8px; margin-bottom:24px; box-shadow:0 3px 15px rgba(0,0,0,.06); overflow:hidden; transition:all .3s; }
.news-list-item:hover { box-shadow:0 8px 25px rgba(0,0,0,.1); transform:translateY(-3px); }
.nli-link { display:flex; color:inherit; gap:24px; padding:24px; }
.nli-img { width:260px; flex-shrink:0; }
.nli-img img { width:100%; height:170px; object-fit:cover; border-radius:6px; }
.nli-body { flex:1; }
.nli-cat { display:inline-block; background:#8B0000; color:#FFD700; font-size:12px; padding:3px 10px; border-radius:3px; margin-bottom:10px; }
.nli-body h3 { font-size:20px; color:#222; margin-bottom:10px; line-height:1.5; }
.nli-summary { font-size:14px; color:#777; line-height:1.7; margin-bottom:12px; }
.nli-meta { font-size:13px; color:#999; display:flex; gap:20px; }

/* ====== Article ====== */
.article-content { padding:50px 0 80px; }
.article-content .container { display:grid; grid-template-columns:1fr 300px; gap:40px; max-width:1100px; }
.news-title { font-size:34px !important; }
.news-meta { display:flex; gap:20px; font-size:14px; color:#f0d0a0; flex-wrap:wrap; justify-content:center; margin-top:20px; }
.news-meta span { background:rgba(255,255,255,.1); padding:5px 14px; border-radius:20px; }
.article-main { background:#fff; }
.article-main p { font-size:16px; color:#444; line-height:2; margin-bottom:22px; text-indent:2em; }
.news-figure { margin:20px 0 30px; }
.news-figure img { width:100%; border-radius:6px; }
.news-figure figcaption { text-align:center; font-size:13px; color:#999; margin-top:10px; }
.article-tags { margin:30px 0; padding:20px 0; border-top:1px solid #eee; border-bottom:1px solid #eee; }
.tag { display:inline-block; background:#faf0e0; color:#8B0000; font-size:13px; padding:5px 14px; border-radius:20px; margin-right:10px; }
.article-nav { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:30px; }
.article-nav a { display:block; padding:18px; background:#faf8f4; border-radius:6px; transition:all .3s; }
.article-nav a:hover { background:#8B0000; color:#fff; }
.next-article { text-align:right; }
.nav-label { font-size:13px; color:#999; display:block; margin-bottom:6px; }
.article-nav a:hover .nav-label { color:#f0d0a0; }
.nav-title { font-size:15px; font-weight:500; line-height:1.5; }
.article-sidebar { align-self:start; position:sticky; top:90px; }
.sidebar-block { background:#faf8f4; padding:24px; border-radius:8px; margin-bottom:20px; }
.sidebar-block h3 { font-size:18px; color:#8B0000; margin-bottom:15px; padding-bottom:10px; border-bottom:2px solid #FFD700; }
.sidebar-block p { font-size:14px; color:#666; line-height:1.8; }
.related-card { padding:12px 0; border-bottom:1px dashed #ddd; }
.related-card:last-child { border-bottom:none; }
.related-card h4 { font-size:14px; color:#333; line-height:1.6; margin-bottom:5px; }
.related-card a:hover h4 { color:#8B0000; }
.related-date { font-size:12px; color:#999; }
.sidebar-more { display:inline-block; margin-top:12px; color:#8B0000; font-size:14px; font-weight:500; }

/* ====== 响应式 ====== */
@media (max-width:960px) {
    .about-grid, .contact-grid { grid-template-columns:1fr; gap:30px; }
    .culture-grid, .news-grid { grid-template-columns:repeat(2,1fr); }
    .members-grid { grid-template-columns:repeat(3,1fr); }
    .footer-grid { grid-template-columns:1fr 1fr; }
    .article-content .container { grid-template-columns:1fr; }
    .article-sidebar { position:static; }
    .nli-link { flex-direction:column; }
    .nli-img { width:100%; }
    .nli-img img { height:200px; }
}
@media (max-width:640px) {
    .menu-toggle { display:block; }
    .main-nav { position:fixed; top:70px; left:0; right:0; background:#fff; box-shadow:0 5px 20px rgba(0,0,0,.1); max-height:0; overflow:hidden; transition:max-height .3s; }
    .main-nav.open { max-height:500px; }
    .main-nav ul { flex-direction:column; padding:20px; gap:0; }
    .main-nav ul li { border-bottom:1px solid #f0f0f0; }
    .main-nav ul li a { display:block; padding:12px 0; }
    .hero h1 { font-size:36px; }
    .hero-slogan { font-size:18px; }
    .hero { min-height:500px; }
    .section { padding:60px 0; }
    .section-title { font-size:28px; }
    .about-stats { grid-template-columns:repeat(2,1fr); }
    .culture-grid, .news-grid { grid-template-columns:1fr; }
    .members-grid { grid-template-columns:repeat(2,1fr); }
    .footer-grid { grid-template-columns:1fr; gap:25px; }
    .article-nav { grid-template-columns:1fr; }
    .next-article { text-align:left; }
    .news-title { font-size:26px !important; }
    .page-hero h1 { font-size:28px; }
}

/* ====== Fade In Animation ====== */
.fade-in { opacity:0; transform:translateY(30px); transition:all .8s ease; }
.fade-in.visible { opacity:1; transform:translateY(0); }
