.mk-all-sidebar{

    position:sticky;

    top:160px;

    align-self:start;

    display:flex;

    flex-direction:column;

    gap:30px;

        background: rgba(28, 28, 28, .15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    border: 1px solid #2a2a2a;

    border-radius: 24px;

    padding: 30px;

    box-shadow:
        inset 0 1px rgba(255,255,255,.03),
        0 10px 40px rgba(0,0,0,.35);

}

.mk-all-sidebar-nav ul{

    margin:0;

    padding:0;

    list-style:none;

}

.mk-all-sidebar-nav li{

    margin-bottom:0px;

}

.mk-all-sidebar-nav a{

    display:flex;

    align-items:center;

    padding:14px 18px;

    border-radius:14px;

    color:#bfbfbf;

    text-decoration:none;

    transition:.25s;

}

.mk-all-sidebar-divider{

    margin:30px 0;

    border:none;

    height:1px;

    background:rgba(255,255,255,.08);

}

.mk-all-sidebar-nav a:hover{

    background:#1a1a1a;

    color:#fff;

}

.mk-all-sidebar::-webkit-scrollbar{

    width:8px;

}

.mk-all-sidebar::-webkit-scrollbar-thumb{

    background:#333;

    border-radius:999px;

}

.mk-all-sidebar-section:first-child{

    position:relative;

    padding-bottom:32px;

}

.mk-all-sidebar-section:first-child::before{

    content:"";

    position:absolute;

    left:-31px;

    top:-8px;

    bottom:-8px;

    width:3px;

    background:linear-gradient(
        to bottom,
        rgba(255,122,0,0),
        #ff7a00 15%,
        #ff7a00 85%,
        rgba(255,122,0,0)
    );

    box-shadow:
        0 0 10px #ff7a00,
        0 0 35px rgba(255,122,0,.75),
        0 0 80px rgba(255,122,0,.35);

}

.mk-all-sidebar-nav a.active{

    background:linear-gradient(
        90deg,
        rgba(255,122,0,.22),
        rgba(255,122,0,.08)
    );

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

    color:#fff;

}

.mk-all-sidebar-title{

    display:flex;

    align-items:center;

    gap:14px;

    margin:0 0 24px;

    font-size:32px;

    font-weight:900;

    text-transform:uppercase;

}

.mk-all-sidebar-title i{

    color:#ff7a00;

    font-size:28px;

}

.mk-all-sidebar-card{

    background:#171717;

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

    border-radius:18px;

    padding:22px;

    box-shadow:
        inset 0 1px rgba(255,255,255,.03);

}

.mk-all-sidebar-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:10px 0;

}

.mk-all-sidebar-row:not(:last-child){

    border-bottom:1px solid rgba(255,255,255,.06);

}

/* =========================================================
   NEWS – SIDEBAR WRAPPER
========================================================= */

.mk-news-sidebar-wrapper {

    width: 340px;

    min-width: 340px;

    align-self: start;

}


/* =========================================================
   SIDEBAR TOGGLE
   Desktop nicht sichtbar
========================================================= */

.mk-news-sidebar-toggle {

    display: none;

}


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

.mk-news-sidebar-content {

    width: 100%;

}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 769px) {

    .mk-news-body {

        max-width: 1600px;

        margin: 0 auto;

        padding: 0 20px;

        display: grid;

        grid-template-columns:
            minmax(0, 1fr)
            340px;

        gap: 40px;

        align-items: start;

        box-sizing: border-box;

    }


    .mk-news-main {

        min-width: 0;

        width: 100%;

    }


    .mk-news-sidebar-wrapper {

        grid-column: 2;

        grid-row: 1;

        width: 340px;

        min-width: 340px;

    }


    

}


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

@media (max-width: 768px) {

    .mk-news-body {

        width: calc(100% - 24px);

        max-width: 100%;

        margin: 0 auto;

        padding: 0;

        display: flex;

        flex-direction: column;

        gap: 14px;

        box-sizing: border-box;

    }


    /* -----------------------------------------------------
       SIDEBAR WRAPPER
    ----------------------------------------------------- */

    .mk-news-sidebar-wrapper {

        order: 1;

        width: 100%;

        min-width: 0;

        max-width: 100%;

        box-sizing: border-box;

    }


    /* -----------------------------------------------------
       AUFKLAPP-BUTTON
    ----------------------------------------------------- */

    .mk-news-sidebar-toggle {

        display: flex;

        align-items: center;

        justify-content: space-between;

        width: 100%;

        min-height: 52px;

        padding: 0 16px;

        margin: 0;

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

        border-radius: 14px;

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

        color: #fff;

        font-family: inherit;

        font-size: 14px;

        font-weight: 800;

        text-align: left;

        cursor: pointer;

        box-sizing: border-box;

    }


    .mk-news-sidebar-toggle:hover {

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

    }


    


    .mk-news-sidebar-toggle[aria-expanded="true"]
    .mk-news-sidebar-toggle-icon {

        transform: rotate(45deg);

    }


    /* -----------------------------------------------------
       SIDEBAR INHALT
    ----------------------------------------------------- */

    


    .mk-news-sidebar-wrapper.is-open
    .mk-news-sidebar-content {

        display: block;

    }


    /* -----------------------------------------------------
       ECHTE SIDEBAR – NUR MOBILE ÄUSSERLICH ANPASSEN
    ----------------------------------------------------- */

    


    /* -----------------------------------------------------
       ARTIKEL
    ----------------------------------------------------- */

    .mk-news-main {

        order: 2;

        width: 100%;

        max-width: 100%;

        min-width: 0;

        box-sizing: border-box;

    }

}

/* =========================================================
   NEWS SIDEBAR
   DESKTOP = NORMALE SIDEBAR
   MOBILE  = ACCORDION
========================================================= */


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 769px) {

    /*
     * Die Details-Elemente verhalten sich auf Desktop
     * wie normale Container.
     */

    .mk-all-sidebar-accordion {

        display: block;

        margin: 0;
        padding: 0;

        border: 0;

    }


    /*
     * Das mobile Accordion-Label ist auf Desktop
     * unsichtbar.
     */

    .mk-all-sidebar-accordion > summary {

        display: none;

    }


    /*
     * Der eigentliche Inhalt ist immer sichtbar.
     */

    .mk-all-sidebar-accordion-content {

        display: block;

        padding: 0;

        margin: 0;

    }


    /*
     * Die ursprünglichen Sidebar-Überschriften
     * wieder anzeigen.
     */

    .mk-all-sidebar-accordion-content
    .mk-all-sidebar-title {

        display: flex;

    }


    /*
     * Die Sections wieder wie normale Sidebar-
     * Sections behandeln.
     */

    .mk-all-sidebar-accordion-content
    .mk-all-sidebar-section {

        display: block;

        margin: 0;

    }


    /*
     * Abstand zwischen den beiden Bereichen.
     */

    .mk-all-sidebar-accordion
    + .mk-all-sidebar-accordion {

        margin-top: 30px;

    }

}


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

@media (max-width: 768px) {

    /*
     * Die Sidebar selbst bleibt innerhalb des
     * "Weitere Inhalte"-Bereichs.
     */

    .mk-all-sidebar {

        width: 100%;

        max-width: 100%;

        box-sizing: border-box;

        position: static;

        top: auto;

        padding: 10px;

        gap: 10px;

    }


    /*
     * Details auf Mobile.
     */

    .mk-all-sidebar-accordion {

        display: block;

        margin: 0;

        padding: 0;

        border: 0;

    }


    /*
     * Standardmarker entfernen.
     */

    .mk-all-sidebar-accordion > summary {

        list-style: none;

    }

    .mk-all-sidebar-accordion > summary::-webkit-details-marker {

        display: none;

    }


    /*
     * Accordion-Header
     */

    .mk-all-sidebar-accordion-title {

        display: flex;

        align-items: center;

        justify-content: space-between;

        gap: 12px;

        width: 100%;

        min-height: 50px;

        padding: 0 14px;

        box-sizing: border-box;

        border-radius: 12px;

        background: rgba(255,255,255,.035);

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

        color: #fff;

        font-size: 15px;

        font-weight: 800;

        cursor: pointer;

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

    }


    .mk-all-sidebar-accordion-title > span:first-child {

        display: flex;

        align-items: center;

        gap: 9px;

    }


    .mk-all-sidebar-accordion-title i {

        color: var(--mk-orange, #ff7a00);

        font-size: 14px;

    }


    /*
     * Plus-Button
     */

    .mk-all-sidebar-accordion-icon {

        display: flex;

        align-items: center;

        justify-content: center;

        width: 26px;

        height: 26px;

        flex: 0 0 26px;

        border-radius: 7px;

        background: rgba(255,255,255,.07);

        color: #aaa;

        font-size: 18px;

        line-height: 1;

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

    }


    /*
     * Geöffnet
     */

    .mk-all-sidebar-accordion[open]
    .mk-all-sidebar-accordion-title {

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

        background:
            linear-gradient(
                90deg,
                rgba(255,122,0,.10),
                rgba(255,255,255,.025)
            );

    }


    .mk-all-sidebar-accordion[open]
    .mk-all-sidebar-accordion-icon {

        color: var(--mk-orange, #ff7a00);

        background: rgba(255,122,0,.12);

        transform: rotate(45deg);

    }


    /*
     * Inhalt des Accordions
     */

    .mk-all-sidebar-accordion-content {

        display: block;

        padding: 8px 4px 4px;

    }


    /*
     * Die originale Sidebar-Überschrift
     * wird auf Mobile ausgeblendet.
     *
     * Der neue Summary-Titel übernimmt diese Aufgabe.
     */

    .mk-all-sidebar-accordion-content
    .mk-all-sidebar-title {

        display: none;

    }


    /*
     * Navigation
     */

    .mk-all-sidebar-accordion-content
    .mk-all-sidebar-nav {

        margin: 0;

    }


    .mk-all-sidebar-accordion-content
    .mk-all-sidebar-nav ul {

        margin: 0;

        padding: 0;

    }


    .mk-all-sidebar-accordion-content
    .mk-all-sidebar-nav a {

        padding: 10px 12px;

        font-size: 13px;

    }


    /*
     * Abstand zwischen den beiden Accordions
     */

    .mk-all-sidebar-accordion
    + .mk-all-sidebar-accordion {

        margin-top: 8px;

    }

}

/* =========================================================
   NEWS SIDEBAR TOGGLE
========================================================= */


/* Checkbox niemals sichtbar */

.mk-news-sidebar-checkbox {

	display: none;

}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 769px) {

	.mk-news-sidebar-wrapper {

		width: 340px;

		min-width: 340px;

		align-self: start;

	}


	/*
	 * Toggle auf Desktop komplett ausblenden.
	 */

	.mk-news-sidebar-toggle {

		display: none;

	}


	/*
	 * Sidebar auf Desktop IMMER sichtbar.
	 */

	.mk-news-sidebar-content {

		display: block;

		width: 100%;

	}


	/*
	 * Deine echte Sidebar.
	 */

	.mk-news-sidebar-content .mk-all-sidebar {

		display: flex;

	}

}


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

@media (max-width: 768px) {

	


	/* -----------------------------------------
	   TOGGLE
	----------------------------------------- */

	


	


	/* -----------------------------------------
	   SIDEBAR STANDARDMÄSSIG GESCHLOSSEN
	----------------------------------------- */

	.mk-news-sidebar-content {

		display: none;

		width: 100%;

		margin-top: 10px;

	}


	/* -----------------------------------------
	   SIDEBAR GEÖFFNET
	----------------------------------------- */

	.mk-news-sidebar-checkbox:checked
	~ .mk-news-sidebar-content {

		display: block;

	}


	/* -----------------------------------------
	   PLUS → MINUS
	----------------------------------------- */

	.mk-news-sidebar-checkbox:checked
	~ .mk-news-sidebar-toggle
	.mk-news-sidebar-toggle-icon {

		transform: rotate(45deg);

	}


	/* -----------------------------------------
	   ECHTE SIDEBAR
	----------------------------------------- */

	.mk-news-sidebar-content .mk-all-sidebar {

		position: static;

		top: auto;

		width: 100%;

		max-width: 100%;

		min-width: 0;

		box-sizing: border-box;

	}

}

/* =========================================================
   NEWS SIDEBAR – MOBILE ACCORDION
   MUSS GANZ AM ENDE DER CSS-DATEI STEHEN
========================================================= */

@media (max-width: 768px) {

    /*
     * Sidebar-Wrapper
     */
    .mk-news-sidebar-wrapper {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }


    /*
     * Toggle
     */
    .mk-news-sidebar-toggle {
        display: flex !important;

        align-items: center;
        justify-content: space-between;

        width: 100%;
        min-height: 52px;

        padding: 0 16px;

        box-sizing: border-box;

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

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

        color: #fff;

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

        cursor: pointer;
    }


    /*
     * SIDEBAR STANDARDMÄSSIG GESCHLOSSEN
     *
     * !important ist hier absichtlich gesetzt,
     * damit keine ältere Regel display:block
     * dazwischenfunkt.
     */
    .mk-news-sidebar-wrapper
    .mk-news-sidebar-content {
        display: none !important;

        width: 100%;
        max-width: 100%;

        margin-top: 10px;
    }


    /*
     * ERST wenn Checkbox aktiviert wurde:
     * Sidebar öffnen
     */
    .mk-news-sidebar-checkbox:checked
    ~ .mk-news-sidebar-content {
        display: block !important;
    }


    /*
     * Plus-Symbol
     */
    .mk-news-sidebar-toggle-icon {
        display: flex;

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

        width: 28px;
        height: 28px;

        border-radius: 8px;

        background: rgba(255,255,255,.06);

        color: var(--mk-orange, #ff7a00);

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

        transition: transform .2s ease;
    }


    /*
     * Plus → Minus
     */
    .mk-news-sidebar-checkbox:checked
    ~ .mk-news-sidebar-toggle
    .mk-news-sidebar-toggle-icon {
        transform: rotate(45deg);
    }


    /*
     * Echte Sidebar auf Mobile
     */
    .mk-news-sidebar-content
    .mk-all-sidebar {
        position: static !important;

        top: auto !important;

        display: flex !important;

        width: 100%;
        max-width: 100%;

        box-sizing: border-box;
    }

}

/* =========================================================
   ÄHNLICHE NEWS – SIDEBAR
========================================================= */

/* Orangenen Seitenstrich bei "Ähnliche News" entfernen */
.mk-all-sidebar .mk-all-sidebar-accordion:nth-of-type(2)::before {

    display: none;

}


/* Icon von "Ähnliche News" orange machen */
.mk-all-sidebar .mk-all-sidebar-accordion:nth-of-type(2)
.mk-all-sidebar-accordion-title i {

    color: var(--mk-orange);

}

.mk-all-sidebar .mk-all-sidebar-accordion:nth-of-type(2) {

    border-left: none !important;

    box-shadow: none;

}

/* =========================================================
   ÄHNLICHE NEWS – ICON
========================================================= */

/* Kein Seitenstrich */
.mk-all-sidebar-accordion:nth-of-type(2)
.mk-all-sidebar-section::before {

    display: none !important;

}


/* Vorhandenes SVG anzeigen */
.mk-all-sidebar-accordion:nth-of-type(2)
.mk-all-sidebar-icon svg {

    display: block !important;

    width: 24px;
    height: 24px;

    color: var(--mk-orange) !important;

    fill: var(--mk-orange) !important;

}


/* Falls das SVG über currentColor arbeitet */
.mk-all-sidebar-accordion:nth-of-type(2)
.mk-all-sidebar-icon svg * {

    fill: currentColor !important;

    stroke: currentColor !important;

}