/* ==========================================================================
   Hibachi W – Blog List Page (blog-page.css)
   仅用于 blog.html?page=xxx
========================================================================== */
.blog-page .th-blog-wrapper {
  background-color: #f5f5f7;
}

/* 左列底部留白 */
.blog-page .th-blog-wrapper .col-xxl-8.col-lg-7 {
  margin-bottom: 60px;
}

.blog-page .blog-h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: #111;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.blog-page .blog-intro {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.65;
  color: #555;
}

/* hero 和列表之间的间距 */
.blog-page .blog-hero + .th-blog-wrapper {
  margin-top: 18px;
}

/* ===================== 博客列表卡片 ===================== */

/* 你的单条文章容器：<div class="th-blog blog-single ..."> */
.blog-page .th-blog.blog-single {
  position: relative;
  margin-bottom: 22px;
  padding: 26px 28px;              /* ✅ 基准 padding（对齐用） */
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 10px 30px rgba(1, 15, 28, 0.08);
}

.blog-page .th-blog.blog-single .blog-content {
  margin: 0;
}

/* meta */
.blog-page .blog-meta {
  margin: -0.3em 0 12px;
}

.blog-page .blog-meta span {
  display: inline-block;
  margin-right: 16px;
  padding-right: 20px;
  font-size: 15px;
  font-weight: 500;
  color: #9ca3af;
  position: relative;
}

.blog-page .blog-meta span:after {
  content: '';
  width: 1px;
  height: 16px;
  background-color: #d1d5db;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.blog-page .blog-meta span:last-child {
  margin-right: 0;
  padding-right: 0;
}

.blog-page .blog-meta span:last-child:after {
  display: none;
}

.blog-page .blog-meta i {
  margin-right: 6px;
  color: #ff4f00;
  font-size: 13px;
}

/* 标题：让 H2 和 a 字号一致（修复你原先 24 vs 20 的冲突） */
.blog-page .blog-title {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 600;
  color: #111827;
  max-width: 720px;
}

.blog-page .blog-title a {
  color: inherit;
  text-decoration: none;
}

.blog-page .blog-title a:hover {
  color: #ff4f00;
}

.blog-page .blog-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;

  margin-bottom: 18px;
  color: #374151;
  font-size: 14px;
  line-height: 1.6;
  max-width: 720px;
}

.blog-page .blog-single .hw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    padding: 10px 20px;
    border-radius: 999px;
    margin: 0 auto;
}
/* =====================
   Sidebar（右侧）
===================== */
.blog-page .sidebar-area {
  padding-top: 0;
}

.blog-page .widget {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 22px 22px 20px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(1, 15, 28, 0.06);
}

.blog-page .widget:last-child {
  margin-bottom: 0;
}

/* 搜索 */
.blog-page .widget_search .search-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.blog-page .widget_search input[type="text"] {
  flex: 1;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  font-size: 14px;
}

.blog-page .widget_search button {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background-color: #ff4f00;
  color: #fff;
}

/* 分类 */
.blog-page .widget_categories .widget_title {
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 600;
}

.blog-page .widget_categories a {
  display: block;
  font-size: 14px;
  color: #4b5563;
  text-decoration: none;
}

.blog-page .widget_categories a:hover {
  color: #ff4f00;
}

/* 作者卡片 */
.blog-page .author-widget-wrap {
  text-align: center;
}

.blog-page .author-widget-wrap .avater {
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
}

.blog-page .author-widget-wrap .avater img {
  max-width: 150px;
  border-radius: 999px;
}

.blog-page .author-widget-wrap .name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.blog-page .author-widget-wrap .author-bio {
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 14px;
}

.blog-page .author-social a {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: 0 4px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  text-align: center;
  line-height: 30px;
  font-size: 13px;
  color: #4b5563;
}

.blog-page .author-social a:hover {
  background-color: #ff4f00;
  border-color: #ff4f00;
  color: #fff;
}

/* =====================
   Blog Pagination – Final Style（保留这一套即可）
===================== */

.blog-page .th-pagination {
  margin-top: 10px;
  text-align: center;
}

.blog-page .th-pagination ul {
  list-style: none;
  padding-left: 0;
  margin: 40px 0 0;
}

.blog-page .th-pagination li {
  display: inline-block;
  margin: 0 6px;
}

.blog-page .th-pagination li a,
.blog-page .th-pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 40px;
  height: 40px;
  padding: 0 12px;

  font-size: 15px;
  font-weight: 500;

  border-radius: 8px;
  background-color: #e5e7eb;
  color: #111827;

  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-page .th-pagination li a:hover {
  background-color: #ff4f00;
  color: #ffffff;
}

.blog-page .th-pagination li span,
.blog-page .th-pagination a.active {
  background-color: #ff4f00;
  color: #ffffff;
}
/* ===================== 响应式 ===================== */
@media (max-width: 767px) {
  .blog-page .th-blog.blog-single {
    padding: 22px 18px;
  }

  .blog-page .blog-title {
    font-size: 20px;
  }
}
.blog-page .blog-hero {
  padding: 36px 20px 24px; /* 原来 64px 20px 36px */
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}
/* ===========================
   Blog List Page — Author Widget
   作用域：body.blog-page（如果你 body class 不叫这个，把 blog-page 改成你实际的）
=========================== */

.blog-page .widget-author .author-widget-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.blog-page .widget-author .avater{
  width:100%;
  display:flex;
  justify-content:center;
  margin-bottom:14px;
}

.blog-page .widget-author .avater img{
  max-width:140px;
  border-radius:999px;
}

.blog-page .widget-author .name{
  font-size:18px;
  font-weight:600;
  margin: 0 0 8px;
}

.blog-page .widget-author .author-bio{
  font-size:14px;
  line-height:1.6;
  color:#4b5563;
  margin: 0 auto 14px;
  max-width: 280px;
}

.blog-page .widget-author .author-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin: 6px 0 14px;
}

.blog-page .widget-author .author-actions .author-link{
  font-size:13px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid #d1d5db;
  text-decoration:none;
  color:#374151;
}

.blog-page .widget-author .author-actions .author-link:hover{
  border-color:#ff4f00;
  color:#ff4f00;
}

.blog-page .widget-author .share-links-inline{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top: 2px;
}

.blog-page .widget-author .share-links-inline a{
  width:32px;
  height:32px;
  border-radius:999px;
  border:1px solid #d1d5db;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#4b5563;
  text-decoration:none;
}

.blog-page .widget-author .share-links-inline a:hover{
  background:#ff4f00;
  border-color:#ff4f00;
  color:#fff;
}
