
/* =========================================
   PERSON DETAILS PAGE
========================================= */

/* Breadcrumb */
.person-breadcrumb {
    margin-bottom: 25px;
    font-size: 14px;
    color: #777;
}

.person-breadcrumb a {
    color: #174a70;
    text-decoration: none;
}

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

.person-breadcrumb span {
    margin: 0 8px;
    color: #aaa;
}

/* =========================================
   PERSON PROFILE
========================================= */

.person-profile {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.06);
}

.person-image {
    width: 160px;
    height: 160px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #eee;
}

.person-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    color: #888;
}

.person-info {
    flex: 1;
    min-width: 0;
}

.person-info h2 {
    font-size: 25px;
    margin-bottom: 8px;
    color: #333;
}

.person-info p {
    line-height: 1.7;
}

.person-meta {
    color: #888;
    font-size: 13px;
    margin-bottom: 12px;
}

/* Profile Buttons */
.person-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.profile-action {
    background: #fff;
    color: #174a70;
    border: 1px solid #174a70;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s ease;
}

.profile-action:hover {
    background: #174a70;
    color: #fff;
}

/* =========================================
   NAVIGATION TABS
========================================= */

.person-tabs {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 7px;
    overflow: hidden;
    margin: 25px 0;
}

.person-tab {
    flex: 1;
    padding: 14px 10px;
    background: #fff;
    color: #444;
    border: none;
    border-right: 1px solid #ddd;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.person-tab:last-child {
    border-right: none;
}

.person-tab i {
    margin-right: 5px;
}

.person-tab:hover {
    background: #f1f4f7;
    color: #174a70;
}

.person-tab.active {
    background: #3b70d1;
    color: #fff;
}

/* =========================================
   TAB CONTENT
========================================= */

.person-tab-content {
    display: none;
    padding: 25px 15px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 7px;
    min-height: 250px;
    animation: personFade 0.3s ease;
}

@keyframes personFade {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.person-tab-content h3 {
    font-size: 21px;
    margin-bottom: 18px;
    color: #333;
}

/* =========================================
   OVERVIEW
========================================= */

.person-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

.biography {
    padding: 10px;
}

.biography h3,
.key-facts h3 {
    font-size: 19px;
    margin-bottom: 15px;
}

.biography p {
    line-height: 1.9;
    color: #555;
}

.key-facts {
    background: #f5f7f9;
    border: 1px solid #e0e4e8;
    border-radius: 7px;
    padding: 20px;
}

.key-facts p {
    font-size: 13px;
    margin-bottom: 15px;
    color: #555;
    line-height: 1.6;
}

.key-facts i {
    width: 22px;
    color: #174a70;
}

/* =========================================
   EMPTY TAB CONTENT
========================================= */

.empty-tab {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #f8f9fa;
    border: 1px dashed #ccc;
    border-radius: 7px;
    padding: 25px;
    margin-top: 20px;
}

.empty-tab i {
    font-size: 35px;
    color: #174a70;
    margin-bottom: 15px;
}

.empty-tab p {
    color: #777;
    margin: 0;
}

/* =========================================
   PHOTO GALLERY
========================================= */

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 7px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.gallery-item p {
    padding: 10px;
    margin: 0;
    font-size: 13px;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 991px) {

    .person-profile {
        flex-wrap: wrap;
    }

    .person-actions {
        width: 100%;
    }

    .person-tab {
        flex: 1 1 33.33%;
        border-bottom: 1px solid #ddd;
    }

}

@media (max-width: 767px) {

    .person-profile {
        flex-direction: column;
        align-items: flex-start;
    }

    .person-image {
        width: 130px;
        height: 130px;
    }

    .person-info {
        width: 100%;
    }

    .person-actions {
        width: 100%;
    }

    .person-content {
        grid-template-columns: 1fr;
    }

    .person-tab {
        flex: 1 1 50%;
        font-size: 12px;
        padding: 12px 5px;
        border-right: 1px solid #ddd;
    }

    .person-tab-content {
        padding: 18px 12px;
    }

}

@media (max-width: 400px) {

    .person-tab {
        flex: 1 1 100%;
    }

}
