﻿@charset "UTF-8";
/* ============================================
   康鸿微电子 - 现代化企业官网样式
   ============================================ */

/* === Reset & Base === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: #333; background: #f8f9fa; line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: #3464BC; text-decoration: none; transition: color 0.2s; }
a:hover { color: #2a50a0; }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }

/* === Layout === */
.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col, .col-3, .col-4, .col-6, .col-8, .col-9, .col-12 { padding: 0 15px; }
.col-3 { width: 25%; }
.col-4 { width: 33.333%; }
.col-6 { width: 50%; }
.col-8 { width: 66.666%; }
.col-9 { width: 75%; }
.col-12 { width: 100%; }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-20 { margin-bottom: 20px; }
.clearfix::after { content: ''; display: table; clear: both; }

/* === Header === */
.site-header { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; }
.header-top { background: linear-gradient(135deg, #3464BC 0%, #4a82d6 100%); color: #fff; padding: 8px 0; font-size: 13px; }
.header-top .container { display: flex; justify-content: space-between; align-items: center; }
.header-top a { color: #fff; margin-left: 15px; }
.lang-switch { margin-left: 15px; }
.lang-switch a { margin-left: 0; padding: 0 2px; }
.lang-switch a.active { font-weight: 700; text-decoration: underline; }
.lang-sep { color: rgba(255,255,255,0.5); padding: 0 3px; }
.header-main { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.logo { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.logo-img { max-height: 60px; max-width: 200px; }
.logo-info { display: flex; flex-direction: column; min-width: 280px; }
.logo-text { font-size: 22px; font-weight: 700; color: #3464BC; line-height: 1.3; text-align: justify; text-align-last: justify; }
.logo-sub { font-size: 11px; color: #5a7a8a; letter-spacing: 1px; margin-top: 4px; text-align: justify; text-align-last: justify; }
.header-contact { font-size: 13px; color: #666; }
.header-contact .hotline { font-size: 24px; font-weight: 800; color: #3464BC; letter-spacing: 1px; }
.main-nav { background: #3464BC; }
.main-nav .nav-container { display: flex; justify-content: space-between; align-items: center; }
.main-nav ul { display: flex; }
.main-nav li { position: relative; }
.main-nav a { display: block; color: #fff; padding: 14px 24px; font-size: 15px; transition: background 0.2s; }
.main-nav a:hover, .main-nav li.active > a { background: #3464BC; }
.main-nav .nav-search { display: flex; align-items: center; gap: 6px; color: #fff; padding: 14px 20px; font-size: 14px; text-decoration: none; white-space: nowrap; transition: background 0.2s; }
.main-nav .nav-search:hover { background: rgba(255,255,255,0.15); }
.main-nav .search-icon { flex-shrink: 0; }

/* === Hero Banner === */
.banner-carousel { position: relative; width: 100vw; margin-left: calc(-50vw + 50%); overflow: hidden; background: #3464BC; }
.banner-carousel .banner-slides { position: relative; width: 100%; height: 520px; }
.banner-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s ease-in-out; z-index: 1; }
.banner-slide.active { opacity: 1; z-index: 2; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.banner-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: background 0.3s, transform 0.3s; border: 2px solid rgba(255,255,255,0.6); }
.banner-dot.active { background: #fff; border-color: #fff; transform: scale(1.2); }
.banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,0.3); color: #fff; border: none; font-size: 24px; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; transition: background 0.3s; }
.banner-arrow:hover { background: rgba(0,0,0,0.6); }
.banner-arrow.prev { left: 20px; }
.banner-arrow.next { right: 20px; }

/* === Banner Caption Overlay === */
.banner-overlay { position: absolute; top: 22%; left: 0; width: 100%; z-index: 10; pointer-events: none; }
.banner-overlay-content { text-align: center; color: #fff; width: 80%; max-width: 800px; margin: 0 auto; }
.banner-overlay-title { font-size: 48px; font-weight: 700; margin-bottom: 16px; text-shadow: 0 2px 8px rgba(0,0,0,0.5); letter-spacing: 2px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.banner-overlay-subtitle { font-size: 22px; font-weight: 400; text-shadow: 0 1px 4px rgba(0,0,0,0.4); opacity: 0.9; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* === Hot Products Marquee === */
.hot-products-section { background: #f8f9fa; padding: 30px 0; }
.hot-products-header { text-align: center; margin-bottom: 20px; }
.hot-products-header h2 { font-size: 24px; color: #3464BC; }
.marquee-wrapper { overflow: hidden; width: 100%; }
.marquee-track { display: flex; gap: 20px; animation: marquee-scroll 40s linear infinite; width: max-content; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 140px; }
.marquee-item img { width: 120px; height: 120px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid #e0e0e0; padding: 8px; }
.marquee-label { font-size: 12px; color: #666; margin-top: 8px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* === Section === */
.section { padding: 50px 0; }
.section-title { text-align: center; margin-bottom: 35px; }
.section-title h2 { font-size: 28px; color: #3464BC; margin-bottom: 10px; }
.section-title p { font-size: 15px; color: #999; }

/* === Product Grid === */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.product-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: transform 0.2s, box-shadow 0.2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.product-card .product-img { height: 180px; background: #f8f9fa; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-card .product-img img { max-height: 100%; }
.product-card .product-info { padding: 15px; }
.product-card .product-name { font-size: 14px; font-weight: 600; margin-bottom: 5px; color: #333; }
.product-card .product-model { font-size: 12px; color: #999; }

.main-content { max-width: 1400px; margin: 0 auto; padding: 0 15px; min-height: 500px; }
.main-content .row { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.main-content .col-3 { flex: 0 0 220px; max-width: 220px; }
.main-content .col-9 { flex: 1; min-width: 0; max-width: none; }

/* === Product Table === */
.product-table-container { background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); padding: 20px; margin: 20px 0; overflow-x: auto; }
.product-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.product-table thead { background: #3464BC; color: #fff; }
.product-table th { padding: 12px 15px; text-align: center; font-weight: 600; }
.product-table td { padding: 10px 15px; border-bottom: 1px solid #e9ecef; vertical-align: middle; text-align: center; }
.product-table tbody tr:hover { background: #f8f9fa; }
.btn-save { display: inline-block; width: 28px; height: 28px; line-height: 28px; text-align: center; background: #3464BC; color: #fff; border-radius: 4px; font-size: 14px; }
.btn-save:hover { background: #2a50a0; color: #fff; }
.btn-download { display: inline-block; padding: 4px 10px; background: #3464BC; color: #fff; border-radius: 4px; font-size: 12px; }
.btn-download:hover { background: #2a50a0; color: #fff; }

/* === Product Filter === */
.product-filter { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; margin-bottom: 10px; }
.product-filter .search-box { display: flex; gap: 10px; }
.search-input { padding: 8px 12px; border: 1px solid #dee2e6; border-radius: 4px; width: 200px; font-size: 14px; }
.btn-search { padding: 8px 16px; background: #3464BC; color: #fff; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; }
.btn-search:hover { background: #2a50a0; }

/* === Sidebar === */
.sidebar { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); margin-bottom: 20px; }
.sidebar-title { background: #3464BC; color: #fff; padding: 12px 20px; font-size: 15px; font-weight: 600; }
.sidebar-menu { list-style: none; padding: 0; margin: 0; }
.sidebar-menu li { border-bottom: 1px solid #f0f0f0; }
/* 父分类 - 粗体显示，带点击展开/折叠功能 */
.sidebar-menu .cate-parent { position: relative; }
.sidebar-menu .cate-parent > a { font-weight: 600; color: #333; display: inline-block; }
.sidebar-menu .cate-parent > a.cate-link { padding-left: 28px; }
/* 展开/折叠按钮 */
.sidebar-menu .cate-toggle { 
    display: inline-block; width: 28px; height: 100%; 
    text-align: center; cursor: pointer; font-size: 12px; 
    color: #999; position: absolute; left: 0; top: 0;
    padding: 10px 0; line-height: 1.4; user-select: none;
}
.sidebar-menu .cate-toggle:hover { color: #3464BC; }
/* 子分类容器 - 默认隐藏 */
.sidebar-menu .cate-children { display: none; }
.sidebar-menu .cate-children.expanded { display: block; }
.sidebar-menu li.cate-child > a { padding-left: 36px; font-size: 13px; color: #666; }
.sidebar-menu li.cate-child:last-child { border-bottom: none; }
.sidebar-menu a { display: block; padding: 10px 20px; color: #555; font-size: 14px; transition: all 0.2s; }
.sidebar-menu a:hover, .sidebar-menu a.active { background: #eef4f7; color: #3464BC; padding-left: 25px; }
.sidebar-menu li.cate-child a:hover, .sidebar-menu li.cate-child a.active { padding-left: 41px; }

/* === Pagination === */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 20px 0; font-size: 14px; flex-wrap: wrap; }
.pagination a { padding: 6px 12px; border: 1px solid #dee2e6; border-radius: 4px; color: #3464BC; }
.pagination a:hover { background: #3464BC; color: #fff; }
.pagination .current { padding: 6px 12px; background: #3464BC; color: #fff; border-radius: 4px; }
.pagination .page-ellipsis { padding: 6px 4px; color: #999; }
.pagination .page-info { padding: 6px 8px; color: #666; font-size: 13px; margin-left: 10px; }

/* === Page Container === */
.page-container { max-width: 1400px; margin: 0 auto; padding: 30px 20px; }
.page-header { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 2px solid #e9ecef; }
.page-header h1 { font-size: 28px; color: #3464BC; }
.page-content { background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); line-height: 1.8; }
.page-content img { max-width: 100%; height: auto; }

/* === Breadcrumb === */
.breadcrumb { padding: 10px 0; font-size: 14px; color: #6c757d; }
.breadcrumb a { color: #3464BC; }
.breadcrumb span { margin: 0 8px; }

/* === News List === */
.news-page-layout { display: flex; gap: 25px; margin-top: 15px; }
.news-sidebar { width: 220px; flex-shrink: 0; }
.news-sidebar .sidebar-title { font-size: 18px; font-weight: 600; color: #333; padding: 12px 16px; margin: 0; background: #f0f4f8; border-left: 4px solid #3464BC; border-radius: 4px 4px 0 0; }
.news-cate-list { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid #e8eaed; border-top: none; border-radius: 0 0 4px 4px; }
.news-cate-list li { border-bottom: 1px solid #f0f0f0; }
.news-cate-list li:last-child { border-bottom: none; }
.news-cate-list li a { display: block; padding: 12px 16px; color: #555; font-size: 14px; text-decoration: none; transition: all 0.15s; }
.news-cate-list li a:hover { background: #f5f7fa; color: #3464BC; padding-left: 22px; }
.news-cate-list li.active a { background: #3464BC; color: #fff; font-weight: 500; }
.news-main { flex: 1; min-width: 0; }
.news-list-container { background: #fff; border: 1px solid #e8eaed; border-radius: 4px; }
.news-item { border-bottom: 1px solid #f0f0f0; }
.news-item:last-child { border-bottom: none; }
.news-item a { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; text-decoration: none; transition: background 0.15s; }
.news-item a:hover { background: #f5f7fa; }
.news-item .news-title { font-size: 15px; color: #333; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 15px; }
.news-item a:hover .news-title { color: #3464BC; }
.news-item .news-date { font-size: 13px; color: #999; white-space: nowrap; flex-shrink: 0; }
.news-item .news-summary { font-size: 13px; color: #888; padding: 0 20px 12px 20px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-empty { text-align: center; padding: 60px 20px; color: #999; font-size: 14px; }

/* === News Detail === */
.news-detail-content { background: #fff; padding: 40px 50px; border-radius: 4px; border: 1px solid #e8eaed; }
.news-detail-title { text-align: center; font-size: 24px; font-weight: 600; color: #333; margin: 0 0 20px 0; line-height: 1.5; }
.news-detail-meta { text-align: center; font-size: 13px; color: #999; padding-bottom: 20px; border-bottom: 1px solid #eee; margin-bottom: 30px; }
.news-detail-meta .meta-sep { margin: 0 10px; color: #ddd; }
.news-detail-summary { background: #f5f7fa; padding: 15px 20px; border-radius: 4px; margin: -10px 0 25px 0; font-size: 14px; color: #666; line-height: 1.6; border-left: 3px solid #3464BC; }
.news-detail-body { font-size: 15px; line-height: 1.8; color: #444; }
.news-detail-body p { margin-bottom: 15px; }
.news-detail-body img { max-width: 100%; height: auto; }

/* === News Prev/Next === */
.news-prevnext { margin-top: 40px; padding-top: 20px; border-top: 1px solid #e8eaed; }
.prevnext-item { padding: 8px 0; font-size: 14px; line-height: 1.6; }
.prevnext-label { color: #999; font-weight: 600; }
.prevnext-link { color: #3464BC; text-decoration: none; }
.prevnext-link:hover { color: #2a50a0; text-decoration: underline; }
.prevnext-item .no-link { color: #bbb; }

@media (max-width: 768px) {
    .news-page-layout { flex-direction: column; }
    .news-sidebar { width: 100%; }
    .news-cate-list { display: flex; flex-wrap: wrap; }
    .news-cate-list li { border-bottom: 1px solid #f0f0f0; border-right: 1px solid #f0f0f0; }
    .news-cate-list li a { padding: 8px 14px; font-size: 13px; }
    .news-detail-content { padding: 20px 15px; }
}

/* === Brand & Customer Logos === */
.brand-customer-row { display: flex; gap: 30px; margin-bottom: 50px; }
.brand-section, .customer-section { flex: 1; min-width: 0; }
.section-title-row { font-size: 22px; font-weight: 600; color: #3464BC; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #3464BC; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 15px; }
.logo-card { background: #fff; border: 1px solid #e8eaed; border-radius: 6px; padding: 15px; text-align: center; transition: all 0.2s; display: flex; align-items: center; justify-content: center; height: 100px; }
.logo-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); border-color: #3464BC; }
.logo-card img { max-width: 100%; max-height: 70px; object-fit: contain; }
.logo-card .brand-name { font-size: 13px; color: #666; margin-top: 8px; }

/* === News List (homepage) === */
.home-news-list { background: #fff; border: 1px solid #e8eaed; border-radius: 8px; overflow: hidden; }
.home-news-item { border-bottom: 1px solid #f0f0f0; }
.home-news-item:last-child { border-bottom: none; }
.home-news-item a { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; text-decoration: none; transition: background 0.15s; }
.home-news-item a:hover { background: #f5f7fa; }
.home-news-item .news-title { color: #333; font-size: 14px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 15px; }
.home-news-item .news-title::before { content: ''; display: inline-block; width: 4px; height: 4px; background: #3464BC; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.home-news-item .news-date { color: #999; font-size: 13px; white-space: nowrap; }

/* === Buttons === */
.btn { display: inline-block; padding: 8px 20px; border-radius: 4px; font-size: 14px; cursor: pointer; border: none; transition: all 0.2s; }
.btn-primary { background: #3464BC; color: #fff; }
.btn-primary:hover { background: #2a50a0; color: #fff; }
.btn-outline { border: 1px solid #3464BC; color: #3464BC; background: transparent; }
.btn-outline:hover { background: #3464BC; color: #fff; }
.btn-danger { background: #dc3545; color: #fff; }
.btn-danger:hover { background: #c82333; color: #fff; }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.contact-card { background: #fff; border-radius: 8px; padding: 30px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.contact-card .icon { font-size: 36px; margin-bottom: 15px; }
.contact-card h4 { font-size: 16px; margin-bottom: 8px; color: #3464BC; }
.contact-card p { font-size: 14px; color: #666; }

/* === Footer === */
.site-footer { background: #3464BC; color: #ccc; padding: 40px 0 20px; }
.footer-content { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 30px; }
.footer-section h4 { color: #fff; font-size: 15px; margin-bottom: 15px; }
.footer-section p { font-size: 13px; line-height: 1.8; word-break: break-word; overflow-wrap: break-word; }
.footer-section ul li { margin-bottom: 8px; }
.footer-section a { color: #ccc; font-size: 13px; }
.footer-section a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 13px; }
.footer-bottom a { color: #ccc; text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-beian { display: inline-flex; align-items: center; gap: 5px; margin: 0 5px; }
.footer-beian img { vertical-align: middle; }

/* === Online Support === */
.online-support { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 999; }

/* === Forms === */
.form-group { margin-bottom: 15px; }
.form-label { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 600; color: #333; }
.form-input, .form-textarea, .form-select { width: 100%; padding: 8px 12px; border: 1px solid #dee2e6; border-radius: 4px; font-size: 14px; }
.form-textarea { min-height: 120px; resize: vertical; }

/* === Responsive === */
@media (max-width: 768px) {
    .header-main { flex-direction: column; gap: 10px; }
    .main-nav ul { flex-wrap: wrap; }
    .main-nav a { padding: 10px 15px; font-size: 14px; }
    .main-nav .nav-search { padding: 10px 15px; font-size: 13px; }
    .hero-content h1 { font-size: 24px; }
    .banner-carousel .banner-slides { height: 320px; }
    .banner-arrow { width: 32px; height: 32px; font-size: 16px; }
    .banner-overlay-title { font-size: 28px; }
    .banner-overlay-subtitle { font-size: 16px; }
    .marquee-item { width: 100px; }
    .marquee-item img { width: 90px; height: 90px; }
    .row { flex-direction: column; }
    .col-3, .col-4, .col-6, .col-8, .col-9 { width: 100%; }
    .footer-content { grid-template-columns: 1fr; }
    .brand-customer-row { flex-direction: column; gap: 40px; }
}

/* === Category Grid === */
.category-grid { padding: 20px 0; }
.category-group { margin-bottom: 30px; }
.category-group-title {
    font-size: 18px; font-weight: 700; color: #3464BC;
    padding-bottom: 10px; margin-bottom: 15px;
    border-bottom: 2px solid #3464BC;
    padding-left: 10px;
}
.category-grid-items { display: flex; flex-wrap: wrap; gap: 15px; }
.category-grid-item {
    display: flex; flex-direction: column; align-items: center;
    width: 150px; padding: 15px 10px;
    background: #fff; border: 1px solid #e8e8e8; border-radius: 8px;
    text-decoration: none; color: #333;
    transition: all 0.3s ease; cursor: pointer;
}
.category-grid-item:hover {
    border-color: #3464BC; box-shadow: 0 4px 15px rgba(52,100,188,0.15);
    transform: translateY(-3px); color: #3464BC;
}
.cate-grid-img {
    width: 120px; height: 120px; object-fit: cover;
    border-radius: 6px; margin-bottom: 10px;
}
.cate-grid-img-placeholder {
    width: 120px; height: 120px; display: flex; align-items: center; justify-content: center;
    background: #f0f4ff; border-radius: 6px; margin-bottom: 10px;
    font-size: 28px; font-weight: 700; color: #3464BC;
}
.cate-grid-name {
    font-size: 13px; text-align: center; line-height: 1.4;
    word-break: break-all;
}

/* === Board / Feedback Page === */
.board-page { max-width: 1000px; margin: 0 auto; }
.board-header { text-align: center; margin-bottom: 30px; }
.board-header h1 { font-size: 28px; color: #3464BC; margin-bottom: 10px; }
.board-subtitle { font-size: 15px; color: #999; }
.board-form-wrapper { background: #fff; border-radius: 8px; padding: 40px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.board-form-row { display: flex; gap: 60px; margin-bottom: 18px; }
.board-form-group { flex: 1; min-width: 0; }
.board-form-group label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: #374151; }
.board-form-group .required { color: #dc2626; }
.board-full-row { margin-bottom: 18px; }
.board-input { width: 100%; padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 14px; color: #333; background: #fff; outline: none; transition: border-color 0.2s, box-shadow 0.2s; box-sizing: border-box; }
.board-input:focus { border-color: #3464BC; box-shadow: 0 0 0 3px rgba(52,100,188,0.1); }
.board-textarea { width: 100%; padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 14px; color: #333; background: #fff; outline: none; transition: border-color 0.2s, box-shadow 0.2s; resize: vertical; min-height: 120px; line-height: 1.6; box-sizing: border-box; }
.board-textarea:focus { border-color: #3464BC; box-shadow: 0 0 0 3px rgba(52,100,188,0.1); }
.board-form-actions { text-align: center; margin-top: 25px; }
.board-submit-btn { padding: 12px 48px; font-size: 15px; border-radius: 6px; background: #3464BC; color: #fff; border: none; cursor: pointer; transition: background 0.2s; }
.board-submit-btn:hover { background: #2a50a0; }
.field-required { color: #dc2626; margin-left: 3px; font-size: 14px; }
.board-full-row > label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: #374151; }
.board-msg { padding: 12px 18px; border-radius: 6px; margin-top: 15px; font-size: 14px; text-align: center; }

/* === Banner Overlay Mobile === */
@media (max-width: 768px) {
    .banner-overlay { padding: 0 20px; }
    .banner-overlay-title { font-size: 24px; }
    .banner-overlay-subtitle { font-size: 14px; }
    .banner-slide { height: 300px; }
}
@media (max-width: 480px) {
    .banner-overlay-title { font-size: 20px; }
    .banner-overlay-subtitle { font-size: 13px; }
    .banner-slide { height: 220px; }
}
.board-msg-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.board-msg-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

@media (max-width: 768px) {
    .board-form-row { flex-direction: column; gap: 18px; }
    .board-form-wrapper { padding: 24px 20px; }
    .board-header h1 { font-size: 22px; }
}

/* 联系我们 - 地图 */
.board-map-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}
.board-map-title {
    font-size: 20px;
    color: #3464BC;
    margin-bottom: 15px;
    font-weight: 600;
}
.board-map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    border: 1px solid #ddd;
    z-index: 1;
}

/* 联系我们页面 */
.contact-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px 50px;
}
.contact-header {
    margin-bottom: 35px;
}
.contact-header h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 8px;
}
.contact-header p {
    color: #777;
    font-size: 14px;
}
.contact-page .contact-grid {
    display: flex;
    gap: 40px;
    margin-bottom: 35px;
}
.contact-info {
    flex: 1;
    min-width: 0;
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}
.contact-info-item:last-child {
    border-bottom: none;
}
.contact-info-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: #eef3fc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.contact-info-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 2px;
}
.contact-info-value {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
}
.contact-map-wrap {
    flex: 1.2;
    min-width: 0;
}
.contact-map-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    z-index: 1;
}

@media (max-width: 768px) {
    .contact-grid { flex-direction: column; }
    .contact-page { padding: 20px 15px 35px; }
    .contact-map-container { height: 280px; }
}

/* About Us page */
.about-detail-content {
    background: #fff;
    padding: 30px 40px;
    border-radius: 0;
}
.about-detail-content .page-title {
    font-size: 22px;
    color: #333;
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}
.about-detail-content .page-body {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

/* ===== 证书下载页面 ===== */
.cert-table-wrap {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.cert-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.cert-table thead {
    background: #3464BC;
    color: #fff;
}

.cert-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}

.cert-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    color: #444;
}

.cert-table tbody tr:hover {
    background: #f0f4ff;
}

.cert-table .col-name { width: auto; }
.cert-table .col-date { width: 140px; }
.cert-table .col-dl { width: 120px; text-align: center; }

.btn-download {
    display: inline-block;
    padding: 6px 18px;
    background: #3464BC;
    color: #fff !important;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-download:hover {
    background: #2a50a0;
}

/* ===== 证书页面 ===== */
.cert-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 10px 0;
}
.cert-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.2s;
}
.cert-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.cert-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}
.cert-img-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cert-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}
.cert-item:hover .cert-img-wrap img {
    transform: scale(1.05);
}
.cert-info {
    padding: 10px 12px;
    border-top: 1px solid #f0f0f0;
}
.cert-name {
    display: block;
    font-size: 13px;
    color: #333;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cert-date {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}
.about-detail-content .page-body p { margin-bottom: 14px; }
.about-detail-content .page-body img { max-width: 100%; height: auto; }

/* ============================================
   新闻详情页 - 摘要
   ============================================ */
.news-detail-summary {
    background: #f8f9fa;
    border-left: 4px solid #3464BC;
    padding: 16px 20px;
    margin: 16px 0 24px 0;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    border-radius: 0 4px 4px 0;
}
.news-detail-summary .summary-label {
    font-weight: bold;
    color: #3464BC;
    margin-right: 4px;
}
