/* Styles for assets/js/vz-ui.js (the replacement for the WordPress/Elementor/plugin scripts).
   The plugins' own layout CSS stays in site.css / ir.css; this adds only the states their scripts
   used to set inline. */

/* popups (Popup Maker markup): open state, page scroll locked while open */
.pum-overlay.vz-pum-open { display: block !important; overflow-y: auto !important; opacity: 1 !important; }
html.vz-pum-locked, html.vz-pum-locked body { overflow: hidden; }
.pum-overlay.vz-pum-open .pum-container { opacity: 1; }
@media (max-width: 1023px) { .pum-overlay.vz-pum-open .pum-container { top: 24px; margin-bottom: 24px; } }

/* enquiry forms: messages written by vz-ui.js in the plugins' classes */
.wpforms-container .wpforms-error-container.vz-general { margin: 0 0 12px; padding: 10px 12px; border: 1px solid #b42318; border-radius: 6px; background: #fef3f2; color: #8a1c13; font-size: 14px; }
.wpforms-container em.wpforms-error { display: block; margin-top: 4px; font-style: normal; font-size: 13px; color: #b42318; }
.wpforms-confirmation-container-full:focus { outline: 2px solid #812e77; outline-offset: 2px; }
button[aria-busy="true"], input[type="submit"][disabled] { cursor: progress; opacity: .75; }
.wpcf7-not-valid-tip { display: block; margin-top: 4px; font-size: 13px; color: #b42318; }

/* carousels (ElementsKit client logos, Elementor image carousel): a scroll-snapping row */
.swiper.vz-carousel { overflow: hidden; position: relative; }
.swiper.vz-carousel .swiper-wrapper { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; transform: none !important; gap: 15px; }
.swiper.vz-carousel .swiper-wrapper::-webkit-scrollbar { display: none; }
.swiper.vz-carousel .swiper-slide { flex: 0 0 calc((100% - (var(--vz-per-view, 3) - 1) * 15px) / var(--vz-per-view, 3)); width: auto; height: auto; scroll-snap-align: start; }
.vz-carousel-pause { position: absolute; right: 4px; bottom: 4px; z-index: 2; width: 28px; height: 28px; padding: 0 !important; border: 1px solid #d6d1de !important; border-radius: 50% !important; background: rgba(255, 255, 255, .92) !important; cursor: pointer; opacity: .55; }
.vz-carousel-pause:hover, .vz-carousel-pause:focus-visible { opacity: 1; }
.vz-carousel-pause:focus-visible { outline: 2px solid #280e47; outline-offset: 2px; }
.vz-carousel-pause span { display: block; width: 8px; height: 10px; margin: 0 auto; border-left: 3px solid #280e47; border-right: 3px solid #280e47; }
.vz-carousel-pause.is-paused span { width: 0; height: 0; border: 0; border-left: 9px solid #280e47; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 10px; }

/* Investor Relations toggles and spoilers are buttons now: show keyboard focus */
.et_pb_toggle_title:focus-visible, .su-spoiler-title:focus-visible, .et_pb_tabs_controls a:focus-visible { outline: 2px solid #280e47; outline-offset: 2px; }
.et_pb_toggle_title { cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  .swiper.vz-carousel .swiper-wrapper { scroll-behavior: auto; }
  .animated { animation: none !important; }
}
