* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #cfd8dc; background-color: #12141a; line-height: 1.6; }
a { color: #f5f5f5; text-decoration: none; transition: all 0.3s ease; }
a:hover { color: #00e676; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.site-header { background: #1a1c23; border-bottom: 1px solid #263238; position: sticky; top: 0; z-index: 1000; }
.header-flex { display: flex; justify-content: space-between; align-items: center; height: 85px; }
.logo h1 a { font-size: 22px; font-weight: 700; color: #00e676; }
.site-nav ul { display: flex; list-style: none; gap: 35px; }
.site-nav ul li a { color: #b0bec5; font-weight: 600; font-size: 15px; letter-spacing: 0.5px; }
.site-nav ul li a:hover, .site-nav ul li.active a { color: #00e676; }

.hero-section { background: linear-gradient(rgba(18,20,26,0.85), rgba(18,20,26,0.95)), url('/images/tea/1.webp') no-repeat center/cover; color: #ffffff; padding: 110px 0; text-align: center; border-bottom: 1px solid #1a1c23; }
.hero-section h2 { font-size: 36px; margin-bottom: 20px; font-weight: 700; letter-spacing: 1px; color: #ffffff; }
.hero-section p { font-size: 15px; color: #78909c; max-width: 750px; margin: 0 auto 30px; }
.btn-primary { display: inline-block; background: #00e676; color: #12141a; padding: 11px 35px; border-radius: 4px; font-weight: 700; box-shadow: 0 4px 15px rgba(0,230,118,0.2); }
.btn-primary:hover { background: #00b451; box-shadow: 0 4px 20px rgba(0,230,118,0.4); }

/* 全新画廊弹性三栏/四栏平铺，彻底解决右侧真空 */
.gallery-layout { margin: 50px auto 80px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 30px; }

.gallery-card { background: #1a1c23; border: 1px solid #263238; border-radius: 6px; overflow: hidden; transition: all 0.3s ease; display: flex; flex-direction: column; }
.gallery-card:hover { border-color: #00e676; transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,0.3); }
.card-thumb { width: 100%; height: 210px; overflow: hidden; background: #12141a; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.gallery-card:hover .card-thumb img { transform: scale(1.04); }
.card-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; line-height: 1.4; color: #ffffff; }
.card-body h3 a:hover { color: #00e676; }
.card-desc { font-size: 13px; color: #78909c; margin-bottom: 20px; text-align: justify; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.6; }
.card-meta { font-size: 12px; color: #455a64; margin-top: auto; }

.page-banner { background: #1a1c23; padding: 50px 0; text-align: center; border-bottom: 1px solid #263238; }
.page-banner h2 { color: #ffffff; font-size: 26px; }
.breadcrumb { font-size: 12px; color: #546e7a; margin-top: 8px; }
.pagination { text-align: center; margin-top: 60px; }

.single-layout { max-width: 800px; margin: 50px auto; background: #1a1c23; padding: 45px 40px; border-radius: 8px; border: 1px solid #263238; }
.article-title { font-size: 28px; font-weight: 700; line-height: 1.4; margin-bottom: 15px; color: #ffffff; }
.article-meta { color: #546e7a; font-size: 13px; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 1px solid #263238; }
.article-cover { width: 100%; height: 360px; overflow: hidden; border-radius: 4px; margin-bottom: 35px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { font-size: 16px; color: #b0bec5; line-height: 1.8; text-align: justify; }
.article-body p { margin-bottom: 25px; }
.article-nav { margin-top: 50px; padding-top: 20px; border-top: 1px dashed #263238; font-size: 14px; color: #78909c; }

.site-footer { background: #12141a; color: #546e7a; padding: 70px 0 30px; font-size: 14px; border-top: 1px solid #263238; }
.footer-grid { display: flex; justify-content: space-between; gap: 50px; margin-bottom: 45px; }
.footer-info { max-width: 500px; }
.footer-info h3, .footer-links h3 { color: #ffffff; font-size: 15px; margin-bottom: 20px; font-weight: 600; text-transform: uppercase; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a { color: #78909c; }
.footer-links ul li a:hover { color: #00e676; }
.footer-bottom { border-top: 1px solid #1a1c23; padding-top: 25px; text-align: center; font-size: 12px; color: #37474f; }
