/* container */
.vp-archive{
  max-width: 1200px;
  margin: 18px auto 40px;
  padding: 0 clamp(12px, 4vw, 32px);
}
.vp-archive__title{
  font-size: 24px;
  font-weight: 800;
  margin: 8px 0 16px;
}

/* responsive grid: max 5 cols, down to 1 */
.vp-archive__grid{
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (max-width: 1280px){ .vp-archive__grid{ grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1024px){ .vp-archive__grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .vp-archive__grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .vp-archive__grid{ grid-template-columns: 1fr; } }

/* card */
.vp-card{
  display: block;
}
.page-image-container{
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.page-featured-image{
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 212 / 300;
  object-fit: cover;
}
.page-details{
  margin-top: 10px;
}
.page-title{
  font-size: 22px;
  line-height: 1.2;
  margin: 6px 0 4px;
}
.page-title a{
  text-decoration: none;
  color: #1a1a1a;
}
.page-title a:hover{ color: #0000FF; }

/* excerpt hidden by default; keep DOM for your JS to reveal */
.page-excerpt{
  margin-top: 6px;
  color: rgba(0,0,0,.62);
  font-size: 15px;
  line-height: 1.35;
  display: -webkit-box;         /* line clamp prep */
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.page-excerpt.is-hidden{ display: none; } /* you’ll toggle this off in JS */












/*************************************************************************************
 *
 * Category Cards on the Top of the page
 *
 */

/* Top category strip — icon+label inline, centered */
.vp-catstrip{ margin: .25rem 0 1.25rem; }
.vp-catstrip__grid{
  display: grid;
  gap: 12px 14px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* CHIP */
.vp-catcard{
  display: inline-flex;               /* inline, not stacked */
  align-items: center;                /* vertical center */
  justify-content: center;            /* center the pair */
  gap: 10px;                          /* space between icon and text */
  padding: 10px 14px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  min-height: 48px;
}

/* Icon size and shape */
.vp-catcard__icon img{
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* Label — NOT bold */
.vp-catcard__name{
  font-weight: 400;                   /* normal */
  color: #111;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Optional hover */
.vp-catcard:hover .vp-catcard__name{ color: #0a84ff; }
