.header {
  margin-bottom: 0;
}

.toc {
  margin-top: 94px;
  margin-bottom: 112px;
}

.toc__time {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: var(--font-weight-regular);
  color: var(--grey-500);
}

.toc__header {
  margin-bottom: 56px;
}

.toc__box {
  margin-bottom: 56px;
}

.toc__img {
  width: 100%;
  max-height: 464px;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 20px;
}

.toc__title {
  margin-bottom: 20px;
}

.toc__inner {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.toc__info {
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
}

.toc__content {
  padding: 44px 0 42px;
  border-top: 2px solid var(--brand-main);
  border-bottom: 2px solid var(--brand-main);
  margin-bottom: 64px;
}

.toc__content p {
  font-size: 32px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  line-height: 120%;
  margin-bottom: 31px;
}

.toc__content a {
  font-size: 20px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  line-height: 120%;
}

.toc__content svg {
  transform: rotate(45deg);
}

.toc__content li {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.toc__content li:not(:last-child) {
  margin-bottom: 31px;
}

.toc__text:not(:last-child) {
  margin-bottom: 64px;
}

.toc__text p {
  font-size: 32px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  line-height: 120%;
  margin-bottom: 24px;
}

.toc__text span {
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
  line-height: 130%;
}

.toc__text ol {
  list-style: decimal;
  padding-left: 14px;
  margin: 12px 0;
}

.toc__text li {
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
  line-height: 130%;
}

.toc__text li:not(:last-child) {
  margin-bottom: 12px;
}

.toc__text li::marker {
  content: counter(list-item) ". ";
  color: var(--color-text);
}

.toc__text li p {
  margin-top: 12px;
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
  line-height: 130%;
  margin-left: -14px;
  margin-bottom: 0;
}

.toc__banner {
  position: sticky;
  top: var(--toc-sticky-top, 24px);
  z-index: 2;
  align-self: flex-start;
  flex: 0 0 380px;
  height: 632px;
  border-radius: 20px;
}

.toc__banner-img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.toc__banner-header {
  position: absolute;
  top: 44px;
  left: 50%;
  transform: translate(-50%);
}

.toc__banner-bottom {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translate(-50%);
}

.toc__banner-bottom .arrow-icon {
  stroke: #fff;
}

.toc__banner-bottom button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.toc__banner-title {
  font-size: 32px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  line-height: 120%;
  width: 296px;
  text-align: center;
  margin-bottom: 26px;
}

.toc__banner-subtitle {
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
  text-align: center;
}

.toc div>span:not(:last-child) {
  margin-bottom: 12px;
  display: flex;
}

.toc__holder {
  margin-bottom: 112px;
}

@media screen and (max-width: 1024px) {
  .toc__banner {
    flex: 0 0 293px;
    height: 483px;
  }

  .toc__banner-title {
    font-size: 20px;
    width: 280px;
    margin-bottom: 10px;
  }

  .toc__banner-header {
    top: 30px;
  }

  .toc__banner-bottom {
    bottom: 20px;
  }
}

@media screen and (max-width: 768px) {
  .toc {
    margin-top: 68px;
    margin-bottom: 56px;
  }

  .toc__banner {
    display: none;
  }

  .toc__content {
    padding: 28px 0 26px;
    margin-bottom: 28px;
  }

  .toc__content p {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .toc__content a {
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    color: var(--color-text);
  }

  .toc__content li {
    gap: 12px;
  }

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

  .toc__text:not(:last-child) {
    margin-bottom: 44px;
  }

  .toc__text p {
    font-size: 20px;
  }

  .toc__text span {
    font-size: 14px;
  }

  .toc__text li {
    font-size: 14px;
  }

  .toc__text li p {
    font-size: 14px;
  }

  .toc__title {
    margin-bottom: 12px;
  }

  .toc__header {
    margin-bottom: 24px;
  }

  .toc__img {
    max-height: 220px;
  }

  .toc__box {
    margin-bottom: 24px;
  }

  .toc__holder {
    margin-bottom: 28px;
  }
}