.ifx-resource-bar,
.ifx-copyright-footer {
    background: inherit;
    font-family: var(--font-sans);
    letter-spacing: 0;
}

.ifx-resource-bar__inner,
.ifx-copyright-footer__inner {
    margin: 0 auto;
    width: min(1180px, calc(100% - 48px));
}

.ifx-resource-bar__inner {
    align-items: center;
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
    min-height: 96px;
    padding: 18px 0;
}

.ifx-resource-bar__brand {
    align-items: center;
    display: inline-flex;
    justify-self: start;
    text-decoration: none;
    width: fit-content;
}

.ifx-resource-bar__brand:hover {
    opacity: 1;
}

.ifx-resource-bar__logo {
    display: block;
    flex: 0 0 auto;
    height: 34px;
    object-fit: contain;
    width: 34px;
}

.ifx-resource-bar__brand span {
    color: #172033;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    margin-left: 10px;
}

.ifx-resource-bar__primary-link {
    color: #1e3f68;
    font-size: 17px;
    font-weight: 700;
    justify-self: center;
    line-height: 1.2;
    padding: 10px 0;
    text-decoration: none;
    transition: none;
    white-space: nowrap;
}

.ifx-resource-bar__primary-link:hover {
    color: #16395f;
    opacity: 1;
    text-decoration: none;
}

.ifx-resource-bar__primary-link:active {
    opacity: 0.7;
}

.ifx-resource-bar__social {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-self: end;
}

.ifx-resource-bar__social a {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #3d4658;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
    width: 40px;
}

.ifx-resource-bar__social a:hover,
.ifx-resource-bar__social a:focus-visible {
    background: #f3f7fb;
    border-color: #d8e4f1;
    color: #3d4658;
    opacity: 1;
    transform: translateY(-2px);
}

.ifx-resource-bar__social svg {
    display: block;
    height: 19px;
    width: 19px;
}

.ifx-resource-bar a:focus-visible {
    border-radius: 4px;
    outline: 3px solid rgba(46, 117, 196, 0.28);
    outline-offset: 3px;
}

.ifx-copyright-footer {
    border-top: 1px solid #dfe3e9;
}

.ifx-copyright-footer__inner {
    align-items: center;
    display: flex;
    min-height: 68px;
}

.ifx-copyright-footer p {
    color: #697386;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 760px) {
    .ifx-resource-bar__inner,
    .ifx-copyright-footer__inner {
        width: min(680px, calc(100% - 32px));
    }

    .ifx-resource-bar__inner {
        gap: 16px 24px;
        grid-template-columns: 1fr auto;
        padding: 24px 0;
    }

    .ifx-resource-bar__primary-link {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: start;
    }

    .ifx-resource-bar__social {
        grid-column: 2;
        grid-row: 1;
    }

    .ifx-copyright-footer__inner {
        min-height: 62px;
    }
}

@media (max-width: 430px) {
    .ifx-resource-bar__inner {
        grid-template-columns: 1fr;
    }

    .ifx-resource-bar__social {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
    }

    .ifx-resource-bar__primary-link {
        grid-column: 1;
        grid-row: 3;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ifx-resource-bar__social a {
        transition-duration: 0.01ms;
    }
}
