﻿* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "STKaiti", "KaiTi", "Kaiti SC", "STSong", "SimSun", "Noto Serif SC", Georgia, serif;
    font-size: 15px; color: #2b2420; background: #f2ead6; line-height: 1.9;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(139,90,43,0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139,90,43,0.04) 0%, transparent 50%);
}
a { color: #2b2420; text-decoration: none; transition: color .2s; }
a:hover { color: #a8321e; }
ul { list-style: none; }
.container { width: 1200px; margin: 0 auto; }

/* Top bar */
.top-bar { background: #1a1410; color: #c9b17a; font-size: 13px; padding: 8px 0; border-bottom: 1px solid #6b4e2a; }
.top-inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar .date { color: #a89060; }

/* Header */
.header {
    background: linear-gradient(180deg, #faf3df 0%, #f0e5c8 100%);
    padding: 28px 0; border-bottom: 3px double #8b5a2b; position: relative;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.seal {
    width: 70px; height: 70px; background: #a8321e; color: #f2ead6;
    display: flex; align-items: center; justify-content: center; font-size: 40px;
    border-radius: 8px; font-weight: bold; box-shadow: 0 2px 8px rgba(168,50,30,0.3);
    border: 2px solid #8b2818; transform: rotate(-3deg);
}
.logo { flex: 1; text-align: center; }
.logo h1 { font-size: 36px; color: #1a1410; letter-spacing: 8px; font-weight: bold; }
.logo h1 a { color: #1a1410; }
.logo p { color: #6b4e2a; font-size: 13px; margin-top: 6px; letter-spacing: 3px; }
.header-taiji { font-size: 60px; color: #1a1410; width: 70px; text-align: center; }

/* Nav */
.nav { background: #2b1f17; border-bottom: 3px solid #a8321e; }
.nav ul { display: flex; }
.nav li { flex: 1; text-align: center; position: relative; }
.nav a {
    display: block; padding: 16px 0; color: #e8d9b8; font-size: 17px; letter-spacing: 4px;
    border-right: 1px solid #3d2e22;
}
.nav li:last-child a { border-right: none; }
.nav a:hover, .nav .current a { background: #a8321e; color: #f2ead6; }
.nav .current a::after {
    content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 30px; height: 2px; background: #c9b17a;
}

/* Banner */
.banner {
    background:
        linear-gradient(rgba(26,20,16,0.75), rgba(26,20,16,0.85)),
        repeating-linear-gradient(45deg, #3d2e22 0px, #3d2e22 2px, #2b1f17 2px, #2b1f17 12px);
    color: #e8d9b8; padding: 70px 0; text-align: center; border-bottom: 3px double #8b5a2b;
}
.banner h2 { font-size: 40px; color: #d4b978; letter-spacing: 10px; margin-bottom: 18px; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.banner p { font-size: 18px; opacity: 0.9; letter-spacing: 3px; margin-bottom: 8px; }
.banner .sub { font-size: 14px; color: #a89060; margin-top: 20px; letter-spacing: 2px; }

/* Section */
.section { padding: 50px 0; }
.section-title { text-align: center; margin-bottom: 40px; position: relative; }
.section-title h2 {
    display: inline-block; font-size: 28px; color: #1a1410; padding: 0 40px 14px;
    letter-spacing: 6px; position: relative; font-weight: bold;
}
.section-title h2::before, .section-title h2::after {
    content: "❖"; color: #a8321e; position: absolute; bottom: -8px; font-size: 16px;
}
.section-title h2::before { left: 50%; transform: translateX(-24px); }
.section-title h2::after { left: 50%; transform: translateX(8px); }
.section-title h2::after {
    content: ""; width: 80px; height: 2px; background: linear-gradient(90deg, transparent, #8b5a2b, transparent);
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
}
.section-title p { color: #6b4e2a; margin-top: 18px; font-size: 14px; letter-spacing: 2px; }

/* Fengshui grid */
.fs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fs-card {
    background: #faf3df; border: 1px solid #d4c094; border-radius: 4px; padding: 32px 20px;
    text-align: center; transition: all .3s; position: relative;
}
.fs-card::before, .fs-card::after {
    content: ""; position: absolute; width: 12px; height: 12px; border: 2px solid #a8321e;
}
.fs-card::before { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.fs-card::after { bottom: 8px; right: 8px; border-left: none; border-top: none; }
.fs-card:hover {
    background: #fff; transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(139,90,43,0.2); border-color: #a8321e;
}
.fs-card .icon {
    width: 68px; height: 68px; margin: 0 auto 16px; background: #2b1f17;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 32px; color: #d4b978; border: 2px solid #8b5a2b;
}
.fs-card h3 { font-size: 19px; color: #1a1410; margin-bottom: 10px; letter-spacing: 3px; }
.fs-card p { color: #5a4a38; font-size: 13px; line-height: 1.8; }

/* About strip */
.about-strip { background: #faf3df; border-top: 1px solid #d4c094; border-bottom: 1px solid #d4c094; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-inner .img-placeholder {
    height: 280px; border: 2px solid #8b5a2b; background: #f0e5c8;
    display: flex; align-items: center; justify-content: center; color: #6b4e2a;
    font-size: 22px; letter-spacing: 4px; border-radius: 4px;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(139,90,43,0.05) 20px, rgba(139,90,43,0.05) 40px);
}
.about-text h3 { font-size: 26px; color: #1a1410; margin-bottom: 18px; letter-spacing: 4px; }
.about-text p { color: #4a3c2c; margin-bottom: 14px; text-indent: 2em; }
.btn {
    display: inline-block; padding: 10px 36px; background: #a8321e; color: #f2ead6 !important;
    letter-spacing: 4px; border-radius: 2px; margin-top: 10px; border: 1px solid #8b2818;
}
.btn:hover { background: #8b2818; color: #fff !important; }

/* Bagua / 8 sections display */
.bagua-wrap {
    background: #faf3df; border: 2px double #8b5a2b; border-radius: 8px;
    padding: 40px; position: relative;
}
.bagua-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bagua-item {
    background: #fff; padding: 24px; border: 1px solid #d4c094; border-radius: 4px;
    text-align: center;
}
.bagua-item .gua { font-size: 36px; color: #a8321e; margin-bottom: 8px; }
.bagua-item h4 { font-size: 18px; color: #1a1410; letter-spacing: 2px; margin-bottom: 8px; }
.bagua-item p { font-size: 13px; color: #5a4a38; }

/* News list */
.news-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.news-box { background: #faf3df; border: 1px solid #d4c094; border-radius: 4px; padding: 24px; }
.news-box h3 {
    font-size: 19px; color: #1a1410; padding-bottom: 12px; margin-bottom: 16px; letter-spacing: 3px;
    border-bottom: 2px solid #a8321e; display: flex; justify-content: space-between; align-items: center;
    position: relative;
}
.news-box h3::after {
    content: ""; position: absolute; bottom: -2px; left: 0; width: 40%; height: 2px; background: #d4b978;
}
.news-box h3 a { font-size: 12px; color: #6b4e2a; letter-spacing: 0; }
.news-box li {
    padding: 12px 0; border-bottom: 1px dashed #c9b17a;
    display: flex; justify-content: space-between; align-items: center;
}
.news-box li:last-child { border-bottom: none; }
.news-box li a { flex: 1; padding-left: 20px; position: relative; }
.news-box li a::before {
    content: "◆"; position: absolute; left: 0; color: #a8321e; font-size: 10px; top: 4px;
}
.news-box .date { color: #8b7355; font-size: 12px; white-space: nowrap; margin-left: 12px; }

/* Baike */
.baike-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.baike-card {
    background: #faf3df; border: 1px solid #d4c094; border-left: 4px solid #a8321e;
    padding: 20px 24px; border-radius: 4px;
}
.baike-card h3 { font-size: 20px; color: #1a1410; letter-spacing: 2px; margin-bottom: 4px; }
.baike-card .pinyin { color: #8b7355; font-size: 13px; margin-bottom: 10px; font-family: Georgia, serif; }
.baike-card p { color: #4a3c2c; font-size: 14px; line-height: 1.8; }

/* CTA */
.cta {
    background:
        linear-gradient(rgba(26,20,16,0.85), rgba(26,20,16,0.9)),
        repeating-linear-gradient(45deg, #3d2e22 0, #3d2e22 2px, #2b1f17 2px, #2b1f17 12px);
    color: #e8d9b8; text-align: center; padding: 56px 0; border-top: 3px double #8b5a2b; border-bottom: 3px double #8b5a2b;
}
.cta h2 { color: #d4b978; font-size: 28px; letter-spacing: 6px; margin-bottom: 14px; }
.cta p { font-size: 16px; opacity: 0.9; margin-bottom: 24px; letter-spacing: 2px; }

/* Breadcrumb */
.breadcrumb {
    background: #faf3df; padding: 14px 0; border-bottom: 1px solid #d4c094;
    font-size: 13px; color: #6b4e2a;
}
.breadcrumb a { color: #6b4e2a; }
.breadcrumb a:hover { color: #a8321e; }

/* Main layout */
.main { padding: 30px 0 50px; }
.main-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
.sidebar { height: fit-content; }
.sidebar-box {
    background: #faf3df; border: 1px solid #d4c094; border-radius: 4px; overflow: hidden;
    margin-bottom: 24px;
}
.sidebar-box h3 {
    background: #2b1f17; color: #d4b978; padding: 14px 20px; font-size: 17px;
    letter-spacing: 4px; border-bottom: 2px solid #a8321e;
}
.sidebar-box ul li { border-bottom: 1px solid #e8d9b8; }
.sidebar-box ul li a {
    display: block; padding: 12px 20px; position: relative; padding-left: 36px;
}
.sidebar-box ul li a::before {
    content: "◇"; position: absolute; left: 18px; color: #a8321e; font-size: 12px;
}
.sidebar-box ul li a:hover, .sidebar-box .active a {
    background: #a8321e; color: #f2ead6;
}
.sidebar-box ul li a:hover::before, .sidebar-box .active a::before { color: #d4b978; }
.sidebar-quote {
    background: #2b1f17; color: #c9b17a; padding: 24px; text-align: center;
    border-radius: 4px; border: 1px solid #6b4e2a;
}
.sidebar-quote p { font-size: 16px; margin-bottom: 8px; letter-spacing: 2px; }
.sidebar-quote span { font-size: 13px; color: #a89060; }

/* Content */
.content {
    background: #faf3df; border: 1px solid #d4c094; border-radius: 4px; padding: 36px;
}
.content h2 {
    font-size: 26px; color: #1a1410; margin-bottom: 20px; padding-bottom: 14px;
    border-bottom: 2px solid #a8321e; letter-spacing: 3px;
}
.content h3 {
    font-size: 19px; color: #1a1410; margin: 24px 0 12px; padding-left: 14px;
    border-left: 4px solid #a8321e; letter-spacing: 2px;
}
.content p { margin-bottom: 14px; color: #3a2e22; text-indent: 2em; }
.content ul { padding-left: 2em; margin-bottom: 14px; }
.content ul li { list-style: disc; color: #4a3c2c; margin-bottom: 8px; }
.article-list li { padding: 16px 0; border-bottom: 1px dashed #c9b17a; }
.article-list li a { font-size: 16px; }
.article-list .meta { color: #8b7355; font-size: 12px; margin-top: 6px; }

/* Footer */
.footer {
    background: #1a1410; color: #a89060; padding: 40px 0 20px;
    border-top: 3px double #6b4e2a;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 40px; margin-bottom: 30px; }
.footer-col h4 {
    color: #d4b978; font-size: 17px; margin-bottom: 16px; padding-bottom: 10px;
    border-bottom: 1px solid #3d2e22; letter-spacing: 3px;
}
.footer-col p { font-size: 13px; line-height: 1.9; margin-bottom: 8px; color: #8b7355; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: #a89060; font-size: 13px; }
.footer-col a:hover { color: #d4b978; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #3d2e22; }
.footer-bottom p { font-size: 13px; margin-bottom: 6px; color: #6b4e2a; letter-spacing: 1px; }

/* Responsive */
@media (max-width: 1200px) { .container { width: 96%; } }
@media (max-width: 768px) {
    .fs-grid, .bagua-grid, .baike-list { grid-template-columns: 1fr; }
    .about-inner, .news-wrap, .main-wrap, .footer-grid { grid-template-columns: 1fr; }
    .nav ul { flex-wrap: wrap; }
    .nav li { flex: none; width: 25%; }
    .nav a { padding: 12px 0; font-size: 14px; letter-spacing: 1px; }
    .header-inner { flex-wrap: wrap; gap: 16px; justify-content: center; text-align: center; }
    .logo { order: -1; width: 100%; }
    .banner h2 { font-size: 28px; letter-spacing: 4px; }
}
