.fm-page {
	--fm-ink: #292c2e;
	--fm-muted: #74716d;
	--fm-orange: var(--primary-color, #dd861b);
	--fm-rust: #954a32;
	--fm-paper: #f7f5f1;
	--fm-line: #e7e1d8;
	background: var(--fm-paper);
	color: var(--fm-ink);
}

.fm-wrap {
	margin: 0 auto;
	max-width: 1380px;
	padding-left: clamp(18px, 4vw, 48px);
	padding-right: clamp(18px, 4vw, 48px);
}

.fm-hero {
	background: linear-gradient(115deg, #181817 0%, #28241f 60%, #5b321d 100%);
	color: #fff;
	padding: clamp(62px, 10vw, 132px) 0;
	position: relative;
}

.fm-hero::after {
	background: radial-gradient(circle, rgba(221, 134, 27, .28) 0, rgba(221, 134, 27, 0) 67%);
	content: '';
	height: 420px;
	position: absolute;
	right: 3%;
	top: 50%;
	transform: translateY(-50%);
	width: 420px;
}

.fm-hero .fm-wrap {
	position: relative;
	z-index: 1;
}

.fm-kicker {
	color: var(--fm-orange);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .18em;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.fm-hero h1 {
	color: #fff;
	font-size: clamp(48px, 8vw, 104px);
	letter-spacing: -.055em;
	line-height: .93;
	margin: 0 0 22px;
}

.fm-lead {
	color: rgba(255, 255, 255, .78);
	font-size: clamp(18px, 2.2vw, 25px);
	line-height: 1.45;
	margin: 0 0 30px;
	max-width: 760px;
}

.fm-hero-cta,
.fm-outline-button {
	border: 1px solid currentColor;
	color: inherit;
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	padding: 13px 18px;
	text-transform: uppercase;
}

.fm-hero-cta:hover {
	background: var(--fm-orange);
	border-color: var(--fm-orange);
	color: #fff;
}

.fm-archivio,
.fm-shop {
	padding: clamp(40px, 7vw, 88px) 0;
}

.fm-toolbar-row {
	align-items: flex-end;
	border-bottom: 1px solid var(--fm-line);
	display: flex;
	gap: clamp(24px, 4vw, 64px);
	justify-content: space-between;
	margin-bottom: 0;
}

.fm-tabs {
	display: flex;
	flex: 1 1 auto;
	gap: 4px;
	margin-bottom: 0;
}

.fm-tabs a {
	color: var(--fm-ink);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .08em;
	padding: 15px 28px;
	text-transform: uppercase;
}

.fm-tabs a:hover,
.fm-tabs a.is-active {
	background: var(--fm-orange);
	color: #fff;
}

.fm-search {
	align-items: center;
	border-bottom: 1px solid #777;
	display: flex;
	flex: 0 1 440px;
	gap: 10px;
	margin: 0 0 -1px auto;
	max-width: 440px;
	min-width: 300px;
}

.fm-search span {
	font-size: 28px;
	line-height: 1;
}

.fm-search input {
	background: transparent;
	border: 0;
	box-shadow: none;
	font-size: 16px;
	height: 46px;
	margin: 0;
	padding: 0;
}

.fm-search input:focus {
	box-shadow: none;
}

.fm-search button {
	background: transparent;
	border: 0;
	color: var(--fm-rust);
	font-size: 12px;
	margin: 0;
	padding: 0 2px;
	text-transform: uppercase;
}

.fm-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fm-card {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .055);
	box-shadow: 0 10px 26px rgba(37, 32, 28, .065);
	display: flex;
	flex-direction: column;
	min-height: 210px;
	overflow: hidden;
	padding: 22px;
	position: relative;
	transition: transform .2s ease, box-shadow .2s ease;
}

.fm-card:hover {
	box-shadow: 0 16px 34px rgba(37, 32, 28, .11);
	transform: translateY(-3px);
}

.fm-card-copy {
	margin: auto 0;
	position: relative;
	z-index: 2;
}

.fm-card h2 {
	font-size: clamp(19px, 1.55vw, 25px);
	letter-spacing: -.025em;
	line-height: 1.12;
	margin: 4px 0 10px;
}

.fm-card h2 a {
	color: var(--fm-ink);
}

.fm-meta {
	color: var(--fm-muted);
	font-size: 14px;
	margin: 0;
}

.fm-cta {
	color: var(--fm-rust);
	font-size: 14px;
	font-weight: 700;
	margin-top: 14px;
	position: relative;
	width: max-content;
	z-index: 3;
}

.fm-frase-card--visual {
	min-height: 0;
	padding: 0;
}

.fm-frase-card--visual .fg-card-slider {
	border-bottom-color: var(--fm-line);
	height: 245px;
}

.fm-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 175px;
	padding: 18px 20px 20px;
}

.fm-person-card {
	min-height: 210px;
}

.fm-person-card.has-image {
	min-height: 245px;
}

.fm-person-card.has-image .fm-card-copy,
.fm-person-card.has-image .fm-cta {
	max-width: 55%;
}

.fm-person-image {
	bottom: 0;
	height: 100%;
	max-width: 48%;
	object-fit: contain;
	object-position: right bottom;
	pointer-events: none;
	position: absolute;
	right: 0;
	width: auto;
	z-index: 1;
}

.fm-film-card {
	min-height: 200px;
}

.fm-pagination {
	display: flex;
	gap: 7px;
	justify-content: center;
	margin-top: 38px;
}

.fm-pagination .page-numbers {
	align-items: center;
	background: #fff;
	color: var(--fm-ink);
	display: inline-flex;
	height: 38px;
	justify-content: center;
	min-width: 38px;
	padding: 0 10px;
}

.fm-pagination .current {
	background: var(--fm-orange);
	color: #fff;
}

.fm-empty {
	background: #fff;
	padding: 30px;
	text-align: center;
}

.fm-shop {
	background: #fff;
}

.fm-section-heading {
	align-items: end;
	display: flex;
	gap: 30px;
	justify-content: space-between;
	margin-bottom: 28px;
}

.fm-section-heading h2 {
	font-size: clamp(30px, 4vw, 52px);
	letter-spacing: -.035em;
	margin: 0;
}

.fm-section-heading .fm-kicker {
	margin-bottom: 8px;
}

.fm-outline-button {
	color: var(--fm-rust);
	white-space: nowrap;
}

.fm-outline-button:hover {
	background: var(--fm-rust);
	color: #fff;
}

.fm-product-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fm-product-card {
	background: var(--fm-paper);
	padding: 10px;
}

.fm-product-card img {
	aspect-ratio: 4 / 3;
	display: block;
	object-fit: cover;
	object-position: center top;
	width: 100%;
}

.fm-product-card h3 {
	color: var(--fm-ink);
	font-size: 15px;
	line-height: 1.35;
	margin: 10px 0 4px;
}

.fm-price {
	color: var(--fm-rust);
	font-size: 14px;
	font-weight: 700;
	margin: 0;
}

@media (min-width: 1280px) {
	.fm-grid,
	.fm-product-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 980px) {
	.fm-grid,
	.fm-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.fm-hero::after {
		display: none;
	}

	.fm-toolbar-row {
		align-items: stretch;
		border-bottom: 0;
		flex-direction: column;
		gap: 14px;
	}

	.fm-tabs {
		border-bottom: 1px solid var(--fm-line);
		display: grid;
		grid-template-columns: repeat(3, minmax(90px, 1fr));
	}

	.fm-tabs a {
		font-size: 12px;
		padding: 13px 6px;
		text-align: center;
	}

	.fm-search {
		flex: 1 1 auto;
		margin-bottom: 0;
		margin-left: 0;
		max-width: none;
		min-width: 0;
		width: 100%;
	}

	.fm-grid,
	.fm-product-grid {
		gap: 14px;
		grid-template-columns: 1fr;
	}

	.fm-card {
		min-height: 190px;
		padding: 20px;
	}

	.fm-frase-card--visual {
		padding: 0;
	}

	.fm-frase-card--visual .fg-card-slider {
		height: 255px;
	}

	.fm-card-body {
		min-height: 175px;
		padding: 20px;
	}

	.fm-card h2 {
		font-size: 25px;
	}

	.fm-person-card {
		min-height: 180px;
	}

	.fm-person-card.has-image {
		min-height: 245px;
	}

	.fm-person-image {
		height: 100%;
		max-width: 46%;
	}

	.fm-section-heading {
		align-items: flex-start;
		flex-direction: column;
	}
}
