/* NNT Git Activity. Loaded only on pages that use [nnt_git_activity]. */
.nnt-ga {
  --nnt-ga-green: #2b842d;
  --nnt-ga-text: #4a4a4a;
  --nnt-ga-muted: #595959;
  --nnt-ga-border: #e1e4e8;
  color: var(--nnt-ga-text);
}
.nnt-ga ul,
.nnt-ga ol {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}
.nnt-ga p {
  margin: 0;
}
.nnt-ga a {
  color: var(--nnt-ga-green);
}
.nnt-ga__title {
  margin: 0 0 0.75em;
}
.nnt-ga__sub {
  font-size: 1.15em;
  margin: 0 0 0.75em;
  padding-bottom: 0.25em;
  border-bottom: 2px solid #3fc142;
  display: inline-block;
}

/* Org cards: fixed 64px avatars, wraps on small screens. */
.nnt-ga__orgs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 12px;
  margin-bottom: 1.75em !important;
  text-align: center;
}
.nnt-ga__orgs a {
  display: block;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.nnt-ga__orgs img {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 6px;
  border-radius: 8px;
  background: #e9e9e9;
}

.nnt-ga__cols {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}
@media (max-width: 991px) {
  .nnt-ga__cols {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Projects: two-column grid of fixed-height cards. */
.nnt-ga__repos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 599px) {
  .nnt-ga__repos {
    grid-template-columns: minmax(0, 1fr);
  }
}
.nnt-ga__repo {
  background: #fff;
  border: 1px solid var(--nnt-ga-border);
  border-radius: 6px;
  padding: 12px 14px;
  height: 120px;
  box-sizing: border-box;
  font-size: 13px;
  line-height: 1.5;
  overflow: hidden;
}
.nnt-ga__repo-name {
  display: block;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nnt-ga__owner {
  display: inline-block;
  font-size: 12px;
  margin: 2px 0 6px;
  padding: 0 6px;
  border: 1px solid #8dbdf8;
  background: #e6f0fb;
  border-radius: 3px;
  color: #24496b !important;
}
.nnt-ga__meta,
.nnt-ga__time {
  color: var(--nnt-ga-muted);
}
.nnt-ga__meta > span {
  margin-right: 12px;
  white-space: nowrap;
}
.nnt-ga__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 4px;
  background: #9e9e9e;
}
.nnt-ga__dot--javascript { background: #f1e05a; }
.nnt-ga__dot--typescript { background: #3178c6; }
.nnt-ga__dot--csharp { background: #178600; }
.nnt-ga__dot--python { background: #3572a5; }
.nnt-ga__dot--go { background: #00add8; }
.nnt-ga__dot--java { background: #b07219; }
.nnt-ga__dot--rust { background: #dea584; }
.nnt-ga__dot--shell { background: #89e051; }
.nnt-ga__dot--html { background: #e34c26; }

/* Commits */
.nnt-ga__commits {
  border: 1px solid var(--nnt-ga-border);
  border-radius: 6px;
  background: #fff;
}
.nnt-ga__commit {
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1.5;
  border-top: 1px solid var(--nnt-ga-border);
  color: var(--nnt-ga-muted);
}
.nnt-ga__commit:first-child {
  border-top: 0;
}
.nnt-ga__commit-msg a {
  color: var(--nnt-ga-text);
  font-size: 14px;
  line-height: 1.5;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nnt-ga__commit-by img {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  vertical-align: middle;
  margin: 0 6px 0 0;
}
.nnt-ga__more {
  margin: 1.25em 0 0 !important;
  text-align: right;
  font-size: 15px;
  font-weight: 600;
}
.nnt-ga .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
