/* ==========================================================================
   SAHS Mega Menu
========================================================================== */

html {
	scrollbar-gutter: stable;
}

html.sahs-mega-menu-scroll-locked,
body.sahs-mega-menu-scroll-locked {
	overflow: hidden;
}

.sahs-mega-menu {
	position: fixed;

	top: var(--sahs-header-offset, 0px);
	right: 0;
	bottom: 0;
	left: 0;

	z-index: 999999;

	display: flex;
	flex-direction: column;

	width: 100%;
	height: auto;

	background: #ffffff;

	visibility: hidden;
	opacity: 0;

	pointer-events: none;

	user-select: none;
}

.sahs-mega-menu.is-open {
	visibility: visible;
	opacity: 1;

	pointer-events: auto;

	user-select: auto;
}

.sahs-mega-menu__inner {
	position: relative;

	display: flex;
	flex-direction: column;

	width: 100%;
	height: 100%;
	min-height: 0;

	padding: 100px 7vw 50px;

	overflow-y: auto;
}

.sahs-mega-menu__close {
	position: absolute;
	top: 30px;
	right: 7vw;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 42px;
	height: 42px;

	padding: 0;
	margin: 0;

	border: 0;
	background: transparent;

	color: #171717;

	font-size: 40px;
	font-weight: 300;
	line-height: 1;

	cursor: pointer;

	appearance: none;
}

.sahs-mega-menu__close span {
	display: block;
	transform: translateY(-2px);
}


/* ==========================================================================
   Main Content
========================================================================== */

.sahs-mega-menu__content {
	display: grid;
	grid-template-columns:
		minmax(180px, 0.75fr)
		minmax(0, 2fr);

	gap: 30px;

	flex: 1;
	min-height: 0;
}

.sahs-mega-menu__navigation {
	display: flex;
	flex-direction: column;

	min-width: 0;
	min-height: 0;
}

.sahs-mega-menu__items {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-left: 10px;
}

.sahs-mega-menu__item {
	display: inline-block;

	width: fit-content;

	color: #171717;

	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
	text-transform: uppercase;

	transition:
		color 0.2s ease,
		opacity 0.2s ease;
}

.sahs-mega-menu__item:hover,
.sahs-mega-menu__item:focus-visible,
.sahs-mega-menu__item.is-active {
	color: var(--color-red-orange);
	text-decoration: none;
}

.sahs-mega-menu__view-all {
	margin-top: 40px;
}

.sahs-mega-menu__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	padding: 10px 30px;

	background: var(--color-red-orange);
	color: #ffffff;

	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;

	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}

.sahs-mega-menu__button:hover,
.sahs-mega-menu__button:focus-visible {
	background: var(--color-dark-red);
	color: #ffffff;
}

.sahs-mega-menu__external {
	margin-top: 20px;
}

.sahs-mega-menu__external-title {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	color: black;
}

.sahs-mega-menu__external-links {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sahs-mega-menu__external-links a {
	display: inline-flex;
	align-items: center;
	gap: 7px;

	width: fit-content;

	color: #171717;

	font-size: 15px;
	line-height: 1.5;
	text-decoration: none;

	transition: color 0.2s ease;
}

.sahs-mega-menu__external-links a:hover,
.sahs-mega-menu__external-links a:focus-visible {
	color: var(--color-red-orange);
	text-decoration: none;
}

.sahs-mega-menu__external-links a span {
	font-size: 18px;
}

.sahs-mega-menu__panels {
	position: relative;

	min-width: 0;
	min-height: 0;
}

.sahs-mega-menu__panel {
	position: absolute;
	inset: 0;

	display: grid;
	grid-template-columns:
		minmax(0, 1.5fr)
		minmax(250px, 0.8fr);

	gap: 50px;

	width: 100%;
	height: 100%;

	visibility: hidden;
	opacity: 0;
	pointer-events: none;

	transition:
		opacity 0.2s ease,
		visibility 0.2s ease;
}

.sahs-mega-menu__panel.is-active {
	position: relative;

	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.sahs-mega-menu__text {
	align-self: start;

	max-width: 750px;

	font-size: 16px;
	line-height: 1.55;
	color: black;
}

.sahs-mega-menu__text > *:first-child {
	margin-top: 0;
}

.sahs-mega-menu__text > *:last-child {
	margin-bottom: 0;
}

.sahs-mega-menu__text h2,
.sahs-mega-menu__text h3 {
	margin-top: 0;
	margin-bottom: 20px;

	font-size: 20px;
	line-height: 1.3;
	text-transform: uppercase;
}

.sahs-mega-menu__text p {
	margin-bottom: 14px;
}

.sahs-mega-menu__text p strong{
	font-weight: 700;
}

.sahs-mega-menu__image {
	width: 100%;
	max-width: 420px;
	margin-left: auto;
}

.sahs-mega-menu__image img {
	display: block;

	width: 100%;
	height: 430px;

	object-fit: cover;
}

.sahs-mega-menu__social {
	position: absolute;
	right: 7vw;
	bottom: 30px;

	display: flex;
	align-items: center;
	gap: 20px;
}

.sahs-mega-menu__social a {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 28px;
	height: 28px;
}

.sahs-mega-menu__social img {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: contain;
}

@media (max-width: 1200px) {

	.sahs-mega-menu__inner {
		padding-right: 3vw;
		padding-left: 3vw;
	}

	.sahs-mega-menu__close {
		right: 3vw;
	}

	.sahs-mega-menu__social {
		right: 3vw;
	}

	.sahs-mega-menu__content {
		gap: 4vw;
	}

	.sahs-mega-menu__item {
		font-size: 16px;
	}

	.sahs-mega-menu__panel {
		gap: 35px;
	}
}


@media (max-width: 999px) {

	.sahs-mega-menu {
		display: none !important;
	}

}




/* ==========================================================================
   Riding Portfolio Mega Menu
========================================================================== */

.sahs-mega-menu--riding-portfolio
	.sahs-mega-menu__panels {
	min-width: 0;
}


/* ==========================================================================
   Cards
========================================================================== */

.sahs-mega-menu--riding-portfolio
	.sahs-mega-menu__panel {

	display: block;

	height: 100%;
	min-width: 0;

	overflow: hidden;
}


.sahs-mega-menu--riding-portfolio
	.sahs-mega-menu__cards {

	display: grid;

	grid-template-columns: repeat(5, minmax(0, 1fr));

	gap: 20px;

	width: 100%;
}


.sahs-mega-menu--riding-portfolio
	.sahs-mega-menu__card {

	position: relative;

	display: flex;
	align-items: flex-end;

	min-width: 0;
	height: 300px;
	min-height: 0;

	overflow: hidden;

	color: #ffffff;
	text-decoration: none;

	background: var(--color-red-orange);
}


.sahs-mega-menu--riding-portfolio
	.sahs-mega-menu__card img {

	position: absolute;
	inset: 0;

	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;

	transition: transform 0.35s ease;
}


.sahs-mega-menu--riding-portfolio
	.sahs-mega-menu__card-overlay {

	position: absolute;
	inset: 0;

	background:
		linear-gradient(
			to top,
			rgba(0, 0, 0, 0.4),
			rgba(0, 0, 0, 0.05) 65%,
			rgba(0, 0, 0, 0)
		);

	pointer-events: none;
}


.sahs-mega-menu--riding-portfolio
	.sahs-mega-menu__card-title {

	position: relative;
	z-index: 1;

	width: 100%;

	padding: 30px 10px;

	color: #ffffff;

	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;

	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}


.sahs-mega-menu--riding-portfolio
	.sahs-mega-menu__card:hover img,
.sahs-mega-menu--riding-portfolio
	.sahs-mega-menu__card:focus-visible img {

	transform: scale(1.04);

}


.sahs-mega-menu--riding-portfolio
	.sahs-mega-menu__card:focus-visible {

	outline: 2px solid #bf492d;
	outline-offset: -2px;

}


/* ==========================================================================
   Tablet
========================================================================== */

@media (max-width: 1200px) {

	.sahs-mega-menu--riding-portfolio
		.sahs-mega-menu__cards {

		gap: 16px;

	}

	.sahs-mega-menu--riding-portfolio
		.sahs-mega-menu__card-text {

		padding: 20px 10px;

		font-size: 16px;

	}

}


/* ==========================================================================
   Mobile
========================================================================== */

@media (max-width: 999px) {

	.sahs-mega-menu--riding-portfolio {
		display: none !important;
	}

}



/* ==========================================================================
   Others Mega Menu
========================================================================== */
button.sahs-mega-menu__item{
	background: none;
    border: none;
    font-weight: 600;
    font-family: Lato;
}

.sahs-mega-menu--others .sahs-mega-menu__panel--links {
	display: block;
}

.sahs-mega-menu--others .sahs-mega-menu__links {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.sahs-mega-menu--others .sahs-mega-menu__link {
	display: inline-block;

	width: fit-content;

	color: #171717;

	font-size: 18px;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none;

	transition: color 0.2s ease;
}

.sahs-mega-menu--others .sahs-mega-menu__link:hover,
.sahs-mega-menu--others .sahs-mega-menu__link:focus-visible {
	color: #bf492d;
	text-decoration: none;
}

@media (max-width: 900px) {

	.sahs-mega-menu--others .sahs-mega-menu__links {
		gap: 16px;
	}

	.sahs-mega-menu--others .sahs-mega-menu__link {
		font-size: 16px;
	}

}