/* Supplied branding and actual video thumbnails on the detail pages. */
.home-research-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 68px;
  align-items: center;
  gap: 8px;
}
.home-research-heading h2 { font-size: clamp(26px, 2.3vw, 38px); }
.home-research-logo {
  display: block;
  width: 68px;
  height: 68px;
  object-fit: contain;
}
.page-heading > div { min-width: 0; }
.page-brand-logo {
  display: block;
  flex: 0 0 auto;
  width: 112px;
  height: 112px;
  object-fit: contain;
}

/* Complete cover presentation on the standalone page; board crops override below. */
.home-game { display: flex; flex-direction: column; background: #080b0c; }
.home-game::after { content: none; }
.home-game .home-card-top { flex: 0 0 auto; padding: 15px 14px 12px; }
.home-game h2 { font-size: clamp(25px, 2.1vw, 33px); }
.home-game .game-art {
  position: static;
  display: block;
  flex: 1 1 0;
  min-height: 0;
  height: 0;
  width: 100%;
  object-fit: contain;
  object-position: center;
  z-index: auto;
  margin-bottom: 8px;
}
.home-t51 {
  padding: 0;
  align-items: center;
  justify-content: center;
  background: #080b0c;
}
.home-t51::before, .home-t51::after { content: none; }
.home-t51-logo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.home-t51 .t51-caption { left: 12px; bottom: 10px; font-size: 10px; }

.studio-game-cover, .studio-t51 { background: #080b0c; }
.studio-game-cover img, .studio-t51 .studio-t51-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}
.studio-game-cover:hover img, .studio-t51:hover .studio-t51-logo { transform: none; }
.studio-t51::before, .studio-t51::after { content: none; }
.studio-vanguard-title { justify-content: flex-start; gap: 14px; flex-wrap: wrap; }
.studio-project-logo { flex: 0 0 auto; width: 86px; height: 86px; object-fit: contain; }
.studio-project-heading { min-width: 0; flex: 1 1 160px; }
.studio-name { display: block; margin-bottom: 6px; color: var(--muted); font-size: 10px; letter-spacing: .7px; }
.studio-vanguard-title .text-link { margin-left: auto; }
.studio-game-wordmark { display: none; }
.music-thumb .video-thumbnail { width: 100%; height: 100%; object-fit: cover; }
.music-thumb .play-mark { position: absolute; left: 10px; bottom: 9px; width: 28px; height: 28px; z-index: 1; }
.music-thumb .play-mark svg { width: 11px; height: 13px; }
.video-duration { position: absolute; right: 7px; bottom: 7px; padding: 2px 5px; background: #04090de6; color: #fff; font-size: 10px; line-height: 1.4; z-index: 1; }
body:not(.board-page) .music-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 14px; }
body:not(.board-page) .music-label { font-size: 16px; line-height: 1.3; }
body:not(.board-page) .studio-t51::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(110deg, #d0092460, #25010990), url('assets/music-channel.jpeg') 35% 78% / 165%; filter: saturate(.35) contrast(1.25); }
body:not(.board-page) .studio-t51::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, #7b001738, #7b001781); }
body:not(.board-page) .studio-t51 .studio-t51-logo { width: 90%; height: 100%; }

@media (min-width: 961px) and (max-width: 1200px) {
  .home-research-heading { grid-template-columns: minmax(0, 1fr) 48px; gap: 5px; }
  .home-research-heading h2 { font-size: 26px; }
  .home-research-logo { width: 48px; height: 48px; }
  .home-game .home-card-top { padding: 13px 11px 10px; }
  .home-game h2 { font-size: 27px; }
}
@media (min-width: 701px) and (max-width: 960px) {
  .home-research-heading { grid-template-columns: minmax(0, 1fr) 80px; }
  .home-research-heading h2 { font-size: 34px; }
  .home-research-logo { width: 80px; height: 80px; }
}
@media (max-width: 700px) {
  body:not(.board-page) .music-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-research-heading { grid-template-columns: minmax(0, 1fr) 88px; }
  .home-research-heading h2 { font-size: clamp(34px, 7vw, 44px); }
  .home-research-heading h2 br { display: block; }
  .home-research-logo { width: 88px; height: 88px; }
  .page-brand-logo { width: 72px; height: 72px; }
  .home-game .home-card-top { padding: 15px 12px 11px; }
  .home-game h2 { font-size: 28px; }
  .home-t51 .t51-caption { left: 9px; right: 8px; font-size: 9px; line-height: 1.4; }
  .studio-project-logo { width: 74px; height: 74px; }
  .studio-vanguard-title { gap: 12px; }
}
@media (max-width: 380px) {
  .home-research-heading { grid-template-columns: minmax(0, 1fr) 76px; gap: 6px; }
  .home-research-heading h2 { font-size: 34px; }
  .home-research-logo { width: 76px; height: 76px; }
  .page-brand-logo { width: 58px; height: 58px; }
  .home-game h2 { font-size: 26px; }
  .studio-project-logo { width: 64px; height: 64px; }
}
