.ecs-wrapper {
	width: 100%;
	direction: rtl;
}

.ecs-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	width: 100%;
}

.ecs-card {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 300px;
	overflow: hidden;
	text-decoration: none;
	cursor: pointer;
	border-radius: 4px;
	background-color: #DD7210;
	transition: background-color 0.3s ease;
}

.ecs-card .ecs-overlay {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 1;
	transition: opacity 0.4s ease;
	z-index: 1;
}

.ecs-card:hover .ecs-overlay {
	opacity: 0;
}

.ecs-title {
	position: relative;
	z-index: 2;
	color: #ffffff;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 1px;
	text-align: center;
	padding: 0 15px;
	opacity: 0;
	transition: opacity 0.4s ease;
	text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.ecs-card:hover .ecs-title {
	opacity: 1;
}

@media (max-width: 1024px) {
	.ecs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
	.ecs-grid { grid-template-columns: 1fr; }
	.ecs-card { height: 220px; }
	.ecs-title { font-size: 20px; }
}