/* Critical mobile header layout — loaded as static CSS (not JS-injected). */

@media (max-width: 1080px) {
  body.igs-header-bp-1080 .igs-header__inner,
  body:not([class*='igs-header-bp-']) .igs-header__inner {
    position: relative;
    display: block !important;
  }

  body.igs-header-bp-1080 .igs-header--nav-inline .igs-header__inner,
  body:not([class*='igs-header-bp-']) .igs-header--nav-inline .igs-header__inner {
    display: block !important;
  }

  body.igs-header-bp-1080 .igs-header--nav-inline .igs-header__brand-row,
  body.igs-header-bp-1080 .igs-header__brand-row,
  body:not([class*='igs-header-bp-']) .igs-header--nav-inline .igs-header__brand-row,
  body:not([class*='igs-header-bp-']) .igs-header__brand-row {
    width: 100% !important;
    max-width: 100% !important;
    grid-column: auto !important;
    position: relative;
    padding-right: calc(var(--igs-header-hamburger-size, 2.5rem) + 0.5rem);
    align-items: center;
    gap: 0.65rem;
  }

  body.igs-header-bp-1080 .igs-header--hamburger-left .igs-header__brand-row,
  body:not([class*='igs-header-bp-']) .igs-header--hamburger-left .igs-header__brand-row {
    padding-right: 0;
    padding-left: calc(var(--igs-header-hamburger-size, 2.5rem) + 0.5rem);
  }

  body.igs-header-bp-1080 .igs-nav-toggle,
  body:not([class*='igs-header-bp-']) .igs-nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    z-index: 3;
    flex-shrink: 0;
  }

  body.igs-header-bp-1080 .igs-header--hamburger-left .igs-nav-toggle,
  body:not([class*='igs-header-bp-']) .igs-header--hamburger-left .igs-nav-toggle {
    left: 0 !important;
    right: auto !important;
  }

  body.igs-header-bp-1080 .igs-brand,
  body:not([class*='igs-header-bp-']) .igs-brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
  }

  body.igs-header-bp-1080 .igs-brand__text,
  body:not([class*='igs-header-bp-']) .igs-brand__text {
    min-width: 0;
    overflow: hidden;
  }

  body.igs-header-bp-1080 .igs-brand__name,
  body:not([class*='igs-header-bp-']) .igs-brand__name {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: clamp(0.72rem, 3.1vw, var(--igs-header-brand-size, 18px));
    line-height: 1.15;
  }

  body.igs-header-bp-1080 .igs-brand__tagline,
  body:not([class*='igs-header-bp-']) .igs-brand__tagline {
    display: none;
  }

  body.igs-header-bp-1080 .igs-show-tagline-mobile .igs-brand__tagline,
  body:not([class*='igs-header-bp-']) .igs-show-tagline-mobile .igs-brand__tagline {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    font-size: clamp(0.62rem, 2.6vw, var(--igs-header-tagline-size, 14px));
  }

  body.igs-header-bp-1080 .igs-nav,
  body:not([class*='igs-header-bp-']) .igs-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    z-index: 10;
    justify-content: stretch;
    background: var(--igs-header-mobile-menu-bg, var(--igs-header-bg, rgba(0, 0, 0, 0.98)));
    border-bottom: 1px solid rgba(111, 138, 43, 0.25);
    backdrop-filter: blur(var(--igs-header-backdrop-blur, 10px));
    display: none;
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
  }

  body.igs-header-bp-1080 .igs-nav.is-open,
  body:not([class*='igs-header-bp-']) .igs-nav.is-open {
    display: block;
  }

  body.igs-header-bp-1080 .igs-nav__list,
  body:not([class*='igs-header-bp-']) .igs-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 0.75rem;
  }

  body.igs-header-bp-1080 .igs-nav__list a,
  body:not([class*='igs-header-bp-']) .igs-nav__list a {
    display: block;
    padding: var(--igs-header-nav-link-padding-y, 0.85rem) var(--igs-header-nav-link-padding-x, 1rem);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  body.igs-header-bp-1080 .igs-nav__list li:first-child a,
  body:not([class*='igs-header-bp-']) .igs-nav__list li:first-child a {
    border-top: 0;
  }
}

@media (max-width: 1200px) {
  body.igs-header-bp-1200 .igs-header__inner {
    position: relative;
    display: block !important;
  }

  body.igs-header-bp-1200 .igs-header--nav-inline .igs-header__inner {
    display: block !important;
  }

  body.igs-header-bp-1200 .igs-header--nav-inline .igs-header__brand-row,
  body.igs-header-bp-1200 .igs-header__brand-row {
    width: 100% !important;
    max-width: 100% !important;
    grid-column: auto !important;
    position: relative;
    padding-right: calc(var(--igs-header-hamburger-size, 2.5rem) + 0.5rem);
  }

  body.igs-header-bp-1200 .igs-nav-toggle {
    display: flex !important;
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
  }
}

@media (max-width: 960px) {
  body.igs-header-bp-960 .igs-header__inner {
    position: relative;
    display: block !important;
  }

  body.igs-header-bp-960 .igs-header--nav-inline .igs-header__inner {
    display: block !important;
  }

  body.igs-header-bp-960 .igs-header--nav-inline .igs-header__brand-row,
  body.igs-header-bp-960 .igs-header__brand-row {
    width: 100% !important;
    max-width: 100% !important;
    grid-column: auto !important;
    position: relative;
    padding-right: calc(var(--igs-header-hamburger-size, 2.5rem) + 0.5rem);
  }

  body.igs-header-bp-960 .igs-nav-toggle {
    display: flex !important;
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
  }
}
