/*
Theme Name: Astra Child-ABZ
Template: astra
Author: ABZ
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: Used to create a moment-like page.
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.12.3.1771194900
Updated: 2026-02-16 06:35:00

*/
/* ========== ABZ Moments (WeChat-like feed baseline) ========== */
.abz-moments-wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.abz-moments-header{
  margin-bottom: 24px;
}

.abz-moments-title{
  font-size: 34px;
  line-height: 1.2;
  margin: 0;
}

.abz-moments-feed{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.abz-moment-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: 18px 18px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.abz-moment-meta{
  font-size: 13px;
  opacity: .7;
  margin-bottom: 8px;
}

.abz-moment-h2{
  font-size: 22px;
  margin: 0 0 10px;
}

.abz-moment-h2 a{
  text-decoration: none;
}

.abz-moment-content{
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 10px;
}

.abz-moment-actions{
  font-size: 14px;
}

.abz-moment-link{
  text-decoration: none;
}

/* ========== ABZ Moments: force single-column & neutralize Astra archive grid ========== */
.abz-moments-feed{
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
}

/* Astra sometimes applies width/float/grid rules to articles inside archives */
.abz-moments-feed .abz-moment-card{
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
}

/* If Astra adds grid wrappers, kill them */
.abz-moments-feed::before,
.abz-moments-feed::after{
  content: none !important;
}

/* ===== ABZ Moments (Archive: moment) – scoped ===== */

/* 整个朋友圈页面给一个浅灰底，像信息流 */
body.post-type-archive-moment #content{
  background: #f6f7f9 !important;
}

/* 内容区居中 */
body.post-type-archive-moment .abz-moments-wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* 标题别那么巨大（你现在的 h2/a 太大了） */
body.post-type-archive-moment .abz-moment-h2 a,
body.post-type-archive-moment .abz-moment-h2{
  font-size: 22px !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
}

/* 如果 Astra 默认把标题变得很大，我们把 archive 里的 entry-title 压下去 */
body.post-type-archive-moment .entry-title a{
  font-size: 22px !important;
  line-height: 1.25 !important;
}

/* “阅读全文”这类链接别太抢眼 */
body.post-type-archive-moment a.more-link,
body.post-type-archive-moment .read-more a{
  font-size: 14px !important;
  opacity: .85;
}

/* 让列表条目像卡片（兼容 Astra 默认 article 结构） */
body.post-type-archive-moment article,
body.post-type-archive-moment .ast-article-post{
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: 18px 18px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
  margin-bottom: 18px;
}

/* 如果 Astra 把列表做成网格，把它强行变成单列 */
body.post-type-archive-moment .ast-row,
body.post-type-archive-moment .ast-archive-posts{
  display: block !important;
}

/* ========== ABZ Moments v2: closer to WeChat feed ========== */

/* 归档页：把主容器收窄，更像朋友圈阅读宽度 */
body.post-type-archive-moment .abz-moments-wrap{
  max-width: 720px;
}

/* 标题别太大，更像“朋友圈” */
body.post-type-archive-moment .abz-moments-title{
  font-size: 30px;
  letter-spacing: 1px;
  text-align: center;
}

/* 卡片更像朋友圈：更紧凑一点 */
body.post-type-archive-moment .abz-moment-card{
  padding: 16px 16px 14px;
  border-radius: 16px;
}

/* 日期/元信息更轻一点 */
body.post-type-archive-moment .abz-moment-meta{
  font-size: 12px;
  opacity: .55;
}

/* 列表页的标题不需要那么“文章标题感” */
body.post-type-archive-moment .abz-moment-h2{
  font-size: 18px;
  margin: 6px 0 8px;
}

/* “阅读全文”像按钮一点 */
body.post-type-archive-moment .abz-moment-link{
  display: inline-block;
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
}

/* 单篇页：详情卡片更宽一点点 */
body.single-moment .abz-moments-wrap{
  max-width: 820px;
}

/* 单篇页标题 */
body.single-moment .abz-moments-title{
  font-size: 28px;
  margin-bottom: 14px;
}

/* 单篇内容排版更舒服 */
body.single-moment .abz-moment-content{
  font-size: 16px;
  line-height: 1.85;
}

/* 让文章里的图片不要溢出卡片 */
.abz-moment-content img{
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 10px 0;
}