<?php if (has_post_thumbnail() && get_theme_mod('single_thumbnail', true)) : ?>
	<figure class="wp-block-post-featured-image rt-img rounded-md">
		<?php the_post_thumbnail('large'); ?>

		<?php if (get_the_post_thumbnail_caption()) : ?>
			<figcaption class="has-xx-small-font-size leading-md">
				<?php the_post_thumbnail_caption(); ?>
			</figcaption>
		<?php endif ?>
	</figure>
<?php endif ?>