.kita-flyer-page {
  margin: 0;
  background:
    radial-gradient(circle at 8% 3%, rgba(189, 152, 165, .13), transparent 27rem),
    #f3f7f4;
  color: #19322c;
}

.kita-flyer-page * {
  box-sizing: border-box;
}

.flyer-document-page {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 82px;
}

.flyer-document-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
  margin-bottom: 38px;
}

.flyer-document-heading h1 {
  margin: 0;
  font: 400 clamp(42px, 6vw, 72px)/.98 var(--serif);
  letter-spacing: -.045em;
}

.flyer-document-heading > div > p:last-child {
  max-width: 630px;
  margin: 20px 0 0;
  color: #5a7069;
  font-size: 15px;
  line-height: 1.75;
}

.flyer-document-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
  max-width: 460px;
}

.flyer-document-actions a,
.flyer-document-actions button {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border: 1px solid #19322c;
  border-radius: 999px;
  font: 700 11px/1.3 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.flyer-document-actions a:hover,
.flyer-document-actions button:hover {
  transform: translateY(-2px);
}

.flyer-action-primary {
  background: #19322c;
  color: #fff;
}

.flyer-action-secondary,
.flyer-share {
  background: transparent;
  color: #19322c;
}

.flyer-document {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(8px, 1.5vw, 16px);
  background: #fff;
  box-shadow: 0 30px 90px rgba(25, 50, 44, .15);
}

.flyer-document img {
  display: block;
  width: 100%;
  height: auto;
}

.flyer-document figcaption {
  padding: 13px 6px 3px;
  color: #71817c;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  text-align: center;
  text-transform: uppercase;
}

.flyer-document-return {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(900px, 100%);
  margin: 26px auto 0;
}

.flyer-document-return a {
  color: #19322c;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 800px) {
  .flyer-document-page {
    width: min(100% - 28px, 700px);
    padding-top: 44px;
  }

  .flyer-document-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .flyer-document-actions {
    justify-content: flex-start;
    max-width: none;
  }
}

@media (max-width: 520px) {
  .flyer-document-page {
    width: 100%;
    padding: 35px 0 58px;
  }

  .flyer-document-heading,
  .flyer-document-return {
    width: calc(100% - 30px);
    margin-right: auto;
    margin-left: auto;
  }

  .flyer-document-heading h1 {
    font-size: 39px;
  }

  .flyer-document-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .flyer-document-actions .flyer-action-primary {
    grid-column: 1 / -1;
  }

  .flyer-document {
    padding: 0;
    box-shadow: 0 20px 55px rgba(25, 50, 44, .14);
  }

  .flyer-document figcaption {
    padding: 12px;
    background: #fff;
  }

  .flyer-document-return {
    display: grid;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flyer-document-actions a,
  .flyer-document-actions button {
    transition: none;
  }
}
