/* «Ваша история начинается здесь» (по просьбе): без фото и анимации, бордовый фон, в стиле блока «Получите консультацию»
   (без полей формы), горизонтально — заголовок и текст слева, кнопка справа; на планшете и телефоне кнопка под текстом. */
.hh-story {
  background: #6b151d;
  padding: 45px var(--hh-m, max(20px, calc((100% - 1160px) / 2)));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hh-story__title {
  margin: 0 0 calc(20px * var(--hh-s, 1));
  font-family: 'LiteratureDecor', Arial, sans-serif;
  font-weight: 400;
  font-size: calc(52px * var(--hh-s, 1));
  line-height: normal;
  text-transform: uppercase;
  color: #fff;
  text-align: left;
}
.hh-story__descr {
  font-family: 'LiteratureDecor', Arial, sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 31px;
  color: #fff;
  text-align: left;
}
#allrecords .hh-story .hh-story__btn.t-btn {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  height: calc(50px * var(--hh-s, 1));
  padding: 0 calc(30px * var(--hh-s, 1));
  font-family: 'Raleway', Arial, sans-serif; font-weight: 800; font-size: calc(14px * var(--hh-s, 1));
  text-transform: uppercase; text-decoration: none; border-radius: 0;
  border: 1px solid #bb9775; background-color: #bb9775; color: #fff;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
#allrecords .hh-story .hh-story__btn.t-btn:hover { background-color: #ece5db; border-color: #ece5db; color: #6b151d; }
@media (max-width: 959px) {
  .hh-story { flex-direction: column; align-items: flex-start; gap: 30px; }
  .hh-story__title { font-size: calc(45px * var(--hh-s, 1)); }
  #allrecords .hh-story .hh-story__btn.t-btn { height: calc(56px * var(--hh-s, 1)); }
}
@media (max-width: 639px) {
  .hh-story__title { font-size: calc(30px * var(--hh-s, 1)); }
  .hh-story__descr { font-size: 16px; line-height: 25px; }
  #allrecords .hh-story .hh-story__btn.t-btn { height: calc(53px * var(--hh-s, 1)); }
}

/* В стиле главного экрана (по просьбе): светло-бежевый фон, птицы (без дома), заголовок бежевым LiteratureDecor
   в одну строку и меньше, текст — как в «О проекте» (Raleway 16px), кнопка — как на главном экране (бордовая) */
.hh-story { background: #ece5db; position: relative; overflow: hidden; }
.hh-story > * { position: relative; z-index: 1; }
.hh-story::before, .hh-story::after {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  background: url('../static.tildacdn.com/tild6531-3634-4264-a261-343466306630/Birds-PNG-Photo.png') center / contain no-repeat;
}
.hh-story::before { width: 240px; height: 162px; right: 60px; top: -80px; }
.hh-story::after { width: 340px; height: 229px; right: -60px; bottom: -110px; transform: scaleX(-1); }
.hh-story__title { color: #bb9775; font-size: calc(40px * var(--hh-s, 1)); white-space: nowrap; }
.hh-story__descr { font-family: 'Raleway', Arial, sans-serif; font-weight: 400; font-size: 16px; line-height: 19px; color: #000; }
#allrecords .hh-story .hh-story__btn.t-btn { background-color: #6b151d; border-color: #6b151d; color: #fff; }
#allrecords .hh-story .hh-story__btn.t-btn:hover { background-color: #bb9775; border-color: #bb9775; color: #fff; }
@media (max-width: 959px) {
  .hh-story__title { font-size: calc(32px * var(--hh-s, 1)); white-space: normal; }
}
@media (max-width: 639px) {
  .hh-story__title { font-size: calc(24px * var(--hh-s, 1)); }
  .hh-story__descr { font-size: 16px; line-height: 19px; }
  .hh-story::before { width: 200px; height: 135px; left: auto; right: -40px; top: -50px; }
  .hh-story::after { display: none; }
}

/* «Напишите свою — в History» — шрифтом как «Паркинг»: Raleway полужирный 32px */
.hh-story__write { font-family: 'Raleway', Arial, sans-serif; font-weight: 600; font-size: 32px; line-height: 1.25; color: #000; }
@media (max-width: 639px) { .hh-story__write { font-size: 22px; } }
/* «Напишите свою — в History» — подзаголовок над заголовком, как «ДЕВЕЛОПЕР»: Raleway полужирный 18px, прописные, бежевый, отступ 10px */
.hh-story__write { margin-bottom: calc(10px * var(--hh-s, 1)); font-weight: 600; font-size: 18px; line-height: 1; text-transform: uppercase; color: #bb9775; }
.hh-story__title { margin-bottom: 0; }
@media (max-width: 639px) { .hh-story__write { font-size: 12px; } }
/* Птицы — справа от первой строки заголовка, над второй (по просьбе); вторую стаю в углу убрали */
.hh-story::before {
  left: calc(var(--hh-m, max(20px, (100% - 1160px) / 2)) + 400px * var(--hh-s, 1)) !important;
  right: auto !important;
  top: -40px !important;
  width: calc(420px * var(--hh-s, 1)) !important;
  height: calc(283px * var(--hh-s, 1)) !important;
}
.hh-story::after { display: none !important; }
@media (max-width: 959px) { .hh-story::before { display: none !important; } }
