@import url("./global.css");

/* Grid layout */
.repo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Card */
.repo-card {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.repo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

/* Title */
.repo-card-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #1a1a1a;
}

.repo-card-header h3: hover {
  color: #1b1b1b1b;
}

/* Description */
.repo-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
  margin-bottom: 1rem;
  flex-grow: 1;
}

/* Meta row */
.repo-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 1rem;
}

/* Button */
.repo-button {
  align-self: flex-start;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: #828181;
  border: 1px solid #dbeafe;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.repo-button:hover {
  color: var(--accent);
  border-color: #828181;
}
