/* TPK — proje-k-1: karartı + hover’da başlık ortada, altta boşluk yok */

.proje-k-1,
.proje-k-1 > .e-con-inner,
.proje-k-1 > .e-con-inner > .e-con:first-child,
.proje-k-1 > .e-con-inner > .e-con:first-child img,
.proje-k-1 .elementor-heading-title a {
	cursor: pointer;
}

.proje-k-1 > .e-con-inner > .e-con:first-child .elementor-widget-image a {
	pointer-events: none;
}

.proje-k-1 > .e-con-inner {
	position: relative;
	gap: 0 !important;
	row-gap: 0 !important;
}

.proje-k-1 > .e-con-inner > .e-con:first-child {
	position: relative;
	overflow: hidden;
}

.proje-k-1 > .e-con-inner > .e-con:first-child::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
}

.proje-k-1:hover > .e-con-inner > .e-con:first-child::after {
	opacity: 1;
}

/* Başlık alanı her zaman akış dışı — altta boşluk bırakmaz */
.proje-k-1 > .e-con-inner > .e-con:last-child,
.proje-k-1 > .e-con-inner > .e-con:last-child > .e-con-inner {
	position: absolute !important;
	top: 0;
	left: 0;
	width: 100%;
	height: 0 !important;
	min-height: 0 !important;
	max-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: visible !important;
	flex: 0 0 0 !important;
	pointer-events: none;
}

.proje-k-1 > .e-con-inner > .e-con:last-child .elementor-widget-heading,
.proje-k-1 > .e-con-inner > .e-con:last-child .elementor-widget-heading .elementor-widget-container {
	position: absolute !important;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--tpk-proje-k1-img-h, 100%);
	z-index: 3;
	display: flex !important;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0 !important;
	box-sizing: border-box;
	text-align: center;
	pointer-events: auto;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.proje-k-1 > .e-con-inner > .e-con:last-child .elementor-widget-heading .elementor-heading-title {
	position: static;
	width: 100%;
	height: 100%;
	margin: 0;
}

.proje-k-1 > .e-con-inner > .e-con:last-child .elementor-widget-heading .elementor-heading-title a {
	position: absolute;
	inset: 0;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px 24px;
	box-sizing: border-box;
	text-decoration: none;
	color: transparent;
}

.proje-k-1:hover > .e-con-inner > .e-con:last-child .elementor-widget-heading {
	opacity: 1;
	transform: translateY(0);
}

.proje-k-1:hover .elementor-heading-title a {
	color: #ffffff !important;
}

@media (prefers-reduced-motion: reduce) {
	.proje-k-1 > .e-con-inner > .e-con:first-child::after,
	.proje-k-1 > .e-con-inner > .e-con:last-child .elementor-widget-heading {
		transition: none !important;
		transform: none !important;
	}

	.proje-k-1:hover > .e-con-inner > .e-con:last-child .elementor-widget-heading {
		opacity: 1 !important;
	}
}
