.mah-slider,.mah-slider *,.mah-slider *::before,.mah-slider *::after{box-sizing:border-box}
.mah-slider{--mah-required-height:320px;display:block;position:relative;clear:both;width:100%;max-width:100%;min-width:0;overflow:hidden;isolation:isolate;background:#111;color:#fff;container-type:inline-size}
.mah-slider .mah-track{display:grid;position:relative;width:100%;min-width:0;aspect-ratio:var(--mah-desktop-ratio,1920 / 760);height:auto;max-height:min(var(--mah-desktop-cap,640px),85svh);min-height:var(--mah-required-height,320px);overflow:hidden}
.mah-slider .mah-slide{grid-area:1 / 1;position:relative;min-width:0;min-height:0;width:100%;height:100%;overflow:hidden;opacity:0;visibility:hidden;pointer-events:none;z-index:0;transition:opacity var(--mah-duration,650ms) ease,visibility var(--mah-duration,650ms) ease;--mah-x:var(--mah-dx,50%);--mah-y:var(--mah-dy,8%);--mah-max:var(--mah-dmax,900px);--mah-items:var(--mah-ditems,center);--mah-gap:var(--mah-dgap,18px);--mah-align:var(--mah-dalign,center);--mah-title-size:var(--mah-dtitle,56px);--mah-subtitle-size:var(--mah-dsubtitle,22px)}
.mah-slider .mah-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:1}
.mah-slider .mah-picture{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
.mah-slider .mah-picture img.mah-image{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;object-fit:cover!important;object-position:center}
.mah-slider .mah-content{position:absolute;z-index:2;left:var(--mah-safe-x,50%);top:clamp(16px,var(--mah-y),60%);transform:translateX(-50%);display:flex;flex-direction:column;align-items:var(--mah-items);gap:var(--mah-gap);width:min(calc(100% - 64px),max(160px,var(--mah-max)));max-width:100%;text-align:var(--mah-align);color:#fff}
.mah-slider .mah-title,.mah-slider .mah-subtitle{margin:0!important;padding:0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;text-align:inherit;max-width:100%;overflow-wrap:anywhere;hyphens:auto}
.mah-slider .mah-title{color:var(--mah-title-color,#fff)!important;-webkit-text-fill-color:var(--mah-title-color,#fff)!important;font-size:clamp(24px,4cqw,max(24px,var(--mah-title-size)))!important;font-weight:800;line-height:1.14;letter-spacing:-.025em}
.mah-slider .mah-subtitle{color:var(--mah-subtitle-color,#fff)!important;-webkit-text-fill-color:var(--mah-subtitle-color,#fff)!important;font-size:clamp(14px,1.7cqw,max(14px,var(--mah-subtitle-size)))!important;font-weight:400;line-height:1.45}
.mah-slider a.mah-button,.mah-slider a.mah-button:hover,.mah-slider a.mah-button:focus,.mah-slider a.mah-button:active{display:inline-flex;align-items:center;justify-content:center;gap:12px;max-width:100%;padding:12px 26px!important;min-height:46px;border:1px solid var(--mah-button-border-color,#fff)!important;border-radius:999px!important;background:transparent!important;background-image:none!important;box-shadow:none!important;color:var(--mah-button-text-color,#fff)!important;-webkit-text-fill-color:var(--mah-button-text-color,#fff)!important;font-size:16px;font-weight:600;line-height:1.3;text-decoration:none!important;white-space:normal;letter-spacing: 1.5px;overflow-wrap:anywhere;transition:border-color .2s,opacity .2s}
.mah-slider a.mah-button:hover{opacity:.8}
.mah-slider a.mah-button::before,.mah-slider a.mah-button::after{content:none!important}
.mah-slider .mah-button span{font-size:24px;font-weight:400;line-height:1}
/* Keep independent anchors stable; JS only clamps boundaries and separates overlaps. */
@media(min-width:1200px){
 .mah-slider .mah-mode-free .mah-content{position:static;display:contents}
 .mah-slider .mah-mode-free .mah-title,.mah-slider .mah-mode-free .mah-subtitle,.mah-slider .mah-mode-free .mah-button{position:absolute;z-index:2;transform:translateX(-50%);width:max-content;max-width:min(86%,max(160px,var(--mah-dmax,900px)));text-align:var(--mah-dalign,center)}
 .mah-slider .mah-mode-free .mah-title{left:var(--mah-free-left,var(--mah-d-title-left,50%));top:var(--mah-free-top,var(--mah-d-title-top,8%))}
 .mah-slider .mah-mode-free .mah-subtitle{left:var(--mah-free-left,var(--mah-d-subtitle-left,50%));top:var(--mah-free-top,var(--mah-d-subtitle-top,23%))}
 .mah-slider .mah-mode-free .mah-button{left:var(--mah-free-left,var(--mah-d-button-left,50%));top:var(--mah-free-top,var(--mah-d-button-top,34%))}
}
.mah-slider button.mah-arrow{position:absolute;top:50%;z-index:5;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:48px!important;height:48px!important;min-width:0;min-height:0;border:1px solid #fff!important;border-radius:50%!important;background:transparent!important;color:#fff!important;cursor:pointer;padding:0!important;line-height:1;box-shadow:none!important}
.mah-slider .mah-arrow span{font-family:Arial,sans-serif;font-size:35px;font-weight:300;line-height:1;transform:translateY(-2px)}
.mah-slider button.mah-arrow::before,.mah-slider button.mah-arrow::after,.mah-slider button.mah-dot::before,.mah-slider button.mah-dot::after{content:none!important}
.mah-slider .mah-prev{left:24px}.mah-slider .mah-next{right:24px}
.mah-slider .mah-pagination{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);z-index:5;display:flex;align-items:center;justify-content:center;gap:8px;max-width:calc(100% - 32px);flex-wrap:wrap}
.mah-slider button.mah-dot{width:28px!important;height:24px!important;min-width:0;min-height:0;border:0!important;border-radius:0!important;background:transparent!important;opacity:.65;cursor:pointer;padding:10px 0!important;box-shadow:none!important}
.mah-slider button.mah-dot::after{content:''!important;display:block;width:100%;height:3px;border-radius:4px;background:#fff}
.mah-slider button.mah-dot.is-active{opacity:1}
.mah-slider button:focus-visible,.mah-slider a:focus-visible{outline:3px solid #fff!important;outline-offset:4px}
@media(min-width:768px) and (max-width:1199px){
 .mah-slider .mah-track{aspect-ratio:var(--mah-tablet-ratio,16 / 10);max-height:min(var(--mah-tablet-cap,580px),85svh)}
 .mah-slider .mah-slide{--mah-x:var(--mah-tx,50%);--mah-y:var(--mah-ty,10%);--mah-max:var(--mah-tmax,680px);--mah-items:var(--mah-titems,center);--mah-gap:var(--mah-tgap,16px);--mah-align:var(--mah-talign,center);--mah-title-size:var(--mah-ttitle,42px);--mah-subtitle-size:var(--mah-tsubtitle,20px)}
 .mah-slider .mah-title{font-size:clamp(26px,4cqw,max(26px,var(--mah-title-size)))!important}
 .mah-slider .mah-subtitle{font-size:clamp(15px,2cqw,max(15px,var(--mah-subtitle-size)))!important}
 .mah-slider .mah-content{width:min(calc(100% - 96px),max(160px,var(--mah-max)))}
 .mah-slider .mah-prev{left:12px}.mah-slider .mah-next{right:12px}
 .mah-slider button.mah-arrow{width:36px!important;height:36px!important}
}
@media(max-width:767px){
 .mah-slider{--mah-required-height:360px}
 .mah-slider .mah-track{aspect-ratio:var(--mah-mobile-ratio,750 / 1000);max-height:min(var(--mah-mobile-cap,560px),85svh)}
 .mah-slider .mah-slide{--mah-x:var(--mah-mx,50%);--mah-y:var(--mah-my,12%);--mah-max:var(--mah-mmax,340px);--mah-items:var(--mah-mitems,center);--mah-gap:var(--mah-mgap,14px);--mah-align:var(--mah-malign,center);--mah-title-size:var(--mah-mtitle,32px);--mah-subtitle-size:var(--mah-msubtitle,16px)}
 .mah-slider .mah-content{width:min(calc(100% - 32px),max(160px,var(--mah-max)))}
 .mah-slider .mah-title{font-size:clamp(24px,7.5cqw,max(24px,var(--mah-title-size)))!important}
 .mah-slider .mah-subtitle{font-size:clamp(14px,4cqw,max(14px,var(--mah-subtitle-size)))!important}
 .mah-slider a.mah-button{font-size:14px;min-height:44px;padding:10px 22px!important}
 .mah-slider button.mah-arrow{display:none}
 .mah-slider .mah-pagination{bottom:12px}
}
@media(prefers-reduced-motion:reduce){.mah-slider *{transition:none!important}}

/* Reserve arrow gutters and isolate layout from theme hover/entrance transforms. */
.mah-slider:has(.mah-arrow) .mah-content{width:min(calc(100% - 176px),max(160px,var(--mah-max)))}
@media(min-width:1200px){.mah-slider:has(.mah-arrow) .mah-mode-free .mah-title,.mah-slider:has(.mah-arrow) .mah-mode-free .mah-subtitle,.mah-slider:has(.mah-arrow) .mah-mode-free .mah-button{max-width:min(calc(100% - 176px),max(160px,var(--mah-dmax,900px)))}}
.mah-slider .mah-title,.mah-slider .mah-subtitle,.mah-slider a.mah-button{scale:none!important;rotate:none!important;translate:none!important;animation:none!important;transition-property:opacity,border-color!important}
.mah-slider .mah-title,.mah-slider .mah-subtitle,.mah-slider a.mah-button{transform:none!important}
@media(min-width:1200px){.mah-slider .mah-mode-free .mah-title,.mah-slider .mah-mode-free .mah-subtitle,.mah-slider .mah-mode-free a.mah-button{transform:translateX(-50%)!important}}
@media(min-width:768px) and (max-width:1199px){.mah-slider:has(.mah-arrow) .mah-content{width:min(calc(100% - 112px),max(160px,var(--mah-max)))}}
@media(max-width:767px){.mah-slider:has(.mah-arrow) .mah-content{width:min(calc(100% - 32px),max(160px,var(--mah-max)))}}
