/* --- 1. THE VARIABLE HIJACK (Fixes the wide stretch) --- */
:root {
    --max: 1200px !important; 
}

/* --- 2. HEADER & CONTAINER LIMITS --- */
/* This centers your content and stops it at 1200px */
.layout-container, 
.container, 
.jpr-hero .container,
#site-alert,
[style*="border: 1px solid #ccc"] {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* --- 3. HERO TEXT FIX --- */
.jpr-h1, .jpr-hero h1 {
    max-width: 1200px !important;
    line-height: 1.1 !important;
    display: block !important;
}

/* --- 4. THE STATUS BADGES (Visual Polish) --- */
/* This makes the tags look like professional pills */
.jpr-step .d-flex.gap-2 span, 
.status-badge {
    display: inline-flex !important;
    padding: 4px 10px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--border) !important;
    border-radius: 4px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: var(--muted) !important;
    margin-right: 8px !important;
}

/* --- 5. DROPDOWN OVERRIDE (Fixes the 'Behind' issue) --- */
/* This ensures the menu always stays on top of the hero content */
.header, .navbar, .dropdown-menu {
    z-index: 9999 !important;
}

.jpr-hero, .jpr-section {
    z-index: 1 !important;
    position: relative;
}