<?php
/**
 * Partial: Article Card
 *
 * @param string $image
 * @param string $title
 * @param string $link
 */
?>

<article class="article-card">
    <div class="article-card--wrapper">
        <div class="article-card--image">
            <a href="<?php echo esc_url( $args['link'] ); ?>">
                <img src="<?php echo esc_url( $args['image'] ); ?>" alt="">
            </a>
        </div>
        <div class="article-card--content">
            <div class="article-card--title">
                <h3>
                    <a href="<?php echo esc_url( $args['link'] ); ?>">
                        <?php echo esc_html( $args['title'] ); ?>
                    </a>
                </h3>
            </div>
            <a class="btn_5" href="<?php echo esc_url( $args['link'] ); ?>">Czytaj więcej</a>
        </div>
    </div>
</article>