/* Chillflix's original base.css and home_tv.css are loaded unchanged.
   This layer connects their markup to the integrated, non-Bootstrap layout. */
.site-header.navbar {
  position: relative;
  z-index: 5;
  border: 0;
  background: #0a0a0a !important;
}
#mainNav {
  width: 100%;
  min-height: 52px;
  padding: 4px 2.2%;
  display: flex;
  align-items: center;
  gap: 18px;
}
.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  line-height: 1;
}
#accountBtn2-brand-img { width: 110px; height: auto; }
.brand-partner { color: #b9b9b9; font-size: 9px; font-weight: 500; white-space: nowrap; }
#navbar10 { display: flex; flex: 1 1 auto; min-width: 0; align-items: center; gap: 20px; }
#navbar10 nav { flex: 1 1 auto; min-width: 0; }
#navbar10 .navbar-nav { display: flex; align-items: center; gap: 15px; margin: 0; padding: 0; list-style: none; }
#navbar10 .nav-link { display: block; color: #c2bfc2; font-size: 12px; font-weight: 400; white-space: nowrap; }
#navbar10 .nav-link:hover, #navbar10 .nav-link:focus-visible, #navbar10 .nav-link[aria-current="page"] { color: #fff; }
#navbar10 .header-search {
  flex: 0 0 168px;
  min-width: 0;
  max-width: 168px;
  height: 30px;
  margin: 0;
  border: 1px solid #bbb;
  border-radius: 4px;
  background: #fff;
}
#navbar10 .header-search input { padding-left: 9px; color: #151515; font-size: 12px; }
#navbar10 .header-search input::placeholder { color: #777; }
#navbar10 .header-search button { padding: 0 7px; color: #555; }
#navbar10 .header-search svg { width: 14px; height: 14px; }
.footer-brand { font-size: 16px; font-weight: 700; color: #e42835; }
.footer-brand span { font-size: 11px; font-weight: 400; color: #9d9d9d; }
/* _card.html is shared by listings and details, which do not load home_tv.css. */
.item-content { display: none; }

/* Homepage: original Bg-Test / main-carousel / carousel-content-row structure. */
.chillflix-home { background: #000; color: #fff; }
.chillflix-home .Bg-Test { background: #000; position: relative; overflow: hidden; }
.chillflix-home .site-header.navbar { position: absolute; top: 0; left: 0; width: 100%; background: rgba(0,0,0,.3) !important; }
.chillflix-home .main-carousel { position: relative; height: 100vh; min-height: 460px; max-height: 760px; overflow: hidden; background: #101010; }
.chillflix-home .carousel-backdrop { position: absolute; inset: 0; }
.chillflix-home .carousel-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.87) 0%, rgba(0,0,0,.56) 27%, rgba(0,0,0,.08) 70%), linear-gradient(0deg, rgba(0,0,0,.3), transparent 35%);
}
.chillflix-home .main-carousel-img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center 35%; }
.chillflix-home #main-carousel, .chillflix-home #main-carousel > .item { position: relative; height: 100%; }
.chillflix-home #main-carousel > .item { display: flex; align-items: flex-start; text-align: left; }
.chillflix-home .carousel-content-row { width: clamp(260px, 30vw, 390px); max-width: none; margin-left: 9.5%; padding: 78px 0 35px; background: transparent; color: #fff; text-align: left; }
.chillflix-home .title-container { margin: 0 0 24px; }
.chillflix-home .main-title { margin: 0; font-size: clamp(25px, 4.5vh, 42px); line-height: 1.2; font-weight: 500; letter-spacing: -.02em; }
.chillflix-home .item-info { display: flex; align-items: center; flex-wrap: wrap; width: auto; padding-top: 13px; font-size: clamp(13px, 2.5vh, 17px); font-weight: 600; }
.chillflix-home .item-info .rating { font-size: inherit; color: #fff !important; }
.chillflix-home .dot { flex: 0 0 auto; width: 5px; height: 5px; margin: 0 8px; background: #fff; }
.chillflix-home .overview-text { margin: 0; font-size: clamp(14px, 2.5vh, 17px); line-height: 1.45; font-weight: 400; -webkit-line-clamp: 4; }
.chillflix-home .actions { display: inline-flex; width: auto; margin: 18px 0 0; font-size: 12px; }
.chillflix-home .small-info-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 0; padding: 10px 17px; border-radius: 30px; background: #e53443; color: #fff; font-size: 11px; font-weight: 600; }
.chillflix-home .small-info-button:hover { background: #c81e2e; }
.chillflix-home .play-circle { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #fff; color: #e53443; font-size: 9px; padding-left: 1px; }
.chillflix-home .hero-source { margin: 14px 0 0; color: #ddd; font-size: 12px; }
.chillflix-home .no-feature { min-height: 330px; height: 45vh; }
.chillflix-home .infinite-container { margin: 0; padding: 26px 3.5% 65px; }
.chillflix-home .shelf { margin-bottom: 30px; }
.chillflix-home .section-heading { align-items: center; margin-bottom: 12px; }
.chillflix-home .infinite-item h2 { margin: 0; color: #fff; font-size: clamp(20px, 2.5vw, 30px); line-height: 1.2; font-weight: 500; letter-spacing: 0; }
.chillflix-home .rows { display: flex; gap: 15px; margin: 0; padding: 8px 2px 15px; }
.chillflix-home .card-rail > .media-card { flex-basis: clamp(140px, 14.5vw, 205px); }
.chillflix-home .poster-frame { border-radius: 15px; background: #171717; }
.chillflix-home .row-item { position: relative; text-align: left; }
.chillflix-home .row-item:hover { transform: none; }
.chillflix-home .row-item:hover .poster-frame img, .chillflix-home .row-item:focus-within .poster-frame img { filter: blur(3px) brightness(.55); opacity: 1 !important; transform: scale(1.04); }
.chillflix-home .item-content { position: absolute; z-index: 1; inset: 8% 7%; height: auto; color: #fff; text-align: left; pointer-events: none; }
.chillflix-home .row-item:hover .item-content, .chillflix-home .row-item:focus-within .item-content { display: block; opacity: 1 !important; }
.chillflix-home .item-content .title { opacity: 1; font-size: clamp(15px, 2.4vh, 21px); font-weight: 500; }
.chillflix-home .item-content .overview { margin: 0; font-size: clamp(11px, 1.8vh, 15px); }
.chillflix-home .card-copy h3 { color: #f5f5f5; }
.chillflix-home .shelf-arrow span { background-image: url('/chillflix-static/original/home/img/arrow.png'); }
.chillflix-home .shelf-arrow.previous span { transform: rotate(180deg); }
.chillflix-home .shelf-arrow.next span { transform: none; }
.chillflix-home .site-footer { background: #080808; }

@media (max-width: 760px) {
  #mainNav { flex-wrap: wrap; gap: 7px 12px; padding: 8px 16px 9px; }
  #navbar10 { display: contents; }
  #navbar10 nav { order: 3; flex: 0 0 100%; overflow-x: auto; scrollbar-width: none; }
  #navbar10 nav::-webkit-scrollbar { display: none; }
  #navbar10 .navbar-nav { width: max-content; gap: 19px; padding: 7px 0 2px; }
  #navbar10 .header-search { order: 2; margin-left: auto; flex-basis: 155px; max-width: 155px; }
  .chillflix-home .carousel-content-row { width: min(62%, 360px); margin-left: 6%; padding-top: 135px; }
  .chillflix-home .main-carousel { min-height: 520px; }
  .chillflix-home .carousel-backdrop::after { background: linear-gradient(90deg, rgba(0,0,0,.89), rgba(0,0,0,.42) 65%, rgba(0,0,0,.12)), linear-gradient(0deg, rgba(0,0,0,.55), transparent 45%); }
  .chillflix-home .infinite-container { padding-inline: 16px; }
}
@media (max-width: 420px) {
  #accountBtn2-brand-img { width: 99px; }
  .brand-partner { font-size: 8px; }
  #navbar10 .header-search { flex-basis: 125px; max-width: 125px; }
  #navbar10 .navbar-nav { gap: 17px; }
  .chillflix-home .carousel-content-row { width: 79%; margin-left: 6%; }
  .chillflix-home .main-title { font-size: 27px; }
  .chillflix-home .overview-text { -webkit-line-clamp: 4; }
  .chillflix-home .card-rail > .media-card { flex-basis: 138px; }
}
