/* BM Hero Slider — frontend structure. Instance values (sizes, colors, layout)
   are emitted per slider in a scoped <style>. Selectors use two classes so
   theme/Elementor-kit element styles (e.g. ".elementor-kit-5 h1") don't win. */

.bmhs{position:relative;display:block;width:100%;height:640px;overflow:hidden;isolation:isolate;background:#0f110e;color:#fff;text-align:left;contain:layout paint;-webkit-tap-highlight-color:transparent;--bmhs-container:1240px;--bmhs-focus:#c8ed32;--bmhs-ctrl:#fff;--bmhs-ctrl-on:#c8ed32;--bmhs-arrow-bg:rgba(255,255,255,.08);--bmhs-inset-x:64px;--bmhs-inset-y:32px}
.bmhs *,.bmhs *::before,.bmhs *::after{box-sizing:border-box}
.bmhs.bmhs--w-container{max-width:var(--bmhs-container);margin-left:auto;margin-right:auto}
.bmhs.bmhs--w-stretch{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
.bmhs.has-bottom-ui{--bmhs-ctrl-space:48px}

.bmhs .bmhs__viewport{position:absolute;inset:0;touch-action:pan-y}
.bmhs .bmhs__slide{position:absolute;inset:0;visibility:hidden;z-index:0}
.bmhs .bmhs__slide.is-active,.bmhs .bmhs__slide.is-leaving{visibility:visible}
.bmhs .bmhs__slide.is-active{z-index:2}
.bmhs .bmhs__slide.is-leaving{z-index:1}

/* Background */
.bmhs .bmhs__bg{position:absolute;inset:0;overflow:hidden;background-color:#0f110e}
.bmhs .bmhs__bg picture{position:absolute;inset:0;display:block;margin:0}
.bmhs .bmhs__img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;object-fit:cover;object-position:50% 50%;transform-origin:50% 50%;backface-visibility:hidden}
.bmhs .bmhs__overlay,.bmhs .bmhs__gradient{position:absolute;inset:0;pointer-events:none}

/* Layout */
.bmhs .bmhs__layout{position:absolute;inset:0;z-index:1;display:flex;padding:64px}
.bmhs .bmhs__container{display:flex;width:100%;max-width:var(--bmhs-container);height:100%;margin:0 auto;min-width:0}
.bmhs .bmhs__content{display:flex;flex-direction:column;align-items:flex-start;min-width:0;max-width:100%}

/* Text */
.bmhs .bmhs__eyebrow,.bmhs .bmhs__heading,.bmhs .bmhs__desc{margin:0;padding:0;border:0;background:none;text-shadow:none;max-width:100%;overflow-wrap:break-word}
.bmhs .bmhs__eyebrow{line-height:1.4}
.bmhs .bmhs__heading{font-style:normal}
.bmhs .bmhs__heading strong,.bmhs .bmhs__desc strong{font-weight:700;color:inherit}
.bmhs .bmhs__heading [class^="bmhs-c"] strong,.bmhs .bmhs__desc [class^="bmhs-c"] strong{color:inherit}

/* Buttons */
.bmhs .bmhs__actions{display:flex;flex-wrap:wrap;align-items:center;min-width:0;max-width:100%}
.bmhs .bmhs__btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--b-ig,10px);min-width:var(--b-mw,0);max-width:100%;margin:0;padding:var(--b-py,15px) var(--b-px,26px);border:var(--b-bw,1px) solid var(--b-bc,transparent);border-radius:var(--b-r,10px);background:var(--b-bg,#c8ed32);color:var(--b-fg,#11140a);font-family:inherit;font-size:var(--b-fs,16px);font-weight:var(--b-fw,600);letter-spacing:var(--b-ls,0);line-height:1.2;text-align:center;text-decoration:none;text-transform:none;white-space:normal;box-shadow:none;cursor:pointer;transition:background-color var(--b-tr,220ms) ease,color var(--b-tr,220ms) ease,border-color var(--b-tr,220ms) ease,transform var(--b-tr,220ms) ease}
.bmhs .bmhs__btn:hover{background:var(--b-hbg);color:var(--b-hfg);border-color:var(--b-hbc);text-decoration:none;transform:translateY(var(--b-lift,0))}
.bmhs .bmhs__btn:visited{color:var(--b-fg)}
.bmhs .bmhs__btn:visited:hover{color:var(--b-hfg)}
.bmhs .bmhs__btn--v-text-link .bmhs__btn-label,.bmhs [class*="bmhs__btn--v-text"] .bmhs__btn-label{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.3em}
.bmhs .bmhs__btn-icon{display:inline-flex;flex:0 0 auto;font-size:var(--b-is,18px);line-height:0}
.bmhs .bmhs__btn-label{min-width:0}
.bmhs .bmhs-icon{display:block;width:1em;height:1em;flex:0 0 auto}

/* Trust items */
.bmhs .bmhs__trust{display:flex;flex-wrap:wrap;row-gap:12px;margin:0;padding:0;list-style:none;line-height:1.4}
.bmhs .bmhs__trust-item{display:flex;align-items:center;gap:.65em;margin:0;padding:0;list-style:none;background:none}
.bmhs .bmhs__trust-item::before,.bmhs .bmhs__trust-item::marker{content:none}
.bmhs .bmhs__trust-icon{display:inline-flex;line-height:0;flex:0 0 auto}
.bmhs .bmhs__trust-hl{font-weight:700}
.bmhs .bmhs__trust--stacked .bmhs__trust-text{display:flex;flex-direction:column;line-height:1.3}
.bmhs .bmhs__trust--stacked .bmhs__trust-hl{order:-1}
.bmhs .bmhs__trust--divided .bmhs__trust-item+.bmhs__trust-item{position:relative}
.bmhs .bmhs__trust--divided .bmhs__trust-item+.bmhs__trust-item::before{content:"";position:absolute;left:calc(var(--bmhs-trust-gap, 28px) / -2);top:15%;bottom:15%;width:1px;background:currentColor;opacity:.25}
.bmhs .bmhs__trust--boxed .bmhs__trust-item{padding:.6em .9em;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:rgba(255,255,255,.04)}

/* Controls */
.bmhs .bmhs__ui{position:absolute;inset:0;z-index:5;pointer-events:none}
.bmhs:not(.is-ready) .bmhs__ui,.bmhs:not(.is-ready) .bmhs__progress{visibility:hidden}
.bmhs .bmhs__ui-inner{position:absolute;left:0;right:0;bottom:0;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;max-width:var(--bmhs-container);margin:0 auto;padding:0 var(--bmhs-inset-x) var(--bmhs-inset-y)}
.bmhs .bmhs__ui-cell{display:flex;align-items:center;gap:14px;min-width:0}
.bmhs .bmhs__ui-cell--center{justify-content:center}
.bmhs .bmhs__ui-cell--end{justify-content:flex-end}
.bmhs .bmhs__ui-cell>*{pointer-events:auto}

.bmhs .bmhs__dots{display:flex;align-items:center;gap:6px}
.bmhs .bmhs__dot{position:relative;display:inline-flex;align-items:center;justify-content:center;width:auto;height:auto;min-width:24px;min-height:24px;margin:0;padding:0 2px;border:0;border-radius:0;background:none;box-shadow:none;color:var(--bmhs-ctrl);cursor:pointer}
.bmhs .bmhs__dot span{display:block;width:22px;height:3px;border-radius:3px;background:currentColor;opacity:.4;transition:width .35s ease,opacity .35s ease,background-color .35s ease}
.bmhs.bmhs--dot-dot .bmhs__dot span{width:8px;height:8px;border-radius:50%}
.bmhs .bmhs__dot[aria-current="true"] span{width:40px;opacity:1;background:var(--bmhs-ctrl-on)}
.bmhs.bmhs--dot-dot .bmhs__dot[aria-current="true"] span{width:22px;border-radius:8px}
.bmhs .bmhs__dot:hover,.bmhs .bmhs__dot:focus{background:none;color:var(--bmhs-ctrl)}
.bmhs .bmhs__dot:hover span{opacity:.8}

.bmhs .bmhs__arrows{display:flex;gap:10px}
.bmhs .bmhs__arrow,.bmhs .bmhs__pause{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;min-height:0;margin:0;padding:0;border:1px solid rgba(255,255,255,.22);border-radius:50%;background:var(--bmhs-arrow-bg);color:var(--bmhs-ctrl);font-size:20px;line-height:0;box-shadow:none;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:background-color .2s ease,border-color .2s ease,color .2s ease}
.bmhs .bmhs__pause{width:34px;height:34px;font-size:15px;border-color:rgba(255,255,255,.18);background:transparent}
.bmhs.bmhs--arrow-square .bmhs__arrow{border-radius:10px}
.bmhs.bmhs--arrow-minimal .bmhs__arrow{border-color:transparent;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;font-size:26px}
.bmhs .bmhs__arrow:hover,.bmhs .bmhs__pause:hover{border-color:var(--bmhs-ctrl-on);color:var(--bmhs-ctrl-on);background:var(--bmhs-arrow-bg)}
.bmhs .bmhs__arrow:focus,.bmhs .bmhs__pause:focus{background:var(--bmhs-arrow-bg);color:var(--bmhs-ctrl)}
.bmhs .bmhs__arrow[disabled]{opacity:.35;cursor:default}
.bmhs .bmhs__pause .bmhs__i-play,.bmhs.is-paused-user .bmhs__pause .bmhs__i-pause{display:none}
.bmhs.is-paused-user .bmhs__pause .bmhs__i-play{display:block}

.bmhs.bmhs--arrows-sides .bmhs__ui>.bmhs__arrows{position:absolute;left:0;right:0;top:50%;justify-content:space-between;max-width:calc(var(--bmhs-container) + 2 * var(--bmhs-inset-x));margin:0 auto;padding:0 calc(var(--bmhs-inset-x) / 2);transform:translateY(-50%);pointer-events:none}
.bmhs.bmhs--arrows-sides .bmhs__ui>.bmhs__arrows>*{pointer-events:auto}

.bmhs .bmhs__progress{position:absolute;left:0;right:0;bottom:0;z-index:6;height:2px;background:rgba(255,255,255,.12);pointer-events:none}
.bmhs .bmhs__progress-bar{display:block;width:100%;height:100%;background:var(--bmhs-ctrl-on);transform:scaleX(0);transform-origin:0 50%}

.bmhs .bmhs__live{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}

/* Focus */
.bmhs a:focus-visible,.bmhs button:focus-visible{outline:2px solid var(--bmhs-focus);outline-offset:3px;box-shadow:none}
.bmhs a:focus:not(:focus-visible),.bmhs button:focus:not(:focus-visible){outline:none}

/* Editor/builder helpers */
.bmhs-empty,.bmhs-missing{padding:16px 20px;border:1px dashed #c3c4c7;color:#50575e;font:14px/1.5 system-ui,sans-serif}

@media (prefers-reduced-motion:reduce){
	.bmhs .bmhs__btn,.bmhs .bmhs__dot span,.bmhs .bmhs__arrow{transition:none}
	.bmhs .bmhs__btn:hover{transform:none}
}

/* ---------------------------------------------------------------
 * v1.1 — Split headings & label rows (no extra markup needed)
 * Two or more .bmhs-c3 spans  → words pushed to the left/right edges
 *   (add <em>…</em> inside the first span for a small sub-label).
 * Three or more .bmhs-c2 spans → equal columns (e.g. brand labels).
 * ------------------------------------------------------------- */
.bmhs .bmhs__content:has(> .bmhs__heading > .bmhs-c3 + .bmhs-c3),
.bmhs .bmhs__content:has(> .bmhs__heading > .bmhs-c2 + .bmhs-c2){width:100%;max-width:none}
.bmhs .bmhs__heading:has(> .bmhs-c3 + .bmhs-c3){display:flex;justify-content:space-between;align-items:center;gap:24px;width:100%}
.bmhs .bmhs__heading:has(> .bmhs-c3 + .bmhs-c3):has(em){align-items:flex-start}
.bmhs .bmhs__heading:has(> .bmhs-c3 + .bmhs-c3) > .bmhs-c3{display:block;text-align:left;white-space:nowrap}
.bmhs .bmhs__heading:has(> .bmhs-c3 + .bmhs-c3) > .bmhs-c3 + .bmhs-c3{text-align:right}
.bmhs .bmhs__heading:has(em) > .bmhs-c3 + .bmhs-c3{margin-top:3.86em}
.bmhs .bmhs__heading > .bmhs-c3 em{display:block;font-style:normal;font-size:.42em;text-align:right;letter-spacing:.02em;margin-top:0;padding-right:.6em}
.bmhs .bmhs__heading:has(> .bmhs-c2 + .bmhs-c2){display:flex;width:100%}
.bmhs .bmhs__heading:has(> .bmhs-c2 + .bmhs-c2) > .bmhs-c2{flex:1 1 0;text-align:center;text-shadow:0 2px 12px rgba(0,0,0,.6)}
/* <em> inside a label drops it slightly (staggered labels). */
.bmhs .bmhs__heading > .bmhs-c2 > em{display:inline-block;font-style:normal;translate:0 .8em}
/* Boxed trust items: solid dark card like the BUYNALIGA artwork. */
.bmhs .bmhs__trust--boxed .bmhs__trust-item{border-color:rgba(255,255,255,.06);background:rgba(18,24,35,.92)}
@media (max-width:959px){
 .bmhs .bmhs__heading:has(> .bmhs-c3 + .bmhs-c3),
 .bmhs .bmhs__heading:has(> .bmhs-c3 + .bmhs-c3):has(em){flex-direction:column;align-items:center;gap:4px}
 .bmhs .bmhs__heading:has(> .bmhs-c3 + .bmhs-c3) > .bmhs-c3{text-align:center;white-space:normal}
 .bmhs .bmhs__heading:has(em) > .bmhs-c3 + .bmhs-c3{margin-top:.2em}
 .bmhs .bmhs__heading > .bmhs-c3 em{text-align:center}
 .bmhs .bmhs__heading:has(> .bmhs-c2 + .bmhs-c2){font-size:15px!important;gap:6px}
}

/* Size utility classes for heading/description spans: bmhs-s50 … bmhs-s150 (percent of the line size). */
.bmhs .bmhs-s50{font-size:0.5em}.bmhs .bmhs-s55{font-size:0.55em}.bmhs .bmhs-s60{font-size:0.6em}.bmhs .bmhs-s65{font-size:0.65em}.bmhs .bmhs-s70{font-size:0.7em}.bmhs .bmhs-s75{font-size:0.75em}.bmhs .bmhs-s80{font-size:0.8em}.bmhs .bmhs-s85{font-size:0.85em}.bmhs .bmhs-s90{font-size:0.9em}.bmhs .bmhs-s95{font-size:0.95em}.bmhs .bmhs-s105{font-size:1.05em}.bmhs .bmhs-s110{font-size:1.1em}.bmhs .bmhs-s115{font-size:1.15em}.bmhs .bmhs-s120{font-size:1.2em}.bmhs .bmhs-s125{font-size:1.25em}.bmhs .bmhs-s130{font-size:1.3em}.bmhs .bmhs-s135{font-size:1.35em}.bmhs .bmhs-s140{font-size:1.4em}.bmhs .bmhs-s145{font-size:1.45em}.bmhs .bmhs-s150{font-size:1.5em}

/* v1.3 — no flash before the intro: the first slide stays hidden until the script plays its entrance
   (failsafe: revealed after 2.5s if scripts never run). */
@keyframes bmhs-reveal{to{opacity:1}}
.bmhs.is-multi:not(.is-ready) .bmhs__slide.is-active .bmhs__bg,
.bmhs.is-multi:not(.is-ready) .bmhs__slide.is-active [data-bmhs-anim]{opacity:0;animation:bmhs-reveal .4s 2.5s forwards}
@media (prefers-reduced-motion: reduce){
.bmhs.is-multi:not(.is-ready) .bmhs__slide.is-active .bmhs__bg,
.bmhs.is-multi:not(.is-ready) .bmhs__slide.is-active [data-bmhs-anim]{opacity:1;animation:none}
}

/* v1.3.3 — mobile: every slide uses the same CTA size (content column always spans the full width,
   buttons fill it with one fixed height), so buttons no longer shrink/grow with the heading length. */
@media (max-width:767px){
.bmhs .bmhs__content{width:100%}
.bmhs .bmhs__actions{width:100%;align-self:stretch}
.bmhs .bmhs__actions .bmhs__btn{width:100%;min-width:0;min-height:52px;padding-top:0;padding-bottom:0}
}

/* v1.3.4 — mobile legibility: larger CTA text, brighter body copy, soft shadow behind text. */
@media (max-width:767px){
.bmhs .bmhs__actions .bmhs__btn{font-size:17px;min-height:54px}
.bmhs .bmhs__desc{color:rgba(255,255,255,.95)!important;line-height:1.55}
.bmhs .bmhs__eyebrow,.bmhs .bmhs__heading,.bmhs .bmhs__desc{text-shadow:0 2px 14px rgba(0,0,0,.6)}
.bmhs .bmhs__trust-item{padding:.7em .8em}
}

/* v1.3.5 — stacked split headings stay centred when a line wraps (tablet & mobile). */
@media (max-width:959px){
.bmhs .bmhs__heading:has(> .bmhs-c3 + .bmhs-c3) > .bmhs-c3 + .bmhs-c3{text-align:center}
}
