/* ===== Common Header — reusable page hero for static pages ===== */

#rt-common-header {
    border-top: 20px solid var(--rt-green);
    padding-top: 160px;
    padding-bottom: 80px;
    background-color: var(--rt-navy);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 1200px) {
    #rt-common-header {
        padding-top: 120px;
        padding-bottom: 60px;
    }
}

/* Icon prepended to the H1 (single products) — scales with the heading */

.rt-common-header__icon {
    width: 0.9em;
    height: 0.9em;
    padding: 5px;
    object-fit: contain;
}

/* Navy gradient overlay applied only when a background image is set */

#rt-common-header.has-bg .rt-common-header__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(2, 0, 134, 0.55) 0%, rgba(2, 0, 134, 0.92) 100%);
    pointer-events: none;
}

/* Solid-navy header (no image) — keep a subtle radial highlight at top for depth */

#rt-common-header:not(.has-bg)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse at center top, rgba(105, 184, 66, 0.10) 0%, rgba(2, 0, 134, 0) 60%);
    pointer-events: none;
}
