/* ==================================================================
   Page Hero Background Image Enhancement
   Standalone stylesheet — does not modify style.css / custom.css
   Applies to .page-header sections that use the .has-bg-image modifier
   ================================================================== */

.page-header.has-bg-image {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #030f27; /* fallback while the image loads */
}

/* Overlay so text stays readable over any photo */
.page-header.has-bg-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 15, 39, .82) 0%, rgba(3, 15, 39, .68) 100%);
}

.page-header.has-bg-image .container {
    position: relative;
    z-index: 1;
}

.page-header.has-bg-image h2 {
    color: #ffffff;
}

.page-header.has-bg-image h2::after {
    background: #fdbe33;
}

.page-header.has-bg-image a {
    color: #ffffff;
}

.page-header.has-bg-image a:hover {
    color: #fdbe33;
}

.page-header.has-bg-image a::after {
    color: #ffffff;
}
