/* A common photo header for the seven main navigation destinations. */
.tab-hero {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  width: min(1180px, calc(100% - 48px));
  min-height: clamp(14rem, 20.4vw, 16.75rem);
  margin: clamp(18px, 3vw, 36px) auto 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #415069;
  border-radius: 15px;
  background: #172435;
}
.index-gear .tab-hero { background: #28202e; }
.tab-hero-copy {
  min-width: 0;
  align-self: center;
  padding: clamp(14px, 2.1vw, 29px) clamp(18px, 3vw, 38px);
}
.tab-hero h1 {
  margin: 0 0 .18em;
  color: #fff9f7;
  font: 900 clamp(2.45rem, 5.3vw, 4.85rem)/.99 var(--ah-display, system-ui);
  letter-spacing: -.06em;
  overflow-wrap: break-word;
}
.tab-hero p {
  max-width: 40ch;
  margin: 0;
  color: #e1e5ec;
  font: 450 clamp(1rem, 1.35vw, 1.15rem)/1.45 system-ui, sans-serif;
}
.tab-hero figure {
  position: relative;
  min-width: 0;
  margin: 0;
}
.tab-hero figure > a, .tab-hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.tab-hero img { object-fit: cover; object-position: var(--photo-focus, 50% 52%); }
.tab-hero figure > a:focus-visible { outline: 3px solid #b9faff; outline-offset: -4px; z-index: 1; }
.tab-hero figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 30px 18px 9px;
  background: linear-gradient(transparent, #060912dc);
  color: #fff;
  font: 650 .83rem/1.4 system-ui, sans-serif;
  pointer-events: none;
}
.tab-hero figcaption span { color: #e0e2e9; font-weight: 450; }
.tab-hero + :is(.wrap.mainbody, .music-console-wrap) { padding-top: clamp(12px, 2vw, 24px); }
.tab-hero + .catalog-wrap:is(.index-shell, .index-top) { margin-top: 8px; }
.tab-dateline { margin: 0 0 .6rem; color: #becad9; font-size: .875rem; }
.tab-map-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 20px;
  margin: 12px 0;
}
.tab-map-tools .intro { margin: 0; }
.tab-hero + .music-console-wrap .soundtrack-header-actions { margin-bottom: 12px; }
.tab-hero + .mainbody .shame-jump { margin: 0 0 12px; }

/* The original Gear title wraps on large displays once the catalog has reached its width limit. */
@media (min-width: 83.5rem) {
  .tab-hero { min-height: clamp(22.5rem, 26.12vw, 23.875rem); }
}
@media (max-width: 590px) {
  .tab-hero {
    width: calc(100% - 24px);
    min-height: 13.25rem;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    margin-top: 12px;
    border-radius: 10px;
  }
  .tab-hero-copy { padding: 14px 11px; }
  .tab-hero h1 { font-size: clamp(1.58rem, 6.7vw, 2.5rem); letter-spacing: -.055em; }
  .tab-hero p { font-size: .94rem; line-height: 1.32; }
  .tab-hero figcaption { padding: 18px 7px 5px; font-size: .75rem; line-height: 1.2; }
  .tab-hero figcaption span { display: block; }
}
@media (max-width: 380px) {
  .tab-hero #blunt-title { font-size: min(1.58rem, 6.7vw); }
}
@media (max-width: 355px) {
  .tab-hero { min-height: 14.375rem; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
}
