/* Small compatibility layer for the archived WordPress layouts. */
html { overflow-wrap: anywhere; }
body { min-width: 0; }
img, video { max-width: 100%; height: auto; }
img[data-recovered-from-thumbnail] { width: auto !important; height: auto !important; max-width: 100%; }
img.archived-image-missing { background: #e9e7e0; max-width: min(100%, 640px); }
.recovered-gallery { margin: 1rem 0 2rem; padding: 1rem; background: #f6f3e9; border: 1px solid #d8d0bb; }
.recovered-gallery h2 { margin-top: 0; }
.recovered-gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; }
.recovered-gallery-grid a { display: block; color: inherit; text-decoration: none; background: #fff; border: 1px solid #ddd; }
.recovered-gallery-grid img { display: block; width: 100%; height: 150px; object-fit: cover; }
.recovered-gallery-grid span { display: block; padding: .5rem; font-weight: bold; }
.archived-photo-note { color: #5a6065; font-style: italic; }
@media(max-width:600px) { .recovered-gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
iframe, object { max-width: 100%; }
figure { max-width: 100%; margin-left: 0; margin-right: 0; }
figcaption { font-size: .9em; color: #5b6570; }
main, article, .entry-content, .post-content { min-width: 0; }
@media (max-width: 760px) {
  #page, #wrapper, #container, .site, .site-content, .content-area, .widget-area,
  #primary, #secondary, #main, #content, .container, .row {
    box-sizing: border-box; max-width: 100%; width: auto; min-width: 0;
  }
  .site-header img, #header img, .header-image { max-width: 100%; height: auto; }
  table { display: block; max-width: 100%; overflow-x: auto; }
}
