/* Corrected build: dark search-about card, rainbow rule, #fe4437 links, magnifying-glass motif - 2026-07-11 */
:root {
  --fs-h1: clamp(34px, 6.5vw, 65px);
  --fs-sub: clamp(16px, 2.6vw, 22px)
}

.portal-hero {
  position: relative;
  background: #eef1f5;
  border-bottom: 1px solid var(--hairline);
  box-shadow: 0 7px 7px 2px rgba(0, 0, 0, .04), inset 1px 1px 10px 10px rgba(47, 108, 255, .06)
}

.portal-hero::before {
  content: none
}

.portal-hero__container {
  max-width: 980px;
  margin: 0 auto;
  padding: var(--space-7) var(--space-5) var(--space-8);
  text-align: center;
  position: relative;
  z-index: 1
}

.portal-hero__logo {
  text-align: center
}

.portal-hero__logo img {
  display: block;
  margin: 0 auto;
  width: clamp(360px, 80vw, 700px);
  height: auto;
  -webkit-filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .12)) drop-shadow(0 2px 6px rgba(0, 0, 0, .08));
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .12)) drop-shadow(0 2px 6px rgba(0, 0, 0, .08))
}

.portal-hero__line {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 8px;
  margin: 0 0 var(--space-6)
}

.portal-hero__line h1 {
  display: inline;
  margin: 0;
  font-size: var(--fs-sub);
  line-height: 1.25;
  font-weight: 900;
  color: var(--muted)
}

.portal-hero__rest {
  display: inline;
  font-size: var(--fs-sub);
  line-height: 1.25;
  color: var(--muted)
}

@media(max-width:600px) {
  .portal-hero__line {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    white-space: normal;
    gap: 6px 8px;
    max-width: 100%;
    overflow-wrap: anywhere
  }

  .portal-hero__line h1,
  .portal-hero__rest {
    display: inline
  }
}

@media(max-width:480px) {
  .portal-hero__line {
    gap: 6px
  }

  .portal-hero {
    --fs-sub: clamp(18px, 5.2vw, 24px)
  }

  .portal-hero__line h1,
  .portal-hero__rest {
    font-size: var(--fs-sub)
  }
}

.portal-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden
}

.portal-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
  opacity: .30
}

@media(max-width:640px) {
  .portal-hero__video {
    opacity: .30
  }
}

@media(prefers-reduced-motion:reduce) {
  .portal-hero__bg {
    display: none
  }
}

.portal-hero__title {
  margin: 0 0 var(--space-3) 0;
  font-size: var(--fs-h1);
  line-height: 1.05;
  font-weight: 900;
  color: #252525;
  font-family: Suwannaphum, "Open Sans", sans-serif;
  text-shadow: -4px 8px 12px #c8c8c8
}

.portal-hero__tagline {
  margin: 0 0 var(--space-6) 0;
  font-size: var(--fs-sub);
  color: var(--muted)
}

.portal-search {
  position: relative;
  margin: 0 auto var(--space-6);
  padding: var(--space-6);
  max-width: 720px;
  background: rgba(248, 249, 251, .7);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 7px 2px rgba(0, 0, 0, .04), inset 1px 1px 11px 6px rgba(47, 108, 255, .06);
}

@supports (backdrop-filter: blur(4px)) {
  .portal-search {
    backdrop-filter: saturate(140%) blur(4px);
    -webkit-backdrop-filter: saturate(140%) blur(4px);
  }
}

.portal-search input {
  width: 100%;
  height: 52px;
  padding: 0 var(--space-5);
  font-size: var(--fs-lg);
  color: var(--text);
  background: #fff;
  border: 1px solid #c8c8c8;
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .05), 0 1px 7px 1px rgba(0, 0, 0, .05)
}

.portal-search input::placeholder {
  color: #6b7280;
  opacity: 1
}

.portal-search input[type="search"] {
  padding-right: 3px
}

.portal-search input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: searchfield-cancel-button;
  height: 18px;
  width: 18px;
  margin-right: 48px;
  cursor: pointer
}

.portal-search__submit {
  position: absolute;
  right: var(--space-6);
  top: calc(50% + 3px);
  transform: translateY(-50%);
  height: 40px;
  min-width: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  color: #fe4437;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-right: 8px
}

.portal-cta {
  display: grid;
  gap: var(--space-3);
  max-width: 680px;
  margin: 0 auto
}

.portal-cta__btn {
  display: grid;
  place-items: center;
  padding: 18px var(--space-6);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .02em;
  border-radius: 18px;
  color: #fff;
  background: var(--tvguide-blue);
  border: 1px solid rgba(0, 0, 0, .05);
  box-shadow: 0 1px 9px 5px rgb(55 133 254 / 22%), inset -3px -5px 6px 3px rgba(0, 0, 0, .08), inset 3px 5px 5px 3px rgba(255, 255, 255, .18);
  transition: transform .08s ease-out, box-shadow .12s ease-out, background-color .12s ease-out;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .25), 0 0 1px rgba(0, 0, 0, .15)
}

.portal-cta__btn:hover {
  background: var(--tvguide-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 1px 13px 8px rgb(55 133 254 / 22%), inset -3px -5px 6px 3px rgba(0, 0, 0, .08), inset 3px 5px 5px 3px rgba(255, 255, 255, .18);
  text-shadow: 0 1.5px 0 rgba(0, 0, 0, .28), 0 0 1px rgba(0, 0, 0, .18)
}

.portal-cta__btn:active {
  background: var(--tvguide-blue-pressed);
  transform: translateY(0);
  box-shadow: 0 1px 13px 8px rgb(55 133 254 / 22%), inset -3px -5px 6px 3px rgba(0, 0, 0, .08), inset 3px 5px 5px 3px rgba(255, 255, 255, .18);
  text-shadow: 0 .5px 0 rgba(0, 0, 0, .22), 0 0 1px rgba(0, 0, 0, .14)
}

.portal-cta__btn:focus-visible {
  outline: 3px solid var(--tvguide-blue);
  outline-offset: 2px
}

.portal-cta__btn[aria-disabled="true"],
.portal-cta__btn:disabled {
  opacity: .65;
  cursor: not-allowed
}

.portal-cta__btn--red {
  background: #FE4437;
  color: #fff;
  border-color: rgba(0, 0, 0, .05);
  box-shadow: 0 1px 9px 4px rgb(254 68 55 / 16%), inset -3px -5px 6px 3px rgba(0, 0, 0, .08), inset 3px 5px 5px 3px rgba(255, 255, 255, .18)
}

.portal-cta__btn--red:hover {
  background: #ff4f42;
  box-shadow: 0 1px 13px 8px rgb(254 68 55 / 16%), inset -3px -5px 6px 3px rgba(0, 0, 0, .08), inset 3px 5px 5px 3px rgba(255, 255, 255, .18)
}

.portal-cta__btn--red:active {
  background: #e63e32;
  box-shadow: 0 1px 13px 8px rgb(254 68 55 / 16%), inset -3px -5px 6px 3px rgba(0, 0, 0, .08), inset 3px 5px 5px 3px rgba(255, 255, 255, .18)
}

.portal-cta__btn--red:focus-visible {
  outline-color: #FE4437
}

@media(max-width:480px) {
  .portal-hero__title {
    font-size: clamp(46px, 11vw, 72px);
    font-family: Suwannaphum, "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 900
  }

  .portal-hero__tagline {
    font-size: clamp(20px, 4.6vw, 26px)
  }
}

@media(min-width:720px) {
  .portal-hero__container {
    padding-bottom: var(--space-7)
  }

  .portal-cta {
    gap: var(--space-3)
  }
}

@media(min-width:1024px) {
  .portal-hero__container {
    padding-bottom: var(--space-8)
  }
}

.tv-tonight {
  padding: var(--space-7) var(--space-5);
  background: var(--bg)
}

.tv-tonight__container {
  max-width: 1280px;
  margin: 0 auto
}

.tv-tonight__title {
  margin: 0 0 var(--space-5);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.01em
}

.show-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  list-style: none;
  padding: 0;
  margin: 0
}

@media(min-width:700px) {
  .show-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(min-width:1024px) {
  .show-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

.show-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform .08s ease-out, box-shadow .12s ease-out
}

.show-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06)
}

.show-card__media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #eef1f5;
  overflow: hidden
}

.show-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block
}

.show-card__body {
  padding: var(--space-4)
}

.show-card__title {
  margin: 0 0 var(--space-3);
  font-size: clamp(18px, 2.2vw, 20px);
  line-height: 1.3
}

.show-card__title a {
  color: var(--text);
  text-decoration: none
}

.show-card__title a:hover {
  text-decoration: underline
}

.show-card__title a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px
}

.show-card__channel {
  margin-top: var(--space-2);
  height: 24px;
  width: auto;
  display: block
}

.tv-tomorrow {
  padding: var(--space-7) var(--space-5);
  background: var(--bg)
}

.tv-tomorrow__container {
  max-width: 1280px;
  margin: 0 auto
}

.tv-tomorrow__title {
  margin: 0 0 var(--space-5);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.01em
}

.faq {
  padding: var(--space-7) var(--space-5);
  background: var(--bg)
}

.faq__container {
  max-width: 980px;
  margin: 0 auto
}

.faq__title {
  margin: 0 0 var(--space-5);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.01em
}

.accordion {
  display: grid;
  gap: var(--space-4)
}

.accordion__item {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: #fff;
  overflow: clip
}

.accordion__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  position: relative
}

.accordion__summary::-webkit-details-marker {
  display: none
}

.accordion__heading {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 20px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.3
}

.accordion__summary::after {
  content: "▾";
  margin-left: auto;
  font-size: 18px;
  transition: transform .15s ease;
  color: var(--muted)
}

.accordion__item[open] .accordion__summary::after {
  transform: rotate(180deg)
}

.accordion__summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px
}

.accordion__content {
  padding: 0 var(--space-5) var(--space-5);
  border-top: 1px solid var(--hairline);
  background: #fff
}

.faq a {
  color: var(--brand-red);
  text-decoration: none
}

.faq a:hover {
  text-decoration: underline
}

.faq__text {
  margin: var(--space-4) 0 0;
  font-size: var(--fs-base);
  color: var(--text)
}

.accordion__subitem {
  margin-top: var(--space-4);
  border: 1px dashed var(--hairline);
  border-radius: var(--radius);
  background: #fff
}

.accordion__subsummary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4)
}

.accordion__subsummary::-webkit-details-marker {
  display: none
}

.accordion__subsummary::after {
  content: "+";
  margin-left: auto;
  font-size: 18px;
  color: var(--muted);
  transition: transform .15s ease
}

.accordion__subitem[open] .accordion__subsummary::after {
  transform: rotate(45deg)
}

.accordion__subcontent {
  padding: 0 var(--space-4) var(--space-4);
  border-top: 1px dashed var(--hairline)
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-2) var(--space-3);
  margin-top: var(--space-3)
}


/* U.S. homepage city links: two rows of five on desktop. */
.links-grid--us-cities {
  grid-template-columns: repeat(2, minmax(0, 1fr))
}

.links-grid--us-cities a {
  text-align: center
}

@media(min-width:640px) {
  .links-grid--us-cities {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }
}

@media(min-width:900px) {
  .links-grid--us-cities {
    grid-template-columns: repeat(5, minmax(0, 1fr))
  }
}

.links-grid a {
  display: block;
  padding: 6px 10px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--brand-red);
  background: #fff;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.links-grid a:hover {
  border-color: var(--brand-red);
  text-decoration: none
}

.faq-more {
  margin-top: var(--space-6)
}

.faq-more__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: #fff;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  transition: box-shadow .15s ease, transform .08s ease
}

.faq-more__link:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
  transform: translateY(-1px)
}

.faq-more__link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-lg)
}

.faq-more__text strong {
  display: block;
  font-weight: 800;
  color: var(--text);
  font-size: clamp(18px, 2.4vw, 20px);
  line-height: 1.25
}

.faq-more__text span {
  display: block;
  margin-top: 2px;
  color: var(--brand-red);
  font-weight: 700;
  font-size: clamp(16px, 2vw, 18px)
}

.faq-more__arrow {
  font-size: 22px;
  line-height: 1;
  color: var(--brand-red);
  transition: transform .15s ease
}

.faq-more__link:hover .faq-more__arrow {
  transform: translateX(4px)
}

@media(max-width:480px) {
  .faq__title {
    font-size: clamp(22px, 5.5vw, 30px)
  }

  .accordion__heading {
    font-size: clamp(18px, 4.4vw, 20px)
  }

  .faq-more__link {
    padding: var(--space-4) var(--space-5)
  }

  .faq-more__text strong {
    font-size: clamp(18px, 5.2vw, 20px)
  }

  .faq-more__text span {
    font-size: clamp(16px, 4.6vw, 18px)
  }
}

.country-switch {
  margin: var(--space-5) auto 0;
  max-width: 860px;
  display: flex;
  justify-content: center
}

.country-dropdown {
  position: relative
}

.country-dropdown__button {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--hairline);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06);
  font-weight: 800
}

.country-dropdown__button::-webkit-details-marker {
  display: none
}

.country-dropdown__icon {
  opacity: .9
}

.country-dropdown__caret {
  margin-left: 4px;
  color: var(--muted)
}

.country-dropdown__button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 999px
}

.country-dropdown__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(720px, calc(100vw - 32px));
  padding: var(--space-4);
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .12)
}

.country-dropdown:not([open]) .country-dropdown__panel {
  display: none
}

.country-dropdown__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none
}

.country-link {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  text-align: center;
  transition: box-shadow .12s ease, transform .08s ease, border-color .12s ease, color .12s ease
}

.country-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(47, 108, 255, .12)
}

.country-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 12px
}

@media(max-width:640px) {
  .country-dropdown__panel {
    width: min(560px, calc(100vw - 24px))
  }
}

.portal-hero,
.tv-tonight,
.tv-tomorrow,
.faq {
  overflow-x: clip
}

@media(max-width:420px) {

  .portal-hero__container,
  .tv-tonight,
  .tv-tomorrow,
  .faq {
    padding-left: var(--space-4);
    padding-right: var(--space-4)
  }
}

@media(max-width:360px) {

  .portal-hero__container,
  .tv-tonight,
  .tv-tomorrow,
  .faq {
    padding-left: var(--space-3);
    padding-right: var(--space-3)
  }
}

.show-card__media img {
  object-position: top
}

.tv-streamer {
  padding: var(--space-7) var(--space-5);
  background: var(--bg)
}

.tv-streamer__container {
  max-width: 1280px;
  margin: 0 auto
}

.tv-streamer__title {
  margin: 0 0 var(--space-5);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.01em
}

.show-card__streamer {
  margin-top: var(--space-2);
  height: 50px;
  width: auto;
  display: block
}

.tv-tonight__more,
.tv-streamer__more {
  margin-top: var(--space-6)
}

.tv-tonight__more-btn,
.tv-streamer__more-btn {
  display: block;
  width: 100%;
  padding: 18px var(--space-6);
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 14px;
  transition: transform .08s ease-out, box-shadow .12s ease-out, background-color .12s ease-out;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .25), 0 0 1px rgba(0, 0, 0, .15)
}

.tv-tonight__more-btn {
  background: #FE4437;
  box-shadow: 0 1px 9px 4px rgb(254 68 55 / 16%), inset -3px -5px 6px 3px rgba(0, 0, 0, .08), inset 3px 5px 5px 3px rgba(255, 255, 255, .18)
}

.tv-tonight__more-btn:hover {
  background: #ff4f42;
  transform: translateY(-1px);
  box-shadow: 0 1px 13px 8px rgb(254 68 55 / 16%), inset -3px -5px 6px 3px rgba(0, 0, 0, .08), inset 3px 5px 5px 3px rgba(255, 255, 255, .18)
}

.tv-tonight__more-btn:active {
  background: #e63e32;
  transform: translateY(0);
  box-shadow: 0 1px 13px 8px rgb(254 68 55 / 16%), inset -3px -5px 6px 3px rgba(0, 0, 0, .08), inset 3px 5px 5px 3px rgba(255, 255, 255, .18)
}

.tv-tonight__more-btn:focus-visible {
  outline: 3px solid #FE4437;
  outline-offset: 2px
}

.tv-streamer__more-btn {
  background: var(--tvguide-blue);
  box-shadow: 0 1px 9px 5px rgb(55 133 254 / 22%), inset -3px -5px 6px 3px rgba(0, 0, 0, .08), inset 3px 5px 5px 3px rgba(255, 255, 255, .18)
}

.tv-streamer__more-btn:hover {
  background: var(--tvguide-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 1px 13px 8px rgb(55 133 254 / 22%), inset -3px -5px 6px 3px rgba(0, 0, 0, .08), inset 3px 5px 5px 3px rgba(255, 255, 255, .18)
}

.tv-streamer__more-btn:active {
  background: var(--tvguide-blue-pressed);
  transform: translateY(0);
  box-shadow: 0 1px 13px 8px rgb(55 133 254 / 22%), inset -3px -5px 6px 3px rgba(0, 0, 0, .08), inset 3px 5px 5px 3px rgba(255, 255, 255, .18)
}

.tv-streamer__more-btn:focus-visible {
  outline: 3px solid var(--tvguide-blue);
  outline-offset: 2px
}

@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.portal-search input {
  padding: 22px;
  border: 8px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from var(--angle),
      rgba(255, 77, 79, .5),
      rgba(255, 184, 85, .5),
      rgba(123, 216, 143, .5),
      rgba(47, 108, 255, .5),
      rgba(255, 77, 79, .5)) border-box;
  animation: ott-rainbow 2s linear infinite;
  box-shadow: 0 0 7px 2px rgb(0 0 0 / 13%), inset 1px 1px 5px 3px #cecece73;
}

@keyframes ott-rainbow {
  to {
    --angle: 1turn
  }
}

@media (prefers-reduced-motion:reduce) {
  .portal-search input {
    animation: none
  }
}

.tv-tonight__container .main-paragraph a {
  color: #fe4437;
  text-decoration: underline;
}

.tv-tonight__container .main-paragraph a:hover {
  color: #ff4f42
}

.tv-tonight__container .main-paragraph a:focus-visible {
  outline: 3px solid #fe4437;
  outline-offset: 2px;
  border-radius: 4px;
}

.tv-tonight__container .main-paragraph {
  margin-top: -25px;
  margin-bottom: 20px;
  font-size: 20px;
}

.portal-cta__btn {
  text-transform: uppercase;
}

.links-intro {
  margin: 0 0 var(--space-2);
  font-weight: 700;
}

.links-intro a {
  color: #fe4437;
  text-decoration: underline;
}

.links-intro a:hover {
  color: #ff4f42;
}

.links-intro a:focus-visible {
  outline: 3px solid #fe4437;
  outline-offset: 2px;
  border-radius: 4px;
}

.faq .links-lead {
  margin: 10px 0 10px;
  font-weight: 800;
  font-size: clamp(14px, 2vw, 20px)
}

.faq .links-lead a {
  color: #fe4437;
  text-decoration: underline
}

.faq .links-lead a:hover {
  color: #ff4f42
}

.faq .links-lead a:focus-visible {
  outline: 3px solid #fe4437;
  outline-offset: 2px;
  border-radius: 4px
}

.portal-hero__lead {
  margin: 6px 0 16px;
  font-weight: 800;
  color: #4b5563
}

.portal-hero__lead {
  margin: 6px 0 16px;
  text-align: center;
  font-weight: 800;
  color: #4b5563;
  font-size: clamp(16px, 2.2vw, 20px);
}

.portal-hero__lead a {
  color: #fe4437;
  text-decoration: underline;
  font-weight: 800;
}

.portal-hero__lead a:hover {
  color: #ff4f42
}

.portal-hero__lead a:focus-visible {
  outline: 3px solid #fe4437;
  outline-offset: 2px;
  border-radius: 4px;
}


/* --- Search preview (typeahead) --- */
.search-suggest {
  position: absolute;
  left: var(--space-6);
  right: var(--space-6);
  top: calc(100% + 10px);
  z-index: 40;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .12), 0 2px 8px rgba(0, 0, 0, .06);
  overflow: hidden;
}

@supports (backdrop-filter: blur(6px)) {
  .search-suggest {
    backdrop-filter: saturate(140%) blur(6px);
    -webkit-backdrop-filter: saturate(140%) blur(6px);
  }
}

.search-suggest__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-4) var(--space-3);
  align-items: stretch;
}

@media (max-width: 720px) {
  .search-suggest__inner {
    grid-template-columns: 1fr;
  }

  /* On mobile: Streaming section first, then Live TV */
  .search-suggest__section[aria-labelledby="ss-live-title"] {
    order: 2;
  }

  .search-suggest__section[aria-labelledby="ss-stream-title"] {
    order: 1;
  }
}


.search-suggest__section-title {
  margin: 0 0 8px;
  font-size: var(--fs-sm);
  letter-spacing: .02em;
  color: var(--muted);
  font-weight: 800;
}

.search-suggest__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

@media (min-width: 721px) {
  .search-suggest__section {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .search-suggest__list {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  #searchSuggestActors {
    flex: 0.25;
  }

  .search-suggest__list .search-suggest__cta {
    margin-top: auto;
    margin-bottom: 0;
  }
}

.search-suggest__item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  background: #fff;
}

.search-suggest__item:hover {
  border-color: var(--hairline);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .06);
}

.search-suggest__item[aria-selected="true"] {
  outline: 3px solid var(--accent);
  outline-offset: 0;
}

/* Button-style "Show more results.." inside each column */
.search-suggest__cta {
  display: block;
  margin-top: 8px;
  margin-bottom: 15px;
  text-align: center;
  padding: 10px 14px;
  border-radius: 10px;
  /* was 999px */
  font-size: 14px;
  /* was 11px */
  font-weight: 800;
  letter-spacing: 0.05em;
  /* was ~0.16em */
  /* text-transform removed as requested */
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .25), 0 0 1px rgba(0, 0, 0, .15);
  transition:
    transform 0.08s ease-out,
    box-shadow 0.12s ease-out,
    background-color 0.12s ease-out,
    color 0.12s ease-out;
}

.search-suggest__cta--live {
  background: #FE4437;
  color: #fff;
  box-shadow:
    0 1px 9px 4px rgb(254 68 55 / 16%),
    inset -2px -3px 5px rgba(0, 0, 0, .08),
    inset 2px 3px 4px rgba(255, 255, 255, .18);
}

.search-suggest__cta--stream {
  background: var(--tvguide-blue);
  color: #fff;
  box-shadow:
    0 1px 9px 5px rgb(55 133 254 / 22%),
    inset -2px -3px 5px rgba(0, 0, 0, .08),
    inset 2px 3px 4px rgba(255, 255, 255, .18);
}

.search-suggest__cta--live:hover {
  background: #ff4f42;
  transform: translateY(-1px);
}

.search-suggest__cta--stream:hover {
  background: var(--tvguide-blue-hover);
  transform: translateY(-1px);
}

.search-suggest__cta--live:active,
.search-suggest__cta--stream:active {
  transform: translateY(0);
}

/* Reduced motion: keep them static */
@media (prefers-reduced-motion: reduce) {
  .search-suggest__cta {
    transition: none;
  }
}

.search-suggest__thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #eef1f5;
  overflow: hidden;
  display: block;
}

.search-suggest__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.search-suggest__title {
  font-weight: 800;
  line-height: 1.2;
  font-size: 15px;
}

.search-suggest__meta {
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .01em;
}

.search-suggest__meta--time {
  font-weight: 700;
  color: #111827;
}

.search-suggest-channel {
  font-size: 10px;
  font-weight: bolder;
  margin: 3px 0;
}

.search-suggest__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f7f7fb;
  color: var(--muted);
  border: 1px solid var(--hairline);
}

.search-suggest__logo {
  height: 18px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  opacity: .95;
}

/* TV Listings: channel logo 20px tall */
#searchSuggestLive .search-suggest__logo {
  height: 20px;
}

/* Streaming: service logo 40px tall, with tighter pill padding */
#searchSuggestStreaming .search-suggest__logo {
  height: 40px;
}

#searchSuggestStreaming .search-suggest__badge {
  padding: 2px 6px;
}

.search-suggest__more {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 18px 16px 14px;
  /* extra top padding for the rainbow bar */
  border-top: none;
  font-weight: 800;
  color: var(--brand-red);
  text-decoration: none;
  background: #fff;
}

/* 4px rainbow line above the CTA */
.search-suggest__more::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
      var(--brand-red),
      #ffd54a,
      #7bd88f,
      var(--tvguide-blue),
      var(--brand-red));
}

.search-suggest__more:hover {
  text-decoration: underline;
}

.search-suggest__arrow {
  font-size: 18px;
  line-height: 1;
}

.search-suggest mark {
  background: rgba(254, 68, 55, .14);
  color: inherit;
  padding: 0 2px;
  border-radius: 4px;
}

/* Variant row: pill-style "More results" link inside each column */
.search-suggest__item--more {
  grid-template-columns: 1fr auto;
  padding: 8px 12px;
  margin-top: 4px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.92));
  color: #f9fafb;
  border-radius: 999px;
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.45),
    0 0 0 1px rgba(148, 163, 184, 0.4);
}

.search-suggest__item--more .search-suggest__title {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.search-suggest__item--more .search-suggest__arrow {
  font-size: 16px;
  opacity: 0.9;
}

.search-suggest__item--more:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.55),
    0 0 0 1px rgba(59, 130, 246, 0.75);
  background:
    radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.4), transparent 60%),
    linear-gradient(135deg, #020617, #020617);
}

/* Ensure normal items keep their default grid layout */
.search-suggest__item:not(.search-suggest__item--more) {
  grid-template-columns: 48px 1fr auto;
}

/* --- Extra high-tech motion for search preview --- */

/* Make the panel animate from the top edge */
.search-suggest {
  transform-origin: top center;
}

/* Panel entrance animation + glow */
.search-suggest--visible {
  animation: searchSuggestIn 220ms cubic-bezier(.16, 1, .3, 1);
}

.search-suggest::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(59, 130, 246, .12), transparent 35%, rgba(236, 72, 153, .16), transparent 65%),
    radial-gradient(circle at 0 0, rgba(59, 130, 246, .18), transparent 55%);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .26s ease-out, transform .26s ease-out;
}

.search-suggest--visible::before {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {

  /* Reduce padding so the search box + results take up more width */
  .portal-search {
    padding: var(--space-4);
  }

  /* Match the panel edges to the search box edges */
  .search-suggest {
    left: var(--space-4);
    right: var(--space-4);
  }
}

@keyframes searchSuggestIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Staggered cards */
@keyframes searchSuggestRowIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-suggest--visible .search-suggest__item {
  opacity: 0;
  transform: translateY(6px);
  animation: searchSuggestRowIn 260ms cubic-bezier(.16, 1, .3, 1) forwards;
}

.search-suggest--visible .search-suggest__item:nth-child(1) {
  animation-delay: 40ms;
}

.search-suggest--visible .search-suggest__item:nth-child(2) {
  animation-delay: 70ms;
}

.search-suggest--visible .search-suggest__item:nth-child(3) {
  animation-delay: 100ms;
}

.search-suggest--visible .search-suggest__item:nth-child(4) {
  animation-delay: 130ms;
}

.search-suggest--visible .search-suggest__item:nth-child(5) {
  animation-delay: 160ms;
}

.search-suggest--visible .search-suggest__item:nth-child(6) {
  animation-delay: 190ms;
}

/* Column-level "More results" row */
.search-suggest__item--more {
  grid-template-columns: 1fr auto;
  padding: 10px 12px;
  background: linear-gradient(90deg, #ffffff, #fef3f2);
}

.search-suggest__item--more .search-suggest__title {
  font-weight: 800;
}

.search-suggest__item--more .search-suggest__meta {
  font-size: 12px;
  color: var(--muted);
}

.search-suggest__meta--time {
  font-weight: 700;
  color: #111827;
}

/* Generic pill style (re-usable later if needed) */
.search-suggest__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

/* NEW badge: white text on yellow pill */
.search-suggest__pill--new {
  background: #facc15;
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

/* Live vs Streaming badges */
.search-suggest__badge--live,
.search-suggest__badge--stream {
  position: relative;
  overflow: hidden;
}

.search-suggest__badge--live::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 1px solid rgba(248, 113, 113, .7);
  box-shadow: 0 0 0 0 rgba(248, 113, 113, .7);
  opacity: 0;
  animation: searchBadgePulse 1.8s cubic-bezier(.22, .61, .36, 1) infinite;
}

.search-suggest__badge--stream {
  background: radial-gradient(circle at 0 0, rgba(59, 130, 246, .12), rgba(15, 23, 42, .02));
  border-color: rgba(129, 140, 248, .6);
}

@keyframes searchBadgePulse {
  0% {
    opacity: .9;
    box-shadow: 0 0 0 0 rgba(248, 113, 113, .65);
  }

  70% {
    opacity: 0;
    box-shadow: 0 0 0 10px rgba(248, 113, 113, 0);
  }

  100% {
    opacity: 0;
    box-shadow: 0 0 0 0 rgba(248, 113, 113, 0);
  }
}

/* Turn motion off for users who prefer it */
@media (prefers-reduced-motion: reduce) {

  .search-suggest--visible,
  .search-suggest--visible .search-suggest__item,
  .search-suggest__badge--live::after {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.portal-search {
  position: relative;
}

/* === Search preview layering (mobile-safe) === */
.portal-search {
  position: relative;
  z-index: 60;
}

.portal-search__results,
.portal-search__preview,
.portal-search [data-preview-panel] {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 120;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .12);
  max-height: min(60vh, 520px);
  overflow: auto;
}

@media (max-width: 640px) {
  .portal-search {
    z-index: 80;
  }

  .portal-search__results,
  .portal-search__preview,
  .portal-search [data-preview-panel] {
    z-index: 140;
  }
}



/* ==========================
   Search results: layout
   ========================== */

.ott-search-results {
  margin-top: 1.75rem;
}

.ott-search-results__header {
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.75rem;
}

.ott-search-results__title {
  margin: 0 0 0.25rem;
  font-size: 1.4rem;
  font-weight: 800;
}

.ott-search-results__subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
}

/* Two-column grid: TV listings + Streaming options */

.ott-search-results__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: flex-start;
}

.ott-search-results__column {
  background-color: #ffffff;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  padding: 1rem 1.2rem;
}

.ott-search-results__column--streaming {
  background-color: #f9fafb;
}

.ott-search-results__heading {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
}

/* ==========================
   TV listings list
   ========================== */

.ott-tvlistings {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ott-tvlistings__item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.95rem;
}

.ott-tvlistings__item:last-child {
  border-bottom: none;
}

.ott-tvlistings__date {
  font-weight: 600;
  color: #111827;
}

.ott-tvlistings__time {
  color: #111827;
}

.ott-tvlistings__link {
  color: #2563eb;
  text-decoration: none;
}

.ott-tvlistings__link:hover,
.ott-tvlistings__link:focus {
  text-decoration: underline;
}

.ott-tvlistings__channel {
  color: #4b5563;
}

.ott-tvlistings__note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #6b7280;
}

/* ==========================
   Streaming options list
   ========================== */

.ott-streaming {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ott-streaming__item {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.95rem;
}

.ott-streaming__item:last-child {
  border-bottom: none;
}

.ott-streaming__service {
  font-weight: 600;
  color: #111827;
  text-decoration: none;
}

.ott-streaming__service:hover,
.ott-streaming__service:focus {
  text-decoration: underline;
  color: #2563eb;
}

.ott-streaming__details {
  color: #4b5563;
}

.ott-streaming__note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #6b7280;
}

/* Streaming items with artwork above each service */

.ott-streaming__item {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.95rem;
}

.ott-streaming__item:last-child {
  border-bottom: none;
}

.ott-streaming__thumb {
  width: 80%;
  margin: 0 auto 0.4rem;
  border-radius: 12px;
  overflow: hidden;
  background: radial-gradient(circle at 10% 0%, #111827, #020617);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.35);
}

.ott-streaming__thumb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.ott-streaming__item:hover .ott-streaming__thumb img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.ott-streaming__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ott-streaming__service {
  font-weight: 600;
  color: #111827;
  text-decoration: none;
}

.ott-streaming__service:hover,
.ott-streaming__service:focus {
  color: #2563eb;
  text-decoration: underline;
}

.ott-streaming__details {
  color: #4b5563;
  font-size: 0.9rem;
}


/* ==========================
   Responsive
   ========================== */

@media (max-width: 991px) {
  .ott-search-results__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Single-column layout for search results page */
.ott-static--search-results .ott-static__layout {
  display: block;
  /* override any grid/flex two-column layout */
}

.ott-static--search-results .ott-static__main {
  max-width: 100%;
  width: 100%;
}

/* ==========================
   Search page: layout & header
   ========================== */

.ott-static.ott-static--search-results {
  /* Light gradient background behind the whole search page */
  background: #ffffff;
}

.ott-static--search-results .ott-static__layout {
  display: block;
  /* single column; override default two-column layout */
}

.ott-static--search-results .ott-static__main {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
}

/* Header above results */

.ott-search-header {
  text-align: left;
  border-radius: 1.25rem;
  background:
    linear-gradient(135deg,
      rgba(47, 108, 255, 0.05),
      rgba(254, 68, 55, 0.02),
      rgba(229, 231, 235, 0.9));
  box-shadow:
    inset 2px 2px 5px rgba(255, 255, 255, 0.6),
    inset -2px -2px 5px rgba(0, 0, 0, 0.06),
    0 12px 40px rgba(15, 23, 42, 0.16);
}

.ott-search-header__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9ca3af;
}

.ott-search-header__subtitle {
  margin-top: 0.35rem;
  font-size: 0.98rem;
}

/* ==========================
   Shared section styling
   ========================== */

.ott-search-results {
  margin-top: 1.5rem;
}

.ott-search-results__section {
  margin-bottom: 2.5rem;
}

.ott-search-results__section-header {
  margin-bottom: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ott-search-results__section-title {
  margin-top: 0.5rem !important;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.ott-search-results__section-title span {
  color: #0f172a;
  font-weight: 800;
}

.ott-search-results__section-subtitle {
  margin: 0;
  font-size: 0.93rem;
  color: #4b5563;
}

/* ==========================
   Streaming row (top)
   ========================== */

/* Light, glossy streaming strip */
.ott-search-results__section--streaming {
  padding: 1.3rem 1.4rem 1.6rem;
  border-radius: 1.2rem;
  background:
    linear-gradient(135deg,
      rgba(47, 108, 255, 0.04),
      rgba(254, 68, 55, 0.02),
      rgba(229, 231, 235, 0.9));
  box-shadow:
    inset 2px 2px 5px rgba(255, 255, 255, 0.8),
    inset -2px -2px 5px rgba(0, 0, 0, 0.04),
    0 12px 32px rgba(15, 23, 42, 0.16);
  color: var(--text);
  position: relative;
  overflow: hidden;
}

/* Kill the dark overlay from the old version */
.ott-search-results__section--streaming::before {
  content: none;
}

/* Headings inside the light strip */
.ott-search-results__section--streaming .ott-search-results__section-title {
  color: #6b7280;
}

.ott-search-results__section--streaming .ott-search-results__section-title span {
  color: #0f172a;
  font-weight: 800;
}

.ott-search-results__section--streaming .ott-search-results__section-subtitle {
  color: #4b5563;
}


/* Grid of streaming cards: 6 on wide, 2 per row on mobile */

.ott-search-streaming-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .ott-search-streaming-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (min-width: 640px) and (max-width: 1023.98px) {
  .ott-search-streaming-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 639.98px) {
  .ott-search-streaming-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Card container */
.ott-search-streaming-card {
  position: relative;
}

/* Light, glossy card */
.ott-search-streaming-card>a {
  display: block;
  height: 100%;
  border-radius: 0.95rem;
  padding: 0.55rem;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg,
      rgba(47, 108, 255, 0.25),
      rgba(236, 72, 153, 0.2),
      rgba(56, 189, 248, 0.2)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.12s ease-out,
    box-shadow 0.16s ease-out,
    filter 0.16s ease-out;
}

.ott-search-streaming-card>a:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  filter: brightness(1.02);
}

/* Thumbnail */
.ott-search-streaming-card__thumb {
  position: relative;
  border-radius: 0.8rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #f3f4f6;
}

.ott-search-streaming-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.ott-search-streaming-card>a:hover .ott-search-streaming-card__thumb img {
  transform: scale(1.05);
  filter: saturate(1.05);
}

/* Text stack */
.ott-search-streaming-card__body {
  margin-top: 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ott-search-streaming-card__title {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.3;
  color: #111827;
}

/* Service + access line */
.ott-search-streaming-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.4rem;
  font-size: 0.8rem;
  color: #4b5563;
}

.ott-search-streaming-card__logo {
  height: 20px;
  width: auto;
  display: inline-block;
}

.ott-search-streaming-card__service {
  font-weight: 700;
}

.ott-search-streaming-card__access {
  opacity: 0.9;
}

/* ==========================
   TV listings stack
   ========================== */

.ott-search-results__section--tv {
  padding: 1.3rem 1.4rem 1.6rem;
  border-radius: 1.2rem;
  background: linear-gradient(135deg, rgba(47, 108, 255, 0.06), rgba(254, 68, 55, 0.03), rgba(229, 231, 235, 0.9));
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14), inset 0 0 0 1px rgba(148, 163, 184, 0.18);
}

/* Search page: use the apps review-card treatment for the supporting panel. */
.ott-search-results__section--about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 2.65rem 1.55rem 1.65rem;
  border-radius: 1.25rem;
  color: #e5e7eb;
  background:
    radial-gradient(1000px circle at 0% 0%, rgba(47, 108, 255, 0.32), transparent 52%),
    radial-gradient(850px circle at 100% 0%, rgba(236, 72, 153, 0.24), transparent 50%),
    linear-gradient(180deg, #07101f, #0b1220 70%);
  box-shadow:
    0 26px 60px rgba(15, 23, 42, 0.28),
    0 8px 18px rgba(2, 6, 23, 0.18);
}

.ott-search-results__section--about::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 1.2rem;
  right: 1.2rem;
  top: 0.95rem;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--brand-red),
    #ffd54a,
    #34d399,
    var(--tvguide-blue),
    #c084fc
  );
  pointer-events: none;
}

.ott-search-results__section--about::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300' fill='none'%3E%3Ccircle cx='118' cy='118' r='78' stroke='%23ffffff' stroke-opacity='0.11' stroke-width='16'/%3E%3Cpath d='M174 174 L258 258' stroke='%23ffffff' stroke-opacity='0.11' stroke-width='20' stroke-linecap='round'/%3E%3C/svg%3E"),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-repeat: no-repeat, repeat, repeat;
  background-position: right -70px center, 0 0, 0 0;
  background-size: 330px 330px, 32px 32px, 32px 32px;
  pointer-events: none;
}

.ott-search-results__section--about > * {
  position: relative;
  z-index: 1;
}

/* Supporting search-page content */
.ott-static--search-results .ott-search-results__section--about .ott-search-results__section-title,
.ott-static--search-results .ott-search-results__section--about .ott-search-results__section-title span {
  margin: 0 0 0.75rem !important;
  color: #f8fafc !important;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.85rem);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: none;
  text-wrap: balance;
}

.ott-search-results__section--about p {
  margin: 0;
  max-width: 44rem;
  color: rgba(226, 232, 240, 0.86);
  font-size: 1rem;
  line-height: 1.7;
}

.ott-search-results__section--about p + p {
  margin-top: 0.85rem;
}

.ott-static--search-results .ott-search-results__section--about a,
.ott-static--search-results .ott-search-results__section--about a:link,
.ott-static--search-results .ott-search-results__section--about a:visited {
  color: #fe4437 !important;
  -webkit-text-fill-color: #fe4437;
  font-weight: 700;
  text-decoration: none;
}

.ott-static--search-results .ott-search-results__section--about a:hover,
.ott-static--search-results .ott-search-results__section--about a:focus-visible,
.ott-static--search-results .ott-search-results__section--about a:active {
  color: #fe4437 !important;
  -webkit-text-fill-color: #fe4437;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.ott-static--search-results .ott-search-results__section--about a:focus-visible {
  outline-color: #fe4437;
}

@media (max-width: 720px) {
  .ott-search-results__section--about {
    padding: 2.45rem 1.15rem 1.4rem;
  }

  .ott-search-results__section--about::before {
    left: 1rem;
    right: 1rem;
    top: 0.85rem;
  }

  .ott-search-results__section--about::after {
    background-position: right -95px center, 0 0, 0 0;
    background-size: 240px 240px, 28px 28px, 28px 28px;
  }
}

/* Vertical list of cards */

.ott-search-tvlist {
  margin: 0;
  padding: 0;
  padding-left: 0rem !important;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ott-search-tvitem {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow:
    0 10px 26px rgba(15, 23, 42, 0.14);
  overflow: hidden;
  align-items: flex-start;
  transition: transform 0.16s ease-out, box-shadow 0.18s ease-out;

}

.ott-search-tvitem:hover,
.ott-search-tvitem:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
}

.ott-search-tvitem__thumb,
.ott-search-tvitem__body {
  align-self: flex-start;
}

/* Hover rainbow accent on the RIGHT side */
.ott-search-tvitem::before {
  content: "";
  position: absolute;
  top: 0.85rem;
  bottom: 0.85rem;
  right: 0.75rem;
  /* moved to the far right */
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(to bottom,
      var(--brand-red),
      #ffd54a,
      var(--tvguide-blue));
  opacity: 0;
  transform: translateX(8px);
  /* slide in from the edge */
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
  pointer-events: none;
}

.ott-search-tvitem:hover::before,
.ott-search-tvitem:focus-within::before {
  opacity: 1;
  transform: translateX(0);
}


@media (max-width: 640px) {
  .ott-search-tvitem {
    grid-template-columns: minmax(0, 1fr);
    padding: 0.85rem 0.9rem 0.9rem 1.1rem;
  }

  .ott-search-tvitem::before {
    right: 0.55rem;
    left: auto;
  }
}

/* Thumbnail */

.ott-search-tvitem__thumb {
  position: relative;
  border-radius: 0.85rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #eef1f5;
  display: block;
}

.ott-search-tvitem__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text side */

.ott-search-tvitem__body {
  position: relative;
  z-index: 1;
}

.ott-search-tvitem__title {
  font-size: 1.2rem !important;
  font-weight: 900 !important;
  margin-bottom: 5.4px !important;
}

.ott-search-tvitem__title a {
  color: #FE4438;
  text-decoration: none;
}

.ott-search-tvitem__title a:hover {
  text-decoration: underline;
}

/* Channel + time row */

.ott-search-tvitem__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  align-items: center;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.ott-search-tvitem__channel-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ott-search-tvitem__channel-logo {
  height: 25px;
  width: auto;
  display: inline-block;
}

.ott-search-tvitem__channel {
  font-weight: 700;
  color: #111827;
}

.ott-search-tvitem__time {
  font-weight: 600;
  color: #111827;
}

/* Episode + season */

.ott-search-tvitem__episode {
  margin-top: 0.15rem;
  font-size: 0.9rem;
  color: #4b5563;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.ott-search-tvitem__episode-name {
  font-weight: 600;
}

.ott-search-tvitem__episode-code {
  opacity: 0.8;
}

/* Description */

.ott-search-tvitem__desc {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.5 !important;
}

/* Align TV listing text with top of thumbnail */
.ott-search-tvitem {
  align-items: flex-start;
  /* top-align both columns in the grid */
}

.ott-search-tvitem__body {
  align-self: flex-start;
  margin-top: -2rem;
  /* optional micro‑nudge upward */
}


/* "Show more" button */

.ott-search-tvlist__more {
  margin-top: 1.6rem;
  text-align: center;
}

.ott-search-tvlist__more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(90deg, var(--brand-red), #ffd54a, var(--tvguide-blue)) border-box;
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  transition:
    transform 0.08s ease-out,
    box-shadow 0.12s ease-out,
    background-color 0.12s ease-out;
}

.ott-search-tvlist__more-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 16px 34px rgba(15, 23, 42, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.ott-search-tvlist__more-btn:active {
  transform: translateY(0);
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}



/* ==========================
   Search: Exact match hero
   ========================== */

.ott-search-hero {
  /* Align width with the Streaming strip + TV box (they use negative margins) */
  margin: 0 -0.75rem 0;
}

/* If the hero exists, tighten spacing before the Streaming strip */
.ott-search-hero+.search-strip {
  margin-top: 1.1rem;
}

@media (max-width: 720px) {
  .ott-search-hero {
    margin-inline: -1rem;
    /* matches your mobile flush edges */
  }
}

/* The card itself (full clickable hero) */
.ott-search-hero__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;

  padding: 1.15rem 1.15rem 1.25rem;
  border-radius: 1.25rem;

  text-decoration: none;

  /* Main link color (also prevents default blue/purple link behavior) */
  color: #fe4437;

  /* White card with a subtle gradient border */
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg,
      rgba(254, 68, 55, 0.28),
      rgba(47, 108, 255, 0.22),
      rgba(255, 213, 74, 0.20)) border-box;
  border: 1px solid transparent;

  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
  overflow: hidden;

  transition: transform 0.14s ease-out, box-shadow 0.14s ease-out;
}

/* Lock link/visited states to the same red */
.ott-search-hero__card:link,
.ott-search-hero__card:visited {
  color: #fe4437;
}

/* A “featured” rainbow line */
.ott-search-hero__card::after {
  content: "";
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 0.7rem;

  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg,
      #fe4437,
      #ffd54a,
      var(--tvguide-blue, #2f6cff));
  opacity: 0.95;
  pointer-events: none;
}

.ott-search-hero__card:hover,
.ott-search-hero__card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
}

/* Accessibility focus ring */
.ott-search-hero__card:focus-visible {
  outline: 3px solid var(--accent, #fe4437);
  outline-offset: 3px;
}

/* Media (bigger than your TV listing thumb) */
.ott-search-hero__media {
  /* Grey border + rounded corners */
  border: 10px solid #d9d9d9;
  border-radius: 20px;

  overflow: hidden;
  /* ensures image corners stay rounded */
  background: #0f172a;
  aspect-ratio: 16 / 9;
}

.ott-search-hero__media_celeb {
  aspect-ratio: 3 / 4;
}

.ott-search-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  transform: scale(1.03);
  transition: transform 0.18s ease-out, filter 0.18s ease-out;
}

.ott-search-hero__card:hover .ott-search-hero__media img,
.ott-search-hero__card:focus-visible .ott-search-hero__media img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

/* Text content */
.ott-search-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;

  /* We control spacing via margins below */
  gap: 0;

  /* room for the rainbow line */
  padding-bottom: 0.85rem;
}

.ott-search-hero__kicker {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted, #6b7280);
}

.ott-static__body h2.ott-search-hero__title {
  margin: 0.2rem 0 0.2rem;
  font-size: clamp(1.35rem, 2.2vw, 1.95rem);
  font-weight: 700;
  line-height: 1.12;
  color: #fe4437;
}

.ott-search-hero__desc {
  margin: 0;
  max-width: 70ch;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #374151;
}

/* CTA line */
.ott-search-hero__cta {
  margin-top: .65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.9rem;
  border-radius: 999px;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(0, 0, 0, .06);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, var(--brand-red), #ffd54a, var(--tvguide-blue)) border-box;
  box-shadow:
    0 10px 24px rgba(15, 23, 42, .18),
    inset 0 1px 0 rgba(255, 255, 255, .7);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
  color: var(--text, #0f172a);
  cursor: pointer;
  transition:
    transform .08s ease-out,
    box-shadow .12s ease-out,
    background-color .12s ease-out
}

.ott-search-hero__card:hover .ott-search-hero__cta,
.ott-search-hero__card:focus-visible .ott-search-hero__cta {
  transform: translateY(-1px);
  box-shadow:
    0 16px 34px rgba(15, 23, 42, .24),
    inset 0 1px 0 rgba(255, 255, 255, .8);
  text-decoration: none
}

.ott-search-hero__card:active .ott-search-hero__cta {
  transform: translateY(0);
  box-shadow:
    0 8px 18px rgba(15, 23, 42, .2),
    inset 0 1px 0 rgba(255, 255, 255, .8)
}

/* Mobile: stack image above text */
@media (max-width: 720px) {
  .ott-search-hero__card {
    grid-template-columns: minmax(0, 1fr);
  }

  .ott-search-hero__content {
    padding-bottom: 1rem;
  }
}

/* ==========================
   Full search: streaming strip
   ========================== */

.search-strip {
  margin: 1.5rem -0.75rem 2rem;
  padding: 1rem 0.75rem 1.25rem;
  border-radius: 1.25rem;
  background:
    linear-gradient(135deg,
      rgba(47, 108, 255, 0.06),
      rgba(254, 68, 55, 0.03),
      rgba(229, 231, 235, 0.9));
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.14),
    inset 0 0 0 1px rgba(148, 163, 184, 0.18);
}

.search-strip__label {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.search-strip__grid {
  display: grid;
  gap: 1rem;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

/* Mobile: cards 50/50 and flush with content */
@media (max-width: 720px) {
  .search-strip {
    margin-inline: -1rem;
    padding-inline: 1rem;
  }

  .search-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Make TV Listings and supporting information boxes align with the Streaming strip width */
.ott-search-results__section--tv,
.ott-search-results__section--about {
  margin: 0 -0.75rem 0;
}

/* On mobile, mirror the streaming strip’s flush edges */
@media (max-width: 720px) {
  .ott-search-results__section--tv,
  .ott-search-results__section--about {
    margin-inline: -1rem;
  }
}

/* Fine-tune "Streaming" label position */
.search-strip {
  padding-top: 0.6rem;
  /* less space above the label */
}

.search-strip__label {
  margin-top: 0.5rem !important;
  padding-left: .55rem;
}


/* ==========================
   Streaming cards
   ========================== */

.search-stream-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  gap: 0.4rem;
  padding: 0.7rem 0.7rem 0.9rem;
  border-radius: 1rem;
  background: #ffffff;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  transition:
    transform 0.14s ease-out,
    box-shadow 0.14s ease-out;
}

/* Rainbow accent line on hover (replaces red highlight) */
.search-stream-card::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.35rem;
  height: 0;
  border-radius: 999px;
  background: linear-gradient(90deg,
      var(--brand-red),
      #ffd54a,
      var(--tvguide-blue));
  opacity: 0;
  transform: translateY(3px);
  transition:
    height 0.16s ease-out,
    opacity 0.16s ease-out,
    transform 0.16s ease-out;
}

.search-stream-card:hover,
.search-stream-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
}

.search-stream-card:hover::after,
.search-stream-card:focus-visible::after {
  height: 4px;
  /* 4px rainbow line */
  opacity: 1;
  transform: translateY(0);
}

.search-stream-card__image {
  position: relative;
  border-radius: 0.9rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0f172a;
}

.search-stream-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 0.18s ease-out, filter 0.18s ease-out;
}

.search-stream-card:hover .search-stream-card__image img,
.search-stream-card:focus-visible .search-stream-card__image img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

.search-stream-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.search-stream-card__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
}

.search-stream-card__logo-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.search-stream-card__logo {
  height: 60px;
  /* approx twice the old size */
  width: auto;
  display: block;
  margin-top: -8px;
}

/* If you still have a text span for the service name, hide it */
.search-stream-card__service-name {
  display: none;
}

.search-stream-card__tag {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Tighten vertical spacing inside streaming cards */
.search-stream-card__image {
  margin-bottom: -1.5rem;
  /* less space between image and title */
}

.search-stream-card__info {
  gap: 0.18rem;
  /* smaller vertical gaps in the stack */
}

.search-stream-card__title {
  margin: 0 0 0.12rem;
  /* closer to the logo row */
}

/* Search results: no outer content card, full-width layout */
.ott-static--search-results .ott-static__body {
  margin-top: 1.75rem;
  /* nice gap under H1 */
  padding: 0;
  /* no inner card padding */
  background: transparent;
  /* no white box background */
  box-shadow: none;
  /* no drop shadow */
  border-radius: 0;
  border: 0;
}

.ott-static--search-results .ott-static__body {
  margin-top: 0.85rem;
}

/* TV Listings header: location pill + change provider */

.ott-search-results__section-header--tv {
  /* base .ott-search-results__section-header is flex/column by default */
  align-items: flex-start;
  gap: 0.5rem;
}

/* Desktop/tablet: title left, pill block right */
@media (min-width: 640px) {
  .ott-search-results__section-header--tv {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.ott-search-provider {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: #4b5563;
}

.ott-search-provider__pill {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14);
  font-weight: 700;
}

.ott-search-provider__change {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--tvguide-blue);
  text-decoration: none;
}

.ott-search-provider__change:hover,
.ott-search-provider__change:focus-visible {
  text-decoration: underline;
}

.ott-search-provider__divider {
  color: #9ca3af;
}

/* Search results: full-width, compact search header */
.ott-static--search-results .ott-static__header.ott-search-header {
  padding-top: 1rem;
  padding-bottom: 1.7rem;
  /* less vertical space around the bar */
  z-index: 999;
  overflow: visible;
}

/* Make the search box stretch the full header width and reduce padding */
.ott-static--search-results .ott-search-header .portal-search {
  max-width: 100%;
  width: 100%;
  margin: 0;
  /* remove big bottom margin */
  padding: 1rem 1.25rem;
  /* slimmer than homepage hero */
  border-radius: 1rem;
}

/* ==========================
   Homepage: What to Watch
   ========================== */

.what-to-watch {
  padding: var(--space-7) var(--space-5);
  background: var(--bg);
  overflow-x: clip;
}

.what-to-watch__container {
  max-width: 1280px;
  margin: 0 auto;
}

.what-to-watch__header {
  margin: 0 0 var(--space-5);
  max-width: none;
}

.what-to-watch__title {
  margin: 0 0 var(--space-3);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.01em;
}

.what-to-watch__intro {
  margin: 0;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
  color: #4b5563;
}

.what-to-watch__intro a {
  color: #fe4437;
  text-decoration: underline;
}

.what-to-watch__intro a:hover {
  color: #ff4f42;
}

.what-to-watch__intro a:focus-visible {
  outline: 3px solid #fe4437;
  outline-offset: 2px;
  border-radius: 4px;
}

@media(min-width:1024px) {
  .what-to-watch__intro {
    font-size: clamp(16px, 1.5vw, 20px);
    white-space: nowrap;
  }
}

.what-to-watch__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  list-style: none;
  padding: 0;
  margin: 0;
}

@media(min-width:700px) {
  .what-to-watch__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(min-width:1024px) {
  .what-to-watch__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }
}

.what-to-watch-card {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform .08s ease-out, box-shadow .12s ease-out;
}


.what-to-watch-card:hover,
.what-to-watch-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}


.what-to-watch-card__media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #eef1f5;
  overflow: hidden;
}

.what-to-watch-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.01);
  transition: transform .18s ease-out, filter .18s ease-out;
}

.what-to-watch-card:hover .what-to-watch-card__media img,
.what-to-watch-card:focus-within .what-to-watch-card__media img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.what-to-watch-card__body {
  padding: var(--space-4);
}

.what-to-watch-card__title {
  margin: 0 0 var(--space-2);
  font-size: clamp(18px, 2.2vw, 20px);
  line-height: 1.3;
  font-weight: 800;
}

.what-to-watch-card__title a {
  color: var(--text);
  text-decoration: none;
}

.what-to-watch-card__title a:hover {
  text-decoration: underline;
}

.what-to-watch-card__media:focus-visible,
.what-to-watch-card__title a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.what-to-watch-card__logo {
  display: block;
  height: 46px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  margin-top: var(--space-2);
}

.what-to-watch-card__logo--app {
  height: 44px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.what-to-watch__more {
  margin-top: var(--space-6);
}

.what-to-watch__more-btn {
  display: block;
  width: 100%;
  padding: 18px var(--space-6);
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #374151;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(238, 241, 245, .9) 48%, rgba(203, 213, 225, .86));
  box-shadow: 0 1px 9px 4px rgba(148, 163, 184, .18), inset -3px -5px 6px 3px rgba(15, 23, 42, .06), inset 3px 5px 5px 3px rgba(255, 255, 255, .78);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .88);
  transition: transform .08s ease-out, box-shadow .12s ease-out, background-color .12s ease-out, filter .12s ease-out;
}

@supports (backdrop-filter:blur(4px)) {
  .what-to-watch__more-btn {
    backdrop-filter: saturate(150%) blur(4px);
    -webkit-backdrop-filter: saturate(150%) blur(4px);
  }
}

.what-to-watch__more-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 1px 13px 8px rgba(148, 163, 184, .22), inset -3px -5px 6px 3px rgba(15, 23, 42, .06), inset 3px 5px 5px 3px rgba(255, 255, 255, .86);
}

.what-to-watch__more-btn:active {
  transform: translateY(0);
  filter: brightness(.98);
  box-shadow: 0 1px 10px 5px rgba(148, 163, 184, .18), inset -3px -5px 6px 3px rgba(15, 23, 42, .08), inset 3px 5px 5px 3px rgba(255, 255, 255, .7);
}

.what-to-watch__more-btn:focus-visible {
  outline: 3px solid #cbd5e1;
  outline-offset: 2px;
}

@media(max-width:420px) {
  .what-to-watch {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
}

@media(max-width:360px) {
  .what-to-watch {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }
}

/* ==========================
   Search page: streaming-style TV Search Engine header
   v7: result strip removed; intro sits below H1 and above divider; grey section titles
   ========================== */
.ott-static--search-results .ott-static__header.ott-search-header {
  position: relative;
  z-index: 999;
  overflow: visible !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-areas:
    "title"
    "intro"
    "utility-row" !important;
  gap: 12px !important;
  align-items: center !important;
  padding: 24px 28px 26px !important;
  min-height: 0 !important;
  text-align: center !important;
  background: linear-gradient(331deg, rgba(255, 255, 255, .96), rgba(218, 231, 255, .26)) !important;
  border: 1px solid var(--hairline);
  border-radius: 1.25rem;
  box-shadow:
    inset 2px 2px 5px rgba(255, 255, 255, .6),
    inset -2px -2px 5px rgba(0, 0, 0, .06),
    0 12px 40px rgba(15, 23, 42, .16);
}

.ott-static--search-results .ott-static__header.ott-search-header::before,
.ott-static--search-results .ott-static__header.ott-search-header::after {
  content: none !important;
  display: none !important;
}

.ott-static--search-results .ott-search-header__title.utility-panel-title {
  grid-area: title !important;
  position: relative !important;
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border: 0 !important;
  text-align: center !important;
  color: #252525 !important;
  font-size: clamp(2.45rem, 5vw, 4.05rem) !important;
  font-weight: 950 !important;
  letter-spacing: -.055em !important;
  line-height: 1 !important;
}

.ott-static--search-results .ott-search-header__title.utility-panel-title::after {
  content: none !important;
  display: none !important;
}


/* Version stamp for the first public release of the search engine. */
.ott-static--search-results .ott-search-header__title-text {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.ott-static--search-results .ott-search-header__version {
  position: absolute;
  top: -0.45rem;
  left: calc(100% + 0.65rem);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.56rem 0.34rem;
  border: 2px solid #fe4437;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(254, 68, 55, 0.18),
    0 5px 14px rgba(15, 23, 42, 0.14);
  color: #fe4437;
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(0.64rem, 0.9vw, 0.78rem);
  font-weight: 900;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(3deg);
  transform-origin: center;
}

@media (max-width: 720px) {
  .ott-static--search-results .ott-search-header__title-text {
    padding-top: 1.45rem;
  }

  .ott-static--search-results .ott-search-header__version {
    top: 0;
    right: 0.1rem;
    left: auto;
    padding: 0.33rem 0.48rem 0.3rem;
    font-size: 0.62rem;
    transform: rotate(2deg);
  }
}

.ott-static--search-results .ott-search-header__intro {
  grid-area: intro !important;
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: none;
  margin: -2px auto 2px !important;
  padding: 0 0 18px !important;
  color: #6e7b88;
  font-size: 22px !important;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .005em;
  text-align: center;
}

.ott-static--search-results .ott-search-header__intro::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: linear-gradient(273deg, rgba(255, 255, 255, .98) 0%, rgba(221, 225, 230, .96) 38%, rgb(182 189 196 / 52%) 100%) !important;
  box-shadow: 1px 3px 5px 1px rgba(255, 255, 255, .82), 6px 5px 13px 9px rgb(81 89 98 / 15%) !important;
  opacity: .54 !important;
  pointer-events: none !important;
}

.ott-static--search-results .ott-search-header .portal-search {
  grid-area: utility-row !important;
  position: relative;
  z-index: 1;
  width: 100% !important;
  max-width: none !important;
  justify-self: stretch !important;
  margin: 0 !important;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  text-align: left;
}

/* Keep all search-page panels on the same body width. */
.ott-static--search-results .ott-search-results>.search-strip,
.ott-static--search-results .ott-search-results>.ott-search-results__section--tv,
.ott-static--search-results .ott-search-results>.ott-search-results__section--about {
  width: var(--ott-search-results-box-width, 100%) !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

.ott-static--search-results .ott-search-results>.search-strip,
.ott-static--search-results .ott-search-results>.ott-search-results__section--tv,
.ott-static--search-results .ott-search-results>.ott-search-results__section--about {
  margin-top: 20px !important;
  margin-bottom: 10px !important;
}

.ott-static--search-results .search-strip__label,
.ott-static--search-results .ott-search-results__section-title,
.ott-static--search-results .ott-search-results__section-title span {
  color: #47556999 !important;
}


@media (min-width: 769px) {
  .ott-static--search-results .ott-search-header__title.utility-panel-title {
    font-size: clamp(2.55rem, 5.25vw, 4.15rem) !important;
  }
}

@media (max-width: 991px) {
  .ott-static--search-results .ott-static__header.ott-search-header {
    padding: 18px !important;
  }

  .ott-static--search-results .ott-search-header__title.utility-panel-title {
    padding-bottom: 0 !important;
    font-size: clamp(2rem, 8.8vw, 2.8rem) !important;
  }

  .ott-static--search-results .ott-search-header__intro {
    padding-bottom: 16px !important;
  }
}

@media (max-width: 420px) {
  .ott-static--search-results .ott-search-header .portal-search {
    padding: .85rem;
  }

  .ott-static--search-results .ott-search-results>.search-strip,
  .ott-static--search-results .ott-search-results>.ott-search-results__section--tv,
  .ott-static--search-results .ott-search-results>.ott-search-results__section--about {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


.ott-static--search-results .ott-search-hero__card {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}

/* ==========================
   Search results: crop artwork from the top
   ========================== */
.ott-static--search-results .ott-search-hero__media img,
.ott-static--search-results .search-stream-card__image img,
.ott-static--search-results .ott-search-tvitem__thumb img,
.ott-static--search-results .ott-search-streaming-card__thumb img,
.ott-static--search-results .ott-streaming__thumb img,
.ott-static--search-results .search-suggest__thumb img {
  object-position: top center;
  transform-origin: top center;
}

/* ==========================
   Member sidebar link buttons
   Scoped to usersidebarlinks.blade.php only.
   Does not target .ott-user-sidebar-preview, so the logged-out sidebar title keeps its normal line-height.
   ========================== */
.user-sidebar .right-sidebar .ott-member-sidebar-links,
.ott-user-admin-sidebar .ott-member-sidebar-links {
  display: grid !important;
  gap: 0 !important;
  row-gap: 0 !important;
}

.user-sidebar .right-sidebar .ott-member-sidebar-links .ott-user-sidebar-logo,
.ott-user-admin-sidebar .ott-member-sidebar-links .ott-user-sidebar-logo {
  margin: 0 0 12px !important;
  padding: 0 !important;
  border-bottom: 0 !important;
}

.user-sidebar .right-sidebar .ott-member-sidebar-links > p,
.ott-user-admin-sidebar .ott-member-sidebar-links > p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}

.user-sidebar .right-sidebar .ott-member-sidebar-links > p > a.btn,
.ott-user-admin-sidebar .ott-member-sidebar-links > p > a.btn {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-height: 55px !important;
  margin-bottom: 12px !important;
  padding: 0.72rem 0.85rem 0.72rem 1rem !important;
  line-height: 1.1 !important;
  text-align: left !important;
}

.user-sidebar .right-sidebar .ott-member-sidebar-links > p:last-child > a.btn,
.ott-user-admin-sidebar .ott-member-sidebar-links > p:last-child > a.btn {
  margin-bottom: 0 !important;
}

.user-sidebar .right-sidebar .ott-member-sidebar-links > p > a.btn,
.user-sidebar .right-sidebar .ott-member-sidebar-links > p > a.btn:link,
.user-sidebar .right-sidebar .ott-member-sidebar-links > p > a.btn:visited,
.user-sidebar .right-sidebar .ott-member-sidebar-links > p > a.btn:hover,
.user-sidebar .right-sidebar .ott-member-sidebar-links > p > a.btn:focus,
.user-sidebar .right-sidebar .ott-member-sidebar-links > p > a.btn:focus-visible,
.user-sidebar .right-sidebar .ott-member-sidebar-links > p > a.btn:active,
.ott-user-admin-sidebar .ott-member-sidebar-links > p > a.btn,
.ott-user-admin-sidebar .ott-member-sidebar-links > p > a.btn:link,
.ott-user-admin-sidebar .ott-member-sidebar-links > p > a.btn:visited,
.ott-user-admin-sidebar .ott-member-sidebar-links > p > a.btn:hover,
.ott-user-admin-sidebar .ott-member-sidebar-links > p > a.btn:focus,
.ott-user-admin-sidebar .ott-member-sidebar-links > p > a.btn:focus-visible,
.ott-user-admin-sidebar .ott-member-sidebar-links > p > a.btn:active {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: 0 !important;
}

.user-sidebar .right-sidebar .ott-member-sidebar-links > p > a.btn::before,
.user-sidebar .right-sidebar .ott-member-sidebar-links > p > a.btn::after,
.user-sidebar .right-sidebar .ott-member-sidebar-links > p > a.btn *,
.user-sidebar .right-sidebar .ott-member-sidebar-links > p > a.btn:hover::before,
.user-sidebar .right-sidebar .ott-member-sidebar-links > p > a.btn:hover::after,
.user-sidebar .right-sidebar .ott-member-sidebar-links > p > a.btn:hover *,
.ott-user-admin-sidebar .ott-member-sidebar-links > p > a.btn::before,
.ott-user-admin-sidebar .ott-member-sidebar-links > p > a.btn::after,
.ott-user-admin-sidebar .ott-member-sidebar-links > p > a.btn *,
.ott-user-admin-sidebar .ott-member-sidebar-links > p > a.btn:hover::before,
.ott-user-admin-sidebar .ott-member-sidebar-links > p > a.btn:hover::after,
.ott-user-admin-sidebar .ott-member-sidebar-links > p > a.btn:hover * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: none !important;
}
