/* --- About Us page custom styles --- */

/* Section headings with a decorative accent */
.aboutus-page h1 {
  position: relative;
  text-align: center;
  margin-top: 3.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 0.75rem;
  font-size: 2rem;
  letter-spacing: 0.02em;
}

.aboutus-page h1::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 0.25rem;
  margin: 0.75rem auto 0;
  border-radius: 0.1875rem;
  background: linear-gradient(90deg, #0085A1, #008AFF);
}

.aboutus-page h1:first-child {
  margin-top: 1.5rem;
}

/* Member grid: each person is one self-contained card */
.aboutus-page .members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin: 0 0 2.5rem;
}

/* Each member card keeps its image, name, and description together */
.aboutus-page .member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* The definition list inside each member */
.aboutus-page .member dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* The photo */
.aboutus-page .member dl dt:first-of-type {
  margin: 0;
}

.aboutus-page .member dl dt img {
  width: 100%;
  max-width: 260px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.18);
  border: 0.375rem solid #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aboutus-page .member dl dt img:hover {
  transform: translateY(-0.25rem) scale(1.02);
  box-shadow: 0 0.9rem 2rem rgba(0, 0, 0, 0.25);
}

/* The name */
.aboutus-page .member dl dt:nth-of-type(2) {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #2c3e50;
  margin: 1rem 0 0;
}

/* The description */
.aboutus-page .member dl dd {
  margin: 0.5rem 0 0;
  color: #555;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Responsive tweaks */
@media (max-width: 767px) {
  .aboutus-page .members {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}