:root {
  --history-bg: #f6f1ea;
  --history-panel: rgba(255, 255, 255, 0.9);
  --history-border: rgba(90, 70, 50, 0.18);
}

.history-body {
  background: #f6f1ea;
  color: #3a2a18;
}

.history-page {
  background: var(--history-bg);
  color: #3a2a18;
}

.history-hero {
  position: relative;
  min-height: 100vh;
  padding: 5rem 1.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.history-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1);
  object-position: 55% center;
}

.history-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(0,0,0, 0.75) 80%);
}

.history-hero__content {
  position: relative;
  text-align: center;
  max-width: 900px;
  z-index: 1;
  color: #ffffff;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.history-hero__title {
  font-family: "Boska", serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin: 0 0 1rem;
}

.history-hero__text {
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0 auto;
}

.history-layout {
  display: grid;
  gap: 2.5rem;
  max-width: 60vw;
  padding: 4rem 1.5rem 6rem;
  margin: 0 auto;
}

.history-timeline {
  border-left: 2px solid var(--history-border);
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.history-timeline__item {
  position: relative;
  padding-left: 1.5rem;
}

.history-timeline__item::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--gold-1);
  position: absolute;
  left: -8px;
  top: 0.2rem;
  box-shadow: 0 0 0 8px rgba(212, 167, 63, 0.2);
}

.history-timeline__year {
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(58, 42, 24, 0.7);
  margin: 0 0 0.35rem;
}

.history-timeline__title {
  font-family: "Boska", serif;
  font-size: 1.8rem;
  margin: 0 0 0.75rem;
}

.history-timeline__text {
  margin: 0;
  line-height: 1.7;
  color: rgba(58, 42, 24, 0.85);
}

.history-details {
  background: var(--history-panel);
  border: 1px solid var(--history-border);
  border-radius: 30px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.history-details__title {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(58, 42, 24, 0.7);
}

.history-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}

.history-details li {
  line-height: 1.5;
  border-bottom: 1px solid rgba(90, 70, 50, 0.12);
  padding-bottom: 0.75rem;
  max-width: 48ch;
}

.history-note {
  font-size: 0.9rem;
  color: rgba(58, 42, 24, 0.75);
  line-height: 1.6;
}

.history-note a {
  color: #3a2a18;
}

.history-cta {
  padding: clamp(2rem, 5vw, 3.5rem);
  background: rgba(7, 46, 31, 0.08);
  border-radius: 22px;
  text-align: center;
  display: grid;
  gap: 0.75rem;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  max-width: 80vw;
}

.history-cta h3 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-family: "Boska", serif;
  font-style: italic;
  color: #3a2a18;
}

.history-cta p {
  margin: 0;
  color: rgba(58, 42, 24, 0.85);
  line-height: 1.3;
}

.history-cta a {
  justify-self: center;
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: #3f2e08;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

@media (max-width: 900px) {
  .history-layout {
    max-width: 95vw;
  }

  .history-timeline {
    border-left: 2px solid var(--history-border);
    border-top: none;
    padding-left: 1.5rem;
    padding-top: 0;
  }

  .history-timeline__item {
    padding-left: 1.5rem;
  }

  .history-timeline__item::before {
    left: -8px;
  }

  .history-cta {
    max-width: 95vw;
    margin-bottom: clamp(2rem, 6vw, 3rem);
  }

  .history-details {
    padding: 1.5rem;
  }

  .history-details li {
    max-width: 100%;
  }
}
