/* Fisekhane custom site overrides — loaded after main.css, shared by tr and en templates */

/* Force a consistent, polished look on any table dropped into WYSIWYG content
   (kurumsal-list, sayfa-list, blog-list, marka-list, kiralama sayfalari vb.),
   including ones pasted from Word/Excel with inline widths, borders, bgcolor. */
.datalease table {
	display: block;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	border-collapse: collapse !important;
	border-spacing: 0 !important;
	margin: 25px 0 !important;
	font-size: 15px;
	background-color: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(29, 29, 27, .08);
}

.datalease table tbody {
	display: table;
	width: 100%;
}

.datalease table caption {
	caption-side: top;
	text-align: left;
	padding: 0 0 10px;
	font-weight: 700;
	color: #1d1d1b;
}

.datalease table,
.datalease table tr,
.datalease table th,
.datalease table td {
	border: none !important;
	background-color: transparent;
}

.datalease table th,
.datalease table tr:first-child td {
	background: linear-gradient(90deg, #581f86, #d0267f) !important;
	color: #fff !important;
	font-weight: 700;
	text-align: left;
	padding: 14px 18px !important;
	white-space: nowrap;
}

.datalease table td {
	padding: 12px 18px !important;
	color: #1d1d1b;
	border-bottom: 1px solid #ededed !important;
	vertical-align: middle;
}

.datalease table tr:last-child td {
	border-bottom: none !important;
}

.datalease table tr:not(:first-child):nth-child(even) td {
	background-color: #f7f7f7 !important;
}

.datalease table tr {
	transition: background-color .2s ease;
}

.datalease table tr:not(:first-child):hover td {
	background-color: #f3e9f8 !important;
}

@media (max-width: 767px) {
	.datalease table {
		font-size: 13px;
	}
	.datalease table th,
	.datalease table td,
	.datalease table tr:first-child td {
		padding: 10px 12px !important;
	}
}
