/* The archived desktop layout is unchanged. These rules only prevent fixed-width overflow on small screens. */
.missing-archive-image {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 8px;
  border: 2px solid #cfcfcf;
  color: #666;
  font-size: 10px;
  line-height: 1.3;
  text-align: center;
  vertical-align: middle;
}

@media (max-width: 760px) {
  body {
    margin: 0;
    padding: 0 8px;
  }

  #page,
  #header,
  #headerimg,
  #footer {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0 !important;
  }

  #headerimg {
    margin-right: 0;
    margin-left: 0;
    height: 98px;
    background-position: center top;
  }

  #header {
    height: 98px;
    background-position: top center;
    background-size: 100% auto;
  }

  .narrowcolumn,
  .widecolumn,
  #sidebar {
    box-sizing: border-box;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding-right: 18px !important;
    padding-left: 18px !important;
  }

  .gallery-item {
    width: 45% !important;
  }

  .gallery-item img.attachment-thumbnail {
    width: 130px;
    height: 130px;
  }

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