/* Eminence Home Care, Elementor build: site-wide CSS that the Elementor panel cannot express.
   Colors use the Elementor global colors (Site Settings), so palette changes still apply. */

/* ---------- Header: desktop menu (HFE Navigation Menu, 1024px+) ---------- */
/* dropdowns centered under their item, as wide as the longest entry (min 176px), no dividers */
.cws-desktop-nav .hfe-nav-menu .sub-menu {
	left: 50% !important; transform: translateX(-50%); width: max-content !important; min-width: 176px;
	padding: 8px 0; border-radius: 8px; overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);
}
.cws-desktop-nav .hfe-nav-menu .sub-menu a.hfe-sub-menu-item { white-space: nowrap; border: 0; }

/* ---------- Header: menu below 1024px (hamburger) ---------- */
/* the open panel continues the header's translucent bar (navy once the page is scrolled), items indented like the original */
.cws-mobile-nav .hfe-active-menu + nav.hfe-nav-menu__layout-horizontal { background: rgba(0, 0, 0, .5) !important; padding: 24px 32px; box-sizing: border-box; border-radius: 0 !important; }
#referenceDiv.cws-scrolled .cws-mobile-nav .hfe-active-menu + nav.hfe-nav-menu__layout-horizontal { background: var(--e-global-color-primary, #1B2E59) !important; }
.cws-mobile-nav nav.hfe-nav-menu__layout-horizontal { position: absolute !important; } /* closed panel takes no room in the header row */
.cws-mobile-nav .hfe-nav-menu__layout-horizontal .hfe-nav-menu { background: transparent; }
.cws-mobile-nav .hfe-nav-menu > li > a.hfe-menu-item { border: 0 !important; }
.cws-mobile-nav .hfe-nav-menu__toggle { width: 40px; height: 40px; display: flex !important; align-items: center; justify-content: center; border-radius: 8px; }
.cws-mobile-nav .hfe-nav-menu__toggle:hover { background: var(--e-global-color-primary, #1B2E59); }
.cws-mobile-nav .hfe-nav-menu-icon svg { width: 20px; height: 20px; }
/* submenus open as a white card floating under the item */
.cws-mobile-nav .hfe-nav-menu .menu-item-has-children { position: relative; }
.cws-mobile-nav .hfe-nav-menu .sub-menu {
	position: absolute !important; top: calc(100% + 10px) !important; left: 0 !important; right: 0; width: auto !important;
	background: #fff !important; border-radius: 8px; padding: 8px 0; z-index: 20;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1) !important;
}
.cws-mobile-nav .hfe-nav-menu .sub-menu a.hfe-sub-menu-item {
	color: var(--e-global-color-primary, #1B2E59) !important; background: transparent !important;
	font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; padding: 8px 16px !important; border: 0 !important;
}
.cws-mobile-nav .hfe-nav-menu .sub-menu a.hfe-sub-menu-item:hover { background: var(--e-global-color-primary, #1B2E59) !important; color: #fff !important; }

/* ---------- Footer menu ---------- */
.cws-footer-nav .hfe-nav-menu a.hfe-menu-item { border: 0 !important; }
/* one row like the original flex list: where the row is too narrow (768px) the links shrink and their text wraps inside
   them, centered, instead of the last link dropping to a second row (QA R2-06) */
.cws-footer-nav .hfe-nav-menu__layout-horizontal ul.hfe-nav-menu { flex-wrap: nowrap; align-items: flex-start; }
/* min-width auto as the original <li>s: a one-word link never shrinks, the long ones wrap (768px, QA R5-08) */
.cws-footer-nav .hfe-nav-menu__layout-horizontal ul.hfe-nav-menu > li { flex: 0 1 auto; min-width: auto; }
.cws-footer-nav .hfe-nav-menu__layout-horizontal a.hfe-menu-item { white-space: normal; text-align: center; justify-content: center; }
/* the original links were inline boxes (p-2) in a centered <li>: when one wraps, its left padding stays on the first line
   and its right padding on the last, so the lines sit 4px right / left of center, as here (768px, QA R5-08) */
.cws-footer-nav .hfe-nav-menu__layout-horizontal ul.hfe-nav-menu > li { text-align: center; }
.cws-footer-nav .hfe-nav-menu__layout-horizontal ul.hfe-nav-menu > li > a.hfe-menu-item { display: inline; }

/* ---------- Video boxes (Elementor Video widget, image overlay + lightbox) ---------- */
/* the thumbnail fills its box (the original used a background image), with the original's 20% dark tint and plain play icon */
.cws-video-fill, .cws-video-fill > .elementor-widget-container, .cws-video-fill .elementor-wrapper { height: 100%; }
.cws-video-fill .elementor-wrapper { aspect-ratio: auto !important; --video-aspect-ratio: auto; }
.cws-video-fill .elementor-custom-embed-image-overlay { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cws-video-fill .elementor-custom-embed-image-overlay::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .2); z-index: 1; } /* over the thumbnail, as bg-black/20 */
.cws-video-fill .elementor-custom-embed-play { z-index: 2; }
.cws-video-fill .elementor-custom-embed-play svg { filter: none; width: 72px; height: 72px; opacity: 1; } /* solid white like the original (Elementor dims it to 80%) */
.cws-video-fill .elementor-custom-embed-play i { text-shadow: none; }
/* page does not scroll behind an open Elementor lightbox (as the original video modal) */
html:has(body > .elementor-lightbox:not([style*="display: none"])) { overflow: hidden; }
/* video lightbox as the original modal (max-w-2xl with 16px padding): player 640x360, full width minus 32px on phones,
   16px below the viewport center, close button 32x32 just above its right edge. Elementor sizes the inner wrapper
   to 85vw/95vw of the viewport, so the wrapper and the iframe are tied to the container here as well.
   Backdrop, close icon color and hover color: Site Settings > Lightbox (builder/kit.php). */
.elementor-lightbox:has(.elementor-video-container) { --cws-player-w: min(640px, calc(100vw - 32px)); }
.elementor-lightbox .elementor-video-container { width: var(--cws-player-w) !important; height: auto !important; top: calc(50% + 16px) !important; }
.elementor-lightbox .elementor-video-container .elementor-video-wrapper { width: 100% !important; height: auto !important; max-width: none !important; max-height: none !important; aspect-ratio: 16 / 9; }
.elementor-lightbox .elementor-video-container .elementor-video-wrapper iframe, .elementor-lightbox .elementor-video-container .elementor-video-wrapper video { display: block; width: 100% !important; height: 100% !important; max-height: none !important; max-width: none !important; }
.elementor-lightbox .elementor-video-container .elementor-video-wrapper, .elementor-lightbox .elementor-video-container iframe { border-radius: 8px; overflow: hidden; }
.elementor-lightbox:has(.elementor-video-container) .dialog-lightbox-close-button {
	top: calc(50% + 16px - var(--cws-player-w) * 9 / 32 - 40px) !important; left: calc(50% + var(--cws-player-w) / 2 - 40px) !important;
	inset-inline-end: auto !important; right: auto !important; width: 32px; height: 32px; margin: 0 !important; padding: 0 !important;
	align-items: center; justify-content: center; border-radius: 8px;
}
.elementor-lightbox:has(.elementor-video-container) .dialog-lightbox-close-button:hover { background: rgba(255, 255, 255, .1); }
.cws-video-fill .elementor-custom-embed-image-overlay img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Landing pages: header menu (HFE Navigation Menu, the page's own WordPress menu) ---------- */
.cws-landing-nav .cws-mobile-only { display: none !important; }        /* "Get Started" is a separate button on desktop */
.cws-landing-nav a.hfe-menu-item { position: relative; transition: transform .2s ease, color .2s ease; }
/* one row like the original flex nav: when space runs out a link wraps inside itself ("About CFI" on two lines at 768px)
   instead of the last link dropping to a second row */
.cws-landing-nav ul.hfe-nav-menu { flex-wrap: nowrap; align-items: center; }
.cws-landing-nav ul.hfe-nav-menu > li { min-width: 0; flex-shrink: 1; }
.cws-nav-underline a.hfe-menu-item:hover { transform: translateY(-2px); }
.cws-nav-underline a.hfe-menu-item::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px; background: var(--e-global-color-secondary, #CEA961); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.cws-nav-underline a.hfe-menu-item:hover::after { transform: scaleX(1); transform-origin: left; }
.cws-landing-mnav .hfe-nav-menu__toggle { width: 40px; height: 34px; display: flex !important; align-items: center; justify-content: center; }
.cws-landing-mnav .hfe-nav-menu-icon { padding: 0 !important; border: 0 !important; line-height: 0; }
.cws-landing-mnav .hfe-nav-menu-icon svg { width: 24px; height: 18px; }
.cws-landing-mnav nav.hfe-nav-menu__layout-horizontal { position: absolute !important; }
.cws-landing-mnav .hfe-active-menu + nav { border-bottom: 1px solid #E2E8F0; }
.cws-landing-mnav .hfe-nav-menu li.cws-menu-cta > a.hfe-menu-item { background: var(--e-global-color-secondary, #CEA961) !important; justify-content: center; text-align: center; }
.cws-landing-mnav .hfe-nav-menu li:last-child > a.hfe-menu-item { border-bottom: 0; }

/* ---------- Landing pages: FAQ cards (Elementor Accordion). Text, icons and colors are in the widget panel. ---------- */
.cws-faq-card .e-n-accordion-item { overflow: hidden; }
.cws-faq-pa .e-n-accordion-item, .cws-faq-nj .e-n-accordion-item { border: 1px solid #E2E8F0; border-radius: 16px; background: #FDFBF7; }
.cws-faq-ct .e-n-accordion-item { border: 1.5px solid #E2E8F0; border-radius: 12px; background: #FFFFFF; }
.cws-faq-md .e-n-accordion-item { border: 1px solid #E8E6E1; border-radius: 12px; background: #F7F5F0; padding: 0 24px; }
.cws-faq-lines .e-n-accordion-item:first-child { border-top: 1px solid #E8E6E1; }
.cws-faq-card .e-n-accordion-item-title, .cws-faq-lines .e-n-accordion-item-title { align-items: center; }
.e-n-accordion-item-title-icon span > svg { width: auto; }
/* question-to-icon spacing of the originals. Elementor ignores its "Spacing" control while the title is set to stretch
   (icon at the far end) and uses 10px, which made long questions wrap differently on phones */
.elementor-widget-n-accordion.cws-faq-pa, .elementor-widget-n-accordion.cws-faq-nj, .elementor-widget-n-accordion.cws-faq-md { --n-accordion-icon-gap: 0 16px; }
.elementor-widget-n-accordion.cws-faq-lines { --n-accordion-icon-gap: 0 14px; }
.elementor-widget-n-accordion.cws-faq-ct { --n-accordion-icon-gap: 0 12px; }

/* closed hamburger panels take no room at all (HFE only hides them visually, which widened phone pages) */
:is(.cws-landing-mnav, .cws-mobile-nav) .hfe-nav-menu__toggle:not(.hfe-active-menu) + nav.hfe-nav-menu__layout-horizontal { display: none !important; }
@media (max-width: 639px) { .cws-burger-tight .hfe-nav-menu__toggle { width: 24px; height: 18px; } }   /* NJ: p-0 below 640px */
/* keyboard focus on menu items: the browser's own focus ring, as on the original site (round 3, QA R3-10) */
.hfe-nav-menu .hfe-has-submenu-container:focus-visible, .hfe-nav-menu a.hfe-menu-item:focus-visible { outline: revert; }
/* footer menu on phones: 8px between the stacked links (gap-2 in the original) */
.cws-footer-nav .hfe-nav-menu__layout-vertical .hfe-nav-menu > li:not(:last-child) { margin-bottom: 8px !important; }

/* Accordion icons drawn with strokes (chevrons, plus signs): Elementor only sets "fill", so pass the icon colors on as "color" */
.elementor-widget-n-accordion .e-n-accordion-item-title-icon span > svg { color: var(--n-accordion-icon-normal-color); }
.elementor-widget-n-accordion .e-n-accordion-item-title:hover .e-n-accordion-item-title-icon span > svg { color: var(--n-accordion-icon-hover-color); }
.elementor-widget-n-accordion .e-n-accordion-item[open] > .e-n-accordion-item-title .e-n-accordion-item-title-icon span > svg { color: var(--n-accordion-icon-active-color); }

/* Icon widgets are exactly as tall as the icon (Elementor's wrapper otherwise adds a text line box below it) */
.elementor-widget-icon .elementor-icon-wrapper { line-height: 0; }
.elementor-widget-icon .elementor-icon svg { display: block; }
/* HFE hides hover dropdowns up to 1024px wide; the desktop menu is used from 1024px, so allow them there */
@media (min-width: 1024px) {
	.cws-desktop-nav .hfe-nav-menu .menu-item-has-children:hover > .sub-menu,
	.cws-desktop-nav .hfe-nav-menu .menu-item-has-children:focus-within > .sub-menu { visibility: visible !important; opacity: 1 !important; }
}
.cws-landing-nav .hfe-nav-menu > li:has(+ li.cws-mobile-only:last-child) { margin-right: 0 !important; }   /* no gap after the last visible link */
/* Elementor's ".elementor a { text-decoration: none }" outranked the original Tailwind underline utility */
.elementor a.underline, .elementor .underline > a { text-decoration-line: underline; }

/* PA landing (original menu breakpoint 1200px): Header & Footer Builder only switches its hamburger at 1024px, so its
   tablet rules are repeated for 1025-1199px on the PA menu widget (class cws-burger-xl). Copied from HFE 2.9.8
   inc/widgets-css/frontend.css, selectors scoped (QA R2-02). */
@media (min-width: 1025px) and (max-width: 1199px) {
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-nav-menu__layout-horizontal li,
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-nav-menu{
width: 100%;
margin-right:0px;
}
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-layout-horizontal .hfe-nav-menu__toggle,
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-layout-vertical .hfe-nav-menu__toggle {
display: block;
}
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-nav-menu__layout-horizontal .hfe-nav-menu {
visibility: hidden;
opacity: 0;
}
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-active-menu + .hfe-nav-menu__layout-horizontal .hfe-nav-menu {
visibility: visible;
opacity: 1;
}
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-nav-menu__layout-horizontal,
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-nav-menu__layout-vertical {
visibility: hidden;
opacity: 0;
height: 0;
}
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-active-menu + .hfe-nav-menu__layout-horizontal,
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-active-menu + .hfe-nav-menu__layout-vertical {
visibility: visible;
opacity: 1;
height: auto;
}
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-active-menu.hfe-active-menu-full-width + .hfe-nav-menu__layout-horizontal .hfe-nav-menu {
position: relative;
}
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-active-menu.hfe-active-menu-full-width + .hfe-nav-menu__layout-horizontal,
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-active-menu.hfe-active-menu-full-width + .hfe-nav-menu__layout-vertical {
position: absolute;
}
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-nav-menu__layout-horizontal .sub-menu {
visibility: hidden;
opacity: 0;
}
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-nav-menu__layout-horizontal .menu-item-has-children .menu-item-has-children .sub-menu {
top: 0;
left: 0;
}
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-layout-horizontal .hfe-nav-menu__toggle,
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-layout-vertical .hfe-nav-menu__toggle
{
visibility: visible;
opacity: 1;
display: block;
}
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-nav-menu__layout-vertical {
float: none;
}
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-nav-menu__layout-horizontal .hfe-nav-menu .menu-item-has-children:hover > .sub-menu,
.hfe-nav-menu__breakpoint-mobile .hfe-nav-menu__layout-horizontal .hfe-nav-menu .menu-item-has-children:hover > .sub-menu,
.hfe-nav-menu__breakpoint-none .hfe-nav-menu__layout-horizontal .hfe-nav-menu .menu-item-has-children:hover > .sub-menu {
visibility: hidden;
opacity: 0;
-webkit-transition: none;
transition: none;
}
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-menu-toggle:hover {
border:1px dotted;
}
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-menu-toggle {
border:1px dotted transparent;
}
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-nav-menu__layout-horizontal .sub-menu {
position: relative;
height: 0;
}
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-nav-menu__layout-horizontal .sub-menu {
position: relative;
height: 0;
top: 0;
}
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .saved-content,
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .sub-menu,
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .child {
left: 0 !important;
width:auto !important;
}
.hfe-nav-menu .sub-menu {
min-width: auto;
margin: 0;
}
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-nav-menu__layout-horizontal .hfe-nav-menu .sub-arrow {
padding: 10px;
}
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet.hfe-submenu-icon-arrow .hfe-nav-menu__layout-horizontal .menu-item-has-children ul a .sub-arrow i:before{
content: '';
}
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet.hfe-submenu-icon-classic .hfe-nav-menu__layout-horizontal .menu-item-has-children ul a .sub-arrow i:before{
content: '';
}
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet.hfe-submenu-icon-arrow .hfe-nav-menu__layout-horizontal .menu-item-has-children .sub-menu-active a .sub-arrow i:before{
content: '';
}
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet.hfe-submenu-icon-classic .hfe-nav-menu__layout-horizontal .menu-item-has-children .sub-menu-active a .sub-arrow i:before{
content: '';
}
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet.hfe-submenu-icon-plus .hfe-nav-menu__layout-horizontal .menu-item-has-children .sub-menu-active a .sub-arrow i:before{
content: '-';
}
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-nav-menu .sub-menu{
-webkit-box-shadow: none;
box-shadow: none;
}
.hfe-nav-menu__breakpoint-mobile.hfe-submenu-icon-arrow .hfe-nav-menu__layout-horizontal .menu-item-has-children .sub-menu-active a .sub-arrow i:before,
.hfe-nav-menu__breakpoint-none.hfe-submenu-icon-arrow .hfe-nav-menu__layout-horizontal .menu-item-has-children .sub-menu-active a .sub-arrow i:before{
content: '';
}
.hfe-nav-menu__breakpoint-mobile.hfe-submenu-icon-classic .hfe-nav-menu__layout-horizontal .menu-item-has-children .sub-menu-active a .sub-arrow i:before,
.hfe-nav-menu__breakpoint-none.hfe-submenu-icon-classic .hfe-nav-menu__layout-horizontal .menu-item-has-children .sub-menu-active a .sub-arrow i:before{
content: ''
}
.hfe-nav-menu__breakpoint-mobile.hfe-submenu-icon-arrow .hfe-nav-menu__layout-horizontal .menu-item-has-children .sub-menu-active a.hfe-menu-item .sub-arrow i:before,
.hfe-nav-menu__breakpoint-none.hfe-submenu-icon-arrow .hfe-nav-menu__layout-horizontal .menu-item-has-children .sub-menu-active a.hfe-menu-item .sub-arrow i:before{
content: '';
}
.hfe-nav-menu__breakpoint-mobile.hfe-submenu-icon-classic .hfe-nav-menu__layout-horizontal .menu-item-has-children .sub-menu-active a.hfe-menu-item .sub-arrow i:before,
.hfe-nav-menu__breakpoint-none.hfe-submenu-icon-classic .hfe-nav-menu__layout-horizontal .menu-item-has-children .sub-menu-active a.hfe-menu-item .sub-arrow i:before{
content: ''
}
.hfe-submenu-animation-slide_up .hfe-layout-horizontal .menu-item-has-children ul.sub-menu,
.hfe-submenu-animation-slide_up .hfe-layout-horizontal .menu-item-has-children:hover ul.sub-menu,
.hfe-submenu-animation-slide_down .hfe-layout-horizontal .menu-item-has-children ul.sub-menu,
.hfe-submenu-animation-slide_down .hfe-layout-horizontal .menu-item-has-children:hover ul.sub-menu {
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
.elementor-widget-hfe-nav-menu.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-nav-menu-layout:not(.hfe-pointer__framed) .menu-item.parent a.hfe-menu-item:after,
.elementor-widget-hfe-nav-menu.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-nav-menu-layout:not(.hfe-pointer__framed) .menu-item.parent a.hfe-menu-item:before {
background-color: unset!important;
}
.elementor-widget-hfe-nav-menu.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-pointer__framed .menu-item.parent a.hfe-menu-item:before{
border: 0px!important;
}
.elementor-widget-hfe-nav-menu.cws-burger-xl.hfe-nav-menu__breakpoint-tablet .hfe-pointer__text .menu-item.parent a.hfe-menu-item:hover, .hfe-pointer__text  .menu-item.parent a.hfe-menu-item:focus{
-webkit-transform: none!important;
-ms-transform: none!important;
transform: none!important;
}
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet.hfe-nav-menu__align-justify .hfe-nav-menu__layout-horizontal .hfe-nav-menu li a.hfe-menu-item,
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet.hfe-nav-menu__align-justify .hfe-nav-menu__layout-horizontal .hfe-nav-menu li a.hfe-sub-menu-item,
.cws-burger-xl.hfe-nav-menu__breakpoint-tablet.hfe-nav-menu__align-justify .hfe-nav-menu__layout-horizontal .hfe-nav-menu li.hfe-button-wrapper {
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-moz-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
}
}
/* visibility thresholds inside an Elementor breakpoint band (from the original page CSS) */
@media (max-width: 400px) { .cws-hide-lt-401 { display: none !important; } }
@media (max-width: 1199px) { .cws-hide-lt-1200 { display: none !important; } }
@media (min-width: 1200px) { .cws-hide-gte-1200 { display: none !important; } }
/* PA hamburger panel 1025-1199px: the panel look HFE generates for its own breakpoint only (values = the PA menu
   widget's panel settings: Manrope 16/24, black on #FDFBF7, 12px 16px, 1px #E2E8F0 dividers, 24px below the bar) */
@media (min-width: 1025px) and (max-width: 1199px) {
	.cws-burger-xl .hfe-active-menu + nav.hfe-nav-menu__layout-horizontal { margin-top: 24px; background: #FDFBF7; }
	.cws-burger-xl nav.hfe-nav-menu__layout-horizontal li.menu-item { border-bottom: 1px solid #E2E8F0; }
	.cws-burger-xl nav.hfe-nav-menu__layout-horizontal li.menu-item:last-child { border-bottom: 0; }
	.cws-burger-xl nav.hfe-nav-menu__layout-horizontal a.hfe-menu-item { padding: 12px 16px !important; line-height: 24px !important; background: #FDFBF7; }
	.cws-burger-xl nav.hfe-nav-menu__layout-horizontal a.hfe-menu-item:hover { background: #F1F5F9; }
}
/* Decoration/overlay layers (hero photo washes, gradients) cover their whole section at every width: anchored top and
   bottom instead of a per-breakpoint height, which fell short where the section grows inside a band (QA R2-11) */
.e-con.cws-deco, .e-con.cws-overlay { top: 0 !important; bottom: 0 !important; min-height: 0 !important; height: auto !important; }
.elementor-widget.cws-cover { top: 0 !important; bottom: 0 !important; height: auto !important; }
.elementor-widget.cws-cover > .elementor-widget-container, .elementor-widget.cws-cover img { height: 100% !important; }
/* CT landing "btn-gold": the page CSS gradient belongs on the button, not on the full-width widget box (QA R2-09).
   The gradient itself is in the Button widget's Background setting; the original hover lift stays here. */
.elementor-widget-button.btn-gold { background: none !important; transform: none !important; box-shadow: none !important; transition: none !important; }
.elementor-widget-button.btn-gold .elementor-button { transition: transform .2s ease, box-shadow .2s ease; }
.elementor-widget-button.btn-gold .elementor-button:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(206, 169, 97, .55); }
/* Home "Read More / Read Less" toggles: on touch screens the original had no hover color (Tailwind hover: only applies
   where the device can hover), so after a tap the button stays navy instead of keeping the hover/focus purple (QA R2-21).
   Normal color = the global Primary color these buttons are linked to. */
@media (hover: none) {
	.showText .elementor-button:is(:hover, :focus, :active) { background-color: var(--e-global-color-primary, #1B2E59) !important; }
}

/* Button icons at their original size (Elementor draws them 1em wide, no size control) and label parts spaced by the
   original flex gap; classes written by the converter (QA R2-35) */
.cws-btn-icon-10 .elementor-button-icon svg { width: 10px; height: 10px; }
.cws-btn-icon-11 .elementor-button-icon svg { width: 11px; height: 11px; }
.cws-btn-icon-12 .elementor-button-icon svg { width: 12px; height: 12px; }
.cws-btn-icon-13 .elementor-button-icon svg { width: 13px; height: 13px; }
.cws-btn-icon-14 .elementor-button-icon svg { width: 14px; height: 14px; }
.cws-btn-icon-15 .elementor-button-icon svg { width: 15px; height: 15px; }
.cws-btn-icon-16 .elementor-button-icon svg { width: 16px; height: 16px; }
.cws-btn-icon-17 .elementor-button-icon svg { width: 17px; height: 17px; }
.cws-btn-icon-18 .elementor-button-icon svg { width: 18px; height: 18px; }
.cws-btn-icon-19 .elementor-button-icon svg { width: 19px; height: 19px; }
.cws-btn-icon-20 .elementor-button-icon svg { width: 20px; height: 20px; }
.cws-btn-icon-21 .elementor-button-icon svg { width: 21px; height: 21px; }
.cws-btn-icon-22 .elementor-button-icon svg { width: 22px; height: 22px; }
.cws-btn-icon-23 .elementor-button-icon svg { width: 23px; height: 23px; }
.cws-btn-icon-24 .elementor-button-icon svg { width: 24px; height: 24px; }
.cws-btn-icon-25 .elementor-button-icon svg { width: 25px; height: 25px; }
.cws-btn-icon-26 .elementor-button-icon svg { width: 26px; height: 26px; }
.cws-btn-icon-27 .elementor-button-icon svg { width: 27px; height: 27px; }
.cws-btn-icon-28 .elementor-button-icon svg { width: 28px; height: 28px; }
.cws-btn-icon-29 .elementor-button-icon svg { width: 29px; height: 29px; }
.cws-btn-icon-30 .elementor-button-icon svg { width: 30px; height: 30px; }
.cws-btn-icon-31 .elementor-button-icon svg { width: 31px; height: 31px; }
.cws-btn-icon-32 .elementor-button-icon svg { width: 32px; height: 32px; }
.cws-btn-gap-4 .elementor-button-text { display: inline-flex; align-items: center; gap: 4px; }
.cws-btn-gap-6 .elementor-button-text { display: inline-flex; align-items: center; gap: 6px; }
.cws-btn-gap-8 .elementor-button-text { display: inline-flex; align-items: center; gap: 8px; }
.cws-btn-gap-10 .elementor-button-text { display: inline-flex; align-items: center; gap: 10px; }
.cws-btn-gap-12 .elementor-button-text { display: inline-flex; align-items: center; gap: 12px; }
.cws-btn-gap-16 .elementor-button-text { display: inline-flex; align-items: center; gap: 16px; }

/* Round 3 */
/* traced icons drawn at their original height and proportions (QA R3-01 hero buttons, R3-11 card icons) */
.cws-btn-iconh-10 .elementor-button-icon svg { height: 10px; width: auto; }
.cws-btn-iconh-11 .elementor-button-icon svg { height: 11px; width: auto; }
.cws-btn-iconh-12 .elementor-button-icon svg { height: 12px; width: auto; }
.cws-btn-iconh-13 .elementor-button-icon svg { height: 13px; width: auto; }
.cws-btn-iconh-14 .elementor-button-icon svg { height: 14px; width: auto; }
.cws-btn-iconh-15 .elementor-button-icon svg { height: 15px; width: auto; }
.cws-btn-iconh-16 .elementor-button-icon svg { height: 16px; width: auto; }
.cws-btn-iconh-17 .elementor-button-icon svg { height: 17px; width: auto; }
.cws-btn-iconh-18 .elementor-button-icon svg { height: 18px; width: auto; }
.cws-btn-iconh-19 .elementor-button-icon svg { height: 19px; width: auto; }
.cws-btn-iconh-20 .elementor-button-icon svg { height: 20px; width: auto; }
.cws-btn-iconh-21 .elementor-button-icon svg { height: 21px; width: auto; }
.cws-btn-iconh-22 .elementor-button-icon svg { height: 22px; width: auto; }
.cws-btn-iconh-23 .elementor-button-icon svg { height: 23px; width: auto; }
.cws-btn-iconh-24 .elementor-button-icon svg { height: 24px; width: auto; }
.cws-btn-iconh-25 .elementor-button-icon svg { height: 25px; width: auto; }
.cws-btn-iconh-26 .elementor-button-icon svg { height: 26px; width: auto; }
.cws-btn-iconh-27 .elementor-button-icon svg { height: 27px; width: auto; }
.cws-btn-iconh-28 .elementor-button-icon svg { height: 28px; width: auto; }
.cws-btn-iconh-29 .elementor-button-icon svg { height: 29px; width: auto; }
.cws-btn-iconh-30 .elementor-button-icon svg { height: 30px; width: auto; }
.cws-btn-iconh-31 .elementor-button-icon svg { height: 31px; width: auto; }
.cws-btn-iconh-32 .elementor-button-icon svg { height: 32px; width: auto; }
.cws-icon-natural .elementor-icon svg { width: auto; height: 1em; }
.cws-icon-natural .elementor-icon { display: inline-flex; }
/* ... and gives way when its box is narrower (home "We Lead With Our Hearts" strips at 320/360/1024: the original <img>
   shrank to the strip; here the drawing keeps its proportions inside the same box, QA R5-03) */
.cws-icon-natural .elementor-icon, .cws-icon-natural .elementor-icon svg { max-width: 100%; }
/* a button label that wraps keeps the original left alignment (QA R3-04) */
.cws-btn-tl .elementor-button { text-align: left; }
/* phones and tablets (no hover): buttons keep their own colors after a tap, like the original Tailwind v4 pages, whose
   hover colors only applied on devices that can hover (QA R3-03). eminence-elementor.js stores each button's colors in
   --cws-nh-* before any tap, so the colors set in the Elementor panel are the ones kept. */
html.cws-no-hover .elementor-button:is(:hover, :focus, :active) { background-color: var(--cws-nh-bg) !important; color: var(--cws-nh-fg) !important; border-color: var(--cws-nh-bc) !important; }
html.cws-no-hover .elementor-button:is(:hover, :focus, :active) svg { fill: var(--cws-nh-fg) !important; }
html.cws-no-hover .hfe-nav-menu a:is(.hfe-menu-item, .hfe-sub-menu-item):is(:hover, :focus, :active) { color: var(--cws-nh-fg) !important; background-color: var(--cws-nh-bg) !important; }
/* round 5: on every page (the landing pages too, measured on the original: a tapped button never kept its hover look)
   buttons keep their own shadow and do not lift after a tap (QA R5-12, R5-13). Cards (containers) keep their own shadow
   and position after a tap on the Tailwind v4 pages only (theme pages, NJ and PA: body class cws-hover-only); on NH, CT
   and MD (Tailwind v3) a tapped card showed its hover shadow in the original too, so Elementor's hover stays there. */
html.cws-no-hover .elementor-button:is(:hover, :focus, :active) { box-shadow: var(--cws-nh-sh, none) !important; }
html.cws-no-hover .elementor-widget-button:hover { --e-transform-translateY: 0px !important; }
html.cws-no-hover body:is(.cws-hover-only, :not(.cws-landing)) .e-con:hover { box-shadow: var(--cws-nh-sh, none) !important; --e-con-transform-translateY: 0px !important; }
/* footer social icons (Social Icons widget): each icon as wide as its glyph, as the original images (QA R3-11) */
.cws-social-natural .elementor-social-icon { width: auto; height: auto; }
.cws-social-natural .elementor-social-icon svg { width: auto; height: 1em; }
/* a box the original floated (PA DHS logo card): from that width on, its section shows its widgets in normal block flow
   and the box floats left, so the text runs beside it and continues under it (QA R2-29) */
@media (min-width: 640px) { .e-con.cws-float-wrap-640 { display: block !important; } .e-con.cws-float-wrap-640 > .cws-float-left { float: left; } .e-con.cws-float-wrap-640::after { content: ''; display: table; clear: both; } }
@media (min-width: 768px) { .e-con.cws-float-wrap-768 { display: block !important; } .e-con.cws-float-wrap-768 > .cws-float-left { float: left; } .e-con.cws-float-wrap-768::after { content: ''; display: table; clear: both; } }
@media (min-width: 1024px) { .e-con.cws-float-wrap-1024 { display: block !important; } .e-con.cws-float-wrap-1024 > .cws-float-left { float: left; } .e-con.cws-float-wrap-1024::after { content: ''; display: table; clear: both; } }
@media (min-width: 1280px) { .e-con.cws-float-wrap-1280 { display: block !important; } .e-con.cws-float-wrap-1280 > .cws-float-left { float: left; } .e-con.cws-float-wrap-1280::after { content: ''; display: table; clear: both; } }
/* landing header links never shrink below their text (Header & Footer Builder gives menu items min-width 0, so at 768px
   they were squeezed and overlapped by their text, shifting every link; QA R2-33) */
.cws-landing-nav .hfe-nav-menu > li { min-width: auto !important; }
/* button icon size per Elementor breakpoint, where the original icon changed size with the width (PA hero phone icon
   16px on phones, 20px from 640px; QA R3-05) */
@media (max-width: 639px) { .cws-btn-icon-mobile-12 .elementor-button-icon svg { width: 12px; height: 12px; } .cws-btn-icon-mobile-14 .elementor-button-icon svg { width: 14px; height: 14px; } .cws-btn-icon-mobile-16 .elementor-button-icon svg { width: 16px; height: 16px; } .cws-btn-icon-mobile-18 .elementor-button-icon svg { width: 18px; height: 18px; } .cws-btn-icon-mobile-20 .elementor-button-icon svg { width: 20px; height: 20px; } .cws-btn-icon-mobile-24 .elementor-button-icon svg { width: 24px; height: 24px; } }
@media (min-width: 640px) and (max-width: 767px) { .cws-btn-icon-mobile-extra-12 .elementor-button-icon svg { width: 12px; height: 12px; } .cws-btn-icon-mobile-extra-14 .elementor-button-icon svg { width: 14px; height: 14px; } .cws-btn-icon-mobile-extra-16 .elementor-button-icon svg { width: 16px; height: 16px; } .cws-btn-icon-mobile-extra-18 .elementor-button-icon svg { width: 18px; height: 18px; } .cws-btn-icon-mobile-extra-20 .elementor-button-icon svg { width: 20px; height: 20px; } .cws-btn-icon-mobile-extra-24 .elementor-button-icon svg { width: 24px; height: 24px; } }
@media (min-width: 768px) and (max-width: 1023px) { .cws-btn-icon-tablet-12 .elementor-button-icon svg { width: 12px; height: 12px; } .cws-btn-icon-tablet-14 .elementor-button-icon svg { width: 14px; height: 14px; } .cws-btn-icon-tablet-16 .elementor-button-icon svg { width: 16px; height: 16px; } .cws-btn-icon-tablet-18 .elementor-button-icon svg { width: 18px; height: 18px; } .cws-btn-icon-tablet-20 .elementor-button-icon svg { width: 20px; height: 20px; } .cws-btn-icon-tablet-24 .elementor-button-icon svg { width: 24px; height: 24px; } }
@media (min-width: 1024px) and (max-width: 1279px) { .cws-btn-icon-laptop-12 .elementor-button-icon svg { width: 12px; height: 12px; } .cws-btn-icon-laptop-14 .elementor-button-icon svg { width: 14px; height: 14px; } .cws-btn-icon-laptop-16 .elementor-button-icon svg { width: 16px; height: 16px; } .cws-btn-icon-laptop-18 .elementor-button-icon svg { width: 18px; height: 18px; } .cws-btn-icon-laptop-20 .elementor-button-icon svg { width: 20px; height: 20px; } .cws-btn-icon-laptop-24 .elementor-button-icon svg { width: 24px; height: 24px; } }
@media (min-width: 1280px) { .cws-btn-icon-desktop-12 .elementor-button-icon svg { width: 12px; height: 12px; } .cws-btn-icon-desktop-14 .elementor-button-icon svg { width: 14px; height: 14px; } .cws-btn-icon-desktop-16 .elementor-button-icon svg { width: 16px; height: 16px; } .cws-btn-icon-desktop-18 .elementor-button-icon svg { width: 18px; height: 18px; } .cws-btn-icon-desktop-20 .elementor-button-icon svg { width: 20px; height: 20px; } .cws-btn-icon-desktop-24 .elementor-button-icon svg { width: 24px; height: 24px; } }
/* a button its row stretched in the original fills the row height, label centered (QA R2-32) */
.elementor-widget-button.cws-btn-fill { display: flex; }
.elementor-widget-button.cws-btn-fill > .elementor-button { display: flex; align-items: center; }
.elementor-widget-button.cws-btn-fill.elementor-align-center { justify-content: center; }
.elementor-widget-button.cws-btn-fill.elementor-align-right { justify-content: flex-end; }
.elementor-widget-button.cws-btn-fill.elementor-align-justify > .elementor-button { flex: 1 1 auto; }
/* a button squeezed by its row lets its icon give way like the original inline-flex buttons did (NJ landing phone pill
   at 320px), instead of keeping the icon at full width and pushing the label (QA R3-06) */
.elementor-button .elementor-button-icon { flex-shrink: 1; min-width: 0; }
.elementor-button .elementor-button-icon svg { max-width: 100%; }
/* Elementor's stylesheet makes every page scroll smoothly (html { scroll-behavior: smooth }); the original pages jumped
   instantly, except the CT landing page, whose own CSS asks for smooth scrolling (its body has cws-anchor-offsettop).
   The menu links still glide where the original scripts did, they scroll in JavaScript. (Round 3) */
html:not(:has(> body.cws-anchor-offsettop)) { scroll-behavior: auto; }
/* Landing pages: entrance animations run with the page's AOS (data-aos written by functions.php). A container with a background or
   border gets Elementor's own transition list (background, border, box-shadow, transform), which would outrank AOS's
   and leave opacity without a transition: keep AOS's transitioned properties, as on the original page (QA R4-05). */
body.cws-landing .elementor-element[data-aos^=fade][data-aos^=fade],
body.cws-landing .elementor-element[data-aos^=zoom][data-aos^=zoom] { transition-property: opacity, transform; }
body.cws-landing .elementor-element[data-aos^=slide][data-aos^=slide],
body.cws-landing .elementor-element[data-aos^=flip][data-aos^=flip] { transition-property: transform; }
/* QA R5-01: content is never left hidden by an entrance animation whose script did not start. AOS marks every element
   it handles with .aos-init when it starts (DOMContentLoaded); an element it never reached is shown after 3s. Elementor's
   .elementor-invisible (an animation type AOS does not have, or a theme page) is shown after 3s while LiteSpeed still
   holds delayed scripts (script[type="litespeed/javascript"] is removed once they ran). A CSS animation overrides the
   hiding rules without !important, and the rule stops matching as soon as the script takes over. */
@keyframes cws-reveal { to { opacity: 1; transform: none; visibility: visible; pointer-events: auto; } }
body.cws-landing [data-aos]:not(.aos-init) { animation: cws-reveal 0s 3s forwards; }
html:has(script[type="litespeed/javascript"]) .elementor-invisible { animation: cws-reveal 0s 3s forwards; }
/* Accordion titles that were <button>s in the original (home payment types): the label is as wide as its text and its
   lines are centered, so a label that wraps (1024 to about 1100px) is centered like the original and a one-line label
   stays at the left (QA R5-04). Advanced > CSS Classes: cws-acc-title-center. */
.elementor-widget-n-accordion.cws-acc-title-center { --n-accordion-icon-gap: 0 12px; } /* gap-3; Elementor ignores Spacing for stretched titles */
.cws-acc-title-center .e-n-accordion-item-title { justify-content: space-between; }
.cws-acc-title-center .e-n-accordion-item-title-header { flex: 0 1 auto; }
.cws-acc-title-center .e-n-accordion-item-title-icon { flex-shrink: 0; } /* the original chevron was shrink-0 */
.cws-acc-title-center .e-n-accordion-item-title-text { text-align: center; }
/* Tailwind v4 landing pages (NJ, PA): an AOS-animated card lifts on hover with the translate property, which AOS's
   transform does not touch (Elementor's own Transform would replace AOS's start position). Advanced > CSS Classes:
   cws-hover-lift-N = N px up on hover, on devices that can hover, like Tailwind v4; no transition, as in the original,
   where AOS's transition list left translate out (QA R5-12). */
@media (hover: hover) {
	.cws-hover-lift-1:hover { translate: 0 -1px; } .cws-hover-lift-2:hover { translate: 0 -2px; }
	.cws-hover-lift-4:hover { translate: 0 -4px; } .cws-hover-lift-8:hover { translate: 0 -8px; }
}
/* Header & Footer Builder hides the submenu arrow of a menu set to "no submenu icon" with a class (.parent-has-child) its
   script adds; while LiteSpeed delays that script (first visit, before any input) the arrow's 10px margin pushed the
   desktop menu 10px out of place. Hidden without waiting for the script (round 5). */
.hfe-submenu-icon-none .hfe-nav-menu .sub-arrow { display: none; }
/* ---------- Round 6 ---------- */
/* Hamburger panels start at the header's bottom edge, as the originals did (a panel at top-full of the sticky/fixed
   header): Header & Footer Builder places its panel under the toggle widget plus a fixed distance, which is right only
   while the toggle sits centered in a one-row header. Where the header wraps (NJ landing 320 to 600, MD landing and theme
   pages at 320) the panel covered the header bottom or left a gap (QA R6-02, R6-07). The header container (fixed or
   sticky) becomes the panel's containing block; the containers between it and the widget stay in place (static).
   Front end only: the editor positions its handles inside each element. */
body:not(.elementor-editor-active) :is(.e-con.e-child:has(.cws-landing-mnav, .cws-mobile-nav), .elementor-widget.cws-landing-mnav, .elementor-widget.cws-mobile-nav) { position: static !important; }
body:not(.elementor-editor-active) :is(.cws-landing-mnav, .cws-mobile-nav) .hfe-nav-menu__toggle + nav.hfe-nav-menu__layout-horizontal { top: 100% !important; left: 0 !important; margin-top: 0 !important; }
/* landing "Get Started" row: the original link's own weight and color (MD font-bold text-primary, NJ font-bold
   text-navy), from the menu item's CSS classes cws-menu-fw-N / cws-menu-navy (builder/patterns.py menu_items, QA R6-03) */
.cws-landing-mnav .hfe-nav-menu li.cws-menu-fw-600 > a.hfe-menu-item { font-weight: 600 !important; }
.cws-landing-mnav .hfe-nav-menu li.cws-menu-fw-700 > a.hfe-menu-item { font-weight: 700 !important; }
.cws-landing-mnav .hfe-nav-menu li.cws-menu-fw-800 > a.hfe-menu-item { font-weight: 800 !important; }
.cws-landing-mnav .hfe-nav-menu li.cws-menu-navy > a.hfe-menu-item { color: var(--e-global-color-primary, #1B2E59) !important; }
/* theme-page hamburger: the original's focus:outline-none focus:ring-2 focus:ring-white/50 (a 2px white/50% ring on the
   rounded button while it has focus, after a tap or click and from the keyboard; QA R6-04) */
.cws-mobile-nav .hfe-nav-menu__toggle:focus { outline: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }
/* the menu item of the current page (and its parent: Locations, Careers) turns gold on hover like every other item;
   Header & Footer Builder's "active" color outranked its hover color (desktop header and footer, QA R6-05) */
:is(.cws-desktop-nav, .cws-footer-nav) .hfe-nav-menu .menu-item:is(.current-menu-item, .current-menu-ancestor, .current-menu-parent) > a.hfe-menu-item:hover,
:is(.cws-desktop-nav, .cws-footer-nav) .hfe-nav-menu .menu-item:is(.current-menu-item, .current-menu-ancestor, .current-menu-parent) > .hfe-has-submenu-container:hover > a.hfe-menu-item { color: var(--e-global-color-secondary, #CEA961) !important; }
/* Owner review (Nov 27 2026): headings wrap into balanced lines (no single word left on the last line, no break that
   leaves a long first line and a short tail). Font sizes are unchanged. Chromium balances up to 6 lines, Safari 17.5+,
   Firefox 121+; older browsers wrap as before. */
h1, h2, h3, .elementor-heading-title { text-wrap: balance; }
