
.seo h1 {
	font-size: 1.5rem;
	font-weight: bold;
	color: #404040;
}

.cats-middle ul.cats-leafs {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: flex-start;
	align-items: flex-start;
	padding: 0px;
}

.cats-middle .cats-leafs li {
	order: 0;
	flex: 0 1 245px;
	align-self: auto;
	margin: 0px 7px 7px 0px;

	width: 245px;
	
	line-height: 200px;
	border: 1px solid #e4e2e2;

	text-align: center;
	background-size: contain;

	position: relative;
}

/* trick: height equal to width (require li position:relative) */
.cats-middle .cats-leafs li:before {
	content: "";
	float: left;
	padding-top: 100%;
}

.cats-middle .cats-leafs li a {
	color: #5c6167;
	line-height: normal;
	position: absolute;
}

.cats-middle .cats-leafs li a div {
	font-weight: bold;
	background: #ffffffd9;
	position: absolute;
	bottom: 0px;
	padding: 3px;
	width: 100%;
	min-height: 42px;
}

.cats-middle .brands-logos {
	display: flex;
	justify-content: space-between;
	margin-bottom: 17px;
	width: 100%;
	overflow-x: auto;
	gap: 0 10px;
	padding: 0;
	padding-right: 18px;
}

.cats-leafs li a {
	width: 100%;
	height: 100%;
	display: block;
	text-align: center;
}

.cats-leafs img {
	max-width: 70%;
	text-align: center;
	margin: 7px 0 7px;
}

@media only screen and (max-width: 720px) { /* smartphone */
	.cats-middle .cats-leafs li {
		flex: 0 1 100%;
	}

	.cats-leafs img {
		max-width: 40%;
	}
}

@media only screen and (min-width:415px) and (max-width:1199px) { /* tablet */
	.cats-middle .cats-leafs li {
		flex: 0 1 239px;
		width: 235px;
		height: 235px;
	}
}
