/* Pass 03 candidate: homepage Watch & Learn discovery shelf only. */
.watch-section .watch-discovery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0 0;
  text-align: left;
}

.watch-section .watch-discovery-card {
  --watch-accent: #ff7a59;
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .48);
  border-radius: 22px;
  background: #fffdf8;
  color: #20204b;
  text-decoration: none;
  box-shadow: 0 12px 0 rgba(15, 59, 122, .18), 0 18px 32px rgba(10, 42, 92, .24);
  transition: transform .18s ease, box-shadow .18s ease;
}

.watch-section .watch-discovery-card--learn { --watch-accent: #7955cf; }
.watch-section .watch-discovery-card--pip { --watch-accent: #24a99a; }

.watch-section .watch-discovery-card:hover,
.watch-section .watch-discovery-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 14px 0 rgba(15, 59, 122, .2), 0 24px 38px rgba(10, 42, 92, .28);
}

.watch-section .watch-discovery-card:focus-visible {
  outline: 4px solid #ffe26a;
  outline-offset: 4px;
}

.watch-section .watch-discovery-card__thumbnail {
  position: relative;
  height: 218px;
  min-height: 0;
  flex: 0 0 auto;
  overflow: hidden;
  background: #d9efff;
}

.watch-section .watch-discovery-card__thumbnail::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 41, 86, 0) 35%, rgba(11, 41, 86, .24));
  content: "";
}

.watch-section .watch-discovery-card__thumbnail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transition: transform .3s ease;
}

.watch-section .watch-discovery-card:hover .watch-discovery-card__thumbnail img,
.watch-section .watch-discovery-card:focus-visible .watch-discovery-card__thumbnail img {
  transform: scale(1.04);
}

.watch-section .watch-discovery-card__play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 3px solid rgba(255, 255, 255, .92);
  border-radius: 50%;
  background: rgba(32, 32, 75, .8);
  box-shadow: 0 5px 16px rgba(0, 0, 0, .28);
  color: #fff;
  font-size: 27px;
  line-height: 1;
  padding-left: 4px;
}

.watch-section .watch-discovery-card__copy {
  min-height: 112px;
  flex: 0 0 auto;
  border-top: 6px solid var(--watch-accent);
  padding: 17px 19px 19px;
}

.watch-section .watch-discovery-card__copy h3 {
  margin: 0 0 7px;
  color: #20204b;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .055em;
  line-height: 1.08;
}

.watch-section .watch-discovery-card__copy p {
  margin: 0;
  color: #535373;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.watch-section .outline-cta { margin-top: 28px; }

@media (max-width: 900px) {
  .watch-section .watch-discovery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .watch-section .watch-discovery-card--pip { grid-column: 1 / -1; width: calc(50% - 9px); justify-self: center; }
}

@media (max-width: 620px) {
  .watch-section .watch-discovery-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .watch-section .watch-discovery-card--pip { grid-column: auto; width: auto; }
  .watch-section .watch-discovery-card__thumbnail { height: 205px; }
}
