/* Main Container */
.nff-hover-promo {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #ffffff;
  background-color: #4a6fb5; /* Secondary/Blue from Figma */
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.nff-hover-promo:hover {
  .visc-nff-hover-promo__heading {
    opacity: 0.75;
  }

  .visc-nff-hover-promo__image-bg {
    opacity: 0.75;
  }
}

/* Wrapper */
.visc-nff-hover-promo__wrapper {
  display: flex;
  flex-direction: column-reverse;
  height: 100%;
}

/* Content Wrapper */
.visc-nff-hover-promo__content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
}

/* Icon Styles */
.visc-nff-hover-promo__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}

.visc-nff-hover-promo__icon-img {
  width: auto;
  height: auto;
}

/* Text Content */
.visc-nff-hover-promo__text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Heading Styles */
.visc-nff-hover-promo__heading {
  color: inherit;
  margin: 0 0 16px 0;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

/* Sub-heading Styles */
.visc-nff-hover-promo__sub-heading {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

/* Image Styles */
.visc-nff-hover-promo__image {
  position: relative;
  width: 100%;
  height: 200px; /* Default mobile height */
  overflow: hidden;
  background: var(--color-black);
}

.visc-nff-hover-promo__image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.3s ease;
}

/* Desktop Styles */
@media (min-width: 1025px) {
  .visc-nff-hover-promo__wrapper {
    flex-direction: row;
    min-height: 300px; /* Adjust based on your needs */
  }

  .visc-nff-hover-promo__content {
    padding: 40px;
  }

  .visc-nff-hover-promo__image {
    height: auto;
    position: relative;
  }

  .visc-nff-hover-promo__image-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
}

/* Tablet Styles */
@media (max-width: 1024px) {
  .visc-nff-hover-promo__content {
    padding: 32px;
  }

  .visc-nff-hover-promo__image {
    height: 250px;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .visc-nff-hover-promo__wrapper {
    flex-direction: column;
  }
  .visc-nff-hover-promo__content {
    padding: 24px;
  }

  .visc-nff-hover-promo__icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
  }

  .visc-nff-hover-promo__heading {
    font-size: 20px;
  }

  .visc-nff-hover-promo__sub-heading {
    font-size: 15px;
  }

  .visc-nff-hover-promo__image {
    order: -1; /* Move image to top on mobile */
    height: 200px;
  }
}
