/* Home News Modul VC */

.no-overflow {
	overflow: visible !important;
}

.newshome-wrapper {	
	margin-top: var(--maple-newshome-margin-top);
	margin-bottom: var(--maple-newshome-margin-bottom);
}

.lineclamp-1 {
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}

.lineclamp-2 {
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.newshome-items {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 70px;
	padding-left: 0;
	margin-left: 0;
	list-style: none;
}

.newshome-item::before {
	display: none;
}

.newshome-item {
	text-align: left;
}

.newshome-item a {
	text-decoration: none;
}

.newshome-item:nth-child(even) {
	transform: translateY(50%);
}

.newshome-content h3 {
	font-size: 30px;
	margin: 5px 0 -5px;
	padding-right: 50px;
	line-height: 1.3;
}

.newshome-content p {
	font-size: 18px;
	color: var(--white);
	margin: 5px 0;
	padding-right: 50px;
}

.newshome-item img {
	filter: grayscale(1) brightness(0.8) contrast(2);
	transition: 0.2s;
	position: relative;
	display: block;
	width: 100%;
	height: auto;
}

.newshome-item .newshome-image {
	position: relative;
	z-index: 1;
}

.newshome-item .newshome-image:after {
	content: '';
	width: 100%;
	height: 100%;
	display: block;
	position: absolute;
	z-index: -1;
	background-color: var(--aqua-4);
	left: -20px;
	top: -20px;
}

.newshome-item a:hover img {
	filter: grayscale(0) brightness(1) contrast(1);
}

.newshome-content {
	position: relative;
}

.newshome-content:after {
	content: '\f102';
	font-weight: 900;
	font-family: 'Font Awesome 7 Free';
	font-size: 35px;
	position: absolute;
	top: 0;
	right: 0;
	transform: rotate(45deg);
	color: var(--black);
}

.newshome-empty {
	font-size: 18px;
	color: var(--black);
}

.newshome-pagination {
	margin-top: 60px;
}

.newshome-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 0;
	margin: 0;
	list-style: none;
	justify-content: center;	
}

.newshome-pagination ul li::before {
	display: none;
}

.newshome-pagination ul li {
	padding-left: 10px;
}

.newshome-pagination a,
.newshome-pagination span {
	display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 2px 12px 0;
    border: 1px solid currentColor;
    text-decoration: none;
    line-height: 1;
    color: var(--black);
    background-color: var(--aqua-4);
    border-radius: 5px;
}

.newshome-pagination .current {
	background: var(--black);
	color: var(--white);
}

@media (max-width: 768px) {
	.newshome-items {
		grid-template-columns: repeat(1, auto);
		gap: 30px;
		padding-left: 0;
		margin-left: 0;
		list-style: none;
	}

	.newshome-item:nth-child(2) {
		transform: translateY(0%);
	}

	.lineclamp-1 {
		-webkit-line-clamp: 2;
	}

	.lineclamp-2 {
		-webkit-line-clamp: 3;
	}
	.newshome-item:nth-child(even) {
    transform: translateY(0%);
}
}
