.gk-repo-catalogue {
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:1.25rem;
	max-width:100%;
	margin:2rem 0;
	padding:0
}
.gk-repo-card {
	min-width:0;
	margin:0;
	padding:clamp(1.15rem,2.5vw,2rem);
	border:1px solid var(--wp--preset--color--section-border-light,#333);
	background:linear-gradient(145deg,var(--wp--preset--color--section-gray,#222),var(--wp--preset--color--base,#161616));
	display:flex;
	flex-direction:column;
	transition:border-color .2s ease,transform .2s ease
}
.gk-repo-card:hover,.gk-repo-card:focus-within {
	border-color:var(--wp--preset--color--brand-yellow-light,#d9b636);
	transform:translateY(-2px)
}
.gk-repo-card__heading {
	display:flex;
	align-items:center;
	gap:1rem;
	min-width:0;
	margin:0 0 1rem
}
.gk-repo-card__heading .gk-title-logo,.gk-repo-card__fallback {
	width:48px;
	height:48px;
	flex:0 0 48px;
	object-fit:contain
}
.gk-repo-card__fallback {
	display:grid;
	place-items:center;
	background:#333;
	color:#d9b636;
	font-size:1.4rem;
	font-weight:700
}
.gk-repo-card__title {
	min-width:0;
	margin:.25rem 0 0;
	font-size:clamp(1.25rem,1.6vw,1.65rem);
	line-height:1.2
}
.gk-repo-card__title a {
	text-decoration:none
}
.gk-repo-card__summary {
	margin:0 0 1rem;
	line-height:1.6
}
.gk-repo-card__summary p {
	margin:0
}
.gk-repo-card__topics {
	font-size:.8rem;
	color:var(--wp--preset--color--muted,#999);
	margin:1rem 0
}
.gk-repo-card__actions {
	display:flex;
	flex-wrap:wrap;
	gap:.75rem 1.5rem;
	margin-top:auto;
	padding-top:1rem;
	font-size:.9rem
}
.gk-repo-card__actions a:first-child {
	font-weight:700;
	color:var(--wp--preset--color--brand-yellow-light,#d9b636)
}
.gk-repo-hero {
	padding-block:clamp(2rem,5vw,5rem) 1rem
}
.gk-repo-hero .gk-title-logo {
	object-fit:contain
}
.gk-insights__source a {
	color:var(--wp--preset--color--brand-yellow-light,#d9b636);
	font-weight:600
}
@media(max-width:780px) {
	.gk-repo-catalogue {
	grid-template-columns:minmax(0,1fr)
}
.gk-repo-hero {
	gap:1rem
}
}
@media(prefers-reduced-motion:reduce) {
	.gk-repo-card {
	transition:none
}
.gk-repo-card:hover,.gk-repo-card:focus-within {
	transform:none
}
}
.gk-repo-catalogue {
	grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr))
}
.gk-catalogue-intro {
  margin-block: 2.5rem 0;
}
.gk-catalogue-intro h2 {
  margin: 0;
}
.gk-catalogue-intro p {
  color: var(--wp--preset--color--muted, #999);
  font-size: .9rem;
  margin: .5rem 0 0;
}

/* Give each story room to read, with its real repository image as the visual anchor. */
.gk-list-page .gk-repo-catalogue { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 1.25rem; }
.gk-list-page .gk-repo-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border: 0;
  border-top: 1px solid var(--wp--preset--color--section-border-light, #333);
  background: transparent;
  transform: none;
}
.gk-list-page .gk-repo-card:hover, .gk-list-page .gk-repo-card:focus-within { transform: none; border-color: var(--wp--preset--color--section-food-light, #4d3b26); }
.gk-list-page .gk-repo-card__heading { gap: 1.25rem; margin-bottom: 1rem; }
.gk-list-page .gk-repo-card__heading .gk-title-logo,
.gk-list-page .gk-repo-card__fallback { width: 4rem; height: 4rem; flex-basis: 4rem; object-fit: contain; }
.gk-list-page .gk-repo-card__title { font-size: clamp(1.4rem, 2vw, 1.85rem); }
.gk-list-page .gk-repo-card__summary { max-width: 65ch; }
.gk-list-page .gk-repo-card__actions { margin-top: .1rem; }
.gk-list-page .gk-repo-card__topics a { color: #4496bf; }
.gk-list-page .gk-insights--compact { max-width: 65ch; }
