/*
KernWi-Fi Event Wi-Fi page.
*/

:root {
  --event-bg: #04101e;
  --event-panel: #082039;
  --event-line: rgba(118, 209, 255, 0.18);
  --event-cyan: #76d1ff;
  --event-text: #edf7ff;
  --event-muted: #a9bfd2;
}

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

.event-hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(320px, 44%) minmax(0, 1fr);
  background:
    radial-gradient(circle at 80% 10%, rgba(41, 168, 255, 0.12), transparent 35%),
    linear-gradient(135deg, #06111f, #071b31);
}

.event-image {
  min-height: 720px;
  background:
    linear-gradient(90deg, transparent 55%, rgba(6, 17, 31, 0.92)),
    url("/assets/images/event-wifi-hero.jpg") center 42% / cover no-repeat;
}

.event-copy {
  width: min(620px, calc(100% - 72px));
  margin: auto;
  padding: 70px 0;
}

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

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

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

.event-message h1 {
  margin: 0 0 20px;
  font-size: clamp(3.5rem, 7vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

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

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

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

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

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

.event-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.7);
  font-weight: 800;
  text-decoration: none;
}

.event-button.primary {
  border-color: #42bfff;
  background: linear-gradient(135deg, #168fd1, #087cf0);
}

.event-section {
  padding: clamp(64px, 8vw, 104px) 0;
  border-top: 1px solid var(--event-line);
}

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

.event-section h2 {
  max-width: 820px;
  margin: 16px 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.event-intro {
  max-width: 820px;
}

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

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

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

.event-grid article,
.event-assessment-inner {
  padding: 26px;
  border: 1px solid var(--event-line);
  border-radius: 20px;
  background:
    linear-gradient(
      145deg,
      rgba(12, 46, 77, 0.9),
      rgba(6, 22, 39, 0.96)
    );
}

.event-grid h3 {
  margin: 0 0 10px;
}

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

.assessment-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.assessment-inner > div:first-child {
  max-width: 680px;
}

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

@media (max-width: 980px) {
  .event-hero {
    grid-template-columns: 42% minmax(0, 1fr);
  }

  .event-grid.four,
  .event-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .event-hero {
    display: block;
  }

  .event-image {
    min-height: 440px;
    background:
      linear-gradient(180deg, transparent 48%, #06111f),
      url("/assets/images/event-wifi-hero.jpg") center 36% / cover no-repeat;
  }

  .event-copy {
    width: calc(100% - 36px);
    padding: 28px 0 56px;
  }

  .event-message,
  .event-copy > .event-actions {
    margin-left: 0;
  }

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

  .event-message h1 {
    font-size: clamp(3rem, 18vw, 5rem);
  }

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

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

  .assessment-inner {
    align-items: stretch;
    flex-direction: column;
  }

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