.region-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  background-color: black;
  color: white;
  margin-right: 10%;
  margin-left: 10%;
}

@media only screen and (max-width: 600px) {
  .region-footer {
    margin-right: 5%;
    margin-left: 5%;
  }
}
	

.region-footer .block {
  flex: 1 1 20%; /* roughly 5 blocks in a row with space */
  min-width: 200px;
}

.region-footer .site-slogan {
  margin-top: 15px;
  font-size: 0.75rem;
  }


/* Individual styling for blocks if needed */
.footer-logo img {
  max-width: 150px;
}

.footer-projects ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#block-capacity-plus-footer-menu h2 {
  color: white;
  margin: 0px;
}

#block-capacity-plus-footer-menu h2::after {
  content: "";
  display: block;
  height: 4px;
  background-color: #bd1c1c;
  margin-top: 8px;
  width: 120px;
  max-width: 300px;
}

.region-footer .block h2 {
  font-size: 1.5rem;
}

#block-capacity-plus-views-block-projects-block-2 h2 {
  color: white;
  margin: 0px;
  padding-bottom: 15px;
  padding-left: -10px;
}

#block-capacity-plus-views-block-projects-block-2 h2::after {
  content: "";
  display: block;
  height: 4px;
  background-color: #bd1c1c;
  margin-top: 8px;
  width: 120px;
  max-width: 300px;
}

#block-capacity-plus-views-block-projects-block-2 .views-field-title, .region-footer .menu-item {
  padding-top: 8px;
  margin-left: -18px;
}  

#block-capacity-plus-contactfooterblock {
  min-width: 280px;
}

#block-capacity-plus-contactfooterblock p {
  color: white;
} 

.region-footer .button-capacity a {
  padding-bottom: 15px;
}

#block-capacity-plus-contactfooterblock .email-contact {
  color: var(--capacity-red);
  padding-top: -15px;
}

.project-item-list a, #block-capacity-plus-footer-menu a {
  color: #9b9b9b;
  transition: color 0.3s ease;
}

#block-capacity-plus-views-block-projects-block-2 .views-field-title a:hover, #block-capacity-plus-footer-menu a:hover {
  color: var(--capacity-red);
  transition: color 0.3s ease;
  text-decoration: none;
}  
