/* Our Team grid (our-team.php) and member bio pages (team_member.php).
   Adapted from the higgins staff/bio styles with the Peoples red. */

.red-btn {
  background-color: #ed2a28;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.red-btn:hover,
.red-btn:focus {
  background-color: #c81715;
  color: #fff;
  text-decoration: none;
}

.staff-section {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .staff-section {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .staff-section {
    grid-template-columns: repeat(4, 1fr);
  }
}

.staff-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 1rem;
}

.staff-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
}

.staff-info {
  padding: 1rem;
}

.staff-name {
  font-size: 2.2rem;
  font-weight: bold;
  margin: 0.5rem 0 0.2rem;
  color: #ed2a28;
}

.staff-title {
  font-size: 1.8rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.staff-contact {
  font-size: 1.3rem;
  color: #444;
}

.bio-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
}

.bio-photo {
  flex: 1;
  max-width: 30%;
  padding-right: 20px;
}

.bio-photo img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bio-info {
  flex: 1;
  max-width: 70%;
  padding-left: 20px;
}

.bio-text {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.bio-text p {
  margin-bottom: 15px;
}

.bio-contact {
  font-size: 16px;
  margin-bottom: 30px;
}

.bio-contact p {
  margin-bottom: 10px;
}

.bio-contact ul {
  margin: 10px 0 0 20px;
  list-style: disc;
}

@media (max-width: 767px) {
  .bio-container {
    flex-direction: column;
    align-items: center;
  }

  .bio-photo,
  .bio-info {
    max-width: 100%;
    padding: 0;
  }

  .bio-photo {
    margin-bottom: 20px;
  }
}
