/* 首页 SEO H1：保留在 DOM 供搜索引擎识别，视觉上隐藏（不用 display:none，
   部分搜索引擎会忽略 display:none 内容；用绝对定位移出视口更稳妥）。 */
.seo-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
 * 阅读进度条（页面顶部）
 * ============================================================ */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #ff9a8b, #ff8676);
  z-index: 9999;
  transition: width 0.1s ease-out;
}
/* 回到顶部按钮 */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9a8b, #ff8676);
  color: #fff;
  font-size: 20px;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255,134,118,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 999;
}
/* 旧站 main.js 会动态创建 .rollbar 回顶按钮，与新版 .back-to-top 重复——隐藏旧的 */
.rollbar { display: none !important; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { filter: brightness(1.08); }
@media (max-width: 600px) {
  .back-to-top { right: 16px; bottom: 20px; width: 40px; height: 40px; line-height: 40px; font-size: 18px; }
}
/* 输入框获得焦点时留出空间，避免被虚拟键盘/固定头部遮挡 */
#search-input, .search-box input { scroll-margin-top: 90px; }

/* Google AdSense 预置位（默认关闭，不输出 HTML 时这些样式无害） */
.ad-slot { margin: 16px 0; text-align: center; overflow: hidden; }
.ad-slot ins { display: block; min-height: 90px; }
.ad-sidebar ins { min-height: 250px; }

/* ============================================================
 * 上一篇 / 下一篇：紧跟正文的时尚双卡片
 * 覆盖旧站 style.css 的 12px 灰字 + float 两列（过于朴素）。
 * ============================================================ */
.article-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 22px;
  clear: both;
  overflow: visible;
}
/* 抵消旧站 float / width / text-align / 手机端 margin-top */
.article-nav .article-nav-prev,
.article-nav .article-nav-next {
  float: none;
  width: auto;
  margin: 0;
  text-align: left;
}
.article-nav .article-nav-next { text-align: right; }
.article-nav-item {
  display: block;
  min-height: 76px;
  padding: 14px 18px;
  border: 1px solid #f0e4e1;
  border-radius: 10px;
  background: linear-gradient(135deg, #fffdfc 0%, #fff7f5 100%);
  color: #444;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.article-nav-item:hover {
  border-color: #ff8676;
  box-shadow: 0 6px 18px rgba(255, 134, 118, 0.16);
  transform: translateY(-2px);
}
.article-nav-hint {
  display: block;
  margin-bottom: 7px;
  color: #ff8676;
  font-size: 12px;
  font-weight: 600;
}
.article-nav-prev .article-nav-hint::before { content: "\2190  "; }
.article-nav-next .article-nav-hint::after { content: "  \2192"; }
.article-nav-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  color: #444;
  font-size: 14px;
}
.article-nav-item:hover .article-nav-title { color: #ff6e5c; }
@media (max-width: 600px) {
  .article-nav { gap: 10px; margin: 20px 0 18px; }
  .article-nav-item { padding: 12px; min-height: 68px; }
  .article-nav-title { font-size: 13px; }
}

/* 面包屑导航（与 JSON-LD BreadcrumbList 对应） */
.breadcrumb {
  margin: 0 0 16px;
  padding: 10px 14px;
  background: #fafafa;
  border-radius: 6px;
  font-size: 13px;
  color: #999;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.breadcrumb a { color: #888; text-decoration: none; }
.breadcrumb a:hover { color: #ff8676; }
.crumb-sep { margin: 0 8px; color: #ccc; }
.crumb-current { color: #ff8676; }

/* 正文内链：相关话题（主题集群） */
.related-topics {
  margin: 28px 0 20px;
  padding: 20px 22px;
  background: linear-gradient(135deg, #fffaf9 0%, #fff5f3 100%);
  border: 1px solid #ffe8e3;
  border-radius: 12px;
}
.related-topics h3 {
  margin: 0 0 14px;
  font-size: 15px;
  color: #666;
  font-weight: 600;
}
.related-topics-links { display: flex; flex-wrap: wrap; gap: 9px; }
.topic-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border: 1px solid #ffd9d2;
  border-radius: 999px;
  background: #fff;
  color: #ff8676;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s;
}
.topic-link:hover { background: #ff8676; color: #fff; transform: translateY(-1px); }
.topic-icon { opacity: 0.7; }
.topic-cat { background: #ff8676; color: #fff; border-color: #ff8676; }
.topic-cat:hover { background: #ff6e5c; }

/* 文章分享栏 */
.article-share {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  padding: 14px 0;
  border-top: 1px dashed #eee;
  border-bottom: 1px dashed #eee;
}
.share-label { color: #999; font-size: 13px; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: 1px solid #ffd9d2;
  border-radius: 999px;
  background: #fff9f8;
  color: #ff8676;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.share-btn:hover { background: #ff8676; color: #fff; border-color: #ff8676; }
.share-btn.copied { background: #7BD172; border-color: #7BD172; color: #fff; }
.share-icon { font-size: 15px; }

/* 标题层级：让 h2/h3 更有层次，避免页面"平" */
.article-content h2, .tags-intro h2 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 1.6em 0 0.8em;
  padding-left: 12px;
  border-left: 4px solid #ff8676;
  line-height: 1.4;
}
.article-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: #444;
  margin: 1.4em 0 0.7em;
}
.excerpt h2 { font-size: 16px; line-height: 1.55; }
.excerpt footer .excerpt-cat {
  margin-left: 10px;
  color: #ff8676;
  font-size: 12px;
}

/* ============================================================
 * 增强样式（在原始 style.css / theme-2.css 之后加载）
 *
 * 图片加载策略（零 CLS + 占位 + 懒加载）：
 *  - img.html / render-image.html 输出真实 width/height，
 *    浏览器按真实比例预留空间 —— 图片加载前后布局不跳动。
 *  - 懒加载图片 src 先指向 qkwloading.gif 占位图，data-src 存真实地址，
 *    img-loader.js 在进入视口时切换并加 .img-loaded 淡入。
 *  - 首屏封面走 eager，直接加载真实图。
 * ============================================================ */

/* ---------- 图片基础：自适应 + 防溢出 ---------- */
.article-content img,
article img,
.excerpt img {
  max-width: 100%;
}

/* ---------- img-box：按比例锁定容器，图片绝对定位填充（零 CLS 核心）----------
   aspect-ratio 由 img.html 内联（真实宽高比），容器在图片加载前就占好位；
   占位图和真实图都 object-fit:cover 填充同一容器，加载前后尺寸完全不变。 */
.img-box {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f7f7f7;
}
.img-box .img-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- 懒加载占位与淡入 ---------- */
img.img-lazy {
  opacity: 0.85;
  transition: opacity 0.45s ease, filter 0.45s ease;
}
img.img-loaded { opacity: 1; filter: none; }
img.img-error { opacity: 0.6; filter: grayscale(0.5); }

/* ============================================================
 * 文章页侧栏：粘性跟随，长文阅读时右侧不空旷
 * 旧站用 float + 负 margin 做两栏，float 元素上 sticky 不生效，
 * 故在桌面端改写为 flex 两栏，让侧栏成为可 sticky 的 flex 子项。
 * 侧栏内容高于视口 -> 限制为视口高度 + 内部滚动，始终停留右侧。
 * ============================================================ */
@media (min-width: 1025px) {
  /* 侧栏 <aside> 与正文 .content-wrap 是 section.container 的兄弟节点
     （旧站用 float + 负 margin 排版），故对 section.container 设 flex 两栏。 */
  .single-post section.container,
  .page-template-default section.container {
    display: flex;
    align-items: flex-start;
    gap: 30px;
  }
  .single-post .content-wrap,
  .page-template-default .content-wrap {
    float: none;
    flex: 1 1 auto;
    min-width: 0;
  }
  .single-post .content,
  .page-template-default .content {
    margin-right: 0;                    /* 覆盖旧站 margin-right:390px */
  }
  .sidebar {
    float: none;
    margin: 0;
    flex: 0 0 330px;
    width: 330px;
    position: sticky;
    top: 78px;                          /* 顶栏高度 + 小间距，尽量多露出内容 */
    /* 侧栏总高压缩到 < 视口-78，sticky 时三模块一屏全可见，无需内部滚动 */
  }
  /* 压缩侧栏模块内边距，让全部内容在 900px 视口内完整显示 */
  .sidebar .widget { padding: 12px 15px; margin-bottom: 12px; }
  .sidebar .widget h3 { margin: 0 0 10px; font-size: 15px; }
  .sidebar .widget_recent_entries li { padding: 6px 0; line-height: 1.4; }
}

/* ---------- 相关文章：grid 自适应布局（替代旧站 float，奇数不空位）---------- */
.postitems ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);   /* 桌面 4 列 */
  gap: 14px 15px;
  margin-right: 0;
  overflow: visible;
}
.postitems ul::after { display: none; }
.postitems li {
  width: auto;          /* 覆盖旧站 calc(25% - 18px) + float */
  float: none;
  margin: 0;
}
.postitems li .thumbnail { margin-bottom: 5px; }
@media (max-width: 768px) {
  .postitems ul { grid-template-columns: repeat(2, 1fr); }  /* 手机 2 列 */
}

/* ---------- 卡片缩略图外框：保持旧站视觉高度 ---------- */
.excerpt .thumbnail,
.postitems .thumbnail {
  display: block;
  overflow: hidden;
}

/* ---------- 封面图：撑满内容区，按比例 ---------- */
.article-cover .img-box { width: 100%; }

/* ---------- 正文图片：居中 + 响应式 ----------
   Markdown 结构：<p><span class="content-img-wrap"><img></span></p>
   用 display:block + margin:auto 让图片容器在正文栏内水平居中。 */
.article-content p:has(.content-img-wrap) { text-align: center; } /* 现代浏览器 */
.content-img-wrap {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 1.5em auto;
  text-align: center;
}
.content-img-wrap .content-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ---------- 导航社交图标：补齐商城背景色 ----------
   旧 style.css 定义了 .account-weixin(绿)/.account-weibo(红)/.account-qq(蓝) 等，
   但 .account-shop 是 Hugo 迁移时新增的 class，没有背景色 → 白色 ¥ 图标在白底上看不见。
   这里用站点主色橙红渐变，与时尚主题一致，也和微博的粉色区分开。 */
.accounts .account-shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ff8676;
  background-image: linear-gradient(135deg, #ff9a8b 0%, #ff8676 100%);
}
.accounts .account-shop:hover { filter: brightness(1.06); }
.accounts .account-shop-icon {
  width: 18px;
  height: 18px;
  color: #fff;
  display: block;
}

/* ---------- APP 客户端图标（内联 SVG 手机，替代原微博图标）----------
   与商城同款橙红渐变（站点主色），SVG 描边白色，垂直居中于 32px 方块。 */
.accounts .account-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ff8676;
  background-image: linear-gradient(135deg, #ff9a8b 0%, #ff8676 100%);
}
.accounts .account-app:hover { filter: brightness(1.06); }
.accounts .account-app-icon {
  width: 18px;
  height: 18px;
  color: #fff;
  display: block;
}

/* ---------- 微信二维码 ----------
   布局完全沿用旧 style.css：.article-wechatitem img 浮动到左侧留白区（80x80）。
   只补一点视觉：白底 + 轻边框，让二维码在卡片里更清晰。 */
.article-wechatitem {
  max-width: 320px;
  width: auto;
}
.article-wechatitem img {
  background: #fff;
}

/* ---------- 阅读体验 ---------- */
.article-content {
  font-size: 16px;
  line-height: 1.9;
  word-wrap: break-word;
}
.article-content p { margin: 0 0 1.2em; }

.article-tags sup {
  color: #ff8676;
  font-size: 10px;
  margin-left: 2px;
}

/* ---------- 页脚手机端：紧凑居中，避免版权文字挤断 ---------- */
@media (max-width: 600px) {
  .footer { padding: 24px 16px; text-align: center; }
  .footer .flinks ul { justify-content: center; flex-wrap: wrap; line-height: 2; }
  .footer p { font-size: 12px; line-height: 1.8; }
  .footer p a { white-space: nowrap; }
}

/* ---------- 无障碍：尊重减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  img.img-lazy { opacity: 1; }
}

/* ---------- 移动端 ---------- */
@media (max-width: 768px) {
  .article-content { font-size: 15px; }
  .sitenav ul { flex-wrap: wrap; }
  .searchform .sinput { width: 100%; }
  .content-img-wrap, .content-img-wrap .content-img { width: 100%; }

  /* 文章页侧栏：手机端隐藏与导航重复的模块，只保留"相关推荐"，
     并压缩间距，避免长文章后再拖 1000px 的无用内容。 */
  .sidebar .widget_tag_cloud,
  .sidebar .widget_categories { display: none; }
  .sidebar { margin-top: 8px; }
  .sidebar .widget_recent_entries { padding: 16px; border: 1px solid #f0f0f0; border-radius: 8px; }
  .sidebar .widget_recent_entries h3 {
    margin: 0 0 12px;
    font-size: 16px;
    padding-left: 10px;
    border-left: 3px solid #ff8676;
  }
  .sidebar .widget_recent_entries li {
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
    line-height: 1.5;
  }
  .sidebar .widget_recent_entries li:last-child { border-bottom: 0; }
  .sidebar .post-date { display: block; margin-top: 2px; }
}

/* ============================================================
 * 热门话题页（标签云）：彩色药丸标签，按热度分级
 * ============================================================ */
.tags-page { padding-top: 28px; }
.tags-intro { margin-bottom: 24px; }
.tags-intro h2 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #333;
  padding-left: 12px;
  border-left: 4px solid #ff8676;
}
.tags-intro p { margin: 0; color: #999; font-size: 13px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1px solid #f0d9d4;
  border-radius: 999px;
  background: #fff9f8;
  color: #ff8676;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(255,134,118,0.06);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.tag-chip:hover {
  transform: translateY(-2px);
  background: #ff8676;
  color: #fff;
  box-shadow: 0 6px 18px rgba(255,134,118,0.28);
}
.tag-chip-count {
  display: inline-block;
  min-width: 20px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255,134,118,0.12);
  color: #ff8676;
  font-size: 11px;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
.tag-chip:hover .tag-chip-count { background: rgba(255,255,255,0.25); color: #fff; }
/* 热门标签（文章数 > 3）：实心渐变，更大更醒目 */
.tag-chip-hot {
  background: linear-gradient(135deg, #ff9a8b 0%, #ff8676 100%);
  border-color: transparent;
  color: #fff;
  font-size: 15px;
  padding: 11px 20px;
  box-shadow: 0 4px 14px rgba(255,134,118,0.22);
}
.tag-chip-hot .tag-chip-count { background: rgba(255,255,255,0.22); color: #fff; }
.tag-chip-hot:hover { background: linear-gradient(135deg, #ff8676 0%, #ff6e5c 100%); }
@media (max-width: 600px) {
  .tag-cloud { gap: 9px; }
  .tag-chip { padding: 8px 13px; font-size: 13px; }
  .tag-chip-hot { padding: 9px 16px; font-size: 14px; }
}

/* ============================================================
 * 顶部导航栏搜索框：从旧站方框改造为时尚胶囊（与页面主体搜索框统一）
 * 旧站 .sinput 180x32 灰边框方角 + .sbtn 小方块，视觉简陋。
 * ============================================================ */
@media (min-width: 769px) {
  .searchform { margin-top: 19px; }              /* 与 logo/社交图标垂直居中 */
  .searchform form {
    display: flex;
    align-items: center;
    border: 1px solid #ececec;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .searchform form:focus-within {
    border-color: #ff8676;
    box-shadow: 0 2px 10px rgba(255, 134, 118, 0.18);
  }
  .searchform .sinput {
    float: none;
    order: 1;                            /* 旧站 DOM 里 button 在前，用 order 让输入框回到左侧 */
    width: 150px;
    height: 34px;
    padding: 0 6px 0 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 13px;
  }
  .searchform .sbtn {
    float: none;
    order: 2;                            /* 按钮在右侧 */
    height: 34px;
    padding: 0 13px;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(135deg, #ff9a8b 0%, #ff8676 100%);
    opacity: 1;
    font-size: 13px;
    transition: filter 0.2s;
  }
  .searchform .sbtn:hover { filter: brightness(1.06); opacity: 1; }
  /* 社交图标与搜索框之间留出呼吸空间 */
  .accounts { margin-left: 18px; }
}

/* ---------- 搜索页主体：时尚主题搜索框 ---------- */
.search-box {
  display: flex;
  align-items: center;
  max-width: 720px;
  margin: 28px auto 32px;
  border: 1.5px solid #e8e8e8;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  transition: border-color 0.25s, box-shadow 0.25s;
  overflow: hidden;
}
.search-box:focus-within {
  border-color: #ff8676;
  box-shadow: 0 6px 24px rgba(255, 134, 118, 0.22);
}
.search-box-icon {
  flex: 0 0 auto;
  padding-left: 22px;
  color: #bbb;
  line-height: 1;
}
.search-box input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 15px 16px;
  font-size: 15px;
  color: #333;
  background: transparent;
  font-family: inherit;
}
.search-box input[type="search"]::placeholder { color: #bbb; }
.search-box input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
.search-box-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  padding: 0 26px;
  height: 52px;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  background: linear-gradient(135deg, #ff9a8b 0%, #ff8676 100%);
  transition: filter 0.2s, transform 0.2s;
}
.search-box-btn:hover { filter: brightness(1.05); }
.search-box-btn:active { transform: scale(0.97); }

@media (max-width: 600px) {
  .search-box { margin: 20px 12px 24px; }
  .search-box-icon { padding-left: 14px; }
  .search-box input[type="search"] { padding: 12px 10px; font-size: 14px; }
  .search-box-btn { padding: 0 16px; height: 46px; }
  .search-box-btn span { display: none; }
}

/* ---------- 搜索结果：独立横向列表（不复用旧站多列 .excerpt-c4）---------- */
.search-count { color: #666; font-size: 14px; margin: 0 0 16px; }
.search-count strong { color: #ff8676; font-size: 16px; }

/* ---------- 搜索结果分页 ---------- */
.search-pagination { margin: 32px 0; text-align: center; }
.search-pagination ul {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.search-pagination a {
  display: inline-block;
  min-width: 38px;
  padding: 8px 12px;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  color: #555;
  font-size: 14px;
  text-decoration: none;
  background: #fff;
  transition: all 0.2s;
}
.search-pagination a:hover { border-color: #ff8676; color: #ff8676; }
.search-pagination a.current {
  border-color: #ff8676;
  color: #fff;
  background: linear-gradient(135deg, #ff9a8b 0%, #ff8676 100%);
}
.search-pagination a.disabled { color: #ccc; pointer-events: none; background: #fafafa; }
.search-empty { color: #999; padding: 20px 0; }
#search-results .search-hit {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #eee;
}
#search-results .search-hit:last-child { border-bottom: 0; }
#search-results .search-hit-thumb {
  flex: 0 0 160px;
  width: 160px;
  height: 110px;
  overflow: hidden;
  border-radius: 4px;
  background: #f7f7f7;
}
#search-results .search-hit-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#search-results .search-hit-body { flex: 1; min-width: 0; }
#search-results .search-hit-title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
}
#search-results .search-hit-title a { color: #333; text-decoration: none; }
#search-results .search-hit-title a:hover { color: #ff8676; }
#search-results .search-hit-summary {
  margin: 0 0 8px;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#search-results .search-hit-meta { color: #999; font-size: 12px; }
#search-results .search-hit-tags { margin-left: 12px; }

/* 手机端搜索结果：改成"上图下文"卡片，避免窄屏下缩略图裁人脸、标题挤成多行 */
@media (max-width: 600px) {
  #search-results .search-hit {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
  }
  #search-results .search-hit-thumb {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin-bottom: 12px;
    border-radius: 6px;
  }
  #search-results .search-hit-thumb img { object-fit: cover; }
  #search-results .search-hit-title {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 6px;
  }
  #search-results .search-hit-summary { -webkit-line-clamp: 2; font-size: 13px; }
  #search-results .search-count { font-size: 13px; }
  .search-pagination a { min-width: 34px; padding: 7px 9px; font-size: 13px; }
}
