.row.row-footer {
  background-color: var(--primary-color);
  padding-top: var(--space-L);
  color: white;
}

.row.row-footer .cont .three-column-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-M);
  padding-bottom: var(--space-M);
}

.row.row-footer .cont .ending-line {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-M);
  padding-block: 24px;
  border-top: 1px solid white;
  font-size: var(--body-S);
  line-height: var(--line-height-140);
}

.row.row-footer strong {
  font-size: var(--default-font-size);
  font-weight: 600;
  line-height: var(--line-height-150);
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.row.row-footer p,
.row.row-footer a:not(.cta-secondary),
.row.row-footer a:visited:not(.cta-secondary),
.row.row-footer a:hover:not(.cta-secondary) {
  font-size: var(--default-font-size);
  line-height: var(--line-height-175);
  font-weight: 400;
  color: white;
  text-decoration: none;
  margin: 0;
}
.row.row-footer .three-column-footer a {
  display: block;
}

.row.row-footer .three-column-footer .cta-secondary {
  margin-top: 24px;
  display: inline-block;
}
.row.row-footer .ending-line a,
.row.row-footer .ending-line a:hover,
.row.row-footer .ending-line a:visited {
  display: inline-block;
  margin-left: 24px;
  font-weight: 600;
  font-size: var(--body-S);
}

.row.row-footer .ending-line .right-side {
  display: flex;
  align-items: center;
}
.linkedin,
.facebook {
  content: "";
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
}
.linkedin {
  background-image: url(../img/linkedin.svg);
}
.facebook {
  background-image: url(../img/facebook.svg);
}

@media (max-width: 768px) {
  .row.row-footer .cont .three-column-footer {
    grid-template-columns: 1fr;
  }
  .row.row-footer .cont .three-column-footer .cta-secondary {
    line-height: 1.33;
    padding: 16px 24px;
  }

  /* .row.row-footer .cont {
    --body-S: 0.75rem;
  }
  .row.row-footer .ending-line .right-side {
    --default-font-size: 0.75rem;
  } */

  .row.row-footer .ending-line .right-side a:first-child {
    margin-left: 0;
  }
  .row.row-footer .cont .ending-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
}

@media (max-width: 370px) {
  .row.row-footer .ending-line a {
    margin-left: 8px;
  }
}
