/* Siteye özel eklemeler (main.css şablon dosyasına dokunmadan) */

/* Arama kutusu: "Ara-Bul" düğmesi kutunun içinde, sağda */
#search form.arama {
	position: relative;
}

	/* Şablonun kutu içindeki büyüteç simgesi yerine düğme kullanılır */
	#search form.arama:before {
		display: none;
	}

	#search form.arama input[type="text"] {
		height: 3em;
		padding-right: 7.25em;
	}

	#search form.arama .ara-bul {
		-moz-appearance: none;
		-webkit-appearance: none;
		appearance: none;
		position: absolute;
		top: 0.375em;
		right: 0.375em;
		bottom: 0.375em;
		height: auto;
		display: inline-flex;
		align-items: center;
		gap: 0.45em;
		margin: 0;
		padding: 0 0.9em;
		border: 0;
		border-radius: 0.5em;
		box-shadow: none;
		background-color: #eceff1;
		color: #50575d !important;
		font-family: "Open Sans", sans-serif;
		font-size: 0.85em;
		font-weight: 600;
		letter-spacing: 0.01em;
		line-height: 1;
		text-transform: none;
		cursor: pointer;
		transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out, transform 0.1s ease-in-out;
	}

		#search form.arama .ara-bul:before {
			font-family: 'Font Awesome 5 Free';
			font-weight: 900;
			content: '\f002';
			font-size: 0.9em;
			opacity: 0.8;
		}

		#search form.arama .ara-bul:hover {
			background-color: #dfe3e6;
			color: #3d4449 !important;
		}

		#search form.arama .ara-bul:active {
			background-color: #d3d8dc;
			transform: scale(0.97);
		}

		#search form.arama .ara-bul:focus-visible {
			outline: 2px solid #9aa3a9;
			outline-offset: 2px;
		}

/* Arama: ikincil sonuçlar (aranan sözcüğün yalnızca açıklamada geçtiği maddeler) */
.ikincil {
	margin-top: 2.5em;
	padding-top: 1.5em;
	border-top: solid 2px rgba(210, 215, 217, 0.75);
}

	.ikincil h3 {
		margin-bottom: 0.25em;
	}

	.ikincil .ikincil-not {
		color: #7f888f;
		font-size: 0.9em;
		margin-bottom: 1em;
	}

	.ikincil-liste {
		display: flex;
		flex-wrap: wrap;
		gap: 0.5em;
		align-items: flex-start;
	}

		.ikincil-liste details {
			flex: 0 0 auto;
			max-width: 100%;
		}

			.ikincil-liste details[open] {
				flex-basis: 100%;
			}

		.ikincil-liste summary {
			display: inline-flex;
			align-items: center;
			gap: 0.4em;
			list-style: none;
			cursor: pointer;
			padding: 0.35em 0.85em;
			border-radius: 2em;
			background-color: #eceff1;
			color: #3d4449;
			font-size: 0.9em;
			font-weight: 600;
			line-height: 1.4;
			user-select: none;
			transition: background-color 0.15s ease-in-out;
		}

			.ikincil-liste summary::-webkit-details-marker {
				display: none;
			}

			.ikincil-liste summary:after {
				font-family: 'Font Awesome 5 Free';
				font-weight: 900;
				content: '\f078';
				font-size: 0.7em;
				opacity: 0.55;
				transition: transform 0.15s ease-in-out;
			}

			.ikincil-liste summary:hover {
				background-color: #dfe3e6;
			}

			.ikincil-liste summary:focus-visible {
				outline: 2px solid #9aa3a9;
				outline-offset: 2px;
			}

			.ikincil-liste details[open] > summary {
				background-color: #50575d;
				color: #ffffff;
			}

				.ikincil-liste details[open] > summary:after {
					transform: rotate(180deg);
				}

		.ikincil-icerik {
			margin-top: 0.5em;
			padding: 1em 1.25em;
			border-radius: 0.5em;
			background-color: #f5f6f7;
			border: solid 1px rgba(210, 215, 217, 0.75);
			max-height: 22em;
			overflow-y: auto;
		}

			.ikincil-icerik p {
				margin-bottom: 0.6em;
			}

				.ikincil-icerik p:last-child {
					margin-bottom: 0;
				}

			.ikincil-icerik .ikincil-ornek {
				color: #5a6268;
				font-style: italic;
			}

			.ikincil-icerik mark {
				background-color: #fff3b0;
				color: inherit;
				padding: 0 0.1em;
				border-radius: 0.2em;
			}

/* Ana sayfa fotoğrafı: şablon küçük (248x186) fotoğrafı yarım sayfa genişliğine büyütüyordu; doğal boyutunda göster */
#banner .image.anasayfa-foto {
	width: auto;
	height: auto;
	min-height: 0;
	max-height: none;
	flex-basis: auto;
	align-self: flex-start;
	margin: 0.5em 0 2em 3em;
}

	#banner .image.anasayfa-foto img {
		display: block;
		width: 248px;
		max-width: 100%;
		height: auto;
		object-fit: contain;
		border-radius: 0.6em;
		box-shadow: 0 0.4em 1.2em rgba(0, 0, 0, 0.12);
	}

	@media screen and (orientation: portrait) {

		#banner .image.anasayfa-foto {
			width: auto;
			height: auto;
			min-height: 0;
			max-height: none;
			align-self: center;
			margin: 0 0 2.5em 0;
		}

			#banner .image.anasayfa-foto img {
				width: 200px;
			}

	}

/* Metin içindeki web adresleri: uzun adresler dar ekranlarda satırı taşırmasın */
a[rel~="ugc"] {
	overflow-wrap: anywhere;
	word-break: break-word;
}

/* ===== Sözlük dizinleri (alanına / türüne / kökenine göre) ===== */
.dizin a.dizin-kart, .dizin a.madde-kart, .dizin-sekmeler a, .dizin-secim a, .dizin-harfler a, .dizin-sayfalar a, .dizin-temizle {
	border-bottom: 0;
	text-decoration: none;
}

.dizin header.main h1 {
	margin-bottom: 0.5em;
}

.dizin-yol {
	color: #7f888f;
	font-size: 0.9em;
	margin-bottom: 0.4em;
}

	.dizin-yol a {
		color: #7f888f;
		border-bottom: dotted 1px;
	}

.dizin-not {
	color: #7f888f;
	margin-bottom: 1.25em;
}

/* Sekmeler */
.dizin-sekmeler {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	margin: 0 0 1.75em 0;
	padding-bottom: 1.25em;
	border-bottom: solid 1px rgba(210, 215, 217, 0.75);
}

	.dizin-sekmeler a {
		padding: 0.5em 1.1em;
		border-radius: 2em;
		background: #eceff1;
		color: #3d4449 !important;
		font-weight: 600;
		font-size: 0.95em;
		transition: background-color 0.15s ease-in-out;
	}

		.dizin-sekmeler a:hover { background: #dfe3e6; }
		.dizin-sekmeler a.etkin { background: #3d4449; color: #fff !important; }

	/* İki sıra sekme: sözlük dizinleri + anlam/değer ilişkileri */
	.dizin-sekme-grup { margin: 0 0 1.75em 0; padding-bottom: 1.25em; border-bottom: solid 1px rgba(210, 215, 217, 0.75); }
		.dizin-sekme-grup .dizin-sekmeler { margin: 0; padding: 0; border: 0; }
		.dizin-sekme-grup .dizin-sekmeler + .dizin-sekmeler { margin-top: 0.6em; }
		.dizin-sekmeler-iliski a { font-size: 0.85em; padding: 0.4em 1em; background: #e8f0f6; color: #34536b !important; }
			.dizin-sekmeler-iliski a:hover { background: #d7e5ef; }
			/* Satırın başlığı: aynı tonun biraz koyusu */
			.dizin-sekmeler-iliski a:first-child { background: #cddfec; color: #26445a !important; font-weight: 700; }
			.dizin-sekmeler-iliski a:first-child:hover { background: #bcd3e4; }
			.dizin-sekmeler-iliski a.etkin, .dizin-sekmeler-iliski a.etkin:first-child { background: #3f6380; color: #fff !important; }
		/* Yapıya göre dizinler (tür, köken, ek, harf/yazım): turuncu ton; renk körlüğünde mavi ilişki satırından ve gri satırdan ayrılır, kenar çizgisi renk görülmese de ayırt ettirir */
		.dizin-sekmeler-yapi a { background: #fbe9cf; color: #6b4200 !important; box-shadow: inset 0 0 0 1px #e0b26e; }
			.dizin-sekmeler-yapi a:hover { background: #f6d8a8; }
			.dizin-sekmeler-yapi a.etkin { background: #9a5800; color: #fff !important; box-shadow: none; }

/* Araç çubuğu (seçenek süzme + sıralama) */
.dizin-arac {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75em;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.5em;
}

	.dizin-arac input[type="search"] {
		flex: 1 1 16em;
		max-width: 24em;
		height: 2.6em;
	}

.dizin-secim {
	display: inline-flex;
	background: #eceff1;
	border-radius: 2em;
	padding: 0.25em;
}

	.dizin-secim a {
		padding: 0.35em 0.95em;
		border-radius: 2em;
		color: #50575d !important;
		font-size: 0.9em;
		font-weight: 600;
	}

		.dizin-secim a.etkin { background: #fff; color: #3d4449 !important; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }

/* Seçenek kartları */
.dizin-kartlar {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(11.5em, 1fr));
	gap: 0.9em;
	margin-bottom: 2em;
}

	.dizin-kartlar-buyuk {
		grid-template-columns: repeat(auto-fill, minmax(16em, 1fr));
	}

	.dizin-kart {
		display: flex;
		flex-direction: column;
		gap: 0.35em;
		padding: 1em 1.15em;
		border-radius: 0.8em;
		background: #fff;
		border: solid 1px rgba(210, 215, 217, 0.9);
		color: #3d4449 !important;
		box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
		transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-color 0.15s ease-in-out;
	}

		.dizin-kart:hover {
			transform: translateY(-2px);
			border-color: #f56a6a;
			box-shadow: 0 0.5em 1.25em rgba(0, 0, 0, 0.08);
		}

		.dizin-kart-ad {
			font-family: "Roboto Slab", serif;
			font-weight: 700;
			font-size: 1.05em;
			line-height: 1.3;
			color: #3d4449;
		}

		.dizin-kartlar-buyuk .dizin-kart-ad { font-size: 1.3em; color: #f56a6a; }

		.dizin-kart-not {
			font-size: 0.9em;
			color: #7f888f;
			line-height: 1.5;
		}

		.dizin-kart-sayi {
			align-self: flex-start;
			margin-top: auto;
			padding: 0.15em 0.65em;
			border-radius: 2em;
			background: #f3f4f5;
			color: #7f888f;
			font-size: 0.8em;
			font-weight: 600;
		}

/* Süzgeç formu */
.dizin-suzgec {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6em;
	align-items: center;
	margin-bottom: 1.1em;
}

	.dizin-suzgec input[type="search"] { flex: 1 1 14em; height: 2.6em; }
	.dizin-suzgec select { flex: 0 1 auto; width: auto; height: 2.6em; padding-right: 2.5em; }

	.dizin-dugme {
		height: 2.6em !important;
		line-height: 2.6em !important;
		padding: 0 1.2em !important;
		border-radius: 0.5em !important;
		background-color: #50575d !important;
		box-shadow: none !important;
		color: #fff !important;
		font-family: "Open Sans", sans-serif !important;
		font-size: 0.9em !important;
		font-weight: 600 !important;
		letter-spacing: 0 !important;
		text-transform: none !important;
	}

		.dizin-dugme:hover { background-color: #3d4449 !important; }

	.dizin-temizle {
		font-size: 0.9em;
		color: #7f888f !important;
	}

/* Baş harf çubuğu */
.dizin-harfler {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3em;
	margin-bottom: 1.25em;
}

	.dizin-harfler a, .dizin-harfler span {
		min-width: 2.1em;
		padding: 0.3em 0.55em;
		border-radius: 0.45em;
		text-align: center;
		font-weight: 600;
		font-size: 0.9em;
	}

	.dizin-harfler a { background: #eceff1; color: #3d4449 !important; }
	.dizin-harfler a:hover { background: #dfe3e6; }
	.dizin-harfler a.etkin { background: #f56a6a; color: #fff !important; }
	.dizin-harfler span.bos { color: #c5cacd; }

	/* Tarih diliminin yılları */
	.dizin-yillar small { font-size: 0.8em; font-weight: 400; opacity: 0.7; }

/* Madde kartları */
.madde-kartlar {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(17em, 1fr));
	gap: 1em;
	margin-bottom: 2em;
}

	.madde-kart {
		display: flex;
		flex-direction: column;
		gap: 0.45em;
		padding: 1.1em 1.25em;
		border-radius: 0.8em;
		background: #fff;
		border: solid 1px rgba(210, 215, 217, 0.9);
		color: #3d4449 !important;
		transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-color 0.15s ease-in-out;
	}

		.madde-kart:hover {
			transform: translateY(-2px);
			border-color: #f56a6a;
			box-shadow: 0 0.5em 1.25em rgba(0, 0, 0, 0.08);
		}

		.madde-kart-ad {
			font-family: "Roboto Slab", serif;
			font-weight: 700;
			font-size: 1.1em;
			color: #f56a6a;
			line-height: 1.3;
		}

		.madde-kart-ust {
			font-size: 0.8em;
			font-style: italic;
			color: #7f888f;
		}

		.madde-kart-metin {
			font-size: 0.92em;
			line-height: 1.55;
			color: #50575d;
		}

		.madde-kart-kunye { font-size: 0.8em; color: #7f888f; line-height: 1.4; }
			.madde-kart-kunye b { font-weight: 600; margin-right: 0.3em; }

		.madde-kart-etiket {
			display: flex;
			gap: 0.35em;
			margin-top: auto;
		}

			.madde-kart-etiket span {
				padding: 0.1em 0.55em;
				border-radius: 2em;
				background: #f3f4f5;
				color: #7f888f;
				font-size: 0.75em;
				font-weight: 600;
			}

/* Sayfalar */
.dizin-sayfalar {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35em;
	margin: 0 0 2em 0;
}

	.dizin-sayfalar a, .dizin-sayfalar .bosluk {
		min-width: 2.4em;
		padding: 0.4em 0.75em;
		border-radius: 0.5em;
		text-align: center;
		font-weight: 600;
		font-size: 0.92em;
	}

	.dizin-sayfalar a { background: #eceff1; color: #3d4449 !important; }
	.dizin-sayfalar a:hover { background: #dfe3e6; }
	.dizin-sayfalar a.etkin { background: #3d4449; color: #fff !important; }
	.dizin-sayfalar .bosluk { color: #9fa3a6; }

@media screen and (max-width: 736px) {
	.dizin-kartlar { grid-template-columns: repeat(auto-fill, minmax(9.5em, 1fr)); }
	.madde-kartlar { grid-template-columns: 1fr; }
	.dizin-suzgec select, .dizin-suzgec .dizin-dugme { flex: 1 1 45%; }
}

/* ===== Ortak: etiketler (çip), boş durum, bölüm başlıkları ===== */
a.cip, a.harf-kart, a.gunun-sozcugu, a.bkz-oge, a.paylas-dugme, .madde-oneriler a.tumu, .iliskililer a.tumu, .madde-bag a.tumu, .dizin-ara-baslik a.tumu {
	border-bottom: 0;
	text-decoration: none;
}

.cipler {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4em;
	margin: 0 0 1.25em 0;
}

	.cip {
		display: inline-block;
		padding: 0.25em 0.8em;
		border-radius: 2em;
		background: #eceff1;
		color: #3d4449 !important;
		font-size: 0.85em;
		font-weight: 600;
		line-height: 1.5;
		transition: background-color 0.15s ease-in-out;
	}

		a.cip:hover { background: #dfe3e6; }
		.cip-tur   { background: #fde8e8; color: #c94a4a !important; }
		a.cip-tur:hover { background: #fbd5d5; }
		.cip-koken { background: #e8f0fb; color: #3b6aa8 !important; font-weight: 500; }
		a.cip-koken:hover { background: #d7e5f8; }
		.cip-alan  { background: #e7f5ee; color: #2f7d57 !important; }
		a.cip-alan:hover { background: #d3eddf; }

.bos-durum {
	padding: 1.5em 1.75em;
	border-radius: 0.8em;
	background: #f7f8f9;
	border: dashed 1px rgba(160, 168, 173, 0.6);
	margin-bottom: 2em;
}

	.bos-durum p:last-child { margin-bottom: 0; }
	.bos-durum .dizin-dugme { display: inline-block; text-decoration: none; border-bottom: 0; }

.dizin-ara-baslik {
	margin: 0.5em 0 1em 0;
	font-size: 1.25em;
}

/* Tüm kişiler dizini (A – Z) */
.kisi-ara { flex: 1 1 16em; margin: 0; max-width: 24em; }
	.kisi-ara input[type="search"] { width: 100%; max-width: none; }

.kisi-dizini {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(16em, 100%), 1fr));
	gap: 0.15em 1.5em;
	margin-bottom: 2.5em;
}

	.kisi-dizini a {
		display: flex;
		justify-content: space-between;
		align-items: baseline;
		gap: 0.75em;
		padding: 0.3em 0.5em;
		border-bottom: solid 1px rgba(210, 215, 217, 0.5);
		color: #3d4449 !important;
	}

		.kisi-dizini a:hover { background: #eceff1; }
		.kisi-dizini small { flex: none; color: #9fa3a6; font-weight: 600; }

/* ===== Dizin (A – Z): günün sözcüğü ve harf kartları ===== */
.gunun-sozcugu {
	display: flex;
	flex-direction: column;
	gap: 0.4em;
	margin: 0 0 2.25em 0;
	padding: 1.5em 1.75em;
	border-radius: 1em;
	background: linear-gradient(135deg, #fff5f5 0%, #f7f8fa 100%);
	border: solid 1px rgba(245, 106, 106, 0.25);
	color: #3d4449 !important;
	transition: box-shadow 0.15s ease-in-out, transform 0.15s ease-in-out;
}

	.gunun-sozcugu:hover { transform: translateY(-2px); box-shadow: 0 0.6em 1.5em rgba(0, 0, 0, 0.08); }

	.gunun-etiket {
		align-self: flex-start;
		padding: 0.15em 0.75em;
		border-radius: 2em;
		background: #f56a6a;
		color: #fff;
		font-size: 0.75em;
		font-weight: 700;
		letter-spacing: 0.04em;
		text-transform: uppercase;
	}

	.gunun-ad {
		font-family: "Roboto Slab", serif;
		font-size: 1.9em;
		font-weight: 700;
		color: #3d4449;
		line-height: 1.2;
	}

	.gunun-ust { font-style: italic; color: #7f888f; font-size: 0.9em; }
	.gunun-metin { color: #50575d; line-height: 1.6; }

.harf-kartlar {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(9.5em, 1fr));
	gap: 0.9em;
	margin-bottom: 2.5em;
}

	.harf-kart {
		display: flex;
		flex-direction: column;
		gap: 0.2em;
		padding: 1em 1.1em;
		border-radius: 0.8em;
		background: #fff;
		border: solid 1px rgba(210, 215, 217, 0.9);
		color: #3d4449 !important;
		transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-color 0.15s ease-in-out;
	}

		a.harf-kart:hover { transform: translateY(-2px); border-color: #f56a6a; box-shadow: 0 0.5em 1.25em rgba(0, 0, 0, 0.08); }
		.harf-kart.bos { opacity: 0.45; }

		.harf-kart-harf {
			font-family: "Roboto Slab", serif;
			font-size: 2.2em;
			font-weight: 700;
			line-height: 1.1;
			color: #f56a6a;
		}

		.harf-kart.bos .harf-kart-harf { color: #9fa3a6; }
		.harf-kart-sayi { font-size: 0.8em; font-weight: 600; color: #7f888f; }
		.harf-kart-ornek { font-size: 0.8em; color: #9fa3a6; line-height: 1.4; margin-top: 0.3em; }

/* ===== Sözcük sayfası ===== */
.madde-baslik {
	font-size: 2.6em;
	line-height: 1.15;
	margin-bottom: 0.35em;
	word-break: break-word;
}

.madde-ayrinti {
	position: relative;
	padding: 1.6em 1.8em 1.2em 1.8em;
	margin-bottom: 1.5em;
	border-radius: 1em;
	background: #fff;
	border: solid 1px rgba(210, 215, 217, 0.9);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

	.madde-ayrinti-kucuk { padding: 1.25em 1.5em 0.9em 1.5em; margin-bottom: 1.1em; }

	.madde-ayrinti-baslik {
		font-size: 1.35em;
		margin: 0 0 0.5em 0;
	}

		.madde-ayrinti-baslik a { border-bottom: 0; color: #3d4449; }
		.madde-ayrinti-baslik a:hover { color: #f56a6a !important; }

	.madde-no {
		position: absolute;
		top: 1.2em;
		right: 1.4em;
		width: 2em;
		height: 2em;
		border-radius: 50%;
		background: #3d4449;
		color: #fff;
		font-weight: 700;
		font-size: 0.85em;
		line-height: 2em;
		text-align: center;
	}

	.madde-bolum { margin-bottom: 1.25em; }

		.madde-bolum h3 {
			font-family: "Open Sans", sans-serif;
			font-size: 0.75em;
			font-weight: 700;
			letter-spacing: 0.08em;
			text-transform: uppercase;
			color: #9fa3a6;
			margin: 0 0 0.5em 0;
		}

	.madde-aciklama {
		font-size: 1.08em;
		line-height: 1.7;
		color: #3d4449;
		margin-bottom: 0.9em;
	}

	.madde-anlamlar {
		margin: 0 0 0.5em 0;
		padding-left: 1.4em;
	}

		.madde-anlamlar li {
			font-size: 1.05em;
			line-height: 1.65;
			margin-bottom: 0.45em;
			padding-left: 0.2em;
		}

	.madde-ornek {
		margin: 0 0 1em 0;
		padding: 0.9em 1.2em;
		border-left: solid 4px #f56a6a;
		border-radius: 0 0.6em 0.6em 0;
		background: #fafafa;
		font-style: italic;
		color: #50575d;
		line-height: 1.7;
	}

	.madde-kaynak, .madde-web {
		font-size: 0.88em;
		color: #7f888f;
		margin-bottom: 1em;
	}

		.madde-web { overflow-wrap: anywhere; }

		.madde-kaynak > span:first-child, .madde-web > span:first-child {
			display: inline-block;
			margin-right: 0.4em;
			padding: 0.05em 0.6em;
			border-radius: 2em;
			background: #f3f4f5;
			font-size: 0.85em;
			font-weight: 700;
			text-transform: uppercase;
			letter-spacing: 0.04em;
		}

/* Bkz. ilişkileri */
.bkz {
	margin: 0.5em 0 1.25em 0;
}

	.bkz-baslik {
		font-size: 0.75em;
		font-weight: 700;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		color: #9fa3a6;
		margin-bottom: 0.5em;
	}

	.bkz-liste {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(15em, 1fr));
		gap: 0.6em;
	}

	.bkz-oge {
		display: flex;
		flex-direction: column;
		gap: 0.25em;
		padding: 0.75em 1em;
		border-radius: 0.6em;
		background: #f7f8f9;
		border: solid 1px rgba(210, 215, 217, 0.7);
		color: #3d4449 !important;
		transition: border-color 0.15s ease-in-out, background-color 0.15s ease-in-out;
	}

		.bkz-oge:hover { border-color: #f56a6a; background: #fff; }
		.bkz-ad { font-weight: 700; color: #f56a6a; }
		.bkz-ad i { font-weight: 400; color: #9fa3a6; font-size: 0.85em; }
		.bkz-metin { font-size: 0.88em; color: #50575d; line-height: 1.5; }

/* Öneriler */
.madde-oneriler {
	margin: 0.5em 0 2em 0;
}

	.madde-oneriler h3 {
		font-size: 1em;
		margin-bottom: 0.75em;
	}

		.madde-oneriler a.tumu, .iliskililer a.tumu, .madde-bag a.tumu, .dizin-ara-baslik a.tumu { font-size: 0.85em; font-weight: 600; color: #7f888f; margin-left: 0.4em; }

/* Paylaş */
.paylas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5em;
	padding-top: 1.25em;
	margin-top: 3em; /* çizginin üstünde iki satırlık boşluk */
	margin-bottom: 2em;
	border-top: solid 1px rgba(210, 215, 217, 0.75);
}

	.paylas-baslik { font-weight: 700; color: #7f888f; margin-right: 0.4em; font-size: 0.9em; }

	.paylas .paylas-dugme {
		display: inline-flex;
		align-items: center;
		gap: 0.45em;
		height: auto;
		padding: 0.45em 1em;
		border-radius: 2em;
		background: #eceff1;
		box-shadow: none;
		color: #3d4449 !important;
		font-family: "Open Sans", sans-serif;
		font-size: 0.85em;
		font-weight: 600;
		letter-spacing: 0;
		line-height: 1.4;
		text-transform: none;
		transition: background-color 0.15s ease-in-out;
	}

		.paylas .paylas-dugme:hover { background: #dfe3e6; }
		.paylas .paylas-dugme .icon:before { font-size: 1em; }

/* ===== Arama sayfası ===== */
.buyuk-arama {
	position: relative;
	margin: 0 0 1.5em 0;
}

	.buyuk-arama input[type="search"] {
		height: 3.4em;
		padding-right: 8em;
		font-size: 1.05em;
		border-radius: 0.75em;
	}

	.buyuk-arama .ara-bul {
		-moz-appearance: none;
		-webkit-appearance: none;
		appearance: none;
		position: absolute;
		top: 0.45em;
		right: 0.45em;
		bottom: 0.45em;
		height: auto;
		display: inline-flex;
		align-items: center;
		gap: 0.45em;
		padding: 0 1.2em;
		border: 0;
		border-radius: 0.55em;
		box-shadow: none;
		background-color: #eceff1;
		color: #50575d !important;
		font-family: "Open Sans", sans-serif;
		font-size: 0.9em;
		font-weight: 600;
		letter-spacing: 0.01em;
		line-height: 1;
		text-transform: none;
		cursor: pointer;
	}

		.buyuk-arama .ara-bul:before { font-family: 'Font Awesome 5 Free'; font-weight: 900; content: '\f002'; font-size: 0.9em; opacity: 0.8; }
		.buyuk-arama .ara-bul:hover { background-color: #dfe3e6; color: #3d4449 !important; }

/* Sözcük sayfasının başındaki arama */
.sozcuk-arama {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75em;
	margin-bottom: 1.5em;
}

	.sozcuk-arama .buyuk-arama { flex: 1 1 18em; min-width: 0; margin: 0; }
	.sozcuk-arama .dizin-dugme { flex: none; }

.arama-sayfa .ikincil-icerik .cipler { margin-bottom: 0.6em; }

/* Arama: FaRkLaR.net önerileri (sayfanın en altında) */
.farklar-dizin {
	list-style: none;
	padding: 0;
	margin: 0 0 1em 0;
}

	.farklar-dizin li {
		padding: 0.45em 0 0.45em 0;
		border-bottom: solid 1px rgba(210, 215, 217, 0.5);
		line-height: 1.4;
	}

		.farklar-dizin li a { font-weight: 600; overflow-wrap: anywhere; }
			.farklar-dizin li a .farklar-ek { font-weight: normal; }
		.farklar-dizin li small { display: block; color: #7f888f; font-size: 0.8em; }
		.farklar-dizin li small a { font-weight: normal; color: #7f888f !important; border-bottom: dotted 1px; }
		.farklar-dizin li small a:hover { color: #f56a6a !important; }

@media screen and (max-width: 736px) {
	.madde-baslik { font-size: 2em; }
	.madde-ayrinti { padding: 1.2em 1.1em 0.8em 1.1em; }
	.gunun-ad { font-size: 1.5em; }
	.harf-kartlar { grid-template-columns: repeat(auto-fill, minmax(7em, 1fr)); }
	.harf-kart-ornek { display: none; }
}

/* Yöre etiketi ve sol menüdeki ayraç / dış bağlantılar */
.cip-yore { background: #f6efe2; color: #8a6420 !important; }
a.cip-yore:hover { background: #efe3cc; }

#menu ul li.menu-ayrac { padding: 0; border-top: 0; }
#menu ul li.menu-ayrac hr { margin: 0.75em 0; }
#menu ul a.dis-baglanti:after {
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	content: '\f35d';
	font-size: 0.7em;
	margin-left: 0.5em;
	opacity: 0.55;
}

/* ===== Sözcük sayfası: anlam ilişkileri ===== */
.anlam-iliskileri {
	margin: 0.5em 0 2em 0;
	padding: 1.25em 1.5em 0.5em 1.5em;
	border-radius: 1em;
	background: #fafbfc;
	border: solid 1px rgba(210, 215, 217, 0.8);
}

	.anlam-iliskileri h3 { font-size: 1em; margin-bottom: 1em; }

	.anlam-grup { margin-bottom: 0.9em; }

		.anlam-grup .cipler { margin: 0.35em 0 0 0; }

		.anlam-baslik, .anlam-grup > summary {
			display: block;
			font-size: 0.75em;
			font-weight: 700;
			letter-spacing: 0.06em;
			text-transform: uppercase;
			color: #9fa3a6;
		}

		.anlam-grup > summary { cursor: pointer; list-style: none; }
		.anlam-grup > summary::-webkit-details-marker { display: none; }
		.anlam-grup > summary:after { font-family: 'Font Awesome 5 Free'; font-weight: 900; content: '\f078'; margin-left: 0.5em; font-size: 0.85em; }
		.anlam-grup[open] > summary:after { content: '\f077'; }

	/* İlişki türüne göre renkler */
	.anlam-es_anlam .cip { background: #e7f5ee; color: #2f7d57 !important; }
	.anlam-yakin .cip    { background: #eef7f1; color: #3f8a64 !important; }
	.anlam-benzer .cip   { background: #e8f0fb; color: #3b6aa8 !important; }
	.anlam-fark .cip     { background: #fff4dd; color: #9a6a00 !important; }
	.anlam-karsit .cip   { background: #fde8e8; color: #c94a4a !important; }
	.anlam-kapsayan .cip, .anlam-kapsanan .cip { background: #f1ecfb; color: #6a4fb0 !important; }
	.anlam-dogrudan .cip { background: #eceff1; color: #3d4449 !important; }
	.anlam-dolayli .cip  { background: #f5f6f7; color: #7f888f !important; font-weight: 500; }
	.anlam-grup .cip:hover { filter: brightness(0.96); }

/* ===== Anlam ilişkisi dizinleri ===== */
/* Simge kartın sağ üstünde kendi satırında: başlık bir satır aşağıdan başlar, simge ne kadar geniş olursa olsun üst üste binmez */
.anlam-kart { position: relative; }
.anlam-kart-ok {
	align-self: flex-end;
	max-width: 100%;
	margin: -0.15em -0.1em -0.1em 0;
	overflow-wrap: anywhere;
	text-align: right;
	font-size: 1.6em;
	font-weight: 700;
	line-height: 1;
	opacity: 0.35;
}
.anlam-kart.anlam-karistirilan .dizin-kart-ad, .anlam-kart.anlam-fark .dizin-kart-ad { color: #9a6a00; }
.anlam-kart.anlam-karsit .dizin-kart-ad { color: #c94a4a; }
.anlam-kart.anlam-es_anlam .dizin-kart-ad, .anlam-kart.anlam-yakin .dizin-kart-ad { color: #2f7d57; }
.anlam-kart.anlam-kapsayan .dizin-kart-ad { color: #6a4fb0; }
.anlam-kart.anlam-benzer .dizin-kart-ad { color: #3b6aa8; }

.ust-kavramlar { margin-bottom: 1.25em; }
.ust-kavramlar .cip.etkin { background: #6a4fb0; color: #fff !important; }
.ust-kavramlar .cip small { opacity: 0.7; }

.cift-kartlar {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(19em, 1fr));
	gap: 1em;
	margin-bottom: 2em;
}

	.cift-kart {
		display: flex;
		flex-direction: column;
		gap: 0.6em;
		padding: 1.1em 1.25em;
		border-radius: 0.8em;
		background: #fff;
		border: solid 1px rgba(210, 215, 217, 0.9);
		border-top: solid 4px #c5cacd;
	}

		.cift-kart.anlam-fark, .cift-kart.anlam-karistirilan { border-top-color: #e2b23c; }
		.cift-kart.anlam-karsit { border-top-color: #e07a7a; }
		.cift-kart.anlam-es_anlam, .cift-kart.anlam-yakin { border-top-color: #5fb58a; }
		.cift-kart.anlam-benzer { border-top-color: #6f9bd6; }
		.cift-kart.anlam-kapsayan { border-top-color: #9b84d6; }

	.cift-sozcukler {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		gap: 0.5em;
		font-family: "Roboto Slab", serif;
		font-weight: 700;
		font-size: 1.1em;
	}

		.cift-sozcukler a { border-bottom: 0; color: #f56a6a; }
		.cift-ok { color: #9fa3a6; font-weight: 400; }

	.cift-tanimlar p {
		margin: 0 0 0.35em 0;
		font-size: 0.88em;
		line-height: 1.5;
		color: #50575d;
	}

		.cift-tanimlar b { color: #3d4449; }

	.cift-not {
		margin: auto 0 0 0;
		font-size: 0.78em;
		color: #9fa3a6;
		font-style: italic;
	}

/* Anlam/Değer ilişkileri kartları: tıklanınca yüklenen FaRkLaR.net sonuçları */
.cift-farklar { margin-top: 0.2em; border-top: dashed 1px rgba(210, 215, 217, 0.9); padding-top: 0.6em; }
	.cift-farklar summary { cursor: pointer; font-size: 0.82em; font-weight: 600; color: #3f6380; }
		.cift-farklar summary:hover { color: #f56a6a; }
	.cift-farklar-icerik { margin-top: 0.6em; font-size: 0.85em; }
	.cift-farklar-bolum { margin-bottom: 0.9em; }
		.cift-farklar-baslik { margin: 0 0 0.3em 0; font-weight: 600; color: #3d4449; }
		.cift-farklar .farklar-dizin { margin: 0 0 0.3em 0; padding: 0; }
		.cift-farklar-tumu, .cift-farklar-yok { margin: 0; color: #7f888f; }

/* Kubbealtı (lugatim.com) başlık çipinin yanındaki dış adres */
.ek-cip { display: flex; align-items: flex-start; gap: 0.45em; max-width: 100%; }
	.ek-cip:has(details[open]) { flex-basis: 100%; }
		.ek-cip details[open] { flex: 1 1 auto; min-width: 0; }
	.ek-cip .ek-dis-adres { padding-top: 0.45em; font-size: 0.8em; color: #7f888f !important; border-bottom: dotted 1px; white-space: nowrap; }
		.ek-cip .ek-dis-adres:hover { color: #f56a6a !important; }

/* TDK ve Kubbealtı bölümlerinde "Tümünü aç/kapat" */
.ikincil button.ek-tumunu-ac {
	height: auto; line-height: 1.4; margin: 0 0 0.75em 0; padding: 0.35em 1em; border-radius: 2em;
	box-shadow: none; background: #e8f0f6; color: #34536b !important; font-size: 0.8em; font-weight: 600;
	letter-spacing: normal; text-transform: none; cursor: pointer;
}
	.ikincil button.ek-tumunu-ac:hover { background: #d7e5ef; }

/* Sözlük ana sayfası: son eklenen FaRkLaR kartları */
.farklar-kart .madde-kart-ad { overflow-wrap: anywhere; }
	.farklar-kart .farklar-ek { font-weight: normal; color: #7f888f; font-family: inherit; font-size: 0.85em; }
	.farklar-kart .madde-kart-ust a { color: #7f888f !important; border-bottom: dotted 1px; }
		.farklar-kart .madde-kart-ust a:hover { color: #f56a6a !important; }
	.farklar-oneri .farklar-kartlar { margin-bottom: 1em; }
	.farklar-kart a.madde-kart-ad { border-bottom: 0; color: #f56a6a !important; }
		.farklar-kart a.madde-kart-ad:hover { color: #e14f4f !important; }

/* Çoklu ilişkiler (sozluk/kume.php) */
.dizin-sekmeler-iliski a.sekme-kume { border: dashed 1px #9fb8cc; }
.kume-kart .cipler { display: flex; flex-wrap: wrap; gap: 0.35em; }
.kume-kart .kume-sayi { font-family: inherit; font-weight: normal; font-size: 0.75em; color: #9fa3a6; }
.cift-kart.anlam-turkcesi { border-top-color: #4f8fb8; }
.cift-kart.anlam-dogrudan { border-top-color: #b0b6ba; }

/* Gelişmiş arama */
.ga-baglanti { margin: -0.5em 0 1.25em 0; font-size: 0.85em; text-align: right; }
.ga-form fieldset { margin: 0 0 1em 0; padding: 0.9em 1.1em 1em; border: solid 1px rgba(210, 215, 217, 0.9); border-radius: 0.8em; }
	.ga-form legend { padding: 0 0.4em; font-weight: 700; font-size: 0.85em; color: #7f888f; }
	.ga-form select, .ga-form input[type="search"] { height: 2.6em; }
	.ga-satir { display: flex; flex-wrap: wrap; gap: 0.6em; align-items: center; }
		.ga-satir input[type="search"] { flex: 1 1 16em; }
		.ga-satir select { flex: 0 1 auto; width: auto; padding-right: 2.5em; }
	.ga-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(15em, 1fr)); gap: 0.6em 1em; }
		.ga-izgara label { display: flex; flex-direction: column; gap: 0.25em; margin: 0; font-size: 0.8em; font-weight: 600; color: #7f888f; }
		.ga-izgara select { font-size: 1.15em; color: #3d4449; }
		.ga-izgara a.ga-alt-bag { font-weight: 400; color: #7f888f !important; border-bottom: dotted 1px; align-self: flex-start; }
		.ga-izgara a.ga-alt-bag.etkin { font-weight: 700; color: #3b6aa8 !important; }
	.ga-kutular { margin-top: 0.8em; }
		.ga-kutular label { margin: 0; font-size: 0.9em; }
.ga-secimler { margin: 0.5em 0 1em; }
/* Sol üstteki arama kutusunun altında "Gelişmiş arama" */
#sidebar #search .ga-yan { margin: 0.6em 0 0 0; font-size: 0.8em; text-align: right; }
	#sidebar #search .ga-yan a { color: #7f888f !important; border-bottom: dotted 1px; }
	#sidebar #search .ga-yan a:hover { color: #f56a6a !important; }
	#sidebar #search .ga-yan .icon { margin-right: 0.25em; }
.dizin-kartlar-bolum .dizin-kart { border-top: solid 3px #f56a6a; }
/* Sekmelerin altında, çizginin üstünde: arama kutusu ve sağında "Gelişmiş Arama" düğmesi */
.ga-kutu { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0.6em; margin-top: 1em; }
	.ga-kutu-form {
		flex: 1 1 20em; display: flex; align-items: center; gap: 0.6em; margin: 0; padding: 0 0.35em 0 0.9em;
		border: solid 1px rgba(210, 215, 217, 0.9); border-radius: 0.5em; background: #fff;
		transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	}
		.ga-kutu-form:focus-within { border-color: #f56a6a; box-shadow: 0 0.25em 0.75em rgba(0, 0, 0, 0.06); }
		.ga-kutu-form .icon { color: #9fa3a6; }
		.ga-kutu-form input[type="search"] { flex: 1 1 auto; min-width: 0; height: 2.9em; border: 0; background: transparent; box-shadow: none; padding: 0; }
		.ga-kutu-form button.ga-kutu-ara {
			flex: 0 0 auto; height: 2.2em; line-height: 2.2em; padding: 0 1.1em; border-radius: 2em; box-shadow: none;
			background: #3d4449; color: #fff !important; font-size: 0.75em; letter-spacing: normal; text-transform: none;
		}
			.ga-kutu-form button.ga-kutu-ara:hover { background: #f56a6a; }
	.ga-kutu-gelismis {
		flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.45em; padding: 0 1.2em;
		border-radius: 0.5em; border: solid 1px #3f6380; background: #e8f0f6; color: #26445a !important;
		font-weight: 600; font-size: 0.9em; white-space: nowrap; border-bottom: solid 1px #3f6380 !important;
	}
		.ga-kutu-gelismis:hover { background: #3f6380; color: #fff !important; }
@media screen and (max-width: 480px) { .ga-kutu-gelismis { flex-basis: 100%; justify-content: center; min-height: 2.6em; } }

.cift-tanimlar .lisiz-ornek { color: #7f888f; font-style: normal; }
.cift-tanimlar .lisiz-bos { color: #9fa3a6; }

/* ===== Sözlük ana sayfası: arama kutusunun altında "Son arananlar" ve "En çok arananlar" ===== */
.arananlar-kutu {
	display: grid; grid-template-columns: 1fr 1fr; gap: 1.5em; margin: 0 0 2.25em 0; padding: 1.25em 1.5em;
	border: solid 1px rgba(210, 215, 217, 0.9); border-radius: 1em; background: #f7f8fa;
}
	.arananlar-bolum { min-width: 0; }
	.arananlar-baslik {
		display: inline-block; margin: 0 0 0.9em 0; padding: 0.35em 1.1em; border-radius: 2em;
		background: #3d4449; color: #fff; font-size: 0.85em; letter-spacing: 0.03em;
	}
	.arananlar-bolum + .arananlar-bolum .arananlar-baslik { background: #f56a6a; }
	.arananlar-dugmeler { display: flex; flex-wrap: wrap; gap: 0.45em; }
		a.aranan-dugme {
			display: inline-block; max-width: 100%; padding: 0.25em 0.8em; border-radius: 2em; overflow: hidden;
			text-overflow: ellipsis; white-space: nowrap; border: solid 1px rgba(210, 215, 217, 0.9) !important;
			background: #fff; color: #3d4449 !important; font-size: 0.85em; text-decoration: none;
			transition: background 0.15s ease-in-out, border-color 0.15s ease-in-out;
		}
		a.aranan-dugme:hover { background: #fff5f5; border-color: #f56a6a !important; color: #f56a6a !important; }
@media screen and (max-width: 736px) { .arananlar-kutu { grid-template-columns: 1fr; padding: 1em 1.1em; } }

/* Harf farkları (sozluk/harffark.php) */
.harf-fark-turler { margin-bottom: 1.25em; }
.harf-fark .dizin-suzgec .harf-fark-ok { color: #9fa3a6; }
h2.harf-fark-kume { font-size: 1.1em; margin: 1.5em 0 0.75em 0; }
.harf-fark .cift-sozcukler mark { background: #fde8e8; color: #c94a4a; padding: 0 0.1em; border-radius: 0.2em; }
	.harf-fark .cift-sozcukler mark.bos { background: none; color: #9fa3a6; font-weight: 400; }
.cift-kart.harf-fark-sapka, .cift-kart.harf-fark-yumusama { border-top-color: #e2b23c; }
.cift-kart.harf-fark-unlu, .cift-kart.harf-fark-unsuz, .cift-kart.harf-fark-unlu_unsuz { border-top-color: #6f9bd6; }
.cift-kart.harf-fark-eksik, .cift-kart.harf-fark-yer, .cift-kart.harf-fark-anagram { border-top-color: #9b84d6; }
.cift-kart.harf-fark-bitisik, .cift-kart.harf-fark-ikileme, .cift-kart.harf-fark-ayni_tanim { border-top-color: #5fb58a; }
.cift-kart.harf-fark-koken { border-top-color: #e07a7a; }
	.harf-fark .koken-bicim { font-weight: 700; color: #3d4449; }
	.koken-degisimler { margin: 0.5em 0; }

/* TDK ve Kubbealtı bölümlerindeki göndermeler (bk., ►) */
.ikincil-icerik a.ek-gonderme { border-bottom: dotted 1px; }

/* Köken aileleri (sozluk/koken.php): kaynak rozetleri */
.kokenaile-rozetler { display: flex; flex-wrap: wrap; gap: 0.35em; margin: 0.4em 0 0.6em 0; }
	a.kokenaile-rozet { font-size: 0.75em; font-weight: 600; padding: 0.15em 0.7em; border-radius: 2em; border-bottom: 0; background: #eceff1; color: #50575d !important; }
	a.kokenaile-rozet:hover { background: #dfe3e6; }
	a.kokenaile-fg { background: #fde8e8; color: #c94a4a !important; }
	a.kokenaile-tdk { background: #e8f0fb; color: #3b6aa8 !important; }
	a.kokenaile-kubbealti { background: #e7f5ee; color: #2f7d57 !important; }
.kokenaile-bagsiz { color: #3d4449; }
	.kokenaile-ayrac { color: #9fa3a6; font-size: 0.8em; align-self: center; }
	a.kokenaile-farklar { background: #fdf3df; color: #a8741f !important; }
.kokenaile-farklar-sonuc { margin-top: 0.75em; padding-top: 0.6em; border-top: dotted 1px rgba(210, 215, 217, 0.9); font-size: 0.9em; }
	.kokenaile-farklar-baslik { margin: 0 0 0.4em 0; color: #a8741f; }
	.kokenaile-fark { margin-bottom: 0.6em; }
	a.kokenaile-fark-ad { font-weight: 700; border-bottom: 0; }
	ul.kokenaile-fark-aciklama { margin: 0.25em 0 0.25em 1em; padding: 0; list-style: disc; color: #50575d; }
		ul.kokenaile-fark-aciklama li { margin: 0; padding: 0; }
	a.kokenaile-devam { display: inline-block; font-size: 0.9em; color: #7f888f !important; border-bottom: dotted 1px; }

/* Arama ve sözcük sayfalarında ilk kartın altındaki köken ailesi kutusu (koken_aile_kutusu_html) */
.kokenaile-kutu { margin: -0.5em 0 1.5em 0; padding: 1em 1.25em; border-radius: 0.5em; background: #fbf8f1; border-left: solid 3px #e2b23c; }
	.kokenaile-kutu h3 { font-size: 0.85em; margin: 0 0 0.5em 0; color: #a8741f; text-transform: uppercase; letter-spacing: 0.05em; }
	.kokenaile-kutu-aile + .kokenaile-kutu-aile { margin-top: 0.9em; padding-top: 0.9em; border-top: dotted 1px rgba(210, 215, 217, 0.9); }
	.kokenaile-kutu-aile p { margin: 0 0 0.4em 0; }
	.kokenaile-kutu .cipler { display: inline-flex; }
	.kokenaile-kutu span.cip { background: #f3f4f5; color: #7f888f; }
	.kokenaile-kutu-git { margin: 0.5em 0 0 0 !important; font-size: 0.9em; }
	.kokenaile-kutu a.tumu { font-size: 0.85em; font-weight: 600; color: #7f888f; }

/* Ek işaretli başlığın çekimli biçimi: "tabaklık -ğı (tabaklığı)" */
.ekli-bicim { font-weight: 400; font-size: 0.6em; color: #9fa3a6; }

/* Boşluksuz uzun başlıklar (bitişik yazılmış deyimler, adresler, "a/b/c" çeşitleri) kartın ya da kutunun dışına taşmasın:
   ızgara ve esnek kutu öğeleri içeriğe göre genişlemez (min-width: 0), sözcük gerekirse harf sınırında bölünür */
.dizin-kart, .madde-kart, .cift-kart, .madde-ayrinti, .kokenaile-kutu, .ikincil, .ikincil-icerik, .bkz-kutu, .anlam-iliskileri, .madde-oneriler, .ga-secimler {
	min-width: 0;
	max-width: 100%;
	overflow-wrap: anywhere;
	word-break: normal;
}
	.dizin-kart-ad, .madde-kart-ad, .madde-kart-metin, .cift-sozcukler, .cift-sozcukler a, .cift-tanimlar, .cift-not,
	h1.madde-baslik, .madde-ayrinti-baslik, .ikincil-liste summary, .kokenaile-fark-ad, .dizin-yol span { overflow-wrap: anywhere; min-width: 0; }
	.cipler .cip, a.cip, span.cip { max-width: 100%; overflow-wrap: anywhere; white-space: normal; }

/* Köken ailesi kartlarında dil: başlığın altında küçük rozet (dile göre renk) */
.kokenaile-dil { align-self: flex-start; padding: 0.1em 0.75em; border-radius: 2em; font-size: 0.72em; font-weight: 700; letter-spacing: 0.02em; background: #eceff1; color: #50575d; }
	.kokenaile-dil-ar  { background: #e7f5ee; color: #2f7d57; }
	.kokenaile-dil-far { background: #e8f0fb; color: #3b6aa8; }
	.kokenaile-dil-fr  { background: #efeafa; color: #6a4fb0; }
	.kokenaile-dil-ing { background: #fde8e8; color: #c94a4a; }
	.kokenaile-dil-it  { background: #fdf3df; color: #a8741f; }
	.kokenaile-dil-yun, .kokenaile-dil-rum, .kokenaile-dil-lat { background: #e3f4f4; color: #2b7a7a; }

/* "Türüne göre" sayfasındaki "Kökenine göre" kutusu (tur_koken_kutusu_html) */
.tur-koken-kutu { margin: 0 0 1.75em 0; padding-bottom: 1.25em; border-bottom: solid 1px rgba(210, 215, 217, 0.75); }
	.tur-koken-kutu .cipler { flex-wrap: wrap; }

/* Harfe göre: daha çok görülen harf ilişkileri */
.harf-cift-kart .dizin-kart-ad { font-size: 1.4em; color: #f56a6a; }
	.harf-cift-kart .cift-ok { color: #9fa3a6; font-weight: 400; }
.harf-cift-koken { margin-bottom: 1.5em; }
h3.harf-fark-kume { font-size: 1em; margin: 1em 0 0.6em 0; }
.dizin-kartlar + .dizin-not + .tur-koken-kutu, #kart-yok + .tur-koken-kutu { margin-top: 2em; padding-top: 1.5em; border-top: solid 1px rgba(210, 215, 217, 0.75); border-bottom: 0; }
.harf-konum-cipler { margin-bottom: 1em; align-items: center; }
	.harf-konum-cipler .anlam-baslik { margin-right: 0.5em; }

/* Harfe göre: yer × değişim biçimi ızgarası */
.harf-matris { display: flex; flex-direction: column; gap: 0.9em; margin-bottom: 2em; }
.harf-matris-satir { display: grid; grid-template-columns: 6.5em repeat(3, minmax(0, 1fr)); gap: 0.9em; align-items: start; }
	.harf-matris-yer { font-weight: 700; color: #f56a6a; padding-top: 0.6em; }
	.harf-matris-hucre { min-width: 0; padding: 0.8em 1em; border-radius: 0.8em; background: #fff; border: solid 1px rgba(210, 215, 217, 0.9); }
	a.harf-matris-ad { display: block; margin-bottom: 0.5em; font-weight: 700; border-bottom: 0; }
	.harf-matris-hucre .cipler { flex-wrap: wrap; }
@media screen and (max-width: 736px) {
	.harf-matris-satir { grid-template-columns: 1fr; }
	.harf-matris-yer { padding-top: 0; }
}
.cift-kart.harf-fark-sestes { border-top-color: #5fb58a; }

/* Arama sözcük sınırı uyarısı */
.arama-uyari { color: #a8741f; background: #fdf3df; padding: 0.5em 0.9em; border-radius: 0.5em; display: inline-block; }

/* Kullanıcı metni taşıyan düğme ve cipler yön bakımından yalıtılır: içlerindeki yön karakteri komşularını etkilemez */
.aranan-dugme, .cip, .madde-kart-ad, .dizin-kart-ad { unicode-bidi: isolate; }

/* Harf/Yazım Farkları: yakın sesli harflerin ses grubu kartları */
.harf-ses-kartlar { margin-bottom: 1.75em; }
.harf-ses-kart .cipler { flex-wrap: wrap; margin: 0.2em 0; }
.harf-ses-kart.etkin { border-color: #f56a6a; box-shadow: 0 0 0 2px rgba(245, 106, 106, 0.25); }
a.dizin-kart-ad { border-bottom: 0; }
.harf-sayi-dugmeler { margin-bottom: 0.75em; }

/* Sözcük oyunu: sözcük zinciri */
.sozcuk-zincir { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em 0.4em; margin: 0 0 1em; padding: 0; }
	.sozcuk-zincir li { display: flex; align-items: center; gap: 0.4em; margin: 0; padding: 0; }
	.sozcuk-zincir a, .sozcuk-zincir .zincir-yok { padding: 0.2em 0.7em; border-radius: 0.5em; background: #eceff1; color: #3d4449; font-weight: 600; border-bottom: 0; }
	.sozcuk-zincir a:hover { background: #dfe3e6; }
	.sozcuk-zincir .zincir-yok { background: transparent; border: dashed 1px rgba(160, 168, 173, 0.8); font-style: italic; }
	.zincir-bag { font-size: 0.8em; color: #9fa3a6; white-space: nowrap; }
	.sozcuk-oyunu-satir { margin: 0 0 0.6em; }
	.sozcuk-oyunu-satir > span { display: inline-block; min-width: 13em; color: #7f888f; }
	.sozcuk-oyunu-satir .dizin-dugme { display: inline-block; margin-top: 0.3em; }
