/* ==========================================================================
   Case studies page — light 3-wide case study archive grid
   ========================================================================== */
.cs-archive { background: var(--white); padding-block: 72px; }

.cs-archive-head { max-width: 760px; margin-bottom: 44px; }
.cs-archive-head .eyebrow { margin-bottom: 16px; }
.cs-archive-head p { font-size: 16px; line-height: 1.6; color: var(--body); margin: 0; }

/* Full-width cards for now (image left, text right). Switch the grid back to
   repeat(3, 1fr) once there are enough case studies to fill a row. */
.cs-archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.cs-archive-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  height: 340px;                                  /* fixed banner height; image crops to fit */
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e4e9ef;
  border-bottom: 10px solid var(--blue);          /* 10px blue bottom edge */
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(9, 81, 145, .12);  /* light, dispersed shadow */
  transition: box-shadow .25s ease, transform .25s ease;
}
.cs-archive-card:hover {
  box-shadow: 0 18px 50px rgba(9, 81, 145, .20);
  transform: translateY(-4px);
}
.cs-archive-img { overflow: hidden; }
.cs-archive-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.cs-archive-card:hover .cs-archive-img img { transform: scale(1.05); }
.cs-archive-body { align-self: center; padding: 22px 36px; }
.cs-archive-cat {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.cs-archive-body h3 { font-size: 22px; color: var(--ink); margin: 0 0 6px; }
.cs-archive-body p { font-size: 15px; color: var(--body); margin: 0; }

@media (max-width: 700px) {
  .cs-archive-card { grid-template-columns: 1fr; min-height: 0; }
  .cs-archive-img { aspect-ratio: 16 / 10; }
  .cs-archive-body { padding: 24px; }
}
