/* gallery-work-in-action.css */

.gallery-work-in-action {
  background-color: #ffffff;
  padding: clamp(60px, 6.94vw, 100px) clamp(24px, 6.67vw, 96px);
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 3.89vw, 56px);
}

/* ---- Heading block ---- */
.gallery-work-in-action__heading-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.gallery-work-in-action__title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 3.75vw, 54px);
  line-height: 1.3;
  color: #21254a;
  margin: 0;
  text-transform: uppercase;
}

.gallery-work-in-action__subheading {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.22vw, 32px);
  line-height: 1.3;
  color: #21254a;
  margin: 0;
}

.gallery-work-in-action__body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.53vw, 22px);
  line-height: 1.55;
  color: #21254a;
  margin: 0;
  width: 100%;
}

/* ---- Cards row ---- */
.gallery-work-in-action__cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 1.67vw, 24px);
}

.gallery-work-in-action__card {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: clamp(40px, 4.44vw, 64px) clamp(20px, 1.39vw, 20px);
  min-height: clamp(220px, 20vw, 280px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 2.78vw, 40px);
}

/* ---- Icon wrapper — lets SVGs scale by height, never squish ---- */
.gallery-work-in-action__card-icon-wrap {
  width: auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gallery-work-in-action__card-icon {
  height: 80px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  display: block;
}

/* ---- Card title ---- */
.gallery-work-in-action__card-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 1.67vw, 24px);
  line-height: 1.3;
  color: #21254a;
  text-align: center;
  margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .gallery-work-in-action__cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-work-in-action__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-work-in-action__card {
    min-height: clamp(180px, 25vw, 240px);
  }
}

@media (max-width: 480px) {
  .gallery-work-in-action {
    padding-left: 20px;
    padding-right: 20px;
  }

  .gallery-work-in-action__cards {
    grid-template-columns: 1fr;
  }

  .gallery-work-in-action__card {
    min-height: unset;
  }
}
