.person-card-container-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
}

/* hover animation */
.person-card-container-main.hover-enabled:hover .person-image-window::before {
    height: 465px;
}

.person-card-container-main.hover-enabled:hover .person-image-overlay {
    opacity: 0.7;
    height: 465px;
}

.person-card-container-main:hover .person-page-link {
    cursor: pointer;
    display: block;
}
/* =========================
   Image Window (ONLY place with image)
========================= */
.person-image-window {
    position: relative;
    height: 320px;
    margin: 10px;
    border-radius: 20px;

    /* depth */
    /* box-shadow:
        0 10px 25px rgba(0,0,0,0.3),
        inset 0 0 0 2px rgba(255,255,255,0.15); */
}

.person-image-overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    height: 1px;
    border-radius: 20px;
    transition: height 0.3s ease;
    transition: opacity 0.3s ease;
}

/* =========================
   Optional zoom effect
========================= */
.person-image-window::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    height: 320px;
    background-size: cover;
    background-position: center top;
    transition: height 0.5s ease;
    border-radius: 20px
}

/* =========================
   Info section
========================= */
.person-info-container {
    padding: 20px 40px;
    position: relative;
    z-index: 10;
}

.separator {
    display: flex;
    align-items: center;
    place-content: space-between;
    flex-wrap: wrap;
}

.name {
    margin: 0;
}

.title {
    opacity: 0.7;
}

.description {
}

.person-page-link {
    display: none;
}