.region-footer {
  background-color: var(--color-background-alternative);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding: 5px clamp(40px, 5vw, 75px) clamp(15px, 1.65vw, 25px) clamp(40px, 5vw, 75px);
  z-index: 1;
  position: relative;
}

.footer-left {
  width: 310px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-logo {
  width: 250px;
  height: auto;
  position: relative;
  left: -5px;
}

.social-links {
  display: flex;
  flex-direction: row;
  gap: 52px;
  padding-left: 5px;
}

.social-link {
  width: 25px;
  height: 25px;
}

.disclaimer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eu-flag {
  width: 140px;
  height: auto;
}

.disclaimer .p-small {
  color: white;
  font-size: 12px;
  line-height: 14px;
  margin-top: 3px;
}

.region-footer .menu {
  margin-top: 35px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.region-footer .menu-item {
  color: white!important;
  font-size: clamp(14px, 1.32vw, 20px);
  line-height: clamp(14px, 1.32vw, 20px);
  white-space: nowrap;
}

#block-metabuild-footersubmenu .field__item {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.footer-col {
  width: 200px;
  margin-top: 35px;
}

.menu-title {
  font-size: clamp(16px, 1.32vw, 20px);
  line-height: clamp(14px, 1.32vw, 20px);
  margin-bottom: 25px;
  color: white;
  white-space: nowrap;
}

.menu-link {
  font-size: clamp(14px, 1.06vw, 16px);
  line-height: 30px;
  color: white;
  white-space: nowrap;
}

.footer-coordinators-wrapper {
    width: 350px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-coordinator {
    color: white;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
}

.coordinator-role {
    opacity: 0.7;
}

.coordinator-name {
    font-size: clamp(14px, 1.32vw, 18px);
    line-height: clamp(14px, 1.32vw, 18px);
}

.footer-last-col {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media only screen and (max-width: 1500px) {
    .footer-left {
        width: 100%;
    }
    .footer-coordinators-wrapper {
        width: 100%;
        flex-direction: column;
    }
    .footer-coordinator {
        align-items: center;
    }
}

@media only screen and (max-width: 1100px) {
  .region-footer {
    flex-direction: column;
  }

  .footer-left {
    margin-top: 30px;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
  }
  .footer-col {
    margin-left: 0;
    margin-top: 45px;
  }
  #block-metabuild-footersubmenu .field__item {
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
  }
  .footer-coordinators-wrapper {
      width: 100%;
      flex-direction: row;
      flex-wrap: wrap;
  }
}

@media only screen and (max-width: 900px) {
  .footer-left {
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
  }
}

@media only screen and (max-width: 715px) {
  #block-metabuild-footersubmenu .field__item {
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
  }
}

@media only screen and (max-width: 480px) {
  #block-metabuild-footersubmenu .field__item {
    flex-direction: column;
    justify-content: flex-start;
  }
  .footer-left {
    margin-top: 30px;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 35px;
  }

  .disclaimer .p-small {
    width: 200px;
    font-size: 11px;
    line-height: 13px;
  }
}
