.people-container {
    max-width: 1000px;
    margin: auto;
    padding: 2rem;
}

.people-container h1 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section {
    margin-top: 2rem;
}

.section h2 {
    font-size: 2.2rem;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

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

.person-card {
    border: 1px solid #ccc;
    max-width: 450px;
    border-radius: 8px;
    padding: 1rem;
    background-color: #f9f9f9;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: box-shadow 0.3s;
    cursor: pointer;
}

.person-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.person-photo {
    width: 100%;
    height: 350px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 0.2rem;
}

.person-card h3 {
    margin: 0.5rem 0 0.25rem;
    font-size: 1.5rem;
    color: #BF5700;
}

.person-card h3 a {
    color: #BF5700;
    text-decoration: none;
    font-size: 1.5rem;
}
.person-card p {
    margin: 0.25rem 0;
    color: #444;
    font-size: 1rem;
}

.person-card a {
    text-decoration: none;
    color: #0056b3;
}

.person-card a:hover {
    text-decoration: underline;
}

.icon {
    margin-right: 6px;
    color: #555;
}

.bio-popup {
    position: absolute;
    top: 10px;
    width: 250px;
    background-color: white;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    z-index: 10;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 0.9em;
    line-height: 1.4;
}

.bio-popup.right {
    left: 100%;
    margin-left: 15px;
}

.bio-popup.right::after {
    content: "";
    position: absolute;
    top: 20px;
    right: 100%;
    border-width: 8px;
    border-style: solid;
    border-color: transparent white transparent transparent;
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.1));
}

.bio-popup.left {
    right: 100%;
    margin-right: 15px;
}

.bio-popup.left::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 100%;
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent transparent white;
    transform: rotate(90deg);
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.1));
}