/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Feb 06 2026 | 00:00:30 */
/* ===== IV Hover Overlay – refinements ===== */

/* Keep slide item positioned; no clipping (ribbons visible) */
.iv-products .swiper-slide .iv-slide-item { position: relative; }

/* Overlay layout now includes Title + Subtext + CTA */
.iv-hover-overlay {
  position: absolute;
  inset: 0;
  background: #0631FC;     /* blue overlay */
  color: #fff;
  display: grid;
  grid-template-rows: auto 1fr auto; /* Title, subtext fills, CTA */
  row-gap: 10px;
  padding: clamp(14px, 2.5vw, 24px);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .28s ease, transform .28s ease;
  pointer-events: none;
  z-index: 3;
}

/* 1) White Title on hover — font matches default h3 styles */
.iv-hover-overlay .iv-title--overlay {
  color: #fff !important;
  font-family: inherit;         /* (3) Match site font */
  font-size: inherit;           /* inherits theme h3 size */
  font-weight: inherit;
  line-height: inherit;
  margin: 0;                    /* avoid double spacing */
}

/* 3) Subtext — same font as site body, white */
.iv-hover-overlay .iv-subtext {
  align-self: end;
  color: #fff !important;
  font-family: inherit;         /* (3) Match site font */
  font-size: clamp(14px, 1.7vw, 18px);
  line-height: 1.5;
  max-width: 75ch;
}

/* CTA container */
.iv-hover-overlay .iv-learn-more--overlay {
  margin-top: 8px;
  pointer-events: auto;         /* clickable */
}

/* 2) Keep product image faintly visible under blue (≈20%) */
.iv-products .iv-slide-item .iv-img img { transition: transform .35s ease, opacity .28s ease; }
.iv-products .swiper-slide:hover .iv-img img,
.iv-products .swiper-slide:focus-within .iv-img img,
.iv-products .swiper-slide.is-hover .iv-img img {
  transform: scale(1.03);
  opacity: 0.1;                 /* ~20% visible */
}

/* Show overlay on hover/focus/touch */
.iv-products .swiper-slide:hover .iv-hover-overlay,
.iv-products .swiper-slide:focus-within .iv-hover-overlay,
.iv-products .swiper-slide.is-hover .iv-hover-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Hide base Learn More so you don’t see two at once */
.iv-products .swiper-slide:hover .iv-learn-more:not(.iv-learn-more--overlay),
.iv-products .swiper-slide:focus-within .iv-learn-more:not(.iv-learn-more--overlay),
.iv-products .swiper-slide.is-hover .iv-learn-more:not(.iv-learn-more--overlay) {
  visibility: hidden;
}

/* 4) Add white border to the green button ON HOVER (overlay only) */
.iv-learn-more--overlay:hover,
.iv-learn-more--overlay:focus-visible {
  border: 2px solid #fff !important;
  box-shadow: none; /* keep clean; remove if your theme wants shadow */
}

/* Ribbons stay above */
.iv-slide-item [class*="ribbon"],
.iv-slide-item [class*="badge"] { position: absolute; z-index: 5; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .iv-hover-overlay, .iv-products .iv-slide-item .iv-img img { transition: none; }
}
/* ===== Refinements: title position, blue opacity, subtext font ===== */

/* Make overlay a bottom stack: Title → Subtext → CTA */
.iv-hover-overlay {
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;           /* keep content at bottom */
  gap: 8px;
  /* semi-transparent brand blue so image shows through */
  background: rgba(6, 49, 252, 0.90) !important;   /* ~82% blue over image */
  /* keep the same in/out animation */
  opacity: 0;
  transform: translateY(8px);
}

/* Title: just above subtext, white, using your h3 styles */
.iv-hover-overlay .iv-title--overlay {
  color: #fff !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  margin: 0 0 2px 0 !important;        /* sits just above subtext */
}

/* Sub-text: use Montserrat specifically (as requested) */
.iv-hover-overlay .iv-subtext {
  color: #fff !important;
  font-family: "Montserrat", sans-serif !important; /* <-- exact font */
  font-size: clamp(14px, 1.7vw, 18px);
  line-height: 1.5;
  max-width: 75ch;
}

/* Keep image fully opaque; rely on semi-transparent overlay for visibility */
.iv-products .iv-slide-item .iv-img img {
  transition: transform .35s ease;     /* remove opacity transition */
}
.iv-products .swiper-slide:hover .iv-img img,
.iv-products .swiper-slide:focus-within .iv-img img,
.iv-products .swiper-slide.is-hover .iv-img img {
  transform: scale(1.03);
  opacity: 1 !important;               /* ensure image isn't dimmed */
}

/* White border on the green overlay button (hover/focus) */
.iv-learn-more--overlay:hover,
.iv-learn-more--overlay:focus-visible {
  border: 2px solid #fff !important;
  box-shadow: none !important;
}

/* Show overlay on hover/focus/touch (kept for completeness) */
.iv-products .swiper-slide:hover .iv-hover-overlay,
.iv-products .swiper-slide:focus-within .iv-hover-overlay,
.iv-products .swiper-slide.is-hover .iv-hover-overlay {
  opacity: 1;
  transform: translateY(0);
}

.myers-new .swiper-wrapper > .swiper-slide[data-swiper-slide-index="0"]:not(.swiper-slide-duplicate) .iv-slide-item::after {
	display:none!important;
}