/**
 * Landing Constructor — media empty-state overlay.
 *
 * Does NOT edit frozen block CSS (ZTV). Styles existing empty media shells:
 * - Content Media: .ital-content-media__placeholder
 * - Gallery: .ital-gallery-media__frame--empty
 *
 * Premium without media stays content-only (no forced column).
 */

.ital-landing-instance .ital-content-media__placeholder,
.ital-landing-instance .ital-gallery-media__frame--empty {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f2f5f3;
	border: 1px dashed rgba(28, 40, 34, 0.22);
	color: #6a7a70;
	box-sizing: border-box;
}

.ital-landing-instance .ital-content-media__placeholder {
	background-image: none;
}

.ital-landing-instance .ital-gallery-media__frame--empty {
	background: #f2f5f3;
}

.ital-landing-instance .ital-content-media__placeholder::before,
.ital-landing-instance .ital-gallery-media__frame--empty::before {
	content: '';
	display: block;
	width: 1.75rem;
	height: 1.75rem;
	margin-bottom: 2.1rem;
	background-color: currentColor;
	opacity: 0.72;
	/* Local image icon via CSS mask (no CDN). */
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.6'/%3E%3Cpath d='m21 16-4.5-4.5L12 16l-2.5-2.5L3 17'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.6'/%3E%3Cpath d='m21 16-4.5-4.5L12 16l-2.5-2.5L3 17'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ital-landing-instance .ital-content-media__placeholder::after,
.ital-landing-instance .ital-gallery-media__frame--empty::after {
	content: 'Нет фото';
	position: absolute;
	left: 50%;
	top: calc(50% + 0.95rem);
	transform: translateX(-50%);
	font-size: 0.8125rem;
	line-height: 1.3;
	font-weight: 500;
	letter-spacing: 0.01em;
	white-space: nowrap;
}
