/* Scoped portfolio repository cards; no third-party widgets or API requests. */
.github-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}
.github-project-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface, rgba(127, 127, 127, .05));
}
.github-project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.github-project-icon { width: 32px; height: 32px; flex: 0 0 32px; }
.github-project-kind { color: var(--muted); font-size: .78rem; text-align: right; }
.github-project-card h3 { margin: 0; font-size: clamp(1.2rem, 1.7vw, 1.55rem); overflow-wrap: anywhere; }
.github-project-card p { margin: 0; }
.github-project-repository { font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; }
.github-project-description { line-height: 1.65; }
.github-project-credit { font-size: .82rem; line-height: 1.55; color: var(--muted); overflow-wrap: anywhere; }
.github-project-credit a { text-decoration: underline; text-underline-offset: 3px; }
.github-project-link { align-self: flex-start; margin-top: auto; }
.github-projects .section-head .btn { margin-top: 12px; }
.github-project-card a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
@media (max-width: 1000px) {
  .github-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .github-project-grid { grid-template-columns: minmax(0, 1fr); }
}
