/* =========================================================
   ADDONS LANDING
   ========================================================= */

.mk-landing-addons {
	padding: 35px 0 80px;
}

/* =========================================================
   FILTER
   ========================================================= */

.mk-addon-filters {
	display: flex;
	align-items: center;
	gap: 8px;

	margin-bottom: 18px;

	overflow-x: auto;
	scrollbar-width: none;
}

.mk-addon-filters::-webkit-scrollbar {
	display: none;
}

.mk-addon-filter {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	flex: 0 0 auto;

	min-height: 38px;
	padding: 0 18px;

	border: 1px solid #292929;
	border-radius: 7px;

	background: #111111;

	color: #bdbdbd;

	font-family: inherit;
	font-size: 13px;
	font-weight: 600;

	cursor: pointer;

	transition:
		background .2s ease,
		border-color .2s ease,
		color .2s ease,
		box-shadow .2s ease;
}

.mk-addon-filter:hover {
	color: #fff;
	border-color: #ff7a00;
}

.mk-addon-filter.is-active {
	color: #fff;
	background: #ff7a00;
	border-color: #ff7a00;

	box-shadow: 0 5px 18px rgba(255, 122, 0, .2);
}

/* =========================================================
   FEATURED / EMPFOHLEN
   ========================================================= */

.mk-addon-featured {
	position: relative;

	margin-bottom: 35px;

	border: 1px solid #2b2b2b;
	border-top: 2px solid #ff7a00;
	border-radius: 10px;

	background: #111111;

	overflow: hidden;

	box-shadow: 0 12px 35px rgba(0, 0, 0, .25);
}

.mk-addon-featured-slides {
	position: relative;
}

.mk-addon-featured-slide {
	display: none;

	grid-template-columns: 42% 58%;

	min-height: 220px;

	color: #fff;
	text-decoration: none;
}

.mk-addon-featured-slide.is-active {
	display: grid;
}

.mk-addon-featured-image {
	position: relative;

	min-height: 220px;

	overflow: hidden;
}

.mk-addon-featured-thumbnail {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;
	object-position: center center;

	transition: transform .4s ease;
}

.mk-addon-featured-slide:hover .mk-addon-featured-thumbnail {
	transform: scale(1.03);
}

.mk-addon-featured-image::after {
	content: "";

	position: absolute;
	inset: 0;

	background:
		linear-gradient(
			90deg,
			transparent 50%,
			#111111 100%
		);
}

.mk-addon-featured-content {
	position: relative;
	z-index: 2;

	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;

	padding: 28px 35px;
}

.mk-addon-featured-label {
	display: inline-flex;

	margin-bottom: 8px;
	padding: 4px 9px;

	border-radius: 4px;

	background: #ff7a00;

	color: #fff;

	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.mk-addon-featured-content h2 {
	margin: 0 0 3px;

	color: #fff;

	font-size: 27px;
	font-weight: 800;
	line-height: 1.1;
}

.mk-addon-featured-category {
	margin-bottom: 10px;

	color: #ff7a00;

	font-size: 13px;
	font-weight: 700;
}

.mk-addon-featured-content p {
	max-width: 620px;

	margin: 0 0 18px;

	color: #b4b4b4;

	font-size: 14px;
	line-height: 1.6;
}

.mk-addon-featured-link {
	margin-top: auto;

	display: inline-flex;
	align-items: center;
	gap: 8px;

	color: #ff7a00;

	font-size: 13px;
	font-weight: 700;

	transition: gap .2s ease;
}

.mk-addon-featured-slide:hover .mk-addon-featured-link {
	gap: 12px;
}

/* =========================================================
   FEATURED CONTROLS
   ========================================================= */

.mk-addon-featured-controls {
	position: absolute;
	right: 20px;
	bottom: 15px;

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

.mk-addon-featured-prev,
.mk-addon-featured-next {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 28px;
	height: 28px;

	padding: 0;

	border: 1px solid #333;
	border-radius: 5px;

	background: rgba(15, 15, 15, .85);

	color: #aaa;

	font-size: 20px;
	line-height: 1;

	cursor: pointer;

	transition:
		border-color .2s ease,
		color .2s ease,
		background .2s ease;
}

.mk-addon-featured-prev:hover,
.mk-addon-featured-next:hover {
	border-color: #ff7a00;
	background: #1a1a1a;
	color: #ff7a00;
}

.mk-addon-featured-dots {
	display: flex;
	align-items: center;
	gap: 5px;
}

.mk-addon-featured-dot {
	width: 7px;
	height: 7px;

	padding: 0;

	border: 0;
	border-radius: 50%;

	background: #555;

	cursor: pointer;

	transition:
		background .2s ease,
		transform .2s ease;
}

.mk-addon-featured-dot.is-active {
	background: #ff7a00;
	transform: scale(1.2);
}

/* =========================================================
   LIST HEADING
   ========================================================= */

.mk-addon-list-heading {
	display: flex;
	align-items: center;

	margin-bottom: 15px;

	border-bottom: 1px solid #292929;
}

.mk-addon-list-heading h2 {
	display: flex;
	align-items: center;
	gap: 8px;

	margin: 0;
	padding-bottom: 10px;

	color: #fff;

	font-size: 17px;
	font-weight: 800;
	text-transform: uppercase;
}

.mk-addon-list-heading h2 span {
	color: #ff7a00;
	font-size: 12px;
}

/* =========================================================
   ADDON GRID
   ========================================================= */

.mk-addon-grid {
	display: grid;

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

	gap: 18px;
}

/* =========================================================
   ADDON CARD
   ========================================================= */

.mk-addon-card {
	min-width: 0;

	color: #fff;
	text-decoration: none;
}

.mk-addon-card .mk-landing-card-image {
	aspect-ratio: 16 / 9;

	overflow: hidden;
}

.mk-addon-card .mk-landing-card-thumbnail {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;
	object-position: center center;

	transition: transform .35s ease;
}

.mk-addon-card:hover .mk-landing-card-thumbnail {
	transform: scale(1.04);
}

.mk-addon-card .mk-landing-card-content {
	display: flex;
	flex-direction: column;

	padding: 14px;
}

.mk-addon-card .mk-landing-card-title {
	margin: 0 0 3px;

	color: #fff;

	font-size: 17px;
	font-weight: 800;
}

.mk-addon-card-category {
	margin-bottom: 8px;

	color: #ff7a00;

	font-size: 11px;
	font-weight: 700;
}

.mk-addon-card .mk-landing-card-description {
	display: -webkit-box;

	margin: 0 0 15px;

	overflow: hidden;

	color: #aaa;

	font-size: 12px;
	line-height: 1.55;

	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.mk-addon-card-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;

	margin-top: auto;

	color: #ff7a00;

	font-size: 12px;
	font-weight: 700;

	transition: gap .2s ease;
}

.mk-addon-card:hover .mk-addon-card-link {
	gap: 11px;
}

/* =========================================================
   HOVER TEXT FIX
   ========================================================= */

.mk-landing-addons .mk-addon-card:hover,
.mk-landing-addons .mk-addon-card:hover .mk-landing-card-title,
.mk-landing-addons .mk-addon-card:hover .mk-landing-card-description {
	color: inherit;
	opacity: 1;
}

.mk-landing-addons .mk-addon-card:hover .mk-landing-card-title {
	color: #fff;
}

.mk-landing-addons .mk-addon-card:hover .mk-landing-card-description {
	color: #aaa;
}

/* =========================================================
   FILTERED
   ========================================================= */

.mk-addon-card.is-hidden {
	display: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

	.mk-addon-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

}

@media (max-width: 800px) {

	.mk-addon-featured-slide {
		grid-template-columns: 1fr;
	}

	.mk-addon-featured-image {
		min-height: 190px;
		max-height: 240px;
	}

	.mk-addon-featured-image::after {
		background:
			linear-gradient(
				180deg,
				transparent 40%,
				#111111 100%
			);
	}

	.mk-addon-featured-content {
		padding: 22px;
	}

	.mk-addon-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

@media (max-width: 550px) {

	.mk-landing-addons {
		padding-top: 25px;
	}

	.mk-addon-grid {
		grid-template-columns: 1fr;
	}

	.mk-addon-featured-content h2 {
		font-size: 23px;
	}

	.mk-addon-featured-controls {
		right: 12px;
		bottom: 12px;
	}

}
