/* Leave room for the member link alongside the existing shared header. */
body .gwin-header {
  padding:12px clamp(20px,2vw,40px)!important;
}
body .gwin-header .gwin-header-row {
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:clamp(18px,1.8vw,28px)!important;
}
body .gwin-header .gwin-header-brand {gap:12px!important;}
body .gwin-header .gwin-header-actions {
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:clamp(16px,1.6vw,24px)!important;
  min-width:0;
  width:auto;
  margin:0 0 0 auto!important;
}
body .gwin-header .gwin-header-nav {min-width:0;justify-content:flex-end;}
body .gwin-header .gwin-header-nav .wp-block-navigation__container {
  gap:clamp(12px,1.1vw,18px)!important;
}
body .gwin-header .gwin-header-buttons {margin:0!important;}
body .gwin-header .gwin-header-buttons .wp-block-button__link {padding:9px 14px!important;}
/* Slightly smaller navigation type leaves space without changing the row. */
@media(min-width:1181px) and (max-width:1380px) {
  body .gwin-header .gwin-header-nav,
  body .gwin-header .gwin-header-nav ul,
  body .gwin-header .gwin-header-nav a {font-size:14px!important;}
}
/* Use WordPress's own accessible menu toggle on tablets and phones. */
@media(max-width:1180px) {
  body .gwin-header {padding:14px 20px!important;}
  body .gwin-header .gwin-header-row {
    grid-template-columns:minmax(0,1fr) auto;gap:20px!important;
  }
  body .gwin-header .gwin-header-actions {
    display:flex!important;width:auto;gap:18px!important;
  }
  body .gwin-header .gwin-header-nav .wp-block-navigation__responsive-container-open {
    display:flex!important;align-items:center;justify-content:center;
    width:44px;min-height:44px;padding:10px;color:inherit;
  }
  body .gwin-header .gwin-header-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {display:none!important;}
  body .gwin-header .gwin-header-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    flex-direction:column!important;align-items:flex-start!important;gap:22px!important;
  }
}
@media(max-width:600px) {
  body .gwin-header {padding:14px 16px!important;}
  body .gwin-header .gwin-header-row {display:grid!important;column-gap:16px!important;row-gap:16px!important;}
  body .gwin-header .gwin-header-actions {display:contents!important;}
  body .gwin-header .gwin-header-brand {grid-column:1;grid-row:1;gap:12px!important;}
  body .gwin-header .gwin-header-nav {grid-column:2;grid-row:1;justify-self:end;}
  body .gwin-header .gwin-header-buttons {
    grid-column:1 / -1;grid-row:2;width:100%!important;
  }
  body .gwin-header .gwin-header-buttons .wp-block-button {width:100%!important;}
  body .gwin-header .gwin-header-buttons .wp-block-button__link {
    display:block!important;width:100%!important;box-sizing:border-box;text-align:center;
  }
}
