/**
 * Estilos para o container de 2 colunas (segunda coluna dividida em 2 rows)
 * Banner de Notícias
 */

/* Container de 2 colunas (segunda coluna dividida em 2 rows) */
.container-duas-colunas {
	display: flex;
	gap: 10px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: -5px;
	margin-top: -65px !important;
	padding: 5px 15px;
	padding-bottom: 0;
	max-height: 1000px;
}

.coluna-principal {
	width: 66.6666%;
	flex: 0 0 66.6666%;
	display: flex;
	flex-direction: column;
}

.coluna-secundaria {
	width: 33.3333%;
	flex: 0 0 33.3333%;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bloco-secundario-1,
.bloco-secundario-2 {
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
}

/* Estilos para as notícias */
.noticia-destaque,
.noticia-secundaria {
	position: relative;
	overflow: hidden;
	height: 100%;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
}

.noticia-link-wrapper {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.noticia-imagem {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
}

.noticia-imagem::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.25);
	z-index: 1;
	pointer-events: none;
}

.noticia-destaque .noticia-imagem {
	min-height: 600px;
}

.noticia-secundaria .noticia-imagem {
	min-height: 290px;
}

.noticia-imagem img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.noticia-link-wrapper:hover .noticia-imagem img {
	transform: scale(1.05);
}

/* Overlay azul na parte inferior */
.noticia-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	z-index: 2;
	padding: 0;
}

.noticia-overlay-content {
	display: inline-flex;
	flex-direction: column;
	margin: 20px !important;
	background: #00378F;
	padding: 20px 25px;
	box-sizing: border-box;
}

.noticia-destaque .noticia-overlay-content {
	padding: 25px 30px;
	width: 50%;
	max-width: 50%;
}

.noticia-secundaria .noticia-overlay-content {
	padding: 18px 22px;
	width: 70%;
	max-width: 70%;
}

.noticia-categoria {
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 5px;
}

.noticia-destaque .noticia-categoria {
	font-size: 16px;
}

.noticia-secundaria .noticia-categoria {
	font-size: 14px;
}

.noticia-titulo {
	margin: 0;
	margin-bottom: 10px !important;
	color: #fff;
	font-weight: 900;
	line-height: 1.2;
	text-shadow: none;
	text-transform: uppercase;
}

.noticia-destaque .noticia-titulo {
	font-size: 32px;
	line-height: 1.1;
}

.noticia-secundaria .noticia-titulo {
	font-size: 22px;
	line-height: 1.3;
}

.noticia-link {
	color: #fff;
	text-decoration: underline;
	font-size: 14px;
	font-weight: 300;
	display: inline-block;
}

.noticia-destaque .noticia-link {
	font-size: 15px;
}

.noticia-secundaria .noticia-link {
	font-size: 13px;
}

/* Responsividade */
@media (max-width: 768px) {
	.container-duas-colunas {
		flex-direction: column;
		gap: 10px;
		max-height: 100%;
		width: 102%;
		max-width: 102%;
	}

	.coluna-principal,
	.coluna-secundaria {
		width: 100%;
		flex: 1;
	}

	.coluna-secundaria {
		flex-direction: column;
	}

	.bloco-secundario-1,
	.bloco-secundario-2 {
		min-height: auto;
	}

	.noticia-overlay-content {
		gap: 5px;
		margin: 0px !important;
		max-width: 80% !important;
		width: 80% !important;
	}

	.noticia-destaque .noticia-link {
		font-size: 13px;
	}

	.noticia-destaque .noticia-overlay-content {
		padding: 25px 20px;
		width: 100% !important;
		max-width: 90% !important;
	}

	.noticia-destaque .noticia-imagem {
		height: 600px;
		min-height: 400px;
	}

	.noticia-secundaria .noticia-imagem {
		height: 300px;
		min-height: 300px;
	}

	.noticia-destaque .noticia-overlay {
		height: 35%;
		min-height: 140px;
		padding: 0 15px 15px;
	}

	.noticia-secundaria .noticia-overlay {
		height: 45%;
		min-height: 110px;
		padding: 25px 20px 20px;
	}

	.noticia-destaque .noticia-titulo {
		font-size: 18px;
	}

	.noticia-secundaria .noticia-titulo {
		font-size: 16px;
	}
}
