.repeater-cards {
  display: flex;
  justify-content: center;
  padding: 30px 20px 0;
  background: transparent;
  font-family: "Poppins", system-ui, sans-serif;
}

.repeater-cards__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1200px;
  width: 100%;
}

.repeater-card {
  background: #f0f1f5;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: box-shadow 0.3s ease;
  backdrop-filter: blur(6px); /* optional — adds a subtle frosted effect */
}


.repeater-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.repeater-card__image {
  position: relative;
  background: transparent;
  border-radius: 12px;
  padding: 0;
  text-align: center;
  margin-bottom: 20px;
  overflow: visible;
}

.repeater-card__image::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #08a8dd 40%, #35368f 100%);
  filter: blur(18px);
  opacity: 0.55; /* controls glow strength */
  z-index: 0;
}

.repeater-card__image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}


.repeater-card__title {
  font-weight: 600;img
  font-size: 22px;
  color: #000;
  margin-bottom: 10px;
}

.repeater-card__body {
  color: #000;
  font-size: 15px;
  margin-bottom: 12px;
  line-height: 1.6;
}

.repeater-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.repeater-card__list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
  font-size: 15px;
  color: #000;
}

.repeater-card__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #08a8dd;
  font-weight: bold;
}
.repeater-card__image {
  width: 100%;
  margin-bottom: 20px;
  z-index: 2;
}

.repeater-card__image img,
.repeater-card__image video {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  object-fit: contain;
  z-index:2;
}

.repeater-media--empty {
  background: #f0f1f5;
  padding: 40px 20px;
  border-radius: 16px;
  text-align: center;
  color: #35368f;
  font-size: 14px;
}

.repeater-card__image {
  position: relative;
  z-index: 5;
}

.repeater-card__image video {
  position: relative;
  z-index: 20; /* ABOVE the glow */
}

.repeater-card__image::before {
  z-index: 1; /* BELOW the video */
}
/* ============================
   MOBILE OPTIMIZATION
   ============================ */

@media (max-width: 768px) {

  .repeater-cards {
    padding: 20px 16px 0;
  }

  .repeater-cards__inner {
    grid-template-columns: 1fr !important;
    gap: 28px;
    max-width: 100%;
  }

  .repeater-card {
    padding: 20px;
    border-radius: 16px;
  }

  .repeater-card__image {
    margin-bottom: 16px;
  }

  .repeater-card__image img,
  .repeater-card__image video {
    border-radius: 14px;
  }

  .repeater-card__title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .repeater-card__body {
    font-size: 15px;
    line-height: 1.55;
  }

  .repeater-card__list li {
    font-size: 15px;
    margin-bottom: 6px;
  }
}


/* Smaller phones */
@media (max-width: 480px) {

  .repeater-cards {
    padding: 16px 14px 0;
  }

  .repeater-cards__inner {
    gap: 24px;
  }

  .repeater-card {
    padding: 18px;
  }

  .repeater-card__title {
    font-size: 18px;
  }

  .repeater-card__body {
    font-size: 14px;
  }

  .repeater-card__list li {
    font-size: 14px;
  }
}
