/* Only the /bi-gam layout uses this shell. Existing site templates are unchanged. */
.gtr-hub-page {margin:0;background:#fff}
.gtr-hub-main {width:100%;max-width:none;margin:0}
#gtr-bi-gam-hub > header.hero {border-bottom:0}
.gtr-hub-page #gtr-bi-gam-hub .modal {z-index:11000}
.gtr-hub-page #gtr-bi-gam-hub .sidebar {scroll-margin-top:24px}
.gtr-hub-page #gtr-bi-gam-hub .compare-dock {z-index:10010}
.gtr-hub-page:has(#dock.show) .page-widget {bottom:210px}
#gtr-bi-gam-hub:has(.compare-dock.show) :is(input,select,textarea,button,a) {scroll-margin-bottom:180px}
/* Restore the HUB hierarchy after the site's global heading font reset. */
#gtr-bi-gam-hub {--gold-dark:#946700}
#gtr-bi-gam-hub :is(h1,h2,h3) {font-weight:700;color:var(--ink)}
#gtr-bi-gam-hub h1 {line-height:1.2;text-wrap:balance}
#gtr-bi-gam-hub h1 .brand-accent {white-space:nowrap}
#gtr-bi-gam-hub h2 {line-height:1.3;text-wrap:balance}
#gtr-bi-gam-hub .section-head h2,#gtr-bi-gam-hub .spec-guide-heading-copy h2 {line-height:1.3}
#gtr-bi-gam-hub .brand-accent {color:var(--gold-dark)}
#gtr-bi-gam-hub .section-head {align-items:flex-start;margin-bottom:20px}
#gtr-bi-gam-hub .section-head .sub,#gtr-bi-gam-hub .gtr97-subtitle {margin:12px 0 0;font-size:14px;line-height:1.65;color:var(--muted)}
#gtr-bi-gam-hub .section-lead {margin:0 0 20px;font-size:14px;line-height:1.65}
#gtr-bi-gam-hub .hero-answer {font-size:14px;line-height:1.65}
#gtr-bi-gam-hub .catalog-price-note {font-size:13px;line-height:1.65;color:#59616a}
#gtr-bi-gam-hub #catalog .section-head {margin-bottom:16px}
#gtr-bi-gam-hub .catalog-toolbar {padding:0;margin-bottom:20px;align-items:flex-start}
#gtr-bi-gam-hub .advisor-limit-note {font-size:12px;line-height:1.6}
#gtr-bi-gam-hub .gtr-consult-lead {font-size:14px;line-height:1.65;margin:0}
#gtr-bi-gam-hub .hero {padding-top:36px;padding-bottom:28px}
#gtr-bi-gam-hub .section {padding-top:20px;padding-bottom:20px}
#gtr-bi-gam-hub #vehicle-reading {padding-bottom:16px}
#gtr-bi-gam-hub #model-variant-guide {padding-top:16px}
#gtr-bi-gam-hub :is(section[id],header.hero) {scroll-margin-top:120px}
@media(max-width:980px) {
  #gtr-bi-gam-hub :is(section[id],header.hero) {scroll-margin-top:116px}
}
@media(max-width:760px) {
  #gtr-bi-gam-hub .hero {padding-top:24px;padding-bottom:24px}

  #gtr-bi-gam-hub .section-head {align-items:stretch;gap:12px;margin-bottom:16px}
  #gtr-bi-gam-hub .section-head h2,#gtr-bi-gam-hub .spec-guide-heading-copy h2 {padding-left:14px}
  #gtr-bi-gam-hub .section-lead {margin-bottom:16px}
  #gtr-bi-gam-hub .catalog-toolbar {display:block;margin-bottom:16px}
  #gtr-bi-gam-hub .catalog-toolbar-left {display:block}
  #gtr-bi-gam-hub .catalog-toolbar-right {display:none}
  .gtr-hub-page #gtr-bi-gam-hub .sidebar {z-index:12000}
  .gtr-hub-page #gtr-bi-gam-hub .mobile-filter-backdrop {z-index:11990}
  /* One readable card column, two rows, with the next column peeking in. */
  #gtr-bi-gam-hub .products {grid-auto-columns:calc(100% - 48px)}
  #gtr-bi-gam-hub .product-body h3 {font-size:14px;min-height:40px}
  #gtr-bi-gam-hub .product-spec-row {grid-template-columns:64px minmax(0,1fr);gap:6px}
  #gtr-bi-gam-hub .product-spec-row span,#gtr-bi-gam-hub .product-spec-row b {font-size:12px}
  #gtr-bi-gam-hub .product-actions .btn {font-size:13px;min-height:44px}
  #gtr-bi-gam-hub .product-variant-compact {flex-basis:96px}
  #gtr-bi-gam-hub .product-variant-select {width:96px;min-height:44px;font-size:16px}
  #gtr-bi-gam-hub .product-price strong {font-size:18px}
  #gtr-bi-gam-hub .product-price-unit {font-size:12px}
}
/* Adjustments from the approved HUB review document, scoped to this page. */
#gtr-bi-gam-hub .product-purchase {margin-top:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;min-height:44px}
#gtr-bi-gam-hub .product-variant-compact {margin-left:0;width:70px}
#gtr-bi-gam-hub .product-variant-select {width:70px}
#gtr-bi-gam-hub .gtr-form-consent label {font-size:11.5px;font-weight:400;line-height:1.5;min-height:32px}
#gtr-bi-gam-hub .gtr-form-consent label>span {flex:1;min-width:0}
#gtr-bi-gam-hub .gtr-form-consent input {flex:0 0 14px;width:14px;height:14px;margin-top:2px}
#gtr-bi-gam-hub .gtr-form-consent a {font-size:inherit;line-height:inherit}
#gtr-bi-gam-hub #dealer-network .bb-head-sub {font-size:12px;line-height:1.5}
#gtr-bi-gam-hub #dealer-network .bb-facts li {font-size:12px}
#gtr-bi-gam-hub #dealer-network .bb-facts strong {font-size:13px}
#gtr-bi-gam-hub #dealer-network .bb-btn,#gtr-bi-gam-hub #dealer-network .bb-chip {font-size:12px}
#gtr-bi-gam-hub #dealer-network .bb-find-input {font-size:14px}
@media(min-width:1101px) and (max-width:1279px) {
  #gtr-bi-gam-hub .products {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px) {
  #gtr-bi-gam-hub #choose-bi-gam .gtr-advice-grid {grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc(100% - 24px);gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:8px}
  #gtr-bi-gam-hub #choose-bi-gam .gtr-advice {scroll-snap-align:start}
  #gtr-bi-gam-hub .product-variant-compact {width:88px}
  #gtr-bi-gam-hub .product-variant-select {width:88px}
  #gtr-bi-gam-hub .gtr-form-consent label {min-height:44px}
  #gtr-bi-gam-hub #dealer-network .bb-find-input {font-size:16px}
}
@media(max-width:359px) {
  #gtr-bi-gam-hub .product-price strong {font-size:17px}
}
