/* Site-wide mobile: prevent overflow, stack columns, keep type readable. */

html,
body,
#root {
  max-width: 100%;
}

html {
  overflow-x: clip;
}

body,
body.oxygen-aos-enabled,
#root {
  overflow-x: clip;
  overflow-y: visible;
}

img,
video,
canvas,
iframe,
embed,
object,
svg {
  max-width: 100%;
}

iframe,
video,
embed,
object {
  height: auto;
}

.ct-inner-content,
.ct-section,
.ct-section-inner-wrap,
.ct-new-columns,
.ct-div-block,
.oxy-header,
.oxy-header-container,
.oxy-header-row,
.splide,
.splide__track,
.oxy-dynamic-list,
.fluentform,
.ff-el-group,
.ff-el-input--content {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
.ct-headline,
.ct-text-block,
.ct-link-button {
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

input,
select,
textarea,
button,
.ff-el-form-control {
  max-width: 100%;
}

.cookieadmin-notice {
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .ct-new-columns {
    flex-direction: column;
  }

  .ct-new-columns > .ct-div-block {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 auto;
  }

  /* Stacked split sections: hide the 50% side background so copy is not covered. */
  #section-466-7,
  #section-479-7,
  #section-7-37,
  #section-143-37,
  #section-15-39,
  #section-22-39,
  #section-39-39,
  #section-47-39,
  #section-65-39,
  #section-73-39,
  #section-9-62,
  #section-43-62,
  #section-59-62,
  #section-13-67,
  #section-45-67,
  #section-7-72,
  #section-215-72,
  #section-70-81,
  #section-100-81 {
    background-image: none !important;
  }

  #div_block-15-35,
  #div_block-16-35,
  #div_block-29-35,
  #div_block-35-35,
  #div_block-39-35,
  #div_block-40-35,
  #div_block-59-35 {
    width: 100% !important;
    max-width: 100% !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  /* Footer nav: show stacked links instead of a second hamburger. */
  #_nav_menu-54-35 .oxy-menu-toggle {
    display: none !important;
  }

  #_nav_menu-54-35 .oxy-nav-menu-list,
  #_nav_menu-54-35.oxy-nav-menu .oxy-nav-menu-list {
    display: flex !important;
    flex-direction: column !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    background: transparent !important;
    overflow: visible !important;
  }

  #_nav_menu-54-35 .menu-item a {
    padding: 8px 0 !important;
    margin-right: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    max-width: 100%;
  }

  #_nav_menu-54-35 .sub-menu {
    position: static !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    background: transparent !important;
    padding-left: 12px;
    box-shadow: none !important;
  }

  #image-17-35,
  #image-8-35 {
    width: 100% !important;
    max-width: 280px;
    height: auto !important;
  }

  .oxy-header-left img,
  .oxy-header-center img,
  .oxy-header-right img {
    max-width: min(220px, 62vw);
    height: auto;
  }

  .ct-modal,
  .oxy-modal-container,
  [id^="modal-"] {
    max-width: 92vw !important;
  }
}

@media (max-width: 767px) {
  h1,
  h1.ct-headline {
    font-size: clamp(32px, 9vw, 48px) !important;
    line-height: 1.15 !important;
  }

  h2,
  h2.ct-headline {
    font-size: clamp(26px, 7.5vw, 38px) !important;
    line-height: 1.2 !important;
  }

  h3,
  h3.ct-headline {
    font-size: clamp(22px, 6vw, 30px) !important;
  }

  .ct-section-inner-wrap,
  .oxy-header-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    width: 100%;
  }

  #section-2-7 {
    height: auto !important;
    min-height: 100svh;
    overflow: hidden;
  }

  #section-2-7 > .ct-section-inner-wrap {
    min-height: 100svh;
    justify-content: center;
    padding-top: 120px !important;
    padding-bottom: 64px !important;
  }

  #section-2-37,
  #section-2-39,
  #section-2-62,
  #section-2-67,
  #section-2-72,
  #section-2-76,
  #section-2-81,
  #section-2-272,
  #section-7-3,
  #section-7-133,
  #section-161-95,
  #section-223-172 {
    height: auto !important;
    min-height: 420px;
  }

  #div_block-330-7,
  #div_block-53-35,
  #div_block-59-35,
  #div_block-40-35 {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
  }

  #div_block-39-35 {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    width: 100% !important;
  }

  #div_block-331-7,
  #div_block-332-7,
  #div_block-333-7,
  #div_block-334-7,
  #div_block-1178-7,
  #div_block-1179-7 {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #div_block-331-7,
  #div_block-332-7 {
    height: auto !important;
    min-height: 280px;
  }

  #link_button-687-7,
  #link_button-1064-7 {
    width: 100% !important;
    max-width: 100%;
  }

  #text_block-19-7,
  #text_block-12-39,
  #text_block-12-67 {
    font-size: clamp(20px, 5.5vw, 28px) !important;
    width: 100% !important;
  }

  #new_columns-14-7,
  #new_columns-8-39 {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .splide {
    overflow: hidden;
    width: 100%;
  }

  .splide__slide {
    max-width: 100%;
  }

  .splide__arrow {
    z-index: 2;
  }

  .oxy-dynamic-list :is([data-id="headline-518-7"]) {
    padding-left: 8px;
    padding-right: 8px;
  }

  .oxy-dynamic-list :is(
      [data-id="div_block-568-7"],
      [data-id="div_block-577-7"],
      [data-id="div_block-579-7"],
      [data-id="div_block-21-172"],
      [data-id="div_block-25-172"],
      [data-id="div_block-29-172"]
    ) {
    min-width: 0;
    padding-left: 4px;
    padding-right: 4px;
  }

  #div_block-221-7 {
    padding: 24px 16px !important;
  }

  #image-1176-7,
  #image-486-7 {
    width: 100% !important;
    height: auto !important;
  }

  .cookieadmin-notice {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    max-width: none !important;
    width: auto !important;
  }

  [data-aos="fade-up"] {
    transform: translate3d(0, 32px, 0);
  }

  [data-aos="fade-up"].aos-animate {
    transform: translateZ(0);
  }
}

@media (max-width: 479px) {
  #headline-4-7 {
    letter-spacing: 1.5px;
    font-size: 14px !important;
  }

  #div_block-8-7 {
    width: 100% !important;
  }

  #image-81-37,
  #image-117-37 {
    height: auto !important;
    width: 100% !important;
  }

  #span-200-37 {
    margin-right: 0 !important;
    position: static !important;
    float: none !important;
  }

  .oxy-nav-menu-open .oxy-nav-menu-list {
    max-width: 100vw;
    overflow-x: hidden;
  }
}
