.cw-shorts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 50px;
  row-gap: 50px;
}

@media (max-width: 1120px) {
  .cw-shorts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cw-shorts-grid {
    grid-template-columns: 1fr;
  }
}

.cw-short__btn {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cw-short__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.cw-short__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cw-short__play {
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
}

.cw-short__play:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #fff;
}

.cw-short__cat,
.cw-short__title {
  font-family: 'Arvo', serif;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.cw-short__cat {
  margin-top: 14px;
  color: #e60d08;
  font-size: 14px;
}

.cw-short__title {
  margin-top: 6px;
  color: #000;
  font-size: 16px;
  line-height: 1.2;
}

.cw-shorts-empty {
  text-align: center;
  padding: 30px 0;
}

/* Voir plus */
.cw-shorts-more-wrap {
  margin-top: 40px;
  text-align: center;
}

.cw-shorts-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #e60d08;
  color: #fff;
  font-family: 'Arvo', serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  text-transform: uppercase;
}

.cw-shorts-more:hover {
  opacity: 0.92;
}

.cw-shorts-more.is-loading {
  opacity: 0.7;
  cursor: wait;
}

.cw-shorts-more__label,
.cw-shorts-more__count {
  display: inline-block;
}

/* MODALE */
#cwShortModal[hidden] {
  display: none !important;
}

#cwShortModal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: grid !important;
  place-items: center !important;
  padding: 24px !important;
  background: rgba(0, 0, 0, 0.65) !important;
}

#cwShortModal .cw-short-modal__dialog {
  position: relative !important;
  width: min(420px, calc(100vw - 48px)) !important;
  aspect-ratio: 9 / 16 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #000 !important;
}

#cwShortModal .cw-short-modal__framewrap {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  background: #000 !important;
}

#cwShortModal .cw-short-modal__framewrap iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block !important;
}

#cwShortModal .cw-short-modal__close {
  position: absolute !important;
  top: 8px !important;
  right: 10px !important;
  z-index: 2 !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 999px !important;
  border: 0 !important;
  cursor: pointer !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  font-size: 24px !important;
  line-height: 36px !important;
}