.grid-council-members {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0;
}

.member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #fff;
  border-inline-start: 1px solid #ddd;
  box-sizing: border-box;
}

/* === Photo === */
.member-photo {
  background-color: #f0f0f0;
  aspect-ratio: 1 / 1;
  width: 100%;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === Text Card === */
.member-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.member-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cv-link {
  margin-top: auto;
}

.member-text p {
  margin: 0 0 0.5rem;
  background-color: #fff;
}

/* === Typography === */
.member-name {
  font-family: 'kufi-bold', sans-serif;
  color: #006838;
    font-size: x-large;
    text-align: center;
    font-weight: bold;
}

.member-position {
  font-size: 18px;
  color: gray;
  text-align:center;
}

.member-desc {
  font-size: 16px;
  color: #444;
  text-align:center;
}

.member-cv {
  
  color: #ccc;
    /* text-decoration: underline; */
    border: 1px;
    border-color: #ccc;
    border-style: solid;
    padding-bottom: 5px;
    padding-top: 5px;
    padding-right: 16px;
    padding-left: 16px;
    font-size: 16px;
}

.member-cv:hover {
  text-decoration: none;
  background-color:#ccc;
  color: #367546;
  font-size:smaller;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .grid-council-members {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-council-members {
    grid-template-columns: 1fr;
  }
}
