/* Contact Profiles Styles */
.jit-contact-container {
    max-width: 100%;
    margin: 0 0 40px 0;
    font-family: inherit;
    padding: 0;
    display: block;
}
.jit-contact-photo {
    margin-bottom: 20px;
}
.jit-contact-photo img {
    width: 100%;
    height: auto;
    border-radius: 5%;
    object-fit: cover;
}
.jit-contact-info {
    
}
.jit-contact-name {
    font-size: 1.4em;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #1e3a5f;
    line-height: 1.3;
}
.jit-contact-job-title {
    margin: 0 0 20px 0;
    font-size: 1em;
    color: #666666;
    font-weight: 400;
    line-height: 1.4;
}
.jit-contact-info p {
    margin: 0 0 12px 0;
    font-size: 1em;
    line-height: 1.5;
    color: #333333;
}
.jit-contact-info p strong {
    color: #1e3a5f;
    font-weight: 600;
    margin-right: 8px;
}
.jit-contact-info a {
    color: #2271b1;
    text-decoration: none;
    font-weight: 400;
}
.jit-contact-info a:hover {
    text-decoration: underline;
}
/* No contacts message */
.no-contacts-found {
    text-align: center;
    padding: 40px 20px;
    color: #666666;
    font-style: italic;
    font-size: 1em;
    margin: 20px 0;
}
/* Responsive */
@media (max-width: 768px) {
    .jit-contact-container {
        margin: 0 0 25px 0;
        display: flex;
        align-items: flex-start;
        gap: 15px;
    }
    
    .jit-contact-photo {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .jit-contact-photo img {
        width: 80px;
        height: 80px;
        border-radius: 8px;
    }
    
    .jit-contact-info {
        flex: 1;
        min-width: 0;
    }
    
    .jit-contact-name {
        font-size: 1.2em;
        margin-bottom: 4px;
    }
    
    .jit-contact-job-title {
        font-size: 0.9em;
        margin-bottom: 12px;
    }
    
    .jit-contact-info p {
        font-size: 0.9em;
        margin-bottom: 8px;
    }
}
@media (max-width: 480px) {
    .jit-contact-container {
        margin: 0 0 20px 0;
        gap: 12px;
    }
    
    .jit-contact-photo img {
        width: 70px;
        height: 70px;
    }
    
    .jit-contact-name {
        font-size: 1.1em;
        margin-bottom: 3px;
    }
    
    .jit-contact-job-title {
        font-size: 0.85em;
        margin-bottom: 10px;
    }
    
    .jit-contact-info p {
        font-size: 0.85em;
        margin-bottom: 6px;
    }
}
/* Print */
@media print {
    .jit-contact-container {
        margin: 20px 0;
        break-inside: avoid;
        display: block;
    }
    
    .jit-contact-photo {
        margin-bottom: 20px;
    }
    
    .jit-contact-info a {
        color: inherit;
        text-decoration: none;
    }
}
/* Debug */
.no-contacts-found details {
    margin-top: 15px;
    text-align: left;
}
.no-contacts-found summary {
    cursor: pointer;
    font-weight: 600;
    color: #2271b1;
    padding: 5px 0;
}
.no-contacts-found pre {
    font-size: 11px;
    background: #f0f0f0;
    padding: 10px;
    border-radius: 3px;
    margin-top: 10px;
    white-space: pre-wrap;
    word-wrap: break-word;
    border: 1px solid #ddd;
    color: #333;
}