/* CPanelHub legacy UI compatibility without Studiare runtime assets. */

/* Old content used the "fal" prefix from Font Awesome Pro.
   Use the free font bundled with Elementor for compatible glyphs. */
.fal,
.fa-light {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  font-style: normal;
}

/* Lightweight replacement for the hint classes used in old Elementor content. */
[class*="hint--"] {
  position: relative;
}
[class*="hint--"][aria-label]::after {
  content: attr(aria-label);
  position: absolute;
  z-index: 9999;
  left: 50%;
  bottom: calc(100% + 9px);
  transform: translate(-50%, 5px);
  min-width: max-content;
  max-width: 240px;
  padding: 6px 9px;
  border-radius: 7px;
  background: #1e293b;
  color: #fff;
  font-size: 10px;
  line-height: 1.7;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: .16s ease;
}
[class*="hint--"][aria-label]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.hint--bottom[aria-label]::after {
  top: calc(100% + 9px);
  bottom: auto;
}

/* Native carousel used instead of Owl Carousel. */
.jpowl.cph-native-carousel {
  --cph-carousel-cols: 4;
  --cph-carousel-gap: 14px;
  display: grid !important;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--cph-carousel-cols) - 1) * var(--cph-carousel-gap)) / var(--cph-carousel-cols));
  gap: var(--cph-carousel-gap);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px;
}
.jpowl.cph-native-carousel::-webkit-scrollbar { display: none; }
.jpowl.cph-native-carousel > * {
  min-width: 0;
  width: auto !important;
  scroll-snap-align: start;
}
.cph-native-carousel-shell {
  position: relative;
}
.cph-native-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  margin: 0 0 10px;
}
.cph-native-carousel-nav button {
  width: 34px;
  height: 34px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid #dce7e8;
  border-radius: 9px;
  background: #fff;
  color: #0f9a9a;
  cursor: pointer;
  transition: .16s ease;
}
.cph-native-carousel-nav button:hover {
  border-color: #b8dede;
  background: #eaf9f9;
}
@media (max-width: 999px) {
  .jpowl.cph-native-carousel {
    --cph-carousel-cols: var(--cph-carousel-tablet, 2);
  }
}
@media (max-width: 767px) {
  .jpowl.cph-native-carousel {
    --cph-carousel-cols: var(--cph-carousel-mobile, 1);
  }
}
