@charset "UTF-8";
/* Интро «Академии»: две карточки r 24 (в макете на телефоне у белой 20), наезжают на hero на 24 / 24 / 32
   (z-index 1). Телефон и md — столбиком (560 + 480 / 520 + 520), xl — в ряд по половине, 680.
   Белая: текст T2 сверху (поля 40 / 40 / 28, справа 48 / 244 / 118), снизу теги --gray и H2
   (через 24 / 32 / 32, ширина тегов на xl 477). H2 в разметке первым — место задают области сетки. Промо: фото cover (затемнение запечено в файл),
   H1 зелёный сверху, снизу текст T2 белый и кнопка 40 — телефон столбиком через 32, с md в строку
   (кнопка справа по низу); поля 14 / 22 / 28. */
.academy-intro {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  margin-top: -1.5rem;
}
@media (min-width: 1280px) {
  .academy-intro {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -2rem;
  }
}
.academy-intro__card, .academy-intro__promo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: var(--radius-24);
}
@media (min-width: 1280px) {
  .academy-intro__card, .academy-intro__promo {
    min-height: 42.5rem;
  }
}
.academy-intro__card {
  display: grid;
  grid-template-areas: "text" "." "tags" "title";
  grid-template-rows: auto 1fr auto auto;
  row-gap: 1.5rem;
  padding: 2.5rem 0.875rem 0.875rem;
  min-height: 35rem;
  color: var(--color-black);
  background-color: var(--color-white);
}
@media (min-width: 768px) {
  .academy-intro__card {
    row-gap: 2rem;
    padding: 2.5rem 1.375rem 1.375rem;
    min-height: 32.5rem;
  }
}
@media (min-width: 1280px) {
  .academy-intro__card {
    padding: 1.75rem;
    min-height: 42.5rem;
  }
}
.academy-intro__text {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.4;
}
@media (min-width: 1280px) {
  .academy-intro__text {
    font-size: 1rem;
    line-height: 1.48;
  }
}
.academy-intro__text {
  grid-area: text;
  padding-right: 2.125rem;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .academy-intro__text {
    padding-right: 13.875rem;
    margin-bottom: 0;
  }
}
@media (min-width: 1280px) {
  .academy-intro__text {
    padding-right: 5.625rem;
  }
}
.academy-intro__tags {
  grid-area: tags;
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
@media (min-width: 1280px) {
  .academy-intro__tags {
    max-width: 29.875rem;
  }
}
.academy-intro__title {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 3rem;
  line-height: 0.96;
}
@media (min-width: 768px) {
  .academy-intro__title {
    font-size: 3.5rem;
    line-height: 0.92;
  }
}
@media (min-width: 1280px) {
  .academy-intro__title {
    font-size: 4rem;
    line-height: 0.94;
  }
}
.academy-intro__title {
  grid-area: title;
}
.academy-intro__promo {
  min-height: 30rem;
  color: var(--color-white);
  background-color: var(--color-black);
  isolation: isolate;
}
@media (min-width: 768px) {
  .academy-intro__promo {
    min-height: 32.5rem;
  }
}
.academy-intro__image {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.academy-intro__promo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 4rem;
  line-height: 0.85;
}
@media (min-width: 768px) {
  .academy-intro__promo-title {
    font-size: 5.5rem;
    line-height: 0.86;
  }
}
@media (min-width: 1280px) {
  .academy-intro__promo-title {
    font-size: 7.5rem;
    line-height: 0.85;
  }
}
.academy-intro__promo-title {
  padding: 0.875rem 0.875rem 0;
  color: var(--color-green);
}
@media (min-width: 768px) {
  .academy-intro__promo-title {
    padding: 1.375rem 1.375rem 0;
  }
}
@media (min-width: 1280px) {
  .academy-intro__promo-title {
    padding: 1.75rem 1.75rem 0;
  }
}
.academy-intro__promo-bottom {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0.875rem 0.875rem;
}
@media (min-width: 768px) {
  .academy-intro__promo-bottom {
    flex-direction: row;
    gap: 1.5rem;
    align-items: flex-end;
    justify-content: space-between;
    padding: 2rem 1.375rem 1.375rem;
  }
}
@media (min-width: 1280px) {
  .academy-intro__promo-bottom {
    padding: 2rem 1.75rem 1.75rem;
  }
}
.academy-intro__promo-text {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.4;
}
@media (min-width: 1280px) {
  .academy-intro__promo-text {
    font-size: 1rem;
    line-height: 1.48;
  }
}
@media (min-width: 768px) {
  .academy-intro__promo-text {
    flex: 1 1 0;
    max-width: 21.25rem;
  }
}
.academy-intro__button {
  flex-shrink: 0;
}
