/* Base layout for legal pages */

.gb-legal-main {
  padding-top: 80px;
}

.gb-legal-hero {
  padding: 72px 0 40px;
  border-bottom: 1px solid rgba(188, 214, 248, 0.25);
}

.gb-legal-hero__wrap {
  max-width: 760px;
}

.gb-legal-title {
  font-family: var(--gb-font-serif);
  font-size: 2rem;
  line-height: 1.25;
  margin: 0 0 0.8rem;
  color: var(--gb-color-text);
}

.gb-legal-lead {
  margin: 0 0 0.8rem;
  font-size: 0.98rem;
}

.gb-legal-meta {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(198, 214, 239, 0.8);
}

/* Sections */

.gb-legal-section {
  padding: 32px 0;
}

.gb-legal-section:nth-of-type(even) {
  background:
    radial-gradient(circle at 0 0, rgba(110, 231, 255, 0.12), transparent 55%),
    linear-gradient(145deg, rgba(5, 14, 36, 0.98), rgba(7, 18, 46, 0.98));
}

.gb-legal-section .gb-wrap {
  max-width: 760px;
}

.gb-legal-section h2 {
  font-family: var(--gb-font-serif);
  font-size: 1.4rem;
  margin: 0 0 0.6rem;
  color: var(--gb-color-text);
}

.gb-legal-section h3 {
  font-size: 1rem;
  margin: 1rem 0 0.4rem;
}

.gb-legal-section p {
  margin: 0 0 0.6rem;
  font-size: 0.94rem;
}

.gb-legal-section ul {
  margin: 0 0 0.6rem 1.2rem;
  padding: 0;
  font-size: 0.94rem;
}

.gb-legal-section li + li {
  margin-top: 0.25rem;
}

.gb-legal-link {
  color: var(--gb-color-ice-soft);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.gb-legal-link:hover {
  text-decoration: none;
}

/* Footer tweaks */

.gb-footer__col--legal .gb-footer__heading {
  margin-bottom: 0.4rem;
}

/* Responsive */

@media (max-width: 840px) {
  .gb-legal-main {
    padding-top: 70px;
  }

  .gb-legal-hero {
    padding: 60px 0 32px;
  }

  .gb-legal-title {
    font-size: 1.7rem;
  }
}

@media (max-width: 520px) {
  .gb-legal-section {
    padding: 24px 0;
  }
}
