/* Canonical authenticated-page heading: eyebrow, title, description and actions. */

body.cb-dark .cb-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--cb-space-4);
}

body.cb-dark :is(.cb-content-header, .cb-portfolio-heading, .cb-operations-header-content).cb-page-header {
    min-height: 0;
    margin: 0;
    padding: var(--cb-space-2) 0 var(--cb-space-1);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body.cb-dark .cb-operations-header-surface {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body.cb-dark .cb-page-header-copy {
    display: grid;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    gap: var(--cb-space-1);
}

body.cb-dark .cb-dashboard-hero.cb-page-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
    align-items: center;
    gap: var(--cb-space-5);
}

body.cb-dark .cb-dashboard-hero .cb-page-header-copy {
    width: auto;
}

body.cb-dark .cb-page-header .cb-page-header-eyebrow {
    margin: 0;
    color: var(--cb-accent);
    font-size: var(--cb-font-micro);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.cb-dark .cb-page-header-copy > :is(h1, h2) {
    margin: 0;
    color: var(--cb-text);
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-size: clamp(var(--cb-font-section-title), 2.4vw, var(--cb-font-page-title));
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.03em;
}

body.cb-dark .cb-page-header-copy > p {
    max-width: none;
    margin: 0;
    color: var(--cb-text-muted);
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-size: var(--cb-font-body);
    font-weight: 400;
    line-height: 1.5;
}

body.cb-dark .cb-page-header-copy > p :is(strong, b) {
    color: inherit;
    font-weight: inherit;
}

body.cb-dark .cb-page-header-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--cb-space-2);
    margin-top: var(--cb-space-1);
}

body.cb-dark .cb-page-header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: var(--cb-space-2);
}

@media (max-width: 959px) {
    body.cb-dark .cb-page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    body.cb-dark .cb-page-header-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 720px) {
    body.cb-dark .cb-dashboard-hero.cb-page-header {
        grid-template-columns: 1fr;
    }

    body.cb-dark .cb-page-header-copy > :is(h1, h2) {
        font-size: var(--cb-font-section-title);
    }

    body.cb-dark .cb-page-header-copy > p {
        font-size: var(--cb-font-control);
    }
}
