/* Skelmersdale-only header repair. Loaded after the shared Filament Social stylesheet. */
html, body { max-width: 100%; overflow-x: hidden; }
.fs-header {
  background-image: none !important;
  background-color: #fff !important;
  height: 76px !important;
  min-height: 76px !important;
  max-height: 76px !important;
  overflow: visible !important;
}
.fs-header .fs-nav {
  height: 76px !important;
  min-height: 76px !important;
  max-height: 76px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  overflow: visible !important;
}
.fs-header .fs-brand {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: calc(100% - 58px) !important;
  height: 76px !important;
  max-height: 76px !important;
  flex: 1 1 auto !important;
  overflow: hidden !important;
}
.fs-header .fs-brand-logo {
  display: block !important;
  width: min(260px, 100%) !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 56px !important;
  object-fit: contain !important;
  object-position: left center !important;
  flex: 0 1 auto !important;
}
.fs-header-actions { display:flex !important; align-items:center !important; gap:6px !important; flex:0 0 auto !important; }
.fs-header .fs-menu { display:flex !important; align-items:center !important; justify-content:center !important; flex:0 0 40px !important; width:40px !important; min-width:40px !important; max-width:40px !important; height:40px !important; }
@media (max-width: 680px) {
  .fs-header, .fs-header .fs-nav { height:72px !important; min-height:72px !important; max-height:72px !important; }
  .fs-header .fs-nav { gap:5px !important; padding-left:15px !important; padding-right:15px !important; }
  .fs-header .fs-brand { height:72px !important; max-height:72px !important; max-width:calc(100% - 48px) !important; }
  .fs-header .fs-brand-logo { width:min(210px, calc(100vw - 105px)) !important; max-height:48px !important; }
  .fs-header-actions { gap:4px !important; }
  .fs-header .fs-menu { width:38px !important; min-width:38px !important; max-width:38px !important; height:38px !important; flex-basis:38px !important; }
  .fs-menu-panel { top:72px !important; max-width:100vw !important; }
}
@media (max-width: 380px) {
  .fs-header .fs-brand-logo { width:min(190px, calc(100vw - 100px)) !important; max-height:44px !important; }
  .fs-header .fs-menu { width:36px !important; min-width:36px !important; max-width:36px !important; height:36px !important; flex-basis:36px !important; }
}
