/**
 * Inheritance Tax Doctor — Threshold logo integration
 * The original text remains available to assistive technology while the
 * approved outlined-vector artwork is rendered as the visible brand.
 */

.itd-header .itd-brand,
.itd-footer .itd-brand {
    position: relative;
    display: block !important;
    flex: 0 0 auto;
    border: 0;
    background-color: transparent;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    line-height: 1;
}

.itd-header .itd-brand {
    width: 300px;
    height: 80px;
    background-image: url("images/logo-horizontal.svg");
}

.itd-footer .itd-brand {
    width: 220px;
    height: 59px;
    margin-bottom: 17px;
    background-image: url("images/logo-horizontal-white.svg");
}

.itd-brand > .itd-logo,
.itd-brand > span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    white-space: nowrap !important;
}

@media (max-width: 680px) {
    .itd-header .itd-brand {
        width: 48px;
        height: 42px;
        background-image: url("images/logo-symbol.svg");
    }
}

@media (prefers-reduced-data: reduce) {
    .itd-header .itd-brand,
    .itd-footer .itd-brand {
        background-repeat: no-repeat;
    }
}
