.lesson-info {
  font-size: 0.8em;
  margin: 10px -10px -10px -10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.lesson-info .left {
  display: flex;
  align-items: center;
  padding: 10px;
  width: 70%;
}
@media only screen and (min-width: 980px) {
  .lesson-info .left {
    width: 38%;
  }
}
.lesson-info .right {
  width: 100%;
  padding: 10px;
}
@media only screen and (min-width: 980px) {
  .lesson-info .right {
    width: 40%;
    text-align: right;
  }
}
.lesson-info .right:empty {
  display: none;
}
.lesson-info .center {
  text-transform: capitalize;
  width: 30%;
  padding: 10px 5px;
  text-align: right;
}
@media only screen and (min-width: 980px) {
  .lesson-info .center {
    width: 22%;
    text-align: center;
  }
}
.lesson-info .center .level {
  display: inline-block;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 12px;
  padding-left: 18px;
}
.lesson-info .center .new {
  background-image: url("/images/lessons-assets/level/new.svg");
}
.lesson-info .center .beginner {
  background-image: url("/images/lessons-assets/level/beginner.svg");
}
.lesson-info .center .intermediate {
  background-image: url("/images/lessons-assets/level/intermediate.svg");
}
.lesson-info .center .advanced {
  background-image: url("/images/lessons-assets/level/advanced.svg");
}
.lesson-info .rule-flag {
  display: block;
  height: 26px;
  padding-left: 33px;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 28px 18px;
  white-space: nowrap;
}
.lesson-info .rule-flag.int {
  background-image: url("/images/lessons-assets/flags/international.svg");
}
.lesson-info .rule-flag.us {
  background-image: url("/images/lessons-assets/flags/usa.svg");
}
.lesson-info .rules-names {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0px;
  margin: 0;
}
.lesson-info .rules-names li.rule-flag {
  background-image: none !important;
  padding-left: 3px;
  display: flex;
  align-items: center;
}
.lesson-info .rules-names li {
  display: inline;
}
.lesson-info .rules-names li::after {
  content: ", ";
}
.lesson-info .rules-names li:last-child::after {
  content: "";
}
.lesson-info .signup-link {
  transition: all 0.3s linear;
  color: #f85835;
  text-decoration: underline transparent;
  color: #f85835;
}
.lesson-info .signup-link:hover {
  color: #f85835;
  text-decoration: underline;
}

.lesson-image-link {
  font-size: 15px;
  color: white;
  font-weight: 600;
  padding: 10px 15px 0px 60px;
  vertical-align: middle;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  background-image: url("/images/lessons-assets/play_button.svg");
  background-repeat: no-repeat;
  background-position: 14px 14px;
  background-size: 33px;
  height: 75px;
}
@media screen and (min-width: 320px) {
  .lesson-image-link {
    font-size: calc(
            15px + 5 *
                ((100vw - 320px) / 1600)
        );
  }
}
@media screen and (min-width: 1920px) {
  .lesson-image-link {
    font-size: 20px;
  }
}

.lesson-image {
  width: 340px;
  height: 210px;
  max-width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  margin: auto;
}
@media only screen and (min-width: 1024px) {
  .lesson-image {
    width: 400px;
    height: 225px;
  }
}
.lesson-image.american_rules {
  background-image: url("/images/lessons-assets/bg/american_rules.svg");
}
.lesson-image.mixed_rules {
  background-image: url("/images/lessons-assets/bg/mixed_rules.svg");
}
.lesson-image.international_rules {
  background-image: url("/images/lessons-assets/bg/international_rules.svg");
}
.lesson-image .objects {
  text-align: center;
  margin-top: 5px;
}
@media only screen and (min-width: 1024px) {
  .lesson-image .objects {
    margin-top: 20px;
  }
}
.lesson-image .objects * {
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
  display: inline-block;
}
.lesson-image .objects.objects-1 * {
  width: 100px;
  height: 100px;
}
.lesson-image .objects.objects-2 * {
  width: 90px;
  height: 90px;
}
.lesson-image .objects.objects-3 * {
  width: 80px;
  height: 80px;
}
.lesson-image .objects .us_flag {
  background-image: url("/images/lessons-assets/us_flag.svg");
}
.lesson-image .objects .vs {
  background-image: url("/images/lessons-assets/vs.svg");
  background-size: 50px 69.564px;
}
.lesson-image .objects .globe {
  background-image: url("/images/lessons-assets/globe.svg");
}
.lesson-image .objects .pawn_mistake {
  background-image: url("/images/lessons-assets/pawn_mistake.svg");
}
.lesson-image .objects .queen {
  background-image: url("/images/lessons-assets/queen.svg");
}
.lesson-image .objects .blocking {
  background-image: url("/images/lessons-assets/blocking.svg");
}
.lesson-image .objects .centrum {
  background-image: url("/images/lessons-assets/centrum.svg");
}
.lesson-image .objects .checker_move {
  background-image: url("/images/lessons-assets/checker_move.svg");
}
.lesson-image .objects .checker {
  background-image: url("/images/lessons-assets/checker.svg");
}
.lesson-image .objects .checkers_attack {
  background-image: url("/images/lessons-assets/checkers_attack.svg");
}
.lesson-image .objects .checkers_defense {
  background-image: url("/images/lessons-assets/checkers_defense.svg");
}
.lesson-image .objects .choice {
  background-image: url("/images/lessons-assets/choice.svg");
}
.lesson-image .objects .combination_1_queen {
  background-image: url("/images/lessons-assets/combination_1_queen.svg");
}
.lesson-image .objects .combination_1 {
  background-image: url("/images/lessons-assets/combination_1.svg");
}
.lesson-image .objects .combination_2 {
  background-image: url("/images/lessons-assets/combination_2.svg");
}
.lesson-image .objects .combination_2_queen {
  background-image: url("/images/lessons-assets/combination_2_queen.svg");
}
.lesson-image .objects .combination {
  background-image: url("/images/lessons-assets/combination.svg");
}
.lesson-image .objects .draw_icon {
  background-image: url("/images/lessons-assets/draw_icon.svg");
}
.lesson-image .objects .exchange {
  background-image: url("/images/lessons-assets/exchange.svg");
}
.lesson-image .objects .king {
  background-image: url("/images/lessons-assets/king.svg");
}
.lesson-image .objects .kings_attack {
  background-image: url("/images/lessons-assets/kings_attack.svg");
}
.lesson-image .objects .kings_defense {
  background-image: url("/images/lessons-assets/kings_defense.svg");
}
.lesson-image .objects .kings_move {
  background-image: url("/images/lessons-assets/kings_move.svg");
}
.lesson-image .objects .lose {
  background-image: url("/images/lessons-assets/lose.svg");
}
.lesson-image .objects .mistakes {
  background-image: url("/images/lessons-assets/mistakes.svg");
}
.lesson-image .objects .move_1 {
  background-image: url("/images/lessons-assets/move_1.svg");
}
.lesson-image .objects .move {
  background-image: url("/images/lessons-assets/move.svg");
}
.lesson-image .objects .opposition_1 {
  background-image: url("/images/lessons-assets/opposition_1.svg");
}
.lesson-image .objects .opposition_with_king_1 {
  background-image: url("/images/lessons-assets/opposition_with_king_1.svg");
}
.lesson-image .objects .possibilities {
  background-image: url("/images/lessons-assets/possibilities.svg");
}
.lesson-image .objects .quick_win {
  background-image: url("/images/lessons-assets/quick_win.svg");
}
.lesson-image .objects .rules {
  background-image: url("/images/lessons-assets/rules.svg");
}
.lesson-image .objects .strategy {
  background-image: url("/images/lessons-assets/strategy.svg");
}
.lesson-image .objects .structure {
  background-image: url("/images/lessons-assets/structure.svg");
}
.lesson-image .objects .tactics {
  background-image: url("/images/lessons-assets/tactics.svg");
}
.lesson-image .objects .win {
  background-image: url("/images/lessons-assets/win.svg");
}
.lesson-image .objects .trap_1_queen {
  background-image: url("/images/lessons-assets/trap_1_queen.svg");
}
.lesson-image .objects .trap_1 {
  background-image: url("/images/lessons-assets/trap_1.svg");
}
.lesson-image .objects .trap_2_queen {
  background-image: url("/images/lessons-assets/trap_2_queen.svg");
}
.lesson-image .objects .trap_2 {
  background-image: url("/images/lessons-assets/trap_2.svg");
}
.lesson-image .objects .trap_3_queen {
  background-image: url("/images/lessons-assets/trap_3_queen.svg");
}
.lesson-image .objects .trap_3 {
  background-image: url("/images/lessons-assets/trap_3.svg");
}
.lesson-image .objects .trap_4_queen {
  background-image: url("/images/lessons-assets/trap_4_queen.svg");
}
.lesson-image .objects .trap_4 {
  background-image: url("/images/lessons-assets/trap_4.svg");
}

.video-content {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
@media only screen and (min-width: 560px) {
  .video-content {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}
@media only screen and (min-width: 980px) {
  .video-content {
    padding-left: 90px;
    padding-right: 90px;
    max-width: 1130px;
  }
}
.video-content .lesson-image {
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 16/9;
  min-height: 210px;
  height: auto !important;
}
.video-content .lesson-image-link {
  padding-left: 25px;
  background-image: none;
  height: auto;
  font-size: 15px;
}
@media screen and (min-width: 320px) {
  .video-content .lesson-image-link {
    font-size: calc(
            15px + 33 *
                ((100vw - 320px) / 1000)
        );
  }
}
@media screen and (min-width: 1320px) {
  .video-content .lesson-image-link {
    font-size: 48px;
  }
}

.video-wrapper {
  /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625)*/
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  box-sizing: border-box;
  display: none;
}
.video-wrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.video-content-link {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  top: calc(50% - 20px);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  flex-wrap: wrap;
}
@media only screen and (min-width: 560px) {
  .video-content-link {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: unset;
  }
}
@media only screen and (min-width: 980px) {
  .video-content-link {
    top: 50%;
  }
}
.video-content-link a {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px;
  min-height: 40px;
  max-width: 230px;
  width: 70%;
}
@media only screen and (min-width: 560px) {
  .video-content-link a {
    max-width: none;
    width: auto;
  }
}
@media only screen and (min-width: 980px) {
  .video-content-link a:nth-child(2) {
    margin-left: 50px;
  }
}

.content-btn {
  transition: all 0.3s ease-in-out;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  display: inline-block;
  vertical-align: top;
  cursor: pointer;
  position: relative;
  padding: 15px 30px;
  border: none;
  background: linear-gradient(180deg, var(--bg-secondary) 26.56%, var(--body-bg) 100%);
  color: var(--body-color);
  border: 1.5px solid var(--icons);
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.1);
  font-size: 15px;
  padding: 0.9em 30px;
  border-radius: 0.6em;
}
.content-btn svg {
  width: 16px;
  height: auto;
  max-height: 20px;
  margin-right: 10px;
  margin-top: -0.3em;
  margin-bottom: -0.3em;
  flex-shrink: 0;
}
.content-btn path {
  fill: currentColor;
}
@media screen and (min-width: 320px) {
  .content-btn {
    font-size: calc(
            15px + 17 *
                ((100vw - 320px) / 1600)
        );
  }
}
@media screen and (min-width: 1920px) {
  .content-btn {
    font-size: 32px;
  }
}
.content-btn:focus-visible, .content-btn:hover {
  background: linear-gradient(180deg, var(--bg-secondary) 27.6%, var(--body-bg) 65.62%);
}
.content-btn:active, .content-btn.active {
  box-shadow: none;
}
.content-btn:disabled, .content-btn.disabled {
  box-shadow: none;
  outline: none;
  cursor: not-allowed;
  opacity: 0.4;
}

.content-btn-play {
  transition: all 0.3s ease-in-out;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  display: inline-block;
  vertical-align: top;
  cursor: pointer;
  position: relative;
  padding: 15px 30px;
  border: none;
  background: linear-gradient(180deg, #ff8b46 0%, #f4762c 100%);
  color: #fff;
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.2);
  font-size: 15px;
  padding: 0.9em 30px;
  border-radius: 0.6em;
}
.content-btn-play svg {
  width: 16px;
  height: auto;
  max-height: 20px;
  margin-right: 10px;
  margin-top: -0.3em;
  margin-bottom: -0.3em;
  flex-shrink: 0;
}
.content-btn-play path {
  fill: currentColor;
}
@media screen and (min-width: 320px) {
  .content-btn-play {
    font-size: calc(
            15px + 17 *
                ((100vw - 320px) / 1600)
        );
  }
}
@media screen and (min-width: 1920px) {
  .content-btn-play {
    font-size: 32px;
  }
}
.content-btn-play:focus-visible, .content-btn-play:hover {
  background: linear-gradient(180deg, #ff8b46 0%, #f27023 69.27%);
}
.content-btn-play:active, .content-btn-play.active {
  box-shadow: none;
}
.content-btn-play:disabled, .content-btn-play.disabled {
  box-shadow: none;
  outline: none;
  cursor: not-allowed;
  opacity: 0.4;
}
.content-btn-play::before {
  content: "";
  position: relative;
  display: inline-block;
  background: url("/images/lessons-assets/play_button.svg");
  background-repeat: no-repeat;
  background-size: contain;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  min-width: 1.5em;
  margin-right: 10px;
}
@media only screen and (min-width: 560px) {
  .content-btn-play {
    order: 2;
  }
}

.lesson-content h1 {
  text-align: center;
  margin-top: 50px;
}

.lesson-navigations {
  display: flex;
  align-items: center;
  margin-top: 30px;
}
@media only screen and (min-width: 980px) {
  .lesson-navigations {
    margin: 0;
  }
}

.prev-link,
.next-link {
  display: inline-block;
  font-size: 0;
  text-transform: uppercase;
  z-index: 2;
}
@media only screen and (min-width: 560px) {
  .prev-link,
  .next-link {
    font-size: 12px;
    width: auto;
    display: block;
  }
}
@media only screen and (min-width: 980px) {
  .prev-link,
  .next-link {
    position: absolute;
    top: 50%;
    width: 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.prev-link {
  margin-left: auto;
  margin-left: 25%;
}
.prev-link::before {
  content: "";
  position: relative;
  display: inline-block;
  background: url("/images/icons/prev.svg");
  background-repeat: no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  min-width: 20px;
  filter: var(--filter-rule);
}
@media only screen and (min-width: 560px) {
  .prev-link {
    margin-left: 0;
  }
  .prev-link::before {
    margin-right: 10px;
  }
}
@media only screen and (min-width: 980px) {
  .prev-link {
    left: 0;
  }
  .prev-link::before {
    margin: 0 10px 10px;
    width: 30px;
    height: 30px;
  }
}

.next-link {
  margin-left: auto;
  margin-right: 25%;
}
.next-link::after {
  content: "";
  position: relative;
  display: inline-block;
  background: url("/images/icons/next.svg");
  background-repeat: no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  min-width: 20px;
  filter: var(--filter-rule);
}
@media only screen and (min-width: 560px) {
  .next-link {
    margin-right: 0;
  }
  .next-link::after {
    margin-left: 10px;
  }
}
@media only screen and (min-width: 980px) {
  .next-link {
    right: 0;
  }
  .next-link::after {
    order: -1;
    margin: 0 10px 10px;
    width: 30px;
    height: 30px;
  }
}
