.amal-svc-page .amal-mv-grid.row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

.amal-svc-page .amal-mv-grid.row > [class*="col-"] {
  width: auto;
  max-width: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.amal-svc-page .amal-mv-card {
  width: 100%;
  height: 100%;
}

.amal-svc-page .amal-mv-card__body {
  gap: 6px;
  padding: 14px 14px 12px;
}

.amal-svc-page .amal-mv-card__media {
  height: 210px;
  aspect-ratio: auto;
  flex-shrink: 0;
}

.amal-svc-page .amal-mv-card__media img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center;
}

.amal-svc-page .amal-mv-card__cat-pill {
  max-width: 58%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.amal-svc-page .amal-mv-card__type {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
  color: #0f172a;
}

.amal-svc-page .amal-mv-card__title {
  min-height: 2.7em;
  max-height: 2.7em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.amal-svc-page .amal-mv-card__location {
  min-height: 1.25em;
  white-space: nowrap;
  overflow: hidden;
}

.amal-svc-page .amal-mv-card__location span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.amal-svc-page .amal-mv-card__footer {
  align-items: center;
  justify-content: stretch;
}

.amal-svc-page .amal-svc-card__cta {
  width: 100%;
  justify-content: center;
}

.amal-svc-page .amal-svc-apply,
.amal-svc-page .amal-svc-apply .amal-pd-contact__btn {
  width: 100%;
}

.amal-svc-page .amal-pd-gallery__premium {
  background: #0f172a;
}

.amal-svc-page .amal-pd-gallery__stage {
  padding: 0;
  background: #e2e8f0;
}

.amal-svc-page .amal-pd-gallery__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 991.98px) {
  .amal-svc-page .amal-mv-grid.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 767.98px) {
  .amal-svc-page .amal-mv-grid.row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}
