/* Shared publication footer. Navigation stays available without JavaScript. */
body [data-network-footer] {
  box-sizing:border-box; position:relative; padding:0; margin:0;
  background:#141f30; color:#edf1f7; border:0; border-top:2px solid #344258;
  font:400 15px/1.45 system-ui,sans-serif; text-align:left;
}
body [data-network-footer] .nf-inner { width:min(100%,1180px); box-sizing:border-box; margin:auto; padding:32px clamp(18px,4vw,52px) 26px; }
body [data-network-footer] .nf-brand { display:inline-flex; align-items:center; margin:0 0 22px; }
body [data-network-footer] .nf-brand img { display:block; width:auto; height:auto; max-height:66px; max-width:min(275px,75vw); }
body [data-network-footer] .nf-brand--cte img { width:265px; }
body [data-network-footer] .nf-brand--mfg img { width:170px; filter:brightness(0) invert(1); }
body [data-network-footer] .nf-directory { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px 32px; border-top:1px solid #394659; padding:16px 0; }
body [data-network-footer] .nf-group { margin:0; padding:0; background:none; border:0; min-width:0; }
body [data-network-footer] .nf-group summary { display:flex; align-items:center; justify-content:space-between; gap:12px; list-style:none; color:white; cursor:pointer; font:650 14px/1.4 system-ui,sans-serif; padding:5px 0; }
body [data-network-footer] .nf-group summary::-webkit-details-marker { display:none; }
body [data-network-footer] .nf-group summary::after { content:'+'; font:400 16px/1 system-ui; color:#acbcd1; }
body [data-network-footer] .nf-group[open] summary::after { content:'−'; }
body [data-network-footer] .nf-links { display:flex; flex-direction:column; align-items:flex-start; gap:3px; padding:3px 0 8px; }
body [data-network-footer] .nf-links ul { list-style:none; padding:0; margin:0; display:grid; gap:3px; }
body [data-network-footer] .nf-links li { margin:0; padding:0; }
body [data-network-footer] .nf-links a,body [data-network-footer] .nf-meta a { display:inline-flex; align-items:center; min-height:24px; font:inherit; color:#d4deed; text-decoration:none; overflow-wrap:anywhere; }
body [data-network-footer] .nf-links a:hover,body [data-network-footer] .nf-meta a:hover { text-decoration:underline; }
body [data-network-footer] :focus-visible { outline:2px solid #98c8ff; outline-offset:3px; }
body [data-network-footer] .nf-meta { display:flex; flex-wrap:wrap; align-items:center; gap:6px 18px; padding:12px 0 0; border-top:1px solid #394659; color:#b6c3d5; font:400 13px/1.5 system-ui,sans-serif; }
body [data-network-footer] .nf-meta button { display:inline-flex; align-items:center; gap:6px; color:inherit; background:none; border:0; padding:4px 0; font:inherit; cursor:pointer; }
body [data-network-footer] .nf-meta img { vertical-align:middle; margin-right:4px; }
body [data-network-footer] .nf-end { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px 22px; margin-top:12px; color:#abb9cd; font:400 13px/1.5 system-ui,sans-serif; }
body [data-network-footer] .nf-end p { margin:0; max-width:72ch; font:inherit; color:inherit; }
body [data-network-footer] .nf-powered { display:inline-flex; align-items:center; gap:9px; color:#b4c2d5; font:650 10px/1.2 system-ui,sans-serif; text-transform:uppercase; letter-spacing:.11em; text-decoration:none; }
body [data-network-footer] .nf-powered img { width:100px; height:auto; filter:brightness(0) invert(1); }
body [data-network-footer] .nf-social { display:flex; flex-wrap:wrap; gap:3px; margin:2px 0; }
body [data-network-footer] .nf-social a,body [data-network-footer] .nf-podcast a[aria-label] { padding:4px; }
body [data-network-footer] .nf-links svg { fill:currentColor; width:18px; height:18px; }
body [data-network-footer] .nf-podcast { display:flex; align-items:center; flex-wrap:wrap; gap:5px; }
@media (max-width:700px) {
  body [data-network-footer] .nf-inner { padding:24px 18px 20px; }
  body [data-network-footer] .nf-brand { margin-bottom:16px; }
  body [data-network-footer] .nf-directory { display:block; padding:0; }
  body [data-network-footer] .nf-group + .nf-group { border-top:1px solid #344258; }
  body [data-network-footer] .nf-group summary { min-height:44px; box-sizing:border-box; }
  body [data-network-footer] .nf-links a { min-height:32px; }
}

body [data-network-footer] .nf-end .tm-powered-compact,
body [data-network-footer] .nf-end .tm-powered-compact__brand { display:inline-flex; align-items:center; gap:9px; padding:0; border:0; margin:0; background:none; box-shadow:none; text-decoration:none; }
body [data-network-footer] .nf-end .tm-powered-compact::before,
body [data-network-footer] .nf-end .tm-powered-compact__brand::before { content:none; }
body [data-network-footer] .nf-end .tm-powered-compact__brand span { color:#b4c2d5; font:650 10px/1.2 system-ui,sans-serif; text-transform:uppercase; letter-spacing:.11em; }
body [data-network-footer] .nf-end .tm-powered-compact__brand img { width:100px; height:auto; padding:0; background:transparent !important; border:0; border-radius:0; filter:brightness(0) invert(1) !important; }
@media (min-width:701px) {
  body .cte-footer-kdx[data-network-footer] .nf-links ul { display:block; columns:2; column-gap:16px; }
  body .cte-footer-kdx[data-network-footer] .nf-links li { break-inside:avoid; }
}

/* Take precedence over the older theme-specific footer surfaces. */
html[data-network-theme] body [data-network-footer]:is(.cte-footer-kdx,.mfgx-footer,.site-footer) {
  --nd-surface:#141f30; --nd-ink:#edf1f7; --nd-muted:#b4c2d5; --nd-line:#394659;
  background:#141f30 !important; color:#edf1f7 !important; padding:0;
}
body footer.site-footer[data-network-footer]::before { right:0; width:min(440px,60vw); transform-origin:right; }
body footer.site-footer[data-network-footer] .nf-brand img { width:min(334px,78vw); max-width:100%; max-height:none; }
@media (max-width:740px) {
  body footer.mfgx-footer[data-network-footer] .nf-end { padding-bottom:calc(52px + env(safe-area-inset-bottom)); }
}
