<?php if (!defined('ABSPATH')) exit;
// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- legacy display contract
global $newssync_display;
$newssync_container_class = $newssync_display['compact'] ? 'rsp-compact' : '';
?>
<div class="rsp-container <?php echo esc_attr($newssync_container_class); ?>">
    <div class="rsp-list">
