/* -------------------------------------------------------------------------- 
   hero block									          
   -------------------------------------------------------------------------- */
.backimage{
    position: relative;
}
.backimage img{
    width: 100%;
    height: 70vh;
    object-fit: cover;
    max-height: 700px;
    width: 100%;
    aspect-ratio: auto;
    -o-object-fit: cover;
    object-fit: cover;
    object-position: 50% 0; 
}
.backimage .overlay{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}
.backimage h2.headline{
    color: var(--pagebg);
    font-size: clamp(20px,3.5vw,3rem);
    line-height: 1.5em;
    margin: clamp(20px,17vw,17vw) 0 0 clamp(15px,20vw,20vw);
    margin: 40vh auto 0 auto;
    max-width: max-content;
    text-shadow: var(--text-shadow);
}
/* -------------------------------------------------------------------------- 
   hero pages									          
   -------------------------------------------------------------------------- */
header .hero .hero__image{
    max-height: clamp(400px,30vh,500px);
    overflow: hidden;
}
header .hero .hero__image img{
    object-fit: cover;
    width: 100%;
    height: auto;
}
@media (max-width:520px){
  .backimage h2.headline{

    max-width: max-content;
  }
}