/* ═══════════════════════════════════════════════════════════════
   Zambezu Blog — modern full-width layout (no sidebar)
═══════════════════════════════════════════════════════════════ */

.zb-blog-main{
  background:#f5f7ff;
  color:#334155;
  padding-bottom:72px;
}


/* Hero — dark, seamless with header */
.zb-blog-hero{
  background:linear-gradient(165deg,#0c1225 0%,#0f172a 14%,#1e1b4b 38%,#172554 72%,#0c1929 100%);
  padding:64px 0 56px;
  text-align:center;
  color:#fff;
  position:relative;
  overflow:hidden;
}
.zb-blog-hero::before{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(ellipse 80% 60% at 50% -10%,rgba(99,102,241,.22) 0%,transparent 55%);
}
.zb-blog-hero .page-inner{position:relative;z-index:1}
.zb-blog-badge{
  display:inline-block;
  padding:6px 14px;
  border-radius:999px;
  background:rgba(99,102,241,.18);
  border:1px solid rgba(129,140,248,.35);
  color:#a5b4fc;
  font-size:11px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
  margin-bottom:16px;
}
.zb-blog-hero h1{
  font-size:clamp(30px,4.5vw,48px);
  font-weight:900;
  margin:0 0 12px;
  color:#fff;
  letter-spacing:-.03em;
  line-height:1.1;
}
.zb-blog-hero p,
.zb-archive-desc{
  max-width:620px;
  margin:0 auto;
  color:rgba(255,255,255,.68);
  line-height:1.7;
  font-size:16px;
}

/* Centered blog grid — 3 posts per row */
.zb-blog-wrap{
  max-width:1200px;
  width:100%;
  margin-left:auto;
  margin-right:auto;
  padding-top:40px;
  padding-bottom:16px;
}
.zb-posts-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px;
  width:100%;
  margin:0 auto;
  justify-content:center;
}

/* Cards */
.zb-post-card{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 4px 20px rgba(15,23,42,.05);
  display:flex;
  flex-direction:column;
  transition:transform .22s cubic-bezier(.34,1.2,.64,1),box-shadow .22s,border-color .22s;
}
.zb-post-card:hover{
  transform:translateY(-6px);
  border-color:rgba(99,102,241,.28);
  box-shadow:0 20px 48px rgba(99,102,241,.12),0 8px 20px rgba(15,23,42,.06);
}
.zb-post-card-thumb{
  display:block;
  position:relative;
  aspect-ratio:16/9;
  overflow:hidden;
  background:linear-gradient(135deg,#1e1b4b,#312e81);
}
.zb-post-card-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .35s ease;
}
.zb-post-card:hover .zb-post-card-thumb img{transform:scale(1.04)}
.zb-post-card-cat{
  position:absolute;
  left:14px;
  bottom:14px;
  padding:5px 11px;
  border-radius:999px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#e0e7ff;
  background:rgba(15,23,42,.72);
  backdrop-filter:blur(8px);
  border:1px solid rgba(129,140,248,.35);
}
.zb-post-card-body{
  padding:22px 22px 24px;
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:1;
}
.zb-post-card-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 14px;
  font-size:12px;
  color:#94a3b8;
  font-weight:600;
}
.zb-post-card-meta a{color:#6366f1;text-decoration:none}
.zb-post-read-time{color:#94a3b8}
.zb-post-card-title{
  font-size:19px;
  line-height:1.35;
  margin:0;
  letter-spacing:-.02em;
}
.zb-post-card-title a{
  color:#0f172a;
  text-decoration:none;
  transition:color .15s;
}
.zb-post-card-title a:hover{color:#6366f1}
.zb-post-card-excerpt{
  color:#64748b;
  line-height:1.65;
  font-size:14.5px;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.zb-read-more{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#6366f1;
  font-weight:800;
  text-decoration:none;
  font-size:13px;
  letter-spacing:.01em;
  transition:gap .18s,color .18s;
}
.zb-read-more:hover{gap:12px;color:#4f46e5}

/* Pagination */
.zb-pagination{
  margin-top:48px;
  padding-top:8px;
  width:100%;
  display:flex;
  justify-content:center;
}
.navigation.pagination,
.nav-links{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  width:100%;
}
.nav-links .prev,
.nav-links .next{
  font-weight:700;
  padding:0 14px;
}
.page-numbers{
  display:inline-flex;
  min-width:40px;
  height:40px;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  border:1px solid #e2e8f0;
  color:#334155;
  text-decoration:none;
  background:#fff;
  font-weight:600;
  font-size:14px;
  transition:background .15s,border-color .15s,color .15s;
}
.page-numbers:hover{border-color:rgba(99,102,241,.35);color:#6366f1}
.page-numbers.current{
  background:linear-gradient(135deg,#6366f1,#818cf8);
  color:#fff;
  border-color:transparent;
}

/* Single post — wide centered card (matches blog grid width) */
.zb-single-main{
  padding:40px 0 72px;
}
.zb-single-main .page-inner,
.zb-blog-main .page-inner{
  max-width:1320px;
  margin-left:auto;
  margin-right:auto;
  width:100%;
  padding-left:clamp(16px,2.5vw,28px);
  padding-right:clamp(16px,2.5vw,28px);
  box-sizing:border-box;
}
.zb-single-page-wrap{
  max-width:1200px;
  width:100%;
  margin-left:auto;
  margin-right:auto;
  box-sizing:border-box;
}
.zb-back-blog{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-bottom:24px;
  font-size:14px;
  font-weight:700;
  color:#6366f1;
  text-decoration:none;
  transition:color .15s;
}
.zb-back-blog:hover{color:#4f46e5}
.zb-single-card{
  width:100%;
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 8px 32px rgba(15,23,42,.08),0 2px 8px rgba(15,23,42,.04);
}
.zb-single-card-thumb{
  position:relative;
  aspect-ratio:16/9;
  overflow:hidden;
  background:linear-gradient(135deg,#1e1b4b,#312e81);
}
.zb-single-card-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.zb-single-card-body{
  padding:40px clamp(32px,5vw,56px) 48px;
}
.zb-single-header{
  margin-bottom:28px;
  padding-bottom:24px;
  border-bottom:1px solid #e2e8f0;
}
.zb-single-card .zb-single-title{
  font-size:clamp(28px,3.5vw,42px);
  line-height:1.2;
  margin:0 0 14px;
  color:#0f172a;
  font-weight:900;
  letter-spacing:-.03em;
}
.zb-single-card .zb-single-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 16px;
  font-size:13px;
  color:#94a3b8;
  font-weight:600;
}
.zb-single-card .zb-single-meta a{
  color:#6366f1;
  text-decoration:none;
}
.zb-single-body{
  font-size:17px;
  line-height:1.85;
  color:#334155;
  max-width:none;
}
.zb-single-body > *{max-width:100%}
.zb-single-body img{
  max-width:100%;
  height:auto;
  border-radius:12px;
}
.zb-single-body h2,
.zb-single-body h3{
  color:#0f172a;
  margin:2em 0 .75em;
  letter-spacing:-.02em;
  line-height:1.25;
}
.zb-single-body h2{font-size:clamp(22px,3vw,28px);font-weight:900}
.zb-single-body h3{font-size:20px;font-weight:800}
.zb-single-body p{margin:0 0 1.25em}
.zb-single-body ul,
.zb-single-body ol{
  margin:0 0 1.5em 1.25em;
  padding:0;
}
.zb-single-body li{margin-bottom:.5em;line-height:1.65}
.zb-single-body a{color:#6366f1;text-decoration:underline;text-underline-offset:2px}
.zb-single-footer{
  margin-top:36px;
  padding-top:24px;
  border-top:1px solid #e2e8f0;
}
.zb-post-tags span{font-weight:800;color:#0f172a;margin-right:6px}
.zb-post-tags a{
  display:inline-block;
  margin:4px 6px 4px 0;
  padding:4px 10px;
  border-radius:999px;
  background:#eef2ff;
  color:#4f46e5;
  font-size:13px;
  font-weight:600;
  text-decoration:none;
}

/* Misc */
.zb-no-posts{text-align:center;padding:48px 0;color:#64748b}
.zb-404-main .zb-404-actions{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:18px;
}
.zb-btn-primary,.zb-btn-ghost{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 18px;
  border-radius:10px;
  font-weight:700;
  text-decoration:none;
}
.zb-btn-primary{background:linear-gradient(135deg,#6366f1,#22d3ee);color:#0c1225}
.zb-btn-ghost{border:1px solid rgba(99,102,241,.35);color:#6366f1;background:#fff}

@media(max-width:1024px){
  .zb-posts-grid{grid-template-columns:repeat(2,1fr);gap:22px}
}
@media(max-width:640px){
  .zb-blog-hero{padding:48px 0 40px}
  .zb-posts-grid{grid-template-columns:1fr;gap:20px}
  .zb-single-main{padding:28px 0 48px}
  .zb-single-card-body{padding:24px 20px 32px}
  .zb-single-body{font-size:16px;line-height:1.75}
}
