/* =========================================================
 * DM24 0.9.30 — Polecane kategorie / pełne wypełnienie zdjęć
 *
 * Część źródłowych grafik ma kilka pikseli jasnego marginesu.
 * Samo object-fit:cover nie usuwa marginesu zapisanego w JPG.
 * Dlatego zdjęcia dostają minimalny crop/zoom 1.06x.
 * ========================================================= */

body.home .dm24-fixed-categories .dm24-category-card {
	overflow: hidden !important;
}

body.home .dm24-fixed-categories .dm24-category-card__image {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	box-sizing: border-box !important;
}

/* Pełne wypełnienie pola — również gdy sam JPG ma jasny margines. */
body.home .dm24-fixed-categories .dm24-category-card__image img {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;

	width: 100% !important;
	height: 100% !important;
	min-width: 100% !important;
	min-height: 100% !important;
	max-width: none !important;
	max-height: none !important;

	margin: 0 !important;
	padding: 0 !important;

	object-fit: cover !important;
	object-position: 50% 50% !important;

	transform: scale(1.06) !important;
	transform-origin: 50% 50% !important;
}

/* Delikatny hover bez odsłaniania krawędzi. */
body.home .dm24-fixed-categories .dm24-category-card:hover .dm24-category-card__image img {
	transform: scale(1.085) !important;
}

/* Zachowujemy poprawne centrowanie ikony z 0.9.29. */
body.home .dm24-fixed-categories .dm24-category-card__icon {
	left: auto !important;
	right: auto !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body.home .dm24-fixed-categories .dm24-category-card__icon::before,
body.home .dm24-fixed-categories .dm24-category-card__icon::after {
	content: none !important;
	display: none !important;
}
