.nspPrev:before {
    border: 10px solid #e45613;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: none;
    content: "";
    display: block;
    float: left;
    margin: 3px 0 0 4px;
}
.nspNext:before {
    border: 10px solid #e45613;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-right: none;
    content: "";
    display: block;
    float: left;
    margin: 3px 0 0 6px;
}
.nspNext,
.nspPrev {
    background: #fff;
    border: 2px solid #e45613;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    float: left;
    height: 24px;
    margin: 0 0 0 4px;
    overflow: hidden;
    text-indent: -999px;
    width: 24px;
}
.nspNext:hover,
.nspNext:focus,
.nspNext:active,
.nspPrev:hover,
.nspPrev:focus,
.nspPrev:active {
    border-color: #e45613;
}
.nspNext::hover::before,
.nspPrev::hover::before {
    color: #e45613 !important;
}
.nspArts .nspArtPage {
    padding: 0;
}
.nspArtPage .nspArt {
    position: relative;
}
.nspArtPage .nspArt * {
    margin: 0;
    padding: 0;
    color: #fff;
}
.nspArtPage .nspArt .nspArt-txt {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
    padding: 2rem 3rem 2rem;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(51, 51, 51, 0.8) 100%);
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(51, 51, 51, 0.8) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(51, 51, 51, 0.8) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#cc333333', GradientType=0);
}
.nspArtPage .nspArt .nspArt-txt a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.nspArtPage .nspArt .nspArt-txt a:before {
    content: 'Evidenza';
    background: var(--color-primary);
    position: absolute;
   top: 0;
    right: 0;
    z-index: 9;
    padding: 0 1rem;
    font-family: 'DM Sans';
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 0 0 0 8px;
-webkit-border-radius: 0 0 0 8px;
-moz-border-radius: 0 0 0 8px;
-khtml-border-radius: 0 0 0 8px;
}
.nspArtPage .nspArt .nspArt-txt h4 {
    font-size: clamp(3rem, 3rem + 0vw, 3rem);
    line-height: clamp(2.6rem, 2.86rem + -0.3vw, 2.6rem);
    font-weight: normal;
    text-transform: uppercase;
    font-family: 'DM Serif Display';
    min-height: 5rem;
}
.nspArtPage .nspArt .nspArt-txt .nspInfo1 {
	font-size: 1.4rem;
	line-height: 1.4rem;
	margin-bottom: 0.5rem;
}
.nspArtPage .nspArt .nspArt-img {
	position: relative !important;
	padding-top: 160%;
	height: 0;
	overflow: hidden;
}
.nspArtPage .nspArt .nspArt-img img {
	object-fit: cover;
	object-position: center center;
	height: 100% !important;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
    width: 100% !important;
}
/* materiali in evidenza homepage */
.nspArtPage {
    display: grid;
    gap: 2rem;
}
.materiali .nspArtPage .nspArt {
    padding-bottom: 1rem;
    overflow: hidden;
}
@media (max-width: 499px) {
    .materiali .nspArtPage .nspArt {
        aspect-ratio: 1;
    } 
}
@media (max-width: 500px) {
    .materiali .nspArtPage .nspArt {
        aspect-ratio: 1;
    } 
}
@media (min-width: 501px) and (max-width: 1199px) {
    .materiali .nspArtPage .nspArt {
        aspect-ratio: 16/5;
    } 
}
@media (min-width: 1200px) {
    .materiali .nspArtPage {
        grid-template-columns: repeat(2, 0.5fr);
    }
}
@media (min-width: 1200px) {
    .materiali .nspArtPage {
        grid-template-columns: repeat(3, 1fr);
    }
}
.materiali .nspArtPage .nspArt:hover img {
	object-position: right center !important;
}
/* news in evidenza homepage */
@media (max-width: 699px) {
    .news .nspArtPage {
        grid-template-columns: repeat(2, 0.5fr);
    }
}
@media (min-width: 700px) and (max-width: 1200px) {
    .news .nspArtPage {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 1201px) {
    .news .nspArtPage {
        grid-template-columns: repeat(2, 1fr);
    }
}
.news .nspArtPage .nspArt .nspArt-img {
	position: relative !important;
	padding-top: 100%;
	height: 0;
	overflow: hidden;
	position: relative;
}
.news .nspArtPage .nspArt:hover img {
    -webkit-transform: scale(1.15) rotate(-1.5deg);
    -moz-transform: scale(1.15) rotate(-1.5deg);
    -ms-transform: scale(1.15) rotate(-1.5deg);
    -o-transform: scale(1.15) rotate(-1.5deg);
    transform: scale(1.15) rotate(-1.5deg);
}
