/* **********************************************************
 * ELEMENT STYLES
 * ******************************************************** */

/* *****************************
 * BUTTON ADDITIONAL STYLING
 * *************************** */
/* DEFAULT BUTTON - hovers to dark ghost */
a.elementor-button {
  background-color: #752123 !important;
  background-image: linear-gradient(104deg, transparent 48%, #510715 52%, #752123 100%) !important;
  background-size: 300% 100% !important;
  background-position: right center !important;
  transition: background-position 0.75s ease,
              background-color 0.75s ease,
              border-color 0.5s ease !important;
}
a.elementor-button:hover,
a.elementor-button:focus {
  background-color: transparent !important;
  background-position: left center !important;
  border-color: #0D0C0C !important;
}
a.elementor-button .elementor-button-text {
  transition: color 0.75s ease !important;
}
a.elementor-button:hover .elementor-button-text,
a.elementor-button:focus .elementor-button-text {
  color: #0D0C0C !important;
}
/* DEFAULT BUTTON - hovers to white ghost */
.button-hover-white a.elementor-button:hover,
.button-hover-white a.elementor-button:focus {
  background-position: left center !important;
  border-color: #ffffff !important;
}
.button-hover-white a.elementor-button:hover .elementor-button-text,
.button-hover-white a.elementor-button:focus .elementor-button-text {
  color: #ffffff !important;
}

/* ALT BUTTON WHITE - hovers to gradient */
.button-alt-white a.elementor-button {
  background: linear-gradient(104deg, #510715 0%, #752123 48%, transparent 52%) !important;
  background-size: 300% 100% !important;
  background-position: right center !important;
  border-color: #ffffff !important;
  transition: background-position 0.75s ease,
              border-color 0.5s ease !important;
}
.button-alt-white a.elementor-button .elementor-button-text {
  color: #ffffff !important;
  transition: color 0.75s ease !important;
}
.button-alt-white a.elementor-button:hover,
.button-alt-white a.elementor-button:focus {
  background-position: left center !important;
  border-color: #752123 !important;
}
.button-alt-white a.elementor-button:hover .elementor-button-text,
.button-alt-white a.elementor-button:focus .elementor-button-text {
  color: #ffffff !important;
}

/* ALT BUTTON DARK - hovers to gradient */
.button-alt a.elementor-button {
  background: linear-gradient(104deg, #510715 0%, #752123 48%, transparent 52%) !important;
  background-size: 300% 100% !important;
  background-position: right center !important;
  border-color: #0D0C0C !important;
  transition: background-position 0.75s ease,
              border-color 0.5s ease !important;
}
.button-alt a.elementor-button .elementor-button-text {
  color: #0D0C0C !important;
  transition: color 0.75s ease !important;
}
.button-alt a.elementor-button:hover,
.button-alt a.elementor-button:focus {
  background-position: left center !important;
  border-color: #752123 !important;
}
.button-alt a.elementor-button:hover .elementor-button-text,
.button-alt a.elementor-button:focus .elementor-button-text {
  color: #ffffff !important;
}

/* STOP TEXT CLIP FOR SPECIFIC ELEMENTS */
.jet-mega-menu-item .section-mega-menu a.elementor-element,
.jet-mega-menu-item .section-mega-menu .ha-hover-box-wrapper .ha-hover-title {
    -webkit-background-clip: inherit !important;
    -webkit-text-fill-color: currentColor !important;
}



/* ******************************
 * ELEMENTOR MOTION EFFECTS TRANSITION
 * *************************** */
.elementor-element .elementor-widget-container.elementor-motion-effects-element {
    transition-duration: 2s;
}


/* *****************************
 * ELEMENT PADDING & MARGINS
 * *************************** */
.element-margin-bottom-0.elementor-element {
	margin-bottom: 0 !important;	
}


/* ******************************
 * BANNERS WITH OVERLAYS
 * *************************** */
.banner-overlay .jet-banner__overlay {
    mix-blend-mode: multiply;
    transition: all .5s ease-in-out;	
}
.banner-overlay .elementor-jet-banner {
	overflow: hidden;
}
.banner-overlay .elementor-jet-banner .jet-banner__img {
  transition: transform 1s, filter 2s ease-in-out;
  filter: blur(0px);
  transform: scale(1.0);
}
.banner-overlay .elementor-jet-banner:hover .jet-banner__img {
  transition: transform 1s, filter 2s ease-in-out;
  filter: blur(2px);
  transform: scale(1.1);
}
.banner-overlay .elementor-jet-banner:hover i {
	border-bottom: 2px solid #fff;
	padding-bottom: .5rem;
}

@media (max-width: 767px) {
	/* BANNER OVERLAY */
	.banner-overlay .elementor-jet-banner .jet-banner__img {
		transform: scale(1.65);	
	}	
	.banner-overlay .elementor-jet-banner:hover .jet-banner__img {
		transform: scale(1.75);	
	}	
}


/* ******************************
 * BLOG LISTING GRID SLIDER
 * *************************** */
.blog-slider .jet-listing-grid .jet-engine-listing-overlay-wrap .elementor-inner {
    height: 100%;
}
.blog-slider .blog-card .section-col .elementor-widget-wrap.elementor-element-populated {
    flex-direction: column;
}
.blog-slider .blog-card .section-col .inner-section-content {
    margin-bottom: auto;
}
.blog-slider .blog-card .elementor-container.elementor-column-gap-default {
    width: 100%;
}
.blog-slider .blog-card .inner-section-content {
    margin-bottom: 2rem;
}
.blog-slider .blog-card .blog-title {
    height: auto !important;	
	margin-bottom: 0 !important;
}
.blog-slider .blog-card .blog-title .elementor-widget-container {
    height: auto !important;
}


/* SET SAME HEIGHT */
.blog-slider .slick-track  {
	display: flex !important;	
}
.blog-slider .jet-listing-grid__item {
    height: auto !important;
} 
.blog-slider .blog-card {
    display: flex;	
	height: 100%;
}
.blog-slider .jet-listing-grid__item,
.blog-slider .jet-listing-grid__item .jet-engine-listing-overlay-wrap,
.blog-slider .jet-listing-grid__item .jet-engine-listing-overlay-wrap > div,
.blog-slider .jet-listing-grid__item .jet-engine-listing-overlay-wrap > div .elementor-section-wrap,
.blog-slider .jet-listing-grid__item .jet-engine-listing-overlay-wrap > div .elementor-section-wrap .blog-card {
  height: 100%;
}

/* No Padding on Bottom Button */
.page-template-full-width .jupiterx-main .elementor-section.elementor-section-boxed.inner-section-link .elementor-container,
.page-template-full-width .jupiterx-main .elementor-section.elementor-section-boxed.inner-section-link .elementor-container .elementor-widget-wrap {
    padding: 0 !important;
}
.blog-slider .inner-section-link {
    position: absolute !important;
    bottom: 0;
}


/* ******************************
 * PRODUCT LISTING GRID SLIDER
 * *************************** */
.product-slider .product-card {
    display: flex;	
	height: 100%;	
}
.product-slider .product-card .section-col .elementor-widget-wrap.elementor-element-populated {
    flex-direction: column;
}
.product-slider .product-card .section-col .inner-section-content {
    margin-bottom: 3rem;
}
.product-slider .product-card .elementor-container.elementor-column-gap-default {
    width: 100%;
}
.product-slider .product-card .inner-section-content {

}
.product-slider .product-card .product-title {
	margin-bottom: 0 !important;
}
.product-slider .product-card .product-desc {

}
/*.product-slider .inner-section-link {
    position: absolute !important;
    bottom: 0;
}*/
.product-slider .inner-section-link {
    margin-top: auto;
}
.product-slider .product-card .jet-listing.jet-listing-dynamic-link {
    display: flex;
    flex-direction: row;
    align-content: stretch;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    height: 100%;
}
.product-slider .product-card a.jet-listing-dynamic-link__link {
    width: 100%;
    height: 100%;
    display: flex !important;
	font-size: 1.125rem !important;
}


/* ******************************
 * DEFAULT PAGER - SEARCH RESULTS, ETC
   NOTE: You CAN typically style the element directly
 * *************************** */
/* Default Pager - Search Results, etc */
.page-item.active .page-link {
    color: #fff;
    background-color: #555 !important;
    border-color: #111 !important;
}


/* ******************************
 * IMAGE GRID GALLERY LIGHTBOX
 * *************************** */
.mfp-close {
	font-size: 24px !important;
}
/* Kill Close & Arrow Background Hover Color */
.mfp-arrow,
.mfp-close:hover {
	background-color: transparent !important;
	border: none !important;
}

/* Hide Lightbox Alt Text Caption
 .mfp-bottom-bar .mfp-title { 
	display: none; 
} */


/* ******************************
 * FLIP BOX
 * *************************** */
@media (max-width: 1024px) {		
	/* Fix for iOS z-index like bug - Flip Boxes cover Header, Mobile Menu, etc */
	.ios .ha-flip-box-container.ha-flip-effect-3d .ha-flip-box-back-inner, 
	.ios .ha-flip-box-container.ha-flip-effect-3d .ha-flip-box-front-inner {
		-webkit-transform: translateZ(0px) scale(.9) !important;
		transform: translateZ(0px) scale(.9) !important;
	}
}

@media (max-width: 767px) {
	/* FLIP BOX IOS FIX - not all but Design 9 caused Flip Box to appear on top of Header  */
	.ios .flip-boxes-icon-title-txt .ha-flip-box-container.ha-flip-effect-3d .ha-flip-box-inner-wrapper {
	  -webkit-transform-style: flat;
	  transform-style: preserve-3d;
	}	
}


/* ******************************
 * GOOGLE MAPS
 * *************************** */
.gm-style iframe + div {
    border: 0 !important;
}


/* ******************************
 * BACKGROUND OVERLAY for iPHONE - Add Class if Needed
 * *************************** */
@media (max-width: 767px) {
	/* Overlay */
	.responsive-phone-overlay-opacity .elementor-background-overlay {
		opacity: .7 !important;
	}
}


/* ******************************
 * JET HEADLINE
 * *************************** */
span.jet-headline__space {
    line-height: 1px;
}


/* ******************************
 * ICON LIST
 * *************************** */
/* ICON LIST - ensure default bullets don't appear */
ul.elementor-icon-list-items {
  padding: 0;
}
ul.elementor-icon-list-items li.elementor-icon-list-item {
  list-style: none !important;
}

/* ICON LIST CENTERED at 1200 TABLET LANDSCAPE - add class tablet-center */
@media (max-width: 1200px) {
	.tablet-center .elementor-icon-list-item,
	.tablet-center .elementor-icon-list-item a {
		text-align: center !important;
	}
}

/* ICON LIST CENTERED ON MOBILE - add class mobile-center */
@media (max-width: 767px) {
	.mobile-center .elementor-icon-list-item,
	.mobile-center .elementor-icon-list-item a {
		text-align: center !important;
	}
}


/* *****************************
 * JUPITER RAVEN ADVANCED VIDEO ELEMENT
 * *************************** */
.raven-video-mejs-player {
    z-index: 9000 !important;
    display: block;
    background: rgba(0,0,0,.9) !important;
}
.raven-video-mejs-player .raven-video-mejs-player {
	z-index: 9000 !important;
}

/* Keep Header, Scroll Buttons, Hero Overlay Behind Popup*/
.mejs-fullscreen header.jupiterx-header,
.safari.mejs-fullscreen header.jupiterx-header,
.mejs-fullscreen .ha-has-bg-overlay>.elementor-widget-container,
.safari.mejs-fullscreen .ha-has-bg-overlay>.elementor-widget-container,
.mejs-fullscreen .jupiterx-corner-buttons {
	z-index: 0;
}


/* *****************************
 * ADVANCED ACCORDION - some helpers if needed
 * *************************** */
 /* Space Between Toggles */
.jupiterx-single-advanced-accordion-wrapper {
	margin-bottom: 5px;	
}

/* Force the Border Color on Toggle Header */
.jx-single-accordion-header {
    border-color: #EEE !important;
}
.jx-ac-inactive .jx-single-accordion-header {
    border-color: transparent !important;
}


/* *****************************
 * JUPITER TESTIMONIAL CAROUSEL TWEAKS
 * *************************** */
.elementor-widget-raven-testimonial-carousel .swiper-wrapper {
  margin-bottom: 3rem !important;
   min-height: fit-content !important;    
}
.elementor-widget-raven-testimonial-carousel .raven-main-swiper {
   min-height: fit-content !important;
}
.elementor-widget-raven-testimonial-carousel .raven-main-swiper .swiper-slide {
    overflow-y: visible;
    min-height: fit-content !important;
    display: flex;
	justify-content: center;
}
.elementor-widget-raven-testimonial-carousel .raven-main-swiper .swiper-slide .raven-testimonial {
    justify-content: center;
}


/* *****************************
 * SERVICES SLIDER - CARD STYLES
 * *************************** */
/* Outer item: preserve top padding for floating icon */
.services-slider .jet-carousel__item {
  padding: 2.5rem 0.625rem 0.625rem;
}
/* Card body */
.services-slider .jet-carousel__item .jet-carousel__item-inner {
  background-color: #510715;
  border-radius: 1.25rem;
  padding: 1.25rem 1.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  position: relative;
  overflow: visible;
}
/* Icon link wrapper — floats above card top edge */
.services-slider .jet-carousel__item .jet-carousel__item-link {
  background-color: #f5e8ea;
  border-radius: 50%;
  width: 4.5rem;
  height: 4.5rem;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin-top: -3.5rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  padding: 0;
}
/* Icon image */
.services-slider .jet-carousel__item .jet-carousel__item-img {
  width: 3rem;
  height: 3rem;
  max-width: unset;
  max-height: unset;
  flex: none;
  filter: brightness(0) saturate(100%) invert(9%) sepia(60%) saturate(3000%) hue-rotate(330deg) brightness(60%);
  object-fit: contain !important;
}
/* Card content */
.services-slider .jet-carousel__item .jet-carousel__item-inner .jet-carousel__content {
	display: flex;
	flex-direction: column;
	align-content: center;
	align-items: center;
	justify-content: center;
}
/* Card title */
.services-slider .jet-carousel__item .jet-carousel__item-title {
  color: var(--Color-Scheme-1-Accent, #FFF);
  text-align: center;
  font-family: Outfit, sans-serif;
  font-size: var(--Text-Sizes-Heading-5, 2rem);
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: 0.02rem;
  margin: 0 0 0.75rem 0;
}
/* Card text / description */
.services-slider .jet-carousel__item .jet-carousel__item-text,
.services-slider .jet-carousel__item .jet-carousel__item-text p {
  color: var(--Color-Scheme-1-Accent, #FFF);
  text-align: center;
  font-family: Lato, sans-serif;
  font-size: var(--Text-Sizes-Text-Regular, 1.125rem);
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  margin: 0;
}
.jet-carousel .jet-arrow.next-arrow {
    text-align: right !important;
}

/* --- Arrow positions: pull them outside the card track --- */
.services-slider .jet-carousel .jet-arrow.prev-arrow {
  left: -3rem !important;
  right: auto !important;
}
.services-slider .jet-carousel .jet-arrow.next-arrow {
  right: -3rem !important;
  left: auto !important;
}
/* Tablet ≤1024px */
@media (max-width: 1024px) {
  .services-slider-wrapper {
    padding-left: 3.0rem !important;
    padding-right: 3.0rem !important;
  }
  .services-slider .jet-carousel .jet-arrow.prev-arrow {
    left: -2.5rem !important;
  }
  .services-slider .jet-carousel .jet-arrow.next-arrow {
    /* right: -2.5rem !important; */
  }
}
/* ≤480px */
@media (max-width: 480px) {
  .services-slider-wrapper {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  .services-slider .jet-carousel .jet-arrow.prev-arrow {
    left: -2rem !important;
  }
  .services-slider .jet-carousel .jet-arrow.next-arrow {
    right: -2rem !important;
  }
}





/* *****************************
 * ELFSIGHT REVIEWS
 * *************************** */
/* Shrink the container and control to match the icon */
.es-carousel-arrow-control-container {
  width: 1.5rem !important;   /* matches the 25px svg */
  height: 1.5rem !important;
}
.es-carousel-arrow-control {
  width: 1.5rem !important;
  height: 1.5rem !important;
}
/* Re-center the icon within the now-smaller container */
.es-carousel-arrow-control-icon {
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}
/* Push arrows fully outside the slider — adjust rem as needed */
.es-carousel-outer > .es-carousel-arrow-control-container:first-child {
  left: -3rem !important;   /* left arrow */
}
.es-carousel-outer > .es-carousel-arrow-control-container:last-child {
  right: -3rem !important;  /* right arrow */
  left: auto !important;
}

.es-review-content-text-container .es-text-shortener {
    font-size: clamp(17px, calc(0.313vw + 16px + max(0px, (100vw - 1920px) * 0.0063)), 26px);
    line-height: 1.2em;
}




/* *****************************
 * GALLERY GRID
 * *************************** */
/* Metor Grid - Fix images to cover full grid item on all screen sizes */
.ha-metor-grid--item {
    overflow: hidden;
    display: block !important;
}
.ha-metor-grid--item-inner {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}
.ha-metor-grid--item-inner img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}


/* *****************************
 * HOME CONTACT - Map & Icon Boxes
 * *************************** */
.map-wrapper,
.map-wrapper .elementor-widget-container,
.map-wrapper .jet-map {
    border-radius: 1rem;
    overflow: hidden;
}
.map-wrapper {
    box-shadow: 0 0 13px 5px rgba(0, 0, 0, 0.50);
}
.home-icon-boxes {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row !important;
	justify-content: space-between;
}

@media (min-width:1201px) {
	.home-icon-boxes .elementor-widget-icon-box {
		width: 45% !important;
	}
}

@media (max-width:1200px) {
	.home-icon-boxes .elementor-widget-icon-box {
		width: 100% !important;
	}
}

@media (max-width: 768px) {
    .home-icon-boxes .elementor-icon-box-wrapper {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
		gap: 6px !important;
    }
    .home-icon-boxes .elementor-icon-box-icon {
        margin: 0 0 0px 0;
    }
}


/* *****************************
 * SERVICE PAGES - Services Grid
 * *************************** */
.services-grid .service-grid-item {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1.25rem;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.services-grid .service-grid-item h3,
.services-grid .service-grid-item h4 {
  color: #510715;
}
.services-grid .service-grid-item p {
  color: #0d0c0c;
}
.service-grid-item .elementor-widget h3,
.service-grid-item .elementor-widget h4 {
    font-size: clamp(18px, calc(0.5vw + 16.4px + max(0px, (100vw - 1920px) * 0.0063)), 30px);
}

@media (max-width: 480px) {
	.services-grid .service-grid-item {
		padding: 3rem 1.5rem;
	}
}