/* Public site masthead. Scoped to preserve admin and member workspace layouts. */
body #top.bidlab-dark-head { background:#ffffff; border-bottom:1px solid #dde4ef; color:#172d49; }
body #top.bidlab-dark-head .head-row { min-height:62px; padding:8px 0; grid-template-columns:210px minmax(200px,320px) 1fr; gap:24px; }
body #top.bidlab-dark-head .brand-name { color:#172d49; }
body #top.bidlab-dark-head .brand-sub { color:#64748b; }
body #top.bidlab-dark-head .brand img { width:36px; height:36px; object-fit:contain; }
body #top.bidlab-dark-head .global-search { width:100%; height:40px; margin:0; border:1px solid #dbe3ee; border-radius:24px; background:#f6f8fb; }
body #top.bidlab-dark-head .global-search input { background:transparent; color:#172d49; padding:0 16px; }
body #top.bidlab-dark-head .global-search input::placeholder { color:#64748b; }
body #top.bidlab-dark-head .global-search:focus-within { outline:2px solid #3c5daa; outline-offset:2px; }
body #top.bidlab-dark-head .global-search button { display:grid; place-items:center; min-width:44px; min-height:38px; padding:0 12px; background:transparent; color:#172d49; }
body #top.bidlab-dark-head .util-links { justify-content:flex-end; gap:18px; }
body #top.bidlab-dark-head .util-links a { color:#172d49!important; background:transparent; border:0; padding:6px 0; font-size:12px; white-space:nowrap; }
body #top.bidlab-dark-head .util-auth { gap:16px; }
body #top.bidlab-dark-head .gnb,body #top.bidlab-dark-head .gnb-row { background:#ffffff; border:0; }
body #top.bidlab-dark-head .gnb-nav .gnb-top { color:#172d49!important; font-size:14px; font-weight:600; padding:18px 14px; }
body #top.bidlab-dark-head .gnb-nav .gnb-top:hover { color:#3155a5!important; background:#f0f4fb; }
body #top.bidlab-dark-head .gnb-nav .gnb-top.is-current { color:#3155a5!important; }
body #top.bidlab-dark-head .gnb-nav .gnb-top.is-current::after { background:#3c5daa; bottom:8px; }
body #top.bidlab-dark-head .menu-toggle span { background:#172d49; }
body #top.bidlab-dark-head .search-toggle { color:#172d49; }
body #top.bidlab-dark-head .desktop-all-menu { position:relative; margin-left:auto; flex:0 0 50px; }
body #top.bidlab-dark-head .desktop-all-menu summary { display:grid; place-items:center; width:50px; height:54px; background:#f2f5fa; color:#172d49; cursor:pointer; list-style:none; font-size:24px; }
body #top.bidlab-dark-head .desktop-all-menu summary::-webkit-details-marker { display:none; }
body #top.bidlab-dark-head .desktop-all-menu summary:focus-visible { outline:2px solid #3c5daa; outline-offset:-4px; }
body #top.bidlab-dark-head .desktop-all-menu__panel { position:absolute; right:0; top:100%; z-index:100; width:540px; max-width:calc(100vw - 32px); padding:24px; box-sizing:border-box; background:#ffffff; border:1px solid #dde4ef; color:#172d49; box-shadow:0 12px 24px #0002; }
body #top.bidlab-dark-head .desktop-all-menu__links { display:grid; grid-template-columns:repeat(4,1fr); gap:18px 12px; padding:20px 0; }
body #top.bidlab-dark-head .desktop-all-menu__panel a { color:#172d49!important; font-size:13px; text-decoration:none; }
body #top.bidlab-dark-head .desktop-all-menu__panel a:hover { text-decoration:underline; }
body #top.bidlab-dark-head .desktop-all-menu__tools { display:flex; flex-wrap:wrap; gap:16px; padding:18px 0; border-top:1px solid #dde4ef; }
body #top.bidlab-dark-head .desktop-all-menu__tools>span { flex-basis:100%; color:#64748b; font-size:12px; }
@media(min-width:1025px){
 body #top.bidlab-dark-head .gnb-nav { flex:1; justify-content:space-between; }
 body #top.bidlab-dark-head .gnb-row { display:flex; align-items:center; gap:16px; }
 body #top.bidlab-dark-head.is-compact { background:#ffffff; }
 body #top.bidlab-dark-head.is-compact .head-row { display:contents; }
 body #top.bidlab-dark-head.is-compact .gnb-nav .gnb-top { padding:18px 6px; font-size:13px; }
}
@media(max-width:1024px){
 body #top.bidlab-dark-head .desktop-all-menu { display:none; }
 body #top.bidlab-dark-head .gnb-nav.open { background:#ffffff!important; color:#172d49; }
 body #top.bidlab-dark-head .gnb-nav.open a,body #top.bidlab-dark-head .mobile-nav-head,body #top.bidlab-dark-head .menu-close { color:#172d49!important; }
 body #top.bidlab-dark-head .mobile-nav-head,body #top.bidlab-dark-head .mobile-tools,body #top.bidlab-dark-head .mobile-utils { background:#ffffff; }
 body #top.bidlab-dark-head .mobile-tools a,body #top.bidlab-dark-head .menu-close { background:#f6f8fc; border-color:#dbe3ee; }
 body #top.bidlab-dark-head .mobile-tools>span { color:#64748b; }
}
/* Replace the home's duplicate masthead while keeping its accessible page title. */
body.home-v1:has(.bidlab-dark-head) .home-partners { position:absolute!important; width:1px!important; height:1px!important; overflow:hidden!important; clip-path:inset(50%)!important; padding:0!important; margin:0!important; }
@media(min-width:1025px){
 body.home-v1 #top.bidlab-dark-head .head-row { display:grid!important; grid-template-columns:210px minmax(200px,320px) 1fr!important; min-height:62px!important; padding:8px 0!important; }
 body.home-v1 #top.bidlab-dark-head .brand,body.home-v1 #top.bidlab-dark-head .global-search { display:flex!important; }
 body.home-v1 #top.bidlab-dark-head .gnb-row { padding:0; gap:16px; }
}
@media(min-width:721px) and (max-width:1024px){
 body #top.bidlab-dark-head .head-row { display:flex!important; min-height:62px!important; }
 body #top.bidlab-dark-head .brand { display:flex!important; margin-right:auto; }
 body #top.bidlab-dark-head .global-search { display:none!important; }
}

body #top.bidlab-dark-head .util-links a.util-consult { background:#3c5daa; color:#fff!important; padding:9px 14px; border-radius:6px; }

/* Larger, clearer public navigation without changing routes or permissions. */
body #top.bidlab-dark-head .brand-name { font-size:20px; }
body #top.bidlab-dark-head .brand-sub { font-size:12px; }
body #top.bidlab-dark-head .global-search input { font-size:16px; }
body #top.bidlab-dark-head .global-search { height:44px; }
body #top.bidlab-dark-head .util-links a { font-size:14px; font-weight:600; }
body #top.bidlab-dark-head .gnb-nav .gnb-top { font-size:18px; font-weight:700; line-height:1.5; padding:18px 10px; }
body #top.bidlab-dark-head .desktop-all-menu__panel a { font-size:16px; line-height:1.6; }
body #top.bidlab-dark-head .desktop-all-menu__tools>span { font-size:14px; }
body #top.bidlab-dark-head .desktop-all-menu summary { height:63px; }
@media(min-width:1025px){
 body #top.bidlab-dark-head.is-compact .gnb-nav .gnb-top { font-size:16px; padding:18px 6px; }
}
@media(max-width:720px){
 body #top.bidlab-dark-head .brand-name { font-size:18px!important; }
 body #top.bidlab-dark-head .brand-sub { font-size:11px!important; }
 body #top.bidlab-dark-head .mobile-utils a { font-size:16px; line-height:1.6; }
}



/* Jodalplus Media logo guide: main 60px, standard 48px, mobile/reading 40px. */
:root { --bidlab-blue:#075fd8; --bidlab-blue-dark:#004aac; --bidlab-blue-hover:#004aac; --bidlab-navy:#081b4c; --bidlab-bg:#f5f8fd; --bidlab-border:#dce4ef; }
body.home-v1 { --home-ink:#081b4c; --home-blue:#075fd8; --home-blue-hover:#004aac; --home-soft:#f5f8fd; }
body #top.bidlab-dark-head { --media-logo-height:48px; color:#081b4c; border-bottom-color:#dce4ef; }
body.home-v1 #top.bidlab-dark-head { --media-logo-height:60px; }
body #top.bidlab-dark-head .head-row { grid-template-columns:230px minmax(200px,320px) 1fr; min-height:88px; gap:24px; padding:12px 0; }
body #top.bidlab-dark-head .brand { width:auto; gap:0; }
body .media-logo { display:flex!important; align-items:center; gap:10px; overflow:visible!important; width:auto!important; height:var(--media-logo-height,48px)!important; aspect-ratio:auto; flex:none; }
body .media-logo--wordmark { display:inline-flex!important; align-items:center; width:auto!important; height:var(--media-logo-height,48px)!important; }
body #top.bidlab-dark-head .brand .media-logo--wordmark img,
body footer.portal-foot .foot-brand .media-logo--wordmark img {
  position:static!important;
  width:auto!important;
  height:var(--media-logo-height,48px)!important;
  max-height:var(--media-logo-height,48px)!important;
  max-width:min(240px,70vw)!important;
  object-fit:contain!important;
  object-position:left center!important;
  margin:0!important;
}
body #top.bidlab-dark-head .gnb-nav .gnb-top:hover,body #top.bidlab-dark-head .gnb-nav .gnb-top.is-current { color:#075fd8!important; }
body #top.bidlab-dark-head .gnb-nav .gnb-top.is-current::after { background:#075fd8; }
body #top.bidlab-dark-head .util-links a.util-consult { background:#075fd8; border-radius:8px; }
body #top.bidlab-dark-head .global-search:focus-within { outline-color:#075fd8; }
@media(min-width:1025px){body.home-v1 #top.bidlab-dark-head .head-row { grid-template-columns:230px minmax(200px,320px) 1fr!important; min-height:96px!important; padding:16px 0!important; }}
body .media-brandline { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 24px; padding-top:16px; padding-bottom:16px; border-bottom:1px solid #dce4ef; color:#081b4c; }
body .media-brandline strong { font-size:18px; letter-spacing:-.04em; }
body .media-brandline>span { font-size:13px; color:#53627a; }
body footer.portal-foot { --media-logo-height:48px; background:#f5f8fd; color:#53627a; border-top:2px solid #081b4c; padding-top:20px; padding-bottom:16px; }
body footer.portal-foot .foot-brand { padding:12px 0; background:transparent; border:0; border-radius:0; box-shadow:none; }
body footer.portal-foot .foot-categories { border-bottom-color:#dce4ef; color:#081b4c; }
body footer.portal-foot .foot-nav a,body footer.portal-foot .top-btn { color:#081b4c; }
body footer.portal-foot .top-btn { background:#fff; border-color:#dce4ef; }
@media(min-width:1025px){body #top.bidlab-dark-head.is-compact { --media-logo-height:40px; } body #top.bidlab-dark-head.is-compact .brand { width:auto; }}
@media(max-width:1024px){body #top.bidlab-dark-head,body.home-v1 #top.bidlab-dark-head { --media-logo-height:48px; } body #top.bidlab-dark-head .head-row { min-height:80px!important; }}
@media(max-width:720px){body #top.bidlab-dark-head,body.home-v1 #top.bidlab-dark-head { --media-logo-height:40px; } body #top.bidlab-dark-head .head-row { min-height:72px!important; gap:8px; } body #top.bidlab-dark-head .brand { width:auto!important; } body #top.portal-head .brand img, body #top.portal-head .brand .media-logo--wordmark img { width:auto!important; height:40px!important; max-width:min(220px,68vw)!important; object-fit:contain!important; } body .media-brandline { padding-top:12px; padding-bottom:12px; } body .media-brandline strong { font-size:16px; } body .media-brandline>span { font-size:12px; } body footer.portal-foot { --media-logo-height:40px; }}

/* Compact display name; retain the existing brand symbol and full accessible name. */
body .media-logo.media-logo--compact { display:inline-flex!important; align-items:center; gap:8px; width:auto!important; overflow:visible!important; aspect-ratio:auto; }
body .media-logo__symbol { position:relative; display:block; width:var(--media-logo-height,48px); height:var(--media-logo-height,48px); overflow:hidden; flex:none; }
body #top.bidlab-dark-head .brand .media-logo__symbol img,body footer.portal-foot .foot-brand .media-logo__symbol img { width:371.5556%!important; height:209.1111%!important; left:-13.1111%!important; top:-55.5556%!important; }
body .media-logo__word { color:#081b4c; font-family:Pretendard,"Malgun Gothic",sans-serif; font-weight:850; font-size:clamp(20px,calc(var(--media-logo-height,48px) * .42),25px); letter-spacing:-.055em; line-height:1.2; white-space:nowrap; }
body .media-logo__plus { color:#075fd8; margin:0 .08em; }

/* Keep nested wordmark spans visible under legacy mobile span rules. */
body #top.bidlab-dark-head .brand .media-logo__symbol,body footer.portal-foot .foot-brand .media-logo__symbol { display:block!important; }
body #top.bidlab-dark-head .brand .media-logo__word,body footer.portal-foot .foot-brand .media-logo__word { display:block!important; }
body #top.bidlab-dark-head .brand .media-logo__plus,body footer.portal-foot .foot-brand .media-logo__plus { display:inline!important; }
body #top.bidlab-dark-head .brand .media-logo__symbol img,body footer.portal-foot .foot-brand .media-logo__symbol img { position:absolute!important; }

/* Enlarge the approved public header wordmark by 1.5 on every screen. */
body #top.bidlab-dark-head { --media-logo-height:72px; }
body.home-v1 #top.bidlab-dark-head { --media-logo-height:90px; }
body #top.bidlab-dark-head .brand .media-logo--wordmark img { max-width:min(360px,70vw)!important; }
@media(min-width:1025px){body #top.bidlab-dark-head .head-row,body.home-v1 #top.bidlab-dark-head .head-row { grid-template-columns:280px minmax(200px,320px) 1fr!important; }body #top.bidlab-dark-head.is-compact { --media-logo-height:40px; }
  body #top.bidlab-dark-head.is-compact .brand,
  body #top.bidlab-dark-head.is-compact .brand .media-logo--wordmark { min-width:0; max-width:100%; }
  body #top.bidlab-dark-head.is-compact .brand .media-logo--wordmark img { max-width:120px!important; object-fit:contain!important; }}
@media(max-width:1024px){body #top.bidlab-dark-head,body.home-v1 #top.bidlab-dark-head { --media-logo-height:72px; }}
@media(max-width:720px){body #top.bidlab-dark-head,body.home-v1 #top.bidlab-dark-head { --media-logo-height:60px; }body #top.portal-head .brand .media-logo--wordmark img { height:60px!important;max-width:min(330px,68vw)!important; }}

/* Share the public wordmark without the legacy footer badge. */
body footer.portal-foot { --media-logo-height:72px; }
body footer.portal-foot .foot-brand { padding:0!important;background:transparent!important;border-radius:0; width:auto!important; }
body footer.portal-foot .foot-brand .media-logo--wordmark img { max-width:min(300px,80vw)!important; }
@media(max-width:720px){body footer.portal-foot { --media-logo-height:60px; }}

/* Align footer content to one left edge; hide transparent wordmark margins. */
body footer.portal-foot .foot-inner { align-items:stretch;gap:0; }
body footer.portal-foot .foot-nav-row { padding:18px 0;border-bottom:1px solid #dce4ef; }
body footer.portal-foot .foot-meta { display:grid;grid-template-columns:200px minmax(0,1fr);gap:40px;align-items:center;justify-content:start;text-align:left;padding:24px 0; }
body footer.portal-foot .foot-brand { display:flex;align-items:center;justify-content:flex-start; }
body footer.portal-foot .foot-brand .media-logo--wordmark { position:relative;display:block!important;width:170px!important;height:52px!important;overflow:hidden!important; }
body footer.portal-foot .foot-brand .media-logo--wordmark img { position:absolute!important;width:230px!important;height:auto!important;max-height:none!important;max-width:none!important;left:-30px;top:-12px; }
body footer.portal-foot .foot-meta-copy { min-width:0; }
body footer.portal-foot .foot-meta-line { justify-content:flex-start;line-height:1.65;margin:0; }
body footer.portal-foot .foot-bottom { display:flex;align-items:center;justify-content:space-between;text-align:left;padding:16px 0 0;border-top:1px solid #dce4ef;gap:16px; }
body footer.portal-foot .foot-legal { margin:0; }
@media(max-width:720px){body footer.portal-foot .foot-meta { grid-template-columns:minmax(0,1fr);gap:16px;padding:20px 0; }body footer.portal-foot .foot-meta-line { flex-wrap:wrap; }body footer.portal-foot .foot-bottom { align-items:flex-start; }body footer.portal-foot .foot-legal { display:flex;flex-direction:column;gap:6px; }body footer.portal-foot .foot-copy::before { content:none!important; }}

/* Compact footer spacing while retaining the shared alignment. */
body footer.portal-foot { padding-top:10px!important;padding-bottom:10px!important; }
body footer.portal-foot .foot-inner { gap:0!important; }
body footer.portal-foot .foot-categories { padding:2px 0 6px;margin:0; }
body footer.portal-foot .foot-categories a { min-height:28px; }
body footer.portal-foot .foot-nav-row { padding:8px 0!important; }
body footer.portal-foot .foot-meta { padding:10px 0!important; }
body footer.portal-foot .foot-brand { margin:0!important; }
body footer.portal-foot .foot-bottom { padding-top:8px; }
@media(max-width:720px){body footer.portal-foot .foot-meta { gap:8px;padding:10px 0!important; }body footer.portal-foot .foot-categories a { min-height:32px; }}

/* Raised at rest; presses down on hover and keyboard focus. */
body #top.bidlab-dark-head .gnb-nav .gnb-item { --menu-accent:#0067d9; }
body #top.bidlab-dark-head .gnb-nav .gnb-item:nth-child(2) { --menu-accent:#e62c19; }
body #top.bidlab-dark-head .gnb-nav .gnb-item:nth-child(3) { --menu-accent:#ffc400; }
body #top.bidlab-dark-head .gnb-nav .gnb-item:nth-child(4) { --menu-accent:#ffffff; }
body #top.bidlab-dark-head .gnb-nav .gnb-item:nth-child(5) { --menu-accent:#111111; }
body #top.bidlab-dark-head .gnb-nav .gnb-item:nth-child(6) { --menu-accent:#0067d9; }
body #top.bidlab-dark-head .gnb-nav .gnb-item:nth-child(7) { --menu-accent:#e62c19; }
body #top.bidlab-dark-head .gnb-nav .gnb-item:nth-child(8) { --menu-accent:#ffc400; }
body #top.bidlab-dark-head .gnb-nav .gnb-item:nth-child(9) { --menu-accent:#ffffff; }
body #top.bidlab-dark-head .gnb-nav { gap:12px; padding:8px 2px; }
body #top.bidlab-dark-head .gnb-nav .gnb-top {
  display:flex; align-items:center; justify-content:center; min-height:36px;
  padding:5px 13px!important; border:2px solid #111!important; border-radius:999px;
  background:#fff!important; color:#172d49!important; font-size:15px!important;
  box-shadow:0 3px 0 var(--menu-accent),0 5px 0 #111;
  transform:translateY(-3px); transition:transform 140ms ease,box-shadow 140ms ease;
}
body #top.bidlab-dark-head .gnb-nav .gnb-top:hover,
body #top.bidlab-dark-head .gnb-nav .gnb-top:focus-visible,
body #top.bidlab-dark-head .gnb-nav .gnb-top:active {
  transform:translateY(2px); box-shadow:none; background:#fff!important; color:#172d49!important;
}
body #top.bidlab-dark-head .gnb-nav .gnb-top.is-current::after { display:none; }
body #top.bidlab-dark-head .gnb-nav .gnb-top:focus-visible { outline:2px solid var(--menu-accent); outline-offset:5px; }
@media(max-width:1024px){body #top.bidlab-dark-head .gnb-nav { gap:10px; padding:9px 4px; }body #top.bidlab-dark-head .gnb-nav .gnb-top{font-size:13px!important;min-height:34px;padding:5px 12px!important;}}
@media(prefers-reduced-motion:reduce){body #top.bidlab-dark-head .gnb-nav .gnb-top{transition:none}}
.portal-head .util-auth a.util-login {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 84px; min-height: 34px; padding: 5px 18px;
  box-sizing: border-box; border: 2px solid #111 !important; border-radius: 999px !important;
  background: #fff !important; color: #111 !important; font-weight: 800; text-decoration: none;
  box-shadow: 0 3px 0 #1760e8, 0 5px 0 #111;
  transform: translateY(-3px);
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.portal-head .util-auth a.util-login:hover,
.portal-head .util-auth a.util-login:focus-visible,
.portal-head .util-auth a.util-login:active {
  background: #fff !important; color: #111 !important; transform: translateY(2px); box-shadow: 0 0 0 #1760e8, 0 0 0 #111;
}
.portal-head .util-auth a.util-login:focus-visible { outline: 2px solid #1760e8; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .portal-head .util-auth a.util-login { transition: none; }
}
