/*
Theme Name: My Static Theme with Slider
Description: Static homepage migrated to WordPress with responsive slider
Version: 1.0
Author: Your Name
*/
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }
.grid.grid-flow-row-dense.grid-cols-12.container.gap-6.md\:gap-x-4.md\:gap-y-10.max-w-\[1400px\] {
    font-size: 32px;
}
/* 全局盒模型设置，防止padding导致宽度溢出 */
* {
box-sizing: border-box;
max-width: 100%;
}
html, body {
overflow-x: hidden;
width: 100%;
}
.break-words {
    word-wrap: break-word;
    overflow-wrap: break-word;
}
#post-content p {
  margin-bottom: 1.5rem;
  font-weight: 400;
  line-height: 1.8;
}
#post-content h2 {
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
#post-content h3 {
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}
#post-content a {
  color: #2563eb;
  text-decoration: none;
}
#post-content a:hover {
  text-decoration: underline;
}
#post-content ul, #post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
#post-content li {
  margin-bottom: 0.5rem;
  font-weight: 400;
}
.custom-align {
  display: flex;
  justify-content: center; /* 移动端居中 */
}

/* 桌面端媒体查询，覆盖为左对齐 */
@media (min-width: 768px) { /* md 断点默认是 768px */
  .custom-align {
    justify-content: flex-start;
  }
}
