/* ═══════════════════════════════════════════════════════════════════
   gc-page-hero directive (app/directives/gcPageHero.js)
   Blue page hero + action bar. Joins the main nav via .nav-joined-hero
   (rules for the join live in navbar.css).
   ═══════════════════════════════════════════════════════════════════ */

.gc-hero {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 10px 22px;
    background: linear-gradient(135deg, #2e3d52 0%, #5c7cad 100%);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
    margin-bottom: 14px;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.gc-hero__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    flex-shrink: 0;
}

.gc-hero__text {
    flex: 1;
    min-width: 0;
}

.gc-hero__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
    line-height: 1.1;
}

.gc-hero__sub {
    font-size: 13px;
    opacity: 0.85;
}

/* Breadcrumbs, right-justified */
.gc-hero__bc {
    font-size: 12px;
    margin-left: auto;
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0;
}

.gc-hero__bc a {
    color: #fff;
    text-decoration: none;
    opacity: 0.85;
}

.gc-hero__bc a:hover {
    text-decoration: underline;
    opacity: 1;
}

/* Current page (linkDisabled crumb) — same green as the Quick Link pill.
   a-disabled adds .disabled, which other stylesheets gray out; override it here. */
.gc-hero__bc a.gc-hero__crumb--current,
.gc-hero__bc a.gc-hero__crumb--current.disabled {
    color: #bbf7d0;
    font-weight: 700;
    opacity: 1;
    cursor: default;
    text-decoration: none;
}

/* Add Quick Link pill */
.gc-ql-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
    padding: 3px 11px;
    border-radius: 999px;
    background: #bbf7d0;
    border: 1px solid #86efac;
    color: #14532d;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, transform 0.1s;
}

.gc-ql-pill:hover {
    background: #86efac;
    transform: translateY(-1px);
}

/* Action bar under the hero */
.gc-action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.gc-action-bar > hero-actions {
    display: contents;
}

@media (max-width: 640px) {
    .gc-hero {
        flex-wrap: wrap;
    }

    .gc-hero__bc {
        white-space: normal;
        margin-left: 0;
        text-align: left;
    }
}
