/*
Theme Name: portal9
Author: Master
Version: 1.0
Description: 全新随机色双列SEO主题
*/
* { margin:0; padding:0; box-sizing:border-box }
body {
    font-family: "Microsoft YaHei", sans-serif;
    font-size:15px;
    color:#242424;
    background:#f5f7fa;
    line-height:1.7;
}
a { color:#242424; text-decoration:none }
img { max-width:100%; height:auto; display:block; border-radius:4px }
ul { list-style:none }

.wr-container { max-width:1200px; margin:0 auto; padding:0 15px }

.wr-header {
    padding:20px 0;
    margin-bottom:20px;
}
.wr-logo {
    font-size:24px;
    font-weight:bold;
    color:#000 !important;
}

.wr-bread {
    background:#fff;
    padding:12px 18px;
    border-radius:8px;
    font-size:13px;
    color:#777;
    margin-bottom:20px;
    border-left:3px solid var(--sc);
}

.wr-row { display:flex; gap:25px; margin-bottom:30px }
.wr-main { flex:1 }
.wr-side { width:300px }
@media(max-width:900px) {
    .wr-row{flex-direction:column}
    .wr-side{width:100%}
}

.wr-grid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}
@media(max-width:768px) {
    .wr-grid{grid-template-columns:1fr}
}
.wr-card {
    background:#fff;
    padding:20px;
    border-radius:10px;
    box-shadow:0 1px 3px rgba(0,0,0,0.04);
}
.wr-thumb { height:140px; border-radius:6px; overflow:hidden; margin-bottom:12px }
.wr-thumb img { width:100%; height:100%; object-fit:cover }
.wr-title { font-size:17px; font-weight:500; margin-bottom:6px }
.wr-meta { font-size:12px; color:#999; margin-bottom:8px }
.wr-desc { font-size:14px; color:#555 }

.wr-pager { text-align:center; margin:30px 0 }
.wr-pager a,.wr-pager span {
    display:inline-block; padding:7px 14px;
    background:#fff; border:1px solid #eee;
    border-radius:6px; margin:0 3px;
}
.wr-pager .current {
    background:var(--sc);
    color:#fff;
    border-color:var(--sc);
}

.wr-widget {
    background:#fff;
    padding:20px;
    border-radius:10px;
    margin-bottom:20px;
}
.wr-widget h3 {
    font-size:16px;
    padding-bottom:10px;
    border-bottom:2px solid var(--sc);
    margin-bottom:15px;
}
.wr-side-item {
    display:flex;
    gap:10px;
    padding:8px 0;
    border-bottom:1px dashed #eee;
}
.wr-side-img {
    width:50px;
    height:50px;
    flex-shrink:0;
}
.wr-side-title {
    font-size:14px;
    line-height:1.4;
}

.wr-single { background:#fff; padding:40px; border-radius:10px }
.wr-single h1 { font-size:24px; text-align:center; margin-bottom:20px }
.wr-content { font-size:16px; line-height:2 }

.wr-postnav {
    display:flex;
    justify-content:space-between;
    margin:30px 0;
}
.wr-postnav a {
    background:#fff;
    padding:12px 18px;
    border-radius:8px;
    border:1px solid #eee;
}

.wr-related { background:#fff; padding:25px; border-radius:10px; margin-top:20px }
.wr-text-list a {
    display:block;
    padding:6px 0;
    font-size:14px;
    border-bottom:1px dashed #eee;
}
.wr-text-list a:hover { color:var(--sc) }

.wr-footer {
    color:#fff;
    text-align:center;
    padding:25px 0;
    margin-top:30px;
    font-size:13px;
    background:var(--sc);
}
a:hover { color:var(--sc); }