/* 1.0.31 — wide page frames, readable prose and matching colour pairs. */
:root,html body{--jh-wrap:1248px;--jh-wrap-text:100%;--jh-pad:clamp(16px,2.4vw,24px);}
body .jh-container,body .jh-container--text{width:100%;max-width:1296px;margin-inline:auto;box-sizing:border-box;}
body .jh-main,body .entry-content{min-width:0;max-width:100%;}
body .jh-content.entry-content{width:100%;min-width:0;overflow-wrap:anywhere;}
body .jh-content.entry-content > :is(p,ul,ol,blockquote,dl,h2,h3,h4,h5,h6){max-width:88ch;margin-inline:auto;}
body .jh-content.entry-content > :is(table,figure,.wp-block-table,.wp-block-gallery,.woocommerce,[class*="saleslead"]){width:100%;max-width:100%;}
body .jh-content.entry-content table{width:100%;max-width:100%;box-sizing:border-box;}
body .jh-content.entry-content :is(.wp-block-table,pre){max-width:100%;overflow-x:auto;}
body .jh-content.entry-content :is(img,video,iframe){max-width:100%;}
.jahesh-saleslead{grid-template-columns:minmax(0,1fr) minmax(240px,320px);gap:20px 28px;padding:clamp(18px,2vw,26px);}
.jahesh-saleslead__intro{min-width:0;}
.jahesh-saleslead .jahesh-saleslead__title{text-wrap:pretty;overflow-wrap:anywhere;line-height:1.85;}
.jahesh-saleslead .jahesh-saleslead__cta{white-space:normal!important;text-wrap:pretty;overflow-wrap:anywhere;line-height:1.9;}
.jahesh-saleslead .jahesh-saleslead__cta span{flex:none;}
/* Both values in each pair come from the active skin, including night mode. */
body #jh-header .ux-live-navigation > :is(.current-menu-item,.current_page_item,.current-menu-ancestor) > a,
body #jh-header .ux-live-navigation > li > a[aria-current="page"],
body .jh-drawer .ux-live-navigation a[aria-current="page"],
body .ux-live-navigation .ux-nav-extra a[aria-current="page"]{
 background:var(--jh-primary)!important;color:var(--jh-on-primary)!important;
 -webkit-text-fill-color:var(--jh-on-primary)!important;opacity:1!important;
 box-shadow:inset 0 -2px 0 var(--jh-accent);border-radius:8px;
}
body .ux-live-navigation a[aria-current="page"] *{color:inherit!important;-webkit-text-fill-color:inherit!important;}
body .jh-kn-head__cta,
body #jh-header a[class*="cta"]{
 background:var(--jh-primary)!important;color:var(--jh-on-primary)!important;
 -webkit-text-fill-color:var(--jh-on-primary)!important;border-color:var(--jh-primary)!important;
 opacity:1!important;line-height:1.7;white-space:normal!important;
}
body .jh-kn-head__cta *,body #jh-header a[class*="cta"] *{color:inherit!important;-webkit-text-fill-color:inherit!important;}
body .ux-live-navigation .ux-nav-more .ux-nav-extra{background:var(--jh-surface)!important;color:var(--jh-ink)!important;border-color:var(--jh-line)!important;}
body .ux-live-navigation .ux-nav-more .ux-nav-extra > li > a{color:var(--jh-ink);-webkit-text-fill-color:currentColor;}
body .ux-live-navigation .ux-nav-more.current-menu-ancestor > details > summary{background:var(--jh-primary)!important;color:var(--jh-on-primary)!important;}
body .ux-live-navigation .ux-nav-more summary:focus-visible,body .ux-live-navigation a:focus-visible{outline:2px solid var(--jh-accent-ink);outline-offset:3px;}
body .jh-footer-about-widget{display:block!important;visibility:visible!important;opacity:1!important;line-height:2;overflow-wrap:anywhere;}
@media(min-width:1025px){
 body .ux-live-navigation{gap:4px 6px!important;}
 body .ux-live-navigation > li > a{padding:8px 10px!important;white-space:normal!important;line-height:1.7!important;max-width:26ch;}
 body .ux-live-navigation .ux-nav-more .ux-nav-extra{inset-inline-start:0!important;inset-inline-end:auto!important;}
}
@media(max-width:900px){
 .jahesh-saleslead{grid-template-columns:minmax(0,1fr);padding:18px;}
 .jahesh-saleslead__actions{max-width:none!important;}
}
@media(max-width:600px){
 .jahesh-saleslead{padding:16px;gap:16px;}
 .jahesh-saleslead__steps{grid-template-columns:minmax(0,1fr)!important;}
 .jahesh-saleslead__steps > span{white-space:normal!important;}
 body .ux-live-navigation .ux-nav-more .ux-nav-extra{grid-template-columns:minmax(0,1fr)!important;}
}

/* Clearer blue/yellow hierarchy with legible footer text on both surfaces. */
body .jh-kn-foot__about,body .jh-kn-foot__about p,body .jh-kn-foot__about .jh-footer-about-widget{color:var(--jh-on-footer);}
body .jh-kn-foot .jh-kn-foot__about a{color:var(--jh-footer-link,var(--jh-on-footer));text-decoration:underline;}
body .jh-kn-foot .jh-kn-foot__reach,body .jh-kn-foot .jh-kn-foot__reach p{color:var(--jh-ink);}
body .jh-kn-foot .jh-kn-foot__reach a{color:var(--jh-ink);}
body .jh-kn-prose,body .jh-kn-note__text{color:var(--jh-ink);}

/* Grid children with automatic margins must still occupy their full column. */
body .jh-kn-post__main{width:100%;min-width:0;max-width:100%;box-sizing:border-box;}
@media(min-width:1081px){
 body .jh-kn-foot__grid:has(> :last-child:nth-child(3)){grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1.25fr);}
}

/* Gallery lightbox desktop viewport fix v1.0.32
   Prevent the thumbnail strip from setting an oversized implicit grid column.
   Mobile <=640px keeps its original layout. */
@media (min-width:641px) {
  html body .jh-lb {
    grid-template-columns:minmax(0,1fr);
    min-width:0;
    width:100%;
    height:100vh;
    height:100dvh;
    overflow:hidden;
  }
  html body .jh-lb > * {min-width:0;max-width:100%;}
  html body .jh-lb__stage {
    min-width:0;min-height:0;width:100%;max-width:100%;
    display:flex;align-items:center;justify-content:center;overflow:hidden;
  }
  html body .jh-lb:not(.is-zoomed) .jh-lb__img {
    position:static;display:block;flex:0 1 auto;
    width:auto;height:auto;max-width:100%;max-height:100%;
    margin:auto;object-fit:contain;object-position:center;
  }
  html body .jh-lb__thumbs {
    width:100%;max-width:100%;min-width:0;
    justify-content:safe center;overflow-x:auto;overflow-y:hidden;
  }
  html body .jh-lb__thumbs button {flex-shrink:0;}
  html body .jh-lb.is-zoomed .jh-lb__stage {align-items:flex-start;justify-content:flex-start;}
}

