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

/* Grid children with automatic margins must still occupy their full column. */
body .an-an-article__main{width:100%;min-width:0;max-width:100%;box-sizing:border-box;}

.an-an-article__layout:not(.an-with-aside){grid-template-columns:minmax(0,1fr);}
.an-an-article__layout:not(.an-with-aside) .an-an-article__main{grid-column:1 / -1;}
.an-an-article__layout:not(.an-with-aside) .an-an-rail{grid-column:1 / -1;grid-row:auto;position:static;}
.an-an-article__layout:not(.an-with-aside) .an-an-rail .an-share{flex-direction:row;flex-wrap:wrap;}
@media(max-width:480px){
 body #an-header .an-an-header__in{gap:6px;height:auto;min-height:68px;}
 body #an-header .an-an-header__end{gap:3px;}
 body #an-header .an-an-header__end :is(.an-an-key,.an-iconbtn){width:32px;height:36px;min-width:32px;}
 body #an-header .an-an-header__end .an-an-cta{width:34px;min-width:34px;height:36px;padding-inline:0;}
 body #an-header .an-brand--header{flex:1 1 auto;}
 body #an-header .an-brand--header .an-brand__name{font-size:13px!important;white-space:normal!important;flex:1 1 auto!important;}
}
@media(max-width:480px){
 body #an-header .an-an-logo--header{flex:1 1 auto;min-width:0;max-width:calc(100% - 145px);}
 body #an-header .an-an-logo--header .an-an-logo__link{min-width:0;gap:5px;}
 body #an-header .an-an-logo--header .an-an-logo__name{font-size:13px;white-space:normal;overflow:visible;text-overflow:clip;min-width:0;}
}

/* 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 .an-lb {
    grid-template-columns:minmax(0,1fr);
    min-width:0;
    width:100%;
    height:100vh;
    height:100dvh;
    overflow:hidden;
  }
  html body .an-lb > * {min-width:0;max-width:100%;}
  html body .an-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 .an-lb:not(.is-zoomed) .an-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 .an-lb__thumbs {
    width:100%;max-width:100%;min-width:0;
    justify-content:safe center;overflow-x:auto;overflow-y:hidden;
  }
  html body .an-lb__thumbs button {flex-shrink:0;}
  html body .an-lb.is-zoomed .an-lb__stage {align-items:flex-start;justify-content:flex-start;}
}

