/* Telegram Footer Widget - ön yüz stilleri (v2.1.0: tek sütun, üstte 1 banner,
   altında Telegram kanalları alt alta. Tema CSS'iyle çakışmaya karşı
   sağlamlaştırılmış boyutlandırma.) */

.tfw-wrap,
.tfw-wrap * {
	box-sizing: border-box !important;
}

.tfw-wrap {
	max-width: 720px !important;
	width: 100% !important;
	margin: 24px auto !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* --- Üst banner (tek, tam genişlik) --- */

.tfw-banner-top {
	display: block;
	width: 100% !important;
	height: 110px !important;
	max-height: 110px !important;
	border-radius: 10px;
	overflow: hidden;
	background: #0e1621;
	border: 1px solid rgba(255, 255, 255, .06);
	margin: 0 0 16px;
}

.tfw-banner-top img {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	object-fit: cover !important;
	display: block;
	margin: 0 !important;
	border-radius: 0 !important;
}

.tfw-title {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: #8a8f98;
	margin: 0 0 10px;
	text-align: center;
}

.tfw-rows {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* --- Kanal kartı (tek sütun, alt alta) --- */

.tfw-item {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100% !important;
	height: 84px !important;
	max-height: 84px !important;
	box-sizing: border-box;
	padding: 12px 16px;
	background: #0e1621;
	border-radius: 10px;
	text-decoration: none !important;
	border: 1px solid rgba(255, 255, 255, .06);
	transition: transform .15s ease, box-shadow .15s ease;
	overflow: hidden;
}

.tfw-item:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}

.tfw-item__avatar {
	flex: 0 0 60px;
	width: 60px !important;
	height: 60px !important;
	max-width: 60px !important;
	max-height: 60px !important;
	border-radius: 50%;
	overflow: hidden;
	background: #229ED9;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tfw-item__avatar img {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	object-fit: cover !important;
	display: block;
	margin: 0 !important;
	border-radius: 0 !important;
}

.tfw-icon-fallback {
	width: 28px !important;
	height: 28px !important;
}

.tfw-item__body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.tfw-item__name {
	font-size: 15px;
	font-weight: 600;
	color: #fff !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tfw-item__desc {
	font-size: 12px;
	color: #8a99a8;
	margin-top: 3px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

.tfw-item__stat {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 64px;
	padding: 0 14px;
	border-left: 1px solid rgba(255, 255, 255, .08);
	border-right: 1px solid rgba(255, 255, 255, .08);
}

.tfw-item__stat-num {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
}

.tfw-item__stat-label {
	font-size: 10px;
	color: #8a99a8;
	text-transform: uppercase;
	letter-spacing: .03em;
}

.tfw-item__cta {
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 600;
	color: #fff !important;
	background: #229ED9;
	padding: 8px 16px;
	border-radius: 20px;
	white-space: nowrap;
}

@media (max-width: 480px) {
	.tfw-item {
		height: auto !important;
		max-height: none !important;
		min-height: 64px;
	}
	.tfw-item__stat {
		display: none;
	}
	.tfw-item__desc {
		display: none;
	}
	.tfw-banner-top {
		height: 80px !important;
		max-height: 80px !important;
	}
}
