/* ==========================================================================
   HOME — COOPERATION SLIDER
   Standalone stylesheet (not part of the gulp/scss build).
   Enqueued directly in functions.php -> load_styles().
   ========================================================================== */

.home--cooperation {
	margin-top: 7rem;
	margin-bottom: 10rem;
}

.home--cooperation .container {
	position: relative;
	text-align: center;
}

.home--cooperation .container .flower-left {
	position: absolute;
	z-index: 5;
	top: auto;
	bottom: -9rem;
	left: -8rem;
	max-width: 14rem;
	pointer-events: none;
}

.home--cooperation .container .flower-left svg {
	height: auto;
	width: 100%;
}

@media screen and (max-width: 768px) {
	.home--cooperation .container .flower-left {
		display: none;
	}
}

/* Arrows — top right of the section header ------------------------------- */

.home--cooperation .icons-arrows {
	position: absolute;
	top: auto;
	bottom: -3rem;
	right: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1.2rem;
}

.home--cooperation .icons-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	padding: 0.4rem;
	cursor: pointer;
}

.home--cooperation .icons-arrow svg {
	width: 2.8rem;
	height: 2.8rem;
}

.home--cooperation .icons-arrow svg path {
	transition: all 0.4s ease;
}

.home--cooperation .icons-arrow:hover svg path {
	stroke: #ED163B;
}

.home--cooperation .icons-arrow.swiper-button-disabled {
	opacity: 0.3;
	pointer-events: none;
}

.home--cooperation .icons-arrows.is-hidden {
	display: none;
}

@media screen and (max-width: 768px) {
	.home--cooperation .icons-arrows {
		position: static;
		justify-content: center;
		margin-bottom: 2rem;
	}
}

/* Slider wrapper --------------------------------------------------------- */

.cooperation-slider {
	position: relative;
	margin-top: 5rem;
}

.cooperation-slider__swiper {
	overflow: hidden;
	padding: 1.4rem 0.4rem;
}

.cooperation-slider__swiper .swiper-slide {
	height: auto;
	display: flex;
}

/* Logo card --------------------------------------------------------------- */

.cooperation-slider__card {
	width: 100%;
	height: 11.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #fff;
	border: 1px solid #F0F0F0;
	border-radius: 16px;
	padding: 1.6rem 2rem;
	transition: border-color 0.4s ease;
}

.cooperation-slider__card:hover {
	border-color: #231F20;
}

.cooperation-slider__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.cooperation-slider__logo img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(100%);
	opacity: 0.55;
	transition: all 0.4s ease;
}

.cooperation-slider__card:hover .cooperation-slider__logo img {
	filter: grayscale(0%);
	opacity: 1;
}

@media screen and (max-width: 992px) {
	.cooperation-slider__card {
		height: 125px;
		padding: 1.4rem 1.6rem;
	}
}

@media screen and (max-width: 576px) {
	.cooperation-slider__card {
		height: 115px;
		padding: 1.2rem 1.4rem;
		border-radius: 12px;
	}
}

/* When there aren't enough logos to overflow, center the row instead of
   leaving it stuck to the left. */
.cooperation-slider__swiper .swiper-wrapper.cooperation-slider__wrapper--no-overflow {
	justify-content: center;
}
