/* IBCCI shared header v2. Loaded after style.css; overrides the old flat nav on every page. */
.skip{position:absolute;left:-9999px;top:0;z-index:100;background:#fff;color:var(--g);padding:10px 16px;font-weight:600}
.skip:focus{left:8px;top:8px}

/* utility bar (desktop only) */
.topbar{background:#0b2a1f;color:#c8d9d1;font-size:.8rem}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:34px}
.topbar a{color:#e6f0eb;text-decoration:none;padding:6px 2px;display:inline-block}
.topbar a:hover{color:#fff;text-decoration:underline}
.topbar .tb-r{display:flex;gap:20px}
.topbar .tb-l::before{content:"";display:inline-block;width:8px;height:8px;background:var(--r);margin-right:9px}

header#site-header{z-index:40;transition:box-shadow .2s}
header#site-header.stuck{box-shadow:0 6px 18px rgba(0,0,0,.1)}
header#site-header .bar{min-height:68px;gap:12px;flex-wrap:nowrap}
header#site-header .brand img{height:52px}

/* primary nav (desktop) */
header #nav{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:1;position:static;padding:0;margin:0;background:none;border:0;box-shadow:none;flex-wrap:nowrap}
header .nv{display:flex;list-style:none;margin:0;padding:0;gap:0}
header .nv>li{position:relative}
header .nv .dt{display:flex;align-items:center;gap:6px;font:500 .94rem/1.2 var(--sans);color:#14201b;background:none;border:0;border-bottom:3px solid transparent;border-radius:0;padding:24px 12px 21px;margin:0;cursor:pointer;text-decoration:none;white-space:nowrap;min-height:0;width:auto}
header .nv .dt:hover,header .nv li.open>.dt{border-bottom-color:var(--r)}
header .nv li.cur>.dt{border-bottom-color:var(--g);font-weight:600}
header .nv button.dt::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .15s;opacity:.7}
header .nv li.open>button.dt::after{transform:translateY(1px) rotate(225deg)}
header .dm{display:none;position:absolute;top:100%;left:0;min-width:290px;background:#fff;border:1px solid var(--line);border-top:3px solid var(--r);box-shadow:0 20px 36px rgba(0,0,0,.16);padding:8px;z-index:5}
header .nv li.open>.dm{display:block}
@media(hover:hover) and (min-width:981px){header .nv li.dd:hover>.dm{display:block}header .nv li.dd:hover>.dt{border-bottom-color:var(--r)}}
header .dm a{display:flex;flex-direction:column;gap:1px;padding:10px 12px;font-size:.93rem;font-weight:500;color:#14201b;text-decoration:none;border:0;border-left:3px solid transparent}
header .dm a small{font-weight:400;font-size:.78rem;color:var(--mute);line-height:1.35}
header .dm a:hover,header .dm a:focus-visible{background:var(--band);border-left-color:var(--g)}
header .dm a[aria-current="page"]{background:var(--band);border-left-color:var(--r);font-weight:600}
header .dm .new{display:inline-block;background:var(--r);color:#fff;font-size:.66rem;font-weight:700;letter-spacing:.04em;padding:1px 6px;margin-left:8px;vertical-align:1px}
header .nv>li:nth-last-child(-n+2) .dm{left:auto;right:0}
header .nx{display:flex;align-items:center;margin-left:6px}
header .hcta{background:var(--g);color:#fff;font-weight:600;font-size:.92rem;padding:11px 18px;text-decoration:none;border:2px solid var(--g);border-radius:2px;white-space:nowrap;min-height:44px;display:inline-flex;align-items:center;border-bottom:2px solid var(--g)}
header .hcta:hover{background:#fff;color:var(--g)}
header .nc{display:none}
header .menu{display:none}
.scrim{display:none}

/* mobile and tablet drawer */
@media(max-width:980px){
 .topbar{display:none}
 header#site-header .bar{min-height:62px}
 header#site-header .brand img{height:46px}
 header .menu{display:inline-flex;align-items:center;gap:10px;min-height:46px;padding:0 14px;font:600 .95rem var(--sans);background:#fff;border:2px solid var(--g);color:#14201b;border-radius:2px;cursor:pointer}
 header #nav{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;background:#fff;border-top:1px solid var(--line);border-bottom:3px solid var(--g);box-shadow:0 22px 30px rgba(0,0,0,.2);padding:4px 20px 20px;max-height:calc(100vh - var(--hdr,62px) - env(safe-area-inset-top,0px));max-height:calc(100dvh - var(--hdr,62px) - env(safe-area-inset-top,0px));overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 header.open #nav{display:flex}
 header .nv{display:block}
 header .nv>li{border-bottom:1px solid #e3e8e5}
 header .nv .dt{width:100%;justify-content:space-between;font-size:1.05rem;padding:15px 4px;min-height:54px;border-bottom:0!important}
 header .nv li.cur>.dt{color:var(--g)}
 header .nv li.cur>.dt::before{content:"";position:absolute;left:-20px;top:12px;bottom:12px;width:4px;background:var(--r)}
 header .nv button.dt::after{width:9px;height:9px}
 header .dm{position:static;min-width:0;border:0;border-left:3px solid var(--g);box-shadow:none;padding:2px 0 10px 8px;margin:0 0 6px 4px;background:var(--bg)}
 header .nv>li:nth-last-child(-n+2) .dm{right:auto}
 header .dm a{padding:13px 12px;font-size:1rem;min-height:50px;justify-content:center}
 header .dm a small{font-size:.82rem}
 header .nx{display:block;margin:16px 0 0}
 header .hcta{display:flex;justify-content:center;width:100%;min-height:52px;font-size:1rem}
 header .nc{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}
 header .nc a{display:flex;align-items:center;justify-content:center;min-height:50px;border:2px solid var(--g);color:var(--g);font-weight:600;font-size:.92rem;text-decoration:none;border-radius:2px;background:#fff;padding:0 6px}
 .scrim{position:fixed;left:0;right:0;bottom:0;top:calc(var(--hdr,62px) + env(safe-area-inset-top,0px));background:rgba(8,22,17,.5);z-index:-1}
 header.open .scrim{display:block}
 html.nav-lock,html.nav-lock body{overflow:hidden}
 html{scroll-padding-top:calc(var(--hdr,62px) + 12px + env(safe-area-inset-top,0px))}
}
@media(min-width:981px){html{scroll-padding-top:calc(var(--hdr,68px) + 12px + env(safe-area-inset-top,0px))}}
@media(prefers-reduced-motion:reduce){header#site-header,header .nv button.dt::after{transition:none}}

/* Trade Hub switcher: the old global nav rules hid it on phones. Make it a scrollable tab strip. */
nav.hub{display:block;position:static;box-shadow:none;border:0;padding:0;flex-direction:row}
nav.hub .wrap{display:flex;flex-wrap:nowrap;gap:2px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
nav.hub .wrap::-webkit-scrollbar{display:none}
nav.hub a{flex:none;scroll-snap-align:start;white-space:nowrap;min-height:46px;display:inline-flex;align-items:center;border-bottom:3px solid transparent}
nav.hub a.new::after{content:"New";background:var(--r);color:#fff;font-size:.64rem;font-weight:700;padding:1px 6px;margin-left:8px}
nav.hub a:hover{border-bottom-color:rgba(255,255,255,.4)}
nav.hub a[aria-current="page"]{border-bottom-color:var(--r)}
@media(max-width:820px){nav.hub a{padding:12px 14px}}
header .dm .lb{display:block}
header .dm .new{vertical-align:1px}

/* Mobile fix: the generic table min-width (640px) pushed the whole membership-fees page sideways on phones. */
@media(max-width:820px){table.ft{min-width:0}}
@media(max-width:980px){header .nv li.cur>.dt{position:relative}}

/* featured event banner (shared) */
.feat-ev{background:#06382a;color:#fff;border-bottom:4px solid var(--r)}
.feat-ev .wrap{display:flex;gap:24px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding-top:22px;padding-bottom:22px}
.feat-ev .fe-t{max-width:70ch}
.feat-ev .fe-k{margin:0 0 4px;font-size:.84rem;font-weight:600;color:#ffd9dc}
.feat-ev h2{margin:0 0 6px;font-size:1.4rem;color:#fff}
.feat-ev p{margin:0;color:#cfe3da;font-size:.95rem}
.feat-ev .fe-a{display:flex;gap:10px;flex-wrap:wrap}
.feat-ev .btn{flex:none;margin:0}
@media(max-width:560px){.feat-ev .fe-a,.feat-ev .btn{width:100%}}
.hx-sec h3 a{color:var(--g);text-decoration:none}.hx-sec h3 a:hover{text-decoration:underline}
