.wenzhang2{max-width:1000px;margin:0 auto;background-color:#fff;border-radius:10px;box-shadow:0 3px 15px rgba(0,0,0,0.1);overflow:hidden}
.wenzhang_ding{background-color:#e8d9c0;padding:10px 1px;border-bottom:1px solid #d4c2a0}
.wenzhang_ding h1{color:#8b5a2b;font-size:28px;margin-bottom:15px;text-align:center}
.wenzhang_ding p{color:#6b4423;text-align:center;font-size:16px}
.wenzhang2 p {margin: 0 0 0px;}
.page-news-detail{padding:10px 10px}
.page-news-detail p{margin-bottom:5px;font-size:17px;line-height:1.8}
.page-news-detail h2{color:#8b5a2b;font-size:24px;margin:5px 0 10px;padding-bottom:5px;border-bottom:2px solid #e8d9c0}
.page-news-detail h3{color:#8b5a2b;font-size:20px;margin:5px 0 5px}
.page-news-detail strong{color:#6b4423}
.color-guide{margin:5px 0;display:flex;flex-wrap:wrap;gap:10px}
.color-item{flex:1;min-width:250px;padding:10px;border-radius:8px;border:1px solid #eee}
.color-item h4{margin-top:0;margin-bottom:15px;font-size:18px}
.color-swatches{display:flex;gap:10px;margin-bottom:10px}
.color-swatch{width:30px;height:30px;border-radius:4px;border:1px solid #ddd}
.very-lucky{background-color:#f9f6ef;border-color:#e8d9c0}
.very-lucky h4{color:#c87941}
.lucky{background-color:#fff5f5;border-color:#f8d7da}
.lucky h4{color:#e74c3c}
.unlucky{background-color:#f8f9fa;border-color:#dee2e6}
.unlucky h4{color:#6c757d}
.xiayitian{display:flex;justify-content:center;gap:20px;margin:10px 0}
.xiayitian button{padding:10px 20px;background-color:#e8d9c0;color:#8b5a2b;border:none;border-radius:5px;font-size:16px;cursor:pointer;transition:all 0.3s ease}
.xiayitian button:hover{background-color:#d4c2a0;transform:translateY(-2px)}
.page-news-detail img{margin:30px auto;display:block;max-width:100%;height:auto;border-radius:8px;box-shadow:0 3px 10px rgba(0,0,0,0.1)}
.lunar-info{background-color:#f9f6ef;padding:10px;border-radius:8px;margin:10px 0}
.lunar-info p{margin-bottom:12px}
.shichen-container{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px;margin:5px 0}
.shichen-card{border:1px solid;border-radius:8px;padding:6px;transition:all 0.3s ease}
.shichen-card:hover{transform:translateY(-3px);box-shadow:0 5px 15px rgba(0,0,0,0.05)}
.shichen-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:10px;border-bottom:1px dashed #e8d9c0}
.shichen-time{font-weight:bold}
.shichen-name{font-size:18px;color:#8b5a2b}
.shichen-period{font-size:14px;color:#666;margin-left:5px}
.shichen-status{font-size:16px;font-weight:bold;padding:3px 10px;border-radius:4px}
.ji{color:#28a745;background-color:rgba(40,167,69,0.1)}
.xiong{color:#dc3545;background-color:rgba(220,53,69,0.1)}
.shichen-body{line-height:1.7}
.shichen-direction,.shichen-actions{margin-bottom:8px}
.label{font-weight:bold;color:#8b5a2b;display:inline-block;min-width:30px}
.value{color:#333}
.宜忌-container{display:flex;flex-wrap:wrap;gap:20px;margin:20px 0}
.宜忌-item{flex:1;min-width:300px}
.宜忌-item h4{color:#8b5a2b;margin-bottom:15px;font-size:18px}
.宜忌-list{list-style-type:none;padding:0}
.宜忌-list li{display:inline-block;margin:0 8px 8px 0;padding:5px 10px;border-radius:4px;font-size:16px}
.宜 li{background-color:#eafaf1;color:#27ae60}
.忌 li{background-color:#fef3f2;color:#e53e3e}
@media (max-width:768px){.wenzhang_ding,.page-news-detail{padding:5px 5px}
.wenzhang_ding h1{font-size:24px}
.page-news-detail h2{font-size:14px}
.shichen-container{grid-template-columns:1fr}
}