/*
Theme Name:Weibo6
Version: 1.0
Author: Custom
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Microsoft Yahei", sans-serif;
  background: #f7f5fc;
  color: #333;
  line-height: 1.7;
}
a {
  color: #722ed1;
  text-decoration: none;
}
a:hover {
  color: #531dab;
}
img {
  max-width: 100%;
  height: auto;
}

/* 布局 */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}
.col-8 {
  flex: 0 0 66.666%;
  max-width: 66.666%;
  padding: 0 10px;
}
.col-4 {
  flex: 0 0 33.333%;
  max-width: 33.333%;
  padding: 0 10px;
}

/* 手机端 */
@media (max-width: 768px) {
  .col-8, .col-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .col-4 {
    margin-top: 20px;
  }
}

/* 头部 */
.header {
  background: #722ed1;
  padding: 18px 0;
  margin-bottom: 20px;
}
.logo {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}
.logo a {
  color: #fff;
}

/* 面包屑 */
.breadcrumb {
  background: #fff;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 13px;
  color: #666;
  margin-bottom: 15px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* 卡片 */
.card {
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.user-info {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 14px;
  flex-shrink: 0;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.author-name {
  font-weight: 500;
  color: #333;
}
.publish-time {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}
.article-title {
  font-size: 18px;
  font-weight: 500;
  margin: 10px 0;
  line-height: 1.5;
}
.article-excerpt {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

/* 分页 */
.pagination {
  text-align: center;
  margin: 30px 0;
}
.page-numbers {
  display: inline-block;
  padding: 8px 14px;
  background: #fff;
  border-radius: 6px;
  margin: 0 3px;
  color: #333;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.page-numbers.current {
  background: #722ed1;
  color: #fff;
}

/* 侧边栏 */
.widget {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.widget h3 {
  font-size: 16px;
  color: #722ed1;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.widget ul {
  list-style: none;
}
.widget li {
  display: flex;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed #eee;
}
.widget li:last-child {
  border: 0;
  margin: 0;
  padding: 0;
}
.widget .thumb {
  width: 54px;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
  margin-right: 12px;
  flex-shrink: 0;
}
.widget .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.widget .text {
  flex: 1;
  min-width: 0;
}
.widget .text a {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  color: #333;
}

/* 内容页 */
.single-title {
  font-size: 24px;
  margin-bottom: 14px;
  color: #222;
}
.single-content {
  font-size: 15px;
  line-height: 1.9;
  margin-top: 22px;
}
.post-nav {
  display: flex;
  justify-content: space-between;
  margin: 35px 0;
}

/* 底部 */
.footer {
  text-align: center;
  padding: 25px 0;
  color: #999;
  font-size: 13px;
  margin-top: 25px;
}