/* Image Content Block - Dynamically loaded */
.image-content-block { width: 100%; }

/* Background Variants */
.image-content-bg-white { background-color: white; }
.image-content-bg-light-gray { background-color: hsl(var(--muted) / 0.3); }
.image-content-bg-dark-gray { background-color: hsl(var(--foreground)); color: hsl(var(--background)); }
.image-content-bg-primary { background-color: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.image-content-bg-transparent { background-color: transparent; }

/* Padding Variants */
.image-content-padding-none { padding-top: 0; padding-bottom: 0; }
.image-content-padding-small { padding-top: 2rem; padding-bottom: 2rem; }
.image-content-padding-medium { padding-top: 4rem; padding-bottom: 4rem; }
.image-content-padding-large { padding-top: 6rem; padding-bottom: 6rem; }

/* Grid Layout */
.image-content-grid { display: grid; grid-template-columns: 1fr; width: 100%; }

@media (min-width: 1024px) {
  .image-content-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }

  /* Column Ratios */
  .image-content-ratio-1-1 .image-content-media { grid-column: span 6; }
  .image-content-ratio-1-1 .image-content-text { grid-column: span 6; }
  .image-content-ratio-1-2 .image-content-media { grid-column: span 4; }
  .image-content-ratio-1-2 .image-content-text { grid-column: span 8; }
  .image-content-ratio-2-1 .image-content-media { grid-column: span 8; }
  .image-content-ratio-2-1 .image-content-text { grid-column: span 4; }

  /* Desktop Position */
  .image-content-pos-right .image-content-media { order: 2; }
  .image-content-pos-right .image-content-text { order: 1; }
  .image-content-pos-left .image-content-media { order: 1; }
  .image-content-pos-left .image-content-text { order: 2; }
}

/* Mobile Layout */
@media (max-width: 1023px) {
  .image-content-mobile-stack-image-first .image-content-media { order: 1; }
  .image-content-mobile-stack-image-first .image-content-text { order: 2; }
  .image-content-mobile-stack-content-first .image-content-media { order: 2; }
  .image-content-mobile-stack-content-first .image-content-text { order: 1; }
  .image-content-mobile-side-by-side { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .image-content-mobile-side-by-side .image-content-media { grid-column: span 6; }
  .image-content-mobile-side-by-side .image-content-text { grid-column: span 6; }
}

/* Gap Sizes */
.image-content-gap-none { gap: 0; }
.image-content-gap-small { gap: 1rem; }
.image-content-gap-medium { gap: 2rem; }
.image-content-gap-large { gap: 3rem; }
.image-content-gap-xl { gap: 4rem; }

@media (min-width: 1024px) {
  .image-content-gap-small { gap: 1.5rem; }
  .image-content-gap-medium { gap: 3rem; }
  .image-content-gap-large { gap: 4rem; }
  .image-content-gap-xl { gap: 6rem; }
}

/* Columns */
.image-content-media { display: flex; flex-direction: column; justify-content: center; }
.image-content-text { display: flex; flex-direction: column; justify-content: center; }

/* Play Button */
.image-content-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s;
}

.group:hover .image-content-play-overlay { background-color: rgba(0, 0, 0, 0.4); }

.image-content-play-btn {
  width: 4rem;
  height: 4rem;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background-color 0.2s;
}

@media (min-width: 640px) {
  .image-content-play-btn { width: 5rem; height: 5rem; }
}

.group:hover .image-content-play-btn { transform: scale(1.1); background-color: rgba(0, 0, 0, 0.9); }

.image-content-play-icon {
  width: 0;
  height: 0;
  border-left: 12px solid white;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 4px;
}

@media (min-width: 640px) {
  .image-content-play-icon { border-left-width: 16px; border-top-width: 10px; border-bottom-width: 10px; }
}
