/* ── Contacts page ── */

.contact-group-title {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: .6rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--border);
}

.contact-list {
  display: flex;
  flex-direction: column;
}

.contact-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .75rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background .18s ease;
}

.contact-item:hover {
  background: #f0f4f9;
  text-decoration: none;
  color: inherit;
}

.contact-item + .contact-item {
  border-top: 1px solid var(--border);
}

.contact-role {
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
  flex-shrink: 0;
}

.contact-email {
  font-size: .875rem;
  color: var(--blue);
  text-align: right;
  word-break: break-all;
}

.contact-item--featured {
  background: #f5f8ff;
  border: 1px solid #c9d8ee;
  border-radius: 8px;
}

.contact-item--featured .contact-role {
  color: var(--dark-blue);
  font-size: 1rem;
}

.contact-item--featured:hover {
  background: #eaf0fb;
}

@media (max-width: 540px) {
  .contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: .2rem;
  }
  .contact-email {
    text-align: left;
  }
}
