p{
  font-size: 14px !important;
}
.region-footer-menu nav {
flex: 1 1 22% !important;
}
.sdgs-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

.sdgs-rows {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 30px;
}

.sdgs-card {
    display: flex;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: auto;
    min-height: 300px;
}

.sdgs-card-image {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: #f1f1f1;
    box-sizing: border-box;
}

.sdgs-card-image img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
}

.sdgs-card-content {
    width: 60%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.sdgs-card-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.sdgs-card-text {
    font-size: 16px;
    color: #555;
    flex-grow: 1;
}

.sdgs-card-button {
    background-color: #fff;
    color: #007bff;
    border-color: #009edb !important;
    border: 1px solid #009edb !important;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    cursor: pointer;
    width: fit-content;
}
 .country-grid-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
}

.country-grid-card {
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 12px 8px;
  text-align: center;
  transition: transform 0.2s ease-in-out;
  cursor: pointer;
}

.country-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.country-grid-flag {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 8px;
}

.country-grid-link {
  text-decoration: none;
  color: #00385B;
  font-weight: 600;
  font-size: 13px;
  font-family: "Helvetica", "Arial", sans-serif;
  display: block;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.vnr-images {
   display: flex;
   justify-content: center;
   align-items: center;
   padding: 20px 20px;
   box-sizing: border-box;
   
  }
/* Responsive for smaller screens */
@media (max-width: 768px) {
   .sdgs-rows {
    grid-template-columns: 1fr;
  }

   .sdgs-card {
     flex-direction: column;
   }

    .sdgs-card-image,
    .sdgs-card-content {
        width: 100%;
    }

    .sdgs-card-image {
        padding: 20px;
    }
 }
@media (max-width: 600px) {
  .country-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }

  .country-grid-flag {
    width: 30px;
    height: 30px;
  }

  .country-grid-link {
    font-size: 12px;
  }
  .vnr-images {
    flex-direction: column;
    align-items: center;
      }
  .vnr-images img {
     width: 100%;
     height: auto;
     margin-bottom: 20px; /* Add space between images on small screens */
     }
}