/*
Theme Name: Weibo11
Author: jazz
Version: 1.0
Description: 玫瑰色三栏微博风格主题
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft Yahei", sans-serif;
  background: #fffafa;
  color: #553038;
  line-height: 1.7;
}

a {
  color: #d85a8a;
  text-decoration: none;
}

a:hover {
  color: #b83b6e;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* 布局容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
}

.wrap {
  display: flex;
  gap: 20px;
}

/* 三栏宽度 */
.main {
  flex: 1;
  min-width: 0;
}

.sidebar-left,
.sidebar-right {
  width: 260px;
  flex-shrink: 0;
}

/* 移动端自适应 */
@media (max-width: 1024px) {
  .wrap {
    flex-direction: column;
  }
  .sidebar-left,
  .sidebar-right {
    width: 100%;
  }
}

/* 头部 */
.header {
  background: #fce4ec;
  border-bottom: 1px solid #f8cdd9;
  padding: 20px 0;
  margin-bottom: 20px;
  text-align: center;
}

.site-title {
  font-size: 20px;
  font-weight: 500;
  color: #b83b6e;
}

/* 面包屑 */
.breadcrumb {
  background: #fff;
  border: 1px solid #f8cdd9;
  border-radius: 10px;
  padding: 11px 15px;
  font-size: 13px;
  color: #996677;
  margin-bottom: 18px;
}

/* 微博卡片 */
.post-card {
  background: #fff;
  border: 1px solid #f8cdd9;
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 18px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #f8cdd9;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uname {
  font-size: 15px;
  font-weight: 500;
  color: #a0305c;
}

.pub-time {
  font-size: 12px;
  color: #b87c90;
}

/* 标题摘要 */
.post-title {
  font-size: 17px;
  margin-bottom: 10px;
  color: #883355;
}

.post-excerpt {
  font-size: 14px;
  color: #77555f;
}

/* 分页 */
.pagination {
  text-align: center;
  margin: 30px 0;
}

.page-numbers {
  display: inline-block;
  padding: 7px 12px;
  background: #fff;
  border: 1px solid #f4a5c2;
  border-radius: 6px;
  margin: 0 3px;
  font-size: 14px;
  color: #b83b6e;
}

.page-numbers.current {
  background: #e5739e;
  color: #fff;
  border-color: #e5739e;
}

/* 侧边栏 */
.widget {
  background: #fff;
  border: 1px solid #f8cdd9;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
}

.widget h3 {
  font-size: 16px;
  color: #b83b6e;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #fce4ec;
}

.widget ul {
  list-style: none;
}

.widget li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed #f8cdd9;
}

.widget li:last-child {
  border: 0;
  margin: 0;
  padding: 0;
}

.widget-thumb {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.widget-text {
  flex: 1;
  min-width: 0;
}

.widget-text a {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
}

/* 内容页 */
.single-title {
  font-size: 22px;
  margin-bottom: 16px;
  color: #992a55;
}

.single-content {
  font-size: 15px;
  line-height: 1.9;
  color: #66444c;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  margin: 28px 0;
}

.related {
  margin-top: 24px;
}

/* 底部 */
.footer {
  text-align: center;
  padding: 30px 0;
  font-size: 13px;
  color: #c88da3;
  border-top: 1px solid #fce4ec;
  margin-top: 20px;
}