/**
 * Portfolio Slider
 * 100% larghezza contenitore, immagini object-fit: cover, frecce
 */

.portfolio-slider {
	position: relative;
	width: 100%;
	min-width: 100%;
	height: 100%;
	min-height: 100%;
	overflow: hidden;
	background: #000;
}

.portfolio-slider__track {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 300px;
}

.portfolio-slider__slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.6s ease-in-out;
	pointer-events: none;
}

.portfolio-slider__slide.is-active {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
}

.portfolio-slider__img {
	width: 100%;
	height: 100%;
	min-height: 300px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* Frecce - rettangolari nere, chevron bianchi, attaccate ai bordi (come immagine di riferimento) */
.portfolio-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 40px;
	height: 40px;
	min-width: 40px;
	min-height: 40px;
	border: none;
	border-radius: 0;
	background-color: rgba(0, 0, 0, 0.85);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s;
	box-shadow: none;
}

.portfolio-slider__arrow:hover {
	background-color: rgba(0, 0, 0, 0.75);
}

.portfolio-slider__arrow:focus {
	/* outline: 2px solid #fff; */
	outline-offset: -2px;
}

/* Chevron come background-image SVG (sempre visibili) - stroke più spesso per visibilità */
.portfolio-slider__arrow--prev {
	left: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 24px 24px;
}

.portfolio-slider__arrow--next {
	right: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 24px 24px;
}
