/**
 * Late-loaded theme overrides — wins over per-page inline <style> blocks.
 * Loaded from footer.php on every public page.
 */

/* Page header banners (solution pages, track & trace) */
.block-solution-header,
[class*="block-solution-header"] {
    background-color: #2E1065 !important;
    background-image: none !important;
}

/* Dark slideshow / customer sections */
.block-keywords-slideshow,
[data-bid="block_62cf8b282b67a"],
[data-bid="block_62cf89dc46f75"] {
    background-color: #2E1065 !important;
}

/* Careers / join CTA — theme default is red */
.block-join-us {
    background-color: #F5F3FF !important;
}

.block-join-us .content-right {
    background: transparent !important;
}

/* Header contact button hover fill */
.site-header .contact-us::before {
    background: #7C3AED !important;
}

.site-header .contact-us:hover,
.site-header .contact-us:focus {
    color: #fff !important;
}

/* Inline red text buttons → purple */
.component-button.button-link.inline-red,
.component-button.inline-red {
    color: #7C3AED !important;
    border-color: #7C3AED !important;
}

.component-button.button-link.inline-red:hover,
.component-button.inline-red:hover {
    color: #581C87 !important;
    border-color: #581C87 !important;
}

/* Related solutions hover accent */
.block-related-solutions .solution-item:hover .active-border,
.block-related-solutions .solution-item .active-border {
    background-color: #7C3AED !important;
}

.block-solutions-grid .solution-item .active-border,
.block-related-solutions .solution-item:hover .arrow {
    background-color: #7C3AED !important;
    border-color: #7C3AED !important;
}

/* Fullscreen nav menu background */
.site-header .fullscreen-menu .scroll-wrap {
    background: linear-gradient(135deg, #2E1065 0%, #581C87 50%, #7C3AED 100%) !important;
}

/* Selection highlight */
::selection {
    background: rgba(124, 58, 237, 0.25);
    color: #2E1065;
}
