/* Kerb widgets: shared pieces. Colours are --kg-* variables from Kerb > Settings; the value after each comma is the default, used when another theme is active. */
.kg-icon{display:inline-block;flex:0 0 auto;vertical-align:middle}
.kg-editor-note{margin:0;padding:12px 16px;border:1px dashed var(--kg-line,#EDE4D8);border-radius:12px;background:var(--kg-surface,#F7F1E8);color:var(--kg-muted,#65584E);font-size:14px}
.kg-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* The design's widgets show and hide parts with the hidden attribute. */
.kg [hidden]{display:none!important}
/* A link to a section or widget anchor (CSS ID in Elementor) stops below the sticky header. */
.elementor-element[id]{scroll-margin-top:100px}
.admin-bar .elementor-element[id]{scroll-margin-top:132px}
/* Cards of the design rise in when the page loads (design keyframes kgIn). */
@keyframes kgIn{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}

/* Buttons: pill shaped, lift 2px on hover. */
.kg-w-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:52px;padding:0 26px;border:0;border-radius:999px;background:var(--kg-primary,#FFC94D);color:var(--kg-on-primary,#1F1611);font:700 16px/1 var(--kg-font-display,'Nunito Sans',system-ui,sans-serif);text-decoration:none;cursor:pointer;white-space:nowrap;transition:transform .2s ease,background-color .2s ease,color .2s ease}
.kg-w-btn:hover{transform:translateY(-2px);color:var(--kg-on-primary,#1F1611)}
.kg-w-btn:focus-visible{outline:2px solid var(--kg-ink,#1F1611);outline-offset:3px}
.kg-w-btn--dark{background:var(--kg-ink,#1F1611);color:#fff}
.kg-w-btn--dark:hover{color:#fff}
.kg-w-btn[disabled]{opacity:.6;cursor:progress;transform:none}
@media (prefers-reduced-motion:reduce){.kg-w *{transition:none!important;animation:none!important}.kg-w-btn:hover{transform:none}}

/* Card reveal on scroll (assets/js/reveal.js). Only active once the script has run, so
   cards stay visible without JavaScript. The animation fills backwards only, so the
   card's own hover lift keeps working after it has appeared. */
.kg-reveal-ready [data-kg-reveal]>*:not(.is-in){opacity:0}
.kg-reveal-ready [data-kg-reveal]>.is-in{animation:kgFadeUp .7s cubic-bezier(.22,1,.36,1) backwards;animation-delay:calc(var(--kg-i,0) * 100ms)}
.kg-reveal-ready [data-kg-reveal]>.kg-settled{animation:none}
/* Widgets in the page content (reveal.js): fade in and rise a little, 100ms apart. */
.kg-reveal-ready .kg-rise:not(.is-in){opacity:0}
.kg-reveal-ready .kg-rise.is-in{animation:kgFadeUp .7s cubic-bezier(.22,1,.36,1) backwards;animation-delay:calc(var(--kg-i,0) * 100ms)}
.kg-reveal-ready .kg-rise.kg-settled{animation:none}
/* Headings: each line slides up from under its edge (the wrapper only fades). Images open from the bottom. */
.kg-line{display:block;overflow:hidden;padding-bottom:.1em;margin-bottom:-.1em}
.kg-line>span{display:block}
.kg-reveal-ready .kg-rise.kg-lines.is-in{animation-name:kgFade}
.kg-reveal-ready .kg-lines:not(.is-in) .kg-line>span{transform:translateY(105%)}
.kg-reveal-ready .kg-lines .kg-line>span{transition:transform .7s cubic-bezier(.22,1,.36,1);transition-delay:calc(var(--kg-i,0) * 100ms + var(--kg-l,0) * 80ms)}
.kg-reveal-ready .kg-clip:not(.is-in) img{clip-path:inset(100% 0 0 0)}
.kg-reveal-ready .kg-clip.is-in img{animation:kgOpen 1.2s cubic-bezier(.22,1,.36,1) backwards;animation-delay:calc(var(--kg-i,0) * 100ms)}
.kg-reveal-ready .kg-clip.kg-settled img{animation:none}
@keyframes kgFade{from{opacity:0}to{opacity:1}}
@keyframes kgOpen{from{clip-path:inset(100% 0 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes kgFadeUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@media print{.kg-reveal-ready .kg-rise,.kg-reveal-ready [data-kg-reveal]>*{opacity:1!important;animation:none!important}.kg-reveal-ready .kg-clip img{clip-path:none!important;animation:none!important}}
/* Elementor's fade entrances move a widget by its whole height or width. Keep the
   direction the editor picked, over a short way. */
.elementor-element.animated.fadeInUp{animation-name:kgInUp}
.elementor-element.animated.fadeInDown{animation-name:kgInDown}
.elementor-element.animated.fadeInLeft{animation-name:kgInLeft}
.elementor-element.animated.fadeInRight{animation-name:kgInRight}
.elementor-element.animated:is(.fadeIn,.fadeInUp,.fadeInDown,.fadeInLeft,.fadeInRight){animation-timing-function:cubic-bezier(.22,1,.36,1)}
@keyframes kgInUp{from{opacity:0;transform:translate3d(0,24px,0)}to{opacity:1;transform:none}}
@keyframes kgInDown{from{opacity:0;transform:translate3d(0,-24px,0)}to{opacity:1;transform:none}}
@keyframes kgInLeft{from{opacity:0;transform:translate3d(-32px,0,0)}to{opacity:1;transform:none}}
@keyframes kgInRight{from{opacity:0;transform:translate3d(32px,0,0)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.kg-reveal-ready [data-kg-reveal]>*,.kg-reveal-ready .kg-rise{opacity:1!important;animation:none!important}.kg-reveal-ready .kg-lines .kg-line>span{transform:none!important;transition:none!important}}
/* Widgets whose content always spans the full width and has no width of its own (photo and map
   boxes sized by aspect-ratio, or links that wrap). Below 768px Elementor containers wrap, and a
   wrapping column sizes each widget's height at the widget's own width before stretching it, so
   these came out too short (the next widget sat on the photo or map) or too tall. They take the
   width Elementor gives full-width widgets in a column, as its Video and Divider widgets do. */
:is(.e-con,.e-con-inner)>:is(.elementor-widget-jwsthemes-kerb-ad-gallery,.elementor-widget-jwsthemes-kerb-dealer-map,.elementor-widget-jwsthemes-kerb-commute-map,.elementor-widget-jwsthemes-kerb-utility-bar,.elementor-widget-jwsthemes-kerb-landing-demos){width:var(--container-widget-width,100%)}
