body{
    background: white;
}
/* Single post section divider - use hr instead of pseudo-element */
hr.section-divider { border: 0; border-bottom: 1px dashed #BA6089; max-width: 1200px; width: 100%; margin: 60px auto 0; display: block; }
/* Single Post Layout */
.single-layout { display: grid; grid-template-columns: 60% 35%; gap: 44px; align-items: start; margin-top: 40px; }
.single-main { background: #ffffff; border-radius: 16px;  padding: 0; }
/* sidebar styles moved to global style.css */

/* Post */
.post-header { margin-bottom: 14px; }
.post-title { margin: 0 0 10px; font-size: 36px; color: #BA6089; }
.post-meta { display: grid; gap: 10px; color: #BA6089; font-weight: 600; font-size: 18px; }
.post-cat { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; border: 1px solid #BA6089; color: #BA6089; text-decoration: none; font-weight: 600; font-size: 12px; }
.post-cat + .post-cat { margin-left: 6px; }
.post-date { display: block; color: #36547F; }

.post-hero { margin: 12px 0 16px; border-radius: 12px; overflow: hidden; }
.post-hero img { width: 100%; height: auto; display: block; }

.post-content { color: #36547F; line-height: 1.8; font-size: 16px; }
.post-content p { margin: 0 0 40px; }
.post-content img { max-width: 100%; height: auto; border-radius: 8px; }
/* 防止移动端内容溢出 */
.post-content { overflow-wrap: anywhere; word-break: break-word; }
.post-content table { width: 100%; display: block; overflow-x: auto; border-collapse: collapse; }
.post-content pre,
.post-content code,
.post-content kbd,
.post-content samp { white-space: pre-wrap; word-wrap: break-word; }
.post-content iframe,
.post-content video,
.post-content embed { max-width: 100%; height: auto; display: block; }
.post-content figure { max-width: 100%; }
.post-content .alignwide,
.post-content .alignfull { width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }

.post-footer { margin-top: 16px; }
.post-nav { display: flex; justify-content: space-between; gap: 10px; }
.post-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; background: #BA6089; color: #fff; border-radius: 16px; text-decoration: none; font-weight: 700; font-size: 12px; }
.post-nav a:hover { background: #9a4f73; }

/* sidebar card and toc styles moved to global style.css */

/* Responsive */
@media (max-width: 1024px) {
  .single-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .single-layout{
    margin-top: 20px;
  }
  .post-title{
    font-size: 24px;
  }
  /* 移动端对齐图片避免溢出 */
  .post-content .alignleft,
  .post-content .alignright { float: none; margin: 0 0 1em 0; display: block; }
  .single-main { padding: 0; }
}


