/* Rupantaram — staying facility page. Builds on gallery.css (grid, tiles, popup). */
.s-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 26px; }
.s-tab { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 30px; border-radius: var(--r-pill); border: 2px solid rgba(255,255,255,.55); background: transparent; color: #fff; font: 800 16px/1 var(--font-head); cursor: pointer; transition: background .25s var(--ease), border-color .25s var(--ease); }
.s-tab:hover { border-color: #f68a4a; }
.s-tab[aria-selected="true"] { background: #f68a4a; border-color: #f68a4a; }
.s-tab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.s-tab-count { min-width: 24px; padding: 4px 7px; border-radius: var(--r-pill); background: rgba(255,255,255,.22); font: 700 12px/1 var(--font); }
.s-section { margin-top: 8px; }

/* Popup: previous / next photo. */
.g-pop-frame img { cursor: default; }
.s-pop-nav { position: fixed; top: 50%; width: 48px; height: 48px; margin-top: -24px; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font: 400 32px/1 var(--font); cursor: pointer; }
.s-pop-nav.is-prev { left: 12px; }
.s-pop-nav.is-next { right: 12px; }
.s-pop-nav:hover, .s-pop-nav:focus-visible { background: #f68a4a; }

@media (max-width: 520px) {
  .s-tab { padding: 0 22px; font-size: 15px; }
  .s-pop-nav { top: auto; bottom: 36px; margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .s-tab { transition: none; } }
