footer.site-footer {
  background-color: #f3f1ed !important;
  padding: 0;

  .region .content {
    max-height: 0;
    visibility: hidden;
    overflow: hidden;
    transition: all .3s ease-in-out;

    @media (min-width: 769px) {
      max-height: unset;
      visibility: visible;
      overflow: auto;
    }
  }

  .title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    box-shadow:
      1px 0 0 0 #e0dfdc,
      0 1px 0 0 #e0dfdc,
      1px 1px 0 0 #e0dfdc,
      1px 0 0 0 #e0dfdc inset,
      0 1px 0 0 #e0dfdc inset;

    &::after {
      content: "";
      position: absolute;
      right: 60px;
      width: 1px;
      height: 100%;
      background-color: #e0dfdc;
    }

    @media (min-width: 769px) {
      box-shadow: none;

      &::after {
        content: none;
      }
    }

    .title-wrapper__icon {
      display: flex;
      justify-content: center;
      height: 100%;
      width: 60px;
      @media (min-width: 769px) {
        display: none;
      }

      svg {
        height: 6px;
        max-width: 11px;
        transition: transform .3s ease-in-out;
      }
    }

  }

  .title-wrapper.open {
    svg {
      transform: rotate(-180deg);
    }
  }

  .region .content.open {
    max-height: 1000px;
    visibility: visible;
  }

  .site-footer__top {
    padding: 0 0 40px;
    @media( min-width: 769px) {
      padding: 60px 0;
    }

    .row > * {
      padding: 0 20px;
    }

    .block {
      display: flex;
      flex-flow: column;

      @media (min-width: 769px) {
        row-gap: 30px;
      }

      h2 {
        padding: 17px 30px 19px;
        font-size: 20px;
        font-weight: bold;
        color: #3e3d3d;
        margin-bottom: 0;
        cursor: pointer;



        @media (min-width: 769px) {
          padding: 0;
          font-size: 26px;
          box-shadow: none;
        }
      }

      a {
        color: #3e3d3d;
        box-shadow:
          1px 0 0 0 #e0dfdc,
          0 1px 0 0 #e0dfdc,
          1px 1px 0 0 #e0dfdc,
          1px 0 0 0 #e0dfdc inset,
          0 1px 0 0 #e0dfdc inset;

        @media (min-width: 769px) {
          box-shadow: none;
        }


        &:hover {
          color: var(--csa-purple);
        }
      }
    }

    .block-content-footer_text_cta {
      box-shadow:
          1px 0 0 0 #e0dfdc,
          0 1px 0 0 #e0dfdc,
          1px 1px 0 0 #e0dfdc,
          1px 0 0 0 #e0dfdc inset,
          0 1px 0 0 #e0dfdc inset;

      @media (min-width: 768px) {
        box-shadow: none;
      }

      .content {
        .content-wrapper {
          display: flex;
          flex-flow: column;
          row-gap: 40px;
          padding: 30px;

          @media (min-width: 769px) {
            padding: 0;
          }
        }
      }

      .field--type-link {
        a {
          display: inline-flex;
          align-items: center;
          column-gap: 14px;
          padding: 13px 25px 15px;
          border: 2px solid black;
          text-decoration: none;
          border-radius: 50px;
          font-weight: bold;
          line-height: 1.4;
          transition: color .3s ease-in-out, background-color .3s ease-in-out;
          font-size: 18px;
          box-shadow: none;

          &:hover {
            background-color: black;
            color: white;

            &:after {
              background-color: white;
            }
          }

          &:after {
            content: "";
            display: inline-block;
            background-color: black;
            width: 24px;
            height: 24px;
            mask-image: url('data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20role%3D%22none%22%3E%3Cpath%20d%3D%22M5.33325%2012H18.6666%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.66667%22%20stroke-linecap%3D%22round%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M18.6665%2012C16.1665%209.5%2015.3332%208.66667%2013.6665%207%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.66667%22%20stroke-linecap%3D%22round%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M18.6665%2012C16.9998%2013.6667%2015.7498%2014.9167%2013.6665%2017%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.66667%22%20stroke-linecap%3D%22round%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E');
            mask-position: center;
            transition: color .3s ease-in-out;
          }
        }
      }
    }

    .site-footer__top-container {
      display: grid;
      grid-template-columns: 1fr;
      column-gap: 40px;
      max-width: 1980px;
      width: 100%;
      margin: 0 auto;
      padding: 0;

      @media (min-width: 769px) {
        row-gap: 60px;
        width: 90%;
        padding: 0 30px;
        grid-template-columns: repeat(2, 1fr);
      }

      @media (min-width: 1024px) {
        grid-template-columns: repeat(4, 1fr);
      }
    }

    a {
      padding: 0;
    }

    .nav {
      display: flex;
      flex-flow: column;

      @media (min-width: 769px) {
        row-gap: 1rem;
      }

      a {
        padding: 17px 30px 19px;

        @media (min-width: 769px) {
          padding: 0;
        }
      }
    }
  }

  .site-footer__bottom {
    padding-bottom: 80px;

    @media (min-width: 769px) {
      padding-bottom: 90px;
    }

    @media (min-width: 1024px) {
      padding-bottom: 40px;
    }

    .site-footer__bottom-container {
      max-width: 1980px;
      width: 100%;
      margin: 0 auto;
      padding: 0 30px;

      @media (min-width: 769px) {
        width: 90%;
      }
    }

    .social-links {
      display: flex;
      margin-bottom: 40px;

      @media (min-width: 1024px) {
        padding-bottom: 70px;
        border-bottom: 1px solid white;
      }
    }

    .social-links__link {
      color: #3e3d3d;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 1rem;
      border: 1px solid currentColor;
      border-radius: 50px;
      transition: color .3s ease-in-out;

      &:hover {
        color: #476ac4;
      }
    }

    .social-links__icon {
      height: 25px;
      max-width: 25px;
    }

    .copyright {
      font-size: 12px;
    }
  }
}
