.container {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--Corner-radius-md);
  margin-right: var(--Space-x2);
  text-align: center;
  width: 100%;
  text-wrap: balance;
  overflow: hidden;
}

.fixed {
  height: 320px; /* Fixed height from Figma */
}

.dynamic {
  height: 100%;
}

.imageContainer {
  display: flex;
  width: 100%;
  height: 100%;
}

.imageGradient::after {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.36) 50%,
    rgba(0, 0, 0, 0.75) 100%
  );
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.image {
  object-fit: cover;
  width: 100%;
  height: 100%;
  min-height: 320px; /* Fixed height from Figma */
}

.content {
  display: grid;
  padding: var(--Space-x4) var(--Space-x3);
  gap: var(--Space-x2);
}

.themeOne {
  background: var(--Primary-Light-Surface-Normal);
}

.themeTwo {
  background: var(--Secondary-Light-Surface-Normal);
}

.themeThree {
  background: var(--Tertiary-Light-Surface-Normal);
}

.themePrimaryDark {
  background: var(--Primary-Dark-Surface-Normal);
}

.themePrimaryDim {
  background: var(--Primary-Dim-Surface-Normal);
}

.themePrimaryInverted {
  background: var(--Base-Surface-Primary-light-Normal);
}

.themePrimaryStrong {
  background: var(--Primary-Strong-Surface-Normal);
}

.themeImage .content {
  position: absolute;
}

.scriptContainer {
  display: grid;
  gap: var(--Space-x1);
}

.scriptedTitle {
  padding: var(--Space-x1);
  margin: 0;
}

.buttonContainer {
  display: flex;
  gap: var(--Space-x1);
  justify-content: center;
}
