.history-page {
  padding-bottom: 80px;
}

.history-opening {
  max-width: 950px;
  margin: 0 auto 35px;
  padding: 32px;
  border-left: 3px solid var(--terra);
  background: var(--soft);
}

.history-opening .lead {
  margin: 0;
}

.timeline p {
  max-width: 690px;
}

.history-summary {
  max-width: 950px;
  margin: 60px auto 0;
  padding: 50px;
  background: var(--brown);
  color: var(--cream);
}

.history-summary > p {
  max-width: 760px;
}

.specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0;
}

.specialties span {
  border: 1px solid #fcede166;
  padding: 9px 13px;
  font-size: 13px;
}

.history-signature {
  max-width: 950px;
  margin: 45px auto 0;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.history-signature p {
  max-width: 780px;
  margin: 18px auto 0;
  font: italic 28px/1.4 Georgia, serif;
}

@media (max-width: 800px) {
  .history-page {
    padding-bottom: 45px;
  }

  .history-opening {
    padding: 24px 20px;
  }

  .history-summary {
    margin-top: 35px;
    padding: 34px 22px;
  }

  .history-signature p {
    font-size: 23px;
  }

  .specialties span {
    font-size: 12px;
  }
}
