/* ============================================================================
 *  gf-page.css — the look of a page the owner creates from the admin panel
 * ============================================================================
 *  Only pages made with "New page" load this file. It gives them the same
 *  feeling as the rest of the website: a purple/pink banner on top and a calm
 *  white body, into which the usual content blocks (heading, text, picture,
 *  cards) drop straight in.
 * ========================================================================== */

.gf-page {
  display: block;
  background: #ffffff;
}

.gf-page__hero {
  position: relative;
  padding: 150px 8% 70px;
  background: linear-gradient(135deg, #6e3c7b 25%, #7e0b9e 55%, #fd79a8 100%);
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.gf-page__hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.gf-page__crumb {
  margin: 0 0 14px;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.gf-page__title {
  margin: 0 auto 14px;
  max-width: 900px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.2;
  font-weight: 700;
}

.gf-page__lead {
  margin: 0 auto;
  max-width: 760px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}

.gf-page__body {
  padding: 10px 0 40px;
}

/* The blocks inside a new page keep their own look (gf-blocks.css); this only
   makes the first one sit nicely under the banner. */
.gf-page__body > .gf-block:first-child {
  margin-top: 48px;
}

@media (max-width: 768px) {
  .gf-page__hero {
    padding: 120px 6% 54px;
  }

  .gf-page__hero::after {
    width: 240px;
    height: 240px;
  }
}
