/* WHSAR responsive correction — 03 Nov 2026
   Logo is the selected image/text only; no decorative icon is rendered. */
html, body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}
*, *::before, *::after { box-sizing: border-box; }
body.whsar-public { min-width: 0 !important; }
body.whsar-public main {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}
body.whsar-public img,
body.whsar-public video,
body.whsar-public iframe,
body.whsar-public svg { max-width: 100%; }
.whsar-brand {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start;
  gap: 0 !important;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  text-decoration: none;
}
.whsar-brand-image {
  display: block;
  width: auto;
  max-width: min(155px, 30vw);
  max-height: 48px;
  height: auto;
  object-fit: contain;
}
.whsar-brand-text { display: inline-block; font-weight: 900; }

@media (max-width: 767.98px) {
  html, body { overflow-x: hidden !important; }
  .whsar-corp-header,
  .whsar-corp-header > .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .whsar-corp-header > .container-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .whsar-corp-nav {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 7px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  .whsar-corp-nav > .whsar-brand {
    flex: 0 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 29vw !important;
    overflow: hidden;
  }
  .whsar-corp-nav > .whsar-brand .whsar-brand-image {
    width: auto !important;
    max-width: 29vw !important;
    max-height: 43px !important;
    height: auto !important;
  }
  .whsar-nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 43px !important;
    width: 43px !important;
    min-width: 43px !important;
    height: 43px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .whsar-main-nav { display: none !important; }
  .whsar-nav-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex: 0 0 auto !important;
    gap: 6px !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-left: auto !important;
  }
  .whsar-order-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: 38vw !important;
    min-height: 42px !important;
    padding: 8px 9px !important;
    gap: 5px !important;
    font-size: clamp(10px, 2.65vw, 13px) !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .whsar-control-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
  }
  .whsar-control-btn span { display: none !important; }

  /* The homepage hero was wider than the mobile viewport on some browsers. */
  body.whsar-public main > section:first-child,
  .whsar-home-hero,
  .whsar-corp-hero,
  .whsar-corporate-hero,
  .whsar-home-hero-section,
  .whsar-hero-section {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  body.whsar-public main > section:first-child > .container,
  .whsar-home-hero > .container,
  .whsar-corp-hero > .container,
  .whsar-corporate-hero > .container,
  .whsar-home-hero-section > .container,
  .whsar-hero-section > .container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: clamp(18px, 5vw, 26px) !important;
    padding-right: clamp(18px, 5vw, 26px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body.whsar-public main > section:first-child .row,
  .whsar-home-hero .row,
  .whsar-corp-hero .row {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body.whsar-public main > section:first-child [class*="col-"],
  .whsar-home-hero [class*="col-"],
  .whsar-corp-hero [class*="col-"] { min-width: 0 !important; }
  body.whsar-public main > section:first-child h1,
  .whsar-home-hero h1,
  .whsar-corp-hero h1,
  .whsar-corporate-hero h1 {
    max-width: 100% !important;
    font-size: clamp(2.25rem, 9.2vw, 3.75rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -.055em !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  body.whsar-public main > section:first-child p,
  .whsar-home-hero p,
  .whsar-corp-hero p,
  .whsar-corporate-hero p {
    max-width: 100% !important;
    font-size: clamp(1rem, 4.1vw, 1.16rem) !important;
    line-height: 1.65 !important;
    overflow-wrap: anywhere;
  }
  body.whsar-public main > section:first-child .d-flex,
  .whsar-home-hero .d-flex,
  .whsar-corp-hero .d-flex { min-width: 0; max-width: 100%; }
  body.whsar-public main > section:first-child .btn,
  .whsar-home-hero .btn,
  .whsar-corp-hero .btn,
  .whsar-home-hero a[class*="btn"],
  .whsar-corp-hero a[class*="btn"] {
    max-width: 100%;
    white-space: normal;
  }
  .whsar-footer-cta, .whsar-corp-footer { width: 100%; max-width: 100%; overflow: hidden; }
}

@media (max-width: 390px) {
  .whsar-corp-header > .container-fluid { padding-left: 8px !important; padding-right: 8px !important; }
  .whsar-corp-nav { gap: 5px !important; }
  .whsar-corp-nav > .whsar-brand,
  .whsar-corp-nav > .whsar-brand .whsar-brand-image { max-width: 24vw !important; }
  .whsar-nav-toggle { flex-basis: 40px !important; width: 40px !important; min-width: 40px !important; height: 40px !important; }
  .whsar-order-btn { max-width: 34vw !important; min-height: 40px !important; padding: 7px 7px !important; font-size: 10px !important; }
  .whsar-control-btn { flex-basis: 39px !important; width: 39px !important; min-width: 39px !important; height: 40px !important; }
  body.whsar-public main > section:first-child h1,
  .whsar-home-hero h1,
  .whsar-corp-hero h1 { font-size: clamp(2.05rem, 9vw, 2.6rem) !important; }
}

/* WHSAR wordmark: active text logo uses WH blue + SAR light red */
.whsar-brand-text{display:inline-flex!important;align-items:center!important;gap:0!important;font-family:inherit;font-size:clamp(27px,2.2vw,34px)!important;font-weight:900!important;letter-spacing:-1.8px!important;line-height:1!important;white-space:nowrap!important}
.whsar-word-wh{color:#1261bd!important}
.whsar-word-sar{color:#ee7880!important}
.whsar-brand-image{max-width:155px!important;max-height:46px!important;width:auto!important;height:auto!important;object-fit:contain!important}
.whsar-footer-brand .whsar-brand-text{font-size:29px!important}
@media(max-width:767.98px){
 .whsar-corp-nav>.whsar-brand{flex:0 1 auto!important;max-width:34vw!important}
 .whsar-corp-nav>.whsar-brand .whsar-brand-text{font-size:clamp(24px,7vw,30px)!important;letter-spacing:-1.5px!important}
}
