/* The global template uses ordinary WPBakery elements inside the approved footer layout. */
.fx-footer.fx-footer-approved {
  padding-block: clamp(1rem, calc(4.1vw - .36rem), 4.25rem) 1.875rem;
}
.fx-foot-canvas :is(.fx-foot-lead-row,.fx-foot-details-row,.fx-foot-legal-row).vc_row {
  width: 100%;
  margin: 0;
  padding-inline: 0;
}
.fx-foot-canvas :is(.fx-foot-lead-row,.fx-foot-details-row,.fx-foot-legal-row).vc_row::before,
.fx-foot-canvas :is(.fx-foot-lead-row,.fx-foot-details-row,.fx-foot-legal-row).vc_row::after {
  display: none;
}
.fx-foot-canvas :is(.fx-foot-lead-row,.fx-foot-details-row).vc_row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.4rem;
}
.fx-foot-canvas .fx-foot-lead-row.vc_row { padding-block: 0 clamp(2.2rem,4vw,4.4rem); }
.fx-foot-canvas .fx-foot-details-row.vc_row {
  padding-block: 1.5rem 0;
  border-top: 1px solid var(--fx-rule);
}
.fx-foot-canvas .fx-foot-legal-row.vc_row { display: flow-root; padding-block: 0; margin-block-start: 1rem; }
.fx-foot-canvas :is(.fx-foot-lead-row,.fx-foot-details-row) > :is(.wpb_column,.vc_element) {
  display: block;
  max-width: 100%;
  min-width: 0;
  float: none;
}
.fx-foot-canvas :is(.fx-foot-lead-row,.fx-foot-details-row,.fx-foot-legal-row) :is(.wpb_column,.vc_vc_column) > .vc_column-inner,
.fx-foot-canvas :is(.fx-foot-lead-row,.fx-foot-details-row,.fx-foot-legal-row) .vc_element > .wpb_column > .vc_column-inner {
  padding: 0;
}
.fx-foot-canvas :is(.fx-foot-lead-row,.fx-foot-details-row,.fx-foot-legal-row) :is(.wpb_content_element,.vc_btn3-container) { margin: 0; }
.fx-foot-canvas .fx-foot-headline .fx-native-kicker {
  margin: 0 0 .7rem;
  color: var(--fx-label);
  font: 600 .86rem/1.35 var(--fx-sans);
  text-transform: uppercase;
  letter-spacing: .075em;
}
.fx-foot-canvas .fx-foot-lead-row.fx-row-painted { color: inherit; }
.fx-foot-canvas .fx-foot-lead-row.fx-row-light-ink .fx-native-kicker { color: inherit; }
.fx-footer-approved .fx-foot-top h2 {
  font: 700 clamp(3.3rem,6.8vw,8rem)/1.02 var(--fx-display);
  letter-spacing: -.04em;
  margin: 0;
}
.fx-foot-canvas .fx-foot-headline h2 em { color: inherit; font-style: normal; }
.fx-foot-contact > .vc_column-inner > .wpb_wrapper {
  width: fit-content;
  max-width: 100%;
  margin-inline-start: auto;
  display: grid;
  justify-items: start;
  gap: .65rem;
}
.fx-foot-canvas :is(.fx-foot-contact,.fx-foot-channels,.fx-foot-legal-row) .vc_btn3-container {
  display: block;
  font: inherit;
  line-height: inherit;
  max-width: 100%;
}
.fx-foot-canvas :is(.fx-foot-contact,.fx-foot-channels,.fx-foot-legal-row) .vc_btn3-container .vc_btn3 {
  display: inline;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
  text-align: start;
  text-decoration: underline;
  text-underline-offset: .17em;
  text-decoration-thickness: .07em;
  font: inherit;
  vertical-align: baseline;
  white-space: normal;
  overflow-wrap: anywhere;
}
/* The released outline buttons set their colours in inline mouse handlers. */
.fx-foot-canvas :is(.fx-foot-contact,.fx-foot-channels,.fx-foot-legal-row) .vc_btn3.vc_btn3-style-outline {
  color: inherit !important;
  background-color: transparent !important;
}
.fx-foot-canvas .fx-foot-contact .vc_btn3-container {
  font: 700 clamp(1.6rem,2.7vw,3.1rem)/1.1 var(--fx-display);
}
.fx-foot-canvas .fx-foot-contact .vc_btn3-container:has(a[href^="mailto:" i]) {
  font: 400 1rem/1.52 var(--fx-sans);
}
.fx-foot-canvas :is(.fx-foot-identity,.fx-foot-channels,.fx-foot-legal-row) {
  font: 400 .87rem/1.35 var(--fx-sans);
}
.fx-foot-identity > .vc_column-inner > .wpb_wrapper:has(.wpb_single_image) {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  column-gap: .8rem;
  align-content: center;
  align-items: center;
}
.fx-foot-identity .wpb_single_image,
.fx-foot-identity .vc_element:has(> .wpb_single_image) {
  grid-column: 1;
  grid-row: 1 / span 2;
}
.fx-foot-identity .wpb_single_image :is(figure,.vc_single_image-wrapper,img) { display: block; }
.fx-foot-identity .wpb_single_image img { width: 36px; height: 36px; object-fit: contain; }
.fx-foot-identity .wpb_wrapper:has(.wpb_single_image) > :is(.wpb_text_column,.vc_element:has(> .wpb_text_column)) { grid-column: 2; }
.fx-foot-channels > .vc_column-inner > .wpb_wrapper,
.fx-foot-legal-row .wpb_column > .vc_column-inner > .wpb_wrapper {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5rem 1rem;
}
.fx-foot-channels > .vc_column-inner > .wpb_wrapper { justify-content: flex-end; }
.fx-foot-legal-row .fx-native-footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  list-style: none;
  margin: 0;
}
/* WPBakery wraps each column in an editable model in the frontend editor. */
.fx-foot-canvas .vc_element[data-tag="vc_column"] > .wpb_column { width: 100%; float: none; }
@media (min-width: 901px) {
  .fx-foot-canvas .vc_element[data-tag="vc_column"]:has(> .vc_col-sm-8) { width: 66.6667%; }
  .fx-foot-canvas .vc_element[data-tag="vc_column"]:has(> .vc_col-sm-4) { width: 33.3333%; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .fx-foot-canvas :is(.fx-foot-lead-row,.fx-foot-details-row) > :is(.wpb_column,.vc_element) { width: auto; }
}
.fx-foot-canvas a.vc_btn3:hover { text-decoration-thickness: .1em; }
.fx-footer.fx-footer-approved a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width: 640px) {
  .fx-foot-canvas :is(.fx-foot-lead-row,.fx-foot-details-row) > :is(.wpb_column,.vc_element) { width: 100%; }
  .fx-foot-contact > .vc_column-inner > .wpb_wrapper { margin-inline-start: 0; }
  .fx-foot-channels > .vc_column-inner > .wpb_wrapper { justify-content: flex-start; }
  .fx-foot-canvas :is(.fx-foot-lead-row,.fx-foot-details-row).vc_row {
    flex-direction: column;
    align-items: flex-start;
  }
  .fx-foot-canvas .fx-foot-headline h2,
  .fx-footer-approved .fx-foot-top h2 { font-size: clamp(2.6rem,12.4vw,4.2rem); }
}


/* BEGIN FUSION COMPACT FOOTER 356C */

html body footer.fx-footer-approved {
    background: #131313;
    color: #fff;
    min-height: 0 !important;
    padding-block: 0 !important;
}

html body footer.fx-footer-approved > .fx-wrap {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    column-gap: clamp(1.5rem, 4vw, 4rem);
    row-gap: .3rem;
    align-items: center;
    padding-block: 1.15rem 1.75rem !important;
}

/* Flatten the existing layout wrappers.
   Preserve the original content and links. */

html body footer.fx-footer-approved
:is(.fx-foot-top, .fx-foot-bottom) {
    display: contents !important;
}

/* Brand block */

html body footer.fx-footer-approved
.fx-foot-top > div:first-child {
    grid-column: 1;
    grid-row: 1 / 3;
    min-width: 0;
    align-self: center;
    margin: 0 !important;
    padding: 0 !important;
}

html body footer.fx-footer-approved .fx-label {
    color: #ffdf00;
    font-size: .72rem !important;
    font-weight: 700;
    letter-spacing: .12em;
    margin: 0 0 .65rem !important;
}

html body footer.fx-footer-approved .fx-foot-top h2 {
    font-family: var(--fx-display);
    font-size: clamp(2rem, 4.1vw, 4rem) !important;
    font-weight: 700;
    line-height: 1.05 !important;
    letter-spacing: -.035em !important;
    margin: 0 !important;
    color: #fff;
    max-width: 100% !important;
}

/* Use the original reverse ON brand mark.
   Keep the original slogan text accessible. */

html body footer.fx-footer-approved
.fx-foot-top h2 em {
    display: inline-block;
    width: 1.25em;
    height: 1.25em;
    line-height: 1.25em;
    margin-left: .04em;
    vertical-align: middle;
    position: relative;
    top: -.045em;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
    font-style: normal;
    white-space: nowrap;
    background: url("../brand/on-dark.svg")
                center / contain no-repeat;
}

/* Contact block */

html body footer.fx-footer-approved
.fx-foot-top > div:last-child {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    justify-self: start;
    margin: 0 !important;
    padding: 0 !important;
}

html body footer.fx-footer-approved
.fx-contact-link {
    display: inline-block;
    font-family: var(--fx-display);
    font-size: clamp(1.3rem, 1.8vw, 1.75rem) !important;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: .2em;
    margin: 0 !important;
    padding: 0 !important;
}

/* Contact details remain accessible through Contact. */

html body footer.fx-footer-approved
.fx-foot-top .fx-email {
    display: none !important;
}

/* Social navigation */

html body footer.fx-footer-approved
.fx-foot-bottom > nav {
    grid-column: 2;
    grid-row: 2;
    display: flex !important;
    flex-wrap: wrap;
    justify-content: flex-start !important;
    align-items: center;
    align-self: start;
    gap: .45rem 1rem !important;
    margin: 0 !important;
    padding: .45rem 0 0 !important;
}

html body footer.fx-footer-approved
.fx-foot-bottom > nav a {
    font-family: var(--fx-sans);
    font-size: .9rem;
    font-weight: 400;
    color: #fff;
    white-space: nowrap;
    text-decoration: underline;
    text-underline-offset: .15em;
}

/* Fine divider */

html body footer.fx-footer-approved
> .fx-wrap::after {
    content: "";
    display: block;
    grid-column: 1 / -1;
    grid-row: 3;
    align-self: start;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,.2);
    pointer-events: none;
}

/* Site map */

html body footer.fx-footer-approved .fx-privacy {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    align-self: start;
    display: inline-block;
    font-size: .82rem;
    color: #fff;
    margin: 0 !important;
    padding: .8rem 0 0 !important;
}

/* Retain company information as discreet legal text. */

html body footer.fx-footer-approved
.fx-foot-bottom > div {
    grid-column: 2;
    grid-row: 3;
    justify-self: start !important;
    align-self: start;
    text-align: left !important;
    width: 100%;
    min-width: 0;
    display: block !important;
    font-size: .72rem;
    line-height: 1.45;
    color: #aaa;
    margin: 0 !important;
    padding: .8rem 0 0 !important;
}

html body footer.fx-footer-approved
.fx-foot-bottom .fx-footer-mark {
    display: none !important;
}

/* Small desktop and tablet */

@media (min-width: 641px) and (max-width: 950px) {

    html body footer.fx-footer-approved > .fx-wrap {
        grid-template-columns: minmax(0,1fr) auto;
        grid-template-rows: auto auto auto;
        row-gap: .7rem;
    }

    html body footer.fx-footer-approved
    .fx-foot-top > div:first-child {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    html body footer.fx-footer-approved
    .fx-foot-top > div:last-child {
        grid-column: 1;
        grid-row: 2;
        align-self: center;
    }

    html body footer.fx-footer-approved
    .fx-foot-bottom > nav {
        grid-column: 2;
        grid-row: 2;
        align-self: center;
        padding: 0 !important;
    }
}

/* Mobile: compact left-aligned brand signature */

@media (max-width: 640px) {

    html body footer.fx-footer-approved > .fx-wrap {
        grid-template-columns: minmax(0,1fr);
        grid-template-rows: auto auto auto auto auto;
        row-gap: .65rem;
        padding-block: 1.3rem 1.75rem !important;
    }

    html body footer.fx-footer-approved
    .fx-foot-top > div:first-child {
        grid-column: 1;
        grid-row: 1;
    }

    html body footer.fx-footer-approved .fx-foot-top h2 {
        font-size: clamp(1.65rem, 8vw, 2.75rem) !important;
    }

    html body footer.fx-footer-approved
    .fx-foot-top > div:last-child {
        grid-column: 1;
        grid-row: 2;
        justify-self: start !important;
        margin-top: .35rem !important;
    }

    html body footer.fx-footer-approved
    .fx-foot-bottom > nav {
        grid-column: 1;
        grid-row: 3;
        justify-self: start;
        padding: 0 !important;
        gap: .35rem 1rem !important;
    }

    html body footer.fx-footer-approved
    .fx-contact-link,
    html body footer.fx-footer-approved
    .fx-foot-bottom > nav a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    html body footer.fx-footer-approved
    > .fx-wrap::after {
        grid-row: 4;
    }

    html body footer.fx-footer-approved .fx-privacy {
        grid-row: 4;
        padding-top: .75rem !important;
    }

    html body footer.fx-footer-approved
    .fx-foot-bottom > div {
        grid-column: 1;
        grid-row: 5;
        justify-self: start;
        padding: 0 !important;
    }
}

/* Accessible text fallback */

@media (forced-colors: active), print {

    html body footer.fx-footer-approved
    .fx-foot-top h2 em {
        display: inline;
        width: auto;
        height: auto;
        line-height: inherit;
        background: none;
        color: inherit !important;
        -webkit-text-fill-color: currentColor;
        vertical-align: baseline;
        position: static;
    }
}

/* END FUSION COMPACT FOOTER 356C */

