/* Components that replace the old third-party widgets. Each is a plain Elementor container or
   widget carrying one of these classes; content stays editable in Elementor. */

/* ---------- Header menu ---------- */
.wyse-hdr-nav .hfe-nav-menu__layout-horizontal .hfe-nav-menu { flex-wrap: nowrap; }
.wyse-hdr-nav .hfe-nav-menu a.hfe-menu-item { white-space: nowrap; }
.wyse-hdr-nav .hfe-nav-menu__layout-horizontal .hfe-nav-menu > li { margin-right: -4px; }
/* HFE's resize script writes an inline width/left on the menu for its full-width dropdown; on the
   desktop menu (no dropdown) a mis-timed measurement can pin it at width:0 and shove it right. */
.wyse-hdr-nav.hfe-nav-menu__breakpoint-none nav.hfe-nav-menu__layout-horizontal { width: auto !important; left: 0 !important; }
.elementor-button, .elementor-button:hover, .elementor-button:focus { text-decoration: none; }
.wyse-hdr-nav .hfe-nav-menu__layout-horizontal .sub-arrow { display: none; }
.wyse-hdr-nav .hfe-nav-menu__layout-horizontal .hfe-has-submenu-container a.hfe-menu-item { padding-right: 15px; }

/* ---------- Slider (hero + testimonials) ---------- */
.wyse-slider { position: relative; overflow: hidden; }
.wyse-slider__viewport { flex: 0 0 100%; width: 100%; max-width: 100%; min-width: 0; overflow: hidden; }
.wyse-slider__track {
	display: flex;
	flex-wrap: nowrap;
	width: 100%;
	transition: transform 0.5s ease;
	will-change: transform;
}
.wyse-slider__track > .wyse-slider__slide { flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; }
.wyse-slider .wyse-slider__slide { flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; }
/* Same layout before the script runs, so the first paint shows slide 1 only (no side-by-side flash). */
/* (Not in the editor: there every slide stacks so each can be edited.) */
body:not(.elementor-editor-active) .wyse-slider,
body:not(.elementor-editor-active) .wyse-slider > .e-con-inner { flex-wrap: nowrap !important; gap: 0 !important; }
body:not(.elementor-editor-active) .wyse-slider > .e-con,
body:not(.elementor-editor-active) .wyse-slider > .e-con-inner > .e-con { flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; }
.elementor-editor-active .wyse-slider { flex-wrap: wrap !important; }
.wyse-slider__arrow {
	position: absolute; top: 50%; z-index: 5;
	transform: translateY(-50%);
	width: 25px; height: 25px; padding: 0;
	border: 0; background: none; cursor: pointer;
	color: rgba(237, 237, 237, 0.9);
	display: flex; align-items: center; justify-content: center;
}
.wyse-slider__arrow svg { width: 100%; height: 100%; }
.wyse-slider__arrow--prev { left: 10px; }
.wyse-slider__arrow--next { right: 10px; }
.wyse-slider__arrow--next svg { transform: scaleX(-1); }
.wyse-slider__arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* Fade variant: slides stack in place. */
.wyse-slider--fade .wyse-slider__track { display: grid !important; transform: none !important; }
.wyse-slider--fade .wyse-slider__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0.6s; }
.wyse-slider--fade .wyse-slider__slide.is-active { opacity: 1; visibility: visible; }

/* Phone-only slider (side by side on larger screens). */
@media (max-width: 767px) {
	.wyse-mslider { position: relative; overflow: hidden; padding-bottom: 40px !important; }
	.wyse-mslider, .wyse-mslider > .e-con-inner { flex-wrap: nowrap !important; gap: 0 !important; }
	.wyse-mslider > .e-con, .wyse-mslider > .e-con-inner > .e-con { flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; }
	.wyse-mslider .wyse-slider__track { transition: transform 0.5s ease; }
}

/* Dots navigation */
.wyse-slider__dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 8px; z-index: 5; }
.wyse-slider__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #c4c4c4; cursor: pointer; }
.wyse-slider__dot.is-active { background: #010E3A; }

/* Testimonials carousel: small round navy arrows, as live (21px box, 14px icon). */
.wyse-slider--testimonials .wyse-slider__arrow { width: 21px; height: 21px; color: #010E3A; }
.wyse-slider--testimonials .wyse-slider__arrow svg { width: 14px; height: 14px; }
.wyse-slider--testimonials .wyse-slider__arrow--prev { left: 23px; }
.wyse-slider--testimonials .wyse-slider__arrow--next { right: 23px; }
@media (max-width: 767px) {
	.wyse-slider--testimonials .wyse-slider__arrow--prev { left: 8px; }
	.wyse-slider--testimonials .wyse-slider__arrow--next { right: 8px; }
}

/* Award badges on the hero (a 4-up grid, 2×2 on phones — the grid itself is set in Elementor). */
.wyse-hero__badges { max-width: 100%; }
.wyse-hero__badges .elementor-widget-image img { display: block; width: 100%; height: auto; }

/* ---------- Phone menu (HFE flyout), styled like the old theme's panel ---------- */
/* Hamburger pinned into the header bar 52px from the top (as the old theme did), so the menu
   column takes no row of its own on tablets. Tablet: 48×46 box, 28×4 bars, 20px from the edge;
   phone: 38×35 box, 22×3 bars, 10px from the edge. */
.elementor-section:has(.wyse-mnav) { position: relative; }
.elementor-column:has(.wyse-mnav),
.elementor-column:has(.wyse-mnav) > .elementor-widget-wrap { position: static; }
.elementor-widget.wyse-mnav { position: absolute !important; top: 52px; right: 20px; width: auto !important; max-width: none; margin: 0 !important; z-index: 5; }
.wyse-mnav .hfe-flyout-trigger .hfe-nav-menu-icon { position: relative; display: block; width: 48px; height: 46px; padding: 0; font-size: 0; line-height: 0; }
.wyse-mnav .hfe-flyout-trigger .hfe-nav-menu-icon svg { display: none; }
.wyse-mnav .hfe-flyout-trigger .hfe-nav-menu-icon::before {
	content: ''; position: absolute; left: 10px; top: 10px; width: 28px; height: 4px;
	background: #FFFFFF; box-shadow: 0 11px 0 #FFFFFF, 0 22px 0 #FFFFFF;
}
@media (max-width: 767px) {
	.elementor-widget.wyse-mnav { right: 10px; }
	.wyse-mnav .hfe-flyout-trigger .hfe-nav-menu-icon { width: 38px; height: 35px; }
	.wyse-mnav .hfe-flyout-trigger .hfe-nav-menu-icon::before { left: 8px; top: 8px; width: 22px; height: 3px; box-shadow: 0 8px 0 #FFFFFF, 0 16px 0 #FFFFFF; }
}
/* While the panel is open the close square takes over, so hide the hamburger. */
.wyse-mnav:has(.hfe-flyout-show) .hfe-flyout-trigger { visibility: hidden; }
.wyse-mnav .hfe-flyout-overlay { background: rgba(0, 0, 0, 0.3); }
.wyse-mnav .hfe-flyout-content { overflow: visible; height: 100%; }
.wyse-mnav .hfe-side { overflow: visible; box-shadow: none; }
.wyse-mnav .hfe-flyout-content nav { margin: 0; }
.wyse-mnav .hfe-flyout-content .hfe-nav-menu > li { border-bottom: 1px solid #cccccc; margin: 0 !important; }
.wyse-mnav .hfe-flyout-content .hfe-nav-menu a.hfe-menu-item { color: #303441; background: none; padding: 9px 15px; line-height: 24px; }
.wyse-mnav .hfe-flyout-content .hfe-nav-menu a.hfe-menu-item:hover,
.wyse-mnav .hfe-flyout-content .hfe-nav-menu .current-menu-item > a.hfe-menu-item { color: #FFFFFF; background: #010E3A; }
.wyse-mnav .hfe-flyout-content .sub-menu { background: #FFFFFF; }
.wyse-mnav .hfe-flyout-content .sub-menu li { border-top: 1px solid #cccccc; }
.wyse-mnav .hfe-flyout-content a.hfe-sub-menu-item { color: #303441; padding: 9px 15px 9px 30px; font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 700; text-transform: uppercase; }
/* Submenu arrow: chevron in its own cell with a divider, as on the old panel. */
.wyse-mnav .hfe-flyout-content .hfe-has-submenu-container a.hfe-menu-item { padding-right: 0; }
.wyse-mnav .hfe-flyout-content .sub-arrow { display: flex; align-items: center; justify-content: center; width: 40px; margin: -9px 0; align-self: stretch; border-left: 1px solid #cccccc; }
/* Close: a navy square just outside the panel's top-right corner. */
.wyse-mnav .hfe-flyout-close {
	position: absolute; top: 0 !important; right: -48px !important; left: auto !important; margin: 0 !important;
	width: 48px !important; height: 48px !important;
	display: flex; align-items: center; justify-content: center;
	background: #010E3A; padding: 13px; box-sizing: border-box;
}
.wyse-mnav .hfe-flyout-close svg { width: 22px !important; height: 22px !important; }

/* ---------- Typing headline ---------- */
.wyse-type__cursor { display: inline-block; margin-left: 2px; animation: wyse-blink 0.9s steps(1) infinite; }
@keyframes wyse-blink { 50% { opacity: 0; } }

/* ---------- Word-by-word reveal ---------- */
.wyse-words .wyse-words__w { display: inline-block; opacity: 0; transform: translateY(0.4em); transition: opacity 0.6s ease, transform 0.6s ease; }
.wyse-words.wyse-words--in .wyse-words__w { opacity: 1; transform: none; }

/* ---------- Fixed-width buttons (were 175px in the old button widget) ---------- */
.wyse-btn175 .elementor-button { width: 175px; justify-content: center; }
.wyse-btn175 .elementor-button-content-wrapper { justify-content: center; }
.elementor-button .elementor-button-icon svg { width: 12px; height: 12px; }
.wyse-btn-icon14 .elementor-button-icon svg { width: 14px; height: 14px; }
.wyse-btn-icon14 .elementor-button-icon svg path { fill: #010E3A; }

/* Converted components carry their spacing on the widgets; no theme paragraph/heading margins inside. */
.wyse-feature p, .wyse-member__desc p, .wyse-hero__desc p, .wyse-testimonial__text p:last-child,
.wyse-dual .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.wyse-feature .elementor-heading-title, .wyse-member .elementor-heading-title,
.wyse-hero .elementor-heading-title, .wyse-slider--testimonials .elementor-heading-title,
.wyse-title-box .elementor-heading-title { margin-bottom: 0; }

/* ---------- Feature list with dashed connector ---------- */
.wyse-feature { position: relative; }
.wyse-feature:not(:last-child)::after {
	content: '';
	position: absolute;
	left: calc(25px + 15.5px);
	top: calc(50% + 15.5px);
	height: calc(100% + 35px - 31px);
	border-left: 1px dashed #015AF2;
}

/* ---------- Info buttons (two lines + icon) ---------- */
/* Never wider than the grid cell: long titles wrap, as they did live. */
.elementor-widget.wyse-info-btn, .wyse-info-btn .elementor-widget-container { max-width: 100%; min-width: 0; }
.wyse-info-btn .elementor-icon-box-wrapper { max-width: 100%; }
.wyse-info-btn .elementor-icon-box-content { min-width: 0; }
.wyse-info-btn .elementor-icon-box-wrapper {
	display: inline-flex !important; flex-direction: row-reverse !important; align-items: flex-start !important; text-align: start !important; gap: 10px;
	padding: 20px; background: #010E3A; border-radius: 4px;
}
.wyse-info-btn .elementor-icon-box-title { margin: 0; font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 500; line-height: 19.2px; color: #fff; }
.wyse-info-btn .elementor-icon-box-title a,
.wyse-info-btn a { color: inherit; text-decoration: none; }
.wyse-info-btn .elementor-icon-box-description { margin: 6px 0 0; font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 500; line-height: 19.2px; color: #fff; }
.wyse-info-btn .elementor-icon-box-icon { margin: 0 !important; }
.wyse-info-btn .elementor-icon { font-size: 30px; color: #fff; fill: #fff; }
.wyse-info-btn .elementor-icon svg { width: 30px; height: 30px; }
.wyse-info-btn .elementor-icon svg path { fill: #fff; }

/* ---------- Blockquote with leading quote mark ---------- */
.wyse-quote .wyse-quote__text { margin: 0; }
.wyse-quote .wyse-quote__text::before {
	content: '';
	display: inline-block;
	width: 30px; height: 30px;
	margin-right: 15px;
	vertical-align: -6px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M464 32H336c-26.5 0-48 21.5-48 48v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48zm-288 0H48C21.5 32 0 53.5 0 80v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48z'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M464 32H336c-26.5 0-48 21.5-48 48v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48zm-288 0H48C21.5 32 0 53.5 0 80v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Image + content panel (logo badge over photo) ---------- */
.wyse-dual__media { position: relative; }
.wyse-dual__media .elementor-widget-image { position: absolute !important; left: 50%; top: 50%; transform: translate(-50%, -50%); width: auto !important; }
