/* Independent behaviour and accessibility. Original layout is kept in original-*.css. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; }
:focus-visible { outline: 3px solid #847ACD; outline-offset: 5px; }
.local-skip { position: fixed; top: -100px; left: 20px; z-index: 20000; padding: 12px 20px; background: #222035; color: #fff; }
.local-skip:focus { top: 16px; }
.dtx-hero-left::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 701 701'%3E%3Cpath fill='%23d8d3ef' d='M701 164.064 534.224 0l-324.06 324.06V0H0v701h701V490.836H371.516z'/%3E%3C/svg%3E"); }
.dtx-block-gallery__inner { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.dtx-block-gallery__inner::-webkit-scrollbar { display: none; }
.dtx-block-gallery--slider { display: flex; gap: var(--swiper-slide-gap, 32px); width: max-content; }
.dtx-block-gallery--slider__item { flex: 0 0 auto; height: 100%; scroll-snap-align: start; }
.dtx-block-gallery--slider__item img { display: block; height: 100%; width: auto; max-width: none; }
.dtx-block-gallery--slider__buttons button:disabled { opacity: .4; cursor: default; }
.local-policy-note { margin: 24px auto 0; max-width: 1100px; padding: 20px 28px; background: #D8D3EF; color: #222035; font-size: 14px; line-height: 1.6; }
.local-contact { margin: auto; padding: 56px; width: min(920px, calc(100vw - 40px)); max-height: calc(100dvh - 40px); overflow-y: auto; background: #F7F6F5; color: #222035; border: 0; box-shadow: 0 20px 100px #22203533; }
.local-contact[open] { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.local-contact::backdrop { background: #222035aa; backdrop-filter: blur(6px); }
.local-contact h2 { font-size: 44px; line-height: 1.05; margin: 20px 0 24px; }
.local-contact p, .local-contact label { font-size: 15px; line-height: 1.6; }
.local-contact a { color: #5245AD; }
.local-close { position: absolute; right: 18px; top: 12px; font-size: 32px; width: 40px; height: 40px; padding: 0; color: #222035; background: transparent; border: 0; cursor: pointer; }
.local-contact .local-form-note { font-size: 12px; line-height: 1.7; margin-top: 28px; color: #666271; }
.local-contact form { margin: 12px 0 0; }
.local-contact label { display: block; font-weight: 600; margin-bottom: 18px; }
.local-contact label span { font-weight: 400; font-size: 12px; }
.local-contact input, .local-contact textarea { display: block; width: 100%; margin-top: 6px; background: #fff; border: 1px solid #D8D3EF; border-radius: 0; padding: 11px; font: 15px/1.5 Metropolis, sans-serif; color: #222035; resize: vertical; }
.local-primary { background: #5245AD; color: #F7F6F5; padding: 14px 18px; border: 0; font: 600 14px/1.5 Metropolis, sans-serif; cursor: pointer; }
.local-contact #contact-status { margin: 12px 0 0; font-size: 12px; color: #5245AD; }
.local-editor { position: fixed; z-index: 20000; bottom: 20px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 14px 18px; background: #222035; color: #fff; box-shadow: 0 8px 36px #22203533; font: 13px/1.5 Metropolis, sans-serif; }
.local-editor button { background: #847ACD; border: 0; color: #fff; padding: 8px 12px; font: inherit; cursor: pointer; }
.local-editor a { color: #fff; font-size: 12px; }
[data-local-editable]:hover, [data-local-editable]:focus { outline: 1px dashed #847ACD; outline-offset: 5px; }
@media (max-width: 700px) {
  /* The old floating side tab overlaps body copy on small screens. Contact remains in the header. */
  .dtx-cta { display: none; }
  .local-contact { padding: 40px 24px 28px; }
  .local-contact[open] { grid-template-columns: 1fr; gap: 8px; }
  .local-contact h2 { font-size: 36px; }
  .local-policy-note { margin: 20px; }
  .local-editor { gap: 8px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
