<?php if(get_theme_mod('social_charity_social_charity_volunteer_s_enable')):
$social_charity_volunteer_title = get_theme_mod( 'social_charity_social_charity_volunteer' );
?>
<section class="volunteer mgb-lg" style="background: url(<?php echo esc_url(get_the_post_thumbnail_url($social_charity_volunteer_title,'medium'));?>);">
	<div class="container">
		<div class="title">
			<?php
			$social_charity_queried_post = get_post($social_charity_volunteer_title);
			?>
			<h2><?php echo esc_html($social_charity_queried_post->post_title); ?></h2>
		</div>
		<p><?php echo esc_html($social_charity_queried_post->post_content); ?></p>
		<?php wp_reset_postdata(); ?>
		
		<?php get_template_part( 'sections/section','newsletter' );?>
	</div>
</section>
<?php endif;?>