/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.profile-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.profile-item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.profile-meta {
  color: #4b5563;
  font-size: 0.875rem;
  white-space: nowrap;
}

.profile-summary {
  margin-top: 0.25rem;
  color: #374151;
}

.profile-link {
  color: #2563eb;
}

.profile-link:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .profile-item-head {
    flex-direction: column;
    gap: 0.15rem;
  }

  .profile-meta {
    white-space: normal;
  }
}
