.apefp-proximos-eventos {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
}

.apefp-evento-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 18px 17px;
	background: #fff;
	border: 1px solid #CBCBCB;
	border-radius: 30px;
	color: #002050;
	box-sizing: border-box;
}

.apefp-evento-card__topo {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.apefp-evento-card__data {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 85px;
	height: 85px;
	color: #fff;
	background: #04203E;
	border-radius: 16px;
	line-height: 1;
}

.apefp-evento-card__data strong {
    font-family: "Montserrat", sans-serif;
	font-size: 25px;
	font-weight: 800;
}

.apefp-evento-card__data span {
	margin-top: 9px;
	font-family: "Montserrat", sans-serif;
	font-size: 15px;
	font-weight: 500;
}

.apefp-evento-card__badge {
	padding: 6px 16px;
	color: #04203E;
	background: #F5F9FF;
	border-radius: 30px;
    font-family: "Montserrat", sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 22px;
}

.apefp-evento-card__titulo {
	margin: 17px 0 24px;
	font-family: "Montserrat", sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
}

.apefp-evento-card__titulo a {
	color: #002753;
	text-decoration: none;
}

.apefp-evento-card__titulo a:hover {
	text-decoration: underline;
}

.apefp-evento-card__detalhes {
	margin-bottom: 24px;
    font-family: "Montserrat", sans-serif;
	color: #000000;
	font-size: 15px;
    line-height: 22px;
}

.apefp-evento-card__detalhes p {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 9px 0;
}

.apefp-evento-card__icone {
	display: block;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.apefp-evento-card__botao {
	display: block;
	margin-top: auto;
	padding: 14px 20px;
	color: #fff;
	background: #FF7E17;
	border-radius: 30px;
    font-family: "Montserrat", sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	text-align: center;
	text-decoration: none;
}

.apefp-evento-card__botao:hover,
.apefp-evento-card__botao:focus {
	color: #fff;
	background: #e96000;
}

@media (max-width: 1024px) {
	.apefp-proximos-eventos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.apefp-proximos-eventos {
		grid-template-columns: 1fr;
	}
	.apefp-evento-card__badge {
		font-size: 15px;
	}
	.apefp-evento-card__titulo{
		font-size: 15px;
	}
}