/* One rounded frame encloses each news image and its accompanying text. */
body.sl-news-page .posts article.post {
  /* Override the parent theme's .posts .post bottom padding (15px). */
  padding: 0;
  border: 1px solid var(--sl-border);
  border-radius: 24px;
  overflow: hidden;
}

body.sl-news-page .posts article.post .featured-img {
  border-radius: 0;
  margin-bottom: 0;
}

body.sl-news-page .posts article.post .post-content {
  border: 0 !important;
}

/* Restore the original text link instead of the shared orange action fill. */
body.sl-news-page article.post .post-footer .read-more-btn.button {
  --btn-bg: var(--sl-border);
  --btn-color: var(--sl-text);
  --btn-color-hover: var(--sl-green-deep);
  background: transparent !important;
  color: var(--sl-text) !important;
  border-color: var(--sl-border) !important;
}

body.sl-news-page article.post .post-footer .read-more-btn.button:is(:hover, :focus-visible) {
  background: transparent !important;
  color: var(--sl-green-deep) !important;
  border-color: var(--sl-green-deep) !important;
}
