<?php
/**
 * Bottom gradient scrim for featured media.
 *
 * @package Kutby
 * @since   2.9.0
 */

declare(strict_types=1);

namespace Kutby\Cards\Parts;

use Kutby\Cards\Contracts\CardPartInterface;
use Kutby\Cards\Support\CardContext;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Class Gradient
 */
final class Gradient implements CardPartInterface {

	/**
	 * {@inheritdoc}
	 */
	public static function render( CardContext $ctx, array $args = array() ): void {
		unset( $ctx, $args );
		echo '<span class="kutby-card__gradient" aria-hidden="true"></span>';
	}
}
