.programm__main {
  padding: 90px 0 170px 0;
}

.programm__title_container {
  justify-content: flex-start;
  margin-bottom: 95px;
}

.programm__title {
  margin-bottom: 0;
  margin-right: 30px;
}

.programm__btn_load {
  padding: 10px 50px;
}

.section:not(:last-child) {
  margin-bottom: 120px;
}

/* Tracks styles */

.tracks__body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 10px;
  column-gap: 20px;
}

.tracks__item {
  justify-content: flex-start;
  align-items: center;
  min-height: 170px;
  padding: 35px;
  border-radius: 6px;
  box-sizing: border-box;
  background-color: var(--mainBlue);
  color: var(--white);
}

.tracks__number {
  margin-right: 25px;
  font-size: 90px;
  font-weight: 700;
  line-height: 90px;
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
}

.tracks__item_title {
  margin-bottom: 15px;
  font-size: 28px;
  font-weight: 700;
  line-height: 33px;
}

.tracks__item_descr {
  color: inherit;
}

/* SHEDULE STYLES */
.shedule__pagination {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  row-gap: 10px;
  column-gap: 26px;
  margin-bottom: 120px;
}

.shedule__btn {
  font-size: 22px;
  font-weight: 800;
  line-height: 26px;
}

.shedule__body {
  display: none;
}

.shedule__body.is_active {
  display: block;
}

.shedule__title {
  margin-left: 100px;
} 

.time {
  justify-content: flex-start;
  align-items: flex-start;
}

.time:not(:last-child) {
  margin-bottom: 20px;
}

.time__text {
  justify-content: center;
  align-self: stretch;
  min-width: 100px;
  min-height: 290px;
  max-height: 700px;
  border-radius: 6px 0 0 6px;
  background-color: var(--secondaryBlue);
}

.time__paragraph {
  color: var(--white);
  font-size: 40px;
  font-weight: 700;
  line-height: 47px;
  writing-mode: vertical-rl;
  transform: scale(-1, -1);
}

/* TIME BODY STYLES (not break) */
.time__body {
  align-items: flex-start;
  width: 100%;
  border-radius: 0 6px 6px 6px;
  overflow: hidden;
  background-image: url(../img/programm/leftBottomBack.png);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-color: var(--mainGrey);
}

.time__descr {
  position: relative;
  min-width: 50%;
}

.time__descr:first-child::after {
  content: '';
  position: absolute;
  top: 40px;
  bottom: 40px;
  right: -4px;
  width: 4px;
  border-radius: 2px;
  background-color: var(--white);
  z-index: 5;
}

.time__header {
  padding: 60px 60px 65px 80px;
  background-color: var(--secondaryGrey);
}

.time__title {
  color: var(--blackText);
  font-size: 22px;
  font-weight: 700;
  line-height: 26px;
}

.time__data {
  padding: 60px 60px 65px 80px;
}

.time__data_item:not(:last-child) {
  margin-bottom: 40px;
}

.time__data_title {
  margin-bottom: 20px;
  color: var(--mainBlue);
  font-size: 28px;
  font-weight: 700;
  line-height: 33px;
}

.time__data_person {
  font-weight: 700;
}

/* TIME BODY BREAK */

.time__body_break {
  justify-content: center;
  align-items: center;
  align-self: stretch;
  border-radius: 0 6px 6px 0;
}

.time__body_break .time__data_title{
  margin-bottom: 0;
}

@media (max-width: 1200px) {
  .shedule__pagination {
    grid-template-columns: repeat(4, 1fr);
  }

  .time {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .time__text {
    min-width: 100%;
    width: 100%;
    min-height: 80px;
    max-height: 700px;
    border-radius: 6px 6px 0 0;
  }

  .time__paragraph {
    writing-mode:unset;
    transform: none;
  }

  .time__body_break {
    min-height: 250px;
    border-radius: 0 0 6px 6px;
  }
}

@media (max-width: 1024px) {
  .tracks__body {
    grid-template-columns: 100%;
    column-gap: 0;
  }

  .shedule__pagination {
    grid-template-columns: repeat(3, 1fr);
  }

  .time__body {
    flex-direction: column;
    width: 100%;
    border-radius: 0 0 6px 6px;
  }

  .time__body_break {
    min-height: 150px;
  }
}

@media (max-width: 768px) {
  .programm__main {
    padding: 50px 0 70px 0;
  }

  .section:not(:last-child) {
    margin-bottom: 70px;
  }

  .shedule__pagination {
    row-gap: 10px;
    column-gap: 10px;
    margin-bottom: 50px;
  }

  .time__paragraph {
    font-size: 28px;
    line-height: 32px;
  }

  .time__body {
    flex-direction: column;
    width: 100%;
    border-radius: 0 0 6px 6px;
  }

  .time__descr:first-child::after {
    display: none;
  }

  .time__header {
    width: 100%;
    padding: 30px 20px;
  }

  .time__data {
    padding: 30px 20px;
  }
}

@media (max-width: 568px) {
  .programm__title_container {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 50px;
  }

  .programm__title {
    margin-bottom: 20px;
    margin-right: 0;
  }

  /* Tracks styles */
  .tracks__item {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 15px;
  }

  .tracks__number {
    align-self: flex-end;
    margin-right: 0;
    margin-bottom: 15px;
    font-size: 50px;
    line-height: 50px;
    -webkit-text-stroke: 1px var(--white);
  }

  .tracks__item_title {
    font-size: 22px;
    line-height: 28px;
  }

  /* SHEDULE STYLES */
  .shedule__pagination {
    grid-template-columns: repeat(2, 1fr);
  }

  .shedule__btn {
    padding: 10px;
    font-size: 20px;
    font-weight: 800;
    line-height: 26px;
  }

  .shedule__title {
    margin-left: 0;
  }

  /* TIME BODY STYLES (not break) */

  .time__descr {
    width: 100%;
  }

  .time__header {
    padding: 20px 15px;
  }

  .time__title {
    font-size: 20px;
    line-height: 26px;
  }

  .time__data {
    padding: 20px 15px;
  }

  .time__data_item:not(:last-child) {
    margin-bottom: 25px;
  }

  .time__data_title {
    margin-bottom: 15px;
    font-size: 20px;
    line-height: 28px;
  }

  .time__data_person {
    font-weight: 700;
  }
  
}