.posts-page{padding-bottom:24px}
.posts-search-row{margin-top:18px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.post-grid{margin-top:18px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.post-card{min-width:0;background:#fff;border:1px solid #e9edf3;border-radius:22px;overflow:hidden;box-shadow:0 10px 26px rgba(25,32,54,.05);display:flex;flex-direction:column}
.post-card-media{display:block;aspect-ratio:16/9;background:#f3f6fb;overflow:hidden}
.post-card-media img{width:100%;height:100%;object-fit:cover;display:block}
.post-card-media.is-empty{display:grid;place-items:center;color:#c23965;font-size:22px;font-weight:900;letter-spacing:.08em;background:linear-gradient(180deg,#fff6f9 0%,#fff 100%)}
.post-card-body{display:grid;gap:10px;padding:16px 16px 18px;min-width:0}
.post-card-topline{display:flex;align-items:center;justify-content:space-between;gap:10px}
.post-category-badge{display:inline-flex;align-items:center;min-height:28px;padding:0 11px;border-radius:999px;border:1px solid #ffd4de;background:#fff7fa;color:#ff5a7e;font-size:11px;font-weight:900;line-height:1.2}
.post-card-date{color:#8a93a3;font-size:12px;font-weight:800;white-space:nowrap}
.post-card-title,.post-card-title a{margin:0;color:#0f172a;font-size:20px;line-height:1.35;letter-spacing:-.03em;font-weight:900;text-decoration:none}
.post-card-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.post-card-excerpt{margin:0;color:#64748b;font-size:14px;line-height:1.72;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:5.1em}
.post-tag-row{display:flex;flex-wrap:wrap;gap:7px}
.post-tag{display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:999px;background:#f8fafc;border:1px solid #e6edf5;color:#5b677c;font-size:11px;font-weight:800;line-height:1.2}
.post-card-foot{display:flex;justify-content:flex-end}
.post-read-link{color:#ff5a7e;font-size:13px;font-weight:900;text-decoration:none}
.posts-detail-shell{max-width:980px}
.post-detail-card{overflow:hidden}
.post-detail-head{padding-bottom:20px}
.post-detail-title{margin-top:14px}
.post-detail-head .detail-meta{margin-top:10px}
.post-detail-head .post-tag-row{margin-top:16px}
.post-gallery-viewer{display:grid;gap:16px;padding:24px;background:linear-gradient(180deg,#fff 0%,#fbfcff 100%);border-top:1px solid #eef2f7;border-bottom:1px solid #eef2f7}
.post-gallery-hero{margin:0;border-radius:24px;overflow:hidden;border:1px solid #edf1f6;background:#fff;box-shadow:0 14px 34px rgba(25,32,54,.09)}
.post-gallery-hero img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.post-gallery-thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.post-gallery-thumb{padding:0;border:1px solid #e4ebf3;border-radius:18px;overflow:hidden;background:#fff;cursor:pointer;box-shadow:0 8px 20px rgba(25,32,54,.05);transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease}
.post-gallery-thumb img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.post-gallery-thumb:hover{border-color:#ffb8c9;transform:translateY(-1px)}
.post-gallery-thumb.is-active{border-color:#ff5a7e;box-shadow:0 10px 24px rgba(255,90,126,.18)}
.post-content-body{padding:28px 30px 32px;color:#334155;font-size:16px;line-height:1.92}
.post-content-body img{max-width:100%;height:auto;border-radius:18px}
.post-content-body p{margin:0 0 1.25em}
.post-content-body p.post-content-section-title{color:#0f172a;font-size:1.08em;font-weight:900;letter-spacing:-.02em}
.post-content-body h1,.post-content-body h2,.post-content-body h3,.post-content-body h4{color:#0f172a;line-height:1.35;letter-spacing:-.03em}
.post-content-body hr.post-content-divider{margin:1.5em 0;border:0;border-top:1px solid #d9e2ec}
.post-related-block{margin-top:22px}
.related-post-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.posts-pagination{margin-top:22px}
.posts-pagination .page-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  width:38px;
  height:38px;
  padding:0;
  border-radius:999px;
  border:1px solid #e3e9f2;
  background:#fff;
  color:#4b5563;
  font-size:13px;
  font-weight:900;
  line-height:1;
  text-decoration:none;
  box-shadow:none;
}
.posts-pagination .page-btn:hover{
  border-color:#ffd4de;
  color:#ff5a7e;
  background:#fff7fa;
}
.posts-pagination .page-btn.is-active{
  border-color:#ff5a7e;
  background:#ff5a7e;
  color:#fff;
  box-shadow:0 10px 20px rgba(255,90,126,.2);
}
@media (max-width:1100px){.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){
  .posts-search-row{align-items:stretch}
  .posts-search-row .search-input{width:100%;max-width:none}
  .post-grid,.related-post-grid{grid-template-columns:1fr;gap:14px}
  .post-card{border-radius:18px}
  .post-card-body{padding:14px}
  .post-card-title,.post-card-title a{font-size:18px}
  .post-card-excerpt{font-size:13px;line-height:1.68;min-height:auto}
  .post-gallery-viewer{gap:12px;padding:14px}
  .post-gallery-thumbs{grid-template-columns:1fr;gap:10px}
  .post-content-body{padding:20px 16px 24px;font-size:14px;line-height:1.8}
  .posts-pagination .page-btn{min-width:34px;width:34px;height:34px;font-size:12px}
}
