/* Menu of the new home, used on every other page of the site (white version).
   Everything is scoped to .ip-header so the theme and Elementor styles don't leak in. */
.ip-header, .ip-header * { box-sizing: border-box; }
.ip-header { position: sticky; top: 0; z-index: 999; }
.admin-bar .ip-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ip-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .ip-header { top: 0; } }

.ip-header .site-header {
  position: relative; margin: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(13, 19, 48, 0.08);
  font: 400 16px/1.6 "Inter", system-ui, sans-serif; color: #0D1330;
}
.ip-header .wrap { max-width: 1320px; margin: 0 auto; padding: 0 clamp(18px, 4.5vw, 56px); }
.ip-header .header-inner { display: flex; align-items: center; gap: 16px; height: 78px; }
.ip-header .brand { display: inline-flex; align-items: center; margin-right: auto; line-height: 0; text-decoration: none; border: 0; }
.ip-header .brand img { display: block; width: auto; max-width: none; height: 54px; margin: 0; }
.ip-header .logo-on-dark, .ip-header .theme-btn { display: none !important; }

.ip-header .nav { display: flex; align-items: center; gap: 32px; margin: 0 8px 0 0; padding: 0; }
.ip-header .nav a { white-space: nowrap; text-decoration: none; border: 0; box-shadow: none; }
.ip-header .nav a:not(.btn) { color: #4B5372; font-weight: 500; font-size: 15.6px; transition: color .15s; }
.ip-header .nav a:not(.btn):hover { color: #0D1330; }
.ip-header .nav a[aria-current="page"] { color: #0D1330; box-shadow: inset 0 -2px 0 #9A56FF; }
.ip-header .btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px; border-radius: 999px;
  font: 600 16px/1 "Inter", system-ui, sans-serif; color: #fff !important;
  background: linear-gradient(120deg, #9A56FF, #6366F1);
  box-shadow: 0 8px 30px rgba(114, 139, 249, 0.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ip-header .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(114, 139, 249, 0.55); }
.ip-header .menu-btn { display: none; }
.ip-header a:focus-visible, .ip-header button:focus-visible { outline: 2px solid #00C7ED; outline-offset: 3px; border-radius: 6px; }

@media (max-width: 1100px) {
  .ip-header .menu-btn {
    display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 0 18px;
    border: 1px solid rgba(13, 19, 48, 0.16); border-radius: 999px; background: #fff;
    color: #0D1330; font: 600 15px "Inter", system-ui, sans-serif; cursor: pointer;
  }
  .ip-header .nav {
    position: absolute; top: 78px; left: 0; right: 0; margin: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px clamp(18px, 4.5vw, 56px) 24px;
    background: #fff; border-bottom: 1px solid rgba(13, 19, 48, 0.08);
  }
  .ip-header .nav.open { display: flex; }
  .ip-header .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid rgba(13, 19, 48, 0.08); color: #0D1330; }
  .ip-header .nav a[aria-current="page"] { box-shadow: none; color: #7A3FE8; }
  .ip-header .nav .btn { margin-top: 18px; }
}
@media (max-width: 480px) { .ip-header .brand img { height: 42px; } }
