



.person-detail-container {
    max-width: 100%;
    margin-bottom: 20px;
    display: flex;
    gap: clamp(20px, 4vw, 60px);
    align-items: flex-start;
}

.person-poster-side {
    flex: 0 0 clamp(260px, 25vw, 340px);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.person-photo {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #1a1a1a;
    aspect-ratio: 2/3;
}

.person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.no-photo-person {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222;
    color: #555;
}

.no-photo-person i {
    font-size: 8rem;
}


.person-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.social-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.link-divider {
    color: rgba(255, 255, 255, 0.15);
}

.person-socials:empty {
    display: none !important;
}


.person-report-container {
    width: 100%;
    margin-top: -2px;
    padding: 0 10px;
    display: flex;
    justify-content: center;
}

.person-report-container .btn-report-data-premium {
    width: 100%;
    justify-content: center;
    height: 42px;
}


.person-info-sidebar h3 {
    margin-top: 0;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 10px;
    font-weight: 700;
}

.info-item {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-item strong {
    font-size: 1rem;
    color: #fff;
    font-weight: 700;
}

.info-item span {
    font-size: 0.95rem;
    color: #ccc;
}

.aka-tag-box {
    display: block;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.05);
}


.person-content-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.person-name {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -1px;
    line-height: 1.2;
}

.biography-section h2 {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
}

.known-for-section h2 {
    font-size: 1.5rem;
    color: var(--primary);
    
    font-weight: 700;
    margin-bottom: 20px;
    
    margin-top: 0;
    text-align: center;
}

.bio-text {
    line-height: 1.5;
    color: var(--text-muted);
    font-size: 1.05rem;
    text-align: left;
    overflow: hidden;
    max-height: 150px;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bio-info-icon {
    margin-right: 8px;
    color: var(--text-muted);
}

.btn-read-more {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
    width: 100%;
}




@media (max-width: 750px) {
    .person-detail-container {
        flex-direction: column;
        gap: 25px;
    }

    
    .person-poster-side,
    .person-content-side {
        display: contents;
    }

    
    .person-photo {
        order: 1;
        max-width: clamp(200px, 60vw, 250px);
        margin: 0 auto;
    }

    .person-socials {
        order: 2;
        justify-content: center;
        margin-top: -8px;
    }

    .person-report-container {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: -8px; 
        margin-bottom: 10px;
    }

    .person-name {
        order: 4;
        width: 100%;
        text-align: center;
        font-size: 2.2rem;
    }

    .biography-section {
        order: 5;
        width: 100%;
    }

    .person-info-sidebar {
        order: 6;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 15px 25px;
        justify-content: center;
    }

    .info-item {
        flex: 1 1 auto;
        min-width: 120px;
        align-items: center;
        text-align: center;
        margin-bottom: 0px;
    }

    .info-item:has(.aka-tag-box) {
        flex: 1 1 100%;
        order: 10;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 10px;
    }

    .known-for-section {
        order: 7;
        width: 100%;
    }


    
    .biography-section h2,
    .person-info-sidebar h3 {
        text-align: center;
        width: 100%;
    }

    .bio-text {
        text-align: center;
    }

    .btn-read-more {
        justify-content: center;
    }

    .projects-loader {
        height: 250px;
    }
}




.projects-loader {
    width: 100%;
    height: 350px;
    background: transparent;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255, 69, 0, 0.3);
    margin-bottom: 25px;
}

.projects-loader .matrix-container {
    top: -50px;
    height: 120%;
}

.projects-loader .loading-content {
    z-index: 2;
    text-align: center;
}

.projects-loader .shimmer-text {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.7rem, 8vw, 1.4rem);
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
    margin-bottom: 5px;
}

.loading-dots-glow {
    margin-top: 5px;
}

.loading-dots-glow span {
    color: var(--primary);
    font-size: 2.22rem;
    font-weight: 900;
    display: inline-block;
    animation: bounceOpacity 1.2s infinite;
    text-shadow: 0 0 10px var(--primary);
}

.loading-dots-glow span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots-glow span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounceOpacity {

    0%,
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-5px);
        text-shadow: 0 0 20px var(--primary);
    }
}


.no-projects-msg {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    padding: 60px 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(255, 255, 255, 0.08);
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.no-projects-msg i {
    font-size: 3.5rem;
    color: var(--primary);
    opacity: 0.3;
}

.no-projects-msg p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}