/* Mika's Mystery Moment */

.mystery-moment-page,
.mystery-moment-page * {
  font-family: Avenir;
}

.mystery-main {
  width: 980px;
  margin: 0 auto;
  padding-top: 21px;
  padding-bottom: 48px;
}

.mystery-page-heading {
  margin-left: 30px;
}

.mystery-page-heading h1 {
  margin: 0 0 2px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.mystery-page-rule {
  width: 918px;
  height: 1px;
  margin-bottom: 19px;
  background: #c9c9c9;
}

.mystery-overview {
  display: grid;
  grid-template-columns: 577px 308px;
  column-gap: 33px;
  margin-left: 30px;
}

.mystery-left-column {
  min-width: 0;
}

.mystery-synopsis-row {
  display: grid;
  grid-template-columns: 304px 270px;
  column-gap: 3px;
  align-items: center;
}

.mystery-synopsis h2,
.mystery-production h2,
.mystery-technical-sheet h2,
.mystery-season-heading h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.mystery-section-rule {
  height: 1px;
  background: #c9c9c9;
}

.mystery-synopsis {
  width: 304px;
}

.mystery-synopsis .mystery-section-rule {
  width: 286px;
  margin: 2px 0 7px;
}

.mystery-synopsis p,
.mystery-production p {
  margin: 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.42;
  text-align: justify;
}

.mystery-logo-image {
  width: 270px;
  height: 181px;
  object-fit: contain;
}

.mystery-production {
  margin-top: 17px;
}

.mystery-production .mystery-section-rule {
  width: 566px;
  margin: 2px 0 10px;
}

.mystery-production p {
  width: 566px;
}

.mystery-technical-sheet {
  align-self: start;
  box-sizing: border-box;
  width: 308px;
  min-height: 363px;
  padding: 10px 10px 22px;
  color: #fff;
  background: #8d1700;
  border-radius: 0 60px 0 60px;
}

.mystery-technical-sheet h2 {
  padding-left: 1px;
}

.mystery-technical-rule {
  width: 286px;
  height: 1px;
  margin: 1px 0 8px;
  background: rgb(255 255 255 / 72%);
}

.mystery-technical-sheet dl {
  margin: 0;
}

.mystery-technical-sheet dl > div {
  display: grid;
  grid-template-columns: 127px 1fr;
  align-items: center;
  min-height: 42px;
}

.mystery-technical-sheet dl > div.mystery-theme-song {
  min-height: 65px;
}

.mystery-technical-sheet dt,
.mystery-technical-sheet dd {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
}

.mystery-technical-sheet dt {
  font-weight: 700;
}

.mystery-technical-sheet dd {
  text-align: center;
}

.mystery-season {
  margin-top: 25px;
  margin-left: 30px;
}

.mystery-season-heading h2 span {
  margin-left: 5px;
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
}

.mystery-season-rule {
  width: 918px;
  height: 1px;
  margin-top: 3px;
  background: #c9c9c9;
}

.mystery-episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, 414px);
  column-gap: 41px;
  row-gap: 37px;
  width: 869px;
  margin-top: 28px;
  margin-left: 3px;
}

.mystery-episode {
  width: 414px;
}

.mystery-episode-centered {
  grid-column: 1 / -1;
  justify-self: center;
}

.mystery-video {
  width: 414px;
  height: 224px;
  background: #000;
}

.mystery-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.mystery-episode h3 {
  margin: 0;
  padding-top: 5px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.mystery-episode-rule {
  width: 414px;
  height: 3px;
  margin-top: 3px;
  background: #000;
}

.mystery-episode-title {
  margin: 3px 0 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
}

.mystery-season-two {
  margin-top: 56px;
}

@media (max-width: 980px) {
  .mystery-main {
    width: calc(100% - 32px);
  }

  .mystery-page-heading,
  .mystery-overview,
  .mystery-season {
    margin-left: 0;
  }

  .mystery-page-rule,
  .mystery-season-rule {
    width: 100%;
  }

  .mystery-overview {
    grid-template-columns: minmax(0, 1fr) 308px;
    column-gap: 28px;
  }

  .mystery-synopsis-row {
    grid-template-columns: 1fr;
  }

  .mystery-synopsis,
  .mystery-production,
  .mystery-production p {
    width: 100%;
  }

  .mystery-synopsis .mystery-section-rule,
  .mystery-production .mystery-section-rule {
    width: 100%;
  }

  .mystery-logo-image {
    margin: 22px auto 0;
  }

  .mystery-episodes-grid {
    width: 100%;
    margin-left: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }

  .mystery-episode,
  .mystery-video,
  .mystery-episode-rule {
    width: 100%;
  }

  .mystery-video {
    height: auto;
    aspect-ratio: 414 / 224;
  }
}

@media (max-width: 720px) {
  .mystery-page-heading h1 {
    font-size: 33px;
  }

  .mystery-overview {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .mystery-technical-sheet {
    width: 100%;
    border-radius: 0 45px 0 45px;
  }

  .mystery-technical-rule {
    width: 100%;
  }

  .mystery-episodes-grid {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .mystery-episode-centered {
    grid-column: auto;
  }

  .mystery-season-two {
    margin-top: 44px;
  }
}
