<?php /*template name: Services*/ get_header(); ?>

<div class=" ">
	<main role="main">
		<section>
			<div class="uk-background-cover uk-background-center-center uk-height-medium uk-flex uk-flex-middle" 
     style="background-image: url('<?php echo get_template_directory_uri(); ?>/images/angled-texture-background.webp'); height: 200px;" 
     uk-img>
    
    <div class="uk-container uk-container-large">
        <h1 class=" uk-margin-remove navy"><?php the_title(); ?></h1>
    </div>

</div>
			<?php get_template_part('services-content'); ?> 
			<?php if (have_posts()): while (have_posts()) : the_post(); ?>

				<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

					<?php the_content(); ?>

					<br class="clear">

					<p class="uk-text-right"><?php edit_post_link( __('Edit this page'), '', '', 0, 'post-edit-link uk-text-large uk-padding-small uk-button-large uk-button uk-button-primary' ); ?></p>

				</article>

			<?php endwhile; ?><?php endif; ?>

		</section>
	</main>
</div>
<?php get_footer(); ?>
