/*
  GWN Universal Network Footer Styles v1.0
  Size: ~2.6KB unminified / ~1.1KB gzipped
  Design system: #1a1a2e bg, #538d4e green, #6aaa64 accent, system-ui
*/

/* ===== Footer Container ===== */
.gwn-network-footer {
  background: #0d0d1a;
  border-top: 2px solid #538d4e;
  color: #b0b0c8;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  padding: 0;
  margin-top: 3rem;
  width: 100%;
}

/* ===== Brand Bar ===== */
.gwn-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 5% 16px;
  border-bottom: 1px solid #1a1a2e;
}

.gwn-footer-logo {
  display: inline-flex;
  text-decoration: none;
  flex-shrink: 0;
}

.gwn-footer-tagline {
  font-size: 13px;
  color: #8888a8;
}

.gwn-footer-tagline strong {
  color: #6aaa64;
}

/* ===== Link Columns ===== */
.gwn-footer-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding: 24px 5%;
}

.gwn-footer-col h4 {
  color: #e0e0f0;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #1e1e38;
}

.gwn-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gwn-footer-col li {
  margin: 0;
  padding: 0;
}

.gwn-footer-col a {
  color: #6aaa64;
  text-decoration: none;
  display: block;
  padding: 3px 0;
  font-size: 13px;
  transition: color 0.15s;
}

.gwn-footer-col a:hover,
.gwn-footer-col a:focus-visible {
  color: #538d4e;
  text-decoration: underline;
}

/* Current site highlight */
.gwn-footer-col a.gwn-current {
  color: #fff;
  font-weight: 600;
  pointer-events: none;
}

.gwn-footer-col a.gwn-current::before {
  content: "\25B8 ";
  color: #538d4e;
}

/* ===== Trust Bar ===== */
.gwn-footer-trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 16px 5%;
  border-top: 1px solid #1a1a2e;
  border-bottom: 1px solid #1a1a2e;
}

.gwn-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #8888a8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ===== Copyright ===== */
.gwn-footer-copy {
  text-align: center;
  padding: 16px 5% 20px;
}

.gwn-footer-copy p {
  margin: 0;
  font-size: 12px;
  color: #666680;
}

.gwn-footer-sub {
  margin-top: 4px !important;
  font-size: 11px !important;
  color: #555568 !important;
}

/* ===== Responsive: Tablet (<=960px) ===== */
@media (max-width: 960px) {
  .gwn-footer-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* ===== Responsive: Small Tablet (<=720px) ===== */
@media (max-width: 720px) {
  .gwn-footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .gwn-footer-trust {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* ===== Responsive: Mobile (<=480px) ===== */
@media (max-width: 480px) {
  .gwn-footer-brand {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .gwn-footer-links {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 5%;
  }

  .gwn-footer-col h4 {
    margin-bottom: 6px;
  }

  .gwn-footer-trust {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}

/* ===== Print ===== */
@media print {
  .gwn-network-footer {
    border-top: 1px solid #ccc;
    background: #fff;
    color: #333;
  }

  .gwn-footer-col a {
    color: #333;
  }

  .gwn-footer-trust {
    display: none;
  }
}
