.historic-learning {
  padding: 88px 0 98px;
  background: #f7f5ee;
  border-top: 1px solid var(--line);
}

.historic-learning-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.historic-learning-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 25px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d5ddd8;
  border-radius: 7px;
  box-shadow: 0 9px 26px rgba(8, 50, 53, .05);
}

.historic-learning-card:hover {
  transform: translateY(-2px);
  border-color: var(--mint);
  box-shadow: 0 14px 32px rgba(8, 50, 53, .09);
}

.historic-learning-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.historic-learning-top span,
.historic-learning-top small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.historic-learning-top span { color: var(--teal); }
.historic-learning-top small { color: #94743b; }

.historic-learning-card h3 {
  margin: 20px 0 7px;
  color: var(--navy);
  font-family: "Marcellus";
  font-size: 25px;
  font-weight: 400;
  line-height: 1.15;
}

.historic-learning-location {
  margin: 0 0 15px !important;
  color: #94743b !important;
  font-size: 12px !important;
  font-weight: 700;
}

.historic-learning-card > p:not(.historic-learning-location) {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.historic-learning-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 22px;
}

.historic-learning-actions a,
.historic-learning-actions button {
  min-height: 38px;
  padding: 9px 11px;
  border-radius: 4px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.historic-learning-actions a {
  background: #edf3f0;
  color: var(--teal);
}

.historic-learning-actions button {
  flex: 1 0 100%;
  border: 1px solid var(--teal);
  background: #fff;
  color: var(--teal);
}

.historic-learning-actions button.added {
  background: var(--teal);
  color: #fff;
}

@media (max-width: 980px) {
  .historic-learning-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .historic-learning { padding: 66px 0 72px; }
  .historic-learning-grid { grid-template-columns: 1fr; }
  .historic-learning-card { min-height: 270px; padding: 22px; }
}
