/*
Theme Name: Weibo16
Version: 1.0
Description: 淡蓝三栏微博主题，全新CSS与函数
*/
* {
  margin:0;
  padding:0;
  box-sizing:border-box;
}
body {
  font-family:"Microsoft Yahei",sans-serif;
  background:#f5f9ff;
  color:#334259;
  line-height:1.7;
}
a {
  color:#4a85e6;
  text-decoration:none;
}
a:hover {
  color:#2c6cd2;
}
img {
  max-width:100%;
  height:auto;
  display:block;
}
.container {
  max-width:1360px;
  margin:0 auto;
  padding:0 12px;
}

/* 三栏布局 */
.site-wrap {
  display:flex;
  gap:20px;
}
.side-left {
  width:260px;
  flex-shrink:0;
}
.main {
  flex:1;
  min-width:0;
}
.side-right {
  width:260px;
  flex-shrink:0;
}

/* 移动端折叠 */
@media (max-width:1199px) {
  .site-wrap {
    flex-wrap:wrap;
  }
  .side-left {
    width:100%;
    order:2;
  }
  .main {
    width:100%;
    order:1;
  }
  .side-right {
    width:100%;
    order:3;
  }
}

/* 文章列表 */
.post-list {
  display:flex;
  flex-direction:column;
  gap:18px;
}
.post-card {
  background:#fff;
  border-radius:14px;
  padding:22px;
  border:1px solid #e4edf8;
}
.post-title {
  font-size:17px;
  margin-bottom:10px;
  line-height:1.5;
}
.post-excerpt {
  font-size:14px;
  color:#55667e;
  margin-bottom:16px;
  line-height:1.7;
}
.post-meta {
  display:flex;
  align-items:center;
  gap:12px;
}
.avatar {
  width:42px;
  height:42px;
  border-radius:50%;
  overflow:hidden;
  border:2px solid #e4edf8;
  flex-shrink:0;
}
.avatar img {
  width:100%;
  height:100%;
  object-fit:cover;
}
.author-name {
  font-size:14px;
  font-weight:500;
  color:#4a85e6;
}
.post-time {
  font-size:12px;
  color:#8897b1;
  margin-left:auto;
}

/* 分页 */
.pagination {
  text-align:center;
  margin:30px 0;
}
.page-numbers {
  display:inline-block;
  width:34px;
  height:34px;
  line-height:32px;
  border-radius:6px;
  background:#fff;
  border:1px solid #e4edf8;
  font-size:14px;
  margin:0 2px;
}
.page-numbers.current {
  background:#4a85e6;
  color:#fff;
  border-color:#4a85e6;
}

/* 侧边栏模块 */
.widget {
  background:#fff;
  border-radius:14px;
  padding:20px;
  border:1px solid #e4edf8;
  margin-bottom:20px;
}
.widget-title {
  font-size:16px;
  margin-bottom:16px;
  color:#334259;
  padding-bottom:8px;
  border-bottom:1px solid #f0f5fb;
}
.widget-list {
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.widget-item {
  display:flex;
  align-items:center;
  gap:10px;
}
.widget-thumb {
  width:48px;
  height:48px;
  border-radius:8px;
  overflow:hidden;
  flex-shrink:0;
}
.widget-text {
  flex:1;
  min-width:0;
}
.widget-text a {
  font-size:14px;
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* 面包屑 */
.breadcrumb {
  background:#fff;
  border-radius:10px;
  padding:12px 16px;
  font-size:13px;
  color:#667799;
  margin-bottom:20px;
  border:1px solid #e4edf8;
}
.breadcrumb a {
  color:#667799;
}

/* 内容页 */
.single-title {
  font-size:24px;
  margin-bottom:16px;
}
.single-content {
  background:#fff;
  border-radius:14px;
  padding:26px;
  border:1px solid #e4edf8;
  margin-bottom:24px;
  font-size:15px;
  line-height:1.9;
}
.post-nav {
  display:flex;
  justify-content:space-between;
  margin-bottom:24px;
}
.post-nav a {
  background:#fff;
  border:1px solid #e4edf8;
  border-radius:8px;
  padding:8px 14px;
  font-size:14px;
}

/* 头部底部 */
.header {
  background:#fff;
  border-bottom:1px solid #e4edf8;
  padding:22px 0;
  text-align:center;
  margin-bottom:24px;
}
.site-name {
  font-size:22px;
  font-weight:500;
  color:#4a85e6;
}
.footer {
  text-align:center;
  padding:26px 0;
  font-size:13px;
  color:#8897b1;
  border-top:1px solid #e4edf8;
  margin-top:30px;
}

/* 404 */
.page-404 {
  background:#fff;
  border-radius:14px;
  padding:60px 20px;
  text-align:center;
  border:1px solid #e4edf8;
}
.page-404 h1 {
  font-size:48px;
  color:#4a85e6;
  margin-bottom:20px;
}