/*
Theme Name: Safer Buildings
Author: Custommedialabs
Version: 0.1.5
*/

:root {
  --sb-container: var(--wp--style--global--content-size, 1200px);
  --sb-wide: var(--wp--style--global--wide-size, 1200px);
  --sb-padding-inline: 20px;
  --space-180: clamp(40px, 9.375vw, 180px);
  --space-160: clamp(32px, 8.333vw, 160px);
  --space-90: clamp(40px, 4.688vw, 90px);
  --space-100: clamp(40px, 4.688vw, 100px);
}

* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  outline: 0 !important;

  &:hover {
    text-decoration: underline;
  }
}

.iconbox1 a,
.full_link a {
  &:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
  }
}

.editor-styles-wrapper {

  .iconbox1 a,
  .full_link a {
    &:after {
      display: none;
    }
  }
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
  padding-top: 0;
}

.big_arrow_list .full_link:hover h3 {
  text-decoration: underline;
}

.big_arrow_list .full_link:hover>div>figure:last-child img {
  /*transform: rotate(45deg);
  transition: transform 0.3s ease;*/
}

body {
  margin: 0;

  &:has(.video-modal.is-open) {
    position: relative;
    overflow: hidden;
  }

  @media screen and (max-width:1024px) {
    --wp--preset--font-size--xxx-hero: 56px;
    --wp--preset--font-size--xx-large: 36px;
    --wp--preset--font-size--large-33: 26px;
  }

  @media screen and (max-width:991px) {
    --wp--preset--font-size--large-x-40: 28px;
    --wp--preset--font-size--x-large: 26px;
    --wp--preset--font-size--large-x: 22px;
    --wp--preset--font-size--xxx-large-62: 40px;
  }

  @media screen and (max-width:767px) {
    --wp--preset--font-size--xxx-hero: 40px;
    --wp--preset--font-size--xx-large: 28px;
    --wp--preset--font-size--large-x-40: 24px;
    --wp--preset--font-size--xxx-large: 32px;
    --wp--preset--font-size--medium-large-22: 20px;

  }
}

/* GURENBERG RESETS START*/

ul.wp-block-list {
  padding: 0;
  margin: 0;
  list-style: none;

  li {
    &:has(>img) {
      display: flex;
      align-items: center;
      gap: 10px;
    }
  }
}

:where(.wp-block-group.has-background) {
  padding: 0;
}

:root :where(.is-layout-flow)>*,
:where(.wp-site-blocks)>*,
:root :where(.is-layout-constrained)>* {
  margin-block-start: 0;
}

/* GURENBERG RESETS END*/

/*Layout Styles START*/

.flex {
  display: flex;
}

.w-100 {
  width: 100%;
}

.w-50 {
  width: 50%;

  @media screen and (max-width: 768px) {
    width: 100%;
  }
}

.column {
  flex-direction: column
}

.align-start {
  align-items: flex-start;
}

.align-center {
  align-items: center;
}

.align-end {
  align-items: flex-end;
}

.grow {
  flex-grow: 1;
}

.shrink-0 {
  flex-shrink: 0;
}

.justify-start {
  justify-content: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.gap-10 {
  gap: 10px;
}

.gap-18 {
  gap: 18px;
}

.absolute {
  position: absolute;

  &.full {
    inset: 0;
    width: 100%;
    height: 100%;
  }
}

.relative {
  position: relative;
}

.z-0 {
  z-index: 0;
}

.z-1 {
  z-index: 1;
}

.z-2 {
  z-index: 2;
}

.p-0 {
  padding: 0 !important;
}

.px-0 {
  padding-inline: 0 !important;
}

.py-0 {
  padding-block: 0 !important;
}

.pi-20 {
  padding-inline: 20px;
}

.py-50 {
  padding-block: 50px;
}

.px-36 {
  padding-inline: 36px;
}

.pr-70 {
  padding-right: 70px;

}

.py-90 {
  padding-block: var(--space-90);
}

.pt-90 {
  padding-top: var(--space-90);
}

.pb-90 {
  padding-bottom: var(--space-90);
}

.py-100 {
  padding-block: var(--space-100);
}

.pt-100 {
  padding-top: var(--space-100);
}

.pb-100 {
  padding-bottom: var(--space-100);
}

.mt-auto {
  margin-top: auto;
}

.m-0 {
  margin: 0 !important;
}

.my-90 {
  margin-block: var(--space-90);
}

.mt-90 {
  margin-top: var(--space-90);
}

.mb-90 {
  margin-bottom: var(--space-90);
}


.my-160 {
  margin-block: var(--space-160);
}

.mt-160 {
  margin-top: var(--space-160);
}

.mb-160 {
  margin-bottom: var(--space-160);
}

.my-180 {
  margin-block: var(--space-180);
}

.mt-180 {
  margin-top: var(--space-180);
}

.mb-180 {
  margin-bottom: var(--space-180);
}

.gap-30 {
  gap: 20px;

  @media screen and (min-width:768px) {
    gap: 30px;
  }
}

.gap-34 {
  gap: 20px;

  @media screen and (min-width:768px) {
    gap: 34px;
  }
}

.gap-80 {
  gap: 40px;

  @media screen and (min-width:768px) {
    gap: 80px;
  }
}

.gap-160 {
  gap: var(--space-180)
}

.font-500 {
  font-weight: 500;
}

.sb-container {
  max-width: var(--sb-container);
  margin-inline: auto;
  padding-inline: var(--sb-padding-inline);
}

.sb-wide {
  max-width: var(--sb-wide);
  margin-inline: auto;
  padding-inline: var(--sb-padding-inline);
}

.contained-710 {
  max-width: 710px;
}


.hide-sm {
  @media screen and (max-width: 768px) {
    display: none !important;
  }
}

.wrap-sm {
  @media screen and (max-width: 768px) {
    flex-wrap: wrap;
  }
}

.text-center-sm {
  @media screen and (max-width: 768px) {
    text-align: center;
  }
}

.md-justify-center {
  @media screen and (max-width: 768px) {
    justify-content: center;
  }
}

.col-2-md {

  &.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
    @media screen and (max-width: 768px) {
      flex-basis: 48% !important;
    }

    @media screen and (max-width: 640px) {
      flex-basis: 100% !important;
    }
  }
}

/*Layout Styles END*/

/* Block Styles */
.wp-block-list.is-style-link-list {
  list-style: none;
  padding: 0;
  margin: 0;

  li {
    margin-bottom: var(--wp--preset--spacing--sm);
  }
}

/*Header START*/

header:has(.site-header) {
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header {
  padding-bottom: 20px;
  padding-top: 36px;

  @media screen and (min-width:1241px) {
    padding-bottom: 0;
  }

  @media screen and (max-width: 768px) {
    padding-top: 20px;
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  a {
    text-decoration: none !important;
  }

  .wp-block-navigation__responsive-container-close svg,
  .wp-block-navigation__responsive-container-open svg {
    width: 30px;
    height: 30px;
  }

  @media screen and (max-width: 1240px) {
    justify-content: flex-end;

    .site-header__right {
      flex-grow: 1;
    }
  }

  .wp-block-site-logo {
    @media screen and (min-width:1241px) {
      padding-bottom: 20px;
    }
  }

  .wp-block-site-logo img {
    @media screen and (max-width: 1240px) {
      max-width: 120px;
    }
  }

  >nav {
    gap: clamp(20px, 2.604vw, 50px);

    @media screen and (min-width:1241px) {
      align-self: flex-end;
    }

    @media screen and (max-width: 1240px) {
      order: 3;
      flex-grow: 0;
    }

    .wp-block-navigation__responsive-container-content {


      @media screen and (min-width:1241px) and (max-width:1439px) {
        font-size: 16px !important;
      }

      >ul {

        >li {
          .wp-block-navigation-submenu__toggle[aria-expanded="true"]+ul {
            @media screen and (max-width:1024px) {
              padding-top: 18px;
            }
          }

          @media screen and (min-width:1025px) and (max-width:1300px) {
            font-size: 16px !important;
          }

          @media screen and (min-width:1025px) {
            padding-bottom: 38px;

            >a:hover {
              text-decoration: underline !important;
            }

            >ul {
              margin-top: 0;
              width: 420px !important;

              >li {
                background-color: (--wp--preset--color--offwhite);

                >a {
                  padding: 18px 16px;
                  font-size: 18px;

                  &:hover {
                    color: var(--wp--preset--color--cardinal);
                  }
                }

                +li {
                  border-top: 1px solid var(--wp--preset--color--steel);
                }
              }
            }
          }
        }
      }
    }
  }

  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
    @media screen and (max-width:1024px) {
      width: 100%;
      gap: 20px;
    }
  }

  .wp-block-navigation.has-expandable-modal-submenus .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {

    .wp-block-navigation-item {
      @media screen and (max-width:1024px) {
        width: 100%;
        padding-inline: 26px;
        text-align: left;

        a {
          padding-left: 0px;
          font-size: 18px;
          width: calc(100% - 30px);
          display: inline-block;
          vertical-align: middle;
          padding-block: 10px;
        }

        .wp-block-navigation__submenu-icon {
          width: 20px;
          height: 20px;
          display: inline-block;
          vertical-align: middle;
        }

        .wp-block-navigation__submenu-container {
          padding-inline: 0;
          padding-block: 0;

          li {
            padding-inline: 0;

            a {
              display: block;
              padding-block: 14px;
            }

            +li {
              border-top: 1px solid #1D6680;
            }
          }
        }

        .wp-block-navigation-submenu__toggle[aria-expanded="true"]+.wp-block-navigation__submenu-container {
          padding-block: 20px;
        }
      }
    }
  }
}

@media screen and (max-width: 1240px) {

  /* Show the hamburger button */
  .wp-block-navigation__responsive-container-open {
    display: block !important;
  }

  /* Hide the full menu, but only when the modal is closed */
  .wp-block-navigation__responsive-container:not(.is-menu-open.has-modal-open) {
    display: none !important;
  }
}

/*Header END*/
/*Hero Pattern START*/
.hero-section {
  height: 100vh;
  max-height: 712px;

  .hero-video {
    opacity: 0.7;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    mix-blend-mode: color-dodge;

    video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .hero-content-wrapper {
    padding-bottom: 60px;

    .hero-content {
      max-width: min(80%, 1055px);

      @media screen and (max-width: 640px) {
        max-width: 100%;
      }

      h1 {
        letter-spacing: -2.316px;
      }

      .hero-description {
        max-width: 626px;
      }
    }
  }
}

.editor-styles-wrapper {
  .hero-section {
    max-height: unset;
    height: auto;
  }
}

.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: none;
  z-index: 99;

  &.is-open {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .video-modal-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
  }

  .video-modal__inner {
    aspect-ratio: 16/9;
    width: 720px;
    max-width: 100%;
    position: relative;
    background-color: var(--wp--preset--color--offblack);

    .video-modal__iframe,
    .video-modal__iframe iframe {
      width: 100%;
      height: 100%;
      border: 0;
    }
  }

}

/*Hero Pattern END*/

/* Grouped Boxes START*/
.grouped-icon-text {
  @media screen and (min-width:1240px) {
    flex-wrap: nowrap;
  }

  >div {
    +div {
      border-left: 1px solid var(--wp--preset--color--mist);
    }
  }
}

.iconbox1 {
  padding-block: 22px;
  padding-inline: 14px;
  width: 100%;
  max-width: 217px;
  position: relative;

  @media screen and (min-width:992px) and (max-width:1024px) {
    &:nth-child(5) {
      border-left: 0;
    }
  }

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

    &:nth-child(4) {
      border-left: 0 !important;
    }

    &:last-child {
      border-right: 1px solid var(--wp--preset--color--mist);
    }
  }

  @media screen and (max-width:640px) {
    width: 50%;

    &:nth-child(odd) {
      border-left: 0 !important;
    }
  }

  >* {
    transition: all 0.3s ease;
  }

  &:hover {

    figure,
    p {
      transform: translateY(-4px);
    }
  }
}

.wp-block-group:has(>.counter-box-1) {
  @media screen and (max-width:1024px) {
    flex-wrap: wrap;
  }
}

.counter-box-1 {
  padding-block: 5px;
  padding-inline: 30px;
  width: 100%;
  max-width: 210px;

  &:first-child,
  &+.counter-box-1 {
    border-left: 1px solid rgba(173, 177, 178, 0.6)
  }

  &:last-child {
    border-right: 1px solid rgba(173, 177, 178, 0.6)
  }

  @media screen and (min-width:992px) and (max-width:1024px) {
    &:nth-child(4) {
      border-right: 1px solid rgba(173, 177, 178, 0.6);
    }
  }

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

    &:nth-child(3) {
      border-right: 1px solid rgba(173, 177, 178, 0.6);
    }
  }

  @media screen and (max-width:640px) {
    width: 50%;
    border-right: 0 !important;

    &:nth-child(odd) {
      border-left: 0;
    }
  }
}

/* Grouped Boxes END*/

/* SBC GRID START*/
#cards_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 30px;
  position: relative;
  align-items: stretch;
}

#cards_grid .grid_card {
  flex-wrap: nowrap;
  overflow: hidden;
  min-height: 0;
}


#cards_grid .expandable {
  @media screen and (min-width:992px) {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease, max-height .3s ease;
  }
}

#cards_grid .grid_card.is-active .expandable {
  opacity: 1;
  max-height: 999px;
  transform: translateY(0);
}

@media (max-width: 991px) {
  #cards_grid {
    grid-template-columns: repeat(2, 1fr);
    height: auto !important;
  }

  #cards_grid .grid_card {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  #cards_grid .grid_card.static {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 600px) {
  #cards_grid {
    grid-template-columns: 1fr;
  }
}

.grid_card {
  position: relative;

  @media screen and (max-width:1024px) {

    figure,
    figure img {
      width: 100%;
    }
  }

  .is-icon-only svg {
    width: 12px;
    height: 12px;
  }

  &.static {
    @media screen and (max-width:768px) {
      padding-left: 20px !important;
      padding-top: 40px !important;
    }
  }

  .expandable {
    @media screen and (min-width: 1240px) {
      margin-top: auto;
    }
  }

  >div {
    position: relative;
    z-index: 1;
    height: 100%;
  }

  &:not(.static)>div {
    border-bottom: 4px solid var(--wp--preset--color--cardinal);
  }

  .expandable_link {
    @media screen and (min-width:992px) {
      opacity: 0;
      visibility: hidden;
      user-select: none;
    }

    +.sb-button {
      flex-shrink: 0;
    }
  }

  &.is-active {

    .expandable_link {
      opacity: 1;
      visibility: visible;
      user-select: auto;
    }
  }
}

.editor-styles-wrapper {
  .grid_card {
    .expandable {
      display: flex;
    }

    .expandable_link {
      opacity: 1;
      visibility: visible;
      user-select: auto;
    }
  }
}

/* SBC GRID END*/

/* Accordion START*/
.tabs_wrapper {
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  flex-direction: column;
  width: 100%;

  @media screen and (min-width:992px) {
    flex-wrap: nowrap;
    flex-direction: row;
  }

  ol {

    @media screen and (max-width:991px) {
      position: relative;
      overflow-x: auto;
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      gap: 24px;
      max-width: 100%;

      li {
        white-space: nowrap;
        padding-left: 0;

        &:before {
          display: none;

        }
      }
    }
  }
}

.tablist {
  list-style: none;
  counter-reset: item;
  padding-left: 0;

  li {
    counter-increment: item;
    position: relative;
    padding-left: 40px;
    cursor: pointer;
    transition: all 0.3s ease;

    &:before {
      content: counter(item, decimal-leading-zero);
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      left: 0;
      font-weight: 500;
      color: #272727;
      font-size: 17px;
    }

    &.is-active,
    &:hover {
      @media scneen and (min-width:992px) {
        font-size: var(--wp--preset--font-size--medium-large-28) !important;
      }

      font-weight: 500;
      color: var(--wp--preset--color--midnight) !important;

      &:before {
        /*top: 56%;*/
      }

      a {
        position: relative;

        &:after {
          content: '';
          width: 100%;

          @media screen and (min-width:992px) {
            width: calc(100% + 20px);
          }

          position: absolute;
          height: 1px;
          left: 0;
          bottom: -4px;
          background: var(--wp--preset--color--cardinal);
        }
      }
    }

    a {
      text-decoration: none !important;
    }



  }
}

.tabs_contents {
  position: relative;
  overflow: hidden;

  @media screen and (max-width:991px) {
    width: 100%;
  }
}

.tab_content {
  opacity: 0;
  transform: translateY(8px);

  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: -1;

  .wp-block-group.is-nowrap {
    @media screen and (max-width:640px) {
      flex-direction: column;
    }
  }

  >.wp-block-group {
    .mt-30 {
      margin-top: 40px;
    }

    ul:first-child {
      max-width: 231px;
    }

    ul:nth-child(2) {
      max-width: 200px;
    }

    ul:nth-child(3) {
      @media screen and (min-width:640px) {
        flex-grow: 0;
        margin-left: auto;
      }
    }
  }
}

.editor-styles-wrapper .tab_content,
.tab_content.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
  z-index: 1;
  transition:
    transform 300ms ease,
    opacity 200ms ease;
}

/* Accordion END*/

/*Work Groups START*/
.row-text-image {
  flex-direction: column;
  flex-wrap: wrap;

  @media screen and (min-width:992px) {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  >div:first-child {
    width: 100%;

    @media screen and (min-width:992px) {
      width: calc(50% - 80px);
    }
  }

  >figure {
    width: 100%;

    img {
      width: 100%;
    }

    @media screen and (min-width:992px) {
      width: 50%;
    }
  }
}

/*Work Groups END*/

/* Events Start*/
.event-post-list {
  padding: 0;
  align-items: stretch;

  @media screen and (max-width:991px) {
    flex-direction: column;

    li,
    article {
      width: 100%;
    }
  }

  >li {
    flex: 1 1 100%;

    article {
      height: 100%;
    }

  }
}

.event-card {
  background-color: #FFF;
  border-radius: 15px;
  box-shadow: 0 4px 17.4px 0 rgba(0, 0, 0, 0.07);
  padding: 17px 24px;

  @media screen and (max-width:1024px) {
    max-width: 670px;
  }

  @media screen and (min-width:768px) {
    padding: 37px 48px;

  }

  h3 {
    margin: 0;
    line-height: 1.1;
  }

  .category-price {
    @media screen and (min-width:991px) and (max-width:1024px) {
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
    }

    @media screen and (max-width:640px) {
      flex-direction: column;
      align-items: flex-start;
    }

    .price,
    .category {
      padding: 14px 23px;
      border-radius: 5px;
      background-color: rgba(209, 232, 231, 0.5);
    }

    .price {
      background-color: rgba(236, 30, 37, 0.1);
    }
  }

  .svg {
    width: 24px;
    height: 24px;
    border-radius: 100%;
    background-color: var(--wp--preset--color--mist);
  }

}

/* Event List END*/

/*QR START*/
.qr-code {
  img {
    width: 134px;
  }
}

.book-wrapper {
  @media screen and (max-width:991px) {
    flex-wrap: wrap;

    .pr-70 {
      padding-right: 14px;
    }
  }
}

/*QR END*/

/* Latest Updates START*/
.news-swiper__nav {
  justify-content: center;
  gap: 20px;
  align-items: center;
  margin-top: 30px;

  @media screen and (min-width:991px) {
    margin-top: 60px;
  }

  button {
    background-color: transparent;
    width: 52px;
    height: 52px;
    color: var(--wp--preset--color--gray-medium);
    border: 1px solid var(--wp--preset--color--gray-medium);
    border-radius: 100%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    &:hover {
      background-color: var(--wp--preset--color--cardinal);
      border-color: var(--wp--preset--color--cardinal);
      color: var(--wp--preset--color--offwhite);

      svg {
        transform: scale(1.3);
      }
    }
  }
}

.post-cards-list>li {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
  display: block;

  +li {
    border-left: 1px solid #ADB1B2;
  }
}

.article-card {
  padding-inline: 20px;

  @media screen and (min-width:1240px) {
    padding-left: 60px;
    padding-right: 40px;
  }

  .article-card__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* Latest Updates END*/

/* PreFooter START*/
.custom_shadow {
  box-shadow: 0 4px 60.1px 0 rgba(0, 0, 0, 0.03);
}

.custom-shadow-2 {
  box-shadow: 0 4px 16.4px 0 rgba(0, 0, 0, 0.07);
}

.custom-shadow-3 {
  box-shadow: 0 3px 23.1px 0 rgba(0, 0, 0, 0.1);
}

.expanded-image {
  height: 100%;

  img {
    width: 100%;

    @media screen and (max-width:991px) {
      min-width: 100%;
    }

    height: 100%;
    object-fit: cover;
  }
}

/* PreFooter END*/

/* Sticky Banner */
main {
  position: relative;
}

.follow_banner {
  width: 246px;

  position: fixed;
  top: 50%;
  left: 0;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 3;

  >div {
    /*background: linear-gradient(266deg, #40B4BA -13.72%, #23415E 116.71%);*/
    background-color: var(--wp--preset--color--steel);
    padding: 34px 16px 34px 65px;
    width: 100%;
    position: relative;
    border-radius: 20px;
  }

  &:before {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background-color: var(--wp--preset--color--cardinal);
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translateY(2px);
  }

  .close-banner {
    position: absolute;
    top: 8px;
    right: 16px;
  }

  &.appear {
    transform: translateX(-45px);
  }

  &.user-closed {
    transform: translateX(-95%);

    .close-banner {
      /*opacity: 0;
      pointer-events: none;*/
    }

    &:hover {
      /*transform: translateX(-45px);*/
    }
  }

  &.stop-above-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    top: unset;
  }
}

.editor-styles-wrapper .follow_banner {
  transform: translateX(0) !important;
}

/* Footer START*/
.site-footer {
  background: var(--sb-dark);
  color: var(--sb-white);
  padding-block: 64px 32px;

  .to-column-lg {
    flex-direction: column;

    @media screen and (min-width:1180px) {
      flex-direction: row;
    }
  }

  .colSpacer {
    @media screen and (max-width: 768px) {
      display: none;
    }
  }

  .sb-button--outline.has-background:hover,
  .sb-button--outline:not(.has-background) {
    &:hover {
      background-color: var(--wp--preset--color--mist) !important;
      color: var(--wp--preset--color--steel) !important;
    }
  }

  .footer-col-1 {
    row-gap: 20px;

    @media screen and (min-width:768px) {
      row-gap: 40px;
    }

  }

  .copyright {
    gap: 4px;

    p:nth-child(2) {
      @media screen and (max-width: 768px) {
        display: none;
      }
    }
  }
}


.site-footer a {
  color: inherit;
}

.wp-block-social-links.has-large-icon-size {
  font-size: 32px;
}

/* Footer END*/

/* Overrides */
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
  border: 1px solid #FCFCFC;
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content {
  padding: .8em 1em;
}

.wp-block-navigation__responsive-container-close {
  top: 10px;
  right: 20px;
}

@media screen and (max-width:768px) {

  h2,
  h3,
  p {
    br {
      display: none;
    }
  }
}