/* IELCORP Corporate v1.0.118 — sticky mobile shell and compact navigation. */
@media (max-width: 1050px) {
  .iel-site-header {
    position: sticky;
    top: 0;
    z-index: 10040;
    backdrop-filter: saturate(145%) blur(8px);
    box-shadow: 0 8px 24px rgba(6,18,36,.16);
  }
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
  .iel-site-footer {
    padding-bottom: 24px;
  }
  .iel-mobile-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10020;
    display: block;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.94);
    backdrop-filter: saturate(160%) blur(14px);
    border-top: 1px solid rgba(25,54,94,.12);
    box-shadow: 0 -10px 28px rgba(10,26,48,.12);
  }
  .iel-mobile-dock__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    max-width: 520px;
    margin: 0 auto;
  }
  .iel-mobile-dock__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 7px 4px 6px;
    border-radius: 14px;
    text-decoration: none;
    color: #42566f;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 650;
    letter-spacing: .01em;
    text-align: center;
  }
  .iel-mobile-dock__link::before {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    margin-bottom: 5px;
    border-radius: 999px;
    background: #9cb1c6;
  }
  .iel-mobile-dock__link:hover,
  .iel-mobile-dock__link:focus-visible {
    color: #15325d;
    background: rgba(34,116,228,.08);
    outline: none;
  }
  .iel-mobile-dock__link.is-current {
    color: #1367db;
    background: rgba(34,116,228,.11);
  }
  .iel-mobile-dock__link.is-current::before {
    background: #1d88f1;
    box-shadow: 0 0 0 5px rgba(29,136,241,.10);
  }
  .iel-ai-widget {
    bottom: max(92px, calc(92px + env(safe-area-inset-bottom))) !important;
  }
}
@media (min-width: 1051px) {
  .iel-mobile-dock {
    display: none !important;
  }
}

/* Respect the WordPress admin toolbar when signed in. */
@media (min-width: 783px) and (max-width: 1050px) {
  body.admin-bar .iel-site-header { top: 32px; }
}
@media (max-width: 782px) {
  body.admin-bar .iel-site-header { top: 46px; }
}
