/*
Theme Name: 快隆惠递 V2
Theme URI: https://www.kuailon.cn/
Author: Kuailon
Description: 快隆惠递改版纯 HTML 转 WordPress 主题。前台展示改版设计，后台继续发文章；首页资讯推荐取最新 3 篇，资讯中心支持分类筛选与搜索。
Version: 1.0.7
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: kuailon-v2
*/

/* 主题声明文件；主样式见 assets/style.css */

/* WP 分页链接适配改版 .pagination 样式 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 46px;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line, #e8e0da);
  background: #fff;
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--ink-2, #666);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  text-decoration: none;
  box-sizing: border-box;
}
.pagination a:hover {
  border-color: var(--red, #a32a26);
  color: var(--red, #a32a26);
}
.pagination .current,
.pagination span.current {
  background: var(--red, #a32a26);
  border-color: var(--red, #a32a26);
  color: #fff;
  font-weight: 600;
}
.pagination .dots {
  border: none;
  background: transparent;
}

/* 无缩略图占位 */
.nc-thumb.nc-placeholder {
  background: linear-gradient(135deg, #7e1417, #a32a26);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c8a15a;
  font-size: 28px;
}
.news-card .nc-thumb > a {
  display: block;
  width: 100%;
  height: 100%;
}
.news-card .nc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
