* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; font-size: 16px; color: #333; line-height: 1.6; background: #f8f9fa; }
a { color: #1a365d; text-decoration: none; transition: color .3s; }
a:hover { color: #c9a84c; }
img { max-width: 100%; height: auto; }
.c-detail-body img[style*="width"], .c-detail-body img[style*="height"] { max-width: none !important; }
.c-container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

.c-top-bar { background: #1a365d; color: #c9a84c; font-size: 13px; padding: 6px 0; }
.c-top-info { opacity: .85; }
.c-header-main { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 100; }
.c-menu-toggle { display: none; }
.c-header-main .c-container { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.c-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.c-logo img { height: 50px; }
.c-logo-text { font-size: 22px; font-weight: 700; color: #1a365d; letter-spacing: 1px; }
.c-main-nav { display: flex; gap: 4px; align-items: center; }
.c-nav-item { position: relative; }
.c-nav-link { padding: 10px 20px; color: #1a365d; font-size: 15px; font-weight: 500; transition: all .3s; }
.c-nav-link:hover, .c-nav-link.active { color: #c9a84c; }
.c-sub-nav { display: none; position: absolute; top: 100%; left: 0; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.12); min-width: 200px; padding: 8px 0; z-index: 200; }
.c-nav-item:hover .c-sub-nav { display: block; }
.c-sub-nav li { list-style: none; }
.c-sub-nav li a { display: block; padding: 10px 20px; color: #1a365d; font-size: 14px; transition: all .2s; }
.c-sub-nav li a:hover { color: #c9a84c; background: #f0f4f8; padding-left: 24px; }

.c-hero { background: #1a365d; position: relative; overflow: hidden; }
.c-hero img { width: 100%; max-height: 600px; object-fit: cover; display: block; }
.c-swiper-wrapper { position: relative; }
.c-swiper-slide { width: 100%; }

.c-section { padding: 80px 0; }
.c-section-title { font-size: 32px; font-weight: 700; text-align: center; color: #1a365d; margin-bottom: 8px; }
.c-section-subtitle { font-size: 16px; text-align: center; color: #888; margin-bottom: 48px; }

.c-services { background: #fff; }
.c-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.c-service-card { text-align: center; padding: 40px 24px; border: 1px solid #e8ecf0; transition: all .3s; }
.c-service-card:hover { border-color: #c9a84c; box-shadow: 0 8px 30px rgba(26,54,93,.1); transform: translateY(-4px); }
.c-service-icon { margin-bottom: 20px; }
.c-service-icon img { width: 64px; height: 64px; object-fit: contain; }
.c-service-card h3 { font-size: 20px; color: #1a365d; margin-bottom: 12px; }
.c-service-link { color: #c9a84c; font-size: 14px; font-weight: 500; }
.c-service-link:hover { color: #1a365d; }

.c-news { background: #f8f9fa; }
.c-news-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.c-news-main .c-section-title { text-align: left; font-size: 28px; margin-bottom: 24px; }
.c-news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.c-news-card { background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); transition: transform .3s; }
.c-news-card:hover { transform: translateY(-4px); }
.c-news-card img { width: 100%; height: 180px; object-fit: cover; }
.c-news-card h3 { font-size: 16px; color: #1a365d; padding: 16px 16px 8px; }
.c-news-card .c-date { font-size: 13px; color: #999; padding: 0 16px 16px; display: block; }
.c-news-card a { color: inherit; }
.c-side-title { font-size: 20px; color: #1a365d; border-bottom: 2px solid #c9a84c; padding-bottom: 10px; margin-bottom: 16px; }
.c-rec-list { list-style: none; }
.c-rec-list li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #eee; }
.c-rec-list li a { font-size: 14px; color: #333; flex: 1; }
.c-rec-list li a:hover { color: #c9a84c; }
.c-rec-list li .c-date { font-size: 12px; color: #999; margin-left: 8px; flex-shrink: 0; }

.c-page { padding: 40px 0; }
.c-breadcrumb { font-size: 14px; color: #888; margin-bottom: 24px; padding: 12px 0; border-bottom: 1px solid #eee; }
.c-breadcrumb a { color: #1a365d; }
.c-breadcrumb a:hover { color: #c9a84c; }
.c-breadcrumb span { margin: 0 6px; }
.c-content-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.c-main-content { min-width: 0; }
.c-sidebar { flex-shrink: 0; }
.c-widget { margin-bottom: 24px; background: #fff; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.c-widget-title { font-size: 18px; color: #1a365d; border-left: 3px solid #c9a84c; padding-left: 12px; margin-bottom: 16px; }
.c-cat-nav { list-style: none; }
.c-cat-nav li { margin-bottom: 8px; }
.c-cat-nav a { font-size: 14px; color: #333; padding: 6px 0; display: block; border-bottom: 1px dashed #eee; }
.c-cat-nav a:hover { color: #c9a84c; border-color: #c9a84c; }

.c-article-list { display: flex; flex-direction: column; gap: 24px; }
.c-article-item { display: flex; gap: 20px; background: #fff; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.04); transition: box-shadow .3s; }
.c-article-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.c-article-thumb { flex-shrink: 0; width: 200px; }
.c-article-thumb img { width: 200px; height: 140px; object-fit: cover; }
.c-article-info { flex: 1; }
.c-article-info h2 { font-size: 18px; margin-bottom: 8px; }
.c-article-info h2 a { color: #1a365d; }
.c-article-info h2 a:hover { color: #c9a84c; }
.c-article-info p { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 8px; }
.c-meta { display: flex; gap: 12px; }
.c-date { font-size: 13px; color: #999; }
.c-author { font-size: 13px; color: #999; }

.c-detail-title { font-size: 28px; font-weight: 700; color: #1a365d; margin-bottom: 12px; }
.c-detail-meta { display: flex; gap: 16px; font-size: 14px; color: #888; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #eee; }
.c-detail-cover { margin-bottom: 24px; }
.c-detail-cover img { width: 100%; max-height: 400px; object-fit: cover; }
.c-detail-body { font-size: 16px; line-height: 1.8; color: #333; }
.c-detail-body p { margin-bottom: 16px; }
.c-tags { margin-top: 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.c-tag { font-size: 13px; border: 1px solid #c9a84c; color: #1a365d; padding: 4px 14px; transition: all .2s; }
.c-tag:hover { background: #c9a84c; color: #fff; border-color: #c9a84c; }

.c-page-title { font-size: 28px; font-weight: 700; color: #1a365d; margin-bottom: 24px; }
.c-page-body { font-size: 16px; line-height: 1.8; }

.c-search-section { margin-bottom: 32px; }
.c-search-title { font-size: 28px; color: #1a365d; margin-bottom: 16px; }
.c-search-form { display: flex; gap: 12px; }
.c-search-input { border: 2px solid #1a365d; padding: 12px 20px; font-size: 16px; flex: 1; outline: none; }
.c-search-input:focus { border-color: #c9a84c; }
.c-search-btn { background: #1a365d; color: #fff; padding: 12px 32px; font-size: 16px; border: none; cursor: pointer; transition: background .3s; }
.c-search-btn:hover { background: #c9a84c; }

.c-guestbook-desc { color: #666; margin-bottom: 24px; }
.c-form-group { margin-bottom: 20px; }
.c-form-group label { display: block; font-size: 14px; color: #1a365d; font-weight: 500; margin-bottom: 8px; }
.c-form-group input, .c-form-group textarea { width: 100%; border: 1px solid #d0d5dd; padding: 10px 14px; font-size: 15px; outline: none; transition: border-color .2s; }
.c-form-group input:focus, .c-form-group textarea:focus { border-color: #c9a84c; }
.c-required { color: #c9a84c; }
.c-btn { display: inline-block; padding: 12px 32px; font-size: 15px; border: none; cursor: pointer; transition: all .3s; }
.c-btn-primary { background: #1a365d; color: #fff; }
.c-btn-primary:hover { background: #c9a84c; }

.c-footer { background: #1a365d; color: #ccc; padding: 60px 0 0; margin-top: 80px; }
.c-footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 40px; }
.c-footer-col h4 { color: #fff; font-size: 18px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid #c9a84c; display: inline-block; }
.c-footer-col p { font-size: 14px; color: #a0aec0; line-height: 1.8; }
.c-contact-layout { display: flex; gap: 20px; align-items: stretch; }
.c-contact-qr { flex-shrink: 0; display: flex; align-items: center; }
.c-contact-qr img { max-width: 100px; max-height: 100px; border-radius: 4px; }
.c-contact-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.c-friend-links { display: flex; flex-wrap: wrap; gap: 12px; }
.c-friend-links a { font-size: 14px; color: #a0aec0; }
.c-friend-links a:hover { color: #c9a84c; }
.c-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; }
.c-copyright, .c-icp { font-size: 13px; color: #718096; }

.qifu-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; padding: 20px 0; }
.qifu-pagination a, .qifu-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; font-size: 14px; border: 1px solid #e0e0e0; border-radius: 4px; color: #666; text-decoration: none; transition: all .2s; }
.qifu-pagination a:hover { border-color: #c9a84c; color: #c9a84c; }
.qifu-pagination a.page.active { background: #c9a84c; border-color: #c9a84c; color: #fff; font-weight: 600; }
.qifu-pagination a.prev, .qifu-pagination a.next { padding: 0 14px; }
.qifu-pagination a.disabled { color: #ccc; cursor: not-allowed; border-color: #f0f0f0; }
.qifu-pagination a.disabled:hover { border-color: #f0f0f0; color: #ccc; }
.qifu-pagination .ellipsis { border: none; color: #999; }

.c-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 20px 0; }
.c-gallery-item { text-align: center; }
.c-gallery-item img { max-width: 100%; max-height: 500px; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.c-gallery-title { margin-top: 8px; font-size: 14px; color: #666; }

@media (max-width: 1024px) {
    .c-container { padding: 0 24px; }
    .c-services-grid { grid-template-columns: repeat(2, 1fr); }
    .c-news-layout { grid-template-columns: 1fr; }
    .c-content-layout { grid-template-columns: 1fr; }
    .c-footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .c-services-grid { grid-template-columns: 1fr; }
    .c-news-grid { grid-template-columns: 1fr; }
    .c-main-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.15); z-index: 100; padding: 12px 0; }
    .c-main-nav.open { display: flex; }
    .c-nav-item { width: 100%; }
    .c-nav-link { display: block; padding: 12px 24px; border-bottom: 1px solid #f0f0f0; }
    .c-sub-nav { position: static; display: none; box-shadow: none; padding-left: 24px; }
    .c-nav-item.expanded .c-sub-nav { display: block; }
    .c-menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 36px; height: 36px; background: none; border: none; cursor: pointer; padding: 0; margin-left: auto; }
    .c-menu-toggle span { display: block; width: 22px; height: 2px; background: #333; border-radius: 1px; transition: .3s; }
    .c-menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .c-menu-toggle.open span:nth-child(2) { opacity: 0; }
    .c-menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .c-section { padding: 48px 0; }
    .c-section-title { font-size: 24px; }
    .c-gallery { grid-template-columns: 1fr; }
}