/* ==========================================================================
   Acilci — Tablolar (TablePress + içerik tabloları)
   Tıbbi veri tabloları (dozaj, skorlama, sınıflandırma) yoğun kullanılıyor.
   ========================================================================== */

/* Mobilde yatay kaydırma */
.entry-content .tablepress-scroll-wrapper,
.entry-content figure.wp-block-table {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.entry-content table,
.tablepress {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--acilci-font-ui);
	font-size: 0.95rem;
	line-height: 1.55;
	background: var(--acilci-surface);
	border: 1px solid var(--acilci-line);
	border-radius: var(--acilci-radius-sm);
	overflow: hidden;
	margin: 1.75rem auto;
}

.entry-content table thead th,
.tablepress thead th {
	background: var(--acilci-ink);
	color: #fff;
	font-weight: 600;
	text-align: left;
	padding: 0.7rem 0.9rem;
	border: none;
}

.entry-content table td,
.entry-content table th,
.tablepress td,
.tablepress th {
	padding: 0.6rem 0.9rem;
	border-bottom: 1px solid var(--acilci-line);
	vertical-align: top;
}

.entry-content table tbody tr:nth-child(even),
.tablepress tbody tr:nth-child(even) { background: var(--acilci-cream); }

/* Satır vurgusu: nötr sıcak gri (linkler + metin okunur kalsın). */
.entry-content table tbody tr:hover,
.tablepress tbody tr:hover { background: var(--acilci-cream-2); }
/* Vurgulu satırdaki bağlantılar en koyu tonda ve altı çizili → yüksek kontrast. */
.entry-content table tbody tr:hover a,
.tablepress tbody tr:hover a { color: var(--acilci-ink); text-decoration: underline; }

.tablepress tbody td.column-1 { font-weight: 600; color: var(--acilci-ink); }

.entry-content table tbody tr:last-child td,
.tablepress tbody tr:last-child td { border-bottom: none; }

/* TablePress DataTables kontrolleri */
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
	border: 1px solid var(--acilci-line-strong);
	border-radius: var(--acilci-radius-sm);
	padding: 0.3rem 0.5rem;
	font-family: var(--acilci-font-ui);
	width: auto;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
	background: var(--acilci-amber) !important;
	border-color: var(--acilci-amber) !important;
	color: #fff !important;
	border-radius: var(--acilci-radius-sm);
}
