<div class="card-featured card-featured--my-ireland bg-inverted js-card-generic {{#if tags}}has-tags{{/if}}" data-module="card" {{#if cardId}}data-card-id={{cardId}}{{/if}} {{#if location}}data-longitude="{{location.longitude}}" data-latitude="{{location.latitude}}"{{/if}}>
    {{#if location}}{{> @cp-location-marker longitude=location.longitude latitude=location.latitude}}{{/if}}
    <a href="{{#if link.url}}{{link.url}}{{else}}#{{/if}}" {{#if link.target}} target="{{link.target}}"{{#ifEquals link.target "_blank"}} rel="noopener"{{/ifEquals}}{{/if}} class="card-featured__anchor js-link">
        {{#if webAppMode}}
            {{> @cp-like-button likeText}}
        {{/if}}
        {{> @cp-medium-image responsiveImage}}
        <p class="card-featured__page-type js-page-type">{{pageType}}</p>
        <div class="card-featured__overlay">
            {{#if timeSpan.text}}
                <time class="card-featured__read-time" datetime="{{timeSpan.stamp}}">{{timeSpan.text}}</time>
            {{/if}}
            <h2 class="card-featured__title js-title">{{{title}}}</h2>
            {{#if starRating}}
                <div class="card-featured__rating">
                    <div class="star-rating star-rating--light star-rating--{{starRating.total}}-max star-rating--{{starRating.rating}}-rating"></div>
                    <p class="card-featured__rating-text">{{starRating.rating}}/{{starRating.total}}</p>
                </div>
            {{/if}}
            {{#if locationName}}
                <p class="card-featured__location js-location-name">{{locationName}}</p>
            {{/if}}
            {{#if tags }}
                <div class="card-featured__tags">
                    {{> @cp-hashtags tags }}
                </div>
            {{/if}}
        </div>
    </a>
</div>