@media only screen and (max-width: 767px) {
  .welcome__img--board {
    background: none;
    width: auto;
    margin-top: 40px;
    padding: 0;
    margin-right: 0;
    margin-left: 0;
  }

  .welcome__img--board img {
    border-radius: 0;
  }
}

.welcome__description--board {
  max-width: 445px;
}

.page-template-calendar-template .welcome__description {
  max-width: 558px;
}

.typeBoard {
  margin-top: 80px;
}

@media only screen and (max-width: 959px) {
  .typeBoard__scroll {
    width: auto;
    height: 40px;
    margin-bottom: 20px;
    margin-right: -20px;
    margin-left: -20px;
    overflow: hidden;
    border-bottom: 1px solid var(--gray8);
  }
}

.typeBoard__tabs {
  display: flex;
  justify-content: center;
  margin: 0 auto 40px;
  width: fit-content;
  border-bottom: 1px solid var(--gray8);
}

@media only screen and (max-width: 959px) {
  .typeBoard__tabs {
    width: auto;
    justify-content: flex-start;

    flex-wrap: nowrap;
    box-sizing: border-box;
    height: 54px;
    padding-right: 24px;
    padding-bottom: 12px;
    padding-left: 24px;
    overflow-x: auto;
  }
}

@media only screen and (max-width: 767px) {
  .typeBoard__tabs {
    margin-left: -8px;
  }
}

.typeBoardTabs__item {
  flex: none;
  position: relative;
  padding: 8px 0;
  height: 40px;

  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  text-transform: uppercase;
  color: var(--gray8);

  cursor: pointer;
  transition: all 0.3s;

  + .typeBoardTabs__item {
    margin-left: 20px;
  }

  &:after {
    content: "";
    position: absolute;
    transition: all 0.3s;
  }

  &.active {
    color: var(--primary);
  }

  &:hover {
    color: var(--primary);
  }

  &.active:after,
  &:hover:after {
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;

    background-color: var(--primary);
  }
}

.typeBoardPresentation__wrapper {
  background-image: url("../img/board/type-bg.svg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 1367px 676px;
  height: 676px;
  padding-top: 41px;
}

@media only screen and (max-width: 1199px) {
  .typeBoardPresentation__wrapper {
    background-size: 110%;
    height: auto;
    padding-top: 65px;
    padding-bottom: 8%;
  }
}

@media only screen and (max-width: 767px) {
  .typeBoardPresentation__wrapper {
    padding-top: 29px;
  }
}

.typeBoard__presentation {
  max-width: 1020px;
  margin: 0 auto;
}

@media only screen and (max-width: 1199px) {
  .typeBoard__presentation {
    margin: 0 54px;
  }
}

@media only screen and (max-width: 767px) {
  .typeBoard__presentation {
    margin: 0 20px;
  }
}

.typeBoard__video {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.aboutBoard {
  padding-top: 120px;
  text-align: center;
  background-image: url("../img/announcement-icon-bg.svg");
  background-position: center 48px;
  background-repeat: no-repeat;
}

@media only screen and (max-width: 1169px) {
  .aboutBoard {
    padding-top: 100px;
    background-position: center 20px;
  }
}

@media only screen and (max-width: 767px) {
  .aboutBoard {
    padding-top: 80px;
    background-position: center 46px;
  }
}

.aboutBoard__text--custom {
  padding-right: 0.5%;
}

.aboutBoard__description {
  max-width: 620px;
  margin: 16px auto 0;
}

.aboutVideo__description {
  max-width: 575px;
  margin: 16px auto 0;
}

.aboutLibrary__description {
  max-width: 526px;
  margin: 16px auto 0;
}

.aboutVirtual__description {
  max-width: 810px;
  margin: 16px auto 0;
}

.aboutChats__description {
  max-width: 650px;
  margin: 16px auto 0;
}

.aboutControl__description {
  max-width: 100%;
  margin: 16px auto 0;
}

.aboutHomeWork__description {
  max-width: 669px;
  margin: 16px auto 0;
}

.aboutVisit__description {
  margin: 16px auto 0;
  max-width: 881px;
}

.aboutBoard__wrapper {
  margin: 40px 0 0;
  padding: 40px;
  background: #f4f9ff;
  border-radius: 20px;
  text-align: left;
}

@media only screen and (max-width: 767px) {
  .aboutBoard__wrapper {
    padding: 40px 20px;
  }
}

.aboutBoard__list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  margin-left: -20px;
  margin-top: -24px;
}

.flex-start__list {
  justify-content: flex-start;
}

@media only screen and (max-width: 959px) {
  .aboutBoard__list {
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0;
  }
}

.aboutBoard__item {
  width: calc(33.333% - 20px);
  margin-left: 20px;
  margin-top: 24px;
  padding: 20px;
  color: var(--primary);
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 1.5px 1.5px 1px #929cc43d;
}

.aboutHomeWork__item {
  width: calc(50% - 20px);
}

@media only screen and (max-width: 959px) {
  .aboutBoard__item {
    width: 100%;
    margin-left: 0;
    margin-top: 20px;
  }
}

.aboutBoard__item svg {
  display: block;
  width: 20px;
  height: 20px;
  flex: none;
  margin-bottom: 16px;
  color: var(--green);
}

@media only screen and (max-width: 767px) {
  .aboutBoard__item svg {
    margin-right: 0;
    margin-bottom: 16px;
  }
}

.aboutBoard__title {
  font-weight: 600;
  margin-bottom: 8px;
}

.ready__wrapper--board {
  /*max-width: 980px;*/
}

.ready--board {
  background-color: var(--purple5);
}

@media only screen and (max-width: 959px) {
  .ready {
    padding: 40px 0;
  }
}

@media only screen and (max-width: 767px) {
  .ready--board {
    margin-top: 80px;
  }
}

.star__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;

  > * + * {
    margin-left: 12px;
  }
}

@media only screen and (max-width: 767px) {
  .star__wrapper {
    margin-bottom: 24px;
  }

  .reviews__quote--board {
    &.reviews__quote--left,
    &.reviews__quote--right {
      top: 42px;
    }
  }
}

.purple-theme .star__wrapper svg path {
  fill: var(--purple7);
}

.green-theme .star__wrapper svg path {
  fill: var(--green);
}

.blue-theme .star__wrapper svg path {
  fill: var(--blue);
}

.purple-theme .slick-dots li.slick-active button {
  background: var(--purple7);
}

.green-theme .slick-dots li.slick-active button {
  background: var(--green);
}

.blue-theme .slick-dots li.slick-active button {
  background: var(--blue);
}

.startBoard {
  margin-top: 48px;
}

.startBoard__girl {
  position: relative;
  z-index: 1;

  width: 126px;
  height: 126px;
  margin-left: 40px;
  margin-bottom: -16px;
}

@media only screen and (max-width: 767px) {
  .startBoard__girl {
    width: 84px;
    height: 84px;
    margin-left: 24px;
    margin-bottom: -8px;
  }
}

.startBoard__tag {
  width: fit-content;
  padding: 4px 16px;

  border-radius: 48px;
  background: linear-gradient(273.5deg, #fe5762 5.76%, #ff6ba1 149.99%);

  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: -0.12px;
  color: #fff;
}

.startBoard__desc {
  position: relative;
  z-index: 2;

  background-color: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 20px 0 rgba(41, 42, 67, 0.1);
}

@media only screen and (max-width: 767px) {
  .startBoard__desc {
    padding: 20px;
  }
}

.startBoard__list {
  display: flex;
  flex-wrap: wrap;

  margin-left: -20px;
  margin-bottom: 32px;
}

@media only screen and (max-width: 959px) {
  .startBoard__list {
    flex-direction: column;
  }
}

.startBoard__item {
  display: flex;
  align-items: center;
  width: calc(50% - 20px);
  margin-left: 20px;
  margin-top: 20px;
}

@media only screen and (max-width: 959px) {
  .startBoard__item {
    width: calc(100% - 20px);
  }
}

@media only screen and (max-width: 767px) {
  .startBoard__item {
    flex-direction: column;
    align-items: flex-start;
  }
}

.startBoard__icon {
  flex: none;
  width: 64px;
  height: 64px;
}

.startBoard__text {
  margin-left: 12px;
}

@media only screen and (max-width: 767px) {
  .startBoard__text {
    margin-left: 0;
    margin-top: 8px;
  }
}

.questions__wrapper--board {
  max-width: 100%;
}

@media only screen and (max-width: 959px) {
  .questions__row {
    flex-wrap: wrap;
    max-width: 400px;
  }
}

@media only screen and (max-width: 767px) {
  .questions {
    margin-top: 80px;
  }
}

.accordion__list {
  flex: 1;
}

.accordion__list li + li {
  margin-top: 8px;
}

.tools p {
  margin-top: 16px;
  text-align: center;
}

@media only screen and (max-width: 1023px) {
  .tools {
    padding-top: 120px;
  }
}

@media only screen and (max-width: 767px) {
  .tools {
    padding-top: 100px;
  }
}

.toolsBoard__wrapper {
  display: flex;
}

@media only screen and (max-width: 1199px) {
  .toolsBoard__wrapper {
    flex-direction: column;
  }
}

.toolsBoard__img {
  display: flex;
  align-items: flex-start;
  margin-left: 40px;

  > * + * {
    margin-left: 20px;
  }

  img {
    width: 160px;
    height: auto;
  }
}

@media only screen and (max-width: 1199px) {
  .toolsBoard__img {
    margin-left: 0;
    margin-top: 40px;

    img {
      flex: 1;
    }
  }
}

@media only screen and (max-width: 767px) {
  .toolsBoard__img {
    flex-direction: column;

    > * + * {
      margin-left: 0;
      margin-top: 20px;
    }

    img {
      width: 100%;
    }
  }
}

.trialBoard {
  margin-top: 120px;
}

@media only screen and (max-width: 1023px) {
  .trialBoard {
    margin-top: 100px;
  }
}

@media only screen and (max-width: 767px) {
  .trialBoard {
    margin-top: 80px;
  }
}

.trialBoard__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  max-width: 980px;
  padding: 80px;
  margin: 0 auto;

  background-color: #fff;
  box-shadow: 0 4px 20px 0 rgba(41, 42, 67, 0.1);
  border-radius: 20px;
}

@media only screen and (max-width: 1023px) {
  .trialBoard__wrapper {
    padding: 40px;
  }
}

@media only screen and (max-width: 767px) {
  .trialBoard__wrapper {
    flex-direction: column;
    padding: 40px 20px;
  }
}

.trialBoard__img {
  flex: none;
  width: 272px;
  height: 272px;

  img {
    width: 100%;
    height: 100%;
  }
}

@media only screen and (max-width: 767px) {
  .trialBoard__img {
    width: 175px;
    height: 175px;

    margin: 0 auto;
  }
}

.trialBoard__desc {
  margin-left: 80px;

  h2 {
    font-size: 48px;
    line-height: 60px;
    text-align: left;
  }

  > * + * {
    margin-top: 24px;
  }
}

.trialBoard__desc_32fz {
  h2 {
    font-size: 32px;
    line-height: 40px;
  }
}

.page-template-virtual-classes-template .trialBoard__desc h2,
.page-template-homework-template .trialBoard__desc h2,
.page-template-calendar-template .trialBoard__desc h2,
.page-template-chats-template .trialBoard__desc h2,
.page-template-library-template .trialBoard__desc h2,
.page-template-control-template .trialBoard__desc h2,
.page-template-visit-template .trialBoard__desc h2 {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  line-height: 125%;
}

.page-template-control-template h1 {
  max-width: 560px;
}

.page-template-chats-template .welcome__text--full {
  max-width: 580px;
}

@media only screen and (max-width: 1023px) {
  .trialBoard__desc h2 {
    font-size: 24px;
    line-height: 32px;
  }
}

@media only screen and (max-width: 767px) {
  .trialBoard__desc h2 {
    text-align: center;
  }

  .trialBoard__desc {
    text-align: center;
    margin-left: 0;
    margin-top: 40px;
  }
}

.devicesBoard {
  margin-top: 120px;
}

@media only screen and (max-width: 1023px) {
  .devicesBoard {
    margin-top: 100px;
  }
}

@media only screen and (max-width: 767px) {
  .devicesBoard {
    margin-top: 80px;
  }
}

.devicesBoard__desc {
  max-width: 524px;
  margin: 16px auto 0;
  text-align: center;
}

.devicesBoard__img {
  margin: 40px auto 0;
  max-width: 727px;
}

.tools__title {
  position: relative;
  width: fit-content;
  margin: 0 auto;

  img {
    position: absolute;
    right: -45px;
    top: -65px;
    transform: rotate(34.5deg);

    width: 71px;
    height: 64px;
  }
}

@media only screen and (max-width: 767px) {
  .tools__title {
    width: 200px;

    img {
      width: 30px;
      height: 30px;
      top: -27px;
      right: -7px;
    }
  }
}

.toolsChips--board {
  margin-top: 40px;
  margin-left: 0;
  gap: clamp(0.75rem, 0.568rem + 0.91vw, 1.25rem);
}

.toolsChips--board .toolsChips__item {
  margin: 0;
}

@media only screen and (max-width: 1169px) {
  .toolsChips {
    justify-content: center;
    flex-wrap: wrap;
    box-sizing: border-box;
    height: auto;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
    margin-top: 24px;
    overflow-x: unset;
  }
}

.toolsChips__item.active {
  padding-left: 64px;
  padding-right: 64px;

  &:hover {
    color: #fff;
    background-color: var(--secondary);
    border: 1px solid var(--secondary);
  }
}

@media only screen and (max-width: 1169px) {
  .toolsChips__item {
    margin-top: 16px;
  }
}

@media only screen and (max-width: 767px) {
  .toolsChips__item {
    width: 100%;
    margin-left: 8px;
    justify-content: center;
  }
}
