.cloudari-ce-wrap {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

.cloudari-ce-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
  border: 1px solid var(--e-global-color-8, #E6E6E6);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .06);
  padding: 18px;
}

.cloudari-ce-h3 {
  margin: 0 0 6px;
  font-family: var(--e-global-typography-primary-font-family, Montserrat, system-ui, sans-serif);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--e-global-color-accent, #004743);
}

.cloudari-ce-item p {
  margin: 0;
  line-height: 1.65;
  font-family: var(--e-global-typography-text-font-family, Lora, serif);
}

/* Countdown */
.cloudari-ce-countdown {
  display: grid;
  grid-auto-flow: column;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s ease;
}

.cloudari-ce-countdown.cloudari-ce-ready {
  visibility: visible;
  opacity: 1;
}

.cloudari-ce-countdown div {
  display: grid;
  justify-items: center;
  padding: .4rem .6rem;
  border: 1px solid var(--e-global-color-8, #E6E6E6);
  border-radius: 10px;
  background: #fff;
}

.cloudari-ce-countdown span {
  font-weight: 800;
  font-family: var(--e-global-typography-primary-font-family, Montserrat, system-ui, sans-serif);
}

/* Poster */
.cloudari-ce-poster-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #f6f6f6;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .15);
}

.cloudari-ce-poster-figure a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.cloudari-ce-poster-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  transition: transform .3s ease;
}

.cloudari-ce-poster-figure:hover img {
  transform: scale(1.05);
}

.cloudari-ce-poster-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 70%);
  color: #fff;
  font-weight: 700;
  font-family: var(--e-global-typography-primary-font-family, Montserrat, system-ui, sans-serif);
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

@media (max-width: 900px) {
  .cloudari-ce-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .cloudari-ce-grid {
    grid-template-columns: 1fr;
  }
  .cloudari-ce-poster-figure img {
    aspect-ratio: 16 / 9;
  }
}
