/* Native Divi Blog content, equal cards, chronological row order. */
body.thorn3-site .thorn3-blog-card-grid {
  --thorn3-blog-card-padding: clamp(1.25rem, 2vw, 2rem);
}
body.thorn3-site .thorn3-blog-card-grid .thorn3-blog-card-items {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
body.thorn3-site .thorn3-blog-card-items::before,
body.thorn3-site .thorn3-blog-card-items::after { display: none; }
body.thorn3-site .thorn3-blog-card-grid .et_pb_post {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  float: none;
  width: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: 0 0 var(--thorn3-blog-card-padding) !important;
  overflow: hidden;
}
body.thorn3-site .thorn3-blog-card-grid .et_pb_image_container {
  flex: none;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0 0 1.5rem;
}
body.thorn3-site .thorn3-blog-card-grid .entry-featured-image-url {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}
body.thorn3-site .thorn3-blog-card-grid .entry-featured-image-url img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.thorn3-site .thorn3-blog-card-grid .entry-featured-image-url:focus-visible {
  outline-offset: -5px;
}
/* Reserve the same media space if a future post has no featured image. */
body.thorn3-site .thorn3-blog-card-grid .et_pb_post:not(:has(.et_pb_image_container))::before {
  content: '';
  flex: none;
  aspect-ratio: 16 / 10;
  margin-bottom: 1.5rem;
  background: var(--thorn3-cloud);
}
body.thorn3-site .thorn3-blog-card-grid .et_pb_post .entry-title {
  min-height: 2.6em;
  margin: 0 0 .75rem;
  padding: 0 var(--thorn3-blog-card-padding);
}
body.thorn3-site .thorn3-blog-card-grid .et_pb_post .post-meta {
  margin: 0 0 1rem;
  padding: 0 var(--thorn3-blog-card-padding);
}
body.thorn3-site .thorn3-blog-card-grid .et_pb_post .post-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 var(--thorn3-blog-card-padding);
}
body.thorn3-site .thorn3-blog-card-grid .post-content-inner { flex: 1; }
body.thorn3-site .thorn3-blog-card-grid .post-content-inner > p:last-child { margin-bottom: 0; }
body.thorn3-site .thorn3-blog-card-grid .et_pb_post .more-link {
  display: inline-flex;
  align-self: center;
  align-items: center;
  min-height: 44px;
  margin-top: 1.5rem;
  padding: 0;
}
@media (min-width: 40rem) {
  body.thorn3-site .thorn3-blog-card-grid .thorn3-blog-card-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 64rem) {
  body.thorn3-site .thorn3-blog-card-grid .thorn3-blog-card-items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
