/* Standalone gallery begins directly below its compact brand/navigation row. */
html body.sgGalleryCompact314{padding:0!important;margin:0!important;background:#fff!important}
html body.sgGalleryCompact314 .sgGalleryStandalone{display:block!important;width:100%!important;margin:0!important;padding:var(--sg-toolbar-height,0px) 0 0!important}
html body.sgGalleryCompact314 .sgGalleryStandalone .sgGalleryHeaderBrand{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;height:100px!important;min-height:0!important;margin:0!important;padding:8px 16px!important;box-sizing:border-box!important}
html body.sgGalleryCompact314 .sgGalleryStandalone .sgGalleryHeaderBrand>a{position:static!important;inset:auto!important;transform:none!important;display:block!important;width:min(312px,57.2vw)!important;flex:0 1 312px!important;margin:0!important;min-width:0!important}
html body.sgGalleryCompact314 .sgGalleryStandalone .sgGalleryHeaderBrand img{height:auto!important;max-height:84px!important;object-fit:contain!important}
html body.sgGalleryCompact314 .sgGalleryStandalone #sg-funnel-controls{flex:0 0 auto!important;margin:0!important;padding:0!important;position:static!important}
html body.sgGalleryCompact314 .sgGalleryStandalone .sgGalleryPage{margin:0!important;padding-top:0!important}
@media(max-width:700px){
 html body.sgGalleryCompact314 .sgGalleryStandalone .sgGalleryHeaderBrand{height:88px!important;padding:8px 12px!important;gap:8px!important}
 html body.sgGalleryCompact314 .sgGalleryStandalone #sg-funnel-controls .sgFunnelHeaderActions{gap:8px!important}
 html body.sgGalleryCompact314 .sgGalleryStandalone #sg-funnel-controls .sgFunnelCTA{padding:10px 12px!important;min-height:42px!important;font-size:12px!important}
 html body.sgGalleryCompact314 .sgGalleryStandalone #sg-funnel-controls button.sgMeetMenuButton{width:44px!important;height:44px!important}
}
/* A border overlay remains visible above both the photo and caption. */
html body #sg-universe-menu.sgUniverseMenu.sgNav310 .sgUniverseSailors>a.sgUniversePhotoCard{position:relative!important;cursor:pointer!important;outline:none!important}
html body #sg-universe-menu.sgUniverseMenu.sgNav310 .sgUniverseSailors>a.sgUniversePhotoCard::before{content:''!important;display:block!important;position:absolute!important;inset:0!important;z-index:20!important;border:3px solid transparent!important;border-radius:inherit!important;pointer-events:none!important;background:none!important}
html body #sg-universe-menu.sgUniverseMenu.sgNav310 .sgUniverseSailors>a.sgUniversePhotoCard:is(:hover,:focus-visible)::before{border-color:#428bdc!important}
html body #sg-universe-menu.sgUniverseMenu.sgNav310 .sgMeetMenuTop>a.sgFunnelMenuCTA:is(:hover,:focus-visible){background:#a80062!important;background-image:none!important;border-color:#a80062!important;color:#fff!important;filter:none!important;outline:3px solid #85004e!important;outline-offset:2px!important}
