[data-theme="emerald"] #disqus_thread {
  color-scheme: none;
  background-color: #ffffff;
}

[data-theme="emerald"] #disqus_thread a {
  color: #333c4d;
}

[data-theme="forest"] #disqus_thread {
  color-scheme: none;
  background-color: #171213;
}

[data-theme="forest"] #disqus_thread a {
  color: #cbc9ca;
}
/* Increase font size for single-post reading content only. */
#dream-single-post-main.prose,
#dream-single-post-main.prose p,
#dream-single-post-main.prose li {
  font-size: 23px !important;
  line-height: 1.8;
}

#dream-single-post-main article,
#dream-single-post-main article p,
#dream-single-post-main article li {
  font-size: 23px !important;
  line-height: 1.8;
}

#dream-single-post-content,
#dream-single-post-content p,
#dream-single-post-content li {
  font-size: 23px !important;
  line-height: 1.8;
}

/* Make single-post headings proportionally larger without affecting cards. */
#dream-single-post-main h1 {
  font-size: 2em !important;
}

#dream-single-post-main h2 {
  font-size: 1.75em !important;
}

#dream-single-post-main h3 {
  font-size: 1.5em !important;
}

#dream-single-post-main h4 {
  font-size: 1.25em !important;
}

.dream-grid .card {
  overflow: hidden;
}

.dream-grid .card figure {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.dream-grid .card figure img,
.dream-grid .card figure picture,
.dream-grid .card figure picture img {
  width: 100%;
  height: 100%;
}

.dream-grid .card figure img,
.dream-grid .card figure picture img {
  object-fit: cover;
}

.dream-summary-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dream-summary-card-body .card-title {
  display: block;
  font-size: 1.45rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.dream-summary-excerpt {
  display: -webkit-box;
  margin-top: 0.25rem;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
}

.dream-summary-card-body .card-actions {
  margin-top: auto;
  min-width: 0;
}
