.wh-icon-cards-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

@media (min-width: 768px) {
  .wh-icon-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.wh-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 32px;
  position: relative;
}
.wh-icon-card:has(a),
.wh-icon-card:has(button){
  padding-bottom: 64px;
}

.wh-icon-card-links {
  position: absolute;
  bottom: 32px;
  left: 0px;
  width: 100%;

}

.wh-icon-card-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 50%;
}

.wh-icon-mask-wrapper {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wh-icon-mask-wrapper .wh-icon-user-input-mask-holder {
  width: 100%;
  height: 100%;
}

.wh-icon-mask-wrapper .wh-icon-mask {
  width: 100%;
  height: 100%;
  background-color: var(--wh-color-capri-blue); /* Capri Blue */
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
}

.wh-btn-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--wh-color-primary, #005f4b); /* Green from screenshot */
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 1px;
}

.wh-btn-link:hover {
  text-decoration: underline;
}

.wh-btn-icon-right-arrow::after {
  content: '↗'; /* Or use an icon font if available */
  display: inline-block;
  margin-left: 5px;
}

/* Modal Styles */
.wh-icon-card-modal-content {
  display: flex;
  flex-direction: column-reverse;
  gap: 30px;
  padding: 20px;
  background: #fff;
}

@media (min-width: 768px) {
  .wh-icon-card-modal-content {
    flex-direction: row;
    align-items: center;
    padding: 40px;
  }
  
  .wh-icon-card-modal-info {
    flex: 1;
  }
  
  .wh-icon-card-modal-image {
    flex: 1;
  }
}

.wh-icon-card-modal-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Splide overrides for modal */
.wh-icon-cards-modal-slider .splide__arrow {
  background: #fff;
  opacity: 1;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.wh-icon-cards-modal-slider .splide__arrow--prev {
  left: -20px;
}

.wh-icon-cards-modal-slider .splide__arrow--next {
  right: -20px;
}
