/* ===== Projects / Notícias ===== */
.projects { margin: 112px 0 102px 0; }
.projects__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.project-card {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	
  	position: relative;
  	border-radius: var(--radius-lg);
  	overflow: hidden;
  	height: 260px;
	justify-items: center;
	align-items: center;
}
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-card__overlay {
	width: 593px;
	height: 384px;
  	position: relative;
  	z-index: 1;
  	height: 100%;
  	background: linear-gradient(0deg, rgba(0,0,0,0.75), rgba(0,0,0,0.2));
  	color: #fff;
  	display: flex;
  	flex-direction: column;
  	justify-content: center;
  	gap: 23px;
	margin: 0 0 0 66px;
}
.project-card__overlay h3 { color: #fff; margin: 0; }
.project-card__overlay p { font-size: 14px; margin: 0; max-width: 380px; }

#home-projects{
	max-width: 712px;
	font-size: 38px;
	font-weight: bold;
	line-height: 1.2;
	margin: 0 0 76px 0;
}
.home-projects-card{
	width: 593px;
	height: 384px;
}
.home-projects-card h3{
	font-size: 36px;
	font-weight: bold;
	line-height: 1.1;
}
.home-projects-card p{
	max-width: 398px;
	font-size: 20px;
	font-weight: 400;
}

@media (max-width: 1320px){
	#home-projects{
		text-align: center;
		font-size: 18px;
		margin: 0 0 37px 0;
	}
	.projects { 
		margin: 72px 0 56px 0; 
	}
	.project-card {
		width: 340px;
		height: 192px;
		justify-self: center;
	}
	.home-projects-card h3{
		display: none;
	}
	.home-projects-card p{
		font-size: 18px;
		font-weight: bold;
	}
	.project-card__overlay {
		margin:0;
		align-items: center;
		max-width: 306px;
		height: auto;
	}
}