/* www.LunchBoxSATX.net v5 */
/* EPISODE PAGE CSS */


/* =========================
   PAGE SETUP
========================= */

html,
body {
  margin: 0;
  padding: 0;

  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}


body {
  background: #252222!important;

  color: white;

  font-family: "Teko", sans-serif;
}


/* =========================
   EPISODE PAGE
========================= */

.episode-page {
  width: 100%;
  margin: 0 auto;
}


/* =========================
   EPISODE HERO
========================= */

.episode-hero {
  position: relative;

  width: 100%;
  min-height: 500px;

  margin-bottom: 40px;

  background-image: url("/images/_MG_9544.jpg");
  background-size: cover;
  background-position: center;

  overflow: hidden;

  display: flex;
  align-items: center;
}


/* DARK OVERLAY */

.episode-hero::before {
  content: "";

  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.55);
}


/* HERO CONTENT */

.episode-hero-content {
  position: relative;
  z-index: 1;

  padding: 50px;
}


/* SMALL LABEL */

.episode-hero-label {
  font-family: "Changa One", sans-serif;

  font-size: 1.4em;

  letter-spacing: 0.12em;

  color: #ff5555;

  text-shadow: 3px 3px #000;

  margin-bottom: 5px;
}


/* MAIN TITLE */

.episode-hero h1 {
  font-family: "Changa One", sans-serif;

  font-size: 4em;

  line-height: 0.9;

  margin: 0;

  color: #fff;

  text-shadow: 4px 4px #000;
}


/* SUBTITLE */

.episode-hero h2 {
  font-family: "Teko", sans-serif;

  font-size: 2.4em;

  line-height: 1;

  margin: 10px 0;

  color: #ff5555;

  text-shadow: 3px 3px #000;
}


/* DESCRIPTION */

.episode-hero p {
  max-width: 550px;

  margin: 15px 0 25px;

  font-family: "Teko", sans-serif;

  font-size: 1.4em;

  line-height: 1.1;

  color: #fff;
}

/* =========================
   SEASON HEADING
========================= */

.episode-season {
  width: 100%;
}


.season-heading {
  display: flex;
  align-items: baseline;
  justify-content: left;

  border-bottom: 3px solid #000;

  padding: 0 20px 8px;
}


/* SEASON TITLE */

.season-heading h2 {
  margin: 0;

  font-family: "Changa One", sans-serif;

  font-size: 2.8em;

  line-height: 1;

  color: #fff;

  text-shadow: 3px 3px #000;
}


/* DATES */

.season-dates {
  font-family: "Teko", sans-serif;

  font-size: 1.5em;

  color: #fff;

  text-align: right;
  margin-left: 0.6em;
}

/* =========================
   EPISODE CARDS
========================= */

.episode-window {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}


.episode-track {
  display: flex;
  gap: 20px;
  padding: 1em;

  width: 100%;
  max-width: 100%;

  transition: transform 0.6s ease;
}


/* EPISODE CARD */

.episode-card {
  flex: 0 0 calc((100% - 60px) / 4);

  background: #252222;

  border: 2px solid #000;
  border-radius: 8px;

  overflow: hidden;

  text-decoration: none;
  color: #fff;

  box-shadow: 3px 3px #000;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}


/* THUMBNAIL */

.episode-card img {
  display: block;

  width: 100%;
  height: 180px;

  object-fit: cover;
}


/* CARD INFO */

.episode-info {
  padding: 12px;
}


/* EPISODE NUMBER */

.episode-number {
  font-family: "Changa One", sans-serif;

  font-size: 1em;

  color: #ff5555;

  letter-spacing: 0.05em;
}


/* EPISODE TITLE */

.episode-title {
  margin-top: 3px;

  font-family: "Teko", sans-serif;

  font-size: 1.4em;

  line-height: 1;

  color: #fff;
}


/* HOVER */

.episode-card:hover {
  background: #3b3232;

  transform: translateY(-3px);
  
  box-shadow: 5px 5px #000;
}

.episode-card:active {
  transform: translateY(-1px);

  box-shadow: 2px 2px #000;
}


/* =========================
   EPISODE ARROWS
========================= */

.episode-slider {
  position: relative;

  width: 100%;
}


.episode-arrow {
  position: absolute;

  top: 50%;
  transform: translateY(-50%);

  z-index: 20;

  width: 40px;
  height: 40px;

  border: 2px solid #000;
  border-radius: 50%;

  background: #fff;
  color: #000;

  font-size: 1.2em;

  cursor: pointer;

  box-shadow: 3px 3px #000;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}


/* LEFT ARROW */

.episode-prev {
  left: 5px;
}


/* RIGHT ARROW */

.episode-next {
  right: 5px;
}


/* HOVER */

.episode-arrow:hover {
  background: #c50606;

  color: #fff;

  transform: translateY(-50%) scale(1.1);
}


/* CLICK */

.episode-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

/* =========================
   WATCH PLATFORMS
========================= */
.watch-platforms {
  padding: 1em;
}

.watch-platform {
  display: flex;

  align-items: center;
  justify-content: center;

  width: auto;
  height: auto;

  padding: 2px;

  background: white;

  border: 2px solid #000;

  border-radius: 8px;

  box-shadow: 3px 3px #000;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.watch-platform img {
  max-width: 100%;
  max-height: 100px;

  object-fit: contain;
}

.watch-platforms h2 {
  margin: 0;

  font-family: "Changa One", sans-serif;

  font-size: 2.8em;

  color: #fff;

  text-shadow: 3px 3px #000;
}


.watch-platforms p {
  margin: 5px 0 20px;

  font-size: 1.4em;
}


.watch-platform-list {
  display: flex;

  justify-content: center;

  align-items: center;

  gap: 25px;

  flex-wrap: wrap;
}


.watch-platform-list a {
  display: block;

  border: 2px solid #000;

  border-radius: 6px;

  box-shadow: 3px 3px #000;

  color: #fff;

  font-family: "Changa One", sans-serif;

  text-decoration: none;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}


.watch-platform-list a:hover {

  transform: translateY(-3px);
}

.watch-platform:hover {
  background: #fff;

  transform: translateY(-5px);

  box-shadow: 5px 5px #000;
}


.watch-platform:active {
  transform: translateY(-1px);

  box-shadow: 2px 2px #000;
}



/* =========================
   EPISODE TABLET
========================= */

@media (max-width: 1024px) {

  .episode-card {
    flex: 0 0 calc((100% - 40px) / 3);
  }

}

/* =========================
   EPISODE MOBILE
========================= */

@media (max-width: 767px) {

  .episode-card {
    flex: 0 0 100%;
  }

}
