/* === ROTARY CLUB INFO STYLES === */

.container-fluid {
  max-width: 1600px;
}

/* Section Layout */
h2.fw-bold {
  font-size: 1.5rem;
  font-weight: 700;
  color: #004080;
  padding-bottom: 0.25rem;
  margin-bottom: 1rem;
}

.team-divider {
  border: 0;
  border-top: 1px solid #ccc;
  margin: 2rem 0;
}

/* Uniform Image Wrapper */
.member-img-wrapper {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background-color: #f8f9fa;
}

.member-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
/* Mobile image height adjustment */
@media (max-width: 576px) {
  .member-img-wrapper {
    height: 150px;
  }
}

/* Member Info */
.col h5 {
  font-size: 15px;
  font-weight: 600;
  color: #036cb6;
  margin-top: 0.5rem;
}

.col h5 a {
  color: inherit;
  text-decoration: none;
}

.col h5 a:hover {
  color: #004080;
}

.col small {
  font-size: 13px;
  color: #555;
}


/* Divider */
.team-divider {
  border: 0;
  border-top: 1px solid grey;
  width: 100%;
  margin: 30px 0;
}

/* Responsive Columns */
@media (max-width: 1300px) {
  .row-cols-lg-5 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1100px) {
  .row-cols-lg-5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .rotary-club-info-left,
  .rotary-club-info-right {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .row-cols-lg-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .row-cols-lg-5 {
    grid-template-columns: 1fr;
  }
}
