/*
 * custom.css — overrides applied after main theme CSS
 * Fix: image caption color, italic, and spacing
 */

/* Fix excessive margin below images inside wp-caption (global img rule adds 28px) */
.article_content.article-prose-v2 .post_content .wp-caption img,
.post_content .wp-caption img {
  margin: 0 auto 2px !important;
}

/* Fix wp-caption-text (classic editor [caption] shortcode) — match full specificity */
.article_content.article-prose-v2 .post_content .wp-caption .wp-caption-text {
  font-family: inherit !important;
  color: #c33 !important;
  font-style: normal !important;
  padding: 4px 12px 0 !important;
}

/* Fix figcaption (Gutenberg image block) */
.article_content.article-prose-v2 figcaption {
  font-family: inherit !important;
  color: #c33 !important;
  font-style: normal !important;
  margin: 4px 0 0 !important;
  padding: 2px 12px 0 !important;
}
