/* === theme229 社区广播 === */
:root {
    --color-primary: #3090A0; --color-primary-dark: #1A5060; --color-primary-light: #f0f6f8;
    --color-accent: #E0C060; --color-accent-light: #fdf9f0;
    --color-text-dark: #1A2828; --color-text-muted: #607878; --color-text-light: #809898;
    --color-bg-warm: #f8fafa; --color-bg-gray: #f2f4f4; --color-border: #c8d8d8; --color-border-dark: #a0b8b8;
    --radius-sm: 2px; --radius-md: 4px; --radius-lg: 8px;
    --shadow-sm: 0 1px 4px rgba(20,40,40,0.06); --shadow-md: 0 4px 20px rgba(20,40,40,0.1);
    --font-heading: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-body: 'Noto Sans SC', -apple-system, 'PingFang SC', sans-serif;
}
* { box-sizing: border-box; } html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 15px; line-height: 1.8; color: var(--color-text-dark); background: var(--color-bg-warm); margin: 0; }
a { color: var(--color-primary-dark); text-decoration: none; } a:hover { color: var(--color-accent); }
img { max-width: 100%; } .container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; line-height: 1.3; }
.skip-link { position: absolute; top: -50px; left: 8px; z-index: 9999; padding: 10px 18px; background: var(--color-primary); color: #fff !important; border-radius: 0 0 2px 2px; font-size: 14px; transition: top 0.2s; } .skip-link:focus { top: 0; outline: 3px solid #fff; } a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.site-header { background: #fff; border-bottom: 3px solid var(--color-primary); position: sticky; top: 0; z-index: 1000; } .site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; } .site-logo img { height: 44px; } .navbar-toggle { display: none; background: none; border: 1px solid var(--color-border); padding: 8px 10px; cursor: pointer; } .navbar-toggle .icon-bar { display: block; width: 22px; height: 2px; background: var(--color-text-dark); margin: 4px 0; }
.main-nav { background: var(--color-primary-dark); } .main-menu { display: flex; list-style: none; margin: 0; padding: 0; } .main-menu > li > a { display: block; padding: 13px 22px; color: rgba(255,255,255,0.85); font-family: var(--font-heading); font-size: 14px; font-weight: 500; letter-spacing: 1px; transition: background 0.2s; } .main-menu > li > a:hover, .main-menu > li.active > a { background: var(--color-primary); color: #fff; } .main-menu .dropdown-menu { background: #fff; border: none; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); padding: 8px 0; } .main-menu .dropdown-menu > li > a { padding: 8px 18px; color: var(--color-text-dark); font-size: 14px; } .main-menu .dropdown-menu > li > a:hover { background: var(--color-primary-light); }
.hero-section { background: linear-gradient(160deg, #1A5060 0%, #3090A0 55%, #40A0B0 100%); padding: 120px 0 100px; text-align: center; color: #fff; } .hero-content { max-width: 720px; margin: 0 auto; } .hero-badge { padding: 6px 18px; border: 2px solid var(--color-accent); font-family: var(--font-heading); font-size: 12px; letter-spacing: 5px; color: var(--color-accent); margin-bottom: 20px; } .hero-title { font-family: var(--font-heading); font-size: 36px; font-weight: 700; margin: 0 0 16px; } .hero-subtitle { font-size: 18px; opacity: 0.9; margin: 0 0 36px; } .hero-actions { display: flex; gap: 16px; justify-content: center; } .btn-hero-primary { padding: 14px 36px; background: var(--color-accent); color: var(--color-primary-dark) !important; font-family: var(--font-heading); font-size: 16px; font-weight: 700; letter-spacing: 1px; border: none; transition: all 0.2s; } .btn-hero-primary:hover { background: #c8a030; transform: translateY(-2px); } .btn-hero-secondary { padding: 14px 36px; background: transparent; color: #fff !important; border: 2px solid rgba(255,255,255,0.5); font-family: var(--font-heading); font-size: 16px; letter-spacing: 1px; transition: all 0.2s; } .btn-hero-secondary:hover { border-color: #fff; }
.section-works, .section-quote { padding: 70px 0; } .section-head { text-align: center; margin-bottom: 44px; } .section-label { font-family: var(--font-heading); font-size: 13px; letter-spacing: 5px; color: var(--color-accent); margin-bottom: 10px; font-weight: 700; } .section-title { font-family: var(--font-heading); font-size: 28px; margin: 0 0 12px; } .section-desc { font-size: 16px; color: var(--color-text-muted); max-width: 600px; margin: 0 auto; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; } .product-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); transition: transform 0.3s; } .product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); } .product-img { height: 200px; overflow: hidden; }
.radio-gradient { width: 100%; height: 100%; } .rd-wave { background: linear-gradient(135deg, #3090A0, #1A5060, #40A0B0, #286070); } .rd-pirate { background: linear-gradient(135deg, #E0C060, #B09830, #F0D070, #C8A840); } .rd-podcast { background: linear-gradient(135deg, #5878A0, #385878, #6898C0, #486888); } .rd-mic { background: linear-gradient(135deg, #4A4A50, #2A2A30, #5A5A60, #3A3A40); } .rd-emp { background: linear-gradient(135deg, #C06050, #903030, #D87060, #A04038); } .rd-fm { background: linear-gradient(135deg, #30A090, #186058, #48C0B0, #287868); } .product-body { padding: 18px; } .product-badge { display: inline-block; padding: 3px 10px; background: var(--color-primary-light); color: var(--color-primary-dark); font-family: var(--font-heading); font-size: 11px; font-weight: 700; letter-spacing: 1px; margin-bottom: 8px; } .product-body h3 { font-family: var(--font-heading); font-size: 17px; margin: 0 0 8px; } .product-body p { font-size: 14px; color: var(--color-text-muted); margin: 0; line-height: 1.8; }
.radio-banner { background: #fff; border-radius: var(--radius-md); padding: 40px 36px; box-shadow: var(--shadow-sm); border-left: 4px solid var(--color-accent); } .radio-quote { font-size: 28px; color: var(--color-primary); opacity: 0.12; margin-bottom: 10px; } .radio-banner blockquote { margin: 0 0 20px; padding: 0; border: none; } .radio-banner blockquote p { font-family: var(--font-heading); font-size: 18px; line-height: 2; color: var(--color-text-dark); margin: 0; } .radio-banner blockquote footer { font-size: 14px; color: var(--color-text-muted); margin-top: 12px; } .radio-actions { display: flex; gap: 16px; flex-wrap: wrap; } .radio-pledge { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--color-primary-dark); background: var(--color-primary-light); padding: 8px 16px; font-weight: 600; }
.site-footer { background: var(--color-primary-dark); color: rgba(255,255,255,0.7); padding: 50px 0 0; font-size: 14px; } .footer-row { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 40px; margin-bottom: 36px; } .footer-col h4 { color: var(--color-accent); font-family: var(--font-heading); font-size: 18px; margin: 0 0 16px; } .footer-col p { line-height: 1.8; } .footer-col a { display: block; color: rgba(255,255,255,0.55); padding: 4px 0; } .footer-col a:hover { color: var(--color-accent); } .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; text-align: center; } .footer-copyright a { color: rgba(255,255,255,0.45); margin-left: 12px; }
#floatbtn { position: fixed; right: 20px; bottom: 60px; z-index: 900; } #back-to-top { display: flex; align-items: center; justify-content: center; line-height: 1; padding: 0; border: none; width: 44px; height: 44px; background: var(--color-primary); color: #fff !important; border-radius: 50%; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: all 0.3s; } #back-to-top.show { display: flex !important; opacity: 1; visibility: visible; } #back-to-top:hover { background: var(--color-accent); } #back-to-top i { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; line-height: 1; }
.page-banner { background: linear-gradient(160deg, #1A5060, #3090A0); padding: 60px 0; text-align: center; color: #fff; } .page-banner-title { font-family: var(--font-heading); font-size: 32px; margin: 0 0 8px; } .breadcrumb-inline { font-size: 13px; color: rgba(255,255,255,0.7); } .breadcrumb-inline a { color: rgba(255,255,255,0.85); } .breadcrumb-inline .fa { margin: 0 8px; font-size: 11px; } .page-container { padding: 40px 15px 60px; } .breadcrumb-box { margin-bottom: 20px; font-size: 13px; color: var(--color-text-light); } .breadcrumb-box a { color: var(--color-text-muted); } .breadcrumb-box .fa { margin: 0 8px; font-size: 11px; }
.article-card-list { display: flex; flex-direction: column; gap: 20px; } .article-card { display: flex; background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); transition: transform 0.2s, box-shadow 0.2s; } .article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); } .article-cover { flex-shrink: 0; width: 240px; height: 160px; overflow: hidden; display: block; } .article-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; } .article-card:hover .article-cover img { transform: scale(1.05); } .article-body { flex: 1; min-width: 0; padding: 18px 22px; display: flex; flex-direction: column; justify-content: center; } .article-title { font-family: var(--font-heading); font-size: 17px; margin: 0 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .article-intro { font-size: 14px; color: var(--color-text-muted); margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .article-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--color-text-light); } .meta-cat { background: var(--color-primary-light); color: var(--color-primary-dark); padding: 2px 10px; font-family: var(--font-heading); font-size: 11px; font-weight: 600; } .article-detail { background: #fff; border-radius: var(--radius-md); padding: 32px; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); } .article-detail-head { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 2px solid var(--color-accent); } .article-detail-title { font-family: var(--font-heading); font-size: 26px; margin: 0 0 12px; } .article-detail-meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--color-text-light); } .detail-cat { background: var(--color-primary-light); color: var(--color-primary-dark); padding: 3px 12px; font-family: var(--font-heading); font-size: 12px; } .article-detail-content { font-size: 16px; line-height: 1.9; } .article-detail-content img { max-width: 100%; border-radius: var(--radius-sm); margin: 16px 0; } .article-detail-content p { margin: 0 0 16px; } .article-detail-nav { display: flex; gap: 16px; margin-top: 24px; } .detail-nav-item { flex: 1; min-width: 0; padding: 16px; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); display: block; border: 1px solid var(--color-border); } .detail-nav-item:hover { box-shadow: var(--shadow-md); } .detail-nav-label { display: block; font-size: 12px; color: var(--color-text-light); margin-bottom: 4px; } .detail-nav-title { display: block; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .detail-nav-next { text-align: right; } .article-summary { margin: 30px 0; padding: 20px 24px; background: var(--color-bg-warm); border-left: 4px solid var(--color-accent); border-radius: var(--radius-sm); } .article-summary-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; } .summary-deco { color: var(--color-accent); } .article-summary-title { font-family: var(--font-heading); font-size: 16px; margin: 0; } .article-summary-text { font-size: 14px; line-height: 1.8; margin: 0 0 12px; } .article-summary-cite { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 10px; border-top: 1px dashed var(--color-border); font-size: 12px; color: var(--color-text-light); } .cite-label { font-weight: 600; } .cite-text { flex: 1; min-width: 0; font-family: Menlo, monospace; background: #fff; padding: 4px 8px; border-radius: var(--radius-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .related-section { margin-top: 40px; } .related-section h3 { font-family: var(--font-heading); font-size: 20px; margin: 0 0 16px; } .related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; } .related-card { background: #fff; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); display: block; border: 1px solid var(--color-border); } .related-card:hover { transform: translateY(-2px); } .related-cover { height: 120px; overflow: hidden; } .related-cover img { width: 100%; height: 100%; object-fit: cover; } .related-body { padding: 12px; } .related-body h4 { font-size: 14px; margin: 0 0 6px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .related-body span { font-size: 12px; color: var(--color-text-light); } .images-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; } .image-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); display: block; border: 1px solid var(--color-border); } .image-card:hover { transform: translateY(-3px); } .image-cover { height: 200px; overflow: hidden; } .image-cover img { width: 100%; height: 100%; object-fit: cover; } .image-body { padding: 14px; display: flex; align-items: center; justify-content: space-between; } .image-body h3 { font-size: 14px; margin: 0; flex: 1; min-width: 0; } .image-date { font-size: 12px; color: var(--color-text-light); margin-left: 8px; } .cover-page .cover-slider { margin-bottom: 24px; border-radius: var(--radius-sm); overflow: hidden; } .cover-content { background: #fff; padding: 28px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); } .cover-text { font-family: var(--font-heading); font-size: 18px; line-height: 1.9; margin-bottom: 24px; } .cover-articles h3 { font-family: var(--font-heading); font-size: 18px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--color-accent); } .cover-article-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--color-border); } .cover-article-item:last-child { border-bottom: none; } .cover-article-title { font-size: 14px; flex: 1; min-width: 0; } .cover-article-date { font-size: 12px; color: var(--color-text-light); margin-left: 16px; flex-shrink: 0; } .widget { background: #fff; border-radius: var(--radius-md); padding: 18px 20px; margin-bottom: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); } .widget-head { margin-bottom: 14px; } .widget-title { font-family: var(--font-heading); font-size: 17px; margin: 0; padding-bottom: 10px; border-bottom: 2px solid var(--color-accent); } .nav-list, .hot-list, .latest-list, .tool-list { list-style: none; padding: 0; margin: 0; } .nav-list li, .tool-item { padding: 8px 0; border-bottom: 1px dashed var(--color-border); } .nav-list li:last-child, .tool-item:last-child { border-bottom: none; } .nav-list li a, .tool-item { display: block; font-size: 14px; color: var(--color-text-dark); } .tool-item:hover { color: var(--color-accent); } .tool-item .fa { color: var(--color-primary); margin-right: 8px; } .nav-list li a::before { content: '//'; color: var(--color-accent); margin-right: 8px; font-family: var(--font-heading); } .hot-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--color-border); } .hot-item:last-child { border-bottom: none; } .hot-rank { flex-shrink: 0; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; border-radius: 50%; background: var(--color-bg-gray); color: var(--color-text-muted); } .rank-1, .rank-2, .rank-3 { background: var(--color-accent); color: var(--color-primary-dark); } .hot-title { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; } .latest-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--color-border); } .latest-item:last-child { border-bottom: none; } .latest-date { flex-shrink: 0; width: 44px; text-align: center; } .date-day { display: block; font-size: 18px; font-weight: 700; color: var(--color-primary); line-height: 1.1; font-family: var(--font-heading); } .date-month { display: block; font-size: 11px; color: var(--color-text-light); } .latest-title { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .widget-ad .ad-link { display: block; border-radius: var(--radius-sm); overflow: hidden; } .widget-ad img { width: 100%; } .product-gallery { margin-bottom: 20px; } .gallery-main { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 10px; border: 1px solid var(--color-border); } .gallery-main img { width: 100%; display: block; } .gallery-thumbs { display: flex; gap: 8px; } .gallery-thumb { width: 72px; height: 54px; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; cursor: pointer; } .gallery-thumb.active { border-color: var(--color-primary); } .gallery-thumb img { width: 100%; height: 100%; object-fit: cover; } .product-detail { background: #fff; border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); } .product-detail-top { display: flex; gap: 28px; margin-bottom: 28px; } .product-detail-top .product-gallery { flex: 0 0 400px; min-width: 0; } .product-info { flex: 1; min-width: 0; } .product-info .product-title { font-family: var(--font-heading); font-size: 24px; margin: 0 0 10px; } .product-info .product-cat { display: inline-block; padding: 3px 12px; background: var(--color-primary-light); color: var(--color-primary-dark); font-family: var(--font-heading); font-size: 12px; margin-bottom: 12px; } .product-info .product-desc { font-size: 14px; color: var(--color-text-muted); line-height: 1.8; margin-bottom: 18px; } .btn-product-inquire { display: inline-block; padding: 10px 28px; background: var(--color-primary); color: #fff !important; font-family: var(--font-heading); font-size: 14px; letter-spacing: 1px; } .btn-product-inquire:hover { background: var(--color-primary-dark); } .product-content { font-size: 16px; line-height: 1.9; } .product-content img { max-width: 100%; border-radius: var(--radius-sm); margin: 16px 0; } .contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 32px; } .contact-info-card { background: #fff; padding: 22px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); } .contact-info-card h3 { font-family: var(--font-heading); font-size: 17px; margin: 0 0 10px; color: var(--color-primary-dark); } .contact-info-card h3 .fa { color: var(--color-accent); margin-right: 8px; } .contact-info-card p { font-size: 14px; color: var(--color-text-muted); margin: 0; line-height: 1.8; } .contact-form-title { font-family: var(--font-heading); font-size: 20px; margin: 0 0 20px; } .contact-form { background: #fff; padding: 28px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); } .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; } .form-group { display: flex; flex-direction: column; } .form-group label { font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--color-text-dark); } .form-group .required { color: var(--color-accent); } .form-group input, .form-group select, .form-group textarea { padding: 10px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 14px; font-family: var(--font-body); color: var(--color-text-dark); background: var(--color-bg-warm); } .form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--color-primary); outline: none; } .form-group textarea { resize: vertical; min-height: 120px; } .btn-submit { padding: 12px 36px; background: var(--color-primary); color: #fff; border: none; font-family: var(--font-heading); font-size: 16px; font-weight: 600; letter-spacing: 1px; cursor: pointer; } .btn-submit:hover { background: var(--color-primary-dark); } .search-empty { text-align: center; padding: 60px 20px; } .empty-icon { font-size: 56px; color: var(--color-border); margin-bottom: 16px; } .search-empty h3 { font-family: var(--font-heading); font-size: 20px; color: var(--color-text-muted); margin: 0 0 8px; } .search-empty p { color: var(--color-text-light); margin: 0 0 24px; } .search-form { max-width: 480px; margin: 0 auto; } .search-input-group { display: flex; } .search-inp { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border: 1px solid var(--color-border); border-right: none; border-radius: var(--radius-sm) 0 0 var(--radius-sm); font-size: 15px; font-family: var(--font-body); } .search-inp:focus { border-color: var(--color-primary); outline: none; } .search-btn { height: 44px; padding: 0 20px; background: var(--color-primary); color: #fff; border: none; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 16px; cursor: pointer; } .search-btn:hover { background: var(--color-primary-dark); } .pagination-box { text-align: center; margin-top: 30px; } .pagination { display: inline-flex; list-style: none; padding: 0; margin: 0; gap: 6px; } .pagination li a, .pagination li span { display: inline-block; min-width: 38px; height: 38px; line-height: 36px; padding: 0 14px; border: 1px solid var(--color-border); background: #fff; text-align: center; border-radius: var(--radius-sm); font-size: 14px; } .pagination li a:hover { border-color: var(--color-primary); color: var(--color-primary); } .pagination .active a, .pagination .active span { background: var(--color-primary); color: #fff; border-color: var(--color-primary); } @media (max-width: 768px) { .products-grid { grid-template-columns: 1fr; } .hero-title { font-size: 26px; } .section-title { font-size: 22px; } .article-card { flex-direction: column; } .article-cover { width: 100%; height: 180px; } .product-detail-top { flex-direction: column; } .prod-detail-top .product-gallery { flex: none; } .footer-row, .contact-grid { grid-template-columns: 1fr; } .images-grid { grid-template-columns: repeat(2, 1fr); } .form-row { grid-template-columns: 1fr; } .main-menu { flex-wrap: wrap; } .main-menu > li > a { padding: 10px 14px; font-size: 13px; } .site-header .container { flex-wrap: wrap; } .mobile-toggle { display: block; } .navbar-collapse { display: none; } .navbar-collapse.show { display: block; } .related-grid { grid-template-columns: repeat(2, 1fr); } }
/* === 儿童家具库 补充 === */
.site-logo-text { display: inline-block; font-size: 20px; font-weight: 700; color: var(--color-primary-dark); letter-spacing: 1px; line-height: 1.3; }
.site-footer .site-logo-text { color: #fff; font-size: 18px; display: block; margin-bottom: 10px; }
.footer-main { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.footer-main > div { flex: 1 1 180px; min-width: 170px; }
.footer-main .footer-brand { flex: 1.5 1 240px; }
.main-menu .dropdown { position: relative; }
.main-menu .dropdown-menu { display: none; position: absolute; top: 100%; left: 0; z-index: 1000; min-width: 200px; box-shadow: var(--shadow-md); }
.main-menu .dropdown:hover .dropdown-menu { display: block; }
.main-menu .dropdown-menu > li > a { white-space: nowrap; }
/* 首页卡片区块 */
.block { margin-bottom: 50px; }
.block-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 2px solid var(--color-accent); margin-bottom: 24px; }
.block-head h3 { font-family: var(--font-heading); font-size: 20px; margin: 0; }
.block-head .more { font-size: 13px; color: var(--color-text-muted); }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); transition: all 0.3s; display: block; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-cover { position: relative; padding-top: 75%; overflow: hidden; background: var(--color-bg-gray); }
.card-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card-cover img { transform: scale(1.05); }
.card-body { padding: 14px; }
.card-title { font-size: 15px; margin: 0 0 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-intro, .card-date { font-size: 12px; color: var(--color-text-light); }
.article-list { list-style: none; padding: 0; margin: 0; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.article-row { border-bottom: 1px solid var(--color-border); }
.article-row:last-child { border-bottom: none; }
.article-row a { display: flex; gap: 16px; padding: 16px 18px; align-items: center; color: inherit; }
.article-row a:hover { background: var(--color-primary-light); }
.article-row img { width: 120px; height: 80px; object-fit: cover; flex-shrink: 0; }
.article-row div { flex: 1; min-width: 0; }
.article-row h4 { font-size: 15px; margin: 0 0 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-row span { font-size: 12px; color: var(--color-text-light); }
.page-container { padding: 40px 0 60px; }
@media (max-width: 991px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .card-grid { grid-template-columns: 1fr; } .footer-main { flex-direction: column; gap: 24px; } }
