/* IMDb-inspired discovery layout with the site's own shows, news and people. */
html body .discovery-section { max-width: 1280px; margin: 42px auto 0; color: #f5f5f5; }
html body .discovery-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
html body .discovery-kicker { display: block; margin-bottom: 8px; color: #f5c518; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
html body .discovery-heading h2 { position: relative; margin: 0 0 4px; padding-left: 15px; font-size: clamp(22px,2.3vw,30px); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
html body .discovery-heading h2::before { content: ""; position: absolute; left: 0; top: 1px; bottom: 2px; width: 4px; border-radius: 3px; background: #f5c518; }
html body .discovery-heading h2 span { font-weight: 400; }
html body .discovery-heading p { margin: 0 0 0 15px; color: #aaa; font-size: 14px; }
html body .discovery-heading > a { flex: none; margin-bottom: 4px; color: #f5c518; font-size: 14px; font-weight: 600; }
html body .discovery-heading > a:hover { text-decoration: underline; }
html body .discovery-loading { width: 100%; min-height: 75px; display: flex; align-items: center; margin: 0; padding: 20px; border-radius: 8px; background: #1b1b1f; color: #a9a9ad; }

html body .discovery-featured-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
html body .discovery-featured-card { position: relative; display: block; min-height: 260px; overflow: hidden; border-radius: 8px; background: #202024; }
html body .discovery-featured-card img { display: block; width: 100%; height: 100%; min-height: 260px; object-fit: cover; transition: transform .25s ease; }
html body .discovery-featured-card:hover img { transform: scale(1.04); }
html body .discovery-featured-shade { position: absolute; inset: 0; background: linear-gradient(0deg,rgba(0,0,0,.9),transparent 78%); }
html body .discovery-featured-copy { position: absolute; inset: auto 16px 16px; display: grid; gap: 3px; }
html body .discovery-featured-copy small { color: #f5c518; font-size: 12px; font-weight: 700; }
html body .discovery-featured-copy strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 19px; line-height: 1.25; }
html body .discovery-featured-copy > span { color: #c7c7c7; font-size: 12px; }

html body .discovery-episode { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); overflow: hidden; border: 1px solid #333; border-radius: 9px; background: #1b1b1f; }
html body .discovery-episode-media { position: relative; display: block; width: 100%; min-height: 300px; padding: 0; border: 0; background: #111; }
html body .discovery-episode-media img { display: block; width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
html body .discovery-play { position: absolute; left: 20px; bottom: 20px; display: grid; place-items: center; width: 56px; height: 56px; border: 2px solid #fff; border-radius: 50%; background: #0009; color: #fff; font-size: 20px; }
html body .discovery-episode-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(20px,3vw,42px); }
html body .discovery-episode-copy h3 { margin: 0; font-size: clamp(28px,3.5vw,44px); font-weight: 700; line-height: 1.08; }
html body .discovery-episode-label { margin: 6px 0 16px; color: #f5c518; font-size: 17px; font-weight: 700; }
html body .discovery-episode-copy > p:not(.discovery-episode-label) { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; max-width: 520px; color: #c6c6c9; font-size: 15px; line-height: 1.55; }
html body .discovery-episode-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 12px; }
html body .discovery-episode-actions button { padding: 10px 18px; border: 0; border-radius: 5px; background: #f5c518; color: #111; font: 700 14px Roboto,Arial,sans-serif; }
html body .discovery-episode-actions a { color: #f5c518; font-size: 14px; font-weight: 700; }
html body .discovery-episode .video-stage-frame { min-height: 300px; }

html body .discovery-watchlist-empty { display: flex; align-items: center; gap: 18px; padding: 24px; border-radius: 9px; background: #1b1b1f; }
html body .discovery-watchlist-empty > span { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 5px; background: #f5c518; color: #111; font-size: 32px; line-height: 1; }
html body .discovery-watchlist-empty div { flex: 1; }
html body .discovery-watchlist-empty strong { font-size: 19px; }
html body .discovery-watchlist-empty p { margin: 3px 0 0; color: #bcbcc0; font-size: 14px; }
html body .discovery-watchlist-empty a { padding: 11px 15px; border-radius: 5px; background: #f5c518; color: #111; font-size: 14px; font-weight: 700; white-space: nowrap; }
html body .discovery-watchlist-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 13px; }
html body .discovery-watchlist-card { display: block; overflow: hidden; border-radius: 7px; background: #1b1b1f; }
html body .discovery-watchlist-card img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
html body .discovery-watchlist-card span { display: grid; gap: 4px; padding: 12px; }
html body .discovery-watchlist-card strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
html body .discovery-watchlist-card small { color: #bbb; }
html body .discovery-watchlist-card b { display: none; }

html body .discovery-people-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 20px; }
html body .discovery-person { display: grid; justify-items: center; gap: 10px; min-width: 0; text-align: center; }
html body .discovery-person img { width: min(100%,164px); aspect-ratio: 1; border-radius: 50%; object-fit: cover; background: #202024; }
html body .discovery-person span { display: grid; gap: 3px; }
html body .discovery-person strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.25; }
html body .discovery-person small { color: #aaa; }

html body .discovery-news-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 22px; }
html body .discovery-news-item { display: grid; grid-template-columns: 110px minmax(0,1fr) 14px; align-items: center; gap: 14px; min-width: 0; padding: 10px; border-radius: 7px; background: #1b1b1f; }
html body .discovery-news-item:hover, html body .discovery-watchlist-card:hover { background: #28282d; }
html body .discovery-news-item img { width: 110px; height: 73px; object-fit: cover; border-radius: 4px; }
html body .discovery-news-item span { min-width: 0; }
html body .discovery-news-item small { display: block; margin-bottom: 5px; color: #f5c518; }
html body .discovery-news-item strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 15px; line-height: 1.3; }
html body .discovery-news-item b { color: #aaa; font-size: 23px; font-weight: 400; }

html body .discovery-destinations { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
html body .discovery-destinations a { display: grid; gap: 6px; padding: 23px; border: 1px solid #323238; border-radius: 8px; background: linear-gradient(145deg,#242426,#171719); }
html body .discovery-destinations a:hover { border-color: #f5c518; }
html body .discovery-destinations span { color: #f5c518; font-size: 11px; font-weight: 800; letter-spacing: .09em; }
html body .discovery-destinations strong { font-size: 20px; }
html body .discovery-destinations small { color: #aaa; font-size: 13px; }
html body .discovery-recent-grid { display: flex; gap: 14px; overflow-x: auto; }
html body .discovery-recent-grid a { width: 165px; flex: none; }
html body .discovery-recent-grid img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 6px; }
html body .discovery-recent-grid strong { display: block; margin-top: 7px; font-size: 14px; }

@media (max-width: 800px) {
  html body .discovery-featured-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  html body .discovery-featured-card:last-child { display: none; }
  html body .discovery-episode { grid-template-columns: 1fr; }
  html body .discovery-episode-media, html body .discovery-episode-media img { min-height: 0; aspect-ratio: 16/9; }
  html body .discovery-watchlist-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  html body .discovery-people-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  html body .discovery-section { margin-top: 32px; }
  html body .discovery-heading { align-items: start; }
  html body .discovery-heading > a { font-size: 12px; text-align: right; }
  html body .discovery-heading p { font-size: 13px; }
  html body .discovery-featured-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; }
  html body .discovery-featured-card, html body .discovery-featured-card:last-child { display: block; width: 80%; min-width: 80%; min-height: 220px; scroll-snap-align: start; }
  html body .discovery-featured-card img { min-height: 220px; }
  html body .discovery-featured-copy strong { font-size: 16px; }
  html body .discovery-episode-copy { padding: 20px; }
  html body .discovery-episode-copy h3 { font-size: 28px; }
  html body .discovery-watchlist-empty { flex-wrap: wrap; gap: 12px; padding: 17px; }
  html body .discovery-watchlist-empty > span { width: 40px; height: 40px; font-size: 26px; }
  html body .discovery-watchlist-empty a { width: 100%; text-align: center; }
  html body .discovery-watchlist-grid, html body .discovery-people-grid { display: flex; overflow-x: auto; gap: 12px; }
  html body .discovery-watchlist-card { min-width: 160px; width: 160px; }
  html body .discovery-person { min-width: 118px; width: 118px; }
  html body .discovery-news-list, html body .discovery-destinations { grid-template-columns: 1fr; }
  html body .discovery-news-item { grid-template-columns: 95px minmax(0,1fr) 12px; }
  html body .discovery-news-item img { width: 95px; height: 66px; }
}
