/* Block: page-hero (subpage intro). Markup: templates/modular/page-hero.html.twig. V6 .page-hero */
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(115deg, var(--white), #f3fafb 70%, #e9f5f7);

  /* decorative rings, top left */
  &::before {
    content: '';
    position: absolute;
    top: -360px;
    left: -280px;
    width: 500px;
    height: 500px;
    border: 1px solid #d0e6eb;
    border-radius: 50%;
    box-shadow: 0 0 0 100px #d7eaf025, 0 0 0 200px #d7eaf013;
    pointer-events: none;
  }

  & .page-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 80px;
    padding-block: 85px;
  }

  & .page-hero__inner--single { grid-template-columns: 1fr; }

  & .page-hero__title {
    margin: 0 0 24px;
    font-size: clamp(46px, 5vw, 76px);
    letter-spacing: -.065em;
    line-height: 1.05;
  }

  & .page-hero__lead {
    max-width: 595px;
    margin: 0 0 30px;
    font-size: 18px;
    line-height: 1.7;
    color: #56727f;
  }

  & .page-hero__cta { display: flex; flex-wrap: wrap; gap: 13px; }

  & .page-hero__visual {
    position: relative;
    height: 345px;
    overflow: hidden;
    border-radius: 120px 8px 8px 8px;
    background: var(--ice);
    box-shadow: var(--shadow);

    & img { width: 100%; height: 100%; object-fit: cover; }
  }

  & .page-hero__tag {
    position: absolute;
    bottom: 19px;
    left: 23px;
    padding: 7px 12px;
    border-radius: 4px;
    background: #0d3445d9;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    color: var(--white);
  }

  @media (max-width: 800px) {
    & .page-hero__inner { grid-template-columns: 1fr; gap: 25px; padding-block: 64px; }
    & .page-hero__visual { height: 320px; }
  }

  @media (max-width: 520px) {
    & .page-hero__inner { gap: 30px; }
    & .page-hero__title { font-size: 45px; }
    & .page-hero__lead { font-size: 15px; }
    & .page-hero__cta .button { width: 100%; justify-content: space-between; }
    & .page-hero__visual { height: 230px; border-top-left-radius: 80px; }
  }
}
