/* ═══════════════════════════════════════════════
   郑州工大粮安科技有限公司 - 官网样式
   配色：深蓝 #1a3a5c / 绿色 #2d8f4e / 白色
   ═══════════════════════════════════════════════ */

/* ── Reset & Base ──────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #333; background: #f5f7fa; line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

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

/* ── Header ────────────────────────────────────── */
.site-header {
    background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.08);
    position: sticky; top: 0; z-index: 100;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 80px;
}
.logo img { height: 50px; width: auto; }
.main-nav { display: flex; gap: 8px; }
.main-nav a {
    padding: 8px 18px; font-size: 15px; color: #1a3a5c;
    border-radius: 4px; transition: all .25s; font-weight: 500;
}
.main-nav a:hover, .main-nav a.active {
    background: #1a3a5c; color: #fff;
}
.mobile-menu-btn {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 8px;
}
.mobile-menu-btn span { display: block; width: 24px; height: 3px; background: #1a3a5c; border-radius: 2px; }

/* ── Page Banner ───────────────────────────────── */
.page-banner {
    background: linear-gradient(135deg, #1a3a5c 0%, #2d8f4e 100%);
    color: #fff; text-align: center; padding: 60px 20px 50px;
}
.page-banner h1 { font-size: 32px; margin-bottom: 8px; font-weight: 700; }
.page-banner p { font-size: 14px; letter-spacing: 4px; opacity: .7; }

/* ── Section ───────────────────────────────────── */
.section { padding: 70px 0; }
.section-title {
    text-align: center; font-size: 28px; color: #1a3a5c;
    font-weight: 700; margin-bottom: 6px;
}
.section-title.left { text-align: left; }
.section-subtitle {
    text-align: center; font-size: 13px; color: #999;
    letter-spacing: 4px; text-transform: uppercase; margin-bottom: 40px;
}
.section-subtitle.left { text-align: left; }
.section-title.light { color: #fff; }
.section-subtitle.light { color: rgba(255,255,255,.6); }

/* ── Banner Slider ─────────────────────────────── */
.banner-slider {
    position: relative; overflow: hidden; height: 520px; background: #0d1b2a;
}
.banner-track { position: relative; width: 100%; height: 100%; }
.banner-slide {
    position: absolute; inset: 0; opacity: 0;
    transition: opacity .8s ease;
}
.banner-slide.active { opacity: 1; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-prev, .banner-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,.4); color: #fff; border: none;
    font-size: 24px; padding: 16px 14px; cursor: pointer;
    z-index: 10; transition: background .3s;
}
.banner-prev:hover, .banner-next:hover { background: rgba(0,0,0,.7); }
.banner-prev { left: 0; border-radius: 0 4px 4px 0; }
.banner-next { right: 0; border-radius: 4px 0 0 4px; }
.banner-dots {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 10;
}
.dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: rgba(255,255,255,.4); cursor: pointer; transition: background .3s;
}
.dot.active { background: #fff; }

/* ── Product Tabs ──────────────────────────────── */
.product-tabs {
    display: flex; justify-content: center; gap: 8px;
    flex-wrap: wrap; margin-bottom: 30px;
}
.tab-btn {
    padding: 10px 24px; border: 2px solid #1a3a5c; background: #fff;
    color: #1a3a5c; border-radius: 30px; cursor: pointer;
    font-size: 14px; font-weight: 500; transition: all .25s;
}
.tab-btn.active, .tab-btn:hover {
    background: #1a3a5c; color: #fff;
}
.tab-content { display: none; }
.tab-content.active {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

/* ── Product Card ──────────────────────────────── */
.product-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.product-card {
    background: #fff; border-radius: 8px; overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: all .3s;
    display: block;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.product-img {
    height: 200px; overflow: hidden; background: #e8edf2;
    display: flex; align-items: center; justify-content: center;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-img img { transform: scale(1.05); }
.no-img { color: #aaa; font-size: 14px; }
.product-info { padding: 16px; }
.product-info h3 { font-size: 16px; color: #1a3a5c; margin-bottom: 4px; line-height: 1.4; }
.product-model { font-size: 13px; color: #2d8f4e; font-weight: 500; }
.product-cat { font-size: 12px; color: #999; display: block; margin-top: 4px; }

/* ── Cases Scroll ──────────────────────────────── */
.cases-section { background: #fff; }
.cases-scroll-wrapper { overflow: hidden; position: relative; }
.cases-scroll {
    display: flex; gap: 20px; overflow-x: auto;
    scroll-behavior: smooth; padding-bottom: 10px;
    scrollbar-width: none;
}
.cases-scroll::-webkit-scrollbar { display: none; }
.case-card {
    min-width: 280px; background: #f5f7fa; border-radius: 8px;
    overflow: hidden; flex-shrink: 0; transition: all .3s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.case-img { height: 180px; overflow: hidden; background: #e8edf2; }
.case-img img { width: 100%; height: 100%; object-fit: cover; }
.case-card h3 { padding: 14px 16px; font-size: 15px; color: #1a3a5c; }
.cases-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px;
}
.case-summary { padding: 0 16px 14px; font-size: 13px; color: #777; }

/* ── Advantages ────────────────────────────────── */
.advantages-section {
    background: linear-gradient(135deg, #1a3a5c 0%, #0d2b45 100%);
    color: #fff;
}
.advantages-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
.adv-card {
    text-align: center; padding: 30px 20px;
    background: rgba(255,255,255,.08); border-radius: 12px;
    transition: all .3s;
}
.adv-card:hover { background: rgba(255,255,255,.15); transform: translateY(-4px); }
.adv-icon { font-size: 48px; margin-bottom: 16px; }
.adv-card h3 { font-size: 15px; margin-bottom: 12px; color: #7ecbf0; white-space: nowrap; }
.adv-card p { font-size: 14px; line-height: 1.7; opacity: .85; }

/* ── Cooperation ───────────────────────────────── */
.cooperation-section { background: #fff; }
.coop-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.coop-item {
    text-align: center; padding: 30px 16px;
    border: 2px solid #e8edf2; border-radius: 12px;
    transition: all .3s;
}
.coop-item:hover { border-color: #2d8f4e; background: #f0faf3; }
.coop-num {
    font-size: 36px; font-weight: 800; color: #2d8f4e;
    display: block; margin-bottom: 10px;
}
.coop-item h4 { font-size: 16px; color: #1a3a5c; }

/* ── Brief Section ─────────────────────────────── */
.brief-section { background: #f5f7fa; }
.brief-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
}
.brief-text p { margin-bottom: 16px; color: #555; font-size: 15px; }
.brief-img {
    border-radius: 12px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,.1);
}
.brief-img img { width: 100%; }

/* ── News ──────────────────────────────────────── */
.news-section { background: #fff; }
.news-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px;
}
.news-card {
    background: #f5f7fa; border-radius: 8px; overflow: hidden;
    display: flex; transition: all .3s;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.news-img { width: 140px; flex-shrink: 0; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 16px; flex: 1; }
.news-date { font-size: 12px; color: #999; }
.news-body h3 { font-size: 16px; color: #1a3a5c; margin: 6px 0; line-height: 1.4; }
.news-body p { font-size: 13px; color: #777; }
.news-list { display: flex; flex-direction: column; gap: 20px; }
.news-item {
    display: flex; gap: 20px; background: #fff; border-radius: 8px;
    padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.04); transition: all .3s;
}
.news-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.news-item-img { width: 180px; flex-shrink: 0; border-radius: 6px; overflow: hidden; }
.news-item-img img { width: 100%; height: 120px; object-fit: cover; }
.news-item-body { flex: 1; }
.news-item-body h3 { font-size: 18px; color: #1a3a5c; margin: 6px 0; }
.news-item-body p { font-size: 14px; color: #777; }
.news-detail { max-width: 800px; margin: 0 auto; }
.news-detail h1 { font-size: 28px; color: #1a3a5c; margin-bottom: 10px; }
.news-detail-img { margin: 20px 0; border-radius: 8px; }
.rich-text { font-size: 15px; line-height: 1.9; color: #444; word-wrap: break-word; }
.rich-text p { margin-bottom: 12px; }
.rich-text h1 { font-size: 24px; color: #1a3a5c; margin: 24px 0 12px; font-weight: 700; }
.rich-text h2 { font-size: 20px; color: #1a3a5c; margin: 20px 0 10px; font-weight: 600; }
.rich-text h3 { font-size: 18px; color: #1a3a5c; margin: 20px 0 10px; font-weight: 600; }
.rich-text .list-item { padding-left: 20px; position: relative; margin-bottom: 6px; color: #555; }
.rich-text .list-item::before { content: ''; position: absolute; left: 6px; top: 10px; width: 6px; height: 6px; background: #2d8f4e; border-radius: 50%; }
.rich-text img { max-width: 100%; height: auto; border-radius: 6px; margin: 6px 4px; display: inline-block; }
.rich-text video { max-width: 100%; height: auto; border-radius: 6px; margin: 12px 0; display: block; }
.rich-text iframe { max-width: 100%; border-radius: 6px; margin: 12px 0; }
.rich-text table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.rich-text table th, .rich-text table td { border: 1px solid #ddd; padding: 8px 12px; text-align: left; }
.rich-text table th { background: #f5f7fa; font-weight: 600; }

/* ── Detail Gallery ────────────────────────────── */
.detail-gallery {
    display: flex; gap: 10px; margin-top: 12px; overflow-x: auto;
    padding-bottom: 4px;
}
.detail-thumb {
    width: 100px; height: 100px; object-fit: cover; border-radius: 6px;
    cursor: pointer; border: 2px solid transparent; transition: all .2s;
    flex-shrink: 0;
}
.detail-thumb:hover { border-color: #1a3a5c; }

/* ── Contact CTA ───────────────────────────────── */
.contact-cta-section {
    background: linear-gradient(135deg, #2d8f4e 0%, #1a6b36 100%);
    color: #fff; text-align: center; padding: 60px 20px;
}
.contact-cta-section h2 { font-size: 28px; margin-bottom: 16px; }
.contact-cta-section p { font-size: 15px; opacity: .9; margin-bottom: 4px; }

/* ── Contact Page ──────────────────────────────── */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.contact-info-block h2, .contact-map h2 {
    font-size: 22px; color: #1a3a5c; margin-bottom: 20px;
}
.contact-item {
    display: flex; padding: 14px 0; border-bottom: 1px solid #eee;
    font-size: 15px;
}
.contact-label {
    width: 100px; flex-shrink: 0; color: #999; font-weight: 500;
}
.map-placeholder {
    background: #e8edf2; border-radius: 12px; padding: 60px 30px;
    text-align: center; color: #666; font-size: 15px;
}

/* ── Honors ────────────────────────────────────── */
.honors-layout {
    display: grid; grid-template-columns: 200px 1fr; gap: 30px;
}
.honors-sidebar {
    background: #fff; border-radius: 8px; padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06); align-self: start;
    position: sticky; top: 100px;
}
.honors-sidebar h3 {
    font-size: 16px; color: #1a3a5c; margin-bottom: 14px;
    padding-bottom: 10px; border-bottom: 2px solid #2d8f4e;
}
.honors-cat-list li { margin-bottom: 4px; }
.honors-cat-list a {
    display: block; padding: 10px 14px; border-radius: 6px;
    font-size: 14px; color: #555; transition: all .2s;
}
.honors-cat-list a:hover { background: #f0faf3; color: #2d8f4e; }
.honors-cat-list a.active {
    background: #1a3a5c; color: #fff;
}
.honors-content { min-width: 0; }
.honors-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px;
}
.honor-card {
    background: #fff; border-radius: 8px; overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.06); text-align: center;
    padding-bottom: 16px; transition: all .3s;
}
.honor-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.honor-img { height: 240px; overflow: hidden; background: #f5f7fa; }
.honor-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.honor-card h3 { font-size: 15px; color: #1a3a5c; padding: 10px 16px 4px; }
.honor-cat { font-size: 12px; color: #2d8f4e; background: #e8f5e9; padding: 2px 12px; border-radius: 20px; }

/* ── Detail Pages ──────────────────────────────── */
.detail-main {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
.detail-media { display: flex; flex-direction: column; gap: 16px; }
.detail-main-img { border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.detail-video { border-radius: 8px; max-width: 100%; }
.detail-info h1 { font-size: 26px; color: #1a3a5c; margin-bottom: 12px; }
.detail-model { font-size: 15px; color: #2d8f4e; font-weight: 500; margin-bottom: 6px; }
.detail-cat { font-size: 14px; color: #999; margin-bottom: 12px; }
.detail-summary { font-size: 15px; color: #555; line-height: 1.8; }
.detail-body { max-width: 900px; margin: 0 auto 40px; }
.detail-body h2 {
    font-size: 22px; color: #1a3a5c; margin-bottom: 16px;
    padding-bottom: 10px; border-bottom: 3px solid #2d8f4e;
}
.related-section { margin-top: 60px; }
.related-section h2 {
    font-size: 22px; color: #1a3a5c; margin-bottom: 24px;
    text-align: center;
}

/* ── Filter Bar ────────────────────────────────── */
.filter-bar {
    display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px;
    justify-content: center;
}
.filter-btn {
    padding: 8px 22px; border: 2px solid #ddd; border-radius: 30px;
    font-size: 14px; color: #555; transition: all .25s; cursor: pointer;
}
.filter-btn.active, .filter-btn:hover {
    border-color: #1a3a5c; background: #1a3a5c; color: #fff;
}

/* ── Pagination ────────────────────────────────── */
.pagination {
    display: flex; justify-content: center; gap: 8px; margin-top: 40px;
}
.page-btn {
    padding: 8px 16px; border: 1px solid #ddd; border-radius: 4px;
    font-size: 14px; color: #555; transition: all .25s;
}
.page-btn.active, .page-btn:hover {
    background: #1a3a5c; color: #fff; border-color: #1a3a5c;
}

/* ── Buttons ───────────────────────────────────── */
.btn-primary {
    display: inline-block; padding: 12px 32px; background: #1a3a5c;
    color: #fff; border: none; border-radius: 6px; font-size: 15px;
    font-weight: 500; cursor: pointer; transition: all .3s; text-align: center;
}
.btn-primary:hover { background: #15304d; transform: translateY(-1px); }
.btn-secondary {
    display: inline-block; padding: 12px 32px; background: #e8edf2;
    color: #555; border: none; border-radius: 6px; font-size: 15px;
    cursor: pointer; transition: all .3s; text-align: center;
}
.btn-secondary:hover { background: #d8dde3; }
.full-width { width: 100%; }

/* ── Empty State ───────────────────────────────── */
.empty-state {
    text-align: center; padding: 60px 20px; color: #999; font-size: 16px;
}

/* ── Footer ────────────────────────────────────── */
.site-footer {
    background: #0d1b2a; color: rgba(255,255,255,.75); padding: 50px 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
    padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col h4 {
    font-size: 16px; color: #fff; margin-bottom: 16px;
    padding-bottom: 10px; border-bottom: 2px solid #2d8f4e;
    display: inline-block;
}
.footer-col p { font-size: 14px; line-height: 1.8; margin-bottom: 6px; }
.footer-col a { display: block; font-size: 14px; padding: 3px 0; transition: color .2s; }
.footer-col a:hover { color: #2d8f4e; }
.footer-bottom {
    text-align: center; padding: 20px 0; font-size: 13px;
    color: rgba(255,255,255,.4);
}
.footer-bottom .icp-link,
.footer-bottom .license-link {
    color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s;
}
.footer-bottom .icp-link:hover,
.footer-bottom .license-link:hover { color: #2d8f4e; }
.footer-bottom .footer-sep { margin: 0 6px; }

/* 营业执照弹窗 */
.license-modal {
    display: none; position: fixed; z-index: 9999; left: 0; top: 0;
    width: 100%; height: 100%; background: rgba(0,0,0,.7);
    align-items: center; justify-content: center;
}
.license-modal-content {
    position: relative; max-width: 90%; max-height: 90vh; background: #fff;
    border-radius: 8px; padding: 20px; box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.license-modal-content img {
    max-width: 100%; max-height: 80vh; display: block; margin: 0 auto;
    border-radius: 4px;
}
.license-modal-close {
    position: absolute; top: 8px; right: 16px; font-size: 28px;
    color: #666; cursor: pointer; line-height: 1; transition: color .2s;
}
.license-modal-close:hover { color: #333; }
.footer-qr { text-align: center; }
.qr-codes { display: flex; gap: 16px; justify-content: center; margin-top: 8px; }
.qr-item { text-align: center; }
.qr-item img { width: 110px; height: 110px; border-radius: 6px; background: #fff; padding: 4px; }
.qr-item span { display: block; font-size: 12px; color: rgba(255,255,255,.6); margin-top: 6px; }

/* ══════════════════════════════════════════════════
   Admin Styles
   ══════════════════════════════════════════════════ */

.admin-body { background: #f0f2f5; }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 220px; background: #1a3a5c; color: #fff;
    flex-shrink: 0; position: sticky; top: 0; height: 100vh;
    overflow-y: auto;
}
.admin-logo {
    padding: 20px; font-size: 18px; font-weight: 700;
    text-align: center; border-bottom: 1px solid rgba(255,255,255,.1);
}
.admin-nav { padding: 10px 0; }
.admin-nav a {
    display: block; padding: 12px 24px; font-size: 14px;
    color: rgba(255,255,255,.7); transition: all .2s;
}
.admin-nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.admin-nav a.active { background: rgba(255,255,255,.15); color: #fff; border-left: 3px solid #2d8f4e; }
.admin-main { flex: 1; padding: 30px; }
.admin-main h2 { font-size: 22px; color: #1a3a5c; margin-bottom: 24px; }

/* ── Dashboard ─────────────────────────────────── */
.dash-welcome {
    background: linear-gradient(135deg, #1a3a5c 0%, #2d8f4e 100%);
    color: #fff; border-radius: 12px; padding: 28px 32px;
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 24px;
}
.dash-welcome h2 { font-size: 22px; margin-bottom: 4px; font-weight: 600; }
.dash-welcome p { font-size: 14px; opacity: .8; }
.dash-welcome-time { font-size: 36px; font-weight: 300; font-family: 'Courier New', monospace; opacity: .9; }

.dash-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; margin-bottom: 24px; }
.dash-stat-card {
    background: #fff; border-radius: 10px; padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04); display: flex; align-items: center; gap: 14px;
    text-decoration: none; color: inherit; transition: all .2s; border-left: 4px solid var(--accent, #2d8f4e);
}
.dash-stat-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.dash-stat-icon { font-size: 28px; }
.dash-stat-num { font-size: 28px; font-weight: 700; color: #1a3a5c; display: block; line-height: 1.2; }
.dash-stat-label { font-size: 13px; color: #999; }

.dash-section { margin-bottom: 24px; }
.dash-section h3 { font-size: 16px; color: #1a3a5c; margin-bottom: 12px; font-weight: 600; }

.dash-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dash-action-btn {
    display: inline-block; padding: 10px 20px; background: #2d8f4e; color: #fff;
    border-radius: 6px; font-size: 14px; text-decoration: none; transition: background .2s;
}
.dash-action-btn:hover { background: #237a3f; }
.dash-action-btn.outline { background: #fff; color: #2d8f4e; border: 1px solid #2d8f4e; }
.dash-action-btn.outline:hover { background: #f0faf4; }

.dash-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dash-list {
    background: #fff; border-radius: 10px; overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.dash-list-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 20px; text-decoration: none; color: inherit;
    border-bottom: 1px solid #f0f0f0; transition: background .2s;
}
.dash-list-item:last-child { border-bottom: none; }
.dash-list-item:hover { background: #f9fafb; }
.dash-list-title { font-size: 14px; color: #333; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 12px; }
.dash-list-date { font-size: 12px; color: #999; white-space: nowrap; }
.dash-empty { padding: 30px; text-align: center; color: #ccc; font-size: 14px; }

/* ── Admin Table ───────────────────────────────── */
.admin-table {
    width: 100%; border-collapse: collapse; background: #fff;
    border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.admin-table th {
    background: #f5f7fa; padding: 12px 14px; text-align: left;
    font-size: 13px; color: #666; font-weight: 600;
}
.admin-table td { padding: 12px 14px; border-top: 1px solid #f0f0f0; font-size: 14px; }
.thumb { width: 50px; height: 50px; object-fit: cover; border-radius: 4px; }
.preview-img { max-width: 200px; margin-top: 8px; border-radius: 4px; }
.preview-video { max-width: 300px; margin-top: 8px; border-radius: 4px; }

/* ── Admin Header ──────────────────────────────── */
.admin-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
}
.admin-header h2 { margin-bottom: 0; }

/* ── Admin Card ────────────────────────────────── */
.admin-card {
    background: #fff; border-radius: 8px; padding: 20px;
    margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.admin-card h3 { font-size: 16px; color: #1a3a5c; margin-bottom: 12px; }
.inline-form { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.inline-form input { padding: 8px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 12px; background: #e8f5e9; color: #2d8f4e;
    border-radius: 20px; font-size: 13px;
}
.tag-del { background: none; border: none; color: #e74c3c; cursor: pointer; font-size: 16px; }

/* ── Admin Form ────────────────────────────────── */
.admin-form { max-width: 800px; }
.admin-form .form-group { margin-bottom: 18px; }
.admin-form label { display: block; font-size: 14px; color: #555; margin-bottom: 6px; font-weight: 500; }
.admin-form input[type="text"],
.admin-form input[type="email"],
.admin-form input[type="password"],
.admin-form input[type="number"],
.admin-form input[type="date"],
.admin-form select,
.admin-form textarea {
    width: 100%; padding: 10px 14px; border: 1px solid #ddd;
    border-radius: 6px; font-size: 14px; font-family: inherit;
    transition: border-color .2s;
}
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus {
    outline: none; border-color: #1a3a5c;
}
.admin-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display: flex; gap: 12px; margin-top: 24px; }
.btn-sm {
    padding: 5px 14px; font-size: 13px; border: 1px solid #1a3a5c;
    background: #fff; color: #1a3a5c; border-radius: 4px; cursor: pointer;
    transition: all .2s;
}
.btn-sm:hover { background: #1a3a5c; color: #fff; }
.btn-danger { border-color: #e74c3c; color: #e74c3c; }
.btn-danger:hover { background: #e74c3c; color: #fff; }

/* ── wangEditor ──────────────────────────────── */
.wang-editor-wrapper { margin-bottom: 10px; }
.wang-toolbar-area { border: 1px solid #ddd; border-radius: 6px 6px 0 0; background: #f9fafb; }
.btn-word-import {
    display: inline-block; padding: 8px 16px; margin: 0;
    background: #1890ff; color: #fff; border: 1px solid #1890ff;
    border-left: 1px solid #ddd; border-right: 1px solid #ddd;
    font-size: 13px; cursor: pointer; transition: background .2s;
}
.btn-word-import:hover { background: #40a9ff; }
.wang-editor-area { border: 1px solid #ddd; border-top: none; border-radius: 0 0 6px 6px; background: #fff; min-height: 300px; }
.wang-editor-area .w-e-text-container { min-height: 300px !important; }
.wang-editor-area .w-e-text-container [data-slate-editor] { min-height: 300px; line-height: 1.8; color: #333; font-size: 15px; }
.wang-editor-area img { max-width: 100%; height: auto; display: inline-block; margin: 6px 4px; border-radius: 6px; }
.wang-editor-area video { max-width: 100%; height: auto; }
.wang-editor-area table { width: 100%; border-collapse: collapse; margin: 10px 0; }
.wang-editor-area table td,
.wang-editor-area table th { border: 1px solid #ccc; padding: 6px 10px; text-align: left; }
.wang-editor-area table th { background: #f5f5f5; font-weight: bold; }

/* ── Flash Messages ────────────────────────────── */
.flash-messages { margin-bottom: 20px; }
.flash-msg {
    padding: 12px 16px; border-radius: 6px; font-size: 14px; margin-bottom: 8px;
}
.flash-success { background: #e8f5e9; color: #2d8f4e; }
.flash-error { background: #fdecea; color: #e74c3c; }

/* ── Login ─────────────────────────────────────── */
.login-body {
    display: flex; align-items: center; justify-content: center;
    min-height: 100vh; background: linear-gradient(135deg, #1a3a5c, #2d8f4e);
}
.login-box {
    background: #fff; border-radius: 12px; padding: 40px;
    width: 100%; max-width: 380px; box-shadow: 0 12px 40px rgba(0,0,0,.2);
}
.login-box h1 { font-size: 24px; color: #1a3a5c; text-align: center; margin-bottom: 4px; }
.login-sub { text-align: center; color: #999; font-size: 13px; margin-bottom: 24px; }
.login-box .form-group { margin-bottom: 18px; }
.login-box label { display: block; font-size: 14px; color: #555; margin-bottom: 6px; }
.login-box input {
    width: 100%; padding: 12px 14px; border: 1px solid #ddd;
    border-radius: 6px; font-size: 15px;
}
.login-box input:focus { outline: none; border-color: #1a3a5c; }

/* ── About Content ─────────────────────────────── */
.about-layout {
    display: grid; grid-template-columns: 1fr 320px; gap: 40px;
}
.about-main p { margin-bottom: 18px; font-size: 15px; line-height: 1.9; color: #444; }
.about-highlights {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    margin-top: 30px; padding-top: 30px; border-top: 1px solid #eee;
}
.highlight-item { text-align: center; }
.highlight-num {
    display: block; font-size: 36px; font-weight: 800; color: #1a3a5c;
}
.highlight-label {
    display: block; font-size: 13px; color: #999; margin-top: 4px;
}
.about-sidebar { align-self: start; }
.about-contact-card {
    background: #fff; border-radius: 10px; padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.about-contact-card h3 {
    font-size: 18px; color: #1a3a5c; margin-bottom: 16px;
    padding-bottom: 12px; border-bottom: 2px solid #2d8f4e;
}
.contact-line {
    display: flex; gap: 10px; padding: 10px 0;
    font-size: 14px; color: #555; border-bottom: 1px solid #f5f5f5;
}
.contact-icon { font-size: 16px; flex-shrink: 0; }

/* ── Responsive ────────────────────────────────── */
@media (max-width: 900px) {
    .header-inner { height: 64px; }
    .mobile-menu-btn { display: flex; }
    .main-nav {
        display: none; position: absolute; top: 64px; left: 0; right: 0;
        background: #fff; flex-direction: column; box-shadow: 0 4px 12px rgba(0,0,0,.1);
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 14px 24px; border-bottom: 1px solid #f0f0f0; }
    .banner-slider { height: 260px; }
    .tab-content.active { grid-template-columns: repeat(2, 1fr); }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .coop-grid { grid-template-columns: repeat(3, 1fr); }
    .brief-grid { grid-template-columns: 1fr; }
    .about-layout { grid-template-columns: 1fr; }
    .about-highlights { grid-template-columns: repeat(2, 1fr); }
    .detail-main { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .honors-layout { grid-template-columns: 1fr; }
    .honors-sidebar { position: static; }
    .honors-cat-list { display: flex; flex-wrap: wrap; gap: 6px; }
    .honors-cat-list li { margin: 0; }
    .news-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .admin-sidebar { width: 60px; }
    .admin-logo { font-size: 12px; padding: 12px 4px; }
    .admin-nav a { padding: 12px 8px; font-size: 16px; text-align: center; }
}
@media (max-width: 600px) {
    .tab-content.active { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .coop-grid { grid-template-columns: 1fr 1fr; }
    .product-grid, .cases-grid, .honors-grid { grid-template-columns: 1fr; }
    .news-item { flex-direction: column; }
    .news-item-img { width: 100%; }
}
