/* === theme219 自然标本科学插画 === */
:root {
    --color-primary: #4A6741; --color-primary-dark: #2D4A28; --color-primary-light: #f2f6f0;
    --color-accent: #C4956A; --color-accent-light: #fdf8f3;
    --color-text-dark: #2c3024; --color-text-muted: #6b7260; --color-text-light: #9ba38e;
    --color-bg-warm: #fcfbf8; --color-bg-gray: #f5f4f0; --color-border: #d8dcc8; --color-border-dark: #b4bc9c;
    --radius-sm: 2px; --radius-md: 4px; --radius-lg: 8px;
    --shadow-sm: 0 1px 3px rgba(44,48,36,0.06); --shadow-md: 0 4px 16px rgba(44,48,36,0.08);
    --font-heading: Georgia, 'STSong', 'SimSun', 'Noto Serif SC', 'KaiTi', serif;
    --font-body: -apple-system, 'PingFang SC', 'Microsoft YaHei', 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.4; }
.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 4px 4px; 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: 1px solid var(--color-border); position: sticky; top: 0; z-index: 1000; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.site-logo img { height: 44px; } .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: 20px; } .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.9); font-size: 14px; font-weight: 600; transition: background 0.2s; }
.main-menu > li > a:hover, .main-menu > li.active > a { background: rgba(0,0,0,0.2); color: #fff; }
.main-menu .dropdown { position: relative; } .main-menu .dropdown-menu { background: #fff; border: none; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); padding: 8px 0; display: none; position: absolute; top: 100%; left: 0; z-index: 999; min-width: 190px; max-height: 360px; overflow-y: auto; } .main-menu .dropdown:hover .dropdown-menu { display: block; }
.main-menu .dropdown-menu > li > a { padding: 8px 18px; color: var(--color-text-dark); font-size: 14px; display: block; white-space: nowrap; }
.main-menu .dropdown-menu > li > a:hover { background: var(--color-primary-light); color: var(--color-primary-dark); }
.hero-section { background: linear-gradient(160deg, var(--color-primary-dark) 0%, #3a5733 55%, #263c22 100%), radial-gradient(circle at 50% 18%, rgba(212,175,55,0.16), transparent 58%); padding: 120px 0 100px; text-align: center; color: #fff; }
.hero-content { max-width: 720px; margin: 0 auto; } .hero-badge { display: inline-block; padding: 6px 18px; border: 1px solid rgba(255,255,255,0.35); border-radius: var(--radius-sm); font-size: 12px; letter-spacing: 5px; text-transform: uppercase; margin-bottom: 20px; color: rgba(255,255,255,0.8); }
.hero-title { font-family: var(--font-heading); font-size: 46px; font-weight: 700; margin: 0 0 16px; color: #fff; } .hero-subtitle { font-size: 18px; opacity: 0.9; margin: 0 0 36px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; } .btn-hero-primary { display: inline-block; padding: 14px 36px; background: var(--color-accent); color: #fff !important; border-radius: var(--radius-sm); font-size: 16px; font-weight: 700; border: none; transition: background 0.2s, transform 0.2s; }
.btn-hero-primary:hover { background: #b08050; transform: translateY(-2px); } .btn-hero-secondary { display: inline-block; padding: 14px 36px; background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,0.45); border-radius: var(--radius-sm); font-size: 16px; font-weight: 600; transition: all 0.2s; }
.btn-hero-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.section-works, .section-philosophy, .section-process, .section-stats, .section-testimonials, .section-faq, .section-quote, .section-cta { padding: 70px 0; }
.section-head { text-align: center; margin-bottom: 44px; } .section-label { display: inline-block; font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--color-accent); margin-bottom: 10px; font-weight: 700; }
.section-title { font-family: var(--font-heading); font-size: 32px; 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, box-shadow 0.3s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); } .product-img { display: block; height: 200px; overflow: hidden; } .product-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nature-gradient { width: 100%; height: 100%; } .ng-herbarium { background: linear-gradient(135deg, #7B9E6B, #4A6741, #9BC08A, #5B7B4A); } .ng-beetle { background: linear-gradient(135deg, #8B6914, #C4956A, #6B4C0A, #D4A574); }
.ng-seed { background: linear-gradient(135deg, #A08060, #8B6B4A, #C4A882, #7A5A38); } .ng-mineral { background: linear-gradient(135deg, #7B8FA1, #5B6F81, #9BB0C0, #6B8090); }
.ng-shell { background: linear-gradient(135deg, #D4C8B8, #C4B4A0, #E0D4C8, #B8A890); } .ng-botanical { background: linear-gradient(135deg, #6B8E5A, #4A6B3A, #C8D8B8, #8BAA78); }
.product-body { padding: 18px; } .product-badge { display: inline-block; padding: 3px 10px; background: var(--color-primary-light); color: var(--color-primary-dark); font-size: 11px; font-weight: 700; border-radius: var(--radius-sm); margin-bottom: 8px; letter-spacing: 1px; }
.product-body h3 { font-family: var(--font-heading); font-size: 18px; margin: 0 0 8px; } .product-body p { font-size: 14px; color: var(--color-text-muted); margin: 0; line-height: 1.8; }
.exhibit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.exhibit-card { background: #fff; padding: 28px 24px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); border-top: 3px solid var(--color-primary); transition: transform 0.2s, box-shadow 0.2s; }
.exhibit-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); } .exhibit-icon { width: 48px; height: 48px; background: var(--color-primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 20px; color: var(--color-primary); }
.exhibit-card h3 { font-family: var(--font-heading); font-size: 18px; margin: 0 0 10px; } .exhibit-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.8; margin: 0; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.process-card { background: #fff; padding: 32px 28px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.process-num { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: var(--color-primary); color: #fff; font-family: var(--font-heading); font-size: 28px; font-weight: 700; border-radius: 50%; margin-bottom: 18px; }
.process-card h3 { font-family: var(--font-heading); font-size: 20px; margin: 0 0 12px; } .process-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.9; margin: 0; }
.section-stats { background: var(--color-primary-dark); padding: 50px 0; } .stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; text-align: center; }
.stat-item { padding: 16px 10px; } .stat-number { display: block; font-family: var(--font-heading); font-size: 36px; font-weight: 700; color: var(--color-accent); margin-bottom: 4px; } .stat-label { display: block; font-size: 13px; color: rgba(255,255,255,0.7); }
.section-testimonials { background: var(--color-bg-gray); } .testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: #fff; padding: 28px 24px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); } .tm-quote { font-size: 24px; color: var(--color-accent); margin-bottom: 12px; opacity: 0.4; }
.tm-text { font-size: 14px; line-height: 1.9; color: var(--color-text-muted); margin: 0 0 18px; } .tm-author { display: flex; align-items: center; gap: 12px; } .tm-avatar { width: 40px; height: 40px; background: var(--color-primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; } .tm-info strong { display: block; font-size: 14px; } .tm-info span { display: block; font-size: 12px; color: var(--color-text-light); }
.faq-list { max-width: 800px; margin: 0 auto; } .faq-item { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); margin-bottom: 14px; overflow: hidden; border: 1px solid var(--color-border); }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; cursor: pointer; } .faq-q:hover { background: var(--color-primary-light); } .faq-q h3 { font-family: var(--font-heading); font-size: 17px; margin: 0; flex: 1; min-width: 0; padding-right: 16px; }
.faq-q .fa { color: var(--color-primary); transition: transform 0.3s; flex-shrink: 0; } .faq-item.open .faq-q .fa { transform: rotate(45deg); } .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s, padding 0.4s; } .faq-item.open .faq-a { max-height: 800px; padding: 0 24px 22px; } .faq-a p { margin: 0; font-size: 14px; color: var(--color-text-muted); line-height: 1.9; }
.ocean-banner { background: #fff; border-radius: var(--radius-md); padding: 40px 36px; box-shadow: var(--shadow-sm); border-left: 4px solid var(--color-primary); } .ocean-quote { font-size: 28px; color: var(--color-primary); opacity: 0.2; margin-bottom: 10px; }
.ocean-banner blockquote { margin: 0 0 20px; padding: 0; border: none; } .ocean-banner blockquote p { font-family: var(--font-heading); font-size: 18px; line-height: 2; color: var(--color-text-dark); margin: 0; } .ocean-banner blockquote footer { font-size: 14px; color: var(--color-text-muted); margin-top: 12px; font-style: italic; }
.ocean-actions { display: flex; gap: 16px; flex-wrap: wrap; } .ocean-pledge { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--color-primary-dark); font-weight: 600; background: var(--color-primary-light); padding: 8px 16px; border-radius: var(--radius-sm); }
.section-cta { background: linear-gradient(160deg, var(--color-primary-dark) 0%, #3a5733 60%, #263c22 100%), radial-gradient(circle at 50% 30%, rgba(212,175,55,0.15), transparent 60%); text-align: center; color: #fff; }
.section-cta h2 { font-family: var(--font-heading); font-size: 32px; font-weight: 700; color: #fff; margin: 0 0 12px; } .section-cta p { font-size: 16px; opacity: 0.85; margin: 0 0 28px; }
.site-footer { background: #2c3024; color: rgba(255,255,255,0.7); padding: 50px 0 0; font-size: 14px; } .footer-row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 36px; margin-bottom: 36px; } .footer-col { flex: 1 1 180px; min-width: 170px; } .footer-col.footer-brand { flex: 1.5 1 240px; }
.footer-col h4 { color: #fff; font-family: var(--font-heading); font-size: 18px; margin: 0 0 16px; } .footer-col p { line-height: 1.8; margin: 0 0 8px; } .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; 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; line-height: 1; padding: 0; border: none; } #back-to-top i { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; line-height: 1; } #back-to-top.show { opacity: 1; visibility: visible; } #back-to-top:hover { background: var(--color-accent); }
.page-banner { background: linear-gradient(rgba(45,74,40,0.85), rgba(45,74,40,0.9)), url('https://images.unsplash.com/photo-1532094349884-543bc11b234d?w=1200&q=80') center/cover no-repeat; padding: 60px 0; text-align: center; color: #fff; }
.page-banner-title { font-family: var(--font-heading); font-size: 32px; margin: 0 0 8px; color: #fff; } .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: 18px; 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; border-radius: var(--radius-sm); 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: 1px solid var(--color-border); }
.article-detail-title { font-family: var(--font-heading); font-size: 28px; 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; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; }
.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-content h2, .article-detail-content h3 { font-family: var(--font-heading); margin: 28px 0 14px; }
.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-primary); border-radius: var(--radius-sm); } .article-summary-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; } .summary-deco { color: var(--color-primary); flex-shrink: 0; } .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-muted); } .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); }
.image-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; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .image-date { font-size: 12px; color: var(--color-text-light); margin-left: 8px; }
.channel-block { margin-bottom: 36px; } .block-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--color-primary); } .block-title { font-family: var(--font-heading); font-size: 20px; margin: 0; } .block-more { font-size: 13px; color: var(--color-text-muted); }
.text-list { list-style: none; padding: 0; margin: 0; } .text-list-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--color-border); } .text-list-title { flex: 1; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .text-list-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--color-text-light); flex-shrink: 0; margin-left: 16px; }
.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-primary); }
.side-nav-list { list-style: none; padding: 0; margin: 0; } .side-nav-list li { padding: 8px 0; border-bottom: 1px dashed var(--color-border); } .side-nav-list li:last-child { border-bottom: none; } .side-nav-list li a { display: block; font-size: 14px; } .side-nav-list li a .fa { color: var(--color-primary); margin-right: 6px; font-size: 11px; }
.hot-list { list-style: none; padding: 0; margin: 0; } .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: var(--radius-sm); background: var(--color-bg-gray); color: var(--color-text-muted); } .rank-1, .rank-2, .rank-3 { background: var(--color-accent); color: #fff; } .hot-title { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.latest-list { list-style: none; padding: 0; margin: 0; } .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-dark); 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; }
.tool-list { list-style: none; padding: 0; margin: 0; } .tool-item { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--color-border); } .tool-item:last-child { border-bottom: none; } .tool-thumb { width: 52px; height: 52px; flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden; } .tool-gradient { width: 100%; height: 100%; } .tg-loupe { background: linear-gradient(135deg, #7B8FA1, #5B6F81); } .tg-press { background: linear-gradient(135deg, #8B7355, #6B5340); } .tg-pen { background: linear-gradient(135deg, #2D3436, #636e72); } .tool-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; } .tool-info h4 { font-size: 13px; font-weight: 600; margin: 0 0 2px; } .tool-info span { font-size: 12px; color: var(--color-text-light); }
.widget-ad .ad-link { display: block; border-radius: var(--radius-sm); overflow: hidden; } .widget-ad img { width: 100%; }
.product-price-box { margin: 16px 0; padding: 16px; background: var(--color-primary-light); border-radius: var(--radius-sm); display: flex; align-items: center; gap: 12px; } .product-price-value { font-size: 28px; font-weight: 700; color: var(--color-accent); font-family: var(--font-heading); }
.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; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; } .contact-info, .contact-form { background: #fff; padding: 28px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); } .contact-info h3, .contact-form h3 { font-family: var(--font-heading); font-size: 20px; margin: 0 0 20px; padding-bottom: 12px; border-bottom: 2px solid var(--color-primary); } .contact-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--color-border); } .contact-item:last-child { border-bottom: none; } .contact-item .fa { color: var(--color-primary); font-size: 18px; margin-top: 3px; } .contact-item strong { display: block; font-size: 13px; color: var(--color-text-light); margin-bottom: 2px; } .contact-item p { font-size: 14px; margin: 0; } .contact-map { margin-top: 16px; } .map-placeholder { height: 180px; background: var(--color-bg-gray); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--color-text-light); font-size: 14px; flex-direction: column; gap: 8px; border: 1px solid var(--color-border); } .map-placeholder .fa { font-size: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; } .form-row label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; } .form-row label span { flex-shrink: 0; } .form-row .inp { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 14px; font-family: var(--font-body); } .form-row .inp:focus { border-color: var(--color-primary); outline: none; } .mes { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; margin-bottom: 16px; font-weight: 500; } .mes span { flex-shrink: 0; padding-top: 8px; } .mes textarea { flex: 1; min-width: 0; height: 120px; padding: 10px 12px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 14px; font-family: var(--font-body); resize: vertical; } .mes textarea:focus { border-color: var(--color-primary); outline: none; } .msgbtn-box { display: flex; gap: 12px; } .btn-contact { padding: 10px 32px; background: var(--color-primary); color: #fff; border: none; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; cursor: pointer; } .btn-contact:hover { background: var(--color-primary-dark); } .btn-contact-reset { padding: 10px 24px; background: #fff; color: var(--color-text-muted); border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 15px; cursor: pointer; }
.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); }
.page-content { background: #fff; border-radius: var(--radius-md); padding: 32px; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); } .page-body { font-size: 16px; line-height: 1.9; }
@media (max-width: 991px) { .products-grid, .exhibit-grid, .process-grid { grid-template-columns: repeat(2, 1fr); } .stats-grid { grid-template-columns: repeat(3, 1fr); } .testimonial-grid { grid-template-columns: 1fr; } .footer-row { flex-direction: row; gap: 24px; } .article-card { flex-direction: column; } .article-cover { width: 100%; height: 200px; } .image-grid, .related-grid { grid-template-columns: repeat(2, 1fr); } .contact-grid { grid-template-columns: 1fr; } .hero-title { font-size: 36px; } .hero-section { padding: 80px 0 70px; } .navbar-toggle { display: block; } .main-menu { flex-direction: column; } .main-menu > li > a { padding: 10px 16px; } }
@media (max-width: 767px) { body { font-size: 14px; } .products-grid, .exhibit-grid, .process-grid { grid-template-columns: 1fr; } .stats-grid { grid-template-columns: repeat(2, 1fr); } .footer-row { flex-direction: column; gap: 24px; } .image-grid, .related-grid { grid-template-columns: 1fr; } .hero-title { font-size: 28px; } .section-title { font-size: 24px; } .article-detail { padding: 20px; } .article-detail-title { font-size: 22px; } .form-row { grid-template-columns: 1fr; } }
