.hsp-grid-type-2-container {
  background-color: #F7F2F9;
  border-radius: 12px;
  padding: 60px 0;
}

.hsp-grid-type-2-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 15px;
}

@media (min-width: 768px) {
  .hsp-grid-type-2-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .hsp-grid-type-2-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Intro Tile - always the first grid cell */
.hsp-grid-type-2-intro-card {
  border-radius: 10px;
  height: 100%;
  justify-content: flex-start;
}

.hsp-grid-type-2-section-title {
  font-size: 25px;
  color: #500778;
  margin-bottom: 20px;
  line-height: 1.4;
}

.hsp-grid-type-2-section-description {
  font-size: 18px;
  color: #500778;
  line-height: 1.6;
}

/* Cards */
.hsp-grid-type-2-card {
  background: #D9D9D9;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hsp-grid-type-2-card-image-wrapper {
  width: 100%;
  height: 186px;
  overflow: hidden;
  background-color: #ea580d;
}

.hsp-grid-type-2-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hsp-grid-type-2-card-content {
  padding: 20px;
  background: white;
  flex: 1;
}

.hsp-grid-type-2-card-title {
  font-size: 20px;
  color: #500778;
  margin-bottom: 15px;
  line-height: 1.4;
}

.hsp-grid-type-2-card-description {
  font-size: 15px;
  color: #500778;
  line-height: 1.4;
}

.hsp-grid-type-2-card-btn {
  display: inline-block;
  margin-top: 20px;
}

.hsp-btn-hide {
  display: none;
}

/* Responsive */
@media (max-width: 767px) {
  .hsp-grid-type-2-card-image-wrapper {
    height: 150px;
  }

  .hsp-grid-type-2-card-content {
    padding: 15px;
  }

  .hsp-grid-type-2-card-title {
    font-size: 18px;
  }

  .hsp-grid-type-2-card-description {
    font-size: 14px;
  }
}
