* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; background:#f3e5f5; color:#311b92; line-height:1.8; font-size:17px; }
a { color:#9c27b0; text-decoration:none; transition:color .3s; }
a:hover { color:#311b92; }
.wrap { max-width:1080px; margin:0 auto; padding:0 15px; }
#header { background:#311b92; padding:25px 0; margin-bottom:25px; }
#logo { display:inline-block; }
#logo img { height:40px; }
#nav { float:right; margin-top:10px; }
#nav ul li { display:inline-block; margin-left:20px; list-style:none; }
#nav ul li a { color:rgba(255,255,255,0.85); font-size:15px; }
#nav ul li a:hover { color:#9c27b0; }
.main { float:left; width:72%; }
.sidebar { float:right; width:30%; }
.card { background:#fff; border-radius:4px; padding:25px; margin-bottom:20px; box-shadow:0 2px 12px rgba(0,0,0,0.05); }
.card h3 { font-size:18px; margin-bottom:20px; padding-bottom:8px; border-bottom:2px solid #9c27b0; color:#311b92; }
.post-list li { padding:18px 0; border-bottom:1px dashed #eee; list-style:none; }
.post-list li:last-child { border-bottom:none; }
.post-list li a { font-size:15px; color:#311b92; display:block; margin-bottom:5px; }
.post-list li a:hover { color:#9c27b0; }
.post-list li .meta { font-size:13px; color:#999; }
.post-list li .desc { font-size:14px; color:#666; margin-top:5px; line-height:1.7; }
.banner { margin-bottom:30px; border-radius:6px; overflow:hidden; }
.banner img { width:100%; height:300px; object-fit:cover; }
.article h1 { font-size:30px; line-height:1.4; margin-bottom:15px; color:#311b92; font-weight:600; }
.article .meta { font-size:14px; color:#999; margin-bottom:20px; padding-bottom:15px; border-bottom:1px solid #eee; }
.article .content { font-size:17px; line-height:2; color:#333; }
.article .content p { margin-bottom:18px; }
.article .content img { max-width:100%; height:auto; border-radius:6px; margin:15px 0; }
.pagination { margin:30px 0; text-align:center; }
.pagination a { display:inline-block; padding:8px 16px; margin:0 3px; border-radius:4px; background:#fff; color:#311b92; border:1px solid #eee; }
.pagination a:hover { background:#9c27b0; color:#fff; border-color:#9c27b0; }
.sidebar .widget { background:#fff; border-radius:8px; padding:22px; margin-bottom:20px; box-shadow:0 2px 8px rgba(0,0,0,0.05); }
.sidebar .widget h4 { font-size:17px; margin-bottom:15px; padding-bottom:8px; border-bottom:1px solid #9c27b0; color:#311b92; }
.sidebar .widget ul li { list-style:none; padding:8px 0; border-bottom:1px dashed #f0f0f0; }
.sidebar .widget ul li:last-child { border-bottom:none; }
.breadcrumb { font-size:14px; color:#666; margin-bottom:20px; padding:10px 0; }
.breadcrumb a { color:#666; margin:0 5px; }
.breadcrumb a:hover { color:#9c27b0; }
#footer { background:#311b92; color:#fff; padding:30px 0; margin-top:50px; clear:both; }
#footer a { color:rgba(255,255,255,0.8); margin:0 8px; }
#footer a:hover { color:#9c27b0; }
.flink { margin-bottom:15px; font-size:14px; line-height:2; }
.copyright { text-align:center; font-size:14px; color:rgba(255,255,255,0.7); line-height:1.8; }
.clearfix::after { content:""; display:block; clear:both; }
@media (max-width:768px) {
.main,.sidebar { width:100%!important; float:none!important; }
#nav { float:none; margin-top:15px; }
#nav ul li { margin:0 8px; }
.wrap { width:95%!important; }
}