/* CSS for Nutrition Program Slider */

.ns-section,
.ns-section * {
  box-sizing: border-box;
}

.ns-section {
  width: 100%;
  overflow: hidden;
  padding-bottom: 30px;
}

.ns-track-viewport {
  overflow: hidden;
}

.ns-track {
  display: flex;
  gap: 28px;
  transition: transform 0.5s ease;
}

.ns-card {
  flex: 0 0 412px;
  width: 412px;
  min-width: 412px;
  background: #F7F7F7;
  border-radius: 20px;
  overflow: hidden;
}

.ns-card-img-wrap {
  position: relative;
  width: 100%;
  height: 320px;
  ;
}

.ns-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ns-tag {
  position: absolute;
  bottom: -19px;
  left: 0;
  color: #fff;
  font-family: 'Epilogue', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  padding: 10px 20px;
  border-radius: 0 14px 14px 0;
}

.ns-card-body {
  padding: 28px 28px 32px;
}

.ns-card-title {
  font-family: 'Epilogue', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  color: #0F110F;
  margin-bottom: 16px;
}

.ns-card-desc {
  font-family: 'Epilogue', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: #353535;
}
.ns-dots {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    width: 100%;
}

.ns-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d9d9d9;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ns-dot.active {
    background: #333;
}
.ns-dots {
    position: relative;
    z-index: 9999;
    pointer-events: auto;
}

.ns-dot {
    pointer-events: auto;
    cursor: pointer;
}

.ns-track {
    position: relative;
    z-index: 1;
}

@media(max-width: 992px) {
  .ns-card {
    flex: 0 0 calc((100% - 28px) / 2);
    width: auto;
    min-width: auto;
  }
}

@media(max-width: 520px) {
  .ns-card {
    flex: 0 0 100%;
  }
}
