

/* Start:/local/templates/newswason_new/components/bitrix/news.list/how-to-buy-steps/style.css?17750400753217*/
/* Как купить путевку - стили для этапов */

.how-to-buy {
  padding: 40px 0 60px;
}

.how-to-buy__steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Общий блок этапа - обертка */
.how-to-buy__step {
  position: relative;
  min-height: 218px;
  display: flex;
align-items: center;
}

/* Фон с абсолютным позиционированием */
.how-to-buy__step-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(0, 178, 202, 0.1);
  border-radius: 20px;
  z-index: 1;
}

/* Расчет ширины фона для каждого этапа */
.how-to-buy__step[data-step="1"] .how-to-buy__step-bg {
  width: 291px;
}

/* Последний этап - розовый фон на всю ширину */
.how-to-buy__step--last .how-to-buy__step-bg {
  width: 100%;
  background: rgba(231, 139, 144, 0.1);
}

/* Двухколоночная структура */
.how-to-buy__step-wrapper {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 186px 1fr;
  gap: 0;
  align-items: center;
  width: 100%;
}

/* Левая колонка: номер + этап */
.how-to-buy__step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Номер этапа */
.how-to-buy__step-number {
  font-size: 200px;
  font-weight: 700;
  line-height: 0.9;
  color: rgba(2, 134, 151, 0.2);
}

.how-to-buy__step--last .how-to-buy__step-number {
  color: rgba(231, 139, 144, 0.2);
}

/* Слово "этап" */
.how-to-buy__step-label {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: rgba(2, 134, 151, 0.2);
}

.how-to-buy__step--last .how-to-buy__step-label {
  color: rgba(231, 139, 144, 0.2);
}

/* Правая колонка: карточка */
.how-to-buy__step-right {
  display: flex;
  align-items: flex-start;
  padding: 15px 15px 15px 0;
}

/* Белая карточка с контентом */
.how-to-buy__step-card {
  width: 100%;
  min-height: 189px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0px 4px 4px rgba(163, 163, 163, 0.45);
  padding: 42px 58px;
  display: flex;
      flex-direction: column;
      justify-content: center;
}

/* Заголовок этапа */
.how-to-buy__step-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #141414;
  margin: 0 0 12px;
}

/* Текст этапа */
.how-to-buy__step-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #141414;
  margin: 0;
}

.how-to-buy__step-text p:last-child{
    margin-bottom: 0;
}

.how-to-buy__step-text ul, .how-to-buy__step-text ol{
    margin-left: 20px;
}

@media (max-width: 991px) {
    .how-to-buy__step{
        min-height: 140px;
    }
  .how-to-buy__step-wrapper {
    grid-template-columns: 75px 1fr;
  }
  .how-to-buy__step-number {
    font-size: 88px;
  }
  .how-to-buy__step-label {
    font-size: 13px;
  }
  .how-to-buy__step-card {
    padding: 22px;
    min-height: 129px;
  }
  .how-to-buy__step-title{
    font-size: 12px;
  }
  .how-to-buy__step-text, .how-to-buy__step-text p{
    font-size: 10px;
  }
  .how-to-buy__step-right{
    padding: 5px 5px 5px 0;
  }
}

/* End */
/* /local/templates/newswason_new/components/bitrix/news.list/how-to-buy-steps/style.css?17750400753217 */
