/* Homepage "hero F", lane brands: round category bubbles (#cats-e) and the auto-scrolling brand strip (#brandsT).
   Ported from prototype-client hero-d.css (category bubbles), hero-e.css (brand row, logo strip) and styles.css (.bmark, .logo-slot). */

/* ---------- Category bubbles ---------- */
.sgt-f .bub-sec { padding-top: 18px; }
.sgt-f .bub { display: grid; grid-auto-flow: column; grid-auto-columns: 80px; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 4px; }
.sgt-f .bub::-webkit-scrollbar { display: none; }
.sgt-f .bub a { display: grid; justify-items: center; align-content: start; gap: 6px; text-decoration: none !important; color: var(--ink); font-size: 13.5px; font-weight: 600; line-height: 1.2; text-align: center; }
.sgt-f .bub .ring { width: 68px; height: 68px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; transition: border-color var(--ease); }
.sgt-f .bub img { width: 52px; height: 52px; object-fit: contain; mix-blend-mode: multiply; }
.sgt-f .bub a:hover .ring { border-color: var(--red-d); }
@media (min-width: 992px) {
  .sgt-f .bub-sec { padding-top: 28px; }
  .sgt-f .bub { grid-auto-columns: 1fr; grid-auto-flow: column; overflow: visible; }
  .sgt-f .bub .ring { width: 88px; height: 88px; }
  .sgt-f .bub img { width: 66px; height: 66px; }
  .sgt-f .bub a { font-size: 14px; }
}
/* 992–1199 px: 12 rings of 88 px don't fit and pushed the page 84 px sideways at 1100 px; smaller rings, row scrolls */
@media (min-width: 992px) and (max-width: 1199px) {
  .sgt-f .bub { grid-auto-columns: minmax(84px, 1fr); overflow-x: auto; }
  .sgt-f .bub .ring { width: 72px; height: 72px; }
  .sgt-f .bub img { width: 54px; height: 54px; }
}
/* wide screens: bigger rings */
.sgt-f .bub-sec { container-type: inline-size; }
@container (min-width: 1500px) {
  .sgt-f .bub .ring { width: 104px; height: 104px; }
  .sgt-f .bub img { width: 78px; height: 78px; }
  .sgt-f .bub a { font-size: 15px; }
}
@media (max-width: 991px) {
  .sgt-f .bub-sec { padding-left: 0; padding-right: 0; padding-top: 14px; }
  .sgt-f .bub { padding-left: var(--gutter); padding-right: var(--gutter); }
}

/* ---------- Brand tiles ---------- */
.sgt-f .bmark { min-height: 104px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px 10px; text-align: center; color: var(--navy); }
.sgt-f .bmark:hover { border-color: var(--navy); text-decoration: none; box-shadow: 0 6px 18px rgba(16, 22, 40, .08); }
.sgt-f .bmark small { font-size: 13px; font-weight: 500; color: var(--muted); }
.sgt-f .logo-slot { width: 100%; max-width: 132px; height: 48px; display: flex; align-items: center; justify-content: center; }
/* real logos in colour (hero-e) */
.sgt-f .logo-slot img { width: auto; height: auto; max-width: 100%; max-height: 40px; object-fit: contain; border-radius: 4px; }
/* brands without a logo: the name as a wordmark; staff also see the amber "logo to come" slot */
.sgt-f .logo-slot.empty { border-radius: var(--r-s); color: var(--ink); font-weight: 800; font-size: 16px; letter-spacing: .02em; line-height: 1.15; }
.sgt-f.logged-in .logo-slot.empty { border: 1.5px dashed var(--tbc); background: var(--tbc-tint); }
@media (max-width: 767px) {
  .sgt-f .bmark { min-height: 88px; padding: 10px 6px; }
  .sgt-f .logo-slot { height: 40px; }
  .sgt-f .logo-slot.empty { font-size: 14px; }
}

/* ---------- Section header ---------- */
.sgt-f .f-brands .sec-h p { font-size: 14px; }
.sgt-f .f-brands .row-nav .link { min-height: 44px; }
.sgt-f .f-brands .row-nav .marq-btn { display: grid; width: 44px; height: 44px; }
@media (max-width: 767px) { .sgt-f .f-brands .row-nav .lg { display: none; } }

/* ---------- Auto-scrolling logo strip ---------- */
.sgt-f .marq { position: relative; overflow: hidden; margin: 0 calc(-1 * var(--gutter)); padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.sgt-f .marq-track { display: flex; width: max-content; animation: f-marq 55s linear infinite; }
.sgt-f .marq-set { display: flex; gap: 10px; padding-right: 10px; }
.sgt-f .marq .bmark { width: 150px; min-height: 96px; flex: none; }
.sgt-f .marq:hover .marq-track, .sgt-f .marq:focus-within .marq-track, .sgt-f .marq.paused .marq-track { animation-play-state: paused; }
@keyframes f-marq { to { transform: translateX(-50%); } }
@media (max-width: 767px) {
  .sgt-f .marq { -webkit-mask-image: none; mask-image: none; }
  .sgt-f .marq .bmark { width: 124px; min-height: 88px; }
  .sgt-f .marq-track { animation-duration: 45s; }
}
/* reduced motion: no movement, a plain swipeable row without the copy and without the pause button */
@media (prefers-reduced-motion: reduce) {
  .sgt-f .marq { overflow-x: auto; scrollbar-width: none; padding-left: var(--gutter); padding-right: var(--gutter); -webkit-mask-image: none; mask-image: none; }
  .sgt-f .marq::-webkit-scrollbar { display: none; }
  .sgt-f .marq-track { animation: none; }
  .sgt-f .marq-set[aria-hidden] { display: none; }
  .sgt-f .f-brands .row-nav .marq-btn { display: none; }
}
