/* ============================================================
   HGE UNIFIED HERO — Single source of truth for ALL page heroes.
   Used by every page template, post, archive, and custom template.
   DO NOT duplicate these styles in other files.
   ============================================================ */

.hge-hero {
    position: relative;
    background: linear-gradient(135deg, var(--hge-navy) 0%, var(--hge-navy-light) 100%);
    color: #fff;
    text-align: center;
    padding: 4.5rem 1rem 3.5rem;
    overflow: hidden;
    isolation: isolate;
}
.hge-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 20% 30%, rgba(244,180,0,0.08), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(244,180,0,0.06), transparent 50%);
    pointer-events: none;
}
.hge-hero__inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}
.hge-hero__bc {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--hge-gold);
    margin-bottom: 1rem;
}
.hge-hero__bc a {
    color: var(--hge-gold);
    text-decoration: none;
    transition: color 0.15s ease;
}
.hge-hero__bc a:hover {
    color: #fff;
    text-decoration: underline;
}
.hge-hero__bc-sep {
    color: rgba(244,180,0,0.4);
    user-select: none;
}
.hge-hero__bc-current {
    color: #fff;
    font-weight: 600;
    opacity: 0.9;
}
.hge-hero__title {
    margin: 0 0 0.75rem;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    letter-spacing: -0.01em;
}
.hge-hero__subtitle {
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.78);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Variants */
.hge-hero--compact {
    padding: 3rem 1rem 2.5rem;
}
.hge-hero--compact .hge-hero__title {
    font-size: 1.85rem;
}
.hge-hero--archive {
    padding: 3.5rem 1rem 3rem;
}

/* Responsive — must be visually identical across pages */
@media (max-width: 900px) {
    .hge-hero { padding: 3.5rem 1rem 2.75rem; }
    .hge-hero__title { font-size: 1.85rem; }
    .hge-hero__subtitle { font-size: 0.95rem; }
}
@media (max-width: 600px) {
    .hge-hero { padding: 2.75rem 1rem 2.25rem; }
    .hge-hero__title { font-size: 1.5rem; }
    .hge-hero__subtitle { font-size: 0.9rem; }
    .hge-hero__bc { font-size: 0.7rem; }
}
