/* Height = Kadence's header offset (~80px) + --sd-hero-h. Override --sd-hero-h in Customizer > Additional CSS if needed. */
/* Inner-page hero: featured image + navy overlay + serif title — Mostafa Fawzi add this */
.entry-hero .entry-hero-container-inner{position:relative;overflow:hidden;background:#012f66;isolation:isolate}
.entry-hero .entry-hero-container-inner::before{
  content:"";position:absolute;inset:0;z-index:0;
  background:var(--sd-hero-img,none) center/cover no-repeat;
  transform-origin:center;animation:sdHeroZoom 14s cubic-bezier(.22,1,.36,1) both;will-change:transform}
.entry-hero .hero-section-overlay{
  position:absolute;inset:0;z-index:1;opacity:1;
  background:linear-gradient(180deg,rgba(1,47,102,.62) 0%,rgba(1,47,102,.48) 45%,rgba(1,47,102,.82) 100%)}
.entry-hero .hero-container{
  position:relative;z-index:2;display:flex;align-items:flex-end;justify-content:center;
  min-height:var(--sd-hero-h,clamp(200px,22vw,300px));padding-top:24px;padding-bottom:clamp(40px,5vw,64px);box-sizing:border-box}
.entry-hero .entry-header{text-align:center;margin:0;min-height:0}
.entry-hero .entry-title,.entry-hero .archive-title{
  color:#fef3ef;font-family:var(--sd-font-serif);font-weight:700;
  font-size:clamp(36px,5vw,64px);line-height:1.15;margin:0;
  animation:sdHeroUp 1s cubic-bezier(.22,1,.36,1) .15s both}
.entry-hero .entry-header::after{
  content:"";display:block;width:56px;height:2px;margin:18px auto 0;background:#c19773;
  transform-origin:center;animation:sdHeroLine .9s cubic-bezier(.22,1,.36,1) .55s both}
.entry-hero .entry-meta,.entry-hero .entry-meta a,.entry-hero .kadence-breadcrumbs,.entry-hero .kadence-breadcrumbs a,
.entry-hero .entry-taxonomies a,.entry-hero .archive-description{color:rgba(254,243,239,.85)}
@keyframes sdHeroZoom{from{transform:scale(1.08)}to{transform:scale(1)}}
@keyframes sdHeroUp{from{opacity:0;transform:translateY(18px)}}
@keyframes sdHeroLine{from{transform:scaleX(0)}}

@media (prefers-reduced-motion:reduce){
  .entry-hero .entry-hero-container-inner::before,.entry-hero .entry-title,.entry-hero .entry-header::after{animation:none}}
/* Archive pages (e.g. /projects/) use .archive-title: same look as page titles. Mostafa Fawzi add this. */
