/* =========================================================
   NEWS LANDING
========================================================= */

.mk-news-landing-grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
	gap: 20px;
	align-items: start;
}

/* =========================================================
   SECTION HEADER
========================================================= */

.mk-news-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #252525;
}

.mk-news-section-title {
	display: flex;
	align-items: center;
	gap: 8px;
}

.mk-news-section-accent {
	width: 4px;
	height: 20px;
	background: #ff7a00;
	border-radius: 2px;
}

.mk-news-section-title h2 {
	margin: 0;
	font-size: 18px;
	font-weight: 800;
	text-transform: uppercase;
	color: #fff;
}

/* =========================================================
   SORTIERUNG
========================================================= */

.mk-news-section-sort select {
	background: #111;
	border: 1px solid #292929;
	border-radius: 6px;
	color: #aaa;
	padding: 7px 28px 7px 10px;
	font-size: 12px;
}

/* =========================================================
   NEWS LIST
========================================================= */

.mk-news-list {
	display: flex;
	flex-direction: column;
     gap: 14px;
}

.mk-news-list-card {
    display: flex;
    align-items: stretch;

    gap: 18px;

    height: 160px;

    overflow: hidden;

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

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    border: 1px solid rgba(255, 255, 255, .08);

    border-radius: 18px;

    text-decoration: none;
    color: inherit;

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

.mk-news-list-card:hover {
    transform: translateY(-2px);

    background: rgba(35, 35, 35, .28);

    border-color: rgba(255, 122, 0, .45);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .25);
}

/* =========================================================
   BILD
========================================================= */

.mk-news-list-card-image {
    flex: 0 0 220px;

    width: 220px;
    height: 100%;

    overflow: hidden;

    background: #111;

    border-radius: 17px 0 0 17px;
}

.mk-news-list-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .35s ease;
}

.mk-news-list-card:hover
.mk-news-list-card-image img {
    transform: scale(1.04);
}

/* =========================================================
   INHALT
========================================================= */

.mk-news-list-card-content {
    flex: 1;
    min-width: 0;

    display: flex;
    flex-direction: column;

    padding: 18px 18px 16px 0;
}

.mk-news-list-card-category {
    margin-bottom: 6px;

    color: #ff7a00;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .08em;
    text-transform: uppercase;
}

.mk-news-list-card-title {
    margin: 0 0 7px;

    color: #fff;

    font-size: 18px;
    line-height: 1.25;

    font-weight: 800;
}

.mk-news-list-card-excerpt {
    margin: 0;

    color: #999;

    font-size: 13px;
    line-height: 1.5;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

/* =========================================================
   META
========================================================= */

.mk-news-list-card-meta {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-top: auto;

    color: #777;

    font-size: 11px;
}

.mk-news-list-card-meta span {
    display: flex;
    align-items: center;

    gap: 5px;
}

.mk-news-list-card-meta svg {
    width: 13px;
    height: 13px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

/* =========================================================
   SIDEBAR
========================================================= */

.mk-news-landing-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.mk-news-sidebar-box {
	background: #111;
	border: 1px solid #292929;
	border-radius: 5px;
	overflow: hidden;
}

.mk-news-sidebar-heading {
	display: flex;
	align-items: center;
	gap: 7px;

	padding: 15px 16px;

	border-bottom: 1px solid #252525;
}

.mk-news-sidebar-heading span {
	width: 3px;
	height: 18px;
	background: #ff7a00;
	border-radius: 2px;
}

.mk-news-sidebar-heading h2 {
	margin: 0;

	font-size: 16px;
	font-weight: 800;
	text-transform: uppercase;

	color: #fff;
}

/* =========================================================
   KATEGORIEN
========================================================= */

.mk-news-sidebar-categories a {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr) auto 15px;
	align-items: center;
	gap: 7px;

	padding: 12px 15px;

	border-bottom: 1px solid #202020;

	text-decoration: none;
	color: #aaa;

	font-size: 17px;

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

.mk-news-sidebar-categories a:last-child {
	border-bottom: 0;
}

.mk-news-sidebar-categories a:hover {
	background: #181818;
	color: #fff;
}

.mk-news-sidebar-category-icon {
	color: #ff7a00;
}

.mk-news-sidebar-category-name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mk-news-sidebar-categories strong {
	color: #ff7a00;
	font-size: 12px;
}

.mk-news-sidebar-category-arrow {
	color: #777;
	font-size: 17px;
}

/* =========================================================
   BELIEBTE NEWS
========================================================= */

.mk-news-popular-item {
	display: grid;
	grid-template-columns: 26px 68px minmax(0, 1fr);
	align-items: center;
	gap: 9px;

	padding: 10px 12px;

	border-bottom: 1px solid #202020;

	text-decoration: none;
	color: inherit;
}

.mk-news-popular-item:last-child {
	border-bottom: 0;
}

.mk-news-popular-item:hover {
	background: #181818;
}

.mk-news-popular-rank {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 24px;
	height: 24px;

	border-radius: 50%;

	background: #181818;
	border: 1px solid #333;

	color: #fff;

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

.mk-news-popular-item:first-child
.mk-news-popular-rank {
	background: #ff7a00;
	border-color: #ff7a00;
	color: #fff;
}

.mk-news-popular-image {
	width: 68px;
	height: 42px;

	border-radius: 3px;
	overflow: hidden;

	background: #181818;
}

.mk-news-popular-image img {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;
}

.mk-news-popular-content {
	min-width: 0;
}

.mk-news-popular-content strong {
	display: block;

	color: #ddd;

	font-size: 14px;
	line-height: 1.35;

	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mk-news-popular-content small {
	display: block;

	margin-top: 3px;

	color: #666;
	font-size: 12px;
}

/* =========================================================
   NEWSLETTER
========================================================= */

.mk-news-newsletter {
	padding-bottom: 15px;
}

.mk-news-newsletter > p {
	padding: 14px 15px 4px;

	margin: 0;

	color: #888;

	font-size: 13px;
	line-height: 1.5;
}

.mk-news-newsletter-form {
	display: flex;
	gap: 7px;

	padding: 10px 15px;
}

.mk-news-newsletter-form input {
	flex: 1;
	min-width: 0;

	height: 34px;

	padding: 0 10px;

	background: #0c0c0c;
	border: 1px solid #292929;
	border-radius: 4px;

	color: #fff;
	font-size: 11px;
}

.mk-news-newsletter-form button {
	flex: 0 0 38px;

	height: 34px;

	border: 0;
	border-radius: 4px;

	background: #ff7a00;

	color: #fff;

	font-size: 20px;

	cursor: pointer;

	transition: background .2s ease;
}

.mk-news-newsletter-form button:hover {
	background: #ff9100;
}

/* =========================================================
   GUIDES PROMO
========================================================= */

.mk-news-guides-promo-inner {
	position: relative;

	min-height: 125px;

	display: flex;
	align-items: center;

	overflow: hidden;

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

	background:
		linear-gradient(
			90deg,
			rgba(10,10,10,.98) 0%,
			rgba(10,10,10,.88) 42%,
			rgba(10,10,10,.35) 100%
		);

}

.mk-news-guides-promo-content {
	position: relative;
	z-index: 2;

	padding: 22px 28px;
}

.mk-news-guides-promo-kicker {
	display: block;

	margin-bottom: 3px;

	color: #ff7a00;

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

.mk-news-guides-promo h2 {
	margin: 0 0 3px;

	color: #fff;

	font-size: 22px;
	font-weight: 900;
	text-transform: uppercase;
}

.mk-news-guides-promo p {
	margin: 0 0 12px;

	color: #aaa;

	font-size: 11px;
}

.mk-news-guides-promo-button {
	display: inline-flex;
	align-items: center;
	gap: 22px;

	padding: 9px 15px;

	background: #ff7a00;
	border-radius: 3px;

	color: #fff;

	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;

	text-decoration: none;

	transition: background .2s ease;
}

.mk-news-guides-promo-button:hover {
	background: #ff9100;
	color: #fff;
}

.mk-news-guides-promo-button span {
	font-size: 16px;
	line-height: 1;
}

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

@media ( max-width: 900px ) {

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

	.mk-news-landing-sidebar {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}

}

@media ( max-width: 600px ) {

	.mk-news-list-card {
		grid-template-columns: 120px minmax(0, 1fr);
		gap: 12px;
	}

	.mk-news-list-card-image {
		height: 90px;
	}

	.mk-news-list-card-title {
		font-size: 14px;
	}

	.mk-news-list-card-excerpt {
		display: none;
	}

	.mk-news-landing-sidebar {
		grid-template-columns: 1fr;
	}

	.mk-news-section-header {
		align-items: flex-start;
		gap: 10px;
	}

}

/* =========================================================
   NEWS FILTER BAR
========================================================= */

.mk-news-filter-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;

	min-height: 52px;

	gap: 20px;
}

/* =========================================================
   NEWS FILTER BAR
========================================================= */

.mk-landing-page-filters {
	width: 100%;
	padding: 0;

	background: #0d0d0d;
	border-bottom: 1px solid #252525;
}

/* =========================================================
   1400px CONTENT CONTAINER
========================================================= */

.mk-landing-page-filters .mk-container {
	width: 100%;
	max-width: 1400px;

	margin-left: auto;
	margin-right: auto;

	padding-left: 0;
	padding-right: 0;

	box-sizing: border-box;
}

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

.mk-news-filter-bar {
	width: 100%;
	height: 52px;

	display: flex;
	align-items: center;

	gap: 20px;

    padding-right: 1px;

	box-sizing: border-box;
}

/* =========================================================
   KATEGORIEN
========================================================= */

.mk-news-filter-nav {
	display: flex;
	align-items: stretch;

	height: 52px;

	flex: 0 1 auto;
	min-width: 0;
}

.mk-news-filter-item {
	position: relative;

	display: flex;
	align-items: center;

	height: 52px;

	padding: 0 15px;

	color: #888;

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

	text-transform: uppercase;
	letter-spacing: .02em;

	text-decoration: none;
	white-space: nowrap;

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

.mk-news-filter-item:hover {
	color: #fff;

	background: rgba(255,255,255,.025);
}

.mk-news-filter-item::after {
	content: "";

	position: absolute;

	left: 10px;
	right: 10px;
	bottom: 0;

	height: 2px;

	background: #ff7a00;

	transform: scaleX(0);

	transform-origin: center;

	transition: transform .2s ease;
}

.mk-news-filter-item.active {
	color: #fff;
}

.mk-news-filter-item.active::after {
	transform: scaleX(1);
}

/* =========================================================
   SUCHLEISTE
========================================================= */

.mk-news-filter-search {
	position: relative;

	display: flex;
	align-items: center;

	/*
	 * WICHTIG:
	 * Die Suche wird immer nach rechts gedrückt.
	 */
	margin-left: auto;

	flex: 0 0 220px;

	width: 220px;
	height: 34px;

	background: #111;

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

	overflow: hidden;

	box-sizing: border-box;
}

.mk-news-filter-search input {
	width: 100%;
	height: 100%;

	padding: 0 36px 0 12px;

	border: 0;
	outline: none;

	background: transparent;

	color: #ddd;

	font-family: inherit;
	font-size: 11px;

	box-sizing: border-box;
}

.mk-news-filter-search input::placeholder {
	color: #777;
}

.mk-news-filter-search input:focus {
	color: #fff;
}

.mk-news-filter-search button {
	position: absolute;

	top: 0;
	right: 0;

	width: 34px;
	height: 100%;

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

	padding: 0;

	border: 0;

	background: transparent;

	color: #aaa;

	cursor: pointer;
}

.mk-news-filter-search button:hover {
	color: #fff;

	background: rgba(255,255,255,.04);
}

.mk-news-filter-search svg {
	width: 14px;
	height: 14px;

	fill: none;

	stroke: currentColor;
	stroke-width: 1.8;

	stroke-linecap: round;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

	.mk-landing-page-filters .mk-container {
		padding-left: 15px;
		padding-right: 15px;
	}

	.mk-news-filter-bar {
		height: auto;

		flex-direction: column;
		align-items: stretch;

		padding: 10px 0;

		gap: 10px;
	}

	.mk-news-filter-nav {
		width: 100%;
		height: 42px;

		overflow-x: auto;
	}

	.mk-news-filter-item {
		height: 42px;

		padding: 0 13px;
	}

	.mk-news-filter-search {
		width: 100%;

		margin-left: 0;

		flex: none;
	}

}

/* =========================================================
   AUTOR
========================================================= */

.mk-news-list-card-author {
    display: inline-flex !important;
    align-items: center;

    gap: 7px;
}

.mk-news-list-card-author img {
    display: block;

    width: 28px !important;
    height: 28px !important;

    min-width: 28px;

    border-radius: 50% !important;

    object-fit: cover;

    border: 1px solid rgba(255, 122, 0, .35);
}

/* =========================================================
   NEWS / GUIDES LANDINGPAGE
   MOBILE FINAL FIX
   ========================================================= */

@media (max-width: 600px) {

    /* =====================================================
       KATEGORIEN KOMPLETT ENTFERNEN
       ===================================================== */

    .mk-news-sidebar-box:has(.mk-news-sidebar-categories) {
        display: none !important;
    }

    /* =====================================================
       LANDING GRID
       ===================================================== */

    .mk-news-landing-grid {
        display: block !important;
        width: 100% !important;
    }

    .mk-news-landing-sidebar {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;

        width: 100% !important;
    }

    /* =====================================================
       SECTION HEADER
       ===================================================== */

    .mk-news-section-header {
        display: grid !important;

        grid-template-columns:
            minmax(0, 1fr)
            auto !important;

        align-items: center !important;

        width: 100% !important;
        max-width: 100% !important;

        gap: 10px !important;

        margin-bottom: 12px !important;
        padding-bottom: 10px !important;

        box-sizing: border-box !important;
    }

    .mk-news-section-title {
        min-width: 0 !important;
    }

    .mk-news-section-title h2 {
        min-width: 0 !important;

        font-size: 17px !important;

        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* =====================================================
       SORTIERUNG
       ===================================================== */

    .mk-news-section-sort {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .mk-news-section-sort select {
        display: block !important;

        width: auto !important;
        max-width: 125px !important;

        min-width: 0 !important;

        box-sizing: border-box !important;

        padding:
            7px 24px 7px 8px !important;

        font-size: 11px !important;
    }

    /* =====================================================
       NEWS LIST
       ===================================================== */

    .mk-news-list {
        display: flex !important;
        flex-direction: column !important;

        gap: 10px !important;

        width: 100% !important;
    }

    /* =====================================================
       NEWS CARD
       ===================================================== */

    .mk-news-list-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;

        width: 100% !important;
        height: 118px !important;

        min-width: 0 !important;

        gap: 0 !important;

        border-radius: 12px !important;

        box-sizing: border-box !important;
    }

    /* =====================================================
       BILD
       ===================================================== */

    .mk-news-list-card-image {
        flex: 0 0 125px !important;

        width: 125px !important;
        height: 100% !important;

        min-width: 125px !important;

        border-radius:
            11px 0 0 11px !important;
    }

    .mk-news-list-card-image img {
        width: 100% !important;
        height: 100% !important;

        object-fit: cover !important;
    }

    /* =====================================================
       INHALT
       ===================================================== */

    .mk-news-list-card-content {
        display: flex !important;
        flex-direction: column !important;

        flex: 1 !important;
        min-width: 0 !important;

        padding:
            12px 12px 10px !important;
    }

    .mk-news-list-card-category {
        margin-bottom: 4px !important;

        font-size: 9px !important;
        line-height: 1.1 !important;
    }

    .mk-news-list-card-title {
        margin: 0 !important;

        font-size: 14px !important;
        line-height: 1.2 !important;

        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;

        overflow: hidden !important;
    }

    .mk-news-list-card-excerpt {
        display: none !important;
    }

    /* =====================================================
       META
       ===================================================== */

    .mk-news-list-card-meta {
        display: flex !important;
        align-items: center !important;

        gap: 9px !important;

        margin-top: auto !important;

        font-size: 9px !important;

        min-width: 0 !important;
    }

    .mk-news-list-card-meta span {
        min-width: 0 !important;
    }

    .mk-news-list-card-author {
        gap: 5px !important;
    }

    .mk-news-list-card-author img {
        width: 22px !important;
        height: 22px !important;

        min-width: 22px !important;
    }

    /* =====================================================
       SIDEBAR BOXEN
       ===================================================== */

    .mk-news-sidebar-box {
        width: 100% !important;

        border-radius: 10px !important;
    }

    .mk-news-sidebar-heading {
        padding:
            13px 14px !important;
    }

    .mk-news-sidebar-heading h2 {
        font-size: 14px !important;
    }

    /* =====================================================
       BELIEBTE GUIDES / NEWS
       ===================================================== */

    .mk-news-popular-item {
        grid-template-columns:
            24px
            65px
            minmax(0, 1fr) !important;

        gap: 8px !important;

        padding:
            9px 11px !important;
    }

    .mk-news-popular-image {
        width: 65px !important;
        height: 40px !important;
    }

    .mk-news-popular-content strong {
        font-size: 12px !important;
    }

    .mk-news-popular-content small {
        font-size: 10px !important;
    }

    /* =====================================================
       GUIDES PROMO
       ===================================================== */

    .mk-news-guides-promo-inner {
        display: block !important;

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

        padding: 0 !important;

        border-radius: 10px !important;

        box-sizing: border-box !important;
    }

    .mk-news-guides-promo-content {
        padding:
            20px 18px 18px !important;
    }

    .mk-news-guides-promo-kicker {
        margin-bottom: 5px !important;

        font-size: 9px !important;
    }

    .mk-news-guides-promo h2 {
        margin-bottom: 7px !important;

        font-size: 20px !important;
        line-height: 1.1 !important;
    }

    .mk-news-guides-promo p {
        max-width: 100% !important;

        margin-bottom: 13px !important;

        font-size: 12px !important;
        line-height: 1.45 !important;
    }

    .mk-news-guides-promo-button {
        display: inline-flex !important;

        padding:
            8px 12px !important;

        gap: 12px !important;

        font-size: 10px !important;
    }

    .mk-news-guides-promo-button span {
        font-size: 14px !important;
    }

}
