/* WigProLocator Public Profile Styles */

.wpl-profile {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Hero: Cover + Avatar + Name */
.wpl-profile-hero {
    margin-bottom: 30px;
}

.wpl-profile-cover {
    height: 240px;
    background: #e9ecef;
    background-size: cover;
    background-position: center;
    border-radius: 12px 12px 0 0;
}

.wpl-profile-header-info {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    padding: 0 24px 0;
    margin-top: -50px;
    position: relative;
}

.wpl-profile-avatar img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.wpl-profile-header-text {
    padding-bottom: 8px;
}

.wpl-profile-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wpl-profile-name-row h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.wpl-profile-title {
    margin: 2px 0 0;
    font-size: 14px;
    color: #6c757d;
}

.wpl-profile-location {
    margin: 2px 0 0;
    font-size: 13px;
    color: #adb5bd;
}

/* Two-column body */
.wpl-profile-body {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.wpl-profile-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.wpl-profile-main {
    flex: 1;
    min-width: 0;
}

/* Sections */
.wpl-profile-section {
    margin-bottom: 28px;
}

.wpl-profile-section h2 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
}

.wpl-profile-section p {
    font-size: 14px;
    color: #495057;
    line-height: 1.6;
    margin: 0;
}

/* Contact list */
.wpl-profile-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wpl-profile-contact-list li {
    font-size: 13px;
    color: #495057;
    margin-bottom: 8px;
    line-height: 1.4;
}

.wpl-profile-contact-list li strong {
    color: #333;
}

.wpl-profile-contact-list a {
    color: #333;
    text-decoration: underline;
}

/* Social links */
.wpl-profile-social-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.wpl-social-link {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #495057;
    background: #f1f3f5;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.wpl-social-link:hover {
    background: #e9ecef;
    color: #333;
}

/* Services */
.wpl-profile-services {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.wpl-profile-service-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    font-size: 14px;
}

.wpl-profile-service-row:not(:last-child) {
    border-bottom: 1px solid #f1f3f5;
}

.wpl-profile-service-name {
    color: #333;
    font-weight: 500;
}

.wpl-profile-service-price {
    color: #495057;
    font-weight: 600;
}

/* Portfolio */
.wpl-profile-portfolio-cat h3 {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin: 0 0 10px;
}

.wpl-profile-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.wpl-profile-gallery-thumb {
    width: 130px;
    height: 130px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: transform 0.2s, box-shadow 0.2s;
}

.wpl-profile-gallery-thumb:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.wpl-profile-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Blog posts */
.wpl-profile-post {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f1f3f5;
}

.wpl-profile-post:last-child {
    border-bottom: none;
}

.wpl-profile-post-thumb {
    width: 120px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.wpl-profile-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wpl-profile-post-body h3 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.wpl-profile-post-date {
    font-size: 12px;
    color: #adb5bd;
    margin: 0 0 6px;
}

.wpl-profile-post-excerpt {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.5;
    margin: 0 0 6px;
}

.wpl-profile-read-more {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-decoration: underline;
}

/* Badge (reuse from dashboard) */
.wpl-badge-premium {
    display: inline-block;
    background: #f5a623;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 700px) {
    .wpl-profile {
        padding: 0 12px 30px;
    }

    .wpl-profile-cover {
        height: 160px;
    }

    .wpl-profile-header-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: -40px;
        padding: 0 12px;
    }

    .wpl-profile-name-row {
        justify-content: center;
    }

    .wpl-profile-body {
        flex-direction: column;
    }

    .wpl-profile-sidebar {
        width: 100%;
    }

    .wpl-profile-gallery-thumb {
        width: 100px;
        height: 100px;
    }

    .wpl-profile-post {
        flex-direction: column;
        gap: 10px;
    }

    .wpl-profile-post-thumb {
        width: 100%;
        height: 180px;
    }
}
