/* SuperBOX V19 Brand Stories Grid v1.8.16: reference faithful, CSS-only, scoped, theme font inherited. */
.sbx19-stories {
  --sbxsg-max:1360px;--sbxsg-bg:#f4f4f6;--sbxsg-heading:#111827;
  --sbxsg-stat:#243046;--sbxsg-separator:#d9dee5;
  --sbxsg-columns:2;--sbxsg-gap:8px;--sbxsg-card-ratio:1.3;
  --sbxsg-pad-t:44px;--sbxsg-pad-r:36px;--sbxsg-pad-b:56px;--sbxsg-pad-l:36px;
  --sbxsg-card-t:20px;--sbxsg-card-r:20px;--sbxsg-card-b:20px;--sbxsg-card-l:20px;
  --sbxsg-radius:0px;--sbxsg-light-text:#101827;--sbxsg-dark-text:#fff;--sbxsg-dark-btn-bg:#fff;--sbxsg-dark-btn-color:#111827;--sbxsg-btn-bg:#111827;--sbxsg-btn-color:#fff;--sbxsg-btn-hover:#0091fe;
  display:block;width:100%;min-width:0;max-width:100%;padding:var(--sbxsg-pad-t) var(--sbxsg-pad-r) var(--sbxsg-pad-b) var(--sbxsg-pad-l);
  background:var(--sbxsg-bg);color:var(--sbxsg-heading);font-family:inherit;
  container:sbxstories/inline-size;box-sizing:border-box;
}
.sbx19-stories,.sbx19-stories *,.sbx19-stories *::before,.sbx19-stories *::after{box-sizing:border-box}
.sbx19-stories__inner{width:100%;max-width:var(--sbxsg-max);margin:0 auto;min-width:0}
.sbx19-stories__top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end;gap:clamp(28px,4vw,70px);margin-bottom:var(--sbxsg-header-gap-custom, clamp(48px,5.4vw,76px));min-width:0}
.sbx19-stories__intro{min-width:0}
.sbx19-stories__eyebrow{margin:0 0 10px;font-size:12px;font-weight:650;letter-spacing:.08em;text-transform:uppercase;color:#0077dc}
.sbx19-stories__heading{margin:0;color:var(--sbxsg-heading);font-size:clamp(30px,2.8vw,46px);font-weight:700;line-height:1.06;letter-spacing:-.045em;overflow-wrap:anywhere}
.sbx19-stories__description{margin:16px 0 0;font-size:15px;line-height:1.6;color:#5b6573;max-width:52ch}
.sbx19-stories__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:0;padding:0;margin:0 0 3px;list-style:none;min-width:0}
.sbx19-stories__stat{padding:0 clamp(9px,1.25vw,20px);min-width:0;border-left:1px solid var(--sbxsg-separator)}
.sbx19-stories__stat:first-child{border-left:0;padding-left:0}
.sbx19-stories__stat-value{display:block;margin:0 0 5px;font-size:clamp(11px,.95vw,14px);font-weight:650;line-height:1.32;color:var(--sbxsg-stat);overflow-wrap:anywhere}
.sbx19-stories__stat-label{display:block;font-size:clamp(10px,.8vw,12px);line-height:1.5;font-weight:440;color:#5c6470;overflow-wrap:anywhere}
.sbx19-stories__grid{display:grid;grid-template-columns:repeat(var(--sbxsg-columns),minmax(0,1fr));gap:var(--sbxsg-gap);min-width:0}
.sbx19-stories__card{isolation:isolate;position:relative;display:flex;align-items:flex-end;min-width:0;min-height:0;
  aspect-ratio:var(--sbxsg-card-ratio);overflow:hidden;border-radius:var(--sbxsg-radius);background:#dce9f7;
  color:var(--sbxsg-dark-text);box-shadow:none;}
.sbx19-stories__picture,.sbx19-stories__empty-image{position:absolute;inset:0;z-index:-2;width:100%;height:100%;display:block}
.sbx19-stories__picture img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .4s ease;}
.sbx19-stories__empty-image{background:linear-gradient(125deg,#174884,#0091fe)}
.sbx19-stories__card--p-top .sbx19-stories__photo{object-position:top}
.sbx19-stories__card--p-bottom .sbx19-stories__photo{object-position:bottom}
.sbx19-stories__card--p-left .sbx19-stories__photo{object-position:left}
.sbx19-stories__card--p-right .sbx19-stories__photo{object-position:right}
.sbx19-stories__card::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(0deg,rgba(1,8,24,.78),rgba(1,8,24,.34) 29%,transparent 78%)}
.sbx19-stories__card--content-top{align-items:flex-start}
.sbx19-stories__card--content-top::before{background:linear-gradient(180deg,rgba(1,8,24,.78),rgba(1,8,24,.30) 29%,transparent 78%)}
.sbx19-stories__card--light{color:var(--sbxsg-light-text)}
.sbx19-stories__card--light::before{background:linear-gradient(0deg,rgba(250,252,255,.86),rgba(250,252,255,.27) 27%,transparent 67%)}
.sbx19-stories__card--light.sbx19-stories__card--content-top::before{background:linear-gradient(180deg,rgba(250,252,255,.86),rgba(250,252,255,.27) 27%,transparent 67%)}
.sbx19-stories__card--soft::before{opacity:.67}
.sbx19-stories__card--strong::before{opacity:1;filter:contrast(1.2)}
.sbx19-stories__card--none::before{background:none}
.sbx19-stories__card-body{width:100%;min-width:0;padding:var(--sbxsg-card-t) var(--sbxsg-card-r) var(--sbxsg-card-b) var(--sbxsg-card-l);}
.sbx19-stories__card-title{margin:0;font-size:clamp(17px,1.32vw,23px);font-weight:700;line-height:1.15;letter-spacing:-.025em;color:inherit;overflow-wrap:anywhere;text-wrap:balance}
.sbx19-stories__card-subtitle{margin:6px 0 0;font-size:clamp(11px,.91vw,13px);line-height:1.45;color:inherit;overflow-wrap:anywhere}
.sbx19-stories__cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:32px;padding:9px 14px;margin:13px 0 0;
  background:var(--sbxsg-btn-bg);color:var(--sbxsg-btn-color);border-radius:2px;text-decoration:none!important;
  font-family:inherit;font-size:10px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;line-height:1.2;transition:background .18s ease,color .18s ease}
.sbx19-stories__cta:hover{background:var(--sbxsg-btn-hover);color:#fff}
.sbx19-stories__cta:focus-visible{outline:3px solid #8fd2ff;outline-offset:3px}
.sbx19-stories__card--dark .sbx19-stories__cta{background:var(--sbxsg-dark-btn-bg);color:var(--sbxsg-dark-btn-color)}
.sbx19-stories__card--dark .sbx19-stories__cta:hover{background:#0091fe;color:#fff}
/* Accessible whole-card link (opt-in): visual CTA remains a span, one actual link overlays the card. */
.sbx19-stories__card-cover{position:absolute;inset:0;z-index:3;display:block;cursor:pointer;text-decoration:none!important}
.sbx19-stories__card-cover:focus-visible{outline:3px solid #fff;outline-offset:-5px;box-shadow:inset 0 0 0 6px #0091fe;border-radius:var(--sbxsg-radius)}
.sbx19-stories__card--click-all:hover .sbx19-stories__cta,.sbx19-stories__card--click-all:focus-within .sbx19-stories__cta{background:var(--sbxsg-btn-hover);color:#fff}
@media(pointer:coarse){.sbx19-stories__cta{min-height:44px}}
@media (hover:hover) and (prefers-reduced-motion:no-preference){.sbx19-stories__card:hover .sbx19-stories__photo{transform:scale(1.025)}}
/* Breakpoint defaults; Elementor responsive selectors remain able to override these. */
@media(max-width:1024px){.sbx19-stories{--sbxsg-pad-t:36px;--sbxsg-pad-r:22px;--sbxsg-pad-b:42px;--sbxsg-pad-l:22px;--sbxsg-columns:2;--sbxsg-card-ratio:1.25}.sbx19-stories__top{gap:24px}}
@media(max-width:767px){.sbx19-stories{--sbxsg-pad-t:30px;--sbxsg-pad-r:16px;--sbxsg-pad-b:36px;--sbxsg-pad-l:16px;--sbxsg-columns:1;--sbxsg-card-ratio:1.18;--sbxsg-gap:8px;--sbxsg-card-t:18px;--sbxsg-card-r:18px;--sbxsg-card-b:19px;--sbxsg-card-l:18px}
 .sbx19-stories__heading{font-size:clamp(28px,8vw,42px)}.sbx19-stories__stat-value{font-size:13px}.sbx19-stories__stat-label{font-size:11px}
 .sbx19-stories__card{min-height:0}.sbx19-stories__card-title{font-size:clamp(18px,4.8vw,24px)}
 .sbx19-stories__card--mobile-content-top{align-items:flex-start}
 .sbx19-stories__card--mobile-content-bottom{align-items:flex-end}
 .sbx19-stories__card--mobile-content-top::before{background:linear-gradient(180deg,rgba(1,8,24,.78),rgba(1,8,24,.30) 29%,transparent 78%)}
 .sbx19-stories__card--light.sbx19-stories__card--mobile-content-top::before{background:linear-gradient(180deg,rgba(250,252,255,.86),rgba(250,252,255,.27) 27%,transparent 67%)}
 .sbx19-stories__card--mobile-content-bottom::before{background:linear-gradient(0deg,rgba(1,8,24,.78),rgba(1,8,24,.30) 29%,transparent 78%)}
 .sbx19-stories__card--light.sbx19-stories__card--mobile-content-bottom::before{background:linear-gradient(0deg,rgba(250,252,255,.86),rgba(250,252,255,.27) 27%,transparent 67%)}
 .sbx19-stories__card--mp-top .sbx19-stories__photo{object-position:top}
 .sbx19-stories__card--mp-bottom .sbx19-stories__photo{object-position:bottom}
 .sbx19-stories__card--mp-left .sbx19-stories__photo{object-position:left}
 .sbx19-stories__card--mp-right .sbx19-stories__photo{object-position:right}
}
/* A desktop browser may put this widget inside a narrow Elementor sidebar. */
@container sbxstories (max-width:760px){
 .sbx19-stories__top{grid-template-columns:minmax(0,1fr);gap:22px;margin-bottom:var(--sbxsg-header-gap-custom,26px)}
}
@container sbxstories (max-width:700px){
 .sbx19-stories--auto-stack .sbx19-stories__grid{grid-template-columns:minmax(0,1fr)}
 /* Explicit multi-column layouts still need space for the title, subtitle and tap target. */
 .sbx19-stories:not(.sbx19-stories--auto-stack) .sbx19-stories__card{min-height:240px;aspect-ratio:auto}
 .sbx19-stories__stats{grid-template-columns:repeat(3,minmax(0,1fr))}
 .sbx19-stories__stat{padding-left:10px;padding-right:10px}
 .sbx19-stories__card{min-height:0}
}
@container sbxstories (max-width:330px){
 .sbx19-stories__stats{grid-template-columns:1fr;gap:10px}
 .sbx19-stories__stat{border-left:0;border-top:1px solid var(--sbxsg-separator);padding:10px 0 0}
 .sbx19-stories__stat:first-child{border-top:0;padding-top:0}
}
@media(prefers-reduced-motion:reduce){.sbx19-stories__picture img,.sbx19-stories__cta{transition:none}}

/* Screenshot-faithful small editorial controls, resilient to narrow Elementor columns. */
.sbx19-stories__top{min-height:90px}
.sbx19-stories__heading{max-width:22ch;text-wrap:balance}
.sbx19-stories__stats{justify-self:end;width:min(100%,570px)}
.sbx19-stories__card-subtitle{margin-top:4px}
.sbx19-stories__card-body{position:relative;z-index:1}
@media(min-width:768px){.sbx19-stories__card{min-height:0}}
@media(max-width:767px){
 .sbx19-stories__top{min-height:0;margin-bottom:var(--sbxsg-header-gap-custom,24px);gap:22px}
 .sbx19-stories__stats{justify-self:start;width:100%}
 .sbx19-stories__cta{min-height:44px;margin-top:12px}
}
@container sbxstories (max-width:760px){.sbx19-stories__stats{justify-self:start;}}

/* v1.8.20 — independently configurable image masks. The original four-level
   shades remain untouched until the editor selects a new mode. 0 = none. */
.sbx19-stories__card[data-sbxsg-overlay-d="custom"]::before{
  background:var(--sbxsg-overlay-desktop,none);opacity:1;filter:none;
}
@media(max-width:767px){
 .sbx19-stories__card[data-sbxsg-overlay-m="custom"]::before{
   background:var(--sbxsg-overlay-mobile,none);opacity:1;filter:none;
 }
 /* Restore the original mobile four-level shade when a card has a custom
    desktop overlay but explicitly selects 'original shade' on mobile. */
 .sbx19-stories__card[data-sbxsg-overlay-m="legacy"][data-sbxsg-overlay-d="custom"]::before{
   background:linear-gradient(0deg,rgba(1,8,24,.78),rgba(1,8,24,.34) 29%,transparent 78%);opacity:1;filter:none;
 }
 .sbx19-stories__card--content-top[data-sbxsg-overlay-m="legacy"][data-sbxsg-overlay-d="custom"]::before,
 .sbx19-stories__card--mobile-content-top[data-sbxsg-overlay-m="legacy"][data-sbxsg-overlay-d="custom"]::before{
   background:linear-gradient(180deg,rgba(1,8,24,.78),rgba(1,8,24,.30) 29%,transparent 78%);
 }
 .sbx19-stories__card--light[data-sbxsg-overlay-m="legacy"][data-sbxsg-overlay-d="custom"]::before{
   background:linear-gradient(0deg,rgba(250,252,255,.86),rgba(250,252,255,.27) 27%,transparent 67%);
 }
 .sbx19-stories__card--light.sbx19-stories__card--content-top[data-sbxsg-overlay-m="legacy"][data-sbxsg-overlay-d="custom"]::before,
 .sbx19-stories__card--light.sbx19-stories__card--mobile-content-top[data-sbxsg-overlay-m="legacy"][data-sbxsg-overlay-d="custom"]::before{
   background:linear-gradient(180deg,rgba(250,252,255,.86),rgba(250,252,255,.27) 27%,transparent 67%);
 }
 .sbx19-stories__card--light.sbx19-stories__card--mobile-content-bottom[data-sbxsg-overlay-m="legacy"][data-sbxsg-overlay-d="custom"]::before{
   background:linear-gradient(0deg,rgba(250,252,255,.86),rgba(250,252,255,.27) 27%,transparent 67%);
 }
 .sbx19-stories__card--mobile-content-bottom[data-sbxsg-overlay-m="legacy"][data-sbxsg-overlay-d="custom"]::before{
   background:linear-gradient(0deg,rgba(1,8,24,.78),rgba(1,8,24,.30) 29%,transparent 78%);
 }
 .sbx19-stories__card--soft[data-sbxsg-overlay-m="legacy"][data-sbxsg-overlay-d="custom"]::before{opacity:.67}
 .sbx19-stories__card--strong[data-sbxsg-overlay-m="legacy"][data-sbxsg-overlay-d="custom"]::before{filter:contrast(1.2)}
 .sbx19-stories__card--none[data-sbxsg-overlay-m="legacy"][data-sbxsg-overlay-d="custom"]::before{background:none}
}

/* v1.8.23 — mobile card geometry and compact section. All opt-in values are
   scoped to this widget; no body or Elementor-global style is changed. */
@media (max-width:767px) {
  .sbx19-stories {
    min-height:0; height:auto; max-height:none;
    padding-bottom:var(--sbxsg-mobile-bottom-space,var(--sbxsg-pad-b));
  }
  .sbx19-stories__inner,.sbx19-stories__grid {height:auto;min-height:0;align-content:start;}
  /* Global mobile ratio overrides only if explicitly selected. */
  .sbx19-stories[data-sbxsg-mobile-ratio="custom"] .sbx19-stories__card {
    aspect-ratio:var(--sbxsg-mobile-ratio);
  }
  /* Per-card mobile ratio wins over the global ratio. */
  .sbx19-stories .sbx19-stories__card[data-sbxsg-card-mobile-ratio="custom"] {
    aspect-ratio:var(--sbxsg-item-mobile-ratio);
  }
  .sbx19-stories[data-sbxsg-mobile-fit="contain"] .sbx19-stories__photo {
    object-fit:contain;
  }
  .sbx19-stories .sbx19-stories__card[data-sbxsg-card-mobile-fit="contain"] .sbx19-stories__photo {
    object-fit:contain;
  }
  .sbx19-stories .sbx19-stories__card[data-sbxsg-card-mobile-fit="cover"] .sbx19-stories__photo {
    object-fit:cover;
  }
  .sbx19-stories__card--dark .sbx19-stories__picture {background:#09162a;}
  .sbx19-stories__card--light .sbx19-stories__picture {background:#f4f7fb;}
  /* Preserve minimum space for the content and a 44px CTA when users select
     a wide ratio inside a very narrow mobile grid. */
  .sbx19-stories[data-sbxsg-mobile-ratio="custom"] .sbx19-stories__card,
  .sbx19-stories .sbx19-stories__card[data-sbxsg-card-mobile-ratio="custom"] {
    min-height:196px;
  }
}


/* v1.8.25: Elementor mobile flex-container blank-space repair.
   The widget alone cannot override a parent e-con min-height or nowrap.
   :has() narrows the change to the *immediate* parent of THIS widget, and only
   when the new (optional) Elementor control requests the adjustment.
   This does not change body, sibling sections, or desktop/tablet layouts. */
@media (max-width:767px) {
  /* Both Elementor full-width and boxed e-con-inner structures. */
  .elementor .e-con.e-flex:has(> .elementor-widget-sbx19_brand_stories_grid .sbx19-stories[data-sbxsg-mobile-parent="compact"]),
  .elementor .e-con.e-flex:has(> .elementor-widget-sbx19_brand_stories_grid .sbx19-stories[data-sbxsg-mobile-parent="wrap"]),
  .elementor .e-con.e-flex:has(> .e-con-inner > .elementor-widget-sbx19_brand_stories_grid .sbx19-stories[data-sbxsg-mobile-parent="compact"]),
  .elementor .e-con.e-flex:has(> .e-con-inner > .elementor-widget-sbx19_brand_stories_grid .sbx19-stories[data-sbxsg-mobile-parent="wrap"]),
  .elementor .elementor-widget-wrap:has(> .elementor-widget-sbx19_brand_stories_grid .sbx19-stories[data-sbxsg-mobile-parent="compact"]),
  .elementor .elementor-widget-wrap:has(> .elementor-widget-sbx19_brand_stories_grid .sbx19-stories[data-sbxsg-mobile-parent="wrap"]) {
    --flex-wrap-mobile:wrap !important;
    --flex-wrap:wrap !important;
    flex-wrap:wrap !important;
    align-content:flex-start;
  }
  /* Inner boxed container is the actual flex parent for its children. */
  .elementor .e-con-inner:has(> .elementor-widget-sbx19_brand_stories_grid .sbx19-stories[data-sbxsg-mobile-parent="compact"]),
  .elementor .e-con-inner:has(> .elementor-widget-sbx19_brand_stories_grid .sbx19-stories[data-sbxsg-mobile-parent="wrap"]) {
    --flex-wrap-mobile:wrap !important;
    --flex-wrap:wrap !important;
    flex-wrap:wrap !important;
    align-content:flex-start;
  }
  /* In compact mode cancel extraneous fixed/minimum height on that exact parent.
     Without this, flex-wrap alone cannot remove a 100vh or 900px white block. */
  .elementor .e-con.e-flex:has(> .elementor-widget-sbx19_brand_stories_grid .sbx19-stories[data-sbxsg-mobile-parent="compact"]),
  .elementor .e-con.e-flex:has(> .e-con-inner > .elementor-widget-sbx19_brand_stories_grid .sbx19-stories[data-sbxsg-mobile-parent="compact"]),
  .elementor .elementor-widget-wrap:has(> .elementor-widget-sbx19_brand_stories_grid .sbx19-stories[data-sbxsg-mobile-parent="compact"]),
  .elementor .e-con-inner:has(> .elementor-widget-sbx19_brand_stories_grid .sbx19-stories[data-sbxsg-mobile-parent="compact"]) {
    --min-height:0px !important;
    min-height:0 !important;
    height:auto !important;
    max-height:none;
    align-items:stretch;
  }
  .elementor .elementor-widget-sbx19_brand_stories_grid:has(.sbx19-stories[data-sbxsg-mobile-parent="compact"]),
  .elementor .elementor-widget-sbx19_brand_stories_grid:has(.sbx19-stories[data-sbxsg-mobile-parent="wrap"]) {
    min-width:0;
    min-height:0;
    height:auto;
    max-height:none;
    width:100%;
    flex-grow:0;
    flex-shrink:1;
    flex-basis:auto;
  }
  .elementor .elementor-widget-sbx19_brand_stories_grid .elementor-widget-container:has(> .sbx19-stories[data-sbxsg-mobile-parent="compact"]),
  .elementor .elementor-widget-sbx19_brand_stories_grid .elementor-widget-container:has(> .sbx19-stories[data-sbxsg-mobile-parent="wrap"]) {
    min-height:0;
    height:auto;
    max-height:none;
  }
}
