/* CSS MAP
 * VNAV / Switcher selectors:
 * - .foleo-vnav (layout, hover, tooltips), .foleo-vnav__item states, media queries, .foleo-switch and .foleo-switch__*.
 * - Cinema/nav state: html.foleo-video-playing*, html.foleo-nav-reveal*, html.foleo-standalone, html.foleo-binder.
 * Popup layering:
 * - .bde-popup, .breakdance-popup, .bde-popup.breakdance-popup-open (z-index/fixed).
 * Duplicates to watch:
 * - Nav z-index values appear in base nav styles and final overrides.
 * Final overrides:
 * - Bottom "FINAL OVERRIDES: nav layering must beat hero media".
 */


[data-foleo-responsive="strict"] .bde-column { order: 0 !important; }
/* Video-bug is owned by Foleo_Modules.js. Do not add new video-bug code here. */
body.page-id-455 , body.page-id-287 , .bgbody {
  position: relative;
  background: none;
}

/* Foleo bottom tray */
.foleo-tray-bot {
  will-change: transform;
  transition: transform 280ms ease;
}

.foleo-tray-bot.foleo-tray-portal {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 1001;
  margin: 0;
}

.foleo-tray-bot .data-foleo-tray-toggle .bde-icon-icon {
  transition: transform 350ms ease;
}

/* Allow Breakdance color controls to drive tray toggle icon */
.foleo-tray-bot .data-foleo-tray-toggle .bde-icon-icon svg,
.foleo-tray-bot .data-foleo-tray-toggle .bde-icon-icon svg path,
.foleo-tray-bot .data-foleo-tray-toggle .bde-icon-icon svg rect,
.foleo-tray-bot .data-foleo-tray-toggle .bde-icon-icon svg circle,
.foleo-tray-bot .data-foleo-tray-toggle .bde-icon-icon svg line,
.foleo-tray-bot .data-foleo-tray-toggle .bde-icon-icon svg polyline,
.foleo-tray-bot .data-foleo-tray-toggle .bde-icon-icon svg polygon {
  fill: currentColor !important;
  stroke: currentColor !important;
}

.foleo-tray-bot.tray-closed .data-foleo-tray-toggle .bde-icon-icon {
  --eeiTransform: rotate(135deg);
}

.foleo-tray-bot.tray-open.is-open .data-foleo-tray-toggle .bde-icon-icon {
  --eeiTransform: rotate(-45deg);
}

.foleo-tray-bot.tray-closed {
  transform: translateY(0);
  transition: opacity 160ms ease;
}

.foleo-tray-bot.tray-closed.is-visible {
  opacity: 1;
}

.foleo-tray-bot.tray-open {
  transform: translateY(110%);
}

.foleo-tray-bot.tray-open.is-open {
  transform: translateY(0);
}

.foleo-tray-bot.tray-open.is-hidden {
  transform: translateY(110%);
  pointer-events: none;
}

.foleo-tray-bot.tray-closed.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Tray edit mode: show both states stacked for editing */
html.foleo-edit .foleo-tray-bot,
body.logged-in .foleo-tray-bot {
  position: static !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

html.foleo-edit .foleo-tray-bot.foleo-tray-portal,
body.logged-in .foleo-tray-bot.foleo-tray-portal {
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: auto !important;
}

html.foleo-edit .foleo-tray-bot.tray-open,
html.foleo-edit .foleo-tray-bot.tray-closed,
body.logged-in .foleo-tray-bot.tray-open,
body.logged-in .foleo-tray-bot.tray-closed {
  transform: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.foleo-tray-bot .bde-columns {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  column-gap: var(--bde-column-gap, 32px);
  align-items: stretch;
}

.foleo-tray-bot .bde-column {
  min-width: 0;
  flex: 1 1 0;
}

.foleo-tray-bot .bde-column > * {
  min-width: 0;
}

@media (prefers-reduced-motion: reduce) {
  .foleo-tray-bot {
    transition: none;
  }
}

html.foleo-tray-present body {
  padding-bottom: var(--foleo-tray-safe-height, 0px);
}

/* Admin-only sections: collapse layout on public pages, keep contents alive */
.admin-only {
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: visible !important;
}

html.foleo-edit .admin-only,
body.logged-in .admin-only {
  height: auto !important;
  min-height: initial !important;
  padding: initial !important;
  margin: initial !important;
  overflow: visible !important;
}


@media (max-width: 767px) {
  #case_studies {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
  html.foleo-canvas-story-stacked .canvas-story {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible;
  }

  html.foleo-canvas-story-stacked .canvas-story .canvas-story__panel {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    transform: none !important;
    will-change: auto;
    height: auto !important;
  }

  html.foleo-canvas-story-stacked .canvas-story .canvas-story__dots {
    display: none !important;
  }

  html.foleo-canvas-story-stacked .canvas-story .section-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px;
  }

  html.foleo-canvas-story-stacked .canvas-story .canvas-story__panel > .bde-columns {
    height: auto !important;
  }

  html.foleo-canvas-story-stacked .canvas-story .canvas-story__panel img {
    height: auto !important;
  }
}

@media (max-width: 1023px) {
  html.foleo-tray-opened body {
    overflow: hidden;
    touch-action: none;
  }

  html.foleo-tray-opened body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1000;
  }

  .foleo-tray-bot.tray-closed {
    padding: 5px 30px;
  }

  .foleo-tray-bot.tray-closed .section-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .foleo-tray-bot.tray-closed .bde-columns {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
  }

  .foleo-tray-bot.tray-closed .bde-column:not(:first-child) {
    display: none;
  }

  .foleo-tray-bot.tray-open {
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    padding: 24px 16px calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .foleo-tray-bot.tray-open.is-open {
    transform: translateY(0);
  }

  .foleo-tray-bot.tray-open .bde-columns {
    flex-direction: column;
    align-items: stretch;
    row-gap: 16px;
  }

  .foleo-tray-bot.tray-open .bde-column {
    width: 100%;
  }
}

/*body.page-id-455::before,
body.page-id-287::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;                
  pointer-events: none;
  background: linear-gradient(
    29deg,
    var(--bde-background-color) 0%,
    var(--bde-palette-color-4-7923a542-82a9-49a7-ba8d-1d57f6bcf6fe) 55.38461538461539%,
    rgba(253, 81, 8, 0.38) 98.97435897435898%
  );
  background-size: cover;
} */



/* Scroll snap container behavior */
html, body {
  scroll-snap-type: y proximity;
  scroll-snap-stop: always;
  scroll-padding-top: 80px;
  scroll-padding-bottom: 80px;
}
/*.scroll-section {
  min-height: auto;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin-top: 80px;
  scroll-margin-bottom: 80px;
}*/

.scroll-section-auto, .scroll-section {
  min-height: auto;
  scroll-snap-align: none;
}

@media (max-width: 767px) {
  html, body {
    scroll-snap-type: none;
    scroll-snap-stop: normal;
    scroll-padding-top: 0;
    scroll-padding-bottom: 0;
  }

  .scroll-section {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    scroll-margin-top: 0;
    scroll-margin-bottom: 0;
  }
}
body.foleo-mode-standalone .binder-nav {
  display: none;
}

body.foleo-mode-standalone .hamburger {
  display: none;
}

body.foleo-mode-binder .binder-nav {
  display: flex;
}

/* Mobile: disable animations for elements tagged with .no-anim-mobile */
@media (max-width: 767px) {
  .no-anim-mobile,
  .no-anim-mobile * {
    animation: none !important;
    transition: none !important;
  }

  .no-anim-mobile {
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    will-change: auto !important;
  }
}
/* === NAV STATE ENFORCEMENT === */
body.foleo-mode-standalone .binder-nav,
body.foleo-mode-standalone .hamburger {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (min-width: 901px){

  .foleo-switch{
    position: fixed;
    top: 18px;
    left: 18px;

    display: flex;
    align-items: center;

    width: 44px;
    height: 44px;
    border-radius: 999px;

    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    padding: 0;
    overflow: hidden;

    transition:
      width .18s ease,
      background-color .15s ease,
      opacity .18s ease;
  }

  .foleo-switch__btn{
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;

    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;
    cursor: pointer;

    color: rgba(255,255,255,0.92);
    line-height: 0;
  }

  .foleo-switch__panel{
    display: none;
    align-items: center;
    gap: 26px;

    white-space: nowrap;
    padding-left: 16px;
    padding-right: 18px;
  }

  .foleo-switch.is-open{
    width: max-content;
    background: rgba(0,0,0,0.35);
    overflow: visible;
  }

  .foleo-switch.is-open .foleo-switch__panel{
    display: flex;
  }

  .foleo-switch:hover{
    background: rgba(0,0,0,0.60);
  }

  .foleo-switch__link{
    color: rgba(255,255,255,0.55) !important;
    text-decoration: none;
    font-size: 16px;
    line-height: 1;
  }

  .foleo-switch__link:hover{
    color: rgba(255,255,255,0.80) !important;
  }

  .foleo-switch__link.is-active{
    color: rgba(255,255,255,1) !important;
    font-weight: 700;
  }

  /* Right-aligned variant (shortcode align="right") */
  .foleo-globalnav--right .foleo-switch{
    left: auto;
    right: 18px;
    flex-direction: row-reverse;
  }

  .foleo-globalnav--right .foleo-switch__panel{
    padding-left: 18px;
    padding-right: 16px;
  }

  .foleo-switch__hamburger{
    display: block;
    position: relative;
    width: 18px;
    height: 14px;
    margin: 0;
    padding: 0;
    transform: translateX(0px) translateY(0px);
  }

  .foleo-switch__hamburger::before,
  .foleo-switch__hamburger::after,
  .foleo-switch__hamburger span{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .16s ease, opacity .16s ease, top .16s ease;
  }

  .foleo-switch__hamburger::before{ top: 0px; }
  .foleo-switch__hamburger span{ top: 6px; }
  .foleo-switch__hamburger::after{ top: 12px; }

  .foleo-switch.is-open .foleo-switch__hamburger::before{
    top: 6px;
    transform: rotate(45deg);
  }
  .foleo-switch.is-open .foleo-switch__hamburger::after{
    top: 6px;
    transform: rotate(-45deg);
  }
  .foleo-switch.is-open .foleo-switch__hamburger span{
    opacity: 0;
  }

  .foleo-vnav{
    position: fixed;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);

    display: flex;
    flex-direction: column;
    gap: 23px;

    padding: 24px 12px;
    border-radius: 999px;

    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);

    transition:
      background-color .15s ease .50s,
      padding .15s ease .50s,
      gap .15s ease .50s,
      opacity .18s ease;
  }

  .foleo-vnav:hover{
    background: rgba(0,0,0,0.60);
    padding: 34px 14px;
    gap: 28px;
    transition-delay: 0s;
  }

  .foleo-vnav__item{
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.35);
    display: block;

    transition: transform .12s ease, background-color .12s ease;
  }

  .foleo-vnav__item:hover{
    background: rgba(255,255,255,0.65);
  }

  .foleo-vnav__item.is-active,
  .foleo-vnav:hover .foleo-vnav__item.is-active{
    background: rgba(255,255,255,0.95);
    transform: scale(1.35);
  }

  .foleo-vnav__item.is-active:hover{
    transform: scale(1.35);
  }

  .foleo-vnav__item::before{
    content: "";
    position: absolute;
    top: -18px;
    bottom: -18px;
    left: -18px;
    right: -18px;
    border-radius: 999px;
  }

  .foleo-vnav__item::after{
    content: attr(data-label);
    position: absolute;
    left: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%);

    padding: 8px 10px;
    border-radius: 8px;

    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
    color: rgba(255,255,255,0.95);

    font-size: 12px;
    line-height: 1;
    white-space: nowrap;

    opacity: 0;
    visibility: hidden;
    transition:
      opacity .12s ease,
      transform .12s ease,
      visibility 0s linear;
    pointer-events: none;
  }

  .foleo-vnav__item.is-active::after{
    transition:
      opacity .20s ease,
      transform .12s ease,
      visibility 0s linear;
  }

  .foleo-vnav:not(:hover) .foleo-vnav__item.is-active::after{
    visibility: visible;
    transition:
      opacity .18s ease .60s,
      transform .12s ease .60s,
      visibility 0s linear .78s;
    opacity: 0;
  }

  .foleo-vnav__item.is-active::after{
    background: rgba(255,255,255,0.95);
    color: rgba(0,0,0,0.90);
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1;
  }

  .foleo-vnav:hover .foleo-vnav__item.is-active::after{
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(2px);
    transition:
      opacity .20s ease,
      transform .12s ease,
      visibility 0s linear;
    transition-delay: 0s;
  }

  .foleo-vnav__item:hover::after{
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(2px);
    background: rgba(0,0,0,0.60);
    transition:
      opacity .20s ease,
      transform .12s ease,
      visibility 0s linear;
    transition-delay: 0s;
  }

  .foleo-vnav__item.is-active:hover::after{
    background: rgba(255,255,255,0.95);
    color: rgba(0,0,0,0.90);
  }
}

@media (max-width: 900px){
  .foleo-switch{ display: none; }
  .foleo-vnav{ display: none; }
}

/* Cinema mode: fade nav while hero video plays */
html.foleo-video-playing .foleo-vnav{
  opacity: 0;
  pointer-events: none;
}

html.foleo-video-playing.foleo-binder .foleo-switch{
  opacity: 0;
  pointer-events: none;
}

/* Standalone already hides switcher via your foleo-standalone rules */
html.foleo-standalone .foleo-switch{
  display: none !important;
}

/* Scroll reveal override */
html.foleo-nav-reveal .foleo-vnav,
html.foleo-nav-reveal.foleo-binder .foleo-switch{
  opacity: 1 !important;
  pointer-events: auto !important;
}


@media (min-width: 901px){
  /* Prevent flash: hide until mode class is set */
  .foleo-switch{
    display: none;
  }

  /* Show only in binder mode */
  html.foleo-binder .foleo-switch{
    display: flex;
  }

  .foleo-switch__close{
    display: none !important;
  }
}

@media (max-width: 900px){
  html.foleo-binder .foleo-switch{
    display: flex;
  }

  .foleo-switch{
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 100000 !important;
    pointer-events: auto;
  }

  .foleo-switch__btn{
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(0,0,0,0.7);
    border: 0;
    display: grid;
    place-items: center;
    color: #fff;
  }

  .foleo-switch__hamburger{
    display: block;
    position: relative;
    width: 18px;
    height: 14px;
    margin: 0;
    padding: 0;
    transform: translateX(0px) translateY(0px);
  }

  .foleo-switch__hamburger::before,
  .foleo-switch__hamburger::after,
  .foleo-switch__hamburger span{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .16s ease, opacity .16s ease, top .16s ease;
  }

  .foleo-switch__hamburger::before{ top: 0px; }
  .foleo-switch__hamburger span{ top: 6px; }
  .foleo-switch__hamburger::after{ top: 12px; }

  .foleo-switch.is-open .foleo-switch__hamburger::before{
    top: 6px;
    transform: rotate(45deg);
  }
  .foleo-switch.is-open .foleo-switch__hamburger::after{
    top: 6px;
    transform: rotate(-45deg);
  }
  .foleo-switch.is-open .foleo-switch__hamburger span{
    opacity: 0;
  }

  .foleo-switch__panel{
    position: fixed;
    top: 0;
    right: 0;
    width: 50vw;
    max-width: 420px;
    min-width: 220px;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 64px 0px 24px;
    display: flex;
    flex-direction: column;
    gap: 0px;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
    z-index: 100001;
    pointer-events: auto;
    overflow: visible;
  }

  .foleo-switch.is-open .foleo-switch__panel{
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .foleo-switch__close{
    position: fixed;
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    z-index: 1000000;
    pointer-events: auto;
    display: grid;
    place-items: center;
    border-radius: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .foleo-switch:not(.is-open) .foleo-switch__close{
    display: none;
  }

  .foleo-switch.is-open .foleo-switch__btn{
    opacity: 0;
    pointer-events: none;
  }

  .foleo-switch__link{
    display: block;
    padding: 18px 20px 6px 20px;
    color: #fff !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgb(0, 0, 0);
    font-family: inherit;
  }

  .foleo-switch__panel .foleo-switch__link{
    color: #fff !important;
    text-decoration: none !important;
    font-size: 28px;
    font-weight: 200;
  }

  .foleo-switch__link.is-active{
    border-bottom: none;
    font-weight: 700;
    background-color: rgba(0, 0, 0, 0.8)!important;
  }
}

/* FINAL OVERRIDES: nav layering must beat hero media */
.foleo-switch{
  z-index: 1000000 !important;
  pointer-events: auto !important;
}
.foleo-switch__btn,
.foleo-switch__panel,
.foleo-switch__close{
  pointer-events: auto !important;
}

.foleo-switch__close{
  position: fixed !important;
  z-index: 1000001 !important;
}

/* Close button floats in body; tie visibility to html state */
.foleo-switch__close{
  display: none !important;
}
html.foleo-switch-open .foleo-switch__close{
  display: grid !important;
}

/* Logo notch should never block nav interactions */
.foleo-logo-notch {
  pointer-events: none !important;
}
.foleo-vnav{
  position: fixed;
  z-index: 8999 !important;
  isolation: isolate;
}

.bde-popup,
.breakdance-popup,
.bde-popup.breakdance-popup-open{
  position: fixed !important;
  z-index: 1000010 !important;
}

/* Popup scrims/backdrops should sit above binder nav */
.bde-popup__backdrop,
.breakdance-popup__backdrop,
.bde-popup-overlay,
.breakdance-popup-overlay,
.bde-popup-backdrop,
.breakdance-popup-backdrop{
  position: fixed !important;
  z-index: 1000009 !important;
}

div.no_pointer {pointer-events: none;}

/*
  IMPORTANT:
  Do not add Foleo module styles here.
  Module CSS lives in Foleo_Modules.css.
*/

/* Components */
/* Accordion cards (mobile only, opt-in via .foleo-accordion-block) */
@media (max-width: 768px) {
  .foleo-accordion-block {
    width: calc(100% + (var(--bde-section-padding-left, 20px) + var(--bde-section-padding-right, 20px))) !important;
    max-width: calc(100% + (var(--bde-section-padding-left, 20px) + var(--bde-section-padding-right, 20px))) !important;
    margin-left: calc(-1 * var(--bde-section-padding-left, 20px)) !important;
    margin-right: calc(-1 * var(--bde-section-padding-right, 20px)) !important;
  }

  /* When the block itself is the columns container */
  .foleo-accordion-block.bde-columns {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    gap: 0px !important;
    column-gap: 0px !important;
    row-gap: 0px !important;
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    --bde-column-gap: 0px !important;
    align-self: stretch !important;
    justify-self: stretch !important;
  }

  .foleo-accordion-block .section-container {
    padding: 0 !important;
  }

  .foleo-accordion-block .bde-columns {
    gap: 0px !important;
    column-gap: 0px !important;
    row-gap: 0px !important;
    padding: 0 !important;
    margin: 0 !important;
    --bde-column-gap: 0px !important;
  }

  .foleo-accordion-block .bde-column {
    border: 0;
    border-bottom: 1px solid var(--accordion-line-color, currentColor);
    border-radius: 0;
    background: var(--accordion-closed-bg, transparent);
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
    background-color: transparent !important;
    background-image: none !important;
    gap: 0px!important;
    position: relative;
    padding-right: 52px;
  }

  .foleo-accordion-block .bde-column.is-open {
    background-color: var(--accordion-open-bg, transparent) !important;
  }

  .foleo-accordion-block .foleo-accordion-first {
    border-top: 1px solid var(--accordion-line-color, currentColor);
  }

  .foleo-accordion-block .foleo-accordion__header {
    position: relative;
    padding: 16px 44px 16px 20px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    color: var(--accordion-closed-text, inherit) !important;
    transition: background-color 520ms cubic-bezier(0.2, 0.8, 0.2, 1),
                color 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
    margin-bottom: 0 !important;
  }

  .foleo-accordion-block h3.foleo-accordion__header {
    font-size: 22px!important;
  }

  .foleo-accordion-block .bde-column div {width: 100%!important}

  .foleo-accordion-block .foleo-accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: max-height;
    padding: 0 20px;
    background: var(--accordion-open-bg, transparent);
    color: var(--accordion-open-text, inherit);
  }

  .foleo-accordion-block .bde-column.is-open .foleo-accordion__header {
    background: var(--accordion-open-bg, #ffffff);
    color: var(--accordion-open-text, #111111) !important;
  }

  .foleo-accordion-block .bde-column.is-open .foleo-accordion__content {
    background: var(--accordion-open-bg, #ffffff);
  }

  .foleo-accordion-block .bde-column:not(.is-open) .foleo-accordion__content {
    background: transparent;
    transition-delay: 520ms;
  }

  /* Theme variants (can be on section or block) */
  .foleo-accordion-mobile--light .foleo-accordion-block,
  .foleo-accordion-block.foleo-accordion-mobile--light {
    --accordion-line-color: rgba(0,0,0,0.65);
    --accordion-closed-text: #111111;
    --accordion-open-bg: #ffffff;
    --accordion-open-text: #111111;
  }

  .foleo-accordion-mobile--dark .foleo-accordion-block,
  .foleo-accordion-block.foleo-accordion-mobile--dark {
    --accordion-line-color: rgba(255,255,255,0.65);
    --accordion-closed-text: #ffffff;
    --accordion-open-bg: #ffffff;
    --accordion-open-text: #111111;
  }

  .foleo-accordion-mobile--match .foleo-accordion-block,
  .foleo-accordion-block.foleo-accordion-mobile--match {
    --accordion-closed-bg: transparent;
    --accordion-open-bg: transparent;
    --accordion-closed-text: inherit;
    --accordion-open-text: inherit;
  }

  /* Disable header chevron; render on the column instead */
  .foleo-accordion-block .foleo-accordion__header::after {
    content: none !important;
  }

  /* Chevron anchored to the column */
  .foleo-accordion-block .bde-column::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 22px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--foleo-acc-chevron, var(--bde-links-color));
    border-bottom: 2px solid var(--foleo-acc-chevron, var(--bde-links-color));
    transform: rotate(-45deg);
    transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
  }

  .foleo-accordion-block .bde-column.is-open::after {
    transform: rotate(45deg);
  }
}

.foleo-video-overlay {
  position: fixed;
  inset: 0;
  z-index: 100001;
  background: rgba(0,0,0,0.92);
  display: none;
  pointer-events: auto;
}

.foleo-video-overlay.is-open {
  display: block;
}

.foleo-video-overlay__content {
  position: absolute;
  inset: 0;
  pointer-events: auto;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.foleo-video-overlay__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000000;
}

.foleo-video-overlay__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  pointer-events: auto;
}

.foleo-video-overlay__tapplay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 999px;
  border: 0;
  background: rgba(0,0,0,0.6);
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
  pointer-events: auto;
}

html.foleo-video-overlay-open,
body.foleo-video-overlay-open {
  overflow: hidden;
}


/* Fullscreen video without moving DOM (iOS-safe) */
.foleo-video-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 100002;
  background: #000000;
}

.foleo-video-fullscreen .cf-stream-embed,
.foleo-video-fullscreen .cf-stream-placeholder,
.foleo-video-fullscreen iframe {
  height: 100% !important;
  min-height: 100% !important;
  width: 100% !important;
}

.foleo-video-fullscreen .cf-name-panel {
  display: none !important;
}

/* Image fade swap (use on a wrapper div, set CSS vars in Breakdance) */
.foleo-fade-swap {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: var(--fade-img-1);
  --fade-duration: 28s;
  --fade-stagger: 6s;
  --fade-delay-1: 0s;
  --fade-delay-2: var(--fade-stagger);
  --pan-duration: 48s;
  --pan-start: 15%;
  --pan-end: 85%;
  animation: foleoFadePan var(--pan-duration) linear infinite alternate;
}

/* Wait until window.load to start animations */
html:not(.foleo-fade-swap-ready) .foleo-fade-swap,
html:not(.foleo-fade-swap-ready) .foleo-fade-swap::before,
html:not(.foleo-fade-swap-ready) .foleo-fade-swap::after {
  animation-play-state: paused !important;
}

.foleo-fade-swap img {
  position: relative;
  width: 100%;
  height: auto;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

.foleo-fade-swap::before,
.foleo-fade-swap::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: inherit;
  background-position: inherit;
  background-repeat: inherit;
  opacity: 0;
  transition: opacity 1200ms ease;
  pointer-events: none;
  z-index: 1;
  will-change: opacity, background-position;
}

.foleo-fade-swap::before {
  background-image: var(--fade-img-2);
  animation: foleoFadeSwap var(--fade-duration) infinite,
             foleoFadePan var(--pan-duration) linear infinite alternate;
  animation-delay: var(--fade-delay-1);
}

.foleo-fade-swap::after {
  background-image: var(--fade-img-3);
  animation: foleoFadeSwap var(--fade-duration) infinite,
             foleoFadePan var(--pan-duration) linear infinite alternate;
  animation-delay: var(--fade-delay-2), 0s;
}

@keyframes foleoFadeSwap {
  0%, 25% { opacity: 0; }
  35%, 65% { opacity: 1; }
  75%, 100% { opacity: 0; }
}

@keyframes foleoFadePan {
  0% {
    background-position: var(--pan-start) center;
  }
  100% {
    background-position: var(--pan-end) center;
  }
}

/* Alternate timing: offset the whole cycle for staggered instances */
.foleo-fade-swap--alt {
  --fade-delay-1: 4s;
  --fade-delay-2: 9s;
}

@media (prefers-reduced-motion: reduce) {
  .foleo-fade-swap::before,
  .foleo-fade-swap::after {
    animation: none;
  }
}

/* Mobile: disable fade swap and show the inline image only */
@media (max-width: 767px) {
  .foleo-fade-swap {
    animation: none !important;
    background-image: none !important;
  }

  .foleo-fade-swap::before,
  .foleo-fade-swap::after {
    display: none !important;
    animation: none !important;
  }

  .foleo-fade-swap img {
    opacity: 1 !important;
    pointer-events: auto;
  }
}

/* Canvas Story (pinned crossfade) */
.canvas-story {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  contain: paint;
}

.canvas-story:not(.canvas-story--edit) {
  height: auto !important;
  min-height: calc(100vh - var(--foleo-tray-safe-height, 80px)) !important;
  max-height: none !important;
}

.canvas-story__panel{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  will-change: opacity;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.canvas-story__dots{
  position: absolute;
  left: 24px;
  bottom: calc(24px + var(--foleo-tray-safe-height, 80px));
  display: flex;
  gap: 8px;
  z-index: 3;
  transform: none;
}

/* Allow Breakdance to layout dots when opting out of absolute positioning */
.canvas-story__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--canvas-story-dot);
}
.canvas-story__dot.is-active{
  background: var(--canvas-story-dot-active);
}

.canvas-story:not(.canvas-story--edit) .canvas-story__panel{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* Canvas Story: fill panel height without collapsing images */
.canvas-story:not(.canvas-story--edit) .section-container {
  height: 100%;
}
.canvas-story:not(.canvas-story--edit) .canvas-story__panel {
  height: 100%;
}
.canvas-story:not(.canvas-story--edit) .canvas-story__panel > .bde-columns {
  height: 100%;
  align-items: stretch !important;
}
.canvas-story:not(.canvas-story--edit) .canvas-story__panel > .bde-columns > .bde-column {
  height: 100%;
}
.canvas-story:not(.canvas-story--edit) .canvas-story__panel img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

/* Ensure canvases (if present) fill their panel */
.canvas-story__panel canvas{
  display: block;
  width: 100%;
  height: 100%;
}

/* Canvas Story edit mode: stack panels for easy editing */
.canvas-story.canvas-story--edit{
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  height: auto !important;
  max-height: none !important;
  width: 100% !important;
  overflow: visible;
}
.canvas-story.canvas-story--edit .canvas-story__panel{
  position: static !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  will-change: auto;
  width: 100%;
  min-height: 100vh;
}
.canvas-story.canvas-story--edit .canvas-story__panel canvas{
  height: auto;
}
.canvas-story.canvas-story--edit .section-container{
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
}

/* Force stacked layout in Breakdance edit mode (even if class not present) */
html.foleo-edit .canvas-story{
  position: relative !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible;
}
html.foleo-edit .canvas-story .canvas-story__panel{
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
  transform: none !important;
  will-change: auto;
  height: auto !important;
}
html.foleo-edit .canvas-story .canvas-story__dots{
  display: none !important;
}
html.foleo-edit .canvas-story .section-container{
  display: flex !important;
  flex-direction: column !important;
  gap: 24px;
  height: auto !important;
}
html.foleo-edit .canvas-story .canvas-story__panel > .bde-columns{
  height: auto !important;
}
html.foleo-edit .canvas-story .canvas-story__panel > .bde-columns > .bde-column{
  height: auto !important;
}
html.foleo-edit .canvas-story .canvas-story__panel img{
  height: auto !important;
}
html.foleo-edit .canvas-story .canvas-panel-keyimg,
html.foleo-edit .canvas-story .canvas-panel-keycopy,
html.foleo-edit .canvas-story .canvas-panel-keyprofile{
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  position: static !important;
  height: auto !important;
}

/* Canvas Story stacked mode: always stack when class is present */
.canvas-story.canvas-story--stacked {
  position: relative !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible;
}

.canvas-story.canvas-story--stacked .canvas-story__panel {
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
  transform: none !important;
  will-change: auto;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

.canvas-story.canvas-story--stacked .canvas-story__dots {
  display: none !important;
}

.canvas-story.canvas-story--stacked .section-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px;
  height: auto !important;
}

.canvas-story.canvas-story--stacked .canvas-story__panel > .bde-columns {
  height: auto !important;
  align-items: stretch !important;
}

.canvas-story.canvas-story--stacked .canvas-story__panel > .bde-columns > .bde-column {
  height: auto !important;
}

.canvas-story.canvas-story--stacked .canvas-story__panel img {
  height: auto !important;
}

.canvas-story.canvas-story--stacked .canvas-panel-keyimg,
.canvas-story.canvas-story--stacked .canvas-panel-keycopy,
.canvas-story.canvas-story--stacked .canvas-panel-keyprofile {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  position: static !important;
  height: auto !important;
}

@media (max-width: 767px) {
  .canvas-story {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
  .canvas-story.canvas-story--stacked {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible;
  }

  .canvas-story.canvas-story--stacked .canvas-story__panel {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    transform: none !important;
    will-change: auto;
    height: auto !important;
  }

  .canvas-story.canvas-story--stacked .canvas-story__dots {
    display: none !important;
  }

  .canvas-story.canvas-story--stacked .section-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px;
  }

  .canvas-story.canvas-story--stacked .canvas-story__panel > .bde-columns {
    height: auto !important;
  }

  .canvas-story.canvas-story--stacked .canvas-story__panel img {
    height: auto !important;
  }
}

/* =========================
   FOLEO Responsive Spec v1
   STRICT sections: enforce natural stacking order
   ========================= */
:root {
  --foleo-gap-0: 0px;
  --foleo-gap-20: 20px;
  --foleo-gap-32: 32px;
  --foleo-gap-40: 40px;
}

.foleo-responsive--strict .bde-column {
  order: 0 !important;
}

/* List style: foleo-list1 */
ul.foleo-list1  {
  padding-left: 0px!important;
  margin-top: 10px!important;
}
ul.foleo-list1 li {
  border-top: 1px dotted !important;
  padding-top: 10px!important;
  padding-bottom: 0px!important;
  padding-left: 0px!important;  ;
  list-style: none!important;
  line-height: 0.9em!important;

}

/* GRID responsive (Maker parity) */
/* Layout (gap + direction) */
.breakdance .foleo-grid.foleo-responsive--strict .foleo-grid__row,
.breakdance .foleo-grid.foleo-responsive--strict .bde-columns.foleo-grid__row {
  gap: var(--foleo-gap-40);
}
.breakdance .foleo-grid.foleo-responsive--strict .bde-columns.foleo-grid__row {
  display: flex !important;
  gap: var(--foleo-gap-40) !important;
  row-gap: var(--foleo-gap-40) !important;
  column-gap: var(--foleo-gap-40) !important;
}
.breakdance .foleo-grid.foleo-responsive--strict .bde-columns { flex-direction: inherit !important; }
.breakdance .foleo-grid.foleo-responsive--strict .bde-column {
  padding-top: var(--foleo-gap-20);
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  border-top: 0;
}
/* Media cover + masking */
.breakdance .foleo-grid.foleo-responsive--strict img,
.breakdance .foleo-grid.foleo-responsive--strict svg,
.breakdance .foleo-grid.foleo-responsive--strict canvas,
.breakdance .foleo-grid.foleo-responsive--strict video,
.breakdance .foleo-grid.foleo-responsive--strict iframe {
  height: 100%;
  width: auto;
  object-fit: cover;
}
/* Panel padding + flow */
.breakdance .foleo-grid.foleo-responsive--strict .foleo-grid__panel {
  padding: var(--foleo-gap-40) !important;
  border-top: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

.breakdance .foleo-grid.foleo-responsive--strict .bde-heading {
  margin-top: 0 !important;
  margin-bottom: var(--foleo-gap-20) !important;
}

.breakdance .foleo-grid.foleo-responsive--strict .bde-text {
  margin-top: 0 !important;
}

/* tighten common “heading then text” stacks inside columns */
.breakdance .foleo-grid.foleo-responsive--strict .bde-heading + .bde-text {
  margin-top: 0 !important;
}

/* STRICT: images default to masked cover boxes */
.breakdance .foleo-grid.foleo-responsive--strict .bde-image,
.breakdance .foleo-grid.foleo-responsive--strict figure:has(img) {
  overflow: hidden !important;
}

.breakdance .foleo-grid.foleo-responsive--strict .bde-image {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
}

.breakdance .foleo-grid.foleo-responsive--strict .bde-image img,
.breakdance .foleo-grid.foleo-responsive--strict figure img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

/* STRICT: add a top rule to text-only columns, skip columns that contain images */
/* Borders (text-only rule) */
.breakdance .foleo-grid.foleo-responsive--strict .bde-column:not(:has(img, picture, .bde-image)) {
  border-top: 2px solid #000;
  padding-top: var(--foleo-gap-20);
}

/* Icons reset */
.breakdance .foleo-grid.foleo-responsive--strict .foleo-icon,
.breakdance .foleo-grid.foleo-responsive--strict .foleo-icon *,
.breakdance .foleo-grid.foleo-responsive--strict [class*="icon"],
.breakdance .foleo-grid.foleo-responsive--strict [class*="icon"] * {
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  font-size: inherit !important;
  line-height: inherit !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Media cover + masking */
.breakdance .foleo-grid.foleo-responsive--strict .foleo-grid__panel img,
.breakdance .foleo-grid.foleo-responsive--strict .foleo-grid__panel picture,
.breakdance .foleo-grid.foleo-responsive--strict .foleo-grid__panel figure {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* STRICT: normalize print/download icon buttons inside strict sections */
.breakdance .foleo-grid.foleo-responsive--strict .fdt-controls .fdt-toolbar .fdt-icon-btn,
.breakdance .foleo-grid.foleo-responsive--strict .foleo-dynamic-table .fdt-tool {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
}

.breakdance .foleo-grid.foleo-responsive--strict .fdt-controls .fdt-toolbar .fdt-icon,
.breakdance .foleo-grid.foleo-responsive--strict .foleo-dynamic-table .fdt-icon,
.breakdance .foleo-grid.foleo-responsive--strict .fdt-controls .fdt-toolbar svg,
.breakdance .foleo-grid.foleo-responsive--strict .foleo-dynamic-table svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  display: block !important;
}
.breakdance .foleo-grid.foleo-responsive--strict .foleo-grid__row {
  flex-direction: inherit;
}
.breakdance .foleo-grid.foleo-responsive--strict .bde-columns.foleo-grid__row {
  flex-direction: inherit !important;
}

@media (min-width: 1024px) {
  .breakdance .foleo-grid.foleo-responsive--strict .section-container {
    padding-top: 120px !important;
    padding-right: 80px !important;
    padding-bottom: 120px !important;
    padding-left: 80px !important;
  }
  .breakdance .foleo-grid.foleo-responsive--strict .bde-columns.foleo-grid__row { flex-direction: row !important; }
}

@media (max-width: 1023px) {
  /* Tablet overrides */
  .breakdance .foleo-grid.foleo-responsive--strict .section-container {
    padding-top: 80px !important;
    padding-right: 40px !important;
    padding-bottom: 80px !important;
    padding-left: 40px !important;
  }
  .breakdance .foleo-grid.foleo-responsive--strict .bde-columns.foleo-grid__row {
    flex-direction: column !important;
  }
  /* STRICT tablet: stacked columns must be 100% width */
  .breakdance .foleo-grid.foleo-responsive--strict .bde-columns.foleo-grid__row > .bde-column {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  /* STRICT tablet+mobile: panel padding */
  .breakdance .foleo-grid.foleo-responsive--strict .foleo-grid__panel {
    padding: var(--foleo-gap-40) !important;
  }
  /* STRICT: always collapse the 2-col text utility on tablet and below */
  .breakdance .foleo-grid.foleo-responsive--strict .foleo-text--cols-2 {
    column-count: 1 !important;
    column-gap: var(--foleo-gap-20) !important;
  }
}

@media (max-width: 479px) {
  /* Mobile overrides */
  .breakdance .foleo-grid.foleo-responsive--strict .section-container {
    padding-top: 60px !important;
    padding-right: 20px !important;
    padding-bottom: 60px !important;
    padding-left: 20px !important;
  }
  .breakdance .foleo-grid.foleo-responsive--strict .foleo-text--cols-2 {
    column-count: 1 !important;
    column-gap: 0 !important;
  }
}
/*two column text */

.foleo-text--cols-2 {
  column-count: 2;
  column-gap: var(--foleo-gap-20);
}

/* Tablet Portrait and below: single column */
@media (max-width: 1023px) {
  .foleo-text--cols-2 {
    column-count: 1;
  }
}

/* =========================
   END FOLEO Responsive Spec v1
   ========================= */


   .foleo-globalnav {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Logo notch */
.foleo-logo-notch{
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 99999;
  padding: 0;
  box-shadow: none;
  pointer-events: auto;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Hide logo notch when WP admin bar is present */
body.logged-in .foleo-logo-notch,
html.foleo-edit .foleo-logo-notch {
  display: none !important;
}

.foleo-logo-notch__link{
  text-decoration: none;
}

.foleo-logo-notch__icon{
  display: block;
  transition: transform 220ms ease, width 220ms ease, height 220ms ease;
}

.foleo-logo-notch__word{
  display: block;
  transform-origin: left center;
  max-width: 500px;
  overflow: hidden;
  white-space: nowrap;
  transition: opacity 220ms ease, transform 220ms ease, width 220ms ease, max-width 220ms ease, margin 220ms ease;
}

/* Fix inline SVG baseline gap in icon atoms */
.bde-icon-icon {
  line-height: 0;
}
.bde-icon-icon svg {
  display: block;
}
.breakdance-icon-atom {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.breakdance-icon-atom > svg {
  display: block;
}

/* scrolled state */
body.foleo--logo-collapsed .foleo-logo-notch__icon{
  transform: scale(.88);
}

body.foleo--logo-collapsed .foleo-logo-notch__word{
  opacity: 0;
  transform: translateX(-6px);
  pointer-events: none;
  max-width: 0;
  width: 0;
  margin: 0;
}

body.foleo--logo-collapsed .foleo-logo-notch{
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  padding-left: 12px !important;
  padding-right: 6px !important;
}

@supports selector(:has(*)) {
  @media (max-width: 768px) {
    html:has(.mobile-slide-panel.is-open) .foleo-switch {
      display: none !important;
      pointer-events: none !important;
    }
  }
}
