/* Inner-page headers with a photo (loaded after polish.css, so it wins over the old blue gradient) */
.page-head.has-img{
  position:relative;isolation:isolate;overflow:hidden;
  min-height:clamp(300px,34vw,430px);
  display:flex;align-items:flex-end;
  padding:110px 0 46px;
  background:#0f3270;
}
.page-head.has-img::before,.page-head.has-img::after{display:none}
.page-head.has-img::after{display:block;content:"";position:absolute;left:0;right:0;bottom:0;height:5px;z-index:3;background:linear-gradient(90deg,var(--gold),#ffd36b 45%,transparent);animation:none;border:0;width:auto;top:auto;border-radius:0}
.page-head .ph-bg{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;
  transform-origin:center;animation:phZoom 20s ease-out both;
}
.page-head .ph-shade{
  position:absolute;inset:0;z-index:-1;
  background:
    linear-gradient(90deg,rgba(9,31,72,.82) 0%,rgba(9,31,72,.55) 45%,rgba(9,31,72,.12) 100%),
    linear-gradient(180deg,rgba(9,31,72,.50) 0%,rgba(9,31,72,0) 35%,rgba(9,31,72,.78) 100%);
}
.page-head.has-img .wrap{width:100%}
.page-head.has-img h1{text-shadow:0 2px 18px rgba(0,0,0,.45);max-width:22ch}
.page-head.has-img .lead{color:#eef3fc;text-shadow:0 1px 10px rgba(0,0,0,.5);max-width:60ch}
.page-head.has-img .eyebrow{text-shadow:0 1px 8px rgba(0,0,0,.5)}
.page-head.has-img .crumbs{display:inline-flex;padding:6px 14px;border-radius:999px;background:rgba(9,31,72,.55);backdrop-filter:blur(6px);color:#e3ecfb;margin-bottom:16px}
@keyframes phZoom{from{transform:scale(1.07)}to{transform:scale(1)}}
@media (max-width:820px){
  .page-head.has-img{min-height:270px;padding:84px 0 34px}
  .page-head .ph-shade{background:linear-gradient(180deg,rgba(9,31,72,.55) 0%,rgba(9,31,72,.35) 40%,rgba(9,31,72,.88) 100%)}
  .page-head.has-img h1{max-width:none}
}
@media (prefers-reduced-motion:reduce){.page-head .ph-bg{animation:none}}