.ceca-media-card {
  position: relative;
  width: 100%;
  padding: 32px 96px 96px 108px;
  min-height: 300px;
}

.ceca-media-card__media {
  width: 100%;
  height: 100%;
}

.ceca-media-card__main-image,
.ceca-media-card__main-video {
  display: block;
  width: 100%;
  max-width: 522px !important;
  height: 645px !important;
  object-fit: cover;
}

.ceca-media-card__floating-card {
  background-color: #fff;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 400px;
  /* height: 409px; */
  box-shadow: var(
    --ceca-mega-shadow,
    0px 12px 16px rgba(36, 36, 36, 0.08),
    0px 4px 6px rgba(36, 36, 36, 0.03)
  );
  /* background-color: var(--ceca-secondary, #aa004f); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  z-index: 2;
}

.ceca-media-card__floating-card--large {
  height: 409px;
}

.ceca-media-card__floating-card-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 32px;
}

.ceca-media-card__floating-card-pretitle {
  color: var(--ceca-white, #fff);
  font-family: var(--ceca-font-family, "Encode Sans Expanded", sans-serif);
  font-size: 13px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.ceca-media-card__floating-card-title {
  color: var(--ceca-white, #fff);
  font-family: var(--ceca-title-font, "Encode Sans Expanded", sans-serif);
  font-size: 30px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.7px;
  margin: 0;
}

/* ══════════════════════════════════════════════
 * Responsive / Móvil
 * ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .ceca-media-card {
    padding: 32px 16px 96px 16px;
  }

  .ceca-media-card__floating-card {
    right: 16px;
  }
}

@media (max-width: 768px) {
  .ceca-media-card {
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .ceca-media-card__main-image,
  .ceca-media-card__main-video {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .ceca-media-card__floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 376px;
    height: auto;
    min-height: 250px;
    margin-top: -64px;
  }
}
