/* "The Network, Live" — homepage section (see _network_live.html / network_live.js).
   Section ships hidden and is revealed only after the first successful feed load. */
.network-section { background: radial-gradient(ellipse 120% 90% at 50% -10%, var(--navy-light, #2d4356) 0%, var(--navy, #1a2b3c) 45%, var(--navy-dark, #0f1c2a) 100%); padding: 72px 0 64px; overflow: hidden; position: relative; }
.network-grid { display: grid; grid-template-columns: 340px 1fr; gap: 44px; align-items: center; }
.network-eyebrow { font-family: var(--font-heading); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; color: var(--teal-light); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 8px; }
.nl-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-light); animation: nlLivePulse 2s ease-in-out infinite; }
@keyframes nlLivePulse { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52,184,168,0.4); } 50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(52,184,168,0); } }
.network-title { font-family: var(--font-heading); font-size: 34px; font-weight: 800; letter-spacing: -0.8px; line-height: 1.15; color: #fff; margin-bottom: 14px; }
.network-sub { font-size: 15px; color: var(--text-on-dark-muted); line-height: 1.75; margin-bottom: 26px; }
.network-sub strong { color: var(--text-on-dark); font-weight: 600; }

/* Feed — fixed height + fixed row height: entering/leaving rows can never
   resize the section or show partially-clipped items */
.nl-feed { height: 232px; overflow: hidden; display: flex; flex-direction: column; gap: 8px; }
.nl-feed-empty { height: 40px; display: flex; align-items: center; padding: 0 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--radius-md); font-size: 13px; color: var(--text-on-dark-muted); }
.nl-feed-item { display: flex; align-items: center; gap: 10px; height: 40px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--radius-md); padding: 0 14px; font-size: 13px; color: var(--text-on-dark-muted); opacity: 0; transform: translateY(-10px); animation: nlFeedIn 0.5s ease forwards, nlFeedGlow 1.4s ease; flex-shrink: 0; }
@keyframes nlFeedIn { to { opacity: 1; transform: translateY(0); } }
@keyframes nlFeedGlow { 0% { border-color: rgba(52,184,168,0.55); } 100% { border-color: rgba(255,255,255,0.09); } }
.nl-fi-icon { width: 22px; height: 22px; border-radius: 6px; background: rgba(52,184,168,0.15); border: 1px solid rgba(52,184,168,0.3); color: var(--teal-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nl-fi-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nl-fi-loc { font-weight: 600; color: var(--text-on-dark); }
.nl-fi-time { margin-left: auto; font-size: 11.5px; color: var(--text-on-dark-muted); opacity: 0.8; flex-shrink: 0; padding-left: 8px; font-variant-numeric: tabular-nums; min-width: 58px; text-align: right; }
.network-footline { margin-top: 22px; font-size: 12.5px; color: var(--text-on-dark-muted); line-height: 1.65; }

/* Map — land is ONE path with round caps (h0 segments render as dots) */
.nl-map-wrap { position: relative; }
.nl-map { width: 100%; height: auto; display: block; }
.nl-land { fill: none; stroke: rgba(140,170,190,0.42); stroke-width: 3; stroke-linecap: round; }
.nl-pulse-dot { fill: var(--yellow); animation: nlDotFlash 6s ease forwards; }
.nl-pulse-glow { fill: var(--teal-light); animation: nlGlowFlash 6s ease forwards; }
.nl-pulse-ring { fill: none; stroke: var(--teal-light); stroke-width: 1.75; opacity: 0; }
.nl-map-caption { text-align: center; font-size: 12px; color: var(--text-on-dark-muted); margin-top: 10px; opacity: 0.85; }
@keyframes nlDotFlash { 0% { opacity: 0; } 8% { opacity: 1; } 78% { opacity: 1; } 100% { opacity: 0; } }
@keyframes nlGlowFlash { 0% { opacity: 0; } 8% { opacity: 0.22; } 78% { opacity: 0.18; } 100% { opacity: 0; } }

.network-cta { text-align: center; margin-top: 30px; }
.btn-network-cta { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-size: 14px; font-weight: 700; color: var(--text-primary); background: linear-gradient(135deg, var(--yellow), #ffe033); padding: 14px 30px; border-radius: var(--radius-sm); text-transform: uppercase; letter-spacing: 0.3px; box-shadow: 0 4px 14px rgba(255,214,0,0.25); transition: all 0.25s; border: none; cursor: pointer; }
.btn-network-cta:hover, a.btn-network-cta:hover, a.btn-network-cta:focus, a.btn-network-cta:active { background: linear-gradient(135deg, #ffe033, var(--yellow)); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,214,0,0.4); color: var(--text-primary) !important; text-decoration: none !important; }

@media (max-width: 1024px) {
  .network-grid { grid-template-columns: 1fr; gap: 36px; }
  .network-title { font-size: 28px; }
}
@media (max-width: 600px) {
  .nl-feed-item { font-size: 12px; }
  .nl-feed { height: 196px; }
  /* SVG scales to ~40% on phones — bump geometry (SVG2 CSS r / stroke-width)
     so dots and pulses stay legible */
  .nl-land { stroke-width: 4.8; }
  .nl-pulse-dot { r: 5.5; }
  .nl-pulse-glow { r: 13; }
  .nl-pulse-ring { stroke-width: 2.5; }
}
