/* ==========================================================================
   MRVLL RES Editor's Choice (mrvll-res-editors-choice)
   ========================================================================== */

.mrvll-res.mrvll-res-editors-choice {
  position: relative;
  /* overflow: hidden; */
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
  padding-bottom: 228px;
  color: #fff;
  z-index: 0;
}

/* =========================
   Background Layers
   ========================= */

.mrvll-res .mrvll-res-editors-choice__bg {
  position: absolute;
  inset: 0;
  background: url("../../img/editor-bg.png") center / cover no-repeat;
  z-index: 0;
  pointer-events: none;
}

.mrvll-res .mrvll-res-editors-choice__bg-blue {
  position: absolute;
  inset: 0;
  background: #0072CE;
  mix-blend-mode: multiply;
  z-index: 1;
  pointer-events: none;
}

.mrvll-res .mrvll-res-editors-choice__bg-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #010101 34.06%, rgba(1, 1, 1, 0) 100%);
  z-index: 2;
  pointer-events: none;
}

/* =========================
   Foreground
   ========================= */

.mrvll-res.mrvll-res-editors-choice .container {
  position: relative;
  z-index: 3;
}

.mrvll-res .mrvll-res-editors-choice__panel {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: linear-gradient(180deg, rgba(231, 231, 231, 0.15) -1.73%, rgba(231, 231, 231, 0.08) 100%);
  backdrop-filter: blur(22px);
}

/* =========================
   Left Column
   ========================= */

.mrvll-res .mrvll-res-editors-choice__left {
  position: sticky;
  top: 40px;
  align-self: flex-start;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding: 48px 32px;
  flex: 0 0 40%;
  max-width: 40%;
}

.mrvll-res .mrvll-res-editors-choice__featured {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: #fff;
  width: 100%;
}

.mrvll-res .mrvll-res-editors-choice__featured:hover,
.mrvll-res .mrvll-res-editors-choice__featured:focus {
  text-decoration: none;
  color: #fff;
}

.mrvll-res .mrvll-res-editors-choice__featured-media {
  position: relative;
  width: 100%;
  aspect-ratio: 203 / 114;
  overflow: hidden;
}

.mrvll-res .mrvll-res-editors-choice__featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mrvll-res .mrvll-res-editors-choice__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.mrvll-res .mrvll-res-editors-choice__featured-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* =========================
   Right Column
   ========================= */

.mrvll-res .mrvll-res-editors-choice__right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 auto;
  width: 60%;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

/* Whole-row clickable wrapper */
.mrvll-res .mrvll-res-editors-choice__entry-link {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.mrvll-res .mrvll-res-editors-choice__entry-link:hover,
.mrvll-res .mrvll-res-editors-choice__entry-link:focus {
  color: inherit;
  text-decoration: none;
}

/* Entry item */
.mrvll-res .mrvll-res-editors-choice__entry {
  display: flex;
  align-self: stretch;
  gap: 32px;
  padding: 32px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* First entry should not have top border */
.mrvll-res .mrvll-res-editors-choice__right > .mrvll-res-editors-choice__entry-link:first-child .mrvll-res-editors-choice__entry {
  border-top: none;
}

.mrvll-res .mrvll-res-editors-choice__entry-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
  flex: 1 1 auto;
  min-width: 0;
}

/* Info */
.mrvll-res .mrvll-res-editors-choice__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

/* Product tag row */
.mrvll-res .mrvll-res-editors-choice__tag-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.mrvll-res .mrvll-res-editors-choice__tag-divider {
  width: 0;
  height: 11.5px;
  border-left: 2px solid #00B5E2;
  margin-top: 2px;
}

/* Meta */
.mrvll-res .mrvll-res-editors-choice__meta {
  display: flex;
  gap: 16px;
  opacity: 0.9;
}

.mrvll-res .mrvll-res-editors-choice__meta span {
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: -0.42px;
}

/* Read */
.mrvll-res .mrvll-res-editors-choice__read {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.mrvll-res .mrvll-res-editors-choice__read-icon {
  display: inline-flex;
  transition: transform 0.35s ease;
}

/* Entry image */
.mrvll-res .mrvll-res-editors-choice__entry-media {
  flex: 0 0 356px;
  width: 356px;
  max-width: 356px;
  aspect-ratio: 89 / 50;
  overflow: hidden;
}

.mrvll-res .mrvll-res-editors-choice__entry-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* No image */
.mrvll-res .mrvll-res-editors-choice__entry--noimg .mrvll-res-editors-choice__entry-media {
  display: none;
}

/* =========================
   Stack at <= 1150px
   ========================= */
@media (max-width: 991px) {
  span.mrvll-res-editors-choice__play svg {
    height: 64px;
  }
}

@media (max-width: 1150px) {
  .mrvll-res .mrvll-res-editors-choice__panel {
    flex-direction: column;
  }

  .mrvll-res .mrvll-res-editors-choice__left {
    position: static;
    top: auto;

    max-width: none;
    flex: 1 1 auto;
    width: 100%;
    padding: 32px 20px;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mrvll-res .mrvll-res-editors-choice__right {
    width: 100%;
    border-left: none;
  }

  .mrvll-res .mrvll-res-editors-choice__entry {
    flex-direction: column;
    padding: 24px 20px;
    gap: 16px;
  }

  .mrvll-res .mrvll-res-editors-choice__entry-media {
    width: 100%;
    max-width: none;
    flex: 0 0 auto;
  }
}

/* Mobile padding-bottom */
@media (max-width: 991px) {
  .mrvll-res.mrvll-res-editors-choice {
    padding-bottom: 252px;
  }
}

@media (max-width: 768px) {
  .mrvll-res.mrvll-res-editors-choice {
    padding-bottom: 169px;
  }
}

@media (min-width: 992px) {
.mrvll-res-editors-choice .mrvll-res-eyebrow {
  font-size: 13px;
}

.mrvll-res-editors-choice .mrvll-res-p-xs {
  font-size: 13px;
}
}

/* Move arrow when hovering entire entry */
.mrvll-res .mrvll-res-editors-choice__entry-link:hover .mrvll-res-editors-choice__read-icon {
  transform: translateX(6px);
}

/* hover layer */
.mrvll-res .mrvll-res-editors-choice__entry-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    96deg,
    rgba(231, 231, 231, 0.10) 3.7%,
    rgba(59, 59, 59, 0.15) 93.14%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

/* hover */
.mrvll-res .mrvll-res-editors-choice__entry-link:hover::before {
  opacity: 1;
}

/* =========================
   AEM-ready title wrappers
   ========================= */

.mrvll-res .mrvll-res-editors-choice__heading-wrap,
.mrvll-res .mrvll-res-editors-choice__featured-title-wrap,
.mrvll-res .mrvll-res-editors-choice__entry-title-wrap {
  width: 100%;
}

