/* AEA neon glass navbar — shared across all site pages */
.aea-nav .ae-mark{
  font-weight: 900;
  letter-spacing: -.06em;
  color: #fff;
}
.aea-nav .ae-mark span{ color: #E2263D; }
.aea-nav{
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  width: min(1280px, calc(100% - 36px));
  margin: 0;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
/* Offset page content so it isn't hidden under the fixed navbar */
body.aea-home{
  padding-top: 80px;
}
body.aea-home > .aea-nav + *{
  scroll-margin-top: 80px;
}
.aea-nav__pill{
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 64px;
  padding: 0 10px 0 16px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(2, 28, 52, .42) 0%,
    rgba(0, 18, 36, .5) 100%
  );
  border: 1px solid rgba(160,220,245,.32);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.07) inset,
    0 10px 32px rgba(0,0,0,.28);
  backdrop-filter: blur(28px) saturate(1.45);
  -webkit-backdrop-filter: blur(28px) saturate(1.45);
  overflow: visible;
}
.aea-nav__pill::before{
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: -1px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(246,34,69,.85), transparent);
  pointer-events: none;
}
.aea-nav__pill::after{
  content: "";
  position: absolute;
  left: 28%;
  right: 28%;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(246,34,69,.7), transparent);
  pointer-events: none;
}
.aea-nav__brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  text-decoration: none;
  color: #fff;
  padding-right: 8px;
}
.aea-nav__logo{
  height: 48px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
  background: transparent !important;
}
.aea-nav__brand .ae-mark{
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: 1;
}
.aea-nav__brand .ae-mark span{
  color: #E2263D;
}
.aea-nav__brand b{
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
}
.aea-nav__panel{
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  height: 100%;
}
.aea-nav__vbar{
  width: 1px;
  height: 28px;
  margin: 0 10px;
  flex: none;
  background: linear-gradient(180deg, transparent, #E2263D, transparent);
  box-shadow: 0 0 10px rgba(226,38,61,.55);
}
.aea-nav__links{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex: 1;
  min-width: 0;
  flex-wrap: nowrap;
}
.aea-nav__link{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 999px;
  color: #f2f7fb;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border: 0;
  background: transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.aea-nav__link:hover{
  color: #fff;
}
.aea-nav__link.is-active{
  background: linear-gradient(180deg, #ff3b52, #E2263D 55%, #c91830);
  color: #fff !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.14) inset,
    0 0 18px rgba(246,34,69,.45),
    0 8px 18px rgba(226,38,61,.4);
}
.aea-nav__drop{
  position: relative;
}
.aea-nav__drop.is-active > .aea-nav__link:not(.is-active){
  color: #fff;
  box-shadow: inset 0 -2px 0 #E2263D;
  border-radius: 0;
  padding-bottom: 11px;
}
.aea-nav__drop.is-open > .aea-nav__link .aea-nav__caret,
.aea-nav__drop:hover > .aea-nav__link .aea-nav__caret{
  transform: rotate(180deg);
  opacity: 1;
}
.aea-nav__caret{
  opacity: .85;
  transition: transform .22s ease, opacity .22s ease;
}
.aea-nav__menu{
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: max-content;
  /* Top padding bridges the visual gap so hover never drops */
  padding: 14px 10px 10px;
  display: none;
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 90;
}
.aea-nav__menu::after{
  content: '';
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 999px;
  background: linear-gradient(160deg, rgba(2,26,48,.96), rgba(0,14,28,.98));
  border: 1px solid rgba(246,34,69,.55);
  box-shadow:
    0 0 0 1px rgba(246,34,69,.22) inset,
    0 0 22px rgba(246,34,69,.35),
    0 12px 28px rgba(0,0,0,.45);
  z-index: 0;
  pointer-events: none;
}
.aea-nav__drop.is-open > .aea-nav__menu{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 4px;
}
.aea-nav__menu a{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  background: transparent;
  transition:
    background .2s ease,
    color .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}
.aea-nav__menu a:hover{
  background: rgba(246,34,69,.14);
  border-color: rgba(246,34,69,.35);
  color: #fff;
}
.aea-nav__menu a.is-active{
  background: linear-gradient(135deg, rgba(255,55,80,.28), rgba(226,38,61,.16));
  border-color: rgba(226,38,61,.6);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(226,38,61,.14) inset,
    0 6px 16px rgba(226,38,61,.28);
}
.aea-nav__menu a.is-active .aea-nav__ico{
  color: #ff5a6e;
  background: rgba(226,38,61,.2);
  border-color: rgba(226,38,61,.45);
}
.aea-nav__menu a:hover .aea-nav__ico{
  color: #fff;
  border-color: rgba(246,34,69,.5);
  background: rgba(246,34,69,.18);
}
.aea-nav__ico{
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(8,28,42,.45);
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.aea-nav__ico svg{
  width: 15px;
  height: 15px;
  display: block;
}
.aea-nav__tools{
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding-right: 4px;
}
.aea-nav__lang{
  position: relative;
}
.aea-nav__lang-btn{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(140,190,215,.45);
  background: rgba(6,28,42,.35);
  color: #f2f7fb;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.aea-nav__lang-btn:hover{
  border-color: rgba(226,38,61,.55);
}
.aea-nav__lang-menu{
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 140px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(6,24,36,.96);
  border: 1px solid rgba(110,190,220,.35);
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
  display: grid;
  gap: 2px;
  z-index: 95;
}
.aea-nav__lang-menu[hidden]{ display: none !important; }
.aea-nav__lang-menu a{
  padding: 8px 10px;
  border-radius: 8px;
  color: #dbe7ef;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.aea-nav__lang-menu a:hover,
.aea-nav__lang-menu a.is-active{
  background: rgba(226,38,61,.18);
  color: #fff;
}
.aea-nav__search{
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(140,190,215,.45);
  background: rgba(6,28,42,.35);
  color: #f2f7fb;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.aea-nav__search:hover{
  border-color: rgba(226,38,61,.55);
  color: #fff;
}

.aea-nav__cta{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff3b52, #E2263D 52%, #c91830);
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(226,38,61,.42);
  margin-left: 2px;
}
.aea-nav__cta:hover{
  filter: brightness(1.06);
}
.aea-nav__cta span{
  font-size: 15px;
  line-height: 1;
}
.aea-nav__toggle{
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 0;
  background: transparent;
  position: relative;
  z-index: 5;
  cursor: pointer;
}
.aea-nav__toggle span,
.aea-nav__toggle span::before,
.aea-nav__toggle span::after{
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  margin: 0 auto;
}
.aea-nav__toggle span::before,
.aea-nav__toggle span::after{
  content: "";
  position: absolute;
  left: 0;
}
.aea-nav__toggle span::before{ top: -6px; }
.aea-nav__toggle span::after{ top: 6px; }

@media (max-width: 1100px){
  .aea-nav__brand b{ font-size: 10px; }
  .aea-nav__link{ padding: 8px 10px; font-size: 12.5px; }
  .aea-nav__cta{ padding: 0 14px; font-size: 11.5px; }
}
@media (max-width: 900px){
  body.aea-home{
    padding-top: 78px;
  }
  .aea-nav{
    width: calc(100% - 24px);
    top: 10px;
  }
  .aea-nav__pill{
    flex-wrap: wrap;
    align-items: center;
    border-radius: 22px;
    padding: 8px 10px;
    min-height: 56px;
  }
  .aea-nav__brand{
    order: 1;
    max-width: calc(100% - 52px);
  }
  .aea-nav__logo{
    height: 42px;
    max-width: 132px;
  }
  .aea-nav__brand b{
    font-size: 9px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .aea-nav__toggle{
    display: block;
    order: 2;
    margin-left: auto;
  }
  /* Full-width dropdown under brand row — not beside the logo */
  .aea-nav__panel{
    display: none;
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 4px 6px;
    border-top: 1px solid rgba(110,190,220,.25);
    margin-top: 6px;
  }
  .aea-nav.is-open .aea-nav__panel{ display: flex; }
  .aea-nav.is-open .aea-nav__pill{
    border-radius: 22px;
  }
  .aea-nav__vbar{ display: none; }
  .aea-nav__links{
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }
  .aea-nav__link{
    width: 100%;
    justify-content: space-between;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
  }
  .aea-nav__link.is-active{
    background: linear-gradient(180deg, #f04a5f, #E2263D);
  }
  .aea-nav__drop{ width: 100%; }
  .aea-nav__menu{
    position: static;
    transform: none;
    left: auto;
    display: none;
    margin-top: 6px;
    min-width: 0;
    padding: 8px;
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(2,26,48,.96), rgba(0,14,28,.98));
    border: 1px solid rgba(246,34,69,.45);
    box-shadow: 0 0 16px rgba(246,34,69,.25);
  }
  .aea-nav__menu::after{ display: none; }
  .aea-nav__menu a{
    white-space: normal;
  }
  .aea-nav__drop.is-open > .aea-nav__menu{
    display: flex;
    flex-direction: column;
  }
  .aea-nav__tools{
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    padding: 8px 0 4px;
    border-top: 1px solid rgba(110,190,220,.18);
    margin-top: 4px;
  }
  .aea-nav__cta{
    margin-left: 0;
    width: 100%;
    justify-content: center;
    height: 44px;
  }
  .aea-nav__lang{ flex: 1 1 auto; }
  .aea-nav__lang-btn{ width: 100%; justify-content: center; }
  .aea-nav__search{ display: none !important; }
}
