/* ===== 全面CSS Reset with Flexbox优化 ===== */
/* 重置所有元素的边距、内边距和盒模型 */
*,
*::before,
*::after {
  box-sizing: border-box;
  /* 统一盒模型 */
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, Poppins, -apple-system, BlinkMacSystemPont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, system-ui;

}

/* 根元素设置 */
html {
  line-height: 1.15;
  /* 默认行高 */
  -webkit-text-size-adjust: 100%;
  /* 禁止iOS字体缩放 */
  -webkit-tap-highlight-color: transparent;
  /* 移除移动端点击高亮 */
}

a {
  text-decoration: none;
  /* 去除下划线 */
  color: inherit;
  /* 继承父元素颜色 */
  cursor: pointer;
  /* 鼠标指针样式 */
}

/* 清除列表样式 */
ul,
ol,
menu {
  list-style: none;
}

/* 链接重置 */
.ast-single-post .entry-content a,
.ast-comment-content a:not(.ast-comment-edit-reply-wrap a) {
  text-decoration: none;
  color: inherit;
}

/* 按钮重置 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer;
  -webkit-appearance: button;
}

/* 图片和嵌入对象 */
img,
embed,
object,
iframe,
video {
  max-width: 100%;
  /* 响应式限制 */
  height: auto;
  /* 保持比例 */
  display: block;
  /* 消除底部间隙 */
  border-style: none;
  /* 移除边框 */
}

/* 表格重置 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 代码元素 */
pre,
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}