/**
 * LHF NLHA - Partners Grid Styles
 */

.lhf-partners-grid-wrapper {
	width: 100%;
	box-sizing: border-box;
}

.lhf-partners-grid {
	display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	column-gap: var(--lhf-gap-col, 30px);
	row-gap: var(--lhf-gap-row, 30px);
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Individual Partner Item */
.lhf-partner-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	flex: 0 0 calc((100% - (var(--lhf-columns, 4) - 1) * var(--lhf-gap-col, 30px)) / var(--lhf-columns, 4));
	max-width: calc((100% - (var(--lhf-columns, 4) - 1) * var(--lhf-gap-col, 30px)) / var(--lhf-columns, 4));
	width: calc((100% - (var(--lhf-columns, 4) - 1) * var(--lhf-gap-col, 30px)) / var(--lhf-columns, 4));
}

.lhf-partner-link {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: inherit;
	width: 100%;
	transition: transform 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
}

.lhf-partner-item:not([href]) .lhf-partner-static {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.lhf-partner-logo-container {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.lhf-partner-logo {
	max-width: 100%;
	height: auto;
	display: block;
	transition: opacity 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}

.lhf-partner-name {
	margin-top: 8px;
	text-align: center;
	display: block;
	font-size: 14px;
	line-height: 1.3;
}
