/* Shared header geometry, matching the homepage's figure and navigation. */
.wrap {
  padding-top: 5rem;
}

.wrap > .header,
.wrap > .header--rule {
  width: 90%;
  box-sizing: border-box;
}

.wrap > .header {
  min-height: 5rem;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
}

.wrap > .header--rule {
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  padding: 0;
  margin-top: -2rem;
}

.header--rule > .rule {
  width: 100%;
  height: 2px;
  border-radius: 1px;
}

.header--rule > .back-link {
  align-self: flex-start;
  margin: .5rem 0 1.2rem;
  text-align: left;
}

.header .icons {
  flex-shrink: 0;
  gap: .35rem;
}

.header .icon {
  width: 44px;
  height: 44px;
}

.header .icon i {
  font-size: 2.3rem;
}

@media (max-width: 640px) {
  .wrap > .header,
  .wrap > .header--rule {
    width: 88%;
  }

  .wrap > .header--rule {
    margin-top: -.5rem;
  }

  .header .icons {
    gap: .2rem;
  }

  .header .icon {
    width: clamp(24px, 7.5vw, 36px);
    height: 36px;
  }

  .header .icon i {
    font-size: clamp(1.2rem, 6vw, 1.5rem);
  }

  .header h1 {
    font-size: clamp(28px, 8vw, 48px);
  }
}
