/* Scoped to the two home banners and their independent editor. */
html body .modern-home-page section.bhb[hidden],
html body .bhb-slide[hidden], html body #homeBannersAdmin img[hidden]{display:none!important}
html body .modern-home-page section.bhb{
  display:block!important;position:relative!important;height:auto!important;
  min-height:0!important;max-height:none!important;padding:0!important;
  margin:14px 0 24px!important;border:1px solid #e7e2d7!important;
  border-radius:22px!important;overflow:hidden!important;background:#f4f0e6!important;
  box-shadow:none!important;direction:rtl;
}
html body .modern-home-page section.bhb::before,
html body .modern-home-page section.bhb::after{content:none!important;display:none!important}
html body .bhb-stage{position:relative;width:100%;height:auto;min-height:0;aspect-ratio:auto}
html body .bhb-slide{
  display:flex!important;flex-direction:column!important;gap:0!important;
  align-items:stretch!important;position:relative!important;inset:auto!important;
  width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:0!important;
  background:#f4f0e6!important;color:#154b3a!important;cursor:pointer;
  text-align:right;font:inherit;box-sizing:border-box;
}
html body .bhb-slide img{
  display:block!important;width:100%!important;height:auto!important;min-height:0!important;
  max-width:100%!important;max-height:none!important;aspect-ratio:auto!important;
  object-fit:contain!important;object-position:center!important;
  border-radius:0!important;transform:none!important;margin:0!important;
  flex:none!important;
}
html body .bhb-copy{
  display:flex;flex-direction:column;align-items:flex-start;gap:10px;
  min-width:0;padding:16px;box-sizing:border-box;width:100%;
}
html body .bhb-copy strong{font-size:clamp(19px,4vw,29px);line-height:1.45}
html body .bhb-name{font-size:17px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body .bhb-copy small{font-size:13px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#536557}
html body .bhb-cta{background:#0d5943;color:#fff;padding:9px 15px;border-radius:12px;font-size:14px}
html body .bhb-dots{display:flex;flex-wrap:wrap;justify-content:center;gap:2px;padding:2px 10px 8px}
html body .bhb-dots button{display:grid;place-items:center;width:32px;height:32px;min-width:32px;padding:0;border:0;background:transparent}
html body .bhb-dots button::before{content:'';width:7px;height:7px;border-radius:8px;background:#a8b9ae}
html body .bhb-dots button[aria-pressed=true]::before{width:20px;background:#0d5943}
html body #homeBannersAdmin{margin:22px 0;padding:16px;border:1px solid #ded8ca;border-radius:16px;background:#f7f3e9;color:#174b3a;direction:rtl}
html body #homeBannersAdmin fieldset{min-width:0;margin:16px 0;padding:14px;border:1px solid #d0d7cb;border-radius:12px}
html body #homeBannersAdmin label{display:block;margin:12px 0}
html body #homeBannersAdmin input:not([type=checkbox]),html body #homeBannersAdmin select{display:block;box-sizing:border-box;width:100%;max-width:100%;padding:12px;margin:6px 0;border:1px solid #ccc8bb;border-radius:8px;background:white;color:#174b3a;font:inherit}
html body #homeBannersAdmin input[type=checkbox]{margin:0 12px;accent-color:#0d5943}
html body #homeBannersAdmin button{padding:11px 14px;margin:4px;border:1px solid #b8c8bb;border-radius:9px;background:#0d5943;color:#fff;font:inherit;cursor:pointer}
html body #homeBannersAdmin button:disabled{opacity:.45;cursor:default}
html body #homeBannersAdmin img{width:100%;height:150px;object-fit:contain;background:#f4f0e6}
html body .bhb-admin-row{border:1px solid #ded8ca;background:#fff;border-radius:10px;padding:12px;margin:12px 0}
html body .bhb-row-actions{display:flex;flex-wrap:wrap}
html body .bhb-slide:focus-visible, html body .bhb-dots button:focus-visible{outline:3px solid #a98836;outline-offset:-4px}
@media(max-width:360px){html body .bhb-name{font-size:14px}html body .bhb-copy{padding:12px;gap:6px}}

/* Compact landscape home banners. */
html body .modern-home-page section.bhb{border-radius:14px!important}
html body .bhb-stage{aspect-ratio:2.2!important;height:auto!important}
html body .bhb-slide{
 display:block!important;position:absolute!important;inset:0!important;
 width:100%!important;height:100%!important;
}
html body .bhb-slide img{
 position:absolute!important;inset:0!important;
 width:100%!important;height:100%!important;
 object-fit:contain!important;
}
html body .bhb-copy{
 position:absolute;inset:0 0 0 auto;width:52%;height:100%;
 justify-content:center;gap:5px;padding:12px 12px 24px;
 background:linear-gradient(to left,#f4f0e6 65%,transparent);
}
html body .bhb-copy strong{font-size:clamp(15px,4vw,26px);line-height:1.3}
html body .bhb-name{font-size:12px;line-height:1.3;-webkit-line-clamp:1}
html body .bhb-copy small{display:none}
html body .bhb-cta{
 font-size:11px;padding:0;border-radius:0;background:transparent;
 color:#154b3a;text-decoration:underline;
}
html body .bhb-dots{
 position:absolute;bottom:0;left:0;right:0;padding:0;z-index:2;
}
html body .bhb-dots button{height:24px}
@media(max-width:360px){
 html body .bhb-copy{padding:8px 10px 22px;gap:4px}
 html body .bhb-copy strong{font-size:14px}
 html body .bhb-name{font-size:11px}
}

/* Align landscape banner content. */
html body .bhb-slide img{object-position:left center!important}
html body .bhb-slide .bhb-copy{
 right:0!important;left:auto!important;top:0!important;bottom:0!important;
 width:52%!important;align-items:flex-start!important;
 text-align:right!important;direction:rtl!important;
}
