/* Reset margins and padding */
.ipe-sites-title,
.ipe-site-column {
  margin: 0;
  padding: 0;
}

/* Style and center the title */
.ipe-sites-title h2 {
  font-size: 2em; 
  color: #333; 
  text-align: center; 
  padding: 20px; /* Add some padding around the title to space it from the content */
}

/* Style each site */
.ipe-site-column h3 {
  margin-bottom: 0px; /* Space below the site title */
}

/* Add padding and border box to handle padding and border */
.ipe-site-column {
  padding: 15px 15px 0px 15px;
  box-sizing: border-box;
}

/* Make the IPE sites list a flex container */
.ipe-sites-list {
  display: flex;
  flex-wrap: wrap; /* Wrap the columns onto the next row when they don't fit */
  justify-content: space-between; /* Space the columns evenly apart */
}

/* For mobile, make each site full width */
@media screen and (max-width: 599px) {
  .ipe-site-column {
    width: 100%;
  }
}

/* When the viewport is 600px or more, make it two columns */
@media screen and (min-width: 600px) {
  .ipe-site-column {
    width: calc(50% - 30px); /* Each column will take up about 50% of the row, accounting for padding */
  }
}
