.alpaja-person {
    font-family: sans-serif;
    background: #f5f1f0;
    padding: 20px;
    border-radius: 12px;
    position: relative;
}

.person-header {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    flex-direction: row;
}

.person-header .photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: #ccc;
    flex-shrink: 0;
    flex-grow: 0;
}

.person-header .info h3 {
    margin: 0;
    font-weight: bold;
}

.person-header .info .position,
.person-header .info .email {
    margin: 0;
}

.person-header .info button.toggle-description {
    margin-top: 10px;
    background: #e0dad6;
    border: none;
    padding: 10px 20px;
    border-radius: 999px;
    cursor: pointer;
}

.alpaja-person .description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-top: 15px;
}

.alpaja-person .description.shown {
    max-height: 2000px; /* should be enough for most content */
}

@media (max-width: 768px) {
    .person-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .person-header .photo {
        margin-bottom: 15px;
    }

    .person-header .info {
        width: 100%;
    }
}
