    .employee-detail-storage {
        display: none;
    }

    .employee-detail-image {
        width: 100%;
        object-fit: cover;
        height: 21rem;
        max-height: 25rem;
        border-radius: 0.5rem;
        margin-bottom: 1rem;
    }

    .details-container {
        padding: 1rem;
    }

    .active {
        border-radius: 0.75rem;
        box-shadow: 0 0 20px 4px rgba(128, 128, 128, 0.35);  
    }

    .name {
        font-weight: bold;
        padding: 1rem;
        text-align: center;
    }

    .role {
        opacity: 0.75;
        padding: 0.25rem;
        text-align: center;
    }

    .employee {
        color: black;
        padding: 1rem;
        cursor: pointer;
    }

    .employee-icon {
        width: 6rem;
        height: 6rem;
        border-radius: 50%;
        object-fit: cover;
        align-self: center;
    }
    .employee-grid {
        width: 100%;
        display: grid;
        justify-content: space-between;
        align-items: start;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;

        @media (max-width: 1023px) {
            grid-template-columns: 1fr 1fr;
        }   
    }

    .employee-timeline-wrapper {
        font-family: 'Gotham A', 'Gotham B', sans-serif;
        padding: 4rem;
        display: grid;
        gap: 4rem;
        justify-items: center;
        align-items: start;
        grid-template-columns: 1fr 1fr;

        @media (max-width: 1023px) {
            padding: 2rem;
        }
    }

    .icon-container {
        display: grid;
        place-items: center;
    }

    .employee-detail-image, .employee-block-editor {
        opacity: 0;
        animation: fadeIn 0.5s ease forwards;
    }

    .legacy-title {
        font-family: 'Gotham A', 'Gotham B', sans-serif;
        font-size: 3rem;
        font-weight: bold;
        padding: 2rem;
        text-align: center;
    }


    @keyframes fadeIn {
        from { opacity: 0; }
        to   { opacity: 1; }
    }

    .employee-detail-popup {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.7);
        z-index: 9999;
        justify-content: center;
        align-items: center;
        padding: 1.5rem;
    }

    .employee-detail-popup.show {
        display: flex;
    }

    .employee-detail-popup-content {
        background: white;
        border-radius: 0.25rem;
        max-width: 100%;
        width: 100%;
        max-height: 95vh;
        overflow-y: auto;
        position: relative;
        animation: fadeIn 0.3s ease forwards;
        padding: 1.5rem;
        margin-left: 0.25rem;
        margin-right: 0.25rem;
    }

    .popup-close {
        position: absolute;
        top: 0.75rem;
        right: 1rem;
        background: transparent;
        border: none;
        font-size: 2rem;
        font-weight: bold;
        cursor: pointer;
        color: #000;
    }

    .popup-body {
        padding-top: 2rem;
    }

    @media (max-width: 1023px) {
        .employee-timeline-wrapper {
            grid-template-columns: 1fr;
        }

        .employee-details-container {
            display: none;
        }
    }