
/* LEAD DEVT CORP — DUPLICATE LOGO FIX V2
   Loaded LAST.
   The second/smaller logo is injected back into .brand-mark by the older CMS script
   after Next.js hydration. This rule suppresses that injected child regardless of
   whether hydration removes the company-logo-brand class. */

.site-header .header-inner > a.brand,
.site-footer .footer-brand > a.brand {
    overflow: hidden !important;
}

/* Kill every hydrated/injected legacy child inside the brand anchor.
   The desired large logo is NOT a child; it is rendered by a.brand::before. */
.site-header .header-inner > a.brand > *,
.site-footer .footer-brand > a.brand > * {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    inset: auto !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* Specifically beat the earlier high-specificity rule that was re-showing
   .brand-mark.lead-exact-logo-mark as a flex box. */
.site-header .header-inner > a.brand > .brand-mark.lead-exact-logo-mark,
.site-footer .footer-brand > a.brand > .brand-mark.lead-exact-logo-mark,
.site-header .header-inner > a.brand > .brand-mark,
.site-footer .footer-brand > a.brand > .brand-mark {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    overflow: hidden !important;
}

/* Keep the intended large official logo layer visible. */
.site-header .header-inner > a.brand::before,
.site-footer .footer-brand > a.brand::before {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
