/**
 * DS Elements — Tường ảnh (masonry bằng multi-column, ảnh không bị cắt)
 */

.elementor-widget-ds-image-wall {
	width: 100%;
	min-width: 0;
}

.ds-iw {
	--ds-iw-cols: 4;
	--ds-iw-gap: var(--ds-space-4);
}

.ds-iw__heading {
	margin: 0 0 var(--ds-space-4);
	color: var(--ds-color-brand);
	font-size: var(--ds-fs-h2);
	font-weight: var(--ds-fw-bold);
	line-height: var(--ds-lh-h2);
	text-transform: uppercase;
	text-align: center;
}

.ds-iw__intro {
	max-width: 820px;
	margin: 0 auto var(--ds-space-8);
	color: var(--ds-color-body);
	font-size: var(--ds-fs-body);
	line-height: var(--ds-lh-body);
	text-align: center;
}

.ds-iw__intro p {
	margin: 0 0 var(--ds-space-3);
}

.ds-iw__wall {
	columns: var(--ds-iw-cols);
	column-gap: var(--ds-iw-gap);
}

.ds-iw__item {
	display: block;
	margin-bottom: var(--ds-iw-gap);
	overflow: hidden;
	border: 1px solid var(--ds-color-border);
	border-radius: var(--ds-radius-md);
	background: var(--ds-color-white);
	box-shadow: var(--ds-shadow-card);
	break-inside: avoid;
	transition: box-shadow var(--ds-transition), transform var(--ds-transition);
}

.ds-iw__item:hover {
	box-shadow: var(--ds-shadow-raised);
	transform: translateY(-2px);
}

/* Giữ nguyên tỉ lệ ảnh: width 100% + height auto, KHÔNG aspect-ratio */
.ds-iw__item img {
	display: block;
	width: 100%;
	height: auto;
}
