/*
 * Riquadro «Tutto su …» (mu-plugin odq-temi-collegati).
 * Vive dentro contenitori molto diversi (corpo articolo, pagina gioco, landing collezione,
 * vista di gioco), ognuno con le sue regole su h2/ul/li/a: qui tutto è sotto `.odq-temi`
 * e azzera esplicitamente margini, elenchi e sottolineature ereditati.
 */
.odq-temi {
	--odq-temi-viola: #7a3ff2;
	--odq-temi-ink: #1b1830;
	--odq-temi-muted: #6a6680;
	--odq-temi-line: rgba(27, 24, 48, 0.1);
	clear: both;
	margin: 2.5rem 0 1.5rem;
	padding: clamp(1.1rem, 3vw, 1.6rem);
	border: 1px solid var(--odq-temi-line);
	border-radius: 20px;
	background: linear-gradient(180deg, #f7f3ff 0%, #fff 100%);
	font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	text-align: left;
}
.odq-temi .odq-temi__h {
	margin: 0 0 1rem;
	padding: 0;
	border: 0;
	font-family: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
	font-size: clamp(1.25rem, 2.4vw, 1.5rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--odq-temi-ink);
	text-align: left;
}
.odq-temi .odq-temi__h::before,
.odq-temi .odq-temi__h::after { content: none; }

.odq-temi .odq-temi__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.odq-temi .odq-temi__item {
	margin: 0;
	padding: 0;
	list-style: none;
}
.odq-temi .odq-temi__item::before,
.odq-temi .odq-temi__item::marker { content: none; }

.odq-temi a.odq-temi__card {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	height: 100%;
	box-sizing: border-box;
	padding: 0.6rem 0.8rem 0.6rem 0.6rem;
	border: 1px solid var(--odq-temi-line);
	border-radius: 14px;
	background: #fff;
	color: var(--odq-temi-ink);
	text-decoration: none;
	box-shadow: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.odq-temi a.odq-temi__card:hover,
.odq-temi a.odq-temi__card:focus-visible {
	border-color: var(--odq-temi-viola);
	box-shadow: 0 10px 24px -16px rgba(50, 22, 78, 0.55);
	transform: translateY(-1px);
	color: var(--odq-temi-ink);
	text-decoration: none;
}
.odq-temi a.odq-temi__card:focus-visible { outline: 2px solid var(--odq-temi-viola); outline-offset: 2px; }

.odq-temi .odq-temi__thumb {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	border-radius: 10px;
	overflow: hidden;
	background: #ece5ff;
}
.odq-temi .odq-temi__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	border-radius: 0;
	box-shadow: none;
}
.odq-temi .odq-temi__thumb--vuota {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #9b6cff, #7a3ff2);
	color: #fff;
}
.odq-temi .odq-temi__thumb--vuota svg { width: 30px; height: 30px; }

.odq-temi .odq-temi__txt {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}
.odq-temi .odq-temi__tipo {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--odq-temi-viola);
}
.odq-temi .odq-temi__titolo {
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--odq-temi-ink);
}

/* Colonna stretta (corpo articolo al 65%): una colonna sotto i 560 px utili. */
@media (max-width: 560px) {
	.odq-temi .odq-temi__grid { grid-template-columns: 1fr; }
	.odq-temi .odq-temi__thumb { flex-basis: 56px; width: 56px; height: 56px; }
}
