@keyframes autoPlayTimer {

	0% {
		transform: translateX(-100%);
	}

	100% {
		transform: translateX(0);
	}

}

.m-logos_tab {
	color: var(--white);
}

.m-logos_tab__inner {
	display: flex;
	gap: var(--spacing_12) 0;
	flex-direction: column;
}

.m-logos_tab__intro {
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: var(--grey_80);
	text-align: center;
}

.m-logos_tab__introheading,
.m-logos_tab__introtext {

	* {
		color: var(--white);
	}

}

.m-logos_tab__introheading {

	display: inline-flex;
	flex-direction: column;
	margin-inline: auto;

	.slick-track {
		margin: 0;
		width: max-content!important;
	}

	.slick-slide {
		width: auto!important;
		padding-inline: .188rem;
		cursor: pointer;
	} 

}

.m-logos_tab__introheading--autoplay {

	.slick-slide {

		strong {

			display: inline-flex;
			position: relative;
			padding-bottom: 1px;
			overflow: hidden;

			&:before,
			&:after {
				content: '';
				position: absolute;
				bottom: 0;
				left: 0;
				width: 100%;
				height: 2px;
			}

			&:before {
				background-color: rgba(255,255,255, .2);
			}

			&:after {
				background-color: var(--white);
				transform: translateX(-100%);
				transform var(--transitionSpeed);
			}		

		} 

		&.slick-current {

			strong {

				&:after {
					animation-name: autoPlayTimer;
					animation-fill-mode: forwards;
					animation-play-state: running;
				}

			}

		}

	}

}

.m-logos_tab__introtext {
	margin-top: var(--spacing_2-5);
}

.m-logos_tab__actions {
	margin-top: var(--spacing_5);
}

.m-logos_tab__logosslides:not(.slick-initialized) {
	display: none;
}

.m-logos_tab__logos {
	display: flex!important;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--spacing_5);
	margin-inline: var(--spacing_2-5);
}

.m-logos_tab__item {
	display: flex;
	flex-direction: column;
	width: calc(50% - (var(--spacing_5)/2));
	background-color: var(--white);
	border-radius: var(--radius_sm);
	text-align: center;
	overflow: hidden;
}

.m-logos_tab__itemlink {

	flex-grow: 1;
	display: block;
	text-decoration: none;
	position: relative;
	overflow: hidden;

	&:before {
		content: "";
		position: absolute;
		top: 0;
		width: 100%;
		height: 100%;
		background: var(--shine-effect);
		left: -100%;
		transition: var(--shine-transition);
	}

	&:hover,
	&:focus {

		text-decoration: none;

		&:before {
			left: 100%;
		}

	}

}

.m-logos_tab__itemimagewrapper {
	padding: var(--spacing_3);
}

.m-logos_tab__itemimage {
	margin-inline: auto;
	width: 100%;
	max-width: 400px;
	height: 76px;
	object-fit: contain;
}

@media (min-width: 992px) {

	.m-logos_tab__inner {
		justify-content: space-between;
	}

	.m-logos_tab__introheading {

		flex-direction: row;

		.slick-list {
			flex: 1 1 0;
			width: auto!important;
		}

	}

	.m-logos_tab__actions {
		margin-inline: auto;
	}

	.m-logos_tab__logos {
		gap: var(--grid_gutters);
	}

	.m-logos_tab__item {
		align-items: center;
		justify-content: center;
		flex: 1 1 calc(16.6666% - var(--grid_gutters));
		height: 100px;
	}

}

@media (max-width: 991px) {

	.m-logos_tab__intro {
		text-align: center;
	}

	.m-logos_tab__introheading {

		.slick-track {
			width: 100% !important;
			justify-content: center;
			display: flex;
			flex-wrap: wrap;
		}

	}

}
