/* Fansa R17: dimensions for the shared site header only. */
@media (min-width: 1101px) {
  .fansa-home:not(.fansa-editing) > .fc-header[data-fansa-header]:not(.fc-scrolled) > .fc-bar {
    min-height: 94px; /* 96px including the header border. */
  }
  .fansa-home:not(.fansa-editing) > .fc-header[data-fansa-header] .fc-brand img {
    width: clamp(112px, calc(22vw - 130px), 170px);
  }
  .fansa-home:not(.fansa-editing) > .fc-header[data-fansa-header].fc-scrolled .fc-brand img {
    width: clamp(112px, calc(18vw - 86px), 160px);
  }
}

/* Give longer menu titles room near the desktop/mobile boundary. */
@media (min-width: 1101px) and (max-width: 1300px) {
  .fansa-home:not(.fansa-editing) > .fc-header[data-fansa-header] > .fc-bar {
    column-gap: clamp(8px, calc(7vw - 69px), 20px);
  }
  .fansa-home:not(.fansa-editing) > .fc-header[data-fansa-header] .fc-nav > .fc-menu-list {
    column-gap: clamp(5px, calc(4.5vw - 45px), 14px);
  }
}

@media (max-width: 640px) {
  .fansa-home:not(.fansa-editing) > .fc-header[data-fansa-header] > .fc-bar {
    min-height: 66px; /* 68px including the header border. */
  }
}
@media (max-width: 600px) {
  /* Match the native mobile gutters on feature pages with a narrower content column. */
  .fansa-home.fansa-feature:not(.fansa-editing) > .fc-header[data-fansa-header]:not(.fc-scrolled) {
    width: calc(100% - 24px);
    max-width: none;
  }
  /* Let the logo give up space when account and menu controls need it. */
  .fansa-home:not(.fansa-editing) > .fc-header[data-fansa-header] .fc-identity {
    flex-shrink: 1;
    min-width: 0;
  }
  .fansa-home:not(.fansa-editing) > .fc-header[data-fansa-header] .fc-brand {
    min-width: 0;
  }
  .fansa-home:not(.fansa-editing) > .fc-header[data-fansa-header] .fc-brand img {
    width: clamp(96px, 30.77vw, 143px);
    max-width: 100%;
  }
}
