.footer-widgets {
  --#{$prefix}body-font-size: 0.875rem;
  --#{$prefix}border-color: rgba(var(--#{$prefix}dark-rgb), 0.1);

  .wp-block-heading {
    font-weight: 700;

  }
}

.footer-widget {
  --#{$prefix}link-hover-color: var(--#{$prefix}primary);
  --#{$prefix}list-icon-color: var(--#{$prefix}primary);
  --#{$prefix}list-gap: 15px;
  font-size: var(--#{$prefix}body-font-size);

  a:before {
    display: none;
  }

  ul.menu {
    margin: 0;
    padding: 0;

    li {
      margin-bottom: 10px;

      a {
        font-size: 1rem;
      }
    }
  }

  .wp-block-social-links {
    .wp-block-social-link {
      a:hover {
        color: var(--#{$prefix}white) !important;
      }
    }
  }
}

.copyright-inner {
  border-top: 1px solid var(--#{$prefix}border-color);
  padding-top: 50px;
}

.footer-section {
  --#{$prefix}link-color: var(--#{$prefix}heading-color);

  &.text-white {
    --#{$prefix}text-opacity: 0.8;
    --#{$prefix}link-color: var(--#{$prefix}white);
    --#{$prefix}body-color: var(--#{$prefix}white);

    .footer-widgets {
      --#{$prefix}border-color: rgba(var(--#{$prefix}white-rgb), 0.1);
    }
  }

  .copyright-section {
    --#{$prefix}link-color: var(--#{$prefix}heading-color);

    .nav {
      --martex-nav-link-color: inherit;
      gap: 15px;
    }

    &.text-white {
      --#{$prefix}text-opacity: 0.8;
      --#{$prefix}link-color: var(--#{$prefix}white);
      --#{$prefix}body-color: var(--#{$prefix}white);
      --#{$prefix}border-color: rgba(var(--#{$prefix}white-rgb), 0.1);
    }

    &.bg-tra {
      .copyright-inner {
        border-top: 1px solid var(--#{$prefix}border-color);
      }
    }
  }
}

.scrolltop {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--#{$prefix}white-rgb), 0.1);
}

#scrollUp {
  display: none;
  width: 40px;
  height: 40px;
  position: fixed;
  bottom: 30px;
  right: 30px;

  .icon-wrap {
    position: absolute;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    border-radius: var(--#{$prefix}border-width);
    border: 1px solid rgba(var(--#{$prefix}white-rgb), 0.1);
    background-color: rgba(var(--#{$prefix}dark-rgb), 1);
    transition: all 250ms linear;
    color: rgba(var(--#{$prefix}primary-rgb), 1);
  }

  .arrow-up {
    border-style: solid;
    border-color: #fff;
    border-width: 0 2px 2px 0;
    display: inline-flex;
    padding: 4px;
    position: relative;
    top: 2px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
  }

  &:hover,
  &:focus {
    .icon-wrap {
      background-color: rgba(var(--#{$prefix}primary-rgb), 1);
    }
  }
}