/* Text-only ARQS family footer row. Wraps on narrow screens; no logos. */
nav.eco-links{
  box-sizing:border-box;
  display:flex!important;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:4px 12px;
  width:100%;
  max-width:100%;
  margin:0;
  padding:12px 16px 14px;
  font:13px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;
  opacity:.85;
  text-align:center;
  white-space:normal;
  overflow:visible;
  position:static!important;
  top:auto!important;
  left:auto;
  right:auto;
  z-index:auto!important;
  background:transparent!important;
  color:inherit!important;
  border:0!important;
  box-shadow:none!important;
  min-height:0;
}
nav.eco-links .eco-links-label{
  flex:0 0 auto;
  white-space:nowrap;
  margin:0;
  color:inherit;
}
nav.eco-links a{
  box-sizing:border-box;
  color:inherit;
  text-decoration:underline;
  text-underline-offset:3px;
  white-space:nowrap;
  margin:0;
  padding:10px 8px;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
@media(max-width:430px){
  nav.eco-links .eco-links-label{
    flex:1 0 100%;
    text-align:center;
  }
}

nav.eco-links a::before,
nav.eco-links a::after{
  content:none!important;
}

/* Nov 11, 2026 (Ack t1958u/t1966u/t1970u): every main brand shows its own live logo file, unaltered,
   plus Compass and Intelligence hub buttons that open a compact panel. Uniform 40px logo height. */
nav.eco-links{position:relative!important;opacity:1!important;gap:4px 6px}
nav.eco-links>a,nav.eco-links>button,nav.eco-links>.eco-links-label{opacity:.9}
nav.eco-links>a:hover,nav.eco-links>button:hover{opacity:1}
/* West Coast News wordmark is dark ink. Invert it onto the same dark tile as the other logos. The file itself is unchanged. */
nav.eco-links img[src*="wcn-wordmark"]{filter:invert(1) brightness(1.35);background:transparent}
nav.eco-links a.eco-brand,
nav.eco-links button.eco-hub{
  flex-direction:column;
  gap:3px;
  text-decoration:none;
  padding:6px 4px;
  font:inherit;
  color:inherit;
  background:none;
  border:0;
  cursor:pointer;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
}
nav.eco-links .eco-brand img,
nav.eco-links .eco-hub img{
  display:block;
  height:40px;
  width:auto;
  max-width:104px;
  object-fit:contain;
}
nav.eco-links .eco-name{font-size:11px;line-height:1.2;white-space:nowrap}
nav.eco-links .eco-nologo .eco-name{
  display:inline-flex;align-items:center;min-height:40px;padding:0 8px;
  border:1px solid currentColor;border-radius:6px;opacity:.9;font-size:12px;
}
nav.eco-links a[aria-current="page"] .eco-name{text-decoration:underline;text-underline-offset:3px}
nav.eco-links .eco-hub[aria-expanded="true"] .eco-name{text-decoration:underline}
nav.eco-links .eco-hub:focus-visible,nav.eco-links a:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.eco-panel{
  position:absolute;z-index:50;left:50%;bottom:calc(100% - 8px);transform:translateX(-50%);
  width:min(760px,94vw);max-height:min(60vh,520px);overflow:auto;
  background:#0b1220;color:#f4efe2;border:1px solid rgba(229,189,99,.45);border-radius:12px;
  box-shadow:0 18px 50px rgba(0,0,0,.55);padding:10px 12px 12px;opacity:1;text-align:left;
  font:13px/1.35 system-ui,-apple-system,"Segoe UI",sans-serif;
}
.eco-panel[hidden]{display:none!important}
.eco-panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px}
.eco-panel .eco-panel-head a{color:#e5bd63;font-weight:600;text-decoration:none;padding:4px 0;min-height:36px;font-size:14px}
.eco-close{background:none;border:0;color:inherit;font-size:22px;line-height:1;min-width:44px;min-height:36px;cursor:pointer}
.eco-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:4px 8px}
.eco-panel .eco-grid a{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-height:44px;padding:4px 6px;border-radius:8px;color:inherit;text-decoration:none;white-space:normal;text-align:left;font-size:13px;line-height:1.25}
.eco-grid a:hover,.eco-grid a:focus-visible{background:rgba(229,189,99,.12)}
.eco-grid img{width:36px;height:36px;object-fit:contain;flex:none}
.eco-grid .eco-noimg{width:36px;height:36px;flex:none;border:1px dashed rgba(244,239,226,.35);border-radius:8px}
/* Clip official Compass sheets (Ack 2026-11-11 set) without making new logo files. */
.eco-grid .eco-sprite{
  position:relative;
  display:block;
  flex:none;
  width:36px;
  height:36px;
  overflow:hidden;
}
.eco-grid .eco-sprite img{
  position:absolute;
  max-width:none;
  width:auto;
  height:auto;
  object-fit:fill;
}
@media(max-width:430px){
  nav.eco-links{flex-wrap:wrap;gap:2px 6px;padding:8px 6px 2px}
  nav.eco-links .eco-links-label{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  nav.eco-links a.eco-brand,nav.eco-links button.eco-hub{padding:3px 3px;min-height:44px}
  nav.eco-links .eco-brand img,nav.eco-links .eco-hub img{height:30px;max-width:96px}
  nav.eco-links .eco-name{font-size:9.5px}
  nav.eco-links .eco-nologo .eco-name{min-height:30px;font-size:10px;padding:0 6px}
  .eco-panel{position:fixed;left:0;right:0;bottom:0;top:auto;transform:none;width:auto;max-height:72vh;border-radius:14px 14px 0 0;padding:8px 10px 14px}
  .eco-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 6px}
  .eco-panel .eco-grid a{font-size:12.5px;padding:4px}
  .eco-grid img,.eco-grid .eco-noimg,.eco-grid .eco-sprite{width:32px;height:32px}
}

/* 2026-11-13: Hide retired/unverified Connect Ten destination without affecting live family-site navigation. */
nav.eco-links a[href*="arqs-connect-ten.vercel.app"], nav.eco-links a[href*="connect.arqs.ca"]{display:none!important}

/* 2026-11-23: one centred grid, identical dark tiles. No text-only pills. */
nav.eco-links{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,108px);
  justify-content:center;
  justify-items:center;
  align-items:stretch;
  gap:14px 12px!important;
  width:min(1080px,100%);
  margin:0 auto;
  padding:18px 16px 8px;
}
nav.eco-links .eco-links-label{
  grid-column:1 / -1;
  text-align:center;
  width:100%;
}
nav.eco-links a.eco-brand,
nav.eco-links button.eco-hub{
  width:108px;
  height:108px;
  min-height:108px;
  max-width:108px;
  box-sizing:border-box;
  padding:10px 8px 8px;
  gap:6px;
  justify-content:center;
  background:#12161c;
  border:1px solid rgba(228,201,140,.4);
  border-radius:12px;
  color:#f6efe2;
}
nav.eco-links .eco-brand img,
nav.eco-links .eco-hub img{
  width:72px;
  height:40px;
  max-width:72px;
  object-fit:contain;
}
nav.eco-links .eco-name{
  font-size:11px;
  line-height:1.15;
  letter-spacing:.01em;
  color:#f6efe2;
  max-width:92px;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media(max-width:430px){
  nav.eco-links{grid-template-columns:repeat(3,108px);gap:10px 8px!important;padding:12px 8px 4px}
  nav.eco-links a.eco-brand,nav.eco-links button.eco-hub{width:108px;height:108px}
}
