/* Shared Quantocks home shell (layouts load their own stylesheet). */
.app-shell--quantocks-home {
  overflow: hidden;
}

.app-shell--quantocks-home[data-home-layout="gallery"] .rg-navbar,
.app-shell--quantocks-home:has(.rg-qhome--gallery) .rg-navbar {
  background: transparent;
  border-bottom-color: rgba(21, 32, 23, 0.08);
  box-shadow: none;
  backdrop-filter: none;
  /* Match .rg-qhome frame: 1rem gutters, centered --qh-max content */
  padding-inline: max(1rem, calc((100% - var(--qh-max, 72rem)) / 2));
}

.rg-qhome {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  font-family: var(--rg-font-sans);
}
