/* --- PROFILE PAGE LAYOUT --- */
.profile-page-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.profile-breadcrumbs {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 25px;
}
.profile-breadcrumbs a {
    color: var(--rlp-red, #e3003a);
    text-decoration: none;
}
.profile-breadcrumbs a:hover {
    text-decoration: underline;
}

.profile-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    align-items: start;
}

/* --- LEFT SIDEBAR (PHOTO & CONTACT) --- */
.profile-image-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    border-bottom: 4px solid var(--rlp-red, #e3003a);
}

.profile-image-container img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
}

.profile-contact-card {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
}

.profile-contact-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--text-dark, #333);
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 10px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1rem;
}

.contact-list li i {
    color: var(--rlp-red, #e3003a);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.contact-list li a {
    color: var(--text-dark, #333);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    word-break: break-all;
}
.contact-list li a:hover {
    color: var(--rlp-red, #e3003a);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ccc;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.social-links a.social-fb { color: #3b5998; }
.social-links a.social-ig { color: #C13584; }
.social-links a.social-li { color: #0077b5; }
.social-links a.social-tw { color: #1DA1F2; }

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-color: transparent;
    color: #fff;
}
.social-links a.social-fb:hover { background: #3b5998; }
.social-links a.social-ig:hover { background: #C13584; }
.social-links a.social-li:hover { background: #0077b5; }
.social-links a.social-tw:hover { background: #1DA1F2; }

/* --- RIGHT MAIN COLUMN (BIO) --- */
.profile-header {
    margin-bottom: 30px;
}

.profile-header h1 {
    font-size: 2.8rem;
    color: var(--text-dark, #333);
    margin: 0 0 5px 0;
    line-height: 1.1;
}

.profile-title {
    font-size: 1.4rem;
    color: var(--rlp-red, #e3003a);
    font-weight: 400;
    margin: 0;
}

.profile-bio-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark, #333);
}

.bio-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

.btn-search-listings {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    color: var(--rlp-red, #e3003a);
    border: 2px solid var(--rlp-red, #e3003a);
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
    margin-top: 10px;
}
.btn-search-listings:hover {
    background: var(--rlp-red, #e3003a);
    color: #fff;
}

/* --- RESPONSIVE MOBILE FIXES --- */
@media (max-width: 992px) {
    .profile-container {
        grid-template-columns: 1fr; /* Stacks the sidebar on top of the bio */
        gap: 30px;
    }
    
    .profile-image-container {
        max-width: 400px; /* Prevents the photo from getting massively wide on tablets */
        margin: 0 auto 20px auto;
    }
    
    .profile-header h1 {
        font-size: 2.2rem;
    }
}