/**
 * Popular Topics Shortcode
 */

.tp-popular-topics {
	width: 100%;
	padding: 24px 20px 26px;
	background: #fff;
	border: 1px solid #f0f0f0;
	border-radius: 4px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.tp-popular-topics__title {
	margin: 0 0 22px;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.3;
	color: #111;
	text-transform: uppercase;
	letter-spacing: 0.2px;
}

.tp-popular-topics__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 12px;
}

.tp-popular-topics__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 7px 14px;
	border: 1px solid #eeeeee;
	border-radius: 6px;
	background: #fff;
	color: #555;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.035);
	transition:
		background 0.22s ease,
		border-color 0.22s ease,
		color 0.22s ease,
		transform 0.22s ease,
		box-shadow 0.22s ease;
}

.tp-popular-topics__item:hover {
	background: #e50914;
	border-color: #e50914;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(229, 9, 20, 0.18);
}

/* Mobile */
@media (max-width: 480px) {
	.tp-popular-topics {
		padding: 22px 18px;
	}

	.tp-popular-topics__list {
		gap: 9px;
	}

	.tp-popular-topics__item {
		min-height: 32px;
		padding: 7px 12px;
		font-size: 12.5px;
	}
}