.discovery-feature {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(222px, 23vw, 278px);
  margin-block: 0 22px;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(125deg, #242334 15%, #37334a 65%, #4e4660);
}

.discovery-feature[data-loading] { background: var(--quiet-fill, var(--raised)); }
.discovery-feature[data-loading]::before,
.discovery-feature[data-loading] .discovery-feature-copy,
.discovery-feature[data-loading] .discovery-feature-controls,
.discovery-feature-poster img[hidden] { display: none; }

.discovery-feature-backdrop {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(22px);
  transform: scale(1.14);
}

.discovery-feature::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(90deg, rgb(19 20 29 / .88), rgb(19 20 29 / .65) 55%, rgb(19 20 29 / .24)),
    linear-gradient(0deg, rgb(14 15 22 / .42), transparent 35%);
  content: "";
}

.discovery-feature-poster {
  position: absolute;
  z-index: -1;
  inset-block: 12px 38px;
  inset-inline-end: clamp(12px, 4%, 38px);
  width: min(29%, 190px);
  display: grid;
  place-items: center;
}

.discovery-feature-poster img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 9px;
  filter: drop-shadow(0 4px 10px rgb(0 0 0 / .3));
}

.discovery-feature-copy {
  display: grid;
  justify-items: start;
  align-content: center;
  width: 62%;
  min-width: 0;
  padding: 24px clamp(18px, 4vw, 58px) 34px;
}

.discovery-feature-label,
.discovery-feature-meta {
  margin: 0;
  color: #eee9f7;
  font: 500 12px/1.5 var(--sans);
}

.discovery-feature-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 5px 0;
  color: inherit;
  font: 650 clamp(22px, 3vw, 40px)/1.25 var(--sans);
  overflow-wrap: anywhere;
}

.discovery-feature-meta {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.discovery-feature-action {
  min-height: 36px;
  margin-top: 12px;
  padding: 4px 13px;
  border: 1px solid rgb(255 255 255 / .28);
  border-radius: 999px;
  background: rgb(255 255 255 / .16);
  color: #fff;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font: 600 12px/1.4 var(--sans);
}

.discovery-feature-action:hover { background: rgb(255 255 255 / .24); }
.discovery-feature-controls {
  position: absolute;
  inset: auto 0 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.discovery-feature-controls[hidden] { display: none; }
.discovery-feature-dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  pointer-events: auto;
}

.discovery-feature-dot::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(255 255 255 / .52);
  box-shadow: 0 1px 3px rgb(0 0 0 / .34);
  content: "";
}

.discovery-feature-dot[aria-pressed="true"]::before { background: #fff; }
.discovery-feature :is(.discovery-feature-action, .discovery-feature-dot):focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (max-width: 760px) {
  .discovery-feature { --type-feature-size: clamp(22px, 6.1vw, 25px); min-height: 192px; margin-bottom: 16px; border-radius: 13px; }
  .discovery-feature-copy { width: 68%; padding: 12px 16px 32px; }
  .discovery-feature-title { margin-block: 3px; }
  .discovery-feature-action { margin-top: 7px; }
  .discovery-feature-controls { bottom: 2px; }
}

@media (prefers-reduced-motion: no-preference) {
  .discovery-feature-copy,
  .discovery-feature-poster img:not([hidden]) {
    animation: discovery-feature-reveal 140ms ease-out both;
  }
}

@keyframes discovery-feature-reveal {
  from { opacity: .55; }
  to { opacity: 1; }
}

@media (hover: none) and (pointer: coarse) {
  .discovery-feature :is(.discovery-feature-action, .discovery-feature-dot):focus:not(:focus-visible) { outline: none; }
}
