/* Indexable gallery images preserve the existing screenshot proportions. */
.screenshots-panel .screenshot { position:relative; }
.screenshots-panel .screenshot > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.screenshots-panel .screenshot-caption { z-index:1; }
/* Temporary sequential view; dormant when game.tpl selects the tabs mode. */
#release-content[data-sections-layout="stacked"] { display:block; }
#release-content[data-sections-layout="stacked"] > .tabs { display:none; }
#release-content[data-sections-layout="stacked"] > .tab-panel {
  grid-area:auto;
  padding-top:0;
  scroll-margin-top:28px;
}
#release-content[data-sections-layout="stacked"] > .tab-panel + .tab-panel { margin-top:48px; }
#release-content[data-sections-layout="stacked"] .game-section-heading {
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 20px;
  color:#182b35;
  font-size:28px;
  font-weight:650;
  line-height:1.25;
  letter-spacing:-.035em;
}
#release-content[data-sections-layout="stacked"] .game-section-heading .media-tab-count { letter-spacing:0; }
#release-content[data-sections-layout="stacked"] .game-videos-section { margin-top:0; }
#release-content[data-sections-layout="stacked"] .game-video-layout[hidden] { display:none; }
#release-content[data-sections-layout="stacked"] :is(.game-brief-heading,.about-intro) > h3 {
  font-size:22px;
  font-weight:600;
  line-height:1.35;
  letter-spacing:-.025em;
}
#release-content[data-sections-layout="stacked"] .game-media-empty {
  color:#738695;
  font-size:14px;
  line-height:1.6;
}
@media(max-width:540px) {
  #release-content[data-sections-layout="stacked"] > .tab-panel + .tab-panel { margin-top:36px; }
  #release-content[data-sections-layout="stacked"] .game-section-heading { font-size:25px;margin-bottom:16px; }
  #release-content[data-sections-layout="stacked"] :is(.game-brief-heading,.about-intro) > h3 { font-size:20px; }
}
