:root {
    --nt-footer-red: #e11d48;
    --nt-footer-text: #334155;
    --nt-footer-navy: #172033;
    --nt-footer-muted: #64748b;
    --nt-footer-border: #dbe4ee;
}

.nt-footer-v2,
.nt-footer-v2 * ,
.nt-footer-v2 *::before,
.nt-footer-v2 *::after {
    box-sizing: border-box;
}

.nt-footer-v2 {
    border-top: 3px solid var(--nt-footer-red);
    background: #f6f8fb;
    color: var(--nt-footer-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: clip;
}

.nt-footer-v2 a {
    text-decoration: none;
}

.nt-footer-v2 a:focus-visible {
    outline: 3px solid #60a5fa;
    outline-offset: 3px;
}

.nt-footer-v2__container {
    width: min(100% - 48px, 1380px);
    margin-inline: auto;
}

.nt-footer-v2__columns {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    padding: 64px 0 48px;
}

.nt-footer-v2__column {
    min-width: 0;
    padding: 0 24px;
    border-right: 1px solid var(--nt-footer-border);
}

.nt-footer-v2__column:first-child {
    padding-left: 0;
}

.nt-footer-v2__column:last-child {
    padding-right: 0;
    border-right: 0;
}

.nt-footer-v2__column h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 21px;
    margin: 0 0 24px;
    color: var(--nt-footer-navy);
    font-size: 14px;
    font-weight: 850;
    letter-spacing: .01em;
    line-height: 1.3;
    text-transform: uppercase;
}

.nt-footer-v2__heading-mark {
    display: block;
    flex: 0 0 5px;
    width: 5px;
    height: 21px;
    border-radius: 3px;
    background: var(--nt-footer-red);
}

.nt-footer-v2__column ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0 0 0 15px;
    list-style: disc;
}

.nt-footer-v2__column li::marker {
    color: #24324b;
    font-size: 12px;
}

.nt-footer-v2__column a {
    color: #475569;
    font-size: 14px;
    line-height: 1.45;
    transition: color .2s ease;
}

.nt-footer-v2__column a:hover,
.nt-footer-v2__more:hover,
.nt-footer-v2__contact a:hover,
.nt-footer-v2__legal a:hover {
    color: var(--nt-footer-red);
}

.nt-footer-v2__more {
    display: inline-flex;
    margin-top: 20px;
    color: #24324b !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.nt-footer-v2__brand-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    padding: 0 0 28px;
}

.nt-footer-v2__rule {
    height: 1px;
    background: var(--nt-footer-border);
}

.nt-footer-v2__brand {
    min-width: min(100%, 820px);
    text-align: center;
}

.nt-footer-v2__brand-logo {
    display: inline-block;
}

.nt-footer-v2__brand-logo img {
    display: block;
    width: 188px;
    height: auto;
    max-height: 54px;
    object-fit: contain;
    object-position: center;
    filter: brightness(0) saturate(100%) invert(11%) sepia(18%) saturate(1661%) hue-rotate(178deg) brightness(82%) contrast(94%);
}

.nt-footer-v2__brand p {
    max-width: 820px;
    margin: 14px auto 0;
    color: var(--nt-footer-muted);
    font-size: 14px;
    line-height: 1.65;
}

.nt-footer-v2__contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin-top: 12px;
}

.nt-footer-v2__contact a,
.nt-footer-v2__contact span {
    color: #52657f;
    font-size: 13px;
    line-height: 1.45;
}

.nt-footer-v2__legal-area {
    padding: 0 0 28px;
}

.nt-footer-v2__legal-copy {
    margin: 0 0 22px;
    color: var(--nt-footer-muted);
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

.nt-footer-v2__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
}

.nt-footer-v2__legal a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 26px;
    border: 1px solid var(--nt-footer-border);
    border-radius: 6px;
    background: #f8fafc;
    color: #52657f;
    font-size: 13px;
    line-height: 1.35;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.nt-footer-v2__legal a:hover {
    border-color: #f43f5e;
    background: #fff;
}

.nt-footer-v2__bottom {
    border-top: 1px solid #e1e8f0;
    background: #edf1f6;
}

.nt-footer-v2__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
}

.nt-footer-v2__bottom p {
    margin: 0;
    color: #7c90aa;
    font-size: 13px;
}

.nt-footer-v2__social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nt-footer-v2__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--nt-footer-border);
    border-radius: 6px;
    background: #f5f7fa;
    color: #64748b;
    font-size: 14px;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.nt-footer-v2__social a:hover {
    border-color: #f43f5e;
    background: #fff;
    color: var(--nt-footer-red);
}

/* WiseCP's legacy footer selector is more specific than the V2 component. */
.ntc-site footer.nt-footer-v2 {
    border-top: 3px solid var(--nt-footer-red);
    background: #f6f8fb;
    color: var(--nt-footer-text);
}

.ntc-site footer.nt-footer-v2 .nt-footer-v2__column a {
    color: #475569;
}

.ntc-site footer.nt-footer-v2 .nt-footer-v2__column a:hover,
.ntc-site footer.nt-footer-v2 .nt-footer-v2__contact a:hover,
.ntc-site footer.nt-footer-v2 .nt-footer-v2__legal a:hover {
    color: var(--nt-footer-red);
}

.ntc-site footer.nt-footer-v2 .nt-footer-v2__more {
    color: #24324b !important;
}

.ntc-site footer.nt-footer-v2 .nt-footer-v2__contact a,
.ntc-site footer.nt-footer-v2 .nt-footer-v2__contact span,
.ntc-site footer.nt-footer-v2 .nt-footer-v2__legal a,
.ntc-site footer.nt-footer-v2 .nt-footer-v2__social a {
    color: #52657f;
}

.ntc-site footer.nt-footer-v2 .nt-footer-v2__social a:hover {
    color: var(--nt-footer-red);
}

@media (max-width: 1199px) {
    .nt-footer-v2__columns {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .nt-footer-v2__column:nth-child(3) {
        border-right: 0;
    }

    .nt-footer-v2__column:nth-child(n + 4) {
        padding-top: 32px;
        border-top: 1px solid var(--nt-footer-border);
    }
}

@media (max-width: 767px) {
    .nt-footer-v2__container {
        width: min(100% - 32px, 1380px);
    }

    .nt-footer-v2__columns {
        grid-template-columns: 1fr;
        padding: 40px 0 24px;
    }

    .nt-footer-v2__column,
    .nt-footer-v2__column:first-child,
    .nt-footer-v2__column:last-child {
        padding: 20px 0;
        border-right: 0;
        border-top: 0;
        border-bottom: 1px solid var(--nt-footer-border);
    }

    .nt-footer-v2__column:first-child {
        padding-top: 0;
    }

    .nt-footer-v2__column:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .nt-footer-v2__brand-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .nt-footer-v2__brand-row .nt-footer-v2__rule {
        width: 100%;
    }

    .nt-footer-v2__bottom-inner {
        display: grid;
        gap: 12px;
        padding: 20px 0;
    }

    .nt-footer-v2__social {
        order: -1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nt-footer-v2 *,
    .nt-footer-v2 *::before,
    .nt-footer-v2 *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
