<div class="wrap-title clearfix">
	<h2 class="title-mark rs" style="text-align:center; font-family:Raleway,Oswald,sans-serif; text-shadow:0px 1px 0px #fff;">
		Latest News
	</h2>
</div>
<div class="clear"></div>

<br />

<div class="lst-popular-project clearfix">
	<?php foreach ($featured_projects as $featured_project) { ?>
	<div class="grid_4" style="">
		<div class="project-short sml-thumb">
			<div class="top-project-info">
				<div class="content-info-short clearfix" style="min-height:450px;">
					<?php
					if ($featured_project['main_img']) {
						if ($featured_project['main_img'][0] != "/")
							$featured_project['main_img'] = "/" . $featured_project["main_img"];
					?>
					<a href="/project/<?= $featured_project['id'] ?>" class="thumb-img">
						<img src="<?= $featured_project['main_img'] ?>" alt="<?= $featured_project['title'] ?>" 
						style="max-height:300px;">
					</a>
					<?php
					}
					?>
					<div class="wrap-short-detail">
						<h3 class="rs acticle-title">
							<a class="be-fc-black" style="color:#000;"
							href="/project/<?= $featured_project['id'] ?>"><?= $featured_project['title'] ?></a>
						</h3>
						<br />
						<p class="rs title-description"><?= substr(strip_tags($featured_project['description']),0, 100) ?>...
						<a href="/project/<?= $featured_project['id'] ?>" class="be-fc-orange" style="font-weight:bold;">read more &raquo;</a></p>

					</div>
				</div>
			</div>
		</div>
	</div><!--end: GRID 4 -->		
	<?php } ?>
</div>