/* Empress Signature — opt-in page-heading banners
   heading-banners.css?v=20261122a
   Only elements with .es-heading are affected. Excluded pages never receive this class.
   Do not edit typography, wording or layout of the existing .page-hero text block.
*/

.es-heading{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:#121214;
  min-height:clamp(22rem,42vw,28rem);
  box-sizing:border-box;
}
/* Hide the default page-hero gold orb so the banner image can show through. */
.es-heading.page-hero::before{display:none;}

.es-heading-bg{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
}
.es-heading-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center right;
  display:block;
}
/* Dark overlay + soft gold tint so existing heading text stays readable
   on both photographic and generated banners. */
.es-heading-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(16,16,18,.88) 0%, rgba(16,16,18,.70) 38%, rgba(16,16,18,.42) 70%, rgba(16,16,18,.28) 100%),
    linear-gradient(180deg, rgba(16,16,18,.22) 0%, rgba(16,16,18,.10) 45%, rgba(16,16,18,.40) 100%),
    linear-gradient(135deg, rgba(122,92,34,.18), rgba(0,0,0,0) 55%);
  pointer-events:none;
}
.es-heading > .wrap{position:relative;z-index:1;}
.es-heading h1,
.es-heading .lead,
.es-heading .eyebrow,
.es-heading .crumbs{
  text-shadow:0 1px 18px rgba(0,0,0,.65);
}

/* Generated motif banners (Contact, FAQ, Blogger's Corner, Partner, Legal):
   keep the gold symbols in the top-right, with a darker left for the heading. */
.es-heading--motif .es-heading-bg img{
  object-position:top right;
}
.es-heading--motif .es-heading-bg::after{
  background:
    linear-gradient(90deg, rgba(16,16,18,.86) 0%, rgba(16,16,18,.58) 42%, rgba(16,16,18,.16) 100%),
    linear-gradient(180deg, rgba(16,16,18,.08) 0%, rgba(16,16,18,.22) 100%),
    linear-gradient(135deg, rgba(122,92,34,.12), rgba(0,0,0,0) 50%);
}

/* About page title only: official logo, unaltered shape and colours,
   placed beside/behind the heading and darkened so the title stays readable.
   Self-contained on the page-hero; does not touch Who We Are / Mission / Vision / Core Values / Meet Our CEO. */
.es-heading--logo{
  background:
    radial-gradient(ellipse at 80% 50%, rgba(214,182,120,.32), rgba(122,92,34,.10) 42%, rgba(18,18,20,0) 68%),
    #121214;
}
.es-heading--logo .es-heading-bg img{
  object-fit:contain;
  object-position:right center;
  width:auto;
  height:70%;
  max-width:min(40%, 26rem);
  position:absolute;
  right:2%;
  top:54%;
  transform:translateY(-50%);
  opacity:.38;
  /* Unaltered logo colours; darkened, then a soft gold wash so it reads as gold on dark. */
  filter:brightness(.68) contrast(1.05);
}
.es-heading--logo .es-heading-bg::after{
  background:
    linear-gradient(90deg, rgba(16,16,18,.90) 0%, rgba(16,16,18,.62) 46%, rgba(16,16,18,.22) 100%),
    linear-gradient(135deg, rgba(122,92,34,.20), rgba(214,182,120,.08) 45%, rgba(0,0,0,0) 70%);
}

@media (max-width:700px){
  .es-heading{min-height:clamp(18rem,70vw,24rem);}
  .es-heading-bg img{object-position:center right;}
  .es-heading--motif .es-heading-bg img{object-position:top right;}
  .es-heading-bg::after{
    background:
      linear-gradient(180deg, rgba(16,16,18,.55) 0%, rgba(16,16,18,.62) 42%, rgba(16,16,18,.78) 100%),
      linear-gradient(90deg, rgba(16,16,18,.70) 0%, rgba(16,16,18,.35) 100%),
      linear-gradient(135deg, rgba(122,92,34,.16), rgba(0,0,0,0) 55%);
  }
  .es-heading--motif .es-heading-bg::after{
    background:
      linear-gradient(180deg, rgba(16,16,18,.40) 0%, rgba(16,16,18,.70) 100%),
      linear-gradient(90deg, rgba(16,16,18,.78) 0%, rgba(16,16,18,.22) 100%),
      linear-gradient(135deg, rgba(122,92,34,.12), rgba(0,0,0,0) 50%);
  }
  .es-heading--logo .es-heading-bg img{
    height:52%;
    max-width:50%;
    right:0;
    top:38%;
    opacity:.16;
  }
}
