/* contact.css */

/* Base styles, adjusted for full‑width and no top gap */
.contact-section {
  width: 90%;
  max-width: 900px;          /* same max as your articles list */
  margin: var(--spacing) auto  /* small gap above/below */ ;
  padding: var(--spacing);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
  text-align: left;          /* left‑align so lines fill the box */
  color: var(--text-primary);
  font-family: var(--font-mono);
}

/* Remove default top-margin on the title */
.contact-title {
  margin-top: 0;             /* no gap above */
  margin-bottom: 0.75rem;    /* small gap below */
  font-size: 2rem;
  color: var(--text-primary);
}

/* Descriptions fill the box */
.contact-description {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: var(--text-secondary);
}

.contact-description a {
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.contact-description a:hover {
  border-color: var(--text-primary);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .contact-section {
    padding: 0.75rem;
    margin: 1rem auto;
  }
  .contact-title {
    font-size: 1.75rem;
  }
  .contact-description {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .contact-section {
    width: 95%;
    padding: 0.5rem;
    margin: 0.75rem auto;
  }
  .contact-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  .contact-description {
    font-size: 0.9rem;
  }
}
