/* One navigation system for every IGTA-X page (marketing, Providers and Reporter). */
.site-header {
  box-sizing: border-box;
  height: 79px;
  min-height: 79px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  padding: 0 max(28px, calc((100vw - 1320px) / 2 + 38px));
  background: rgba(10, 11, 14, .95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.09);
  position: sticky;
  top: 0;
  z-index: 90;
}
.site-header .brand {display:flex;align-items:center;gap:7px;flex:none;text-decoration:none}
.site-header .brand img {width:61px;height:61px;object-fit:contain}
.site-header .brand > span {display:flex;flex-direction:column;gap:0;margin-left:-6px;line-height:1.05}
.site-header .brand b {font-size:20px;letter-spacing:-.07em;font-weight:800;white-space:nowrap;color:#f6f2e9}
.site-header .brand-x {color:#d7b36c}
.site-header .brand small {font-size:6.6px;letter-spacing:.23em;color:#a9a5a0;font-weight:700;white-space:nowrap}
.site-header .main-nav {
  position:static;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;
  gap:clamp(10px,1.25vw,19px);width:auto;min-width:0;margin:0 0 0 auto;
  padding:0;border:0;box-shadow:none;background:none;overflow:visible;
}
.site-header .main-nav a {
  position:relative;display:inline-flex;align-items:center;width:auto;min-height:0;
  margin:0;padding:0;border:0;border-radius:0;background:transparent;
  color:#b7b5b2;font-size:10.5px;font-weight:750;letter-spacing:0;
  white-space:nowrap;text-decoration:none;transition:color .2s;
}
.site-header .main-nav a::after {display:none}
.site-header .main-nav a:hover,.site-header .main-nav a[aria-current="page"],.site-header .main-nav a.active {color:#f1cf8e}
.site-header .main-nav a[aria-current="page"]::before {
  content:"";position:absolute;bottom:-13px;left:0;right:0;height:2px;
  background:linear-gradient(90deg,#b88a43,#f4d893);border-radius:2px;
}
.site-header .header-actions {display:flex;align-items:center;gap:12px;flex:none}
.site-header .header-actions .lang-select {
  box-sizing:border-box;appearance:auto;-webkit-appearance:menulist;color-scheme:dark;
  min-width:118px;max-width:152px;height:38px;min-height:38px;
  border:1px solid rgba(215,179,108,.35);border-radius:10px;
  background:#1b1b1e;
  color:#efd19b;font-size:11px;font-weight:750;
  padding:0 10px;cursor:pointer;
  font-family:inherit;line-height:36px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.site-header .header-actions .lang-select:hover,
.site-header .header-actions .lang-select:focus-visible {border-color:#e9c98e;background-color:#27221b}
.site-header .header-actions .lang-select option {background:#151619;color:#f2e7d6;font-weight:600;white-space:nowrap}
.site-header .header-cta {
  display:inline-flex;align-items:center;justify-content:space-between;gap:11px;
  min-height:38px;height:38px;padding:0 14px;border:1px solid rgba(57,203,120,.55);border-radius:10px;
  background:linear-gradient(110deg,#147c44,#24b464);
  color:#f4fff8;font-size:10.5px;font-weight:800;white-space:nowrap;cursor:pointer;
  box-shadow:0 6px 26px rgba(24,167,84,.2);text-decoration:none;
}
.site-header .header-cta:hover {filter:brightness(1.08);box-shadow:0 8px 30px rgba(33,190,97,.32)}
.site-header .menu-toggle,.site-header .nav-mobile-cta {display:none}

/* Matching read-only enquiry dialog for the two trading-tools pages. */
.igta-enquiry-overlay {
  position:fixed;inset:0;z-index:200;display:grid;place-items:center;
  padding:18px;background:rgba(0,0,0,.78);backdrop-filter:blur(7px);
}
.igta-enquiry-panel {
  position:relative;width:min(100%,520px);max-height:90dvh;overflow:auto;
  padding:35px;border:1px solid rgba(215,179,108,.38);border-radius:19px;
  background:linear-gradient(155deg,#23201d,#101217 88%);box-shadow:0 35px 100px rgba(0,0,0,.7);
}
.igta-enquiry-panel h2 {margin:0 36px 15px 0;color:#f0d89c;font-size:29px;line-height:1.2}
.igta-enquiry-panel p {color:#c0bec0;font-size:13px;line-height:1.8;margin:0 0 18px}
.igta-enquiry-panel textarea {
  box-sizing:border-box;display:block;width:100%;resize:vertical;min-height:120px;
  padding:14px;border:1px solid rgba(215,179,108,.3);border-radius:11px;
  background:#101115;color:#f2e9d9;font-family:inherit;font-size:13px;line-height:1.65;
}
.igta-enquiry-panel small {display:block;color:#a5a09a;font-size:11px;line-height:1.65;margin-top:15px}
.igta-enquiry-close {position:absolute;top:17px;right:17px;width:35px;height:35px;border:1px solid #665438;border-radius:9px;background:#1c1917;color:#f1d99f;font-size:23px;cursor:pointer}
.igta-enquiry-actions {display:flex;gap:9px;flex-wrap:wrap;margin-top:17px}
.igta-enquiry-actions button {flex:1;min-width:135px;min-height:45px;padding:9px 12px;border-radius:9px;font-size:12px;font-weight:800;cursor:pointer}
.igta-enquiry-actions button:first-child {background:#f0d89c;color:#19120b;border:0}
.igta-enquiry-actions button:last-child {background:linear-gradient(110deg,#137342,#25b963);color:#f4fff8;border:1px solid #3bcb7a}

@media (max-width:1240px) {
  .site-header {height:70px;min-height:70px;padding:0 23px;gap:10px}
  .site-header .brand img {width:54px;height:54px}
  .site-header .brand b {font-size:18px}
  .site-header .header-actions {gap:10px}
  .site-header .header-cta {display:none}
  .site-header .menu-toggle {
    display:block;flex:none;width:42px;height:42px;padding:10px 9px;
    border:1px solid rgba(220,181,112,.45);border-radius:12px;
    background:#211e1b;cursor:pointer;
  }
  .site-header .menu-toggle span {display:block;width:21px;height:2px;margin:5px auto;background:#eed2a0;border-radius:2px;transition:transform .2s}
  .site-header .menu-toggle[aria-expanded="true"] {border-color:#e5be7b;background:#302516}
  .site-header .menu-toggle[aria-expanded="true"] span:first-child {transform:translateY(3.5px) rotate(45deg)}
  .site-header .menu-toggle[aria-expanded="true"] span:last-child {transform:translateY(-3.5px) rotate(-45deg)}

  body:has(.site-header .main-nav.open) {overflow:hidden}
  body:has(.site-header .main-nav.open)::before {
    content:"";position:fixed;inset:0;background:rgba(0,0,0,.7);
    backdrop-filter:blur(4px);z-index:88;
  }
  .site-header .main-nav,.site-header .main-nav.open {
    position:absolute;display:none;top:calc(100% - 1px);left:12px;right:12px;
    width:auto;max-height:calc(100dvh - 82px);margin:0;padding:13px;
    flex-direction:column;justify-content:flex-start;align-items:stretch;gap:0;
    border:1px solid rgba(219,169,88,.32);border-top:2px solid #cba15b;
    border-radius:0 0 18px 18px;overflow-y:auto;overscroll-behavior:contain;
    background:linear-gradient(155deg,#18191d,#0d0f13 85%);
    box-shadow:0 25px 68px rgba(0,0,0,.75);
  }
  .site-header .main-nav.open {display:flex}
  .site-header .main-nav a {
    display:flex;justify-content:space-between;align-items:center;width:100%;min-height:45px;
    padding:9px 13px;border:0;border-radius:0;background:transparent;
    color:#e0dbd2;font-size:13px;font-weight:750;white-space:normal;
  }
  .site-header .main-nav a::after {content:"→";position:static;inset:auto;width:auto;height:auto;background:none;display:block;color:#c9aa73;font-size:17px;line-height:1}
  .site-header .main-nav a[aria-current="page"]::before {display:none}
  .site-header .main-nav a[aria-current="page"] {
    color:#f3d390;background:transparent;border:0;
  }
  /* Flat navigation links; the gold WhatsApp CTA is the only boxed menu item. */
  .site-header .main-nav a:nth-of-type(5),
  .site-header .main-nav a:nth-of-type(7) {margin-top:5px;border:0}
  .site-header .nav-mobile-cta {
    display:flex;align-items:center;justify-content:space-between;flex:none;width:100%;
    min-height:49px;margin-top:13px;padding:0 16px;border:1px solid rgba(68,214,133,.65);border-radius:11px;
    background:linear-gradient(110deg,#147c44,#24b464);
    color:#f4fff8;font-size:13px;font-weight:800;cursor:pointer;
  }
  .site-header .nav-mobile-cta span:last-child {font-size:20px}
  body:has(.site-header .main-nav.open) .mobile-fixed-cta {display:none}
}
@media (max-width:650px) {
  .site-header {height:66px;min-height:66px;padding:0 16px}
  .site-header .brand img {width:49px;height:49px}
  .site-header .brand b {font-size:17px}
  .site-header .brand small {font-size:5.7px}
  .site-header .header-actions .lang-select {min-width:96px;max-width:118px;height:36px;min-height:36px;line-height:34px;font-size:10.5px;padding:0 8px}
  .site-header .main-nav,.site-header .main-nav.open {left:9px;right:9px;max-height:calc(100dvh - 75px)}
  .site-header .main-nav a {min-height:43px;padding:8px 12px;font-size:12px}
}
@media (prefers-reduced-motion:reduce) {
  .site-header .menu-toggle span,.site-header .main-nav a {transition:none}
}
