/* 024 menu visual repair */
:root{
  --m024-red:#e3131b;
  --m024-ink:#1e293b;
  --m024-muted:#667085;
  --m024-line:#e4e9ef;
  --m024-panel:#ffffff;
  --m024-shadow:0 8px 24px rgba(18,30,48,.07);
}

/* Prevent the red header from clipping on narrow screens. */
header,
.site-header,
.app-header,
.menu-header,
[data-app-header]{
  min-width:0!important;
}

header *,
.site-header *,
.app-header *,
.menu-header *,
[data-app-header] *{
  min-width:0!important;
}

.site-brand,
.brand,
.brand-copy,
.header-brand,
[data-brand]{
  max-width:100%!important;
  overflow:hidden!important;
}

.site-brand h1,
.brand h1,
.brand-copy h1,
.header-brand h1,
[data-brand] h1,
.site-brand strong,
.brand strong,
.brand-copy strong,
.header-brand strong,
[data-brand] strong{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:clamp(16px,4.7vw,22px)!important;
  font-weight:650!important;
  letter-spacing:.01em!important;
}

.site-brand small,
.brand small,
.brand-copy small,
.header-brand small,
[data-brand] small{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-weight:500!important;
}

/* Main menu rows: soft surfaces, thin lines, lighter typography. */
.nav-item,
[data-nav-item],
[data-unite-menu-item]{
  --m024-accent:#64748b;
  --m024-tint:#f3f6f8;
  min-height:68px!important;
  margin:7px 0!important;
  padding:11px 12px!important;
  border:1px solid color-mix(in srgb,var(--m024-accent) 16%,#e6ebf0)!important;
  border-radius:17px!important;
  color:var(--m024-ink)!important;
  background:
    linear-gradient(135deg,#fff 0%,var(--m024-tint) 185%)!important;
  box-shadow:0 5px 16px rgba(18,30,48,.045)!important;
}

.nav-item:hover,
.nav-item:focus-visible,
[data-nav-item]:hover,
[data-nav-item]:focus-visible,
[data-unite-menu-item]:hover,
[data-unite-menu-item]:focus-visible{
  transform:translateY(-1px)!important;
  border-color:color-mix(in srgb,var(--m024-accent) 32%,#dce3ea)!important;
  box-shadow:var(--m024-shadow)!important;
  outline:none!important;
}

.nav-item.is-active,
.nav-item[aria-current="page"],
[data-nav-item].is-active,
[data-nav-item][aria-current="page"],
[data-unite-menu-item].is-active,
[data-unite-menu-item][aria-current="page"]{
  border-color:color-mix(in srgb,var(--m024-accent) 40%,#fff)!important;
  background:color-mix(in srgb,var(--m024-accent) 7%,#fff)!important;
  box-shadow:
    inset 3px 0 0 var(--m024-accent),
    0 7px 20px rgba(18,30,48,.055)!important;
}

.nav-item .nav-title,
.nav-item .title,
.nav-item strong,
[data-nav-item] .nav-title,
[data-nav-item] .title,
[data-nav-item] strong,
[data-unite-menu-item] .nav-title,
[data-unite-menu-item] .title,
[data-unite-menu-item] strong{
  color:var(--m024-ink)!important;
  font-size:15px!important;
  font-weight:520!important;
  line-height:1.24!important;
  letter-spacing:-.008em!important;
}

.nav-item .nav-description,
.nav-item .description,
.nav-item small,
[data-nav-item] .nav-description,
[data-nav-item] .description,
[data-nav-item] small,
[data-unite-menu-item] .nav-description,
[data-unite-menu-item] .description,
[data-unite-menu-item] small{
  margin-top:3px!important;
  color:var(--m024-muted)!important;
  font-size:11.5px!important;
  font-weight:400!important;
  line-height:1.34!important;
}

.nav-item .nav-icon,
.nav-item .icon,
.nav-item [data-nav-icon],
[data-nav-item] .nav-icon,
[data-nav-item] .icon,
[data-nav-item] [data-nav-icon],
[data-unite-menu-item] .nav-icon,
[data-unite-menu-item] .icon,
[data-unite-menu-item] [data-nav-icon]{
  width:47px!important;
  height:47px!important;
  flex:0 0 47px!important;
  border:1px solid color-mix(in srgb,var(--m024-accent) 18%,#fff)!important;
  border-radius:15px!important;
  color:var(--m024-accent)!important;
  background:var(--m024-tint)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 5px 13px rgba(18,30,48,.045)!important;
}

.nav-item svg,
[data-nav-item] svg,
[data-unite-menu-item] svg{
  fill:none!important;
  stroke:currentColor!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

/* Pay submenu: remove the large heavy outlined block. */
[data-unite-pay-submenu],
.unite-pay-submenu{
  display:grid!important;
  gap:7px!important;
  margin:4px 0 14px!important;
  padding:9px!important;
  border:1px solid #edf0f4!important;
  border-radius:18px!important;
  background:#fafbfc!important;
  box-shadow:0 7px 19px rgba(18,30,48,.045)!important;
}

[data-unite-pay-submenu] a,
[data-unite-pay-submenu] button,
.unite-pay-submenu a,
.unite-pay-submenu button{
  --m024-sub:#64748b;
  --m024-sub-tint:#f5f7f9;
  display:grid!important;
  grid-template-columns:36px minmax(0,1fr)!important;
  gap:10px!important;
  min-height:49px!important;
  align-items:center!important;
  margin:0!important;
  padding:8px 11px!important;
  border:1px solid color-mix(in srgb,var(--m024-sub) 15%,#e5eaf0)!important;
  border-radius:13px!important;
  color:#344054!important;
  background:linear-gradient(135deg,#fff 0%,var(--m024-sub-tint) 190%)!important;
  box-shadow:0 3px 10px rgba(18,30,48,.035)!important;
  font-size:13.5px!important;
  font-weight:480!important;
  line-height:1.24!important;
  text-decoration:none!important;
}

[data-unite-pay-submenu] a:hover,
[data-unite-pay-submenu] a:focus-visible,
[data-unite-pay-submenu] button:hover,
[data-unite-pay-submenu] button:focus-visible,
.unite-pay-submenu a:hover,
.unite-pay-submenu a:focus-visible,
.unite-pay-submenu button:hover,
.unite-pay-submenu button:focus-visible{
  transform:translateX(2px)!important;
  border-color:color-mix(in srgb,var(--m024-sub) 32%,#dbe2e9)!important;
  background:color-mix(in srgb,var(--m024-sub) 7%,#fff)!important;
  outline:none!important;
}

[data-unite-pay-submenu] a.is-active,
[data-unite-pay-submenu] a[aria-current="page"],
[data-unite-pay-submenu] button.is-active,
.unite-pay-submenu a.is-active,
.unite-pay-submenu a[aria-current="page"],
.unite-pay-submenu button.is-active{
  border-color:color-mix(in srgb,var(--m024-sub) 38%,#fff)!important;
  color:color-mix(in srgb,var(--m024-sub) 76%,#111827)!important;
  background:color-mix(in srgb,var(--m024-sub) 9%,#fff)!important;
  box-shadow:
    inset 3px 0 0 var(--m024-sub),
    0 4px 12px rgba(18,30,48,.045)!important;
}

[data-unite-pay-submenu] .unite-pay-submenu-icon,
.unite-pay-submenu .unite-pay-submenu-icon,
[data-menu024-subicon]{
  display:inline-flex!important;
  width:34px!important;
  height:34px!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:10px!important;
  color:var(--m024-sub)!important;
  background:var(--m024-sub-tint)!important;
}

[data-unite-pay-submenu] svg,
.unite-pay-submenu svg{
  width:19px!important;
  height:19px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.85!important;
}

/* The repair script marks every duplicate Pay card after the first valid one. */
[data-menu024-duplicate-pay="true"]{
  display:none!important;
}

/* Softer menu heading and divider. */
[data-menu-drawer] h1,
[data-menu-drawer] h2,
.menu-drawer h1,
.menu-drawer h2,
.mobile-menu h1,
.mobile-menu h2,
.drawer h1,
.drawer h2{
  font-weight:590!important;
  letter-spacing:-.025em!important;
}

[data-menu-drawer] hr,
.menu-drawer hr,
.mobile-menu hr,
.drawer hr{
  height:1px!important;
  margin:13px 0!important;
  border:0!important;
  background:linear-gradient(
    90deg,
    transparent,
    var(--m024-line) 9%,
    var(--m024-line) 91%,
    transparent
  )!important;
}

@media(max-width:480px){
  .site-brand small,
  .brand small,
  .brand-copy small,
  .header-brand small,
  [data-brand] small{
    display:none!important;
  }

  .site-brand h1,
  .brand h1,
  .brand-copy h1,
  .header-brand h1,
  [data-brand] h1{
    max-width:185px!important;
    font-size:18px!important;
  }

  .nav-item,
  [data-nav-item],
  [data-unite-menu-item]{
    min-height:64px!important;
  }
}
