/* Local behavior and accessibility; original page geometry stays in the vendored styles. */
.service-reference {
  width: 100%;
  min-width: 0;
  isolation: isolate;
  background: #fff;
  overflow: visible;
}
/* Let the story Lottie paint above the following testimonials band. */
.service-reference.service-reference--story-overlap {
  position: relative;
  z-index: 2;
  isolation: auto;
}
.service-reference .reference-body {
  margin: 0;
  min-width: 0;
  overflow: visible !important;
}
.service-reference .reference-page,
.service-reference .reference-main,
.service-reference .reference-content,
.service-reference .wf-wrap,
.service-reference .wf-container-main,
.service-reference .content {
  min-width: 0;
  overflow: visible !important;
}
.service-reference .reference-page-title {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.service-reference .reference-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
}
.service-reference [hidden] {
  display: none !important;
}
.service-reference #contact-us,
.service-reference #plans {
  scroll-margin-top: 120px;
}
.service-reference .elementor-invisible {
  visibility: visible;
}
/* These galleries no longer use the WordPress script that reveals them. */
.service-reference .nativeScroll {
  opacity: 1 !important;
  visibility: visible;
}
.service-reference .nsContent {
  overflow-x: auto !important;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  max-width: 100%;
}
.service-reference .nsContent::-webkit-scrollbar {
  display: none;
}
.service-reference .nsContent > .nsItem {
  flex-shrink: 0;
  scroll-snap-align: start;
}
.service-reference button.nsArrow {
  border: 0;
  cursor: pointer;
  padding: 0;
}
.service-reference
  :is(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #2c74ff !important;
  outline-offset: 4px;
}
.service-reference .reference-form-success,
.service-reference .reference-form-error {
  display: block;
  width: 100%;
  margin-top: 1.25rem !important;
  margin-bottom: 0;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.5;
}
.service-reference .reference-form-success {
  background: #ecfdf5;
  color: #166534;
}
.service-reference .reference-form-error {
  background: #fef2f2;
  color: #991b1b;
}
.service-reference .elementor-form button:disabled {
  opacity: 0.65;
  cursor: wait;
}
@media (prefers-reduced-motion: reduce) {
  .service-reference *,
  .service-reference *::before,
  .service-reference *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.service-reference .reference-body {
  font-feature-settings: "locl" 0;
}

/* WordPress uses the international Montserrat glyphs (its document is en-US).
   Keep the Bulgarian page language accessible without changing its typography. */
.service-reference * {
  font-feature-settings: "locl" 0 !important;
}

/* Wedding design previews: image + CTA open the live iframe modal. */
.service-reference .body-split-media.is-preview-trigger {
  cursor: pointer;
}
.service-reference .body-split-media.is-preview-trigger:focus-visible {
  outline: 2px solid #2c74ff;
  outline-offset: 4px;
}
.service-reference .body-split-media.is-preview-trigger img {
  transition: transform 0.3s ease;
}
.service-reference .body-split-media.is-preview-trigger:hover img {
  transform: scale(1.02);
}
@media (prefers-reduced-motion: reduce) {
  .service-reference .body-split-media.is-preview-trigger img {
    transition: none;
  }
}
