/* Corrections established against the live desktop/mobile visual baseline. */
body.bergland-site { background: #f0eae2; }

/* Native FAQ text retains the source rich-text viewer's wrapping behavior. */
[data-bergland-faq-answer] .sBuQfDg { white-space: break-spaces; }

/* Keep the native shared-record wrapper from becoming an extra grid item.
   The source footer itself owns row four of the page composition. */
.preserved-footer-group { display: contents; }

/* Captured slide-state classes must not offset the native active slide.
   Web Animations applied by runtime.js still take precedence during movement. */
.wixui-slideshow [data-testid="slidesWrapper"] > [data-bergland-slide] {
  transform: none;
  transition: none;
}

/* Source navigation overlays retain the same quiet ivory/green palette. */
.bergland-modal { background: #f0eae2; }
.bergland-dropdown {
  right: -22px;
  top: 57px;
  min-width: 93px;
  padding: 0;
  background: #fff;
  box-shadow: none;
}
.bergland-dropdown a {
  padding: 6px;
  font: 12px/15px avenir-lt-w01_85-heavy1475544,sans-serif;
}
.bergland-menu { padding: 98px 0 0; }
.bergland-menu nav { display: block; width: 229px; margin: 0 auto; }
.bergland-menu nav a {
  display: block;
  padding: 14px 0 17px;
  border-bottom: 1px solid #d1d4cb;
  font: 20px/24px din-next-w01-light,sans-serif;
  color: #000;
}
.bergland-menu nav a[aria-current="page"] { color: #8ba490; }
.bergland-menu .dialog-close { right: 18px; top: 32px; color: #8ba490; }

/* CKEditor combines equivalent nested spans on save. Keep this mobile
   subtitle's source size independent of the original span nesting. */
@media (max-width: 767px) {
  #d-comp-muuwdtu3 p,
  #d-comp-muuwdtu3 span { font-size: 16px !important; }
  #d-comp-muuwdtu3 p { line-height: normal !important; text-align: center !important; }
  /* Native FAQ category groups must not interrupt the source flex gaps.
     The source divider has half the question gap above it. */
  .preserved-responsive .bergland-faq-group { display: contents; }
  .preserved-responsive .bergland-faq-group > [data-bergland-faq-item] { margin-top: 0 !important; }
  .preserved-responsive .bergland-faq-group .swypcmf { margin-top: calc(var(--item-gap, 12px) / 2); }
}

/* Captured Wix page transitions do not apply to native TYPO3 navigation. */
@view-transition { navigation: none; }
