@import '../../../styles/vars/breakpoints.css';

.list {
}
.list > .large-numbered {
  margin: 40px 0 25px;
  @media (--ms-and-down) {
    margin: 20px 0 15px;
  }
} 

.item {
  position: relative;
  display: flex;
  font-size: rem(16px);
  margin-bottom: 11px;
  &.large-numbered {
    align-items: center;
  } 
}

.large {
  min-height: 92px;
}

.mark {
  position: absolute;
  top: 13px;
  left: -5px;
  width: 5px;
  height: 5px;
  background-color: inherit;
  border-radius: 50px;
  background-color: #000;
}

.numbered {
  .number {
    line-height: 2.08;
  }
  .item {
    line-height: 2.06;
    letter-spacing: 0.4px;
    margin-bottom: 10px;
  }
}

.number {
  color: #6c6c6c61;
  font-size: rem(16px);
  /* position: absolute;
  top: 0;
  left: -5px; */
  +.text {
    padding-left: 5px;
  }
}

.large-numbered {
  &:not(:last-child) {
    margin-bottom: 60px;
    @media (--ms-and-down) {
      margin-bottom: 10px;
    }
  }

  .number {
    font-size: rem(100px);
    font-weight: bold;
    color: #6c6c6c1a;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -30px;
    @media (--ms-and-down) {
      left: -15px;
      font-size: rem(50px);
    }
  }

  & ~ .text{
    padding-top: 0;
    padding-left: 35px;
    margin-bottom: 0px;
  }
}

.text {
  padding-left: 15px;
  font-size: rem(16px);
  line-height: 2.08;
  letter-spacing: 0.88px;
  margin-bottom: 2px;
  margin-top: 0;
  font-weight: 400;
  width: 100%;
  &.editing {
    &:active,
    &:focus,
    &:hover {
      width: 100%;
      outline: auto !important;
      outline-color: #4D90FE !important;
      outline-width: 5px !important;
      outline-offset: -2px  !important;
      outline-style: auto  !important;
    }
  }
}

:global(.dir--rtl) {
  .mark {
    left: unset;
    right: -15px;
  }
  .number {
    left: unset;
    right: -20px;
  }
  .large-numbered  {
    .number {
        left: unset;
        right: -35px;
      }
  }
}