/* Shared Digitalo palette. Content and URLs remain owned by WordPress/Elementor. */
:root {
    --di-night: #242a56;
    --di-night-deep: #1c234b;
    --di-blue: #6878d6;
    --di-blue-hover: #5264c7;
    --di-pale: #f2f4fc;
    --di-line: #dfe3f4;
    --di-copy: #4e5875;
    --ast-global-color-0: #6878d6;
    --ast-global-color-1: #242a56;
    --ast-global-color-2: #303451;
}

body { color: var(--di-copy); }
body a { transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease; }
body a:focus-visible, body button:focus-visible, body input:focus-visible { outline: 3px solid #aab7ff; outline-offset: 3px; }

/* Keep the existing Astra navigation and logo, with the Impact palette. */
#masthead .ast-primary-header-bar,
#masthead .main-header-menu,
#masthead .main-header-menu .sub-menu,
#ast-mobile-header .ast-primary-header-bar,
#ast-mobile-header .ast-mobile-header-wrap,
#ast-mobile-header .main-header-menu,
#ast-mobile-header .main-header-menu .sub-menu {
    background: var(--di-night) !important;
    border-color: #39436f !important;
}
#masthead .main-header-menu > .menu-item > .menu-link,
#masthead .main-header-menu .sub-menu .menu-link,
#ast-mobile-header .main-header-menu .menu-link { color: #f4f6ff !important; }
#masthead .main-header-menu .menu-link:hover,
#masthead .main-header-menu .current-menu-item > .menu-link,
#ast-mobile-header .main-header-menu .menu-link:hover { color: #bbc5ff !important; }
#masthead .ast-menu-toggle,
#ast-mobile-header .menu-toggle,
#ast-mobile-header .ast-mobile-menu-trigger-minimal { color: #fff !important; background-color: var(--di-blue) !important; }

/* The existing Elementor footer keeps its columns, links and content. */
#colophon,
#colophon .elementor-element.elementor-element-5ee95b14 {
    background-color: var(--di-night) !important;
    background-image: none !important;
}
#colophon .elementor-element.elementor-element-5ee95b14 > .elementor-background-overlay { opacity: 0 !important; }
#colophon .elementor-widget-text-editor,
#colophon .elementor-widget-text-editor p,
#colophon .elementor-icon-list-text { color: #e5e9fa !important; }
#colophon .elementor-widget-heading .elementor-heading-title { color: #fff !important; }
#colophon a:not(.elementor-button) { color: #c6ceff !important; }
#colophon a:not(.elementor-button):hover { color: #fff !important; }
#colophon .elementor-button { background: var(--di-blue) !important; color: #fff !important; }
#colophon .elementor-button:hover { background: var(--di-blue-hover) !important; }

/* Shared interactive colors across the existing Elementor service pages. */
body .elementor-button { background-color: var(--di-blue); border-color: var(--di-blue); }
body .elementor-button:hover { background-color: var(--di-blue-hover); border-color: var(--di-blue-hover); }
body .elementor-widget-text-editor a:not(.elementor-button) { color: var(--di-blue); }
body .elementor-widget-text-editor a:not(.elementor-button):hover { color: var(--di-night); }

/* Approved option A: solid navy service hero, without the gray-violet
   transparency produced by Elementor's old 80% overlay on white. */
body.page .site-content .elementor > .elementor-element-2296c7ec > .elementor-background-overlay,
body.page .site-content .elementor > .elementor-element-70b4273c > .elementor-background-overlay,
body.page .site-content .elementor > .elementor-element-27e672c > .elementor-background-overlay {
    background-color: #242a56 !important;
    opacity: 1 !important;
}
body.page .site-content .elementor-button {
    background-color: #5669c5 !important;
    border-color: #5669c5 !important;
    color: #fff !important;
}
body.page .site-content .elementor-button:hover {
    background-color: #4559b2 !important;
    border-color: #4559b2 !important;
}

@media (max-width: 921px) {
    #ast-mobile-header .ast-mobile-popup-drawer .ast-mobile-popup-inner,
    #ast-mobile-header .ast-mobile-popup-drawer .ast-mobile-popup-header,
    #ast-mobile-header .ast-mobile-popup-drawer .ast-mobile-popup-content { background: var(--di-night) !important; }
}
