/* Gaming-only content layout. Shared controls, frames, and navigation visuals come from Main. */

.section-heading--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.section-heading--split > div {
  min-width: 0;
}

.update-archive .update-list {
  margin-top: 0;
}

.updates-page main {
  display: grid;
  gap: 1.5rem;
}

.gaming-mods-page :where(#projects, #updates, #about),
.project-detail-page #project-downloads,
.updates-page #updates {
  scroll-margin-top: 6.5rem;
}

/* The Mods menu uses the canonical global cascade for geometry and behavior.
   Gaming keeps only the richer project-link copy local. */
.project-menu-label {
  margin: .35rem .55rem .55rem;
}

.project-menu-item .global-menu-submenu a {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: .2rem;
}

.project-menu-item .global-menu-submenu small {
  color: var(--k2040-nav-muted, var(--site-nav-muted));
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .section-heading--split {
    align-items: stretch;
    flex-direction: column;
  }

  .section-heading--split > .text-link {
    align-self: flex-start;
  }
}
