/* Local behavior only. All design/typography rules live in the original-*.css files. */
[hidden] { display: none !important; }
@media (min-width: 993px) { [data-local-layout="mobile"] { display: none !important; } }
@media (max-width: 992px) { [data-local-layout="desktop"] { display: none !important; } }

html { scroll-behavior: auto; }
/* Without enhancement, answers must remain readable rather than permanently shut. */
html:not(.local-js) .con-kit-component-list-item-accordion__body {
  height: auto !important; overflow: visible !important; opacity: 1; transform: none;
}
html:not(.local-js) .con-kit-component-list-item-accordion__trigger { display: none; }
/* GDP-style local-only operation: no optional cookie notice, even without JS. */
[data-local-cookie] { display: none !important; }
.con-kit-component-menu-v2-more[data-local-open="true"] .con-kit-component-menu-v2-more__elements {
  visibility: visible; opacity: 1; pointer-events: auto; transform: translate3d(-50%, 0, 0);
}
.con-kit-component-menu-v2-more > button:focus-visible,
.con-kit-component-button:focus-visible,
.con-kit-atom-menu-v2-item-inside:focus-visible {
  outline: 2px solid #5dd4a9; outline-offset: 4px;
}
.local-form-status { margin: 14px 0 0; color: #263b35; font: inherit; font-size: 14px; line-height: 1.5; }

/* Native, local media playback. No provider iframe, cookies or remote SDK. */
.local-video { display: block; width: 100%; height: 100%; border: 0; border-radius: inherit; background: #000; object-fit: contain; }
.local-video-message {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  align-items: center; gap: 14px; padding: 24px; text-align: center; color: #fff;
  background: rgb(0 0 0 / .78); font: 400 16px/1.5 'Instrument Sans', sans-serif; z-index: 5;
}
.local-video-message p { margin: 0; max-width: 36em; }
.local-video-message button {
  padding: 8px 20px; border: 0; border-radius: 4px; background: #5dd4a9;
  color: #061131; font: inherit; cursor: pointer;
}
.con-kit-modal-autosize img {
  width: auto; height: auto; max-width: 95vw; max-height: calc(var(--window-inner-height, 100vh) - 140px);
}
/* The source builder duplicates layouts at tablet widths and its negative grid
   gutters can extend beyond the viewport. Retain one layout and give it room. */
@media (min-width: 600px) and (max-width: 1199px) {
  section:not(.con-kit-section--type-header) .con-kit-container {
    max-width: calc(100vw - 48px) !important; min-width: 0 !important;
  }
  section:not(.con-kit-section--type-header) .con-kit-layout {
    width: 100% !important; max-width: 100% !important;
    margin-left: 0 !important; margin-right: 0 !important;
  }
  [data-local-layout="mobile"] .con-kit-component-full-size--enable {
    --atom-fullsize-left: 0px !important; --atom-fullsize-right: 0px !important;
  }
  [data-local-layout="mobile"] .con-kit-component-video-preview {
    width: 100% !important; max-width: 100% !important;
    margin-left: 0 !important; margin-right: 0 !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
