main.site-main {
	background-color: #F0F0EA;
	padding-top: 184px;
	padding-bottom: 184px;
	padding-left: 23px;
	padding-right: 23px;
	margin-top: 91px;
}

main.site-main .page-content {
	max-width: 100%;
	width: 1630px;
	margin: 0 auto;
	z-index: 2;
	position: relative;
}

.page-header h1 {
	font-size: 48px;
	font-weight: 600;
	margin: 24px 0 0;
	line-height: 1.88;
}

.ultime-news-carousel {
	display: flex;
	flex-wrap: wrap;
	margin-top: 48px;
	column-gap: 40px;
	row-gap: 40px;
}

.news-item {
	position: relative;
	flex: 0 0 calc(25% - 30px)
}

.news-item a.permalink {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 3;
}

.news-item .news-thumb {
	height: 160px;
	position: relative;
	overflow: hidden;
}

.news-item .news-thumb img {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	object-fit: cover;
	transition: .5s;
}

.news-item a:hover + .news-thumb img {
	transform: scale(1.2);
}

.news-item .news-meta {
	background-color: #f0f0ea;
	padding: 0px 17px 0px 12px;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	transform: translateY(-27px);
	position: relative;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	height: 27px;
}

.news-item .news-meta span {
	display: block;
	line-height: 1;
}

.news-item .news-date {
	display: block;
	margin-top: -9px;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	line-height: 1;
}

.news-item .news-title {
	margin-top: 16px;
	margin-bottom: 0;
	font-weight: 400;
	font-size: 16px;
}

.news-item .icon {
	margin-right: 0;
	margin-left: auto;
	display: table;
	width: 16px;
	transition: .5s;
}

.news-item a:hover + .news-thumb + .news-meta + .news-date + .news-title + .icon {
	transform: translateX(5px);
}

.news-item .icon svg {
	width: 100%;
}

main#content:before {
	content: '';
	width: 100%;
	height: 400px;
	position: absolute;
	top: 91px;
	left: 0;
	background: url(https://www.italpreziosi.it/wp-content/uploads/2025/06/pattern-homepage.svg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
}


section.flash-news {
	margin-top: 80px;
}

section.flash-news .head {
	border-bottom: 1px solid var(--text);
	margin-bottom: 32px;
}

section.flash-news .head h2 {
	margin: 0;
	font-size: 12px;
	text-transform: uppercase;
	background-color: var(--1);
	display: table;
	padding: 13px 18px 12px;
	line-height: 1;
}

.flash-news-list {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	column-gap: 40px;
}

.flash-news-list .flash-item {
	flex: 0 0 calc(33.33% - 27px);
	background-color: #fff;
	border-radius: 20px;
	padding: 24px 20px;
	box-sizing: border-box;
	overflow: hidden;
	position: relative;
}

.flash-news-list .flash-item:after {
	content: '';
	width: 100%;
	height: 4px;
	position: absolute;
	background-color: var(--1);
	left: 0;
	bottom: 0;
}

.flash-news-list .flash-item .flash-date {
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	display: block;
	line-height: 1;
}

.flash-news-list .flash-item .flash-title {
	margin: 16px 0;
	font-weight: 500;
	font-size: 16px;
	line-height: 1.5;
}

.flash-news-list .flash-item .flash-content {
	font-size: 14px;
	line-height: 2;
}

.flash-news-list .flash-item .flash-toggle {
	font-size: 12px;
	border: 0;
	padding: 0;
	display: flex;
	align-items: center;
	column-gap: 8px;
	font-weight: bold;
	margin-right: 0;
	margin-left: auto;
	cursor: pointer;
	background: none !important;
	color: #111 !important;
}

.flash-news-list .flash-item .flash-toggle .icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 12px;
	height: 12px;
}

.flash-news-list .flash-item .flash-toggle .icon svg {
	width: 100%;
}

.flash-news-list .flash-item .flash-toggle[aria-expanded="false"] .ico-minus {
	display: none;
}

.flash-news-list .flash-item .flash-toggle[aria-expanded="true"] .ico-plus {
	display: none;
}

section.latest-news {
	margin-top: 64px;
}

section.latest-news .section-title {
	margin: 0 0 40px;
	line-height: 1;
	display: block;
	border-bottom: 1px solid var(--text);
	padding-bottom: 40px;
	font-size: 32px;
	font-weight: 600;
}

.pagination ul {
	display: flex;
	justify-content: center;
	align-items: center;
	list-style: none;
	padding: 0;
	flex-wrap: wrap;
	margin-top: 64px;
	column-gap: 24px;
}

.pagination ul li a,
.pagination ul li span {
	text-decoration: none;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #fff;
	border-radius: 50px;
	font-weight: 400;
}

.pagination ul li span.current,
.pagination ul li a:hover{
	background-color: var(--1);
	font-weight: 600;
}

/* Paginazione categorie */
.category .site-main .page-content .pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	column-gap: 40px;
	row-gap: 20px;
	flex-wrap: wrap;
	margin-top: 48px;
}

@media screen and (max-width: 1024px) {
	main.site-main {
		padding: 60px 23px;
	}
}

@media screen and (max-width: 767px) {
	main.site-main {
		margin-top: 91px;
		padding: 60px 23px;
	}
	
	.page-header h1 {
		font-size: 32px;
		margin-top: 32px;
	}
	
	.news-item {
		flex: 0 0 100%;
	}
	
	main#content:before {
		height: 200px;
		top: 120px;
	}
	
	section.flash-news {
		margin-right: -23px;
	}
	
	section.flash-news .head {
		margin-right: 23px;
	}
	
	section.flash-news .owl-stage {
		padding-left: 0 !important;
	}
	
	.flash-news-list .flash-item .flash-title {
		font-size: 14px;
	}
	
	section.flash-news .owl-nav {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		margin-right: 23px;
		margin-top: 32px;
		column-gap: 24px;
	}
	
	section.flash-news .owl-nav button {
		width: 32px;
		height: 32px;
		display: flex;
		justify-content: center;
		align-items: center;
		border: 1px solid #c7c7c7 !important;
	}
	
	section.flash-news .owl-nav button svg {
		height: 12px;
	}
	
	section.flash-news .flash-counter {
		font-size: 14px;
		color: #6d6d6d;
		transform: translateY(-100%)
	}
	
	.pagination ul {
		column-gap: 16px;
	}
}