/* ============================================================
   Taxonomy Meta Fields – Frontend Stilleri
   Alt etiket ızgarası (post_tag arşiv sayfası – "subtags" modu)
   ============================================================ */

.tmf-subtag-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin: 24px 0;
}

/* Geniş ekranlarda 2+ sütun */
@media (min-width: 600px) {
	.tmf-subtag-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 900px) {
	.tmf-subtag-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1200px) {
	.tmf-subtag-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.tmf-subtag-card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	border: 1px solid #e2e2e2;
	border-left: 4px solid var(--tmf-accent, #3b82f6);
	border-radius: 8px;
	background: #fff;
	text-decoration: none;
	color: #1d2327;
	transition: box-shadow .15s, transform .15s;
}

.tmf-subtag-card:hover {
	box-shadow: 0 2px 10px rgba(0,0,0,.08);
	transform: translateY(-2px);
}

.tmf-subtag-icon {
	font-size: 20px;
	width: 24px;
	height: 24px;
	color: var(--tmf-accent, #3b82f6);
	flex-shrink: 0;
}

.tmf-subtag-name {
	flex: 1 1 auto;
	font-weight: 600;
}

.tmf-subtag-count {
	font-size: 12px;
	color: #757575;
	background: #f3f3f3;
	border-radius: 999px;
	padding: 2px 8px;
}

/* ---- Etiket arşiv başlığı (subtags şablonu) ---- */
.tmf-subtags-archive {
	width: 100%;
}

.tmf-subtags-header {
	margin-bottom: 24px;
	border-bottom: 3px solid var(--tmf-accent, #3b82f6);
	padding-bottom: 16px;
}

.tmf-subtags-icon {
	font-size: 28px;
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
	margin-right: 8px;
}

.tmf-subtags-title {
	margin: 8px 0;
}

.tmf-subtags-description {
	color: #444;
	line-height: 1.6;
}
