.sp-sparkle,
.sp-sparkle *,
.sp-sparkle *::before,
.sp-sparkle *::after {
  box-sizing: border-box;
}

.sp-sparkle {
  width: 100%;
  max-width: 100%;
  background-color: #ffffff;
  padding: 76px 16px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow: hidden;
}

.sp-sparkle__inner {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  min-width: 0;
}

.sp-sparkle__accent {
  width: 34px;
  height: 3px;
  background-color: #0d6e63;
  border-radius: 999px;
  margin-bottom: 18px;
}

.sp-sparkle__title {
  margin: 0 0 12px;
  font-size: clamp(2.1rem, 4.8vw, 3.25rem);
  line-height: 1.1;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.sp-sparkle__subtitle {
  margin: 0 0 40px;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #64748b;
  overflow-wrap: anywhere;
}

.sp-sparkle__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 24px;
  width: 100%;
  min-width: 0;
  align-items: stretch;
}

.sp-sparkle__side-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.sp-sparkle__card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background-color: #0f172a;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  min-width: 0;
  flex: 1 1 auto;
}

.sp-sparkle__card--featured {
  min-height: 460px;
}

.sp-sparkle__card--side {
  min-height: 218px;
}

.sp-sparkle__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.sp-sparkle__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.04) 35%,
    rgba(15, 23, 42, 0.82) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.sp-sparkle__caption {
  margin: 0;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  overflow-wrap: anywhere;
}

.sp-sparkle__caption--featured {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.sp-sparkle__caption--side {
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
}

@media (max-width: 900px) {
  .sp-sparkle {
    padding: 56px 14px;
  }

  .sp-sparkle__subtitle {
    margin-bottom: 28px;
  }

  .sp-sparkle__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .sp-sparkle__side-col {
    gap: 16px;
  }

  .sp-sparkle__card--featured {
    min-height: 260px;
  }

  .sp-sparkle__card--side {
    min-height: 220px;
  }

  .sp-sparkle__overlay {
    padding: 18px;
  }
}