/**
 * v5.28.4 — render-time-normalized home hero typography repair.
 * Keep the photographic hero; make the temple name the visual subject.
 */
body.j13.home .j13-home-hero .hero-inner{
  width:min(660px,58%);
  max-width:660px;
}

body.j13.home .j13-home-hero .hero-formal-name{
  margin:0 0 2px;
  color:#e1d2ab;
  font-family:var(--j13-serif);
  font-size:clamp(14px,1.15vw,17px)!important;
  font-weight:500;
  line-height:1.6;
  letter-spacing:.24em;
  text-shadow:0 1px 10px rgba(0,0,0,.22);
}

body.j13.home .j13-home-hero .hero-section h1.hero-temple-name{
  max-width:none;
  margin:4px 0 16px;
  color:#fff;
  font-size:clamp(72px,7.4vw,104px)!important;
  font-weight:400;
  line-height:1.06;
  letter-spacing:.13em;
  white-space:nowrap;
  text-shadow:0 2px 18px rgba(0,0,0,.22);
}

body.j13.home .j13-home-hero .hero-sub{
  max-width:650px;
  margin:0 0 18px;
  font-size:clamp(22px,2.15vw,29px);
  line-height:1.65;
  letter-spacing:.075em;
}

body.j13.home .j13-home-hero .hero-copy{
  max-width:600px;
}

/* The old decorative giant character competes with the actual temple name. */
body.j13.home .j13-home-hero .hero-section:after{
  display:none!important;
}

@media (min-width:900px) and (max-width:1180px){
  body.j13.home .j13-home-hero .hero-inner{
    width:min(610px,61%);
  }
  body.j13.home .j13-home-hero .hero-section h1.hero-temple-name{
    font-size:clamp(62px,7vw,84px);
  }
}

@media (max-width:899px){
  body.j13.home .j13-home-hero{
    background:#20372a;
  }
  body.j13.home .j13-home-hero .j13-home-photo{
    box-sizing:border-box;
    width:100%!important;
    max-width:none!important;
    height:280px;
    margin:0!important;
    padding:0!important;
    overflow:hidden;
    background:#20372a;
  }
  body.j13.home .j13-home-hero .j13-hero-image{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center 28%;
  }
  body.j13.home .j13-home-hero .hero-section{
    box-sizing:border-box;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0 20px 32px!important;
    background:#20372a!important;
    color:#fff;
  }
  body.j13.home .j13-home-hero .hero-inner{
    box-sizing:border-box;
    width:100%!important;
    max-width:620px!important;
    margin:0 auto!important;
    padding:28px 0 8px!important;
  }
  body.j13.home .j13-home-hero .hero-kicker{
    color:#d8c79d!important;
  }
  body.j13.home .j13-home-hero .hero-formal-name{
    margin:0 0 2px;
    color:#e1d2ab;
    font-size:13px!important;
    letter-spacing:.18em;
  }
  body.j13.home .j13-home-hero .hero-section h1.hero-temple-name{
    margin:2px 0 12px;
    color:#fff!important;
    font-size:clamp(48px,14vw,66px)!important;
    line-height:1.12;
    letter-spacing:.11em;
    white-space:nowrap;
  }
  body.j13.home .j13-home-hero .hero-sub{
    margin-bottom:16px;
    color:#fff!important;
    font-size:clamp(19px,5.3vw,23px);
    line-height:1.65;
    letter-spacing:.045em;
  }
  body.j13.home .j13-home-hero .hero-copy{
    color:rgba(255,255,255,.88)!important;
    font-size:14px;
    line-height:1.9;
  }
  /* Mobile already has a persistent action bar; keep the hero calm. */
  body.j13.home .j13-home-hero .hero-inner .actions{
    display:none!important;
  }
}

@media (max-width:420px){
  body.j13.home .j13-home-hero .j13-home-photo{height:240px}
  body.j13.home .j13-home-hero .hero-section h1.hero-temple-name{
    font-size:clamp(44px,13.2vw,56px)!important;
  }
}
