/* ===== 全面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; /* 移除移动端点击高亮 */
}
.scroll-hidden{
  overflow: hidden;
}
a {
  text-decoration: none; /* 去除下划线 */
  color: inherit; /* 继承父元素颜色 */
  cursor: pointer; /* 鼠标指针样式 */
}

a:hover {
  text-decoration: none; /* 去除下划线 */
  color: inherit; /* 继承父元素颜色 */
}

a:active {
  text-decoration: none; /* 去除下划线 */
  color: inherit; /* 继承父元素颜色 */
}

a:visited {
  text-decoration: none; /* 去除下划线 */
  color: inherit; /* 继承父元素颜色 */
}

/* 核心Flexbox重置 */
.flex-container{
  display: flex; /* 默认启用flex布局 */
}

/* 默认Flex容器行为 */
.flex-container {
  flex-flow: row wrap; /* 默认横向排列且换行 */
  gap: 0; /* 默认无间隙 */
  align-items: stretch; /* 默认拉伸对齐 */
  justify-content: flex-start; /* 默认左对齐 */
}

/* 清除列表样式 */
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;
}
.bloop img{
  width: 100%; /* 默认图片宽度100% */
  height: auto; /* 保持比例 */
  object-fit: cover; /* 适应容器 */
   -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -ms-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/* 图片和嵌入对象 */
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;
}
.flex{
  display: flex; /* 默认启用flex布局 */
}
/* 隐藏属性选择器 */
.hidden {
  display: none !important;
}

/* ===== Flexbox增强类 ===== */
/* 主轴方向 */
.flex-row { flex-direction: row; }
.flex-row-reverse { flex-direction: row-reverse; }
.flex-col { flex-direction: column; }
.flex-col-reverse { flex-direction: column-reverse; }

/* 主轴对齐 */
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }

/* 交叉轴对齐 */
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.items-stretch { align-items: stretch; }

/* 多行对齐 */
.content-start { align-content: flex-start; }
.content-end { align-content: flex-end; }
.content-center { align-content: center; }
.content-between { align-content: space-between; }
.content-around { align-content: space-around; }
.content-stretch { align-content: stretch; }

/* Flex项属性 */
.flex-item {
  flex: 0 1 auto; /* 默认不扩展可收缩 */
}
.flex-grow { flex-grow: 1; }
.flex-shrink { flex-shrink: 1; }
.flex-no-shrink { flex-shrink: 0; }
.flex-basis-auto { flex-basis: auto; }


.font-bold{
  font-weight: 700;
}
.font-medium{
  font-weight: 500;
}
.font-normal{
  font-weight: 400;
}
.flex-1 {
  flex: 1; /* 占满剩余空间 */
}
.relative {
  position: relative; /* 相对定位 */
}