/* =============================================
   HedgeLists — Fund Profile Page
   ============================================= */

/* --- Layout --- */
.hl-fp-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 60px;
}
.hl-fp-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    margin-top: 24px;
}

/* --- Breadcrumbs --- */
.hl-fp-breadcrumbs {
    font-size: 12px;
    color: var(--hl-text-muted);
    padding: 16px 0 0;
}
.hl-fp-breadcrumbs a {
    color: var(--hl-accent);
    text-decoration: none;
}
.hl-fp-breadcrumbs a:hover {
    text-decoration: underline;
}
.hl-fp-breadcrumb-sep {
    margin: 0 6px;
    color: var(--hl-text-light);
}

/* --- Hero --- */
.hl-fp-hero {
    padding: 24px 0 20px;
    border-bottom: 0.5px solid var(--hl-border);
}
.hl-fp-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--hl-radius-pill);
    background: #F5F5F7;
    color: var(--hl-text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.hl-fp-hero h1 {
    font-size: 30px;
    font-weight: 700;
    color: var(--hl-black);
    margin: 0 0 8px;
    line-height: 1.2;
}
.hl-fp-subtitle {
    font-size: 15px;
    color: var(--hl-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Stats row */
.hl-fp-hero-stats {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}
.hl-fp-hero-stat {
    background: var(--hl-bg-subtle);
    padding: 14px 20px;
    border-radius: var(--hl-radius-lg);
    min-width: 120px;
}
.hl-fp-hero-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--hl-black);
    line-height: 1.2;
}
.hl-fp-hero-stat-label {
    font-size: 11px;
    color: var(--hl-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

/* --- Cards --- */
.hl-fp-card {
    background: #fff;
    border: 0.5px solid var(--hl-border);
    border-radius: var(--hl-radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}
.hl-fp-card-header {
    font-size: 16px;
    font-weight: 700;
    color: var(--hl-black);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 0.5px solid var(--hl-border);
}

/* --- Details grid --- */
.hl-fp-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.hl-fp-detail {
    padding: 10px 0;
    border-bottom: 0.5px solid #f0f0f0;
}
.hl-fp-detail:nth-child(odd) {
    padding-right: 16px;
}
.hl-fp-detail:nth-child(even) {
    padding-left: 16px;
    border-left: 0.5px solid #f0f0f0;
}
.hl-fp-detail--wide {
    grid-column: 1 / -1;
    padding-left: 0 !important;
    border-left: none !important;
}
.hl-fp-detail-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--hl-text-muted);
    margin-bottom: 2px;
}
.hl-fp-detail-value {
    font-size: 14px;
    color: var(--hl-text);
}
.hl-fp-detail-value a {
    color: var(--hl-accent);
}

/* Strategy tags */
.hl-fp-strategy-tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    border-radius: var(--hl-radius-pill);
    background: rgba(46, 163, 242, 0.08);
    color: var(--hl-accent);
    font-weight: 500;
    margin: 2px 4px 2px 0;
}

/* --- Contact list --- */
.hl-fp-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.hl-fp-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 0.5px solid #f0f0f0;
    font-size: 14px;
    color: var(--hl-text);
}
.hl-fp-contact-item:last-child {
    border-bottom: none;
}
.hl-fp-contact-icon {
    font-size: 16px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    margin-top: 1px;
}
.hl-fp-contact-sublabel {
    font-size: 11px;
    color: var(--hl-text-light);
    margin-top: 2px;
}

/* Masked email */
.hl-fp-email-masked {
    color: var(--hl-text-muted);
    font-family: monospace;
    font-size: 13px;
}
.hl-fp-email-unlock {
    color: var(--hl-accent);
    font-weight: 600;
    font-size: 12px;
    margin-left: 6px;
    text-decoration: none;
}
.hl-fp-email-unlock:hover {
    text-decoration: underline;
}

/* --- Executive cards --- */
.hl-fp-exec {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 0.5px solid #f0f0f0;
}
.hl-fp-exec:last-of-type {
    border-bottom: none;
}
.hl-fp-exec-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #E8F4FD;
    color: var(--hl-accent);
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hl-fp-exec-info {
    min-width: 0;
}
.hl-fp-exec-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--hl-black);
}
.hl-fp-exec-title {
    font-size: 13px;
    color: var(--hl-text-muted);
    margin-top: 1px;
}
.hl-fp-exec-email {
    font-size: 13px;
    margin-top: 4px;
}
.hl-fp-exec-linkedin {
    font-size: 12px;
    color: var(--hl-accent);
    text-decoration: none;
    margin-top: 2px;
    display: inline-block;
}
.hl-fp-exec-linkedin:hover {
    text-decoration: underline;
}
.hl-fp-exec-note {
    font-size: 13px;
    color: var(--hl-text-muted);
    line-height: 1.5;
    margin: 16px 0 0;
    padding-top: 12px;
    border-top: 0.5px solid #f0f0f0;
}
.hl-fp-exec-note a {
    color: var(--hl-accent);
}

/* --- About --- */
.hl-fp-about {
    font-size: 14px;
    color: var(--hl-text);
    line-height: 1.7;
}
.hl-fp-about p {
    margin: 0 0 12px;
}
.hl-fp-about p:last-child {
    margin-bottom: 0;
}

/* --- Similar funds --- */
.hl-fp-similar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.hl-fp-similar-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 0.5px solid var(--hl-border);
    border-radius: var(--hl-radius);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, background 0.15s;
}
.hl-fp-similar-card:hover {
    border-color: var(--hl-accent);
    background: var(--hl-bg-subtle);
}
.hl-fp-similar-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--hl-black);
}
.hl-fp-similar-loc {
    font-size: 12px;
    color: var(--hl-text-muted);
}

/* --- Sidebar --- */
.hl-fp-sidebar {
    position: sticky;
    top: 80px;
    align-self: start;
}
.hl-fp-cta-card {
    background: #fff;
    border: 0.5px solid var(--hl-border);
    border-radius: var(--hl-radius-lg);
    padding: 24px;
}
.hl-fp-cta-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--hl-black);
    margin-bottom: 8px;
}
.hl-fp-cta-desc {
    font-size: 13px;
    color: var(--hl-text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}
.hl-fp-cta-divider {
    border: none;
    border-top: 0.5px solid var(--hl-border);
    margin: 0 0 16px;
}
.hl-fp-cta-label {
    font-size: 12px;
    color: var(--hl-text-muted);
    font-weight: 600;
    margin-bottom: 10px;
}

/* Product links */
.hl-fp-product-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 16px;
}
.hl-fp-product-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--hl-radius);
    text-decoration: none;
    color: var(--hl-text);
    transition: background 0.15s;
}
.hl-fp-product-link:hover {
    background: var(--hl-bg-subtle);
}
.hl-fp-product-link-icon {
    font-size: 18px;
    flex-shrink: 0;
}
.hl-fp-product-link-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--hl-black);
}
.hl-fp-product-link-format {
    font-size: 11px;
    color: var(--hl-text-muted);
}

/* CTA actions */
.hl-fp-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    border-top: 0.5px solid var(--hl-border);
}
.hl-fp-cta-browse {
    display: block;
    text-align: center;
    padding: 10px;
    background: var(--hl-accent);
    color: #fff;
    border-radius: var(--hl-radius);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}
.hl-fp-cta-browse:hover {
    background: var(--hl-accent-hover);
    color: #fff;
}
.hl-fp-cta-sample {
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--hl-text-muted);
    text-decoration: none;
}
.hl-fp-cta-sample:hover {
    color: var(--hl-accent);
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 900px) {
    .hl-fp-layout {
        grid-template-columns: 1fr;
    }
    .hl-fp-sidebar {
        position: static;
    }
    .hl-fp-hero h1 {
        font-size: 24px;
    }
    .hl-fp-hero-stats {
        flex-wrap: wrap;
        gap: 12px;
    }
    .hl-fp-hero-stat {
        min-width: 0;
        flex: 1 1 calc(50% - 6px);
    }
    .hl-fp-details {
        grid-template-columns: 1fr;
    }
    .hl-fp-detail:nth-child(even) {
        padding-left: 0;
        border-left: none;
    }
    .hl-fp-detail:nth-child(odd) {
        padding-right: 0;
    }
    .hl-fp-similar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hl-fp-hero-stat {
        flex: 1 1 100%;
    }
    .hl-fp-hero-stat-value {
        font-size: 18px;
    }
}
