<div class="item row">
    <?php
    if (has_post_thumbnail()) : ?>
    <div class="col-lg-6 vk-dark-our-room-item-left  vk-clear-padding">
        <div class="vk-dark-our-room-item-img">
            <?php
            echo '<a href="' . esc_url(get_permalink()) . '"  class="img-responsive">';
                the_post_thumbnail('sparta-thumb-list');
            echo '</a>';
            ?>
        </div>
    </div>
    <div class="col-lg-6 vk-dark-our-room-item-right vk-clear-padding">
        <?php
        else:
            echo '<div class="col-lg-12 vk-dark-our-room-item-right vk-clear-padding">';
        endif; ?>

        <div class="vk-dark-our-room-item-content">
            <?php the_title('<h3><a href="' . esc_url(get_permalink()) . '" rel="bookmark">', '</a></h3>'); ?>
            <ul class="room-lst-service">
                <?php
                do_action('mphb_render_loop_room_type_attributes');
                ?>
            </ul>
            <div class="vk-dark-our-room-item-book room-lst-action">
                <div class="vk-dark-our-room-item-book-left">
                    <ul>
                        <li>
                            <p><?php echo esc_html__('Starting Form :','sparta'); ?> </p>
                        </li>
                        <li>
                            <?php mphb_tmpl_the_room_type_default_price(); ?>
                        </li>
                    </ul>
                </div>
                <div class="vk-dark-our-room-item-book-right">
                    <a href="<?php echo esc_url(get_permalink()); ?>"><?php echo esc_html__ ('BOOK NOW', 'sparta'); ?><i class="fa fa-caret-right" aria-hidden="true"></i></a>
                </div>
                <div class="clearfix"></div>
            </div>
        </div>
    </div>
    <div class="clearfix"></div>
</div>
