.rhc-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  cursor: pointer;
}

.rhc-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.rhc-card:hover img {
  transform: scale(1.08);
}

/* Overlay */
.rhc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
  opacity: 0;
  transition: opacity .4s ease;
}

.rhc-card:hover .rhc-overlay {
  opacity: 1;
  background: #000000ad;
}

.rhc-title {
    position: absolute;
    bottom: 28px;
    left: 28px;
    color: #fff;
    font-size: 50px;
    font-family: "Heuvel Grotesk Regular", "Inter", sans-serif;
    line-height:1;
}

.rhc-arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Popup Base */
.rhc-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(6px);
  z-index: 99999;
  padding: 40px 60px;
  box-sizing: border-box;

  display: none;              /* ✅ DEFAULT HIDDEN */
  flex-direction: column;
}

.rhc-popup.active {
  display: flex;              /* ✅ SHOW ONLY ON CLICK */
}

/* Elementor editor safety */
.elementor-editor-active .rhc-popup {
  display: none !important;
}

/* Header */
.rhc-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  flex-shrink: 0;
}

.rhc-popup-header h2 {
  font-size: 28px;
  font-weight: 400;
}

.rhc-close {
  width: 42px;
  height: 42px;
  background: #fff;
  color: #000;
  border-radius: 50%;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Body (Slider Area) */
.rhc-popup-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slider */
.rhc-slider {
  width: 100%;
  overflow: hidden;
  padding: 0 16px; /* ✅ side breathing space */
  box-sizing: border-box;
}

.rhc-track {
  display: flex;
  gap: 32px;
  transition: transform .45s ease;
  will-change: transform;
}


/* Slides */
.rhc-slide {
  flex: 0 0 calc(33.333% - 22px);
  border-radius: 24px;
  overflow: hidden;
}

.rhc-slide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

/* Tablet */
@media (max-width: 1024px) {
  .rhc-slide {
    flex: 0 0 calc(50% - 16px);
  }
  .rhc-title {
    font-size: 40px;
}
}

/* Mobile */
@media (max-width: 767px) {
  .rhc-popup {
    padding: 24px;
  }

  .rhc-slide {
    flex: 0 0 100%;
  }

  .rhc-slide img {
    height: 420px;
  }
  
}
@media (min-width: 1200px) {
  .rhc-slider {
    padding: 0 32px;
  }
}

/* Controls (Always Bottom, Never Overlap) */
.rhc-controls {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
}

.rhc-arrows button {
    width: 44px;
    height: 44px;
    aspect-ratio: 1;
    border-radius: 50px !important;
    border: none;
    background: #d8c9a6 !important;
    font-size: 18px;
    cursor: pointer;
    padding: 1px;
}