/* Hero image banner for the public pages (About, Features, Pricing, Blog,
   blog posts, Privacy, Terms). Each page sets its own photo through
   --pph-img on the hero section. If the photo cannot load, the dark
   teal base colour keeps the banner readable. */
.pp-hero-img{
  position:relative;isolation:isolate;overflow:hidden;color:#fff;
  background-color:#12303A;
  background-image:var(--pph-img);
  background-size:cover;background-position:center;background-repeat:no-repeat;
  min-height:440px;display:flex;align-items:center;justify-content:center;text-align:center;
  padding:150px 0 96px !important;
}
.pp-hero-img::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:
    linear-gradient(180deg,rgba(10,24,30,.55) 0%,rgba(10,24,30,.72) 55%,rgba(10,24,30,.88) 100%),
    linear-gradient(100deg,rgba(15,118,109,.28),rgba(15,118,109,0) 60%);
}
.pp-hero-img > .wrap,.pp-hero-img > .article-wrap{width:100%;}
.pp-hero-img h1,.pp-hero-img h2{color:#fff;text-shadow:0 2px 24px rgba(0,0,0,.25);}
.pp-hero-img p,.pp-hero-img .sub,.pp-hero-img .pph-lead{color:rgba(255,255,255,.88) !important;}
.pp-hero-img .eyebrow,.pp-hero-img .article-cat{color:var(--gold,#E8B84A);}
.pp-hero-img .article-cat{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.28);}
.pp-hero-img .article-meta,.pp-hero-img .article-meta span{color:rgba(255,255,255,.8);}
.pp-hero-img .article-meta .dot{background:rgba(255,255,255,.6);}
.pp-hero-img .pill{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.35);color:#fff;}
.pp-hero-img .pill:hover{background:rgba(255,255,255,.22);}
.pp-hero-img .btn-outline{background:transparent;border-color:rgba(255,255,255,.7);color:#fff;}
.pp-hero-img .btn-outline:hover{background:rgba(255,255,255,.14);}
.pp-hero-img .ppa-note{color:rgba(255,255,255,.7);}
.pp-hero-img .ppa-person span,.pp-hero-img .ppa-person small{color:#fff;}
.pp-hero-img .legal-updated{color:rgba(255,255,255,.78);margin-top:12px;}
.pp-hero-img .legal-wrap{max-width:780px;}
.pp-hero-img .legal-back-btn{margin:0 0 22px;}
.pp-hero-img.pp-hero-legal{min-height:300px;}
@media (max-width:640px){
  .pp-hero-img{min-height:360px;padding:112px 0 56px !important;}
  .pp-hero-img.pp-hero-legal{min-height:250px;}
}

/* ===== Hero copy is centred on every public page ===== */
.pp-hero-img > .wrap,.pp-hero-img > .article-wrap{
  display:flex;flex-direction:column;align-items:center;text-align:center;
  margin-left:auto;margin-right:auto;
}
.pp-hero-img h1,.pp-hero-img h2{max-width:820px;margin-left:auto;margin-right:auto;text-align:center;}
.pp-hero-img p,.pp-hero-img .sub,.pp-hero-img .pph-lead{max-width:640px;margin-left:auto;margin-right:auto;text-align:center;}
.pp-hero-img .abt-hero-ctas,.pp-hero-img .abt-hero-trio,.pp-hero-img .ppa-people,.pp-hero-img .article-meta{
  justify-content:center;align-items:center;margin-left:auto;margin-right:auto;text-align:center;
}
.pp-hero-img .abt-hero-ctas{display:flex;flex-wrap:wrap;gap:12px;}
.pp-hero-img .abt-hero-trio{display:flex;flex-wrap:wrap;gap:8px;}
.pp-hero-img .article-meta{display:flex;flex-wrap:wrap;gap:10px;}
.pp-hero-img .legal-back-btn{align-self:flex-start;}
.pp-hero-img .legal-wrap{max-width:780px;width:100%;}

/* ===== Blog: breathing room between the hero and the first row of posts ===== */
.pp-hero-img + .blog-section{padding-top:72px !important;}
@media (max-width:640px){.pp-hero-img + .blog-section{padding-top:44px !important;}}
