<?php get_header(); ?>

<div class="uk-container">
	<main role="main">
			<section class="">

			<?php if (have_posts()): while (have_posts()) : the_post(); ?>

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

					<?php /* // for team, starting using this more often, so that we can add alt and title tags to images.
					$post_id = get_the_ID();
					$thumb_id = get_post_thumbnail_id($post_id);
					$thumb_url = get_the_post_thumbnail_url($post_id, 'large');
					$thumb_alt = get_post_meta($thumb_id, '_wp_attachment_image_alt', true);
					$thumb_title = get_the_title($thumb_id);
					*/?>
					<?php /* <img uk-img data-src="<?= esc_url($thumb_url); ?>" alt="<?= esc_attr($thumb_alt); ?>" title="<?= esc_attr($thumb_title); ?>"> */ ?>

					<div class="uk-width-1-3@m">
					<div class="grey-bg">
						<?php if ( has_post_thumbnail() ) { ?>
								<img uk-img data-src="<?php the_post_thumbnail_url('thumbnail'); ?>" data-width data-height>
						<?php } else { ?>
						<?php } ?>
						<div class="uk-padding-medium">
							<div uk-grid>
								<div class="uk-width-expand">
									<h3 class="red uk-margin-remove"><?php the_title(); ?></h3>
									<h6 class="uk-margin-remove"><?php the_field('job_title'); ?></h6>
								</div>
								<div class="uk-width-auto">
									<i class="link-icon fa-sharp fa-solid fa-diamonds-4 red fa-5x"></i>
								</div>
							</div>
						</div>
					</div>
				</div>

					<!-- AddToAny BEGIN -->
					<div class="a2a_kit a2a_kit_size_32 a2a_default_style uk-margin">
					<a class="a2a_dd" href="https://www.addtoany.com/share"></a>
					<a class="a2a_button_facebook"></a>
					<a class="a2a_button_twitter"></a>
					<a class="a2a_button_linkedin"></a>
					<a class="a2a_button_email"></a>
					</div>
					<script>
					var a2a_config = a2a_config || {};
					a2a_config.onclick = 1;
					</script>
					<script async src="https://static.addtoany.com/menu/page.js"></script>
					<!-- AddToAny END -->

					<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(); ?>
