/* Limit styles to the specific view */


.view-member-list .row {
    padding-bottom: 30px;
}

/* Card styling */
.view-member-list .view-content .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; /* Makes all cards the same height */
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
}

/* Card image styling */
.view-member-list .view-content .card .card-img-top img {
  width: 100%;
  height: 350px; /* Adjust as needed to control image size */
  object-fit: cover;
}

/* Card body and text */
.view-member-list .view-content .card .card-body {
  padding: 15px;
  flex-grow: 1; /* Ensures content takes up available space */
}

.view-member-list .view-content .card .card-title {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
}

/* Limit the height of the card text to keep cards uniform */
.view-member-list .view-content .card .card-text {
  flex-grow: 1;
  color: #555;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Button alignment at the bottom */
.view-member-list .view-content .card .btn {
  margin-top: auto; /* Push the button to the bottom */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .view-member-list .view-content .col {
    flex: 1 1 100%; /* Make cards full-width on smaller screens */
  }
}

@media (min-width: 769px) and (max-width: 992px) {
  .view-member-list .view-content .col {
    flex: 1 1 48%; /* Two cards per row on medium screens */
  }
}

@media (min-width: 993px) {
  .view-member-list .view-content .col {
    flex: 1 1 30%; /* Three cards per row on large screens */
  }
}

.area-of-interest {
    font-size: 10px;
    padding-top: 10px;
}

/* Member list specifics */
.view-member-list .view-content{
  grid-template-columns:repeat(auto-fill, minmax(280px,1fr));
  gap:20px;
}
.view-member-list .card{ text-align:center; }

.view-member-list .card .card-img-top img{
  height:350px; object-fit:cover;
}

.view-member-list .card .card-body{ padding:15px; }
.view-member-list .card .card-title{ font-size:1.2rem; color:#333; margin-bottom:10px; }
.view-member-list .card .card-text{ color:#555; overflow:hidden; text-overflow:ellipsis; }

.view-member-list .card .btn{ margin-top:auto; }

.area-of-interest{ font-size:10px; padding-top:10px; }
