.page {
  margin: 2rem auto;
  max-width: 80%;

  > h1 {
    text-align: center;
  }
}

.section-page {
  margin: 0;
  max-width: 100%;

  .page-content {
    margin: 2rem auto;
    max-width: 60%;
  }

  .page-header {
    text-align: center;
    background-image: url("../images/daca-protest-columbus-circle.jpg");

    h1 {
      display: inline-block;
      padding: 0.5rem;
      margin-top: 5rem;
      text-align: center;;
      background: white;
      color: rgba(86, 38, 12, 1);
      font-weight: bold;
      font-size: 2rem;
    }
  }
}

.section-menu {
  background: rgba(246, 190, 45, 1);
  color: rgba(86, 38, 12, 1);
  margin: 2rem auto 2rem auto;
  max-width: 60%;

  ul {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
  }

  li {
    margin: .5rem 1% 0;
    text-align: center;
    list-style: none;
    border-bottom: 4px solid transparent;
    padding-bottom: 1rem;

    &:has(.active) {
      border-color: rgba(86, 38, 12, 1);
    }

    a {
      text-decoration: none;
      color: inherit;
    }
  }
}

@media screen and (max-width: 65rem) {
  .section-menu ul {
    font-size: .7em;
  }
  .section-menu {
    max-width: 90%;
  }
  .page-content {
    max-width: 90% !important;
  }
}

ul.board-list li {
  list-style-type: none;
  max-width: 150px;
  margin-bottom: 30px;
  background-color: #f6be2d;
  padding-bottom: 20px;
  float: left;
  margin-right: 40px;
  height: 250px;
  text-decoration: none;
}

ul.list-of-posts {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 1200px;

  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding-inline-start: 0px;
}

ul.list-of-posts li {
  box-sizing: border-box;
  list-style-type: none;
  text-align: center;
  width: 300px;
  margin-bottom: 30px;
  background-color: #f6be2d;
  padding-bottom: 20px;
  height: 350px;
  margin-right: 20px;
  margin-left: 20px;
  text-decoration: none;
}

.inline-image {
  width: 25%;
  float: left;
  margin-right: 15px;
  margin-bottom: 15px;
  border: 1px black solid;
}

img.posts-image-thumbnail {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  object-position: top;
  margin-bottom: -4px;
}

div.posts-image {
  background-color: #fcf8f2;
  border-top: 1px #e3cfba solid;
  border-left: 1px #e3cfba solid;
  border-right: 1px #e3cfba solid;
}

div.board-image {
  height: 150px;
  width: 100%;
  overflow: hidden;
}
img.board-image-thumbnail {
  width: 100%;
}

div.board-name {
  text-align: center;
}
div.board-bio {
  padding-top: 10px;
  text-align: center;
  font-size: .8em;
  padding-left: 5px;
  padding-right: 5px;

}
div.board-details {
  padding-top: 10px;
  text-align: center;
  font-size: .7em;
}

div.posts-display-date  {
  text-align: center;
  margin-bottom: 10px;
  margin-top: 10px;
  color: #56260C;

}
div.posts-title {
  text-align: center;
}

div.posts-title {
  font-weight: bold;
  font-size: 1.2em;
  color: #56260C;
  padding-left: 20px;
  padding-right: 20px;
}

div#board-clear, div#posts-clear {
  clear: left;
}

div.post-image {
  max-width: 400px;
  margin-top: 10px;
  margin-right: 20px;
  float: left;
  margin-bottom: 15px;
}

div.post-image img {
  width: 100%;
}

div.post-publication span.publication-label {
  background-color: #f6be2d;
}

ul.pagination li {
  display: inline-block;
  list-style-type: none;
  padding-left: 5px;
  padding-right: 5px;
}

div#post-top-links {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  border: 1px solid #56260c;
  overflow: hidden;
}

div.post-top-link-row {
  display: flex;
  flex-direction: row;
}

div.post-top-link-cell {
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 5px;
  box-sizing: border-box;
  min-height: 55px;

  display: flex;
  align-items: center; /* Vertically centers the content */
  justify-content: flex-start; /* Aligns content to the left */

  /* To prevent "double borders" where cells meet, we use negative margins.
     This makes adjacent borders overlap perfectly, appearing as a single 1px line.
     The overflow: hidden on .flex-container helps contain these negative margins. */
  margin-top: -1px;
  margin-left: -1px;
}

div.post-top-link-label {
  width: 140px; /* Fixed width for the first column */
  flex-shrink: 0; /* Prevents the first column from shrinking */
  background-color: #56260c;
  color: #fcf8f2;
  font-weight: bold;
}

div.post-publication-link, div.post-audio-controls {
  flex-grow: 1;
}

div.post-audio-controls {
  width: 90%;
  max-width: 600px;
}

div.post-audio-controls audio {
  width: 100%;
}

div.home-callout {
  background-color: #f6be2d;
  min-height: 140px;
}

div.home-callout-display {
  padding: 4rem;
}

div.home-image {
  float: left;
  padding-right: 15px;
}

img.home-image-thumbnail {
  max-height: 100px;
  width: 100%;
}

div.home-title a {
  text-decoration: none;
  color: #56260c;
  font-size: 2rem;
  font-weight: bold;
}

div.home-display-date {
  color: #56260c;
}
