/* Custom Badge - Success */
.bg-success {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background-color: #28a745; /* success green */
  border-radius: 0.375rem;   /* rounded corners */
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  margin:5px;
}

/* Optional: softer green on hover */
.bg-success:hover {
  background-color: #218838;
}


 
  /* page-specific */
  .event-card { background:#fff; }
  .event-image {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
    border-radius: .5rem;
    background:#d24b43;
    color:#0000;
  }
  .cta-tile { border-radius:.5rem; min-height: 175px; }
  .cta-tile .fa-arrow-right { font-size: 2rem; }
  @media (min-width: 992px){ .details-wrap { padding-left: 1.25rem; } }
  label { color:black!important; }

  /* ---- Minimal slider ---- */
  .image-slider {
    --gap: 12px;
    --visible: 3;          /* desktop default */
    position: relative;
    width: 100%;
  }
  .image-slider .track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--gap) * (var(--visible) - 1))) / var(--visible));
    gap: var(--gap);
    overflow: hidden;
    scroll-behavior: smooth; /* smooth scroll for arrow clicks */
  }
  .image-slider .slide {
    height: 120px;
    border-radius: .5rem;
    overflow: hidden;
    background:#f3f3f3;
  }
  .image-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display:block;
  }
  .image-slider .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 1;
  }
  .image-slider .nav-btn[disabled] { opacity:.35; cursor: default; }
  .image-slider .prev { left: -10px; }
  .image-slider .next { right: -10px; }

  /* tablet: show 2 */
  @media (max-width: 991.98px){
    .image-slider { --visible: 2; }
  }
  /* phone: show 1 */
  @media (max-width: 575.98px){
    .image-slider { --visible: 1; }
  }
  
  /* Person slides inside the image-slider */
.image-slider .person-slide{
  height:auto;                /* let content decide height */
  padding:12px;
  background:#fff;
  border:1px solid #eee;
  border-radius:.5rem;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.image-slider .person-slide .avatar{
  width:72px;
  height:72px;
  object-fit:cover;
  border-radius:50%;
  display:block;
  margin-bottom:.5rem;
}
.image-slider .person-slide h6{
  font-weight:700;
  margin:0;
}
.image-slider .person-slide small{
  color:#6c757d; /* bootstrap muted */
}
/* Person slides inside the image-slider */
.image-slider .person-slide {
  height: auto;
  padding: 16px 10px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: .5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.image-slider .person-slide .avatar {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 8px;
}

.image-slider .person-slide h6 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  color: #212529;
}

.image-slider .person-slide small {
  font-size: 13px;
  color: #6c757d;
  display: block;
  margin-top: 2px;
  line-height: 1.3;
}
.w-85 {
     width: 100% !important; 
}