.collection h1 {
  margin-top: 0;
}

.collection form {
  width: 100%;
}

.collection p {
  hyphens: auto;
  text-align: justify;
}

.collection-search h2 {
  margin: 20px 0 10px;
  text-align: center;
}

.collection-search fieldset {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 auto;
  width: 100%;
}

.collection-search input {
  flex-grow: 1;
}

.collection-search button {
  align-self: center;
  max-width: max-content;
}

.collection-publication-list {
  hyphens: auto;
  list-style-type: disc;
  padding-inline-start: 30px;
  text-align: justify;
}

.collection-link-list {
  list-style-type: disc;
  padding-inline-start: 30px;
}

.collection-link-list a {
  word-break: break-all;
}

.collection-figure {
  display: table;
  margin: 0 auto;
  text-align: center;
}

.collection-figure img {
  height: auto;
  max-width: 100%;
}

.collection-figure figcaption {
  caption-side: bottom;
  display: table-caption;
  font-size: 14px;
}

.collection-logo {
  height: auto;
  max-width: 100%;
}

@media (min-width: 512px) {
  .collection-search fieldset {
    flex-direction: row;
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .collection {
    margin-bottom: 0;
  }
}
