.contacts-header {
  margin: 2.25rem 0 1.75rem;
}

.contacts-header h1,
.contacts-view h2,
.contacts-editor h2 {
  color: #253b2e;
}

.contacts-header h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -.01em;
}

.contacts-header p {
  max-width: 46rem;
  margin: .4rem 0 0;
  color: #5d685f;
  font-size: 1.05rem;
  line-height: 1.6;
}

.contacts-editor {
  padding: 1.5rem;
  border: 1px solid #e6e0d2;
  border-radius: 16px;
  background: #fffaf2;
  box-shadow: 0 2px 6px rgba(29, 37, 32, .05), 0 10px 28px rgba(29, 37, 32, .06);
  margin-bottom: 2rem;
}

.contacts-view {
  margin-bottom: 2.5rem;
}

.contacts-form-actions {
  display: flex;
  gap: .5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.contacts-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 0;
}

.contacts-details > div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  row-gap: .25rem;
  align-content: start;
  padding: 1.25rem 1.4rem;
  border: 1px solid #e6e0d2;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(29, 37, 32, .05), 0 10px 28px rgba(29, 37, 32, .06);
}

.contacts-icon {
  display: inline-flex;
  grid-row: span 2;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #e8f1ea;
  color: #2f6b46;
}

.contacts-details dt {
  color: #5d685f;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.contacts-details dd {
  margin: 0;
  color: #1d2f24;
  font-size: 1.1rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.contacts-details dd a {
  color: #2f6b46;
  font-weight: 500;
  text-decoration: none;
}

.contacts-details dd a:hover {
  text-decoration: underline;
}

.contacts-multiline {
  white-space: pre-wrap;
}

.contacts-address {
  margin: 0;
}

.contacts-social-links {
  display: grid;
  gap: .35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
