/* ============================================================
   LAWYER PORTFOLIO — social-profile style, gold/navy accent
   ============================================================ */

.lp-page {
    background: #f6f7f9;
    padding-bottom: 4rem;
}

/* ===== COVER ===== */
.lp-cover {
    height: 220px;
    background-color: #ffffff;
    background-image: radial-gradient(rgba(212, 175, 55, 0.55) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #f1f3f5;
}

/* ===== PROFILE BAR ===== */
.lp-profile-bar {
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
    margin-top: -64px;
    padding-bottom: 1.5rem;
    flex-wrap: wrap;
    position: relative;
}

.lp-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.lp-avatar {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #f6f7f9;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
    background: #fff;
    display: block;
}

.lp-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    background: linear-gradient(135deg, #d4af37 0%, #f4d675 100%);
}

.lp-role-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: #d4af37;
    color: #0f172a;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    border: 2px solid #f6f7f9;
}

.lp-identity {
    flex: 1;
    min-width: 240px;
    padding-bottom: 0.25rem;
}

.lp-name {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.4rem 0;
}

.lp-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 1.1rem;
    margin-bottom: 0.6rem;
}

.lp-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #64748b;
    font-size: 0.9rem;
}

.lp-meta-item svg {
    color: #d4af37;
    flex-shrink: 0;
}

.lp-meta-highlight {
    color: #b8860b;
    font-weight: 700;
    background: rgba(212, 175, 55, 0.12);
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
}

.lp-firm-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.lp-firm-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: white;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;
    transition: all 0.2s ease;
}

.lp-firm-chip:hover {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.08);
}

.lp-firm-chip img {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    object-fit: cover;
}

/* ===== ACTIONS ===== */
.lp-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-bottom: 0.25rem;
}

.lp-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.lp-cta-primary {
    background: linear-gradient(135deg, #d4af37 0%, #f4d675 100%);
    color: #0f172a;
}

.lp-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(212, 175, 55, 0.35);
}

.lp-cta-secondary {
    background: white;
    color: #b8860b;
    border: 1.5px solid #d4af37;
}

.lp-cta-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.lp-cta-outline {
    background: white;
    color: #64748b;
    border: 1.5px solid #e2e8f0;
}

.lp-cta-outline:hover {
    color: #0f172a;
    border-color: #cbd5e1;
}

/* ===== STATS STRIP ===== */
.lp-stats-strip {
    display: flex;
    align-items: stretch;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 1rem 0.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    flex-wrap: wrap;
}

.lp-stat {
    flex: 1;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.5rem 0.75rem;
    text-align: center;
}

.lp-stat-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
}

.lp-stat-label {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lp-stat-divider {
    width: 1px;
    background: #e9ecef;
    margin: 0.25rem 0;
}

.lp-stat-price .lp-stat-value {
    color: #b8860b;
}

/* ===== BODY LAYOUT ===== */
.lp-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.lp-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 1.5rem;
}

.lp-main {
    min-width: 0;
}

.lp-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.lp-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f3f5;
}

.lp-info-row {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.lp-info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.lp-info-label {
    display: block;
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lp-info-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    overflow-wrap: anywhere;
}

.lp-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid #f8f9fa;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.lp-contact-row > div {
    flex: 1;
    min-width: 0;
}

.lp-contact-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Overrides ".lp-contact-row > div { flex: 1; }" above - that generic rule
   is more specific (element + class beats a single class) and was stretching
   the icon box to fill the row, leaving empty space around the small SVG. */
.lp-contact-row > div.lp-contact-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.12);
    color: #b8860b;
}

.lp-contact-row-price .lp-info-value {
    color: #b8860b;
}

.lp-payout-type-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.lp-payout-type-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.12);
    color: #8a6d1a;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.lp-firm-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    text-decoration: none;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid #f8f9fa;
    transition: color 0.2s ease;
}

.lp-firm-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.lp-firm-row:hover {
    color: #b8860b;
}

.lp-firm-row-logo {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.lp-firm-row-logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.lp-bio-text {
    color: #374161;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

.lp-empty-hint {
    color: #adb5bd;
    font-size: 0.9rem;
    margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .lp-layout {
        grid-template-columns: 1fr;
    }

    .lp-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .lp-cover {
        height: 150px;
    }

    .lp-profile-bar {
        margin-top: -48px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .lp-avatar {
        width: 96px;
        height: 96px;
    }

    .lp-identity {
        text-align: center;
    }

    .lp-meta-row,
    .lp-firm-chips {
        justify-content: center;
    }

    .lp-actions {
        width: 100%;
        justify-content: center;
    }

    .lp-stats-strip {
        flex-wrap: wrap;
    }

    .lp-stat-divider {
        display: none;
    }
}
