/* Врезки бесплатных интенсивов: плашка после блока оплаты курса и карточка
   в статьях журнала.

   Форма плашки повторяет «Подарить курс» и опоры сборника — это один жанр:
   значок, заголовок, строка, кнопка. Фон #EDEBE8 держится и на бежевом
   #F6F5F3, и на белом; тем же цветом сделаны бонусы и работы студентов. */
.intensive-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 26px 32px;
  border-radius: 20px;
  background: #EDEBE8;
}

.intensive-cta__icon {
  width: 48px;
  height: 48px;
  flex: none;
  /* Зелёный вместо охры: плашка говорит «бесплатно», и цвет тот же, что
     у бейджа «Бесплатно» в каталоге. 4,6:1 к плашке. */
  color: #2F7A55;
}

.intensive-cta__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.intensive-cta__title {
  margin: 0;
  font-family: "Lora", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.01em;
  color: #171F26;
}

.intensive-cta__text {
  margin: 6px 0 0;
  max-width: 620px;
  font-size: 16px;
  line-height: 24px;
  color: #52606D;
}

.intensive-cta__btn {
  display: flex;
  align-items: center;
  flex: none;
  padding: 14px 24px;
  border-radius: 6px;
  background: #F5B53D;
  color: #171F26;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.intensive-cta__btn:hover {
  background: #E9A824;
  color: #171F26;
}

.intensive-cta__btn:focus-visible {
  outline: 2px solid #171F26;
  outline-offset: 2px;
}

@media only screen and (max-width: 767px) {
  .intensive-cta {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 16px 18px;
    padding: 24px 20px;
  }

  .intensive-cta__btn {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .intensive-cta__title {
    font-size: 21px;
    line-height: 27px;
  }
}

@media only screen and (max-width: 575px) {
  .intensive-cta__icon {
    width: 40px;
    height: 40px;
  }
}

/* Карточка в статье уже колонки текста, поэтому компактнее плашки:
   без значка, заголовок меньше, кнопка справа на десктопе. */
.article-intensive {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 28px 0;
  padding: 20px 24px;
  border-radius: 16px;
  background: #EDEBE8;
}

.article-intensive__title {
  margin: 0;
  font-weight: 700;
  font-size: 17px;
  line-height: 24px;
  color: #171F26;
}

.article-intensive__text {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 22px;
  color: #52606D;
}

.article-intensive__btn {
  display: flex;
  align-items: center;
  flex: none;
  padding: 12px 20px;
  border-radius: 6px;
  background: #F5B53D;
  color: #171F26;
  font-weight: 600;
  font-size: 15px;
  line-height: 22px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.article-intensive__btn:hover {
  background: #E9A824;
  color: #171F26;
}

.article-intensive__btn:focus-visible {
  outline: 2px solid #171F26;
  outline-offset: 2px;
}

@media only screen and (max-width: 575px) {
  .article-intensive {
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
  }

  .article-intensive__btn {
    justify-content: center;
  }
}
