.scheduled-card.is-short {
  width: calc(33.333% - 8px);
}

.scheduled-card.is-video .scheduled-media,
.scheduled-card.is-short .scheduled-media {
  height: auto;
  max-height: none;
  aspect-ratio: 4 / 3;
}

.scheduled-card.is-video .scheduled-media video,
.scheduled-card.is-short .scheduled-media video {
  object-fit: cover;
}

.scheduled-media-topline {
  position: absolute;
  top: 10px;
  right: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 3;
}

.scheduled-media-topline .scheduled-status {
  position: static;
}

.scheduled-kind {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 4px 5px;
  border: 1px solid rgb(255 255 255 / .75);
  border-radius: 999px;
  background: rgb(255 255 255 / .92);
  color: #171717;
  font-size: 9px;
  font-weight: 750;
  box-shadow: 0 3px 10px rgb(0 0 0 / .09);
  backdrop-filter: blur(6px);
  transition: padding .18s ease, gap .18s ease;
}

.scheduled-kind > span {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  transition: max-width .18s ease, opacity .14s ease;
}

.scheduled-kind:hover {
  gap: 5px;
  padding-right: 7px;
  padding-left: 7px;
}

.scheduled-kind:hover > span {
  max-width: 70px;
  opacity: 1;
}

.scheduled-kind svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scheduled-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.scheduled-slides .scheduled-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease;
}

.scheduled-slides .scheduled-slide.active {
  opacity: 1;
  visibility: visible;
}

.scheduled-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgb(255 255 255 / .78);
  border-radius: 50%;
  background: rgb(255 255 255 / .9);
  color: #171717;
  box-shadow: 0 3px 12px rgb(0 0 0 / .2);
  transform: translateY(-50%);
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: background .16s ease, transform .16s ease;
}

.scheduled-carousel-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.06);
}

.scheduled-carousel-arrow.previous {
  left: 9px;
}

.scheduled-carousel-arrow.next {
  right: 9px;
}

.scheduled-carousel-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scheduled-media-count {
  z-index: 4;
}

@media (max-width: 900px) {
  .scheduled-card.is-short {
    width: calc(50% - 6px);
  }

  .scheduled-card.is-video .scheduled-media,
  .scheduled-card.is-short .scheduled-media {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 560px) {
  .scheduled-card.is-short {
    width: 100%;
  }
}

/* Keep publication details fully legible without changing typography sizes. */
.scheduled-card-title-row h3,
.scheduled-description,
.scheduled-date,
.scheduled-date span {
  color: #111;
}

/* Media stays light while decoding, and off-screen cards do not consume paint work. */
.scheduled-media,
.scheduled-card.is-video .scheduled-media,
.scheduled-card.is-short .scheduled-media,
.scheduled-card.is-video .scheduled-media video {
  background: #fff;
}

.scheduled-card {
  content-visibility: auto;
  contain-intrinsic-size: 280px 360px;
}

.scheduled-platforms .integration-logo.npati {
  overflow: hidden;
  background: #fff;
}

.scheduled-platforms .integration-logo.npati img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
