.sf-news-post__header {
  margin-bottom: clamp(24px, 4vw, 36px);
}

.sf-news-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--sf-brand);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.sf-news-post__header h1 {
  margin-bottom: 0;
}

.sf-news-post__image {
  margin: 0 0 clamp(28px, 4vw, 40px);
}

.sf-news-post__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.sf-news-post__content > :last-child {
  margin-bottom: 0;
}

.sf-news-post__content :is(img, video, iframe) {
  max-width: 100%;
}

.sf-news-post__content :is(blockquote, pre) {
  max-width: 100%;
  overflow-x: auto;
  padding: 20px;
  border: 1px solid var(--sf-account-border);
  border-radius: 16px;
  color: var(--sf-account-text);
  background: var(--sf-bg);
}

.sf-news-post__comments {
  padding: clamp(26px, 4.5vw, 58px);
}

.sf-news-post__comments h2 {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

.sf-news-post__comment-list,
.sf-news-post__comment-list .children {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sf-news-post__comment-list .comment-body {
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid var(--sf-account-border);
  border-radius: 18px;
  background: var(--sf-bg);
  overflow-wrap: anywhere;
}

.sf-news-post__comment-list .children {
  margin-left: clamp(12px, 4vw, 40px);
}

.sf-news-post__comments :is(.comment-author, .comment-metadata, .comment-reply-link) {
  font-size: .88rem;
}

.sf-news-post__comments .comment-author img {
  width: 36px;
  height: 36px;
  margin-right: 8px;
  border-radius: 50%;
  vertical-align: middle;
}

.sf-news-post__comments .comment-metadata {
  margin: 8px 0 16px;
  color: var(--sf-account-muted);
}

.sf-news-post__comments .comment-metadata a {
  color: inherit;
}

.sf-news-post__comments .comment-respond {
  margin-top: 30px;
}

.sf-news-post__comments .comment-reply-title {
  margin: 0 0 12px;
  color: var(--sf-account-text);
  font-size: 1.3rem;
}

.sf-news-post__comments .comment-form p {
  margin: 0 0 16px;
}

.sf-news-post__comments .comment-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--sf-account-text);
}

.sf-news-post__comments .comment-form-cookies-consent label {
  display: inline;
}

.sf-account-page .sf-news-post__comments input[type="submit"] {
  width: auto;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  color: var(--sf-brand-contrast);
  background: var(--sf-brand);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 767px) {
  .sf-news-post__comments {
    padding: 24px 20px;
  }
}
