/*
 * Impression canonique de la page Partenaires.
 * La largeur physique reste identique, quel que soit l'appareil déclencheur.
 */
@media print {
	body.hm-partners-page {
		width: 180mm !important;
		min-width: 180mm !important;
		max-width: 180mm !important;
		margin: 0 auto !important;
		background: #fff !important;
	}

	body.hm-partners-page #header,
	body.hm-partners-page #footer {
		display: none !important;
	}

	body.hm-partners-page #wrapper,
	body.hm-partners-page .hm-partners-2026,
	body.hm-partners-page .hm-partners-2026 .widthRegulator {
		display: block !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	body.hm-partners-page .hm-page-base-2026__body {
		padding: 0 !important;
	}

	body.hm-partners-page .hm-partners-2026__group {
		break-inside: auto;
		border-top-color: #000 !important;
	}

	body.hm-partners-page .hm-partners-2026__grid {
		display: grid !important;
		grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
		border-color: #aaa !important;
	}

	body.hm-partners-page .hm-partners-2026__grid:not(:has(> :nth-child(6))) {
		grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
	}

	body.hm-partners-page .hm-partners-2026__grid:not(:has(> :nth-child(5))) {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}

	body.hm-partners-page .hm-partners-2026__grid:not(:has(> :nth-child(4))) {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}

	body.hm-partners-page .hm-partners-2026__grid:not(:has(> :nth-child(3))) {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	body.hm-partners-page .hm-partners-2026__grid:not(:has(> :nth-child(2))) {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	body.hm-partners-page .hm-partners-2026__item {
		break-inside: avoid;
		background: #fff !important;
		border-color: #aaa !important;
	}

	body.hm-partners-page .hm-partners-2026__link {
		background: #fff !important;
		text-decoration: none !important;
	}

	body.hm-partners-page .hm-partners-2026__link::after {
		content: none !important;
	}

	body.hm-partners-page .hm-partners-2026__logo {
		filter: none !important;
		opacity: 1 !important;
		transform: none !important;
	}

	body.hm-partners-page .hm-partners-2026__grid.hm-partners-2026__grid--logos-large {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}

	body.hm-partners-page .hm-partners-2026__grid.hm-partners-2026__grid--logos-medium {
		grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
	}

	body.hm-partners-page .hm-partners-2026__grid.hm-partners-2026__grid--logos-small {
		grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
	}

	body.hm-partners-page .hm-partners-2026__grid--logos-large .hm-partners-2026__link {
		min-height: 72pt !important;
	}

	body.hm-partners-page .hm-partners-2026__grid--logos-large .hm-partners-2026__logo {
		height: 34pt !important;
		max-height: 34pt !important;
	}

	body.hm-partners-page .hm-partners-2026__grid--logos-large .hm-partners-2026__wordmark {
		font-size: 14.625pt !important;
	}

	body.hm-partners-page .hm-partners-2026__grid--logos-small .hm-partners-2026__link {
		min-height: 48pt !important;
		padding: 6pt !important;
	}

	body.hm-partners-page .hm-partners-2026__grid--logos-small .hm-partners-2026__logo {
		height: 20pt !important;
		max-height: 20pt !important;
	}

	body.hm-partners-page .hm-partners-2026__grid--logos-small .hm-partners-2026__wordmark {
		font-size: 8.5pt !important;
	}

	body.hm-partners-page .hm-partners-2026__logo--wide {
		height: 20pt !important;
		max-height: 20pt !important;
	}

	body.hm-partners-page .hm-partners-2026__logo--compact {
		height: 32pt !important;
		max-height: 32pt !important;
	}

	body.hm-partners-page .hm-partners-2026__logo--vertical {
		height: 41pt !important;
		max-height: 41pt !important;
	}

	body.hm-partners-page .hm-partners-2026__grid--logos-large .hm-partners-2026__logo--wide {
		height: 24pt !important;
		max-height: 24pt !important;
	}

	body.hm-partners-page .hm-partners-2026__grid--logos-large .hm-partners-2026__logo--compact {
		height: 40pt !important;
		max-height: 40pt !important;
	}

	body.hm-partners-page .hm-partners-2026__grid--logos-large .hm-partners-2026__logo--vertical {
		height: 48pt !important;
		max-height: 48pt !important;
	}

	body.hm-partners-page .hm-partners-2026__grid--logos-small .hm-partners-2026__logo--wide {
		height: 15pt !important;
		max-height: 15pt !important;
	}

	body.hm-partners-page .hm-partners-2026__grid--logos-small .hm-partners-2026__logo--compact {
		height: 24pt !important;
		max-height: 24pt !important;
	}

	body.hm-partners-page .hm-partners-2026__grid--logos-small .hm-partners-2026__logo--vertical {
		height: 30pt !important;
		max-height: 30pt !important;
	}

	body.hm-partners-page .hm-partners-2026__grid--text,
	body.hm-partners-page .hm-partners-2026__grid--text:not(:has(> :nth-child(2))),
	body.hm-partners-page .hm-partners-2026__grid--text:not(:has(> :nth-child(3))),
	body.hm-partners-page .hm-partners-2026__grid--text:not(:has(> :nth-child(4))),
	body.hm-partners-page .hm-partners-2026__grid--text:not(:has(> :nth-child(5))),
	body.hm-partners-page .hm-partners-2026__grid--text:not(:has(> :nth-child(6))) {
		display: block !important;
		border: 0 !important;
	}

	body.hm-partners-page .hm-partners-2026__grid--text .hm-partners-2026__item {
		border-right: 0 !important;
		border-bottom: .5pt solid #aaa !important;
	}

	body.hm-partners-page .hm-partners-2026__grid--text .hm-partners-2026__link {
		min-height: 0 !important;
		padding: 3mm 0 !important;
	}

	body.hm-partners-page .hm-partners-2026__grid--text .hm-partners-2026__wordmark {
		max-width: none !important;
		text-align: left !important;
	}
}

