/* Custom styles to fix article alignment in posts section */

#main > .posts > article {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#main > .posts > article header {
  flex-shrink: 0;
  min-height: 10rem;
}

#main > .posts > article header h2 {
  min-height: 9rem;
  display: flex;
  align-items: center;
}

#main > .posts > article .image.fit {
  flex-shrink: 0;
  margin: 1.5rem 0;
  height: 15rem;
  overflow: hidden;
}

#main > .posts > article .image.fit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#main > .posts > article p {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

#main > .posts > article .actions {
  flex-shrink: 0;
  margin-top: auto;
}

#pagination {
  text-align: center;
  margin: 2rem 0 0 0;
}
