';
}
- $html .= '';
+ // Keep every horizontal icon card on the same compact visual contract,
+ // regardless of the page-specific wrapper that renders it.
+ $html .= '
';
$html .= $icon;
$html .= $text !== '' ? '
' . $text . '
' : '';
$html .= '
';
diff --git a/tests/widget-system/icon-card-contract.test.cjs b/tests/widget-system/icon-card-contract.test.cjs
index 108850ab..ab28e6ce 100644
--- a/tests/widget-system/icon-card-contract.test.cjs
+++ b/tests/widget-system/icon-card-contract.test.cjs
@@ -14,20 +14,22 @@ test('icon card renderers keep vertical and horizontal Zibll DOM contracts separ
const header = read('inc/helpers/homepage/header-components.php');
assert.match(helper, /