

/* Start:/local/templates/zamki.market/components/ma/news/brands/ma/news.list/brands-page/style.css?17646796223151*/
h1.content__title {
	margin: 0 auto 100px;
}
.brands{
	margin-top: 47px;
}

.brands > h2{
	font-size: 24px;
	font-weight: 600;
	line-height: 1.35;
}

.brands-wrap{
	display: grid;
	grid-gap: 16px;
	grid-template-columns: repeat(5, 1fr);
}

.brands__item{
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	min-height: 180px;
	display: flex;
	flex-direction: column;
}

.brands__item-link{
	position: absolute;
	content: '';
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
}

.brands__holder{
	position: relative;
	z-index: 2;
	flex: 1;
	display: flex;
	flex-direction: column;
	background-color: var(--site-second-background-color);
	border-radius: 10px;
	height: 100%;
	box-sizing: border-box;
}

.brands__item-img{
	position: relative;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.brands__item-img img{
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	transition: opacity .2s ease;
	display: block;
}

.brands__item-img .hover-img{
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.brands__item-title{
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 8px;
	flex-shrink: 0;
}

.brands__item-preview{
	font-size: 14px;
	line-height: 1.4;
	color: #666;
	flex: 1;
	overflow: hidden;
	padding: 16px;
	display: flex;
    flex-direction: column;
    gap: 8px;
}

.brands__item-preview h2 {
	font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
	margin: 0;
}

.brands__item-preview p {
	margin: 0;
}

.links__blocks-item-more {
    font-size: 14px;
    font-weight: 500;
    color: var(--site-text2-color);
	display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: end;
}
.prev-link::before {
	display: none;
}

@media(min-width: 769px){
	.brands__item:hover{
		cursor: pointer;
	}
	
	.brands__item:hover .brands__holder{
		box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	}

	.brands__item:hover .brands__item-img.has-hover img:first-child{
		opacity: 0;
	}

	.brands__item:hover .brands__item-img.has-hover .hover-img{
		opacity: 1;
	}
}

@media(max-width: 1200px){
	.brands-wrap{
		grid-template-columns: repeat(4, 1fr);
	}
}

@media(max-width: 992px){
	.brands-wrap{
		grid-template-columns: repeat(3, 1fr);
	}
}

@media(max-width: 991px){
	h1.content__title {
		margin: 0 auto 50px;
	}
}

@media(max-width: 768px){
	.brands{
		margin-top: 16px;
	}

	.brands > h2{
		font-size: 20px;
		margin-bottom: 20px;
	}

	.brands-wrap{
		grid-gap: 12px;
		grid-template-columns: repeat(2, 1fr);
		overflow-x: visible;
		margin-left: 0;
		margin-right: 0;
		padding: 0;
	}
	
	.brands__item{
		min-height: 160px;
		min-width: auto;
	}
	
	.brands__holder{
		padding: 12px;
	}
	
	.brands__item-img{
		height: 70px;
	}
	
	.brands__item-title{
		font-size: 14px;
	}
	
	.brands__item-preview{
		font-size: 12px;
	}
}

@media(max-width: 480px){
	.brands-wrap{
		grid-template-columns: 1fr;
	}
}
/* End */
/* /local/templates/zamki.market/components/ma/news/brands/ma/news.list/brands-page/style.css?17646796223151 */
