.lines {
  position: absolute;
  right: 0;
  top: 0;
  pointer-events: none;
  z-index: 0;
}

.bluredUp {
  width: 100%;
  padding: 24px 17px;
  display: none;

  &__info {
    display: flex;
    align-items: center;
    gap: 24px;

    h2 {
      font-family: Inter;
      font-weight: 600;
      font-style: Semi Bold;
      font-size: 24px;
      leading-trim: NONE;
      line-height: 28px;
      letter-spacing: 0%;
      color: #fcefd8;
    }
  }
}

@media screen and (max-width: 610px) {
  .bluredUp {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

.bluredLeft {
  position: absolute;
  left: 0;
  height: 100%;
  width: 29vw;
  height: 100vh;
  z-index: 300;
  background-color: #efe5cd0f;
  backdrop-filter: blur(10px);
  border-right: 1px solid #efe5cd1f;
  padding: 56px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: width 0.3s ease; // Добавляем плавную анимацию для ширины

  // Состояние открытой панели
  &.open {
    width: 100vw; // На всю ширину экрана
    z-index: 1000; // Повышаем z-index чтобы быть поверх всего
  }
}

.openButton {
  background: #fcefd81f;
  border: 1px solid #fdf3e533;
  backdrop-filter: blur(10px);
  height: 45px;
  width: 45px;
  border-radius: 6px;
  display: none;
}

.logos {
  img {
    pointer-events: none;
    width: 110px;
    height: 110px;
  }
}

.schedule {
  display: flex;
  flex-direction: column;

  &_elem {
    overflow: hidden;
    cursor: pointer;
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    leading-trim: NONE;
    line-height: 22px;
    letter-spacing: 0%;
    color: #fcefd880;
    padding: 32px;
    border-bottom: 1px solid #efe5cd1f;
    transition: all 0.3s ease; // Плавная анимация для всех изменений
    // white-space: nowrap;

    &:hover {
      background-color: rgba(239, 229, 205, 0.05); // Легкий hover эффект
    }
  }

  .number {
    display: none;
  }

  .active {
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 10px;
    color: #fcefd8;
    font-weight: 600;

    .number {
      width: 22px;
      height: 22px;
      text-align: center;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0 5px 0 3px;
      background-color: #fcefd8;
      //   color: #405EA9;
      font-family: Inter;
      font-weight: 600;
      font-style: Semi Bold;
      font-size: 18px;
      leading-trim: NONE;
      line-height: 100%;
      letter-spacing: 0%;
    }
  }

  &_header {
    padding: 0px 32px 39px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #efe5cd1f;

    .closeButton {
      background: #fcefd81f;
      border: 1px solid #fdf3e533;
      backdrop-filter: blur(10px);
      height: 45px;
      width: 45px;
      border-radius: 6px;
      display: none;
    }
  }
  &_info {
    display: flex;
    align-items: center;
    gap: 24px;
    h2 {
      font-family: Inter;
      font-weight: 600;
      font-style: Semi Bold;
      font-size: 32px;
      leading-trim: NONE;
      line-height: 36px;
      letter-spacing: 0%;
      color: #fcefd8;
    }
  }
}

.round {
  min-width: 50px;
  max-width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #fcefd8;
  font-family: Inter;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  color: #fcefd8;
}

@media screen and (max-width: 1024px) {
  .schedule {
    display: none; // По умолчанию скрыто на маленьких экранах
  }

  .openButton {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }

  .bluredLeft {
    width: 90px;

    // В открытом состоянии на маленьких экранах
    &.open {
      width: 100vw;
      padding: 56px 32px; // Добавляем горизонтальные отступы
      .openButton {
        display: none;
      }
      .schedule {
        display: flex; // Показываем расписание в открытом состоянии
        flex-direction: column;
        margin-bottom: 20px;

        &_header {
          padding-left: 0;
          padding-right: 0;
          .closeButton {
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
          }
        }
      }

      .logos {
        flex-direction: row;
        align-self: flex-start;
        margin-top: 20px;
        margin-left: 0;
      }
    }
  }
  .logos {
    display: flex;
    margin-top: auto;
    margin-right: auto;
    margin-left: auto;
    align-self: flex-end;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    img {
      width: 80px;
      height: 80px;
    }
  }
}

// @media screen and (max-width: 610px) {
//   .bluredLeft {
//     display: none;
//   }
// }

@media screen and (max-width: 610px) {
  .bluredLeft {
    width: 0;
    .openButton {
      display: none;
    }
    .logos {
      display: none;
    }
    &.open {
      padding: 20px;
      .schedule {
        &_header {
          h2 {
            font-size: 24px;
            line-height: 28px;
          }
          .round {
            width: 45px;
            height: 45px;
            min-width: 45px;
            max-width: 45px;
          }
        }
      }
      .logos {
        display: flex;
      }
    }
  }
}

.normalRight {
  margin-left: calc(30vw + 32px);
  height: 100vh;
  padding: 56px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  .sliderWrapper {
    width: 100%;
    height: 350px;
    position: relative;
    //overflow: hidden;
  }

  .upperText {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 24px;
    max-width: 600px;

    .button {
      padding: 14px 24px;
      background-color: #fcefd8;
      //  color: #405EA9;
      font-family: Inter;
      font-weight: 400;
      font-style: Regular;
      font-size: 16px;
      leading-trim: NONE;
      line-height: 16px;
      letter-spacing: 0%;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }

    .text {
      display: flex;
      flex-direction: column;
      row-gap: 12px;

      h1 {
        font-family: Inter;
        font-weight: 700;
        font-style: Bold;
        font-size: 48px;
        leading-trim: NONE;
        line-height: 100%;
        letter-spacing: 0%;
        text-transform: uppercase;
        color: #fcefd8;
      }
      p {
        font-family: Inter;
        font-weight: 400;
        font-style: Regular;
        font-size: 16px;
        leading-trim: NONE;
        line-height: 20px;
        letter-spacing: 0%;
        color: #fcefd8;
      }
    }
  }
}

@media screen and (max-width: 1700px) {
  .normalRight {
    padding: 20px 0 0 0;
  }

  .lines {
    right: -150px;
  }
}

@media screen and (max-width: 1300px) {
  .lines {
    display: none;
  }

  .normalRight {
    .upperText {
      .text {
        h1 {
          font-family: Inter;
          font-weight: 700;
          font-style: Bold;
          font-size: 40px;
          leading-trim: NONE;
          line-height: 100%;
          letter-spacing: 0%;
          text-transform: uppercase;
        }
        p {
          font-family: Inter;
          font-weight: 400;
          font-style: Regular;
          font-size: 16px;
          leading-trim: NONE;
          line-height: 20px;
          letter-spacing: 0%;
        }
      }
    }
  }
}

@media screen and (max-width: 1024px) {
  .normalRight {
    margin-left: 120px;
  }
}

@media screen and (max-width: 610px) {
  .normalRight {
    padding: 29px 20px;
    margin-left: 0;

    .sliderWrapper {
      height: 250px;
    }

    .upperText {
      .text {
        h1 {
          font-size: 36px;
        }
        p {
          font-size: 16px;
          line-height: 20px;
        }
      }
    }
  }
}

// Оверлей для закрытия панели
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999; // Под открытой панелью, но поверх остального контента
  cursor: pointer;
}
