/* Page Hero partial styles (page-hero.php) * Scoped to .page-hero to avoid affecting the homepage-hero block. */ .page-hero { background: linear-gradient(83.68deg, #032F46 3.13%, #006196 45.91%, #8FC9E6 96.27%); isolation: isolate; min-height: clamp(31rem, 38vw, 36rem); overflow: hidden; position: relative; } .page-hero__content { padding-block: clamp(2rem, 6vw, 4rem); position: relative; z-index: 10; } .page-hero__heading { color: var(--color-light, #fff); font-family: var(--font-quincy, 'Quincy', serif); font-weight: 400; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.05; margin-block: clamp(1.5rem, 4vw, 3rem) 0; max-width: 36rem; text-align: left; } .page-hero__intro { color: var(--color-light, #fff); font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.5; max-width: 36rem; opacity: 0.95; text-align: left; } .page-hero__media { bottom: -8%; height: auto; max-height: none; pointer-events: none; position: absolute; right: clamp(0.5rem, 2vw, 2rem); top: clamp(2rem, 4vw, 4rem); width: auto; z-index: 1; /* Set width via max-width so the image's natural aspect ratio is preserved. */ max-width: clamp(20rem, 30vw, 28rem); } .page-hero__vector { bottom: clamp(1.5rem, 4vw, 3rem); height: auto; left: 0; pointer-events: none; position: absolute; width: 100%; z-index: 5; } @media (max-width: 767px) { .page-hero { min-height: clamp(28rem, 130vw, 40rem); } .page-hero__media { bottom: -8%; right: 0; top: auto; max-width: 60vw; } .page-hero__vector { bottom: clamp(1rem, 3vw, 2rem); width: 100%; } }