@charset "utf-8";

.blog-posts-recent{
	max-width: 1800px;
	margin: auto auto;
}
.blog-posts-recent h2{
	font-size: 24px !important;
}
.blog-posts-recent h3{
	font-size: 20px !important;
	font-family: Poppins;
	font-weight: 400;
	line-height: 120%;
	letter-spacing: 0px !important;
	text-transform: none !important;

}
.blog-posts-recent article:first-child h3{
	max-width: 500px;
}
.blog-posts-recent article{
	background: #282328;
	border-radius: 8px;
	position: relative;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
}


.blog-posts-recent article .image img{
    transition: transform 0.45s ease;
    will-change: transform;
	transition: transform 0.5s cubic-bezier(.22,.61,.36,1);
}

.blog-posts-recent article:hover .image img{
    transform: scale(1.08);
}

.blog-posts-recent article a{
	display: flex;
	flex-wrap: wrap;
	color: #999;
	width: 100%;
	padding-top: 100px;
}
.blog-posts-recent .image{
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	border-radius: 4px;
	overflow: hidden;
	left: 0px;
	top: 0px;
}
.blog-posts-recent .image img{
	display: block;
	width: 100%;
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	left: 0px;
	top: 0px;
}

.blog-posts-recent .text{
	display: block;
	position: relative;
	z-index: 10;
	width: 100%;
	padding: 20px;
	padding-top: 60px;
	height: 100%;
/* Permalink - use to edit and share this gradient. Permalink - Zum Bearbeiten und Teilen dieses Verlaufs verwenden: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+1,0.7+48,0.85+100 */
background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 1%,rgba(0,0,0,0.7) 48%,rgba(0,0,0,0.85) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	
}

.blog-posts-recent .date{
	background: rgba(0,0,0,0.8);
	line-height: 100%;
	padding: 10px;
	border-radius: 5px;
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 10;
	color: #fff;
	
	font-weight: 800;
	display: block;
}
.blog-posts-recent .month{
	display: block;
	text-transform: uppercase;
	font-size: 24px;
	margin-bottom: 5px;
}
.blog-posts-recent .year{
	display: block;
	line-height: 100%;
	font-size: 19px;
	font-weight: 400;
}

.blogposts-recent-wrapper{
	display: grid;
  grid-template-columns: 50% 1fr 1fr;
  gap: 40px;
}

.blogposts-recent-wrapper article:nth-child(1){
	grid-row: 1 / 3;
	grid-columns: 1 / 2;
}
.blogposts-recent-wrapper article:nth-child(2){
	grid-row: 1 / 2;
	grid-columns: 2 / 3;
}
.blogposts-recent-wrapper article:nth-child(3){
	grid-row: 2 / 3;
	grid-columns: 3 / 4;
}
.blogposts-recent-wrapper article:nth-child(4){
	grid-row: 1 / 2;
	grid-columns: 2 / 3;
}
.blogposts-recent-wrapper article:nth-child(5){
	grid-row: 2 / 3;
	grid-columns: 3 / 4;
}


@media(max-width: 1500px){

.blogposts-recent-wrapper{
	display: grid;
	grid-template-columns: 50% 1fr;
	gap: 40px;
}

.blogposts-recent-wrapper article:nth-child(1){
	grid-columns: 1 / 2;
	grid-row: 1 / 3;
	
}
.blogposts-recent-wrapper article:nth-child(2){
	grid-columns: 2 / 3;
	grid-row: 1 / 2;
	
}
.blogposts-recent-wrapper article:nth-child(3){
	grid-columns: 2 / 3;
	grid-row: 2 / 3;
}
.blogposts-recent-wrapper article:nth-child(4){
	grid-columns: 1 / 2;
	grid-row: 3 / 4;
	
}
.blogposts-recent-wrapper article:nth-child(5){
	grid-columns: 2 / 3;
	grid-row: 3 / 4;
	
}

	
}


@media(max-width: 1200px){
	.blog-posts-recent h3{
		font-size: 18px !important;
	}
}
@media(max-width: 1024px){
	.blogposts-recent-wrapper{
		gap: 20px;
		grid-template-columns: auto;
	}
    .blogposts-recent-wrapper{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .blogposts-recent-wrapper article:nth-child(1){
        grid-column: 1 / -1; /* gesamte Breite */
        grid-row: 1;
    }

    .blogposts-recent-wrapper article:nth-child(2){
        grid-column: 1;
        grid-row: 2;
    }

    .blogposts-recent-wrapper article:nth-child(3){
        grid-column: 2;
        grid-row: 2;
    }
	
	
	
}

@media(max-width: 768px){
	.blog-posts-recent h2 {
		font-size: 18px !important;
	}

	.blog-posts-recent h3{
		font-size: 16px !important;
		margin-bottom: 15px;
	}
	
	
}
@media(max-width: 600px){
	.blogposts-recent-wrapper{
		display: block;
	}
	.blogposts-recent-wrapper article{
		margin-bottom: 20px;
	}
	
	.blog-posts-recent article:first-child h3,
	.blog-posts-recent h3{
		max-width: 300px;
	}
	.blog-posts-recent .btn-primary{
		width: auto;
	}
}


@media(max-width: 480px){

	.blog-posts-recent h2 {
		font-size: 16px !important;
	}
	.blog-posts-recent h3{
		font-size: 16px !important;
		margin-bottom: 10px;
	}

}
