/* JuiceWeb v2 layout fixes. Loaded AFTER jw.css on every page (2026-11-02 night fix list). */

/* fill wide screens better */
.wrap{max-width:1280px}
.narrow{max-width:800px}
@media(min-width:1100px){body{font-size:17px}.lead{font-size:19px}}

/* grids: fixed column counts so cards never orphan (3 wide, then 2, then 1) */
.g2{grid-template-columns:1fr}
.g3{grid-template-columns:1fr}
.g4{grid-template-columns:1fr}
@media(min-width:600px){.g2{grid-template-columns:repeat(2,1fr)}}
@media(min-width:560px){.g3,.g4{grid-template-columns:repeat(2,1fr)}}
@media(min-width:760px){.g3{grid-template-columns:repeat(3,1fr)}}
@media(min-width:960px){.g4{grid-template-columns:repeat(4,1fr)}}

/* white line and gold line of every hero headline always sit on separate lines */
.hero h1 .gold{display:table;margin:0 auto}

/* header: valid width, compact on phones, slides away when scrolling down */
.jwh-panel{width:min(270px,calc(100vw - 32px))}
#jw-header{transition:transform .25s ease}
@media(max-width:899px){
  #jw-header.hide{transform:translateY(-100%)}
  .jwh-in{padding:8px 12px;gap:6px 8px}
  .jwh-mark{width:30px;height:30px;font-size:13px}
  .jwh-name{font-size:15px}
  .jwh-tel,.jwh-cta{height:36px;font-size:12px}
  .jwh-menu{height:34px}
}
@media(max-width:599px){.jwh-pill{display:none}}

/* plaque photo (assets/plaque.jpg). Hidden automatically if the file is missing. */
.pic{margin:34px auto 0;max-width:560px;border-radius:20px;border:1px solid var(--border);overflow:hidden;box-shadow:0 0 40px rgba(249,183,105,.15);background:var(--card)}
.pic img{width:100%;height:auto}
.pic.sm{margin:0 0 18px;max-width:420px}

/* footer: tidy on every screen size */
.fcols{grid-template-columns:1.2fr 1.4fr 1fr 1fr}
@media(max-width:899px){
  .fcols{grid-template-columns:1fr 1fr;gap:26px 20px}
}
@media(max-width:639px){
  footer{padding:32px 0}
  .fcols .f-brand,.fcols .f-contact{grid-column:1 / -1}
  .fcols .f-qr{text-align:left}
  footer a{padding:5px 0}
}
