/* 1. Replicate the Navy Blue Header Bar */
#header {
    background-color: #1a3a6b !important; /* Your exact Navy Blue */
    padding: 11px 22px !important;
    border-radius: 12px !important;
    margin-bottom: 8px !important;
    display: flex !important;
    align-items: center !important;
    color: white !important;
}

/* 2. Style the Title to match .hub-title (size 27px, weight 900) */
#header h1 {
    font-size: 27px !important;
    font-weight: 900 !important;
    letter-spacing: 0.1px !important;
    font-family: 'Nunito', sans-serif !important;
    color: white !important;
}

/* 3. Style the Date/Time to match your .hub-date */
#header .datetime {
    font-size: 16px !important;
    font-weight: 600 !important;
    opacity: 0.85 !important;
    margin-left: auto; /* Pushes the date to the right side of the header */
}

/* 4. Add the Trojan Logo back in via CSS if it's not in the title */
#header::before {
    content: "";
    display: block;
    height: 46px;
    width: 46px;
    background-image: url('/public/trojan-logo.png'); /* Path to your logo */
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 14px;
    filter: brightness(0) invert(1); /* Makes the logo white like your HTML filter */
    opacity: 0.92;
}

/* Target the What's New widget specifically */
[id^="widget-customapi-whats-new"] {
    background-color: #ffffff !important;
    border-left: 3px solid #f4a926 !important; /* The signature orange border */
    border-radius: 11px !important;
    overflow: hidden;
}

/* Style the internal header to match your .alert-header style */
[id^="widget-customapi-whats-new"] .widget-header {
    background-color: #fffbf0 !important;
    border-bottom: 1px solid #f0e8d0 !important;
    padding: 7px 11px !important;
}

/* Match the Badge style (the orange 'New' or 'Update' tags) */
.alert-badge-replica {
    background: #f4a926;
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 8px;
    text-transform: uppercase;
}
