/* W203, course page only (kept out of style.css: the home pages are at their CSS budget, SEO15). */
/* arm b of registry course_sample_first: title + sample button first, the picture after them (phones) */
@media (max-width: 560px) {
  .jhero.jhero-play-first { display: flex; flex-direction: column; }
  .jhero.jhero-play-first .jhero-text { order: -1; }
  .jhero.jhero-play-first .jhero-art { margin-top: 12px; }
}
/* a short phone (667 px): the cookie bar was 149 px tall and covered the sample button; now about 90 px */
@media (max-width: 560px) and (max-height: 700px) {
  .consent-banner { padding: 4px 10px; gap: 4px 8px; flex-wrap: wrap; align-items: center; }
  .consent-banner .consent-text, .consent-banner p { font-size: .875rem; line-height: 1.25; flex: 1 1 100%; min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .consent-banner .consent-actions { flex: 1 1 100%; flex-direction: row; gap: 8px; }
  .consent-banner .consent-actions .btn { flex: 1 1 0; min-height: 44px; padding: 2px 10px; font-size: .875rem; }
}
/* W262 (desktop, 561 px and up): the hero text (title, sample button, language, transcript, sign-up line, lead) is taller than the 200-360 px
   picture it was laid over (position:absolute; bottom:0; the hero clips with overflow:hidden), so on a desktop the TOP of it - the title and the
   sample Play button - was cut off above the hero and sat under the breadcrumb: invisible, unclickable (YouTube course landers, 36 engaged, 0 plays).
   Now the text is a normal block on the same dark ground, ABOVE the picture, so the button is always in the first screen and nothing can clip. */
@media (min-width: 561px) {
  .jhero.has-art { display: flex; flex-direction: column; }
  .jhero.has-art .jhero-text { position: static; order: -1; background: #0b1120; }
  .jhero.has-art .jhero-art { order: 0; }
}
