.material-list-page {
	--material-list-brown: #6E4D31;
	--material-list-ink: #1F1D1B;
	--material-list-paper: #FAF8F5;
	--material-list-gray: #585858;
	--material-list-divider: #D9D9D9;
	font-family: 'Montserrat', sans-serif;
}

.material-list-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 420px;
	background: #3C3128;
	color: var(--material-list-paper);
}
.material-list-hero.has-background-image { isolation: isolate; background-image: var(--material-list-hero-image); background-position: center; background-size: cover; }
.material-list-hero.has-background-image::before { content: ""; position: absolute; inset: 0 auto 0 0; z-index: 0; width: min(812px, 60%); background: linear-gradient(90deg, rgba(31, 29, 27, 0.7) 0%, rgba(31, 29, 27, 0) 100%); pointer-events: none; }
.material-list-hero__inner { z-index: 1; }

.material-list-hero__inner {
	position: relative;
	width: min(1596px, calc(100% - 42px));
	box-sizing: border-box;
	margin-inline: auto;
	padding-bottom: 66px;
}

.material-list-hero__breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 7px;
	color: #A8A8A8;
	font: 400 12px/15px 'Montserrat', sans-serif;
}

.material-list-hero__breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.material-list-hero__breadcrumb a:hover,
.material-list-hero__breadcrumb a:focus-visible {
	color: var(--material-list-paper);
}

.material-list-hero h1 {
	max-width: 100%;
	margin: 0 0 13px;
	color: var(--material-list-paper);
	font: 400 50px/61px 'Montserrat', sans-serif;
}

.material-list-hero__description {
	width: min(788px, 100%);
	margin: 0;
	color: #D9D9D9;
	font: 400 20px/30px 'Montserrat', sans-serif;
}

.material-list-catalog__inner {
	width: min(1596px, calc(100% - 42px));
	margin-inline: auto;
	padding-top: 52px;
	padding-bottom: 50px;
}

.material-list-catalog__heading {
	margin: 0;
	color: #6E4D31;
	font: 400 40px/49px 'Montserrat', sans-serif;
}

.material-list-filters {
	box-sizing: border-box;
	width: 697px;
	max-width: 100%;
	height: 36px;
	margin-top: 47px;
	display: flex;
	align-items: stretch;
	gap: 80px;
	border-bottom: 1px solid var(--material-list-divider);
}

.material-list-filters__button {
	flex: 0 0 auto;
	position: relative;
	box-sizing: border-box;
	height: 35px;
	margin: 0;
	padding: 0 0 12px;
	border: 0;
	border-bottom: 1px solid transparent;
	border-radius: 0;
	background: transparent;
	color: var(--material-list-gray);
	cursor: pointer;
	font: 500 18px/22px 'Montserrat', sans-serif;
	white-space: nowrap;
}

.material-list-filters__button[aria-pressed='true'] {
	border-bottom-color: var(--material-list-ink);
	color: var(--material-list-ink);
}

.material-list-filters__button:focus-visible {
	outline: 2px solid var(--material-list-ink);
	outline-offset: 3px;
}

.material-list-grid {
	margin-top: 47px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 516px));
	justify-content: start;
	margin-left: 5px;
	column-gap: 22px;
	row-gap: 52px;
}

.material-list-card {
	box-sizing: border-box;
	width: 100%;
	height: 418px;
	min-width: 0;
}

.material-list-card__link {
	color: inherit;
	display: block;
	height: 100%;
	text-decoration: none;
}

.material-list-card__link:focus-visible {
	outline: 2px solid var(--material-list-ink);
	outline-offset: 4px;
}

.material-list-card__media {
	position: relative;
	width: 100%;
	height: 300px;
	overflow: hidden;
	background: #6E4D31;
}

.material-list-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.material-list-card__meta {
	position: absolute;
	left: 5.04%;
	bottom: 17px;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 5px;
	color: #FAF8F5;
	font: 400 14px/17px 'Montserrat', sans-serif;
	text-transform: uppercase;
}

.material-list-card__copy {
	box-sizing: border-box;
	padding: 18px 10px 0;
}

.material-list-card__copy h3 {
	margin: 0;
	color: var(--material-list-ink);
	font: 400 30px/37px 'Montserrat', sans-serif;
}

.material-list-card__copy p {
	margin: 9px 0 0;
	color: #6E4D31;
	font: 400 18px/27px 'Montserrat', sans-serif;
}

.material-list-grid__empty {
	grid-column: 1 / -1;
	margin: 0;
	padding: 24px 0;
	color: #585858;
	font: 400 16px/24px 'Montserrat', sans-serif;
}

.material-list-grid__empty[hidden] {
	display: none;
}

.material-list-page__consultation {
	background: #EFEFEF;
}

@media (max-width: 1639px) {
	.material-list-grid {
		grid-template-columns: repeat(2, minmax(0, 516px));
	}
}

@media (max-width: 1069px) and (min-width: 768px) {
	.material-list-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1330px) and (min-width: 769px) {
	.material-list-hero {
		min-height: 440px;
	}
}

@media (max-width: 768px) {
	.material-list-hero.has-background-image::before { inset: auto 0 0; width: 100%; height: min(165px, 50%); background: linear-gradient(360deg, rgba(31, 29, 27, 0.7) 0%, rgba(31, 29, 27, 0) 100%); }
	.material-list-hero {
		min-height: 0;
	}

	.material-list-hero__inner {
		padding: 272px 0 23px;
	}

	.material-list-hero__inner,
	.material-list-catalog__inner {
		width: calc(100% - 42px);
	}

	.material-list-hero__breadcrumb {
		gap: 6px;
		margin-bottom: 0;
		font-size: 10px;
		line-height: 12px;
	}

	.material-list-hero h1 {
		max-width: 100%;
		margin: 3px 0 0;
		font-size: 40px;
		line-height: 49px;
	}

	.material-list-hero__description {
		margin-top: 3px;
		font-size: 12px;
		line-height: 18px;
	}

	.material-list-catalog__inner {
		padding-top: 21px;
		padding-bottom: 48px;
	}

	.material-list-catalog__heading {
		font-size: 18px;
		line-height: 22px;
	}

	.material-list-filters {
		width: 396px;
		max-width: 100%;
		height: 23px;
		margin-top: 24px;
		gap: 30px;
		overflow-x: auto;
		overflow-y: hidden;
		scrollbar-width: none;
		overscroll-behavior-inline: contain;
	}

	.material-list-filters::-webkit-scrollbar {
		display: none;
	}

	.material-list-filters__button {
		height: 22px;
		min-height: 22px;
		padding-bottom: 6px;
		font-size: 12px;
		line-height: 15px;
	}

	.material-list-grid {
		width: calc(100% + 42px);
		margin: 24px 0 0 -21px;
		grid-template-columns: minmax(0, 1fr);
		row-gap: 20px;
	}

	.material-list-card {
		height: auto;
		min-height: 327px;
	}

	.material-list-card__media {
		height: auto;
		aspect-ratio: 440 / 256;
	}

	.material-list-card__meta {
		left: 21px;
		bottom: 14px;
		font-size: 10px;
		line-height: 12px;
	}

	.material-list-card__copy {
		padding: 8px 21px 0;
	}

	.material-list-card__copy h3 {
		font-size: 18px;
		line-height: 22px;
	}

	.material-list-card__copy p {
		margin-top: 5px;
		font-size: 12px;
		line-height: 18px;
	}

	.material-list-grid__empty {
		padding-inline: 21px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.material-list-page * {
		scroll-behavior: auto !important;
	}
}
