/* kulou 共用片段样式（面包屑/分页/上下篇/相关/回顶）——供真移植的 WP 主题引用，主题侧可用 --tpl-* 变量覆盖 */
.tpl-breadcrumb { font-size: 13px; margin: 0 0 1.2em; color: var(--tpl-muted, #6b7280); }
.tpl-breadcrumb__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.tpl-breadcrumb__item:not(:last-child)::after { content: "›"; margin-left: 8px; }
.tpl-pager { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 2em 0; font-size: 14px; clear: both; }
.tpl-pager__btn, .tpl-pager__num { display: inline-block; min-width: 2.2em; padding: .35em .7em; text-align: center; border: 1px solid var(--tpl-line, #d1d5db); border-radius: 3px; color: inherit; text-decoration: none; }
.tpl-pager__num.is-current { background: var(--tpl-accent, #2563eb); border-color: var(--tpl-accent, #2563eb); color: #fff; }
.tpl-pager__gap, .tpl-pager__info { color: var(--tpl-muted, #6b7280); }
.tpl-pager__info { margin-left: auto; }
.tpl-postnav { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; margin: 2em 0; padding: 1em 0; border-top: 1px solid var(--tpl-line, #e5e7eb); border-bottom: 1px solid var(--tpl-line, #e5e7eb); clear: both; }
.tpl-postnav__item { flex: 1 1 240px; min-width: 0; }
.tpl-postnav__item--next { text-align: right; }
.tpl-postnav__label { display: block; font-size: 12px; color: var(--tpl-muted, #6b7280); }
.tpl-postnav__none { color: var(--tpl-muted, #6b7280); }
.tpl-related { margin: 2em 0; clear: both; }
.tpl-related__title { font-size: 1.2em; margin: 0 0 .8em; }
.tpl-related__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.tpl-related__item a { display: block; color: inherit; text-decoration: none; }
.tpl-related__item img { display: block; width: 100%; height: auto; margin-bottom: 6px; }
.tpl-related__name { display: block; font-weight: 600; line-height: 1.4; }
.tpl-related__item time { font-size: 12px; color: var(--tpl-muted, #6b7280); }
.tpl-totop { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 40px; height: 40px; line-height: 40px; text-align: center; border-radius: 50%; background: var(--tpl-accent, #2563eb); color: #fff; text-decoration: none; opacity: 0; pointer-events: none; transition: opacity .2s; }
.tpl-totop.is-visible { opacity: .9; pointer-events: auto; }
.kulou-article-cover img, .kulou-article-body img { max-width: 100%; height: auto; }
