/*
KernWi-Fi Our Network page.
*/

:root {
  --network-bg: #030e1b;
  --network-panel: #08213a;
  --network-line: rgba(118, 209, 255, 0.18);
  --network-cyan: #76d1ff;
  --network-text: #edf7ff;
  --network-muted: #a9bfd2;
}

.network-main {
  min-width: 0;
  min-height: 100vh;
  color: var(--network-text);
  background: var(--network-bg);
}

.network-hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: 47% 53%;
  align-items: stretch;
  overflow: hidden;
  background: #030e1b;
}

.network-hero-copy {
  align-self: center;
  padding: 64px clamp(34px, 4vw, 72px);
  box-sizing: border-box;
}

.network-kicker {
  color: var(--network-cyan);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.network-message {
  position: relative;
  margin-top: 18px;
  padding-left: 29px;
}

.network-message::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 8px;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: var(--network-cyan);
  box-shadow: 0 0 18px rgba(118, 209, 255, 0.16);
}

.network-message h1 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: clamp(4rem, 6.4vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.network-message p,
.network-section p {
  color: var(--network-muted);
  line-height: 1.68;
}

.network-lead {
  color: #d9eaf6 !important;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}

.network-micro {
  margin-bottom: 0;
  font-size: 0.8rem;
}

.network-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.network-hero-copy > .network-actions {
  margin-left: 29px;
}

.network-button {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(4, 20, 36, 0.72);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.network-button.primary {
  color: #03101d;
  border-color: var(--network-cyan);
  background: linear-gradient(135deg, #9ceaff, #31b4ff);
}

.network-hero-visual {
  position: relative;
  min-width: 0;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  background: #071522;
}

.network-hero-visual::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: 92px;
  background:
    linear-gradient(
      90deg,
      #030e1b 0%,
      rgba(3, 14, 27, 0.68) 38%,
      rgba(3, 14, 27, 0) 100%
    );
  pointer-events: none;
}

.network-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.network-licence {
  width: min(calc(100% - 72px), 1200px);
  margin: 18px auto;
  padding: 16px 18px;
  border: 1px solid rgba(118, 209, 255, 0.22);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  gap: 8px 18px;
  color: var(--network-muted);
  background: rgba(8, 32, 57, 0.78);
  text-align: center;
  box-sizing: border-box;
}

.network-licence strong {
  color: #ffffff;
}

.network-section {
  padding: clamp(56px, 7vw, 90px) 0;
  border-top: 1px solid var(--network-line);
}

.network-container {
  width: min(calc(100% - 72px), 1200px);
  margin: auto;
}

.network-section h2 {
  max-width: 840px;
  margin: 16px 0 22px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.network-intro {
  max-width: 860px;
}

.network-grid {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.network-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.network-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.network-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.network-grid article,
.network-notice,
.network-status-inner,
.network-assessment-inner {
  padding: 24px;
  border: 1px solid var(--network-line);
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      rgba(12, 45, 76, 0.9),
      rgba(6, 22, 39, 0.96)
    );
}

.network-grid article > span {
  display: block;
  margin-bottom: 8px;
  color: var(--network-cyan);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.network-grid h3 {
  margin: 0 0 10px;
  color: #ffffff;
}

.network-grid p {
  margin: 0;
  font-size: 0.9rem;
}

.network-notice {
  margin-top: 22px;
}

.network-notice p {
  margin-bottom: 0;
}

.network-status-inner,
.network-assessment-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.network-status-inner > div:first-child,
.network-assessment-inner > div:first-child {
  max-width: 700px;
}

.network-status-inner .network-actions,
.network-assessment-inner .network-actions {
  flex-shrink: 0;
  margin-top: 0;
}

.network-disclosure {
  width: min(calc(100% - 72px), 1200px);
  margin: 20px auto;
  color: #748ba0;
  font-size: 0.72rem;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 1050px) {
  .network-grid.four,
  .network-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .network-hero {
    min-height: 0;
    display: flex;
    flex-direction: column-reverse;
  }

  .network-hero-copy {
    padding: 38px 18px 56px;
  }

  .network-hero-copy > .network-actions {
    margin-left: 25px;
  }

  .network-message {
    padding-left: 25px;
  }

  .network-message h1 {
    font-size: clamp(3.4rem, 17vw, 5.2rem);
  }

  .network-hero-visual {
    width: 100%;
    min-height: 320px;
    height: 320px;
  }

  .network-hero-visual::before {
    content: none;
    display: none;
  }

  .network-hero-visual img {
    min-height: 0;
    object-position: center center;
  }

  .network-container,
  .network-licence,
  .network-disclosure {
    width: calc(100% - 36px);
  }

  .network-licence,
  .network-status-inner,
  .network-assessment-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .network-grid.four,
  .network-grid.three,
  .network-grid.two {
    grid-template-columns: 1fr;
  }

  .network-button {
    width: 100%;
  }
}

/* Definitive Our Network hero height */
@media (min-width: 701px) {
  .network-hero {
    height: 520px !important;
    min-height: 0 !important;
  }

  .network-hero-copy {
    min-height: 0 !important;
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }

  .network-hero-visual {
    height: 520px !important;
    min-height: 0 !important;
  }

  .network-hero-visual img {
    width: 100% !important;
    height: 520px !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
}

@media (max-width: 700px) {
  .network-hero-visual {
    height: 300px !important;
    min-height: 300px !important;
  }

  .network-hero-visual img {
    height: 300px !important;
    min-height: 0 !important;
  }
}

/* Standardised 820px desktop hero */
@media (min-width: 701px) {
  .network-hero {
    height: 820px !important;
    min-height: 820px !important;
  }

  .network-hero-copy {
    min-height: 0 !important;
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .network-hero-visual {
    height: 820px !important;
    min-height: 820px !important;
  }

  .network-hero-visual img {
    width: 100% !important;
    height: 820px !important;
    min-height: 820px !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
}

@media (max-width: 700px) {
  .network-hero {
    height: auto !important;
    min-height: 0 !important;
  }

  .network-hero-visual,
  .network-hero-visual img {
    height: 300px !important;
    min-height: 300px !important;
  }
}

/* Standardised 820px desktop hero */
@media (min-width: 701px) {
  .network-hero {
    height: 820px !important;
    min-height: 820px !important;
  }

  .network-hero-copy {
    min-height: 0 !important;
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .network-hero-visual {
    height: 820px !important;
    min-height: 820px !important;
  }

  .network-hero-visual img {
    width: 100% !important;
    height: 820px !important;
    min-height: 820px !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
}

@media (max-width: 700px) {
  .network-hero {
    height: auto !important;
    min-height: 0 !important;
  }

  .network-hero-visual,
  .network-hero-visual img {
    height: 300px !important;
    min-height: 300px !important;
  }
}
