/**
 * Redesigned footer
 * -----------------------------------------------------------------------
 * Loaded after the compiled theme stylesheet. This theme has no SCSS
 * source or webpack pipeline, so the new footer styles live here and the
 * previous footer rules in style.css are left unchanged.
 *
 * Restore the previous footer with:
 * add_filter( 'nsm_footer_layout', function () { return 'legacy'; } );
 * -----------------------------------------------------------------------
 */

@media (max-width: 767.98px) {
  .site-footer-v2 .container {
    width: 100%;
    max-width: none;
    padding-left: 18px;
    padding-right: 18px;
  }
}

.site-footer-v2-inner {
  background-color: #041E42;
  border-top: 2px solid #AD841F;
  color: #FFFFFF;
  font-family: "Open Sans", sans-serif;
  padding: 52px 0 28px;
}
.site-footer-v2-inner a {
  text-decoration: none;
}
.site-footer-v2-inner a:hover, .site-footer-v2-inner a:focus {
  text-decoration: none;
}
.site-footer-v2-inner a:focus-visible {
  outline: 2px solid #E3BF65;
  outline-offset: 3px;
}

.site-footer-v2-layout {
  display: grid;
  gap: 40px;
}
.site-footer-v2-layout > * {
  min-width: 0;
}
@media (max-width: 767.98px) {
  .site-footer-v2-layout {
    justify-items: center;
    text-align: center;
  }
}
@media (min-width: 768px) {
  .site-footer-v2-layout {
    grid-template-columns: 1fr auto auto;
    -webkit-column-gap: 64px;
       -moz-column-gap: 64px;
            column-gap: 64px;
    row-gap: 40px;
    justify-content: end;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .site-footer-v2-layout {
    grid-template-columns: 1fr auto auto 1fr;
    justify-content: center;
  }
}
@media (min-width: 992px) {
  .site-footer-v2-layout {
    -webkit-column-gap: 80px;
       -moz-column-gap: 80px;
            column-gap: 80px;
    align-items: start;
  }
}

.site-footer-v2-contact,
.site-footer-v2-aside {
  justify-self: center;
  text-align: center;
}
@media (min-width: 768px) {
  .site-footer-v2-contact,
  .site-footer-v2-aside {
    grid-row: 2;
    justify-self: start;
    text-align: left;
  }
}
@media (min-width: 992px) {
  .site-footer-v2-contact,
  .site-footer-v2-aside {
    grid-row: auto;
  }
}

@media (min-width: 768px) {
  .site-footer-v2-contact {
    grid-column: 2;
  }
}

@media (min-width: 768px) {
  .site-footer-v2-aside {
    grid-column: 3;
  }
}

@media (max-width: 991.98px) {
  .site-footer-v2-brand {
    text-align: center;
  }
}
@media (min-width: 768px) {
  .site-footer-v2-brand {
    grid-column: 1/-1;
  }
}
@media (min-width: 992px) {
  .site-footer-v2-brand {
    grid-column: auto;
    max-width: 340px;
  }
}

.site-footer-v2-logo {
  display: inline-block;
  margin-bottom: 28px;
}
@media (max-width: 991.98px) {
  .site-footer-v2-logo {
    display: block;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}
.site-footer-v2-logo img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-height: 168px;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: auto !important;
}

.site-footer-v2-name {
  display: inline-block;
  max-width: 100%;
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #AD841F;
  color: #FFFFFF;
  font-family: "Open Sans", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}
@media (max-width: 991.98px) {
  .site-footer-v2-name {
    display: block;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 575.98px) {
  .site-footer-v2-name {
    font-size: 1.7rem;
    letter-spacing: 0.02em;
  }
}

.site-footer-v2-tagline {
  margin: 12px 0 0;
  color: #FFFFFF;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}
@media (max-width: 575.98px) {
  .site-footer-v2-tagline {
    font-size: 1.2rem;
    letter-spacing: 0.08em;
  }
}

.site-footer-v2-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 36px;
}
@media (max-width: 767.98px) {
  .site-footer-v2-partners {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

.site-footer-v2-social {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer-v2-social-item {
  margin: 0;
  padding: 0;
}
.site-footer-v2-social-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #AD841F;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1;
}
.site-footer-v2-social-item a:hover, .site-footer-v2-social-item a:focus {
  color: #E3BF65;
}
.site-footer-v2-social-item svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.site-footer-v2-heading {
  display: inline-block;
  margin: 0 0 18px;
  padding-bottom: 6px;
  border-bottom: 2px solid #AD841F;
  color: #FFFFFF;
  font-family: "Open Sans", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}
@media (max-width: 767.98px) {
  .site-footer-v2-heading {
    display: block;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}

.site-footer-v2-label {
  margin: 0 0 6px;
  color: #AD841F;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-footer-v2-address {
  margin: 0 0 18px;
  color: #FFFFFF;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
}

.site-footer-v2-phone {
  margin: 0 0 14px;
}
.site-footer-v2-phone:last-child {
  margin-bottom: 0;
}

.site-footer-v2-phone-label {
  color: #FFFFFF;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-footer-v2-phone-number {
  color: #FFFFFF;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.45;
}
.site-footer-v2-phone-number a {
  color: #FFFFFF;
  font-weight: 400;
}
.site-footer-v2-phone-number a:hover, .site-footer-v2-phone-number a:focus {
  color: #E3BF65;
}

.site-footer-v2-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer-v2-menu .menu-item {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.15;
}
.site-footer-v2-menu a {
  display: block;
  padding: 8px 0;
  color: #AD841F;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-transform: uppercase;
}
.site-footer-v2-menu a:hover, .site-footer-v2-menu a:focus {
  color: #E3BF65;
}

.site-footer-v2-accreditations {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  margin-left: auto;
  text-align: right;
}
@media (max-width: 767.98px) {
  .site-footer-v2-accreditations {
    align-items: center;
    margin-left: 0;
    text-align: center;
  }
}

.site-footer-v2-accreditations-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 767.98px) {
  .site-footer-v2-accreditations-list {
    justify-content: center;
  }
}

.site-footer-v2-accreditations-item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer-v2-accreditations-logo {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 190px;
  max-height: 72px;
  aspect-ratio: auto !important;
}

.site-footer-v2-statement {
  max-width: 980px;
  margin: 48px auto 0;
  text-align: center;
}

.site-footer-v2-statement-heading {
  margin: 0 0 12px;
  color: #AD841F;
  font-family: "Open Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-footer-v2-statement-text {
  margin: 0;
  color: #FFFFFF;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.55;
}
.site-footer-v2-statement-text p {
  margin: 0 0 0.8em;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
.site-footer-v2-statement-text p:last-child {
  margin-bottom: 0;
}
.site-footer-v2-statement-text a {
  color: #AD841F;
}
.site-footer-v2-statement-text a:hover, .site-footer-v2-statement-text a:focus {
  color: #E3BF65;
}

.site-footer-v2-bar {
  margin-top: 32px;
  text-align: center;
}

.site-footer-v2-copyright {
  margin: 0;
  color: #FFFFFF;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}
