/*
 * Placeholder assets — empty-slot styling (issue #44, spec #36).
 *
 * The handoff's images ship in the theme (assets/img/placeholders/) and are
 * rendered by ap_image_slot() in inc/placeholders.php. This stylesheet covers
 * the two visual states that helper produces for an image slot:
 *
 *   .ap-image__img          the rendered image (a chosen media image, an
 *                           explicit URL, or a bundled placeholder) fills its
 *                           slot and crops rather than distorts.
 *   .ap-image__img--placeholder
 *                           a bundled placeholder — same as above today; a hook
 *                           for later should a placeholder need to read as
 *                           provisional (e.g. a subtle marker in the editor).
 *   .ap-image__empty        the soft brand gradient shown when a slot has
 *                           nothing to display, so an unfinished block — the
 *                           Platform wall especially — looks intentional, not
 *                           broken.
 *
 * The empty fill is a low-opacity red-to-violet brand tint over the Glass
 * treatment, matching the handoff's surfaces (effects.css .ap-glass).
 */

.ap-image__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Empty slot: a soft brand gradient with the Glass treatment. The slot still
   occupies its space ("shown means shown") and reads as a designed surface. */
.ap-image__empty {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 48px;
	border-radius: inherit;
	background:
		linear-gradient(
			135deg,
			rgba(227, 43, 38, 0.12) 0%,
			oklch(0.5 0.2 295 / 0.12) 100%
		),
		rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(24px) saturate(1.5);
	-webkit-backdrop-filter: blur(24px) saturate(1.5);
	border: 1px solid rgba(20, 18, 24, 0.08);
}
