/* „სასარგებლო GitHub რეპოები“ (/github/), on top of news.css */
.gh-week { margin-block: 8px 48px; }
.gh-week h2 { margin: 0 0 18px; font-size: clamp(20px, 2.4vw, 26px); }
.gh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.gh { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.gh-name { display: flex; align-items: center; gap: 14px; min-width: 0; color: inherit; text-decoration: none; font-weight: 700; font-size: 20px; line-height: 1.2; }
.gh-name img { flex: none; width: 48px; height: 48px; border-radius: 12px; background: #1a1724; }
.gh-name span { min-width: 0; overflow-wrap: anywhere; }
.gh-name small { display: block; font-size: 14px; font-weight: 500; opacity: .6; }
.gh-name:hover span, .gh-name:focus-visible span { text-decoration: underline; text-underline-offset: 3px; }
.gh-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.gh-stats span { padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(182, 156, 255, .14); color: #b69cff; font-variant-numeric: tabular-nums; }
.gh-stats span + span { background: rgba(255, 255, 255, .07); color: inherit; opacity: .85; }
.gh h3 { margin: 4px 0 0; font-size: 17px; line-height: 1.35; }
.gh ul { margin: 0; padding-left: 18px; font-size: 15px; line-height: 1.55; opacity: .85; }
.gh-more { margin: 16px 0 0; }

/* „თვის ყველაზე სწრაფად მზარდი სკილები“: last month's top 10 by stars gained, bars relative to the first */
.gh-top { margin-block: 8px 56px; padding: clamp(18px, 3vw, 28px); border-radius: 22px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.gh-top h2 { margin: 0; font-size: clamp(20px, 2.4vw, 26px); }
.gh-top-sub { margin: 6px 0 20px; font-size: 15px; opacity: .7; }
.gh-rank { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.gh-rank li { display: grid; grid-template-columns: 2em minmax(0, 1fr) auto; column-gap: 12px; row-gap: 8px; align-items: center; }
.gh-n { font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; opacity: .55; text-align: right; }
.gh-rank li:nth-child(-n + 3) .gh-n { color: #b69cff; opacity: 1; }
.gh-r { display: flex; align-items: center; gap: 12px; min-width: 0; color: inherit; text-decoration: none; font-weight: 700; font-size: 17px; line-height: 1.25; }
.gh-r img { flex: none; width: 36px; height: 36px; border-radius: 10px; background: #1a1724; }
.gh-r span { min-width: 0; overflow-wrap: anywhere; }
.gh-r small { display: block; font-size: 13px; font-weight: 500; opacity: .6; font-variant-numeric: tabular-nums; }
.gh-r:hover > span, .gh-r:focus-visible > span { text-decoration: underline; text-underline-offset: 3px; }
.gh-gain { font-weight: 700; font-size: 16px; color: #b69cff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gh-bar { grid-column: 2 / -1; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.gh-bar i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4f2792, #b69cff); transform-origin: left; animation: gh-grow .9s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * 60ms) both; }
@keyframes gh-grow { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .gh-bar i { animation: none; } }
.gh-r .nw { white-space: nowrap; }
.gh-done { margin-top: 22px; }
.gh-done summary { cursor: pointer; width: fit-content; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #b69cff; background: rgba(182, 156, 255, .12); }
.gh-done summary:hover, .gh-done summary:focus-visible { background: rgba(182, 156, 255, .2); }
.gh-done[open] summary { margin-bottom: 18px; }
@media (max-width: 480px) {
  .gh-rank li { grid-template-columns: 1.4em minmax(0, 1fr) auto; column-gap: 10px; }
  .gh-n { font-size: 16px; }
  .gh-r { gap: 10px; font-size: 16px; }
  .gh-r img { width: 32px; height: 32px; border-radius: 9px; }
  .gh-gain { font-size: 15px; }
}
.gh-top-note { margin: 20px 0 0; font-size: 13px; line-height: 1.55; opacity: .6; }
