/* Friocom Cases 0.2.2 — grade fixa com o card da antiga listagem JetEngine #4044. */
.fc-cases {
	--fc-colunas: 3;
}

.fc-cases__grade {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	margin: 0 -10px;
	padding: 0;
	list-style: none;
}

.fc-cases__item {
	flex: 0 0 calc(100% / var(--fc-colunas));
	max-width: calc(100% / var(--fc-colunas));
	box-sizing: border-box;
	margin: 0;
	padding: 10px;
}

.fc-case {
	background: #fff;
	border: 1px solid #dedede;
}

.fc-case__imagem {
	height: 270px;
	overflow: hidden;
	background: #f2f2f2;
}

.fc-case__imagem img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
}

.fc-case__corpo {
	padding: 10px 20px 20px;
	text-align: center;
}

.fc-cases .fc-case__titulo {
	margin: 0 0 20px;
	font-family: "Museo Sans", sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 24px;
	color: #1d225f;
}

.fc-cases .fc-case__titulo a {
	color: inherit;
	text-decoration: none;
}

.fc-cases .fc-case__botao {
	display: inline-block;
	padding: 15px 60px;
	font-family: "Museo Sans", sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 15px;
	color: #fff;
	background-color: #2f70c0;
	border-radius: 0;
	text-decoration: none;
	transition: background-color 0.3s, color 0.3s;
}

.fc-cases .fc-case__botao:hover,
.fc-cases .fc-case__botao:focus {
	color: #fff;
	background-color: #1d225f;
}

/* O site aplica "a { outline: none !important }" globalmente; aqui o foco precisa ser visível. */
.fc-cases a:focus-visible {
	outline: 2px solid #2f70c0 !important;
	outline-offset: 2px;
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2f70c0;
}

@media (max-width: 1024px) {
	.fc-cases {
		--fc-colunas: 2;
	}
}

@media (max-width: 767px) {
	.fc-cases {
		--fc-colunas: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fc-cases .fc-case__botao {
		transition: none;
	}
}
