/* Grille des fiches techniques. */

.qv-ressources {
	--qv-accent: #1976b8;
	--qv-bord: #e5e7eb;
	--qv-gris: #6b7280;
	--qv-marine: #0d1f35;
}

.qv-ressources__recherche {
	width: 100%;
	max-width: 420px;
	margin-bottom: 14px;
	padding: 11px 14px;
	font: inherit;
	font-size: 14px;
	color: var(--qv-marine);
	background: #fff;
	border: 1px solid var(--qv-bord);
	border-radius: 0;
}

.qv-ressources__recherche:focus-visible {
	outline: 2px solid var(--qv-accent);
	outline-offset: 1px;
}

.qv-ressources__compte {
	margin: 0 0 18px;
	font-size: 13px;
	color: var(--qv-gris);
}

.qv-ressources__liste {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--qv-bord);
	border: 1px solid var(--qv-bord);
	border-left: 0;
}

.qv-ressource {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 36px;
	background: #fff;
	border-left: 3px solid var(--qv-accent);
}

.qv-ressource:nth-child(even) {
	background: #f9fafb;
}

.qv-ressource__entete {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.qv-ressource__icone {
	display: inline-flex;
	flex: 0 0 auto;
	color: #fff;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	background: var(--qv-accent);
}

.qv-ressource__categorie {
	padding: 6px 12px;
	font-size: 12px;
	font-weight: 500;
	color: var(--qv-marine);
	background: #fff;
	border: 1px solid var(--qv-bord);
}

.qv-ressource__titre {
	margin: 8px 0 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--qv-marine);
}

.qv-ressource__titre a {
	color: inherit;
	text-decoration: none;
}

.qv-ressource__titre a:hover {
	color: var(--qv-accent);
}

.qv-ressource__description {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: var(--qv-gris);
}

.qv-ressource__etiquettes {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}

.qv-ressource__etiquettes span {
	padding: 7px 13px;
	font-size: 13px;
	color: #374151;
	background: #f3f4f6;
}

.qv-ressource__actions {
	display: flex;
	gap: 10px;
	align-items: stretch;
	margin-top: auto;
	padding-top: 22px;
	border-top: 1px solid var(--qv-bord);
}

.qv-ressource__telecharger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	font-size: 17px;
	color: var(--qv-gris);
	text-decoration: none;
	background: #fff;
	border: 1px solid var(--qv-bord);
	transition: color .15s, border-color .15s;
}

.qv-ressource__telecharger:hover {
	color: var(--qv-accent);
	border-color: var(--qv-accent);
}

.qv-ressource__bouton {
	flex: 1;
	padding: 14px 18px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	text-align: center;
	text-decoration: none;
	background: var(--qv-accent);
	transition: background-color .15s;
}

.qv-ressource__bouton:hover {
	color: #fff;
	background: #1565a0;
}

.qv-ressources__vide {
	grid-column: 1 / -1;
	padding: 24px;
	color: var(--qv-gris);
	background: #fff;
}

@media (max-width: 767px) {
	.qv-ressources__liste {
		grid-template-columns: 1fr !important;
	}
}
