/* Keep screenshots readable at their original aspect ratio. */
.entry-content img:not(.emoji) {
  display: block;
  max-width: 100% !important;
  height: auto !important;
  margin: 1.5rem auto;
  object-fit: contain;
  border-radius: 8px;
}

.entry-content figure,
.entry-content pre {
  max-width: 100%;
}

.entry-content pre {
  overflow-x: auto;
}

.entry-content {
  line-height: 1.85;
  overflow-wrap: break-word;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  scroll-margin-top: 100px;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .entry-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
