/*
 * The main video feed section.
 *
 * Edit this file. It is served as it is — nothing compiles it, and the
 * order it loads in is set in resources/css/order.php.
 */

.main-video-feed {
  padding-top:192px;
  width:100%;
}

@media screen and (max-width:1440px) {

  .main-video-feed {
    padding-top:129px;
  }
}

@media screen and (max-width:1199px) {

  .main-video-feed {
    padding-top:133px;
  }
}

@media (max-width:900px)and (orientation:landscape),screen and (max-width:767px) {

  .main-video-feed {
    padding-bottom:32px;
    padding-top:80px;
  }
}

.main-video-feed__inner {
  display:flex;
  flex-direction:column;
  gap:clamp(24px,3vw,48px);
  padding-inline:var(--offset-x);
  width:100%;
}

.main-video-feed__heading {
  align-items:flex-end;
  display:flex;
  gap:16px;
  justify-content:space-between;
  width:100%;
}

.main-video-feed__heading-title {
  margin:0;
}

.main-video-feed__yt-link {
  align-items:center;
  color:#181818;
  display:inline-flex;
  flex-shrink:0;
  gap:8px;
  transition:color .25s ease;
}

.main-video-feed__yt-link .main-video-feed__yt-link-icon svg {
  height:12px;
  width:12px;
}

@media(any-hover:hover),(hover:hover)and (pointer:fine) {

  .main-video-feed__yt-link:not(:disabled):hover:hover {
    color:#e1251b;
  }
}

.main-video-feed__layout {
  align-items:stretch;
  display:grid;
  gap:clamp(16px,2vw,32px);
  grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);
}

@media screen and (max-width:1199px) {

  .main-video-feed__layout {
    grid-template-columns:1fr;
  }
}

.main-video-feed__main {
  min-width:0;
  position:relative;
  width:100%;
}

.main-video-feed__player {
  align-items:center;
  aspect-ratio:16/9;
  background-color:#181818;
  background-position:50%;
  background-size:cover;
  border:0;
  cursor:pointer;
  display:flex;
  justify-content:center;
  margin:0;
  overflow:hidden;
  padding:0;
  position:relative;
  width:100%;
}

.main-video-feed__player:after {
  background-color:#18181847;
  content:"";
  inset:0;
  position:absolute;
  transition:background-color .3s ease;
}

@media(any-hover:hover),(hover:hover)and (pointer:fine) {

  .main-video-feed__player:not(:disabled):hover:hover:after {
    background-color:#1818181f;
  }
}

.main-video-feed__play {
  align-items:center;
  background-color:#e1251b;
  border-radius:50%;
  color:#fff;
  display:flex;
  height:72px;
  justify-content:center;
  position:relative;
  transition:transform .3s ease;
  width:72px;
  z-index:2;
}

.main-video-feed__play svg {
  height:22px;
  margin-left:3px;
  width:22px;
}

@media screen and (max-width:1440px) {

  .main-video-feed__play {
    height:56px;
    width:56px;
  }

  .main-video-feed__play svg {
    height:18px;
    width:18px;
  }
}

.main-video-feed__player:hover .main-video-feed__play {
  transform:scale(1.08);
}

.main-video-feed__embed {
  aspect-ratio:16/9;
  position:relative;
  width:100%;
}

.main-video-feed__embed iframe {
  border:0;
  height:100%;
  inset:0;
  position:absolute;
  width:100%;
}

.main-video-feed__list-col {
  min-height:0;
  position:relative;
}

@media screen and (max-width:1199px) {

  .main-video-feed__list-col {
    position:static;
  }
}

.main-video-feed__list-inner {
  display:flex;
  flex-direction:column;
  inset:0;
  position:absolute;
}

@media screen and (max-width:1199px) {

  .main-video-feed__list-inner {
    max-height:60vh;
    position:static;
  }
}

.main-video-feed__list-title {
  border-bottom:1px solid #18181824;
  color:#1818188c;
  font-size:clamp(.76rem,.9vw,.86rem);
  letter-spacing:.08em;
  margin-bottom:4px;
  padding-bottom:12px;
  text-transform:uppercase;
}

.main-video-feed__list {
  flex:1 1 auto;
  list-style:none;
  margin:0;
  min-height:0;
  overflow-y:scroll;
  padding:0 12px 0 0;
}

.main-video-feed__list::-webkit-scrollbar {
  -webkit-appearance:none;
  appearance:none;
  width:8px;
}

.main-video-feed__list::-webkit-scrollbar-track {
  background:#1818181a;
  border-radius:4px;
}

.main-video-feed__list::-webkit-scrollbar-thumb {
  background:#e1251b;
  border-radius:4px;
}

.main-video-feed__snippet {
  align-items:center;
  background:none;
  border:0;
  border-bottom:1px solid #1818181a;
  color:inherit;
  cursor:pointer;
  display:flex;
  font:inherit;
  gap:12px;
  padding:10px 4px;
  text-align:left;
  transition:background-color .2s ease,padding-left .2s ease;
  width:100%;
}

.main-video-feed__snippet:hover {
  background-color:#1818180a;
  padding-left:10px;
}

.main-video-feed__snippet.is-active {
  border-left:3px solid #e1251b;
  padding-left:10px;
}

.main-video-feed__snippet-thumb {
  background-color:#181818;
  background-position:50%;
  background-size:cover;
  flex:0 0 auto;
  height:50px;
  overflow:hidden;
  position:relative;
  width:84px;
}

@media (max-width:900px)and (orientation:landscape),screen and (max-width:767px) {

  .main-video-feed__snippet-thumb {
    height:44px;
    width:72px;
  }
}

.main-video-feed__snippet-play {
  align-items:center;
  background-color:#18181859;
  color:#fff;
  display:flex;
  inset:0;
  justify-content:center;
  opacity:0;
  position:absolute;
  transition:opacity .2s ease;
}

.main-video-feed__snippet-play svg {
  height:14px;
  margin-left:1px;
  width:14px;
}

.main-video-feed__snippet.is-active .main-video-feed__snippet-play,
.main-video-feed__snippet:hover .main-video-feed__snippet-play {
  opacity:1;
}

.main-video-feed__snippet-txt {
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
}

.main-video-feed__snippet-meta {
  color:#e1251b;
  font-size:clamp(.72rem,.85vw,.8rem);
  font-variant-numeric:tabular-nums;
  font-weight:500;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.main-video-feed__snippet-city {
  font-size:clamp(.95rem,1.1vw,1.1rem);
  line-height:1.25;
}

.main-video-feed__snippet.is-active .main-video-feed__snippet-city {
  font-weight:500;
}
