/* 全局重置：严格匹配截图视觉基准 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "微软雅黑", "Microsoft YaHei", sans-serif;
}
body {
  background: #ffffff;
  display: flex;
  margin: 0;
  padding: 0;
}

/* ========== 右侧主内容区：100%宽度适配 ========== */
.main-content {
  flex: 1;
  margin-left: 170px;
  padding: 20px 340px;
}
/* 顶部右侧：订购会员+头像 */
.top-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.subscribe-btn {
  background: #ff9500;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  line-height: 1;
}
.avatar-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
}

/* ========== 文化社群标题+子标签 ========== */
.community-header {
  margin-bottom: 20px;
}
.community-title {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 30px;
}
/* 子标签栏 */
.sub-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
}
.tab-list {
  display: flex;
  gap: 50px;
}
.tab-item {
  font-size: 16px;
  color: #2c2d30;
  cursor: pointer;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}
.tab-item.active {
  color: #1c3a60;
  border-bottom: 2px solid #1c3a60;
  font-weight: 500;
}
.publish-btn {
  background: #1c3a60;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  padding: 6px 18px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.publish-btn i {
  font-size: 10px;
}

/* ========== 内容卡片区域 ========== */
.content-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}
/* 单张卡片样式 */
.content-card {
  background: #f8fafb;
  border-radius: 8px;
  padding: 16px 10px;
}
/* 卡片头部：头像+昵称+时间 */
.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #d1d5db;
}
.user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.user-name {
  font-size: 14px;
  font-weight: 500;
  color: #1f2937;
}
.publish-time {
  font-size: 12px;
  color: #9ca3af;
}
/* 卡片标题 */
.card-title {
  font-size: 16px;
  color: #1f2937;
  margin-bottom: 12px;
  line-height: 1.5;
}
/* 多图布局（第一张卡片） */
.card-imgs-multi {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.card-img-item {
  flex: 1;
  /*height: 180px;*/
  border-radius: 4px;
  /*background: #e5e7eb;*/
  overflow: hidden;
}
.card-img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 2px;
}

.content-box {
  padding-left: 50px;
}
/* 单图布局（第二张卡片） */
.card-img-single {
  width: 100%;
  height: 200px;
  border-radius: 4px;
  background: #e5e7eb;
  overflow: hidden;
  margin-bottom: 12px;
}
.card-img-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 卡片底部：互动按钮 */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 60px;
  font-size: 12px;
  color: #6b7280;
  float: left;
}
.interact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.interact-item i {
  font-size: 14px;
}


/* 图标库 */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");
