:root {
  interpolate-size: allow-keywords;
}

body {
  color: #3d3e40;
  font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6, p {
  margin: unset;
}

.section-title {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #3d3e40;
}
.section-title_sm {
  font-size: 20px;
}
.section-title_white {
  color: #fff;
}

.bullet-list {
  margin-bottom: unset;
  margin-left: 16px;
  list-style: disc;
  line-height: 1.4;
}
.bullet-list li:not(:last-child) {
  margin-bottom: 8px;
}

.page-wrapper {
  max-width: unset;
  margin: unset;
  padding: unset;
}

.width-limiter {
  max-width: 1264px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

.button {
  padding: 10px;
  border-radius: 10px;
  font-size: 16px;
  line-height: 30px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #ff7900;
  background-color: #ff7900;
  color: #fafafa;

  &.button_secondary {
    background-color: #FFFFFF;
    border-color: #b5bdcd;
    color: #242935;
  }

  &.button_width-100 {
    width: 100%;
  }
}

.button:disabled, .button_disabled {
  opacity: 0.7;
  pointer-events: none;
}

.card {
  background: transparent;
  border: 1px solid #b5bdcd;
  border-radius: 15px;
  padding: 19px;
}
.card_gray {
  background-color: #ececec;
}
.card_blue {
  color: #fff;
  background-color: #1B9DFB;
}
.card_white {
  background-color: #fff;
}
.card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  line-height: 1.4;
}
.card__number {
  font-weight: 900;
  font-size: 20px;
  line-height: 1.4;
  color: #FF7900;
}

.col-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.course-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.course-tag {
  border-radius: 30px;
  padding: 3px 9px;
  border: 1px solid #95A1B8;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.4;
  color: #66718C;
}

.banner {
  background-image: url(/new-design/img/courses/banner-bg.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  margin-bottom: 51px;
  border-radius: 0 0 70px 70px;

  .banner__content {
    padding: 36px 38px 76px;
  }

  .banner__title {
    margin-bottom: 25px;
    font-size: 36px;
    line-height: 40px;
    font-weight: 700;
    max-width: 630px;
  }

  .banner__description {
    max-width: 483px;
    font-size: 16px;
    line-height: 18px;
    font-weight: 700;
  }
}

.main {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;

  iframe {
    width: 100%;
  }

  p {
    font-size: 16px;
    line-height: 20px;
  }

  .main__left-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .main__left-col_gap-sm {
    gap: 20px;
  }

  .main__right-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  @media screen and (max-width: 991px) {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
  }
}

.accent-link {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  color: #0177CC;
  text-decoration: underline;
  text-underline-offset: 1px;
}
.lesson-link {
  width: fit-content;
}
.lesson {
  width: fit-content;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  font-size: 20px;
  line-height: 1.4;

  .lesson__badge {
    flex-shrink: 0;
    padding: 3px 9px;
    border-radius: 30px;
    border: 1px solid #95a1b8;
    font-size: 16px;
    font-weight: 300;
    color: #66718c;
  }

  .lesson__badge_active {
    background-color: #1b9dfb;
    border-color: #1b9dfb;
    color: #fff;
  }

  .lesson__badge_passed {
    background-color: #ececec;
  }

  .lesson__title {
    font-size: inherit;
    margin-bottom: 0;
  }

  .lesson__duration {
    color: #3d3e40cc;
    margin-bottom: 0;
  }
}

.video-lesson {
  padding-top: 40px;

  .video-lesson__title {
    margin-bottom: 25px;
  }

  .video-lesson__actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 21px;
  }
}

.progress-bar {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 8px;
  border-radius: 6px;
  border: 1px solid #b5bdcd;
  background-color: #fafafa;

  .progress-bar__line {
    position: absolute;
    left: 0;
    top: 0;
    height: 6px;
    border-radius: 6px;
    background-color: #1b9dfb;
  }
}

.progress-counter {
  font-size: 20px;
  line-height: 1.4;
  color: #3d3e40cc;
}

.progress-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.reviews-wrapper {
  margin-top: 60px;
  margin-bottom: 60px;

  .reviews-section {
    .reviews-section__title {
      font-size: 24px;
      line-height: 1.3;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: #3d3e40;
      margin-bottom: 10px;
    }

    .reviews-section__description {
      font-size: 18px;
      line-height: 1.4;
      text-align: center;
      margin-bottom: 40px;
    }
  
    .reviews-section__container {
      padding-top: unset;
      padding-bottom: unset;
    }
  }

  @media screen and (max-width: 991px) {
    margin-bottom: 24px;

    .reviews-section .reviews-section__title {
      margin-bottom: 24px;
    }
  }
}

.faq {
  margin-bottom: 40px;

  .faq__title {
    text-align: center;
    margin-bottom: 40px;
  }

  .faq__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #000;
    padding-right: 30px; /* size of accordion arrow */
  }

  .faq-item__summary {
    width: fit-content;
    position: relative;
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 10px;
  }
  .faq-item__summary::after {
    content: '';
    position: absolute;
    top: 1px;
    right: -30px;
    width: 18px;
    height: 18px;
    background-image: url(/new-design/img/courses/accordion-arrow.svg);
    transform: rotate(180deg);
    transition: all 0.2s ease-in-out;
  }
  .faq-item:has(.accordion-content_collapsed) .faq-item__summary::after {
    transform: unset;
  }

  .faq-item__content {
    font-size: 16px;
    line-height: 20px;
  }

  @media screen and (max-width: 991px) {
    .faq__title {
      margin-bottom: 24px;
    }
    .faq__list {
      gap: 10px;
    }
  }
}

.courses-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: unset;

  .course-item {
    border-radius: 15px;
    background-color: #fff;
    overflow: hidden;
  }
  .course-item:not(:has(img)) {
    padding-top: 10px;
  }
  .course-item__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 10px 20px 20px;
  }
  .course-item__title {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }
  .course-item__description {
    font-size: 16px;
    line-height: 1.4;
  }

  @media screen and (max-width: 768px) {
    grid-template-columns: 1fr;
  }
}

.why-us {
  background-color: #ECECEC;
  padding-top: 50px;
  padding-bottom: 50px;

  .section-title {
    text-align: center;
    margin-bottom: 40px;
  }

  .benefits-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;

    @media screen and (max-width: 991px) {
      grid-template-columns: 1fr 1fr;
    }
    @media screen and (max-width: 568px) {
      grid-template-columns: 1fr;
    }
  }
  .benefit {
    display: flex;
    flex-direction: column;
    gap: 10px;

    img {
      width: 48px;
      aspect-ratio: 1;
    }
    .benefit-title {
      font-weight: 700;
      font-size: 20px;
      line-height: 1.1;
    }
    .benefit-description {
      font-size: 17px;
      line-height: 1.2;
    }
  }
}
