/* =========================================================
   BORSERINI - INDUSTRY CAROUSEL
   ========================================================= */

.bors-industry-carousel-wrap {
	position: relative;
	width: 100%;
}

.bors-industry-carousel {
	position: relative;
	width: 100%;
	padding: 35px 55px;
}

.bors-industry-carousel .swiper-slide {
	width: 245px;
	height: 245px;
	flex: 0 0 245px;
	transition: transform .4s ease, opacity .4s ease;
	transform: scale(.78);
	opacity: .9;
}

.bors-industry-carousel .swiper-slide-prev,
.bors-industry-carousel .swiper-slide-next {
	transform: scale(.9);
	opacity: 1;
}

.bors-industry-carousel .swiper-slide-active {
	transform: scale(1);
	opacity: 1;
	z-index: 3;
}


/* CARD */

.bors-industry-card__link {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.bors-industry-card__image {
	width: 100%;
	height: 100%;
}

.bors-industry-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}


/* Bordo categorie, con hover*/
.bors-industry-card__link::before {
	content: "";
	position: absolute;
	z-index: 4;
	inset: 0;
	border: 1px solid #d0d0d0;
	pointer-events: none;
	transition: border-color .25s ease, border-width .25s ease;
}

.bors-industry-card__link:hover::before {
	border: 4px solid #F07E26;
}



/* GRADIENTE */

.bors-industry-card__link::after {
	content: "";
	position: absolute;
	z-index: 1;
	left: 0;
	right: 0;
	bottom: 0;
	height: 35%;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, .55),
		rgba(0, 0, 0, 0)
	);
	pointer-events: none;
}


/* TITOLO */

.bors-industry-card__title {
	position: absolute;
	z-index: 2;
	left: 12px;
	right: 12px;
	bottom: 12px;
	margin: 0;

	font-family: "Noto Sans", sans-serif;
	font-size: 22px !important;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0;
	text-align: center;

	color: #fff;

	text-shadow:
		0 1px 2px rgba(0, 0, 0, .8),
		0 0 4px rgba(0, 0, 0, .45);

	-webkit-text-stroke: .3px rgba(0, 0, 0, .45);
}

/* Titoli categorie più piccoli su tablet e smartphone */
	@media (max-width: 1024px) {
		.bors-industry-card__title {font-size: 20px !important}
	}

	@media (max-width: 767px) {
		.bors-industry-card__title {font-size: 18px !important}
	}


/* FRECCE */

.bors-industry-carousel__prev,
.bors-industry-carousel__next {
	position: absolute;
	z-index: 10;
	top: 50%;
	width: 0;
	height: 0;
	cursor: pointer;
	transform: translateY(-50%);
}

.bors-industry-carousel__prev {
	left: 5px;
	border-top: 28px solid transparent;
	border-bottom: 28px solid transparent;
	border-right: 28px solid #706f6f;
}

.bors-industry-carousel__next {
	right: 5px;
	border-top: 28px solid transparent;
	border-bottom: 28px solid transparent;
	border-left: 28px solid #706f6f;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

	.bors-industry-carousel {
		padding-left: 45px;
		padding-right: 45px;
	}

	.bors-industry-carousel .swiper-slide {
		width: 220px;
		height: 220px;
		flex: 0 0 220px;
	}

	.bors-industry-carousel__prev {
    left: -8px;
    border-top-width: 16px;
    border-bottom-width: 16px;
    border-right-width: 16px;
}

.bors-industry-carousel__next {
    right: -8px;
    border-top-width: 16px;
    border-bottom-width: 16px;
    border-left-width: 16px;
}

}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 767px) {

	.bors-industry-carousel {
		padding: 25px 38px;
	}

	.bors-industry-carousel .swiper-slide {
		width: 42vw;
		height: 180px;
		flex: 0 0 42vw;
		transform: scale(.72);
		opacity: .85;
	}

	.bors-industry-carousel .swiper-slide-prev,
	.bors-industry-carousel .swiper-slide-next {
		transform: scale(.82);
		opacity: 1;
	}

	.bors-industry-carousel .swiper-slide-active {
		transform: scale(1);
		opacity: 1;
		z-index: 3;
	}

	.bors-industry-carousel__prev {
		left: -20px;
		border-top-width: 11px;
		border-bottom-width: 11px;
		border-right-width: 11px;
	}

	.bors-industry-carousel__next {
		right: -20px;
		border-top-width: 11px;
		border-bottom-width: 11px;
		border-left-width: 11px;
	}
}