/* ==========================================================================
   Case Studies Listing (New) — page-case-studies 
   ========================================================================== */
button.csl2-filter-btn {
    margin-bottom: 20px;
    background: white;
    border: none;
    margin-right: 12px;
}

.csl2-hero {
  background: #1a1a2e;
  padding: 90px 0 70px;
  text-align: center;
  color: #fff;
}
.csl2-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.csl2-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

.csl2-grid-section {
  padding: 70px 0;
}

.csl2-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.csl2-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  color: inherit;
}

.csl2-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f0f0f0;
}
.csl2-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.csl2-card:hover .csl2-card-img {
  transform: scale(1.05);
}

.csl2-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}
.csl2-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  color: #111;
  margin-bottom: 12px;
}
.csl2-card-desc {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}
.csl2-card-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: #3330c2;
  margin-top: auto;
}

.csl2-empty {
  text-align: center;
  color: #555;
  font-size: 1.05rem;
  padding: 40px 0;
}

/* ---------- Pagination ---------- */
.csl2-pagination {
  margin-top: 56px;
}
.csl2-pagination .page-item .page-link {
  color: #111;
  border: 1px solid #e5e7eb;
  margin: 0 4px;
  border-radius: 8px;
}
.csl2-pagination .page-item.active .page-link {
  background-color:  #3330c2;
  border-color: #3330c2;
  color: #fff;
}
.csl2-pagination .page-item .page-link:hover {
  background-color: #fdeaea;
  color: #df2e2e;
}
.csl2-pagination .page-item.active .page-link:hover {
  background-color: #df2e2e;
  color: #fff;
}
span.csl2-card-industry {
    color: #aaaaaa;
}
/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .csl2-hero {
    padding: 64px 0 48px;
  }
  .csl2-grid-section {
    padding: 48px 0;
  }
  .csl2-card-body {
    padding: 20px;
  }
}
