/* css/pi.css */

.pi-layout {
    display: flex;
    gap: 40px;
    padding: 20px 0 0px 0;
}

.pi-sidebar {
    flex: 0 0 350px;
    /* Do not grow, do not shrink, base width of 250px */
}

.pi-photo img {
    width: 70%;
    height: 340px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.pi-contact-info {
    font-size: 0.9rem;
    line-height: 1.7;
}

.pi-contact-info .content-subheading {
    font-size: 1.5rem;
    /* Make the name a bit larger */
    border-bottom: none;
    margin-bottom: 5px;
}

.pi-title-list {
list-style: none;
    /* Removes the bullets */
    padding-left:10px;
    /* Removes default browser indentation */
    margin: 10px 0 15px 0;
    /* Adjusts top/bottom spacing */
    line-height: 1.5;
    /* Slightly tighter line spacing for the list */
    border-left: 2px solid #e1e1e1;
    /* A subtle timeline vertical line */
}

.pi-title-list li {
    margin-bottom: 4px;
    /* Adds space between list items */
}

.pi-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pi-links .btn {
    width: 100%;
    text-align: center;
}

.pi-main-content {
    flex: 1;
    /* Grow to fill remaining space */
}

.pi-main-content section:not(:last-of-type) {
    margin-bottom: 40px;
}


/* On smaller screens, stack the columns */
@media (max-width: 800px) {
    .pi-layout {
        flex-direction: column;
    }

    .pi-sidebar {
        flex-basis: auto;
        /* Reset the width */
        margin-bottom: 40px;
    }
}