/**
 * FXD Broker Heading — [frs_broker_heading] (or wherever this renders)
 * Extracted from an inline <style> block (was echoed on wp_head
 * for every page load, whether it was needed or not).
 * Now a real stylesheet, enqueued only when it renders.
 */


/* Breadcrumbs */
.frs-bh-wrap .rank-math-breadcrumb {
    display: block;
    padding: 12px 24px 0;
}
.frs-bh-wrap .rank-math-breadcrumb p {
    margin: 0;
    font-size: 11px;
    color: var(--fxd-text-muted);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    line-height: 1.5;
}
.frs-bh-wrap .rank-math-breadcrumb a {
    color: var(--fxd-text-muted);
    text-decoration: none;
    transition: color 0.15s;
}
.frs-bh-wrap .rank-math-breadcrumb a:hover {
    color: var(--fxd-primary);
}
.frs-bh-wrap .rank-math-breadcrumb .separator {
    color: var(--fxd-border);
    margin: 0 1px;
}
.frs-bh-wrap .rank-math-breadcrumb span:last-child {
    color: var(--fxd-text);
    font-weight: 600;
}

/* ── FRS Broker Heading ── */
.frs-bh-wrap {
    font-family: "Outfit", "DM Sans", sans-serif;
    background: var(--fxd-surface-alt);
    border: 1px solid var(--fxd-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
}

/* Hero row */
.frs-bh-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px 16px;
    border-bottom: 1px solid var(--fxd-border);
}
.frs-bh-logo {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    background: var(--fxd-surface-alt);
    border: 1px solid var(--fxd-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.frs-bh-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    box-sizing: border-box;
}
.frs-bh-initials {
    font-size: 20px;
    font-weight: 700;
    color: var(--fxd-text-muted);
}
.frs-bh-hero-text { flex: 1; min-width: 0; }
.frs-bh-title {
    margin: 0 0 5px;
    font-size: 22px;
    font-weight: 800;
    color: var(--fxd-text);
    line-height: 1.2;
}
.frs-bh-sub {
    margin: 0;
    font-size: 12px;
    color: var(--fxd-text-muted);
    line-height: 1.5;
}

/* Byline row */
.frs-bh-byline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 11px 24px;
    background: var(--fxd-surface-alt);
    border-bottom: 1px solid var(--fxd-border);
}
.frs-bh-byline-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.frs-bh-byline-icon {
    display: flex;
    align-items: center;
    color: var(--fxd-text-muted);
}
.frs-bh-byline-label {
    font-size: 11px;
    color: var(--fxd-text-muted);
}
.frs-bh-author {
    font-size: 11px;
    font-weight: 700;
    color: var(--fxd-text);
    text-decoration: none;
}
.frs-bh-author:hover { color: var(--fxd-primary); }
.frs-bh-byline-sep {
    font-size: 11px;
    color: var(--fxd-border);
}
.frs-bh-date {
    font-size: 11px;
    color: var(--fxd-text-muted);
}

/* Fact-check badge */
.frs-bh-factcheck {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    color: var(--fxd-positive-dark);
    background: rgba(26, 158, 82, 0.08);
    border: 1px solid rgba(26, 158, 82, 0.25);
    border-radius: 20px;
    padding: 3px 10px;
    white-space: nowrap;
}
.frs-bh-factcheck strong {
    font-weight: 700;
}

/* Stats bar */
.frs-bh-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.frs-bh-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 24px;
    border-right: 1px solid var(--fxd-border);
}
.frs-bh-stat:last-child {
    border-right: none;
}
.frs-bh-stat__v {
    font-size: 20px;
    font-weight: 800;
    color: var(--fxd-text);
    line-height: 1;
    font-family: "Syne", "Outfit", sans-serif;
}
.frs-bh-stat__l {
    font-size: 10px;
    color: var(--fxd-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.3;
}

/* Risk disclaimer */
.frs-bh-risk {
    margin: 0;
    padding: 10px 24px;
    font-size: 10px;
    color: var(--fxd-text-muted);
    background: var(--fxd-surface-alt);
    border-top: 1px solid var(--fxd-border);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 600px) {
    .frs-bh-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .frs-bh-stat:nth-child(2) {
        border-right: none;
    }
    .frs-bh-stat:nth-child(1),
    .frs-bh-stat:nth-child(2) {
        border-bottom: 1px solid var(--fxd-border);
    }
    .frs-bh-hero { padding: 18px 16px 14px; }
    .frs-bh-byline { padding: 10px 16px; }
    .frs-bh-stat { padding: 14px 16px; }
    .frs-bh-risk { padding: 10px 16px; }
}
