/* WhatCarTool — indeks forum urządzenia na jego stronie. Neutralne style, nadpisywalne w theme. */

.wct-device-forum {
	margin-top: 28px;
	padding-top: 16px;
	border-top: 1px solid var(--wct-border, #d6dae0);
	font-size: var(--wct-font-size, 14px);
}

.wct-device-forum__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.wct-device-forum__head h3 { margin: 0; }

.wct-device-forum__all {
	font-weight: 600;
	text-decoration: none;
}

.wct-device-forum__sections {
	list-style: none;
	margin: 16px 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 12px;
}

.wct-device-forum__section {
	border: 1px solid var(--wct-border, #d6dae0);
	border-radius: var(--wct-radius-card, 8px);
	padding: 12px 14px;
}

.wct-device-forum__section > a {
	font-weight: 600;
	text-decoration: none;
}

.wct-device-forum__section p {
	margin: 6px 0;
	color: var(--wct-muted, #5a6675);
	font-size: 12.5px;
}

.wct-device-forum__counts {
	color: #8894a3;
	font-size: 12px;
}

.wct-device-forum__subhead { margin: 18px 0 8px; }

.wct-device-forum__recent {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.wct-device-forum__recent li {
	display: flex;
	gap: 10px;
	align-items: baseline;
	flex-wrap: wrap;
}

.wct-device-forum__recent .wct-topic-meta {
	color: #8894a3;
	font-size: 12px;
}

.wct-device-forum__empty {
	color: var(--wct-muted, #5a6675);
	font-style: italic;
}

.wct-device-forum__cta {
	display: inline-block;
	padding: 9px 18px;
	border-radius: var(--wct-radius, 7px);
	background: var(--wct-accent, #1769ff);
	color: var(--wct-accent-ink, #fff);
	font-weight: 600;
	text-decoration: none;
}

.wct-device-forum__cta:hover { color: var(--wct-accent-ink, #fff); opacity: .92; }
