* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}

body {
    background-color: #f8f5f2;
    color: #333;
    line-height: 1.8;
    padding: 20px 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5ddd5;
}

.site-header h1 {
    color: #c87c5e;
    font-size: 28px;
    margin-bottom: 8px;
}

.site-header p {
    color: #888;
    font-size: 15px;
}

/* 切换按钮栏 */
.tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 25px;
}

.tab-btn {
    padding: 9px 18px;
    border: none;
    border-radius: 25px;
    background: #fff;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.tab-btn.active {
    background-color: #c87c5e;
    color: #fff;
}

.tab-btn:hover {
    background: #e8b8a2;
    color: #fff;
}

/* 内容盒子 */
.content-box {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
}

.article-item {
    display: none;
}

.article-item.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

.article-item h2 {
    font-size: 22px;
    color: #444;
    margin-bottom: 20px;
    text-align: center;
}

.material {
    background-color: #fef5f0;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.material h3 {
    font-size: 16px;
    color: #c87c5e;
    margin-bottom: 8px;
}

.article-text p {
    margin-bottom: 16px;
    font-size: 15px;
    text-indent: 2em;
    color: #555;
}

/* 蛋糕图片居中样式 */
.cake-img {
    text-align: center;
    margin: 15px 0 25px;
}
.cake-img img {
    max-width: 70%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 备案底部 */
.beian-info {
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
    padding-top: 20px;
    border-top: 1px dashed #eee;
}

.beian-info a {
    color: #999;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.beian-info a:hover {
    color: #c87c5e;
}

.beian-separator {
    color: #ccc;
    margin: 0 8px;
}

.beian-icon {
    width: 16px;
    height: 16px;
    margin-right: 4px;
    vertical-align: middle;
}