/* ============================================
   企业官网 - 前台样式
   ============================================ */
:root {
    --primary: #1e3a5f;
    --primary-light: #2c5282;
    --primary-dark: #122544;
    --accent: #c8a96a;
    --accent-light: #d4b87a;
    --accent-dark: #a98a4d;
    --success: #2e8b57;
    --danger: #c0392b;
    --warning: #d68910;
    --info: #2874a6;
    --text: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --bg: #ffffff;
    --bg-alt: #f7f9fc;
    --bg-soft: #eef2f7;
    --border: #e5e7eb;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.1);
    --transition: 0.25s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

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

/* ===== Top Bar ===== */
.topbar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    padding: 8px 0;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; }
.topbar strong { color: var(--accent); }
.topbar-right { display: flex; gap: 20px; align-items: center; }
.topbar-link {
    color: rgba(255,255,255,0.7);
    padding: 2px 8px;
    border-radius: 4px;
    transition: all var(--transition);
}
.topbar-link:hover { color: #fff; background: rgba(255,255,255,0.1); }

/* ===== Header ===== */
.site-header {
    background: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 20px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px;
    box-shadow: 0 4px 12px rgba(30,58,95,0.3);
    letter-spacing: 1px;
}
.logo img { height: 44px; }
.logo-text h1 {
    font-size: 18px;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
}
.logo-text p {
    font-size: 10px;
    color: var(--text-lighter);
    letter-spacing: 2px;
    margin-top: 2px;
}
.main-nav {
    display: flex;
    gap: 6px;
    flex: 1;
    justify-content: center;
}
.nav-link {
    color: var(--text);
    font-size: 15px;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 500;
    transition: all var(--transition);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%;
    width: 0; height: 2px;
    background: var(--accent);
    transition: all var(--transition);
    transform: translateX(-50%);
}
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 24px; }
.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}
.nav-link.active::after { width: 32px; }
.search-form {
    display: flex;
    align-items: center;
    background: var(--bg-soft);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid transparent;
    transition: all var(--transition);
}
.search-form:focus-within { background: #fff; border-color: var(--primary); }
.search-form input {
    border: 0; background: transparent;
    padding: 8px 12px;
    font-size: 13px;
    width: 160px;
    outline: none;
    font-family: inherit;
}
.search-form button {
    border: 0; background: var(--primary);
    color: #fff;
    padding: 8px 12px;
    font-size: 13px;
}
.nav-toggle { display: none; }

/* ===== Hero ===== */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f1e37 0%, #1e3a5f 50%, #2c5282 100%);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 110px 0 90px;
}
.hero-inner { position: relative; z-index: 2; }
.hero-eyebrow {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(200,169,106,0.15);
    color: var(--accent);
    border: 1px solid rgba(200,169,106,0.3);
    border-radius: 30px;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 24px;
}
.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #fff 0%, #c8a96a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 19px;
    opacity: 0.85;
    max-width: 640px;
    margin-bottom: 36px;
    line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; margin-bottom: 60px; }
.hero-stats { display: flex; gap: 50px; }
.stat { color: #fff; }
.stat-num { font-size: 40px; font-weight: 700; color: var(--accent); line-height: 1; }
.stat-num sup { font-size: 20px; }
.stat-label { font-size: 13px; opacity: 0.7; margin-top: 6px; }

.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.hd-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,169,106,0.3), transparent 70%);
}
.hd-1 { width: 400px; height: 400px; right: -100px; top: -100px; }
.hd-2 { width: 300px; height: 300px; right: 200px; bottom: -150px; }
.hd-3 { width: 200px; height: 200px; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0.5; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 11px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    box-shadow: 0 4px 12px rgba(200,169,106,0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200,169,106,0.5);
    color: #fff;
}
.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-block { width: 100%; }

/* ===== Section ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; text-align: left; }
.section-head h2 {
    font-size: 34px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}
.section-head h2::after {
    content: '';
    position: absolute;
    bottom: -10px; left: 50%;
    transform: translateX(-50%);
    width: 50px; height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 2px;
}
.section-head.row h2::after { left: 0; transform: none; }
.muted { color: var(--text-light); }
.more-link { color: var(--primary); font-size: 14px; font-weight: 500; }

/* ===== Features ===== */
.features-section { padding: 80px 0; background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.feature-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    transition: all var(--transition);
    border: 1px solid var(--border);
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.fc-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #fff;
}
.feature-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--primary); }
.feature-card p { color: var(--text-light); font-size: 14px; }

/* ===== News Grid (Home) ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--border);
    display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-light); }
.news-card-lg { grid-column: span 2; grid-row: span 2; }
.nc-cover { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-soft); }
.news-card-lg .nc-cover { aspect-ratio: 16/10; }
.nc-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .nc-cover img { transform: scale(1.06); }
.nc-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: rgba(255,255,255,0.5); font-size: 56px;
}
.nc-tag {
    position: absolute; top: 12px; left: 12px;
    padding: 4px 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 11px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}
.nc-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; }
.news-card-lg .nc-body { padding: 24px 28px; }
.nc-body h3 { font-size: 16px; color: var(--text); margin-bottom: 8px; line-height: 1.5; font-weight: 600; }
.news-card-lg .nc-body h3 { font-size: 22px; }
.nc-body p { color: var(--text-light); font-size: 13px; line-height: 1.6; flex: 1; }
.news-card-lg .nc-body p { font-size: 14px; }
.nc-meta {
    display: flex; gap: 16px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-lighter);
}

/* ===== Gallery Grid (Home) ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.gallery-item {
    position: relative;
    aspect-ratio: 1.4;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.5));
    opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }
.gi-caption {
    position: absolute; bottom: 12px; left: 12px; right: 12px;
    color: #fff; font-size: 13px;
    opacity: 0; transform: translateY(8px);
    transition: all var(--transition);
    z-index: 2;
}
.gallery-item:hover .gi-caption { opacity: 1; transform: translateY(0); }

/* ===== Video Grid (Home) ===== */
.video-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.video-item {
    cursor: pointer;
}
.vi-thumb {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}
.vi-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity var(--transition); }
.video-item:hover .vi-thumb img { opacity: 1; }
.vi-no-cover {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff; font-size: 48px;
}
.play-icon {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 56px; height: 56px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    padding-left: 5px;
    transition: all var(--transition);
}
.video-item:hover .play-icon { background: var(--accent); transform: translate(-50%, -50%) scale(1.1); }
.vi-title { margin-top: 12px; font-size: 15px; color: var(--text); font-weight: 500; }

/* ===== CTA Section ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute;
    right: -100px; top: -100px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,169,106,0.2), transparent 70%);
}
.cta-inner { text-align: center; position: relative; z-index: 2; }
.cta-inner h2 { font-size: 36px; margin-bottom: 12px; font-weight: 700; }
.cta-inner p { font-size: 16px; opacity: 0.9; margin-bottom: 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Page Banner ===== */
.page-banner {
    padding: 60px 0;
    color: #fff;
    text-align: center;
}
.page-banner h1 { font-size: 36px; font-weight: 700; margin-bottom: 12px; }
.page-banner p { font-size: 15px; opacity: 0.9; }

/* ===== Filter Tabs ===== */
.filter-tabs {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin-bottom: 36px;
    padding: 6px;
    background: var(--bg-alt);
    border-radius: 8px;
    width: fit-content;
    max-width: 100%;
}
.ft-tab {
    padding: 8px 20px;
    color: var(--text);
    border-radius: 6px;
    font-size: 14px;
    transition: all var(--transition);
}
.ft-tab:hover { color: var(--primary); }
.ft-tab.active {
    background: #fff;
    color: var(--primary);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* ===== News List ===== */
.news-list { display: flex; flex-direction: column; gap: 20px; }
.news-list-item {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: all var(--transition);
    padding: 0;
}
.news-list-item:hover { box-shadow: var(--shadow); border-color: var(--accent-light); }
.nli-cover { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft); }
.nli-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-list-item:hover .nli-cover img { transform: scale(1.05); }
.nli-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: rgba(255,255,255,0.5); font-size: 48px;
}
.nli-body { padding: 22px 24px 22px 0; display: flex; flex-direction: column; }
.nli-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; font-size: 13px; }
.tag {
    display: inline-block;
    padding: 2px 10px;
    background: var(--bg-soft);
    color: var(--primary);
    border-radius: 4px;
    font-size: 12px;
}
.nli-body h3 { font-size: 18px; color: var(--text); margin-bottom: 10px; line-height: 1.5; font-weight: 600; }
.news-list-item:hover .nli-body h3 { color: var(--primary); }
.nli-body p { color: var(--text-light); font-size: 14px; line-height: 1.7; }

/* ===== Article (News Detail) ===== */
.article { padding: 60px 0; }
.article-inner { max-width: 900px; margin: 0 auto; }
.article-cover { margin-bottom: 28px; border-radius: 12px; overflow: hidden; }
.article-cover img { width: 100%; }
.article-summary {
    background: var(--bg-alt);
    border-left: 4px solid var(--accent);
    padding: 16px 20px;
    margin-bottom: 28px;
    color: var(--text-light);
    font-size: 15px;
    border-radius: 4px;
}
.article-content {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text);
}
.article-content h2, .article-content h3 { color: var(--primary); margin: 28px 0 14px; }
.article-content h2 { font-size: 24px; }
.article-content h3 { font-size: 20px; }
.article-content p { margin-bottom: 16px; }
.article-content img { margin: 14px 0; border-radius: 6px; }
.article-content ul, .article-content ol { padding-left: 28px; margin: 12px 0; list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin: 6px 0; }
.article-content a { color: var(--primary); text-decoration: underline; }
.article-content blockquote {
    border-left: 4px solid var(--border);
    padding: 8px 16px;
    color: var(--text-light);
    margin: 16px 0;
    background: var(--bg-alt);
}
.article-content pre, .article-content code {
    font-family: 'SF Mono', Consolas, monospace;
    background: var(--bg-soft);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
}
.article-content pre { padding: 14px; overflow-x: auto; }
.article-meta {
    margin-top: 32px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
    font-size: 14px;
    display: flex; gap: 24px;
}
.article-nav {
    margin-top: 32px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.article-nav a, .article-nav .an-empty {
    padding: 16px 20px;
    background: var(--bg-alt);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    display: flex; flex-direction: column; gap: 4px;
    transition: all var(--transition);
}
.article-nav a:hover { background: var(--primary); color: #fff; }
.an-label { font-size: 12px; opacity: 0.7; }
.an-title { font-size: 14px; font-weight: 500; }
.an-next { text-align: right; }
.an-empty { color: var(--text-lighter); }

/* ===== Related ===== */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.related-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    padding: 12px;
}
.related-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ri-cover { aspect-ratio: 16/9; overflow: hidden; border-radius: 6px; margin-bottom: 10px; }
.ri-cover img { width: 100%; height: 100%; object-fit: cover; }
.ri-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: rgba(255,255,255,0.5);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
}
.related-item h4 { font-size: 14px; color: var(--text); line-height: 1.5; margin-bottom: 6px; }
.related-item span { font-size: 12px; }

/* ===== Gallery Wall ===== */
.gallery-wall {
    column-count: 4;
    column-gap: 16px;
}
.gallery-cell {
    break-inside: avoid;
    margin-bottom: 16px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    cursor: pointer;
}
.gallery-cell img {
    width: 100%;
    display: block;
    transition: transform 0.4s;
}
.gallery-cell:hover img { transform: scale(1.05); }
.gc-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7));
    display: flex; align-items: flex-end; justify-content: space-between;
    padding: 16px;
    opacity: 0; transition: opacity var(--transition);
    color: #fff;
}
.gallery-cell:hover .gc-overlay { opacity: 1; }
.gc-title { font-size: 13px; }
.gc-zoom { font-size: 20px; }

/* ===== Lightbox ===== */
.lightbox {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    display: none;
    align-items: center; justify-content: center;
    padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img {
    max-width: 90%; max-height: 80vh;
    border-radius: 8px;
}
.lb-caption {
    color: #fff;
    margin-top: 16px;
    text-align: center;
    font-size: 14px;
}
.lb-close {
    position: absolute; top: 24px; right: 24px;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 0;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    transition: all var(--transition);
}
.lb-close:hover { background: rgba(255,255,255,0.2); transform: rotate(90deg); }

/* ===== Videos List ===== */
.videos-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.vitem {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    cursor: pointer;
    border: 1px solid var(--border);
}
.vitem:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.vitem-thumb {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
    overflow: hidden;
}
.vitem-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity var(--transition); }
.vitem:hover .vitem-thumb img { opacity: 1; }
.vitem-no-cover {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff; font-size: 56px;
}
.vitem-tag {
    position: absolute; top: 12px; left: 12px;
    padding: 3px 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}
.vitem-body { padding: 18px 20px; }
.vitem-body h3 { font-size: 16px; color: var(--text); margin-bottom: 8px; }
.vitem-body p { color: var(--text-light); font-size: 13px; line-height: 1.6; }

/* ===== Video Modal ===== */
.video-modal {
    position: fixed; inset: 0;
    z-index: 1000;
    display: none;
    align-items: center; justify-content: center;
    padding: 40px;
}
.video-modal.open { display: flex; }
.vm-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.85); }
.vm-content {
    position: relative; z-index: 2;
    max-width: 960px; width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
}
.vm-title {
    color: #fff;
    font-size: 16px;
    padding: 16px 24px;
    margin: 0;
    background: rgba(0,0,0,0.5);
}
.vm-player { aspect-ratio: 16/9; background: #000; }
.vm-player video, .vm-player iframe { width: 100%; height: 100%; border: 0; }
.vm-close {
    position: absolute; top: 12px; right: 12px;
    width: 40px; height: 40px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: 0;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 3;
    transition: all var(--transition);
}
.vm-close:hover { background: rgba(255,255,255,0.2); transform: rotate(90deg); }

/* ===== About ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}
.about-main { background: #fff; padding: 36px 40px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.about-main h2 { color: var(--primary); font-size: 26px; margin-bottom: 20px; }
.rich-text { font-size: 15px; line-height: 1.9; color: var(--text); }
.rich-text p { margin-bottom: 14px; }
.rich-text h3 { color: var(--primary); font-size: 20px; margin: 22px 0 12px; }
.about-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 100px; }
.info-card { background: #fff; padding: 24px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.info-card.highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
}
.info-card h3 { font-size: 17px; color: var(--primary); margin-bottom: 16px; }
.info-card.highlight h3 { color: #fff; }
.info-list li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.info-list li:last-child { border: 0; }
.il { font-size: 16px; flex-shrink: 0; }
.info-card.highlight p { margin-bottom: 16px; opacity: 0.9; font-size: 14px; }
.info-card.highlight .btn-primary { background: var(--accent); color: #fff; }
.info-card.highlight .btn-primary:hover { background: var(--accent-dark); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cc-card {
    background: #fff;
    padding: 28px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--border);
}
.cc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cc-icon {
    width: 56px; height: 56px;
    margin: 0 auto 16px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 24px;
}
.cc-card h3 { font-size: 15px; color: var(--primary); margin-bottom: 10px; }
.cc-value { font-size: 16px; color: var(--text); font-weight: 500; margin-bottom: 6px; }

.contact-main { display: flex; flex-direction: column; gap: 24px; }
.info-block { background: #fff; padding: 32px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.info-block h2 { color: var(--primary); font-size: 22px; margin-bottom: 16px; }
.info-block p { color: var(--text); line-height: 1.8; }
.info-table { width: 100%; margin-top: 12px; }
.info-table th, .info-table td { padding: 12px 0; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
.info-table th { color: var(--text-light); width: 100px; font-weight: 500; }
.cta-block { text-align: center; background: linear-gradient(135deg, var(--bg-alt), #fff); }

/* ===== Friend Section ===== */
.friend-section { padding: 40px 0; background: var(--bg-alt); border-top: 1px solid var(--border); }
.friend-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.friend-link {
    padding: 6px 16px;
    color: var(--text-light);
    background: #fff;
    border-radius: 4px;
    font-size: 13px;
    transition: all var(--transition);
}
.friend-link:hover { color: var(--primary); background: var(--bg-soft); }

/* ===== Footer ===== */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-brand .logo-mark { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.footer-brand h3 { color: #fff; font-size: 17px; margin-bottom: 2px; }
.footer-brand p { font-size: 12px; opacity: 0.6; }
.footer-desc { font-size: 13px; line-height: 1.8; opacity: 0.75; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 20px; font-weight: 500; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { color: rgba(255,255,255,0.65); font-size: 13px; transition: all var(--transition); }
.footer-nav a:hover { color: var(--accent); padding-left: 4px; }
.contact-list li { display: flex; gap: 8px; margin-bottom: 12px; font-size: 13px; }
.ci { flex-shrink: 0; }
.qrcode { display: flex; gap: 12px; margin-top: 12px; }
.qrcode-img {
    width: 100px; height: 100px;
    background: #fff;
    color: var(--text-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px;
    border-radius: 6px;
    text-align: center;
    padding: 8px;
    line-height: 1.3;
}
.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    font-size: 12px;
    text-align: center;
    color: rgba(255,255,255,0.5);
}
.copyright .container { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.icp a { color: rgba(255,255,255,0.5); }
.icp a:hover { color: var(--accent); }

/* ===== Empty / Pager ===== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}
.empty-state h3 { color: var(--text); margin-bottom: 8px; font-size: 18px; }
.empty-state p { font-size: 14px; }

.pager-wrap { padding: 40px 0; display: flex; justify-content: center; }
.pager ul { display: flex; gap: 6px; list-style: none; }
.pager li a, .pager li span {
    display: inline-block;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text);
    font-size: 14px;
    text-decoration: none;
    min-width: 40px;
    text-align: center;
    transition: all var(--transition);
}
.pager li a:hover { border-color: var(--primary); color: var(--primary); }
.pager li.active a, .pager li.active span { background: var(--primary); color: #fff; border-color: var(--primary); }
.pager li.disabled span { color: #ccc; cursor: not-allowed; }

.search-page-form { display: flex; gap: 8px; max-width: 600px; margin: 0 auto 40px; }
.search-page-form input {
    flex: 1; padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}
.search-page-form input:focus { outline: none; border-color: var(--primary); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .news-card-lg { grid-column: span 2; grid-row: auto; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .video-grid-home { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-content { grid-template-columns: 1fr; }
    .about-side { position: static; }
    .contact-grid { grid-template-columns: 1fr; }
    .gallery-wall { column-count: 3; }
}

@media (max-width: 768px) {
    .topbar-inner { font-size: 12px; }
    .topbar-right { gap: 12px; }
    .header-inner { padding: 12px 16px; flex-wrap: wrap; }
    .nav-toggle {
        display: block;
        background: transparent;
        border: 0;
        color: var(--primary);
        font-size: 24px;
        padding: 4px 8px;
    }
    .main-nav {
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        box-shadow: var(--shadow);
        padding: 12px;
        display: none;
        gap: 4px;
    }
    .main-nav.open { display: flex; }
    .nav-link { width: 100%; padding: 12px 16px; }
    .search-form { width: 100%; order: 3; }
    .search-form input { flex: 1; width: auto; }

    .hero { padding: 60px 0 50px; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 15px; }
    .hero-stats { gap: 24px; }
    .stat-num { font-size: 28px; }

    .section { padding: 50px 0; }
    .section-head h2 { font-size: 26px; }
    .section-head.row { flex-direction: column; align-items: flex-start; gap: 12px; }

    .news-grid, .video-grid-home, .gallery-grid { grid-template-columns: 1fr; }
    .news-card-lg { grid-column: auto; }
    .news-list-item { grid-template-columns: 1fr; }
    .nli-body { padding: 18px; }

    .gallery-wall { column-count: 2; }
    .videos-list { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: 1fr; }
    .article-nav { grid-template-columns: 1fr; }
    .an-next { text-align: left; }
    .info-block { padding: 20px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 26px; }
    .hero-stats { flex-wrap: wrap; gap: 16px; }
    .stat { flex: 1 1 40%; }
    .gallery-wall { column-count: 1; }
}
