/* Category archive layout */
.category-archive{
  background:linear-gradient(180deg,#f3f4ff 0%,#fff 70%,#f7f8ff 100%);
  padding:80px 0 120px;
}
.category-archive .container{max-width:1150px}
.cat-hero{
  text-align:center;
  padding-bottom:40px;
}
.cat-hero__label{
  text-transform:uppercase;
  letter-spacing:.3em;
  font-size:.78rem;
  color:#8a93b5;
  font-weight:700;
}
.cat-hero h1{
  font-size:clamp(2.4rem,4vw,3.6rem);
  margin:18px 0 14px;
}
.cat-hero__desc{
  margin:0 auto;
  max-width:720px;
  color:#4d5278;
  font-size:1.05rem;
  line-height:1.6;
}
.cat-hero__stats{
  margin:30px 0;
  display:flex;
  justify-content:center;
  gap:40px;
}
.cat-hero__stats span{
  display:block;
  font-size:2rem;
  font-weight:700;
  color:#3a3f6c;
}
.cat-hero__stats p{
  margin:0;
  color:#7c86b4;
}
.cat-hero__chips{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
}
.cat-hero__chips a{
  padding:10px 18px;
  border-radius:999px;
  border:1px solid rgba(96,115,255,.2);
  background:#fff;
  color:#384081;
  font-weight:600;
  text-decoration:none;
  box-shadow:0 12px 30px rgba(24,32,74,.1);
  transition:transform .18s ease, box-shadow .18s ease;
}
.cat-hero__chips a:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 40px rgba(24,32,74,.2);
}

.cat-grid__wrap{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:26px;
}
.cat-card{
  border-radius:28px;
  background:#fff;
  border:1px solid rgba(137,154,255,.2);
  box-shadow:0 28px 58px rgba(18,24,56,.15);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  animation:catFade .8s ease;
}
.cat-card__media{
  width:100%;
  padding-top:60%;
  background-size:cover;
  background-position:center;
}
.cat-card__body{
  padding:22px 24px 26px;
  display:flex;
  flex-direction:column;
  gap:12px;
  flex:1;
}
.cat-card__tag{
  display:inline-flex;
  font-size:.75rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#6f76c2;
}
.cat-card h2{
  margin:0;
  font-size:1.3rem;
}
.cat-card h2 a{
  color:inherit;
  text-decoration:none;
}
.cat-card__meta{
  margin:0;
  color:#70789f;
  font-size:.9rem;
  display:flex;
  align-items:center;
  gap:.4rem;
}
.cat-card__meta em{font-style:normal; opacity:.6;}
.cat-card__excerpt{
  margin:0;
  color:#485071;
  line-height:1.5;
}
.cat-card__signals{
  display:flex;
  gap:16px;
  font-size:.85rem;
  color:#6b7398;
}
.cat-card__signals strong{
  color:#1f2444;
}
.cat-card__link{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  text-decoration:none;
  font-weight:700;
  color:#5565ff;
}
.cat-pagination{
  margin-top:40px;
  text-align:center;
}
.cat-pagination .page-numbers{
  display:inline-flex;
  gap:8px;
  align-items:center;
  justify-content:center;
}
.cat-pagination a,
.cat-pagination span{
  padding:8px 14px;
  border-radius:12px;
  border:1px solid rgba(137,154,255,.4);
  text-decoration:none;
  color:#4d5484;
}
.cat-pagination .current{
  background:#4f5cff;
  color:#fff;
  border-color:#4f5cff;
}
.cat-empty{
  text-align:center;
  padding:60px 0;
}

@keyframes catFade{
  from{opacity:0; transform:translateY(18px);}
  to{opacity:1; transform:none;}
}

@media (max-width:640px){
  .category-archive{padding:60px 0 90px;}
  .cat-hero__stats{gap:20px;}
}
