@charset "UTF-8";
/* Первый экран публикации: фото 416 / 520 / 680 с затемнением black-40, снизу наезжает светлая панель
   на величину скругления 24 / 28 / 32 — нижний отступ 48 / 48 / 60 его учитывает.
   «Назад» → заголовок 20 / 28 / 32, заголовок → теги 16 (теги на всех брейкпоинтах; в макете только xl),
   заголовок на xl — до половины ширины (668).
   --large — мероприятие: 480 / 620 / 680, снизу 56, заголовок H1 (на xl до 778), «Назад» → заголовок 32,
   заголовок → теги 16; на телефоне «Назад» — под шапкой (сверху 80), как у coach-hero. */
.post-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 26rem;
  padding-bottom: 3rem;
  overflow: hidden;
  color: var(--color-white);
  background-color: var(--color-black);
  isolation: isolate;
  padding-inline: 0.875rem;
}
@media (min-width: 768px) {
  .post-hero {
    padding-inline: 1.375rem;
  }
}
@media (min-width: 1280px) {
  .post-hero {
    padding-inline: 1.75rem;
  }
}
@media (min-width: 768px) {
  .post-hero {
    height: 32.5rem;
  }
}
@media (min-width: 1280px) {
  .post-hero {
    height: 42.5rem;
    padding-bottom: 3.75rem;
  }
}
.post-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background-color: var(--color-black-40);
}
.post-hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-hero__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.post-hero__back {
  margin-bottom: 1.25rem;
}
@media (min-width: 768px) {
  .post-hero__back {
    margin-bottom: 1.75rem;
  }
}
@media (min-width: 1280px) {
  .post-hero__back {
    margin-bottom: 2rem;
  }
}
.post-hero__title {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 3rem;
  line-height: 0.96;
}
@media (min-width: 768px) {
  .post-hero__title {
    font-size: 3.5rem;
    line-height: 0.92;
  }
}
@media (min-width: 1280px) {
  .post-hero__title {
    font-size: 4rem;
    line-height: 0.94;
  }
}
@media (min-width: 1280px) {
  .post-hero__title {
    max-width: 41.75rem;
  }
}
.post-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 1rem;
}
@media (min-width: 1280px) {
  .post-hero__tags {
    margin-top: 2rem;
  }
}
.post-hero--large {
  height: 30rem;
  padding-bottom: 3.5rem;
}
@media (min-width: 768px) {
  .post-hero--large {
    height: 38.75rem;
  }
}
@media (min-width: 1280px) {
  .post-hero--large {
    height: 42.5rem;
    padding-bottom: 3.5rem;
  }
}
.post-hero--large .post-hero__image {
  object-position: 28% 50%;
}
@media (min-width: 768px) {
  .post-hero--large .post-hero__image {
    object-position: 50% 50%;
  }
}
.post-hero--large .post-hero__back {
  position: absolute;
  top: 5rem;
  margin: 0;
}
@media (min-width: 768px) {
  .post-hero--large .post-hero__back {
    position: static;
    margin-bottom: 2rem;
  }
}
.post-hero--large .post-hero__title {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 4rem;
  line-height: 0.85;
}
@media (min-width: 768px) {
  .post-hero--large .post-hero__title {
    font-size: 5.5rem;
    line-height: 0.86;
  }
}
@media (min-width: 1280px) {
  .post-hero--large .post-hero__title {
    font-size: 7.5rem;
    line-height: 0.85;
  }
}
@media (min-width: 1280px) {
  .post-hero--large .post-hero__title {
    max-width: 48.625rem;
  }
}
@media (min-width: 1280px) {
  .post-hero--large .post-hero__tags {
    margin-top: 1rem;
  }
}
