/* 图片自适应 */
.post__content img,
.post__thumbnail img,
.entry__thumbnail img,
.thumbnail__image,
figure img,
img {
  max-width: 100%;
  height: auto;
}

/* 中文阅读优化 */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

.logo__title,
.post__title,
.list__title {
  letter-spacing: .01em;
}

/* 顶部大横幅：直接打在 header 上，避免被主题内部结构吞掉 */
.header {
  background-color: #111 !important;
  background-image: linear-gradient(rgba(0,0,0,.38), rgba(0,0,0,.62)), url('/img/header-bg.jpg') !important;
  background-size: cover !important;
  background-position: center 32% !important;
  background-repeat: no-repeat !important;
}

.header .container {
  padding-top: 1rem;
}

.logo {
  margin: 0 0 1rem;
  padding: 3.4rem 2rem;
  border-radius: 10px;
  overflow: hidden;
  background: transparent !important;
}

.logo__link,
.logo__title,
.logo__tagline,
.menu__link,
.menu__btn,
.menu__btn-title {
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

.menu {
  background: transparent !important;
  border-top: 0 !important;
}

.logo__title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
}

.logo__tagline {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  opacity: .95;
}

/* 分类前缀 */
.post__category-prefix {
  color: #b30000 !important;
  margin-right: .35rem;
  text-decoration: none;
  font-weight: 800;
}
.post__category-prefix:hover {
  text-decoration: underline;
}

/* 缩略图区域 */
.post__thumbnail,
.entry__thumbnail,
.list__thumbnail {
  background: #f5f5f5;
}
