/* Ensure your existing slider container has position: relative */
.hero-slider-wrapper {
  position: relative;
}

.nesr-floating-card {
  position: absolute;
  right: 6%;
  top: 11.5%;
  z-index: 20; /* Keeps it above slider images and overlays */
  width: 340px;
  max-width: 90%;
  padding: 24px 26px;
  border-radius: 12px;

  /* Dark translucent glassmorphism effect */
  background: rgba(18, 38, 34, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);

  color: #ffffff;
  font-family: inherit;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}
/*
.nesr-floating-card:hover {
  transform: translateY(-3px);
  border-color: rgba(46, 179, 104, 0.55);
}

*/

/* Top metadata line: green dot + date */
.nesr-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #46c97b;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.nesr-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #46c97b;
  box-shadow: 0 0 8px #46c97b;
  flex-shrink: 0;
}

/* Main card headline */
.nesr-card-title {
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: #ffffff;
}

/* Bottom CTA link with green circular play button */
.nesr-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.nesr-play-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #2eb368;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.nesr-card-cta:hover .nesr-play-badge {
  background-color: #38cc78;
  transform: scale(1.08);
}

.nesr-arrow {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.nesr-card-cta:hover .nesr-arrow {
  transform: translateX(4px);
}

a.nesr-card-cta:hover {
 color: #2eb368; 
}

@media (max-width: 768px) {
  .nesr-floating-card {
    position: fixed;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000; /* Keeps the modal above other elements */
    /* FIX: Prevents Slick from intercepting touches and swipes inside the card */
    pointer-events: auto !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .nesr-floating-card {
    top: 6.5%;
    /* FIX: Prevents Slick from intercepting touches and swipes inside the card */
    pointer-events: auto !important;
  }
}

@media (min-width: 1024px) {
  .nesr-floating-card {
    top: 9.5%;
  }
}

/* Mobile responsiveness 
@media (max-width: 768px) {
  .nesr-floating-card {
    position: absolute;
    right: auto;
    left: auto;
    top: 6%;
    width: calc(100% - 32px);
    margin: -30px auto 20px auto;
    background: #142a25;
  }
}
  */
