/* Blog layout */
.gh-blog { background:#f6f8fc; min-height: 60vh; }

.gh-blog-hero{
  padding: 84px 0 26px;
  background: linear-gradient(180deg, rgba(16,32,64,.06), rgba(16,32,64,0));
}
.gh-blog-title{ margin:0; font-size:34px; letter-spacing:.5px; }
.gh-blog-subtitle{ margin:10px 0 0; opacity:.75; }

.gh-blog-search{
  margin-top:16px;
  display:flex;
  gap:10px;
  max-width:520px;
}
.gh-blog-search input{
  flex:1;
  height:44px;
  padding:0 14px;
  border:1px solid rgba(15,23,42,.14);
  border-radius:12px;
  outline:none;
  background:#fff;
}
.gh-blog-search button{
  width:44px;height:44px;
  border:0;border-radius:12px;
  background: linear-gradient(135deg,#1e5bff,#14b8ff);
  color:#fff;
  cursor:pointer;
}

.gh-blog-layout{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap: 22px;
  padding: 18px 0 56px;
}
@media (max-width: 980px){
  .gh-blog-layout{ grid-template-columns: 1fr; }
}

.gh-post-list{ display:flex; flex-direction:column; gap:16px; }

.gh-post-card{
  display:grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:16px;
  overflow:hidden;
  box-shadow: 0 6px 20px rgba(15,23,42,.06);
}
@media (max-width: 720px){
  .gh-post-card{ grid-template-columns: 1fr; }
}

.gh-post-thumb{ display:block; background:#0b1220; }
.gh-post-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.gh-post-thumb-placeholder{
  height: 180px;
  display:flex;align-items:center;justify-content:center;
  color:#fff;opacity:.8;
  background: linear-gradient(135deg,#0b1a3a,#0b1220);
  font-size:28px;
}

.gh-post-body{ padding:16px 16px 14px; }
.gh-post-meta{ display:flex; align-items:center; gap:10px; font-size:13px; opacity:.85; }
.gh-post-cat{
  display:inline-flex;align-items:center;
  padding:4px 10px;
  border-radius:999px;
  background: rgba(30,91,255,.10);
  color:#1e5bff;
  text-decoration:none;
}
.gh-post-title{ margin:10px 0 8px; font-size:22px; }
.gh-post-title a{ color:#0f172a; text-decoration:none; }
.gh-post-excerpt{ margin:0; opacity:.78; line-height:1.7; }

.gh-post-actions{ margin-top: 12px; }
.gh-readmore{
  display:inline-flex; align-items:center; gap:8px;
  color:#1e5bff; text-decoration:none; font-weight:600;
}

.gh-blog-sidebar{ position: sticky; top: 92px; height: fit-content; }
@media (max-width: 980px){ .gh-blog-sidebar{ position: static; } }

.gh-side-card{
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:16px;
  padding:16px;
  box-shadow: 0 6px 20px rgba(15,23,42,.06);
  margin-bottom: 14px;
}
.gh-side-title{ margin:0 0 10px; font-size:16px; }

.gh-side-search{ display:flex; gap:10px; }
.gh-side-search input{
  flex:1;height:40px;padding:0 12px;
  border:1px solid rgba(15,23,42,.14);
  border-radius:12px; outline:none;
}
.gh-side-search button{
  width:40px;height:40px;border:0;border-radius:12px;
  background: linear-gradient(135deg,#1e5bff,#14b8ff);
  color:#fff; cursor:pointer;
}

.gh-cat-list, .gh-latest-list{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
.gh-cat-list a, .gh-latest-list a{ text-decoration:none; color:#0f172a; }
.gh-latest-list li{ display:flex; justify-content:space-between; gap:10px; }
.gh-latest-list span{ opacity:.55; font-size:12px; }

.gh-pagination{ margin-top: 18px; }
.gh-pagination .page-numbers{
  display:inline-flex;
  padding:8px 12px;
  margin-right:6px;
  border-radius:10px;
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  text-decoration:none;
  color:#0f172a;
}
.gh-pagination .current{
  background: linear-gradient(135deg,#1e5bff,#14b8ff);
  color:#fff;
  border-color: transparent;
}


/* 紧急：隐藏意外输出的默认页面菜单（左侧那串带圆点的链接） */
.gh-header ul:not(.nav-menu) { 
  display: none !important; 
}