/* Technical Turkey — tema üzerine eklemeler */

.tt-brand-text {
	font-family: "Geist", sans-serif;
	font-weight: 700;
	font-size: 1.3rem;
	letter-spacing: -0.02em;
	color: var(--bs-heading-color);
	line-height: 1;
}
.tt-brand.text-white .tt-brand-text { color: #fff; }
.navbar-brand .tt-brand-text { font-size: 1.35rem; }
@media (max-width: 575.98px) {
	.navbar-brand .tt-brand-text { font-size: 1.1rem; }
	.navbar-brand .tt-brand-mark { width: 28px; height: 28px; }
}

/* Kategori ikon kutusu */
.tt-cat-icon {
	width: 44px;
	height: 44px;
	border-radius: .6rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	flex-shrink: 0;
}
.tt-cat-card { transition: transform .15s ease, box-shadow .15s ease; }
.tt-cat-card:hover { transform: translateY(-2px); box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .06); }

/* Ana sayfa bandı — hafif ızgara deseni */
.tt-hero {
	background-image:
		radial-gradient(circle at 85% 20%, rgba(227, 10, 23, .25), transparent 45%),
		linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
	background-size: auto, 32px 32px, 32px 32px;
}
.tt-hero code {
	color: #ff6b74;
	background: rgba(255, 255, 255, .06);
	padding: .15rem .45rem;
	border-radius: .35rem;
}

/* Boş durum */
.tt-empty {
	border: 1px dashed var(--bs-border-color);
	border-radius: var(--bs-border-radius-lg);
}

/* Yönetim paneli */
.tt-admin-sidebar { min-height: 100vh; }
.tt-admin-sidebar .nav-link { color: rgba(255, 255, 255, .7); border-radius: .5rem; }
.tt-admin-sidebar .nav-link:hover,
.tt-admin-sidebar .nav-link.active { color: #fff; background: rgba(255, 255, 255, .08); }

/* Kullanıcı içeriği (Markdown) */
.tt-content { line-height: 1.7; overflow-wrap: anywhere; }
.tt-content > *:last-child { margin-bottom: 0; }
.tt-content h1, .tt-content h2, .tt-content h3, .tt-content h4 { font-size: 1.15rem; margin: 1.5rem 0 .75rem; }
.tt-content img { max-width: 100%; height: auto; border-radius: .5rem; }
.tt-content blockquote { border-left: 3px solid var(--bs-primary); padding: .25rem 0 .25rem 1rem; color: var(--bs-secondary-color); margin: 1rem 0; }
.tt-content :not(pre) > code { background: var(--bs-tertiary-bg); color: var(--bs-danger); padding: .1rem .35rem; border-radius: .3rem; font-size: .875em; }
.tt-content pre { position: relative; border-radius: .6rem; padding: 1rem; margin: 1rem 0; font-size: .85rem; max-height: 600px; overflow: auto; background: #282c34; }
.tt-content pre code { color: #abb2bf; background: none; padding: 0; }
.tt-content table { width: 100%; margin: 1rem 0; border-collapse: collapse; font-size: .9rem; display: block; overflow-x: auto; }
.tt-content th, .tt-content td { border: 1px solid var(--bs-border-color); padding: .4rem .65rem; }
.tt-copy { position: absolute; top: .5rem; right: .5rem; opacity: 0; transition: opacity .15s; font-size: .75rem; padding: .15rem .5rem; }
.tt-content pre:hover .tt-copy { opacity: 1; }

/* Beğeni butonu */
.tt-like.active { background: rgba(var(--bs-primary-rgb), .12); color: var(--bs-primary); border-color: transparent; }
.min-w-0 { min-width: 0; }
@media (min-width: 576px) { .tt-credit { padding-right: 64px; } }
@media (hover: none) { .tt-copy { opacity: .85; } }
