/* ===================================
   HERO
=================================== */

.mk-news-hero {

    max-width: 1600px;

    margin: 0 auto 0px;

    padding: 0 0px;

    display: grid;

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

    gap: 40px;

    align-items: stretch;

}

.mk-news-content hr {

    border: 0;

    height: 2px;

    margin: 50px 0;

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

    box-shadow:
        0 0 12px rgba(255, 122, 0, .18);

}

.mk-news-hero-image {

    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 16 / 9;

}

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

.mk-news-body {

    max-width: 1600px;

    margin: 0 auto;

    padding: 0 20px;

    display: grid;

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

    gap: 40px;

}

.mk-news-content {

    min-width: 0;

}

.mk-news-sidebar {

    position: sticky;

    top: 120px;

    align-self: start;

}

.mk-news-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 18px;

    margin-bottom: 24px;

    color: #b5b5b5;

    font-size: 15px;

}

html {

    scroll-behavior: smooth;

    scroll-padding-top: 120px;

}

/* ---------------------------------------------------------
   Kommentar-Liste
   --------------------------------------------------------- */

.mk-news-comments-list .comment {
	margin: 0;
	padding: 20px;

	background: #111;
	border: 1px solid #232323;
	border-radius: 14px;
}

.mk-news-comments-list .comment-author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.mk-news-comments-list .comment-author img {
	width: 48px;
	height: 48px;

	border-radius: 50%;
	object-fit: cover;
}

.mk-news-comments-list .comment-author .fn {
	color: #fff;
	font-size: 16px;
	font-weight: 700;
}

.mk-news-comments-list .comment-meta {
	margin-top: 2px;
	font-size: 12px;
	color: #777;
}

.mk-news-comments-list .comment-meta a {
	color: #777;
	text-decoration: none;
}

.mk-news-comments-list .comment-meta a:hover {
	color: var(--mk-orange, #ff7a00);
}

.mk-news-comments-list .comment-content {
	margin-top: 15px;
	color: #d0d0d0;
	font-size: 15px;
	line-height: 1.7;
}

.mk-news-comments-list .reply {
	margin-top: 12px;
}

.mk-news-comments-list .reply a {
	color: var(--mk-orange, #ff7a00);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.mk-news-comments-list .reply a:hover {
	color: var(--mk-orange-hover, #ff9100);
}

/* ---------------------------------------------------------
   Keine Kommentare
   --------------------------------------------------------- */

.mk-news-comments-empty {
	padding: 35px 20px;
	text-align: center;

	    background: rgba(28, 28, 28, .15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
}

/* ---------------------------------------------------------
   Kommentarformular
   --------------------------------------------------------- */

.mk-news-comment-form textarea,
.mk-news-comment-form input[type="text"],
.mk-news-comment-form input[type="email"],
.mk-news-comment-form input[type="url"] {
	box-sizing: border-box;
	width: 100%;

	padding: 13px 15px;

	    background: rgba(28, 28, 28, .15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
	    border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;

	color: #fff;
	font-family: inherit;
	font-size: 14px;

	outline: none;
	transition: .2s;
}

/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 768px) {

	

	

	.mk-news-comments-list .comment {
		padding: 16px;
	}

}

/* =========================================================
   WOW CHARAKTER KOMMENTAR
   ========================================================= */

.mk-news-comment {
	padding: 20px;
	background: #111;
	border: 1px solid #232323;
	border-radius: 14px;
}

/* Charakter-Vorschau über dem Formular */

.mk-comment-character-preview strong {
	color: #fff;
}

.mk-comment-character-preview span {
	color: #ff7a00;
	font-size: 13px;
}

.mk-comment-character-preview {
	display: flex;
	align-items: center;
	gap: 12px;

	margin-bottom: 16px;
	padding: 12px 14px;

	    background: rgba(28, 28, 28, .15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
	    border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
}

/* =========================================================
   NEWS HERO
========================================================= */

.mk-news-hero {
	position: relative;
	display: flex;
	align-items: flex-end;

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

	margin-bottom: 28px;

	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 22px;

	overflow: hidden;

	background: #151515;

	box-shadow:
		0 20px 50px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   HERO CONTENT
========================================================= */

.mk-news-hero-content {
	position: relative;

	z-index: 2;

	width: min(680px, 65%);

	padding: 55px;

	margin-right: auto;
}

/* =========================================================
   MARKTHYR NEWS
   ========================================================= */

.mk-news {
    width: 100%;
    margin: 0;
    padding: 0 0 70px;
}

/* =========================================================
   NEWS HERO
   ========================================================= */

.mk-news-hero {

    position: relative;

    width: min(1600px, calc(100% - 50px));

    min-height: 540px;

    margin: 30px auto 30px;

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

    border-radius: 22px;

    overflow: hidden;

    background: #151515;

    box-shadow:
        0 20px 55px rgba(0, 0, 0, .35);

}

/* =========================================================
   HERO IMAGE
   ========================================================= */

.mk-news-hero-image {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 0;

}

.mk-news-hero-image img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

}

/* =========================================================
   HERO OVERLAY
   ========================================================= */

.mk-news-hero::after {

    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    background:

        linear-gradient(
            90deg,
            rgba(8, 8, 8, .96) 0%,
            rgba(8, 8, 8, .86) 28%,
            rgba(8, 8, 8, .55) 50%,
            rgba(8, 8, 8, .18) 75%,
            rgba(8, 8, 8, .05) 100%
        );

    pointer-events: none;

}

/* =========================================================
   HERO CONTENT
   ========================================================= */

.mk-news-hero-content {

    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    width: min(760px, 65%);

    min-height: 540px;

    padding: 55px;

    box-sizing: border-box;

}

/* =========================================================
   CATEGORY
   ========================================================= */

.mk-news-category {

    display: inline-flex;

    align-items: center;

    width: fit-content;

    margin-bottom: 16px;

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

    font-size: 13px;

    font-weight: 800;

    line-height: 1;

    letter-spacing: .1em;

    text-transform: uppercase;

}

/* =========================================================
   TITLE
   ========================================================= */

.mk-news-hero-content h1 {

    margin: 0 0 22px;

    color: #fff;

    font-size: clamp(38px, 4.2vw, 64px);

    line-height: 1.04;

    font-weight: 800;

    letter-spacing: -.025em;

    text-shadow:
        0 4px 25px rgba(0, 0, 0, .55);

}

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

.mk-news-meta {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px 18px;

    margin: 0;

    color: rgba(255, 255, 255, .68);

    font-size: 14px;

}

.mk-news-meta span {

    display: inline-flex;

    align-items: center;

    gap: 6px;

}

/* =========================================================
   TAGS
   ========================================================= */

.mk-news-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 20px;

}

.mk-news-tags span {

    display: inline-flex;

    align-items: center;

    padding: 7px 11px;

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

    border-radius: 8px;

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

    color: #ff9100;

    font-size: 12px;

    font-weight: 700;

}

/* =========================================================
   NEWS BODY
   ========================================================= */

.mk-news-body {

    width: min(1400px, calc(100% - 50px));

    margin: 0 auto;

}

.mk-news-main {

    width: 100%;

    min-width: 0;

}

/* =========================================================
   ARTICLE CONTENT
   ========================================================= */

.mk-news-content {

    position: relative;

    width: 100%;

    box-sizing: border-box;

    padding: 45px 55px;

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

    border-radius: 22px;

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

    backdrop-filter: blur(8px);

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

    box-shadow:
        0 18px 45px rgba(0, 0, 0, .28);

    overflow: hidden;

}

/* =========================================================
   GLASS HIGHLIGHT
   ========================================================= */

.mk-news-content::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .025),
            transparent 40%
        );

    pointer-events: none;

}

.mk-news-content > * {

    position: relative;

    z-index: 1;

}

/* =========================================================
   ARTICLE TYPOGRAPHY
   ========================================================= */

.mk-news-content p {

    margin: 0 0 22px;

    color: #d0d3d7;

    font-size: 17px;

    line-height: 1.8;

}

.mk-news-content p:last-child {

    margin-bottom: 0;

}

.mk-news-content h3 {

    margin: 35px 0 15px;

    color: #fff;

    font-size: 23px;

    line-height: 1.25;

    font-weight: 800;

}

.mk-news-content h4 {

    margin: 30px 0 12px;

    color: #fff;

    font-size: 19px;

    font-weight: 800;

}

/* =========================================================
   LINKS
   ========================================================= */

.mk-news-content a {

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

    text-decoration: none;

}

.mk-news-content a:hover {

    color: var(--mk-orange-hover, #ff9100);

}

/* =========================================================
   LISTEN
   ========================================================= */

.mk-news-content ul,
.mk-news-content ol {

    margin: 0 0 25px;

    padding-left: 25px;

    color: #d0d3d7;

}

.mk-news-content li {

    margin-bottom: 8px;

    line-height: 1.7;

}

/* =========================================================
   BLOCKQUOTE
   ========================================================= */

.mk-news-content blockquote {

    margin: 30px 0;

    padding: 20px 25px;

    border-left: 3px solid var(--mk-orange, #ff7a00);

    border-radius: 0 12px 12px 0;

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

    color: #d8d8d8;

}

/* =========================================================
   ARTICLE IMAGES
   ========================================================= */

.mk-news-content img {

    display: block;

    max-width: 100%;

    height: auto;

    border-radius: 14px;

}

.mk-news-content figure {

    margin: 30px 0;

}

.mk-news-content figcaption {

    margin-top: 8px;

    color: #777;

    font-size: 12px;

    text-align: center;

}

/* =========================================================
   HORIZONTAL RULE
   ========================================================= */

.mk-news-content hr {

    height: 1px;

    margin: 45px 0;

    border: 0;

    background:
        linear-gradient(
            90deg,
            rgba(255, 122, 0, .8),
            rgba(255, 122, 0, .05),
            transparent
        );

}

/* =========================================================
   COMMENTS
   ========================================================= */

.mk-news-comments {

    margin-top: 30px;

    padding: 30px;

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

    border-radius: 22px;

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

    backdrop-filter: blur(8px);

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

}

/* =========================================================
   COMMENTS HEADER
   ========================================================= */

.mk-news-comments-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;

    padding-bottom: 20px;

    border-bottom: 1px solid #232323;

}

.mk-news-comments-eyebrow {

    display: block;

    margin-bottom: 5px;

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

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .1em;

    text-transform: uppercase;

}

.mk-news-comments-header h2 {

    margin: 0;

    color: #fff;

    font-size: 27px;

    font-weight: 800;

}

.mk-news-comments-count {

    display: flex;

    align-items: center;

    justify-content: center;

    min-width: 38px;

    height: 38px;

    padding: 0 12px;

    border: 1px solid #2a2a2a;

    border-radius: 10px;

    background: #202020;

    color: #fff;

    font-size: 14px;

    font-weight: 700;

}

/* =========================================================
   COMMENT LIST
   ========================================================= */

.mk-news-comments-list {

    display: flex;

    flex-direction: column;

    gap: 14px;

}

.mk-news-comments-list .comment,
.mk-news-comment {

    margin: 0;

    padding: 20px;

    border: 1px solid #232323;

    border-radius: 14px;

    background: rgba(10, 10, 10, .55);

}

/* =========================================================
   COMMENT HEADER
   ========================================================= */

.mk-news-comment-header {

    display: flex;

    align-items: center;

    gap: 13px;

}

.mk-news-comment-avatar {

    width: 52px;

    height: 52px;

    flex: 0 0 52px;

    border: 1px solid #303030;

    border-radius: 10px;

    object-fit: cover;

}

.mk-news-comment-author {

    min-width: 0;

}

.mk-news-comment-name {

    display: block;

    color: #fff;

    font-size: 17px;

    font-weight: 800;

    line-height: 1.2;

}

.mk-news-comment-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 6px 12px;

    margin-top: 5px;

    color: #777;

    font-size: 12px;

}

/* =========================================================
   COMMENT CONTENT
   ========================================================= */

.mk-news-comment-content {

    margin-top: 16px;

    color: #d0d0d0;

    font-size: 15px;

    line-height: 1.7;

}

.mk-news-comment-content p {

    margin: 0 0 10px;

}

.mk-news-comment-content p:last-child {

    margin-bottom: 0;

}

/* =========================================================
   COMMENT ACTIONS
   ========================================================= */

.mk-news-comment-actions {

    margin-top: 12px;

}

.mk-news-comment-actions a {

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

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

}

.mk-news-comment-actions a:hover {

    color: var(--mk-orange-hover, #ff9100);

}

/* =========================================================
   EMPTY COMMENTS
   ========================================================= */

.mk-news-comments-empty {

    padding: 35px 20px;

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

    border-radius: 14px;

    background: rgba(10, 10, 10, .4);

    text-align: center;

}

.mk-news-comments-empty-icon {

    margin-bottom: 10px;

    font-size: 30px;

    opacity: .7;

}

.mk-news-comments-empty h3 {

    margin: 0 0 8px;

    color: #fff;

    font-size: 18px;

}

.mk-news-comments-empty p {

    margin: 0;

    color: #888;

    font-size: 14px;

}

/* =========================================================
   COMMENT FORM
   ========================================================= */

.mk-news-comment-form {

    margin-top: 30px;

    padding-top: 30px;

    border-top: 1px solid #232323;

}

.mk-news-comment-form-title {

    margin: 0 0 20px;

    color: #fff;

    font-size: 20px;

    font-weight: 800;

}

.mk-news-comment-form p {

    margin: 0 0 16px;

}

.mk-news-comment-form label {

    display: block;

    margin-bottom: 7px;

    color: #aaa;

    font-size: 13px;

    font-weight: 600;

}

.mk-news-comment-form textarea,
.mk-news-comment-form input[type="text"],
.mk-news-comment-form input[type="email"],
.mk-news-comment-form input[type="url"] {

    width: 100%;

    box-sizing: border-box;

    padding: 13px 15px;

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

    border-radius: 10px;

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

    color: #fff;

    font-family: inherit;

    font-size: 14px;

    outline: none;

    transition: .2s;

}

.mk-news-comment-form textarea {

    min-height: 150px;

    resize: vertical;

}

.mk-news-comment-form textarea:focus,
.mk-news-comment-form input[type="text"]:focus,
.mk-news-comment-form input[type="email"]:focus,
.mk-news-comment-form input[type="url"]:focus {

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

    box-shadow:
        0 0 0 2px rgba(255, 122, 0, .12);

}

.mk-news-comment-submit {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 12px 20px;

    border: 0;

    border-radius: 10px;

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

    color: #fff;

    font-family: inherit;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition: .2s;

}

.mk-news-comment-submit:hover {

    background: var(--mk-orange-hover, #ff9100);

    transform: translateY(-1px);

}

/* =========================================================
   CHARACTER PREVIEW
   ========================================================= */

.mk-comment-character-preview {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 16px;

    padding: 12px 14px;

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

    border-radius: 10px;

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

}

.mk-comment-character-avatar {

    width: 44px;

    height: 44px;

    flex: 0 0 44px;

    border: 1px solid #333;

    border-radius: 8px;

    object-fit: cover;

}

.mk-comment-character-preview-info {

    display: flex;

    flex-direction: column;

    gap: 2px;

}

.mk-comment-character-label {

    color: #777;

    font-size: 12px;

}

.mk-comment-character-preview-info strong {

    color: #fff;

    font-size: 16px;

    line-height: 1.2;

}

.mk-comment-character-preview-info > span:last-child {

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

    font-size: 12px;

}

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

@media (max-width: 768px) {

    .mk-news {

        padding-bottom: 40px;

    }

    /* HERO */

    .mk-news-hero {

        width: calc(100% - 24px);

        min-height: 430px;

        margin: 12px auto 18px;

        border-radius: 16px;

    }

    .mk-news-hero::after {

        background:

            linear-gradient(
                180deg,
                rgba(8, 8, 8, .05) 0%,
                rgba(8, 8, 8, .25) 30%,
                rgba(8, 8, 8, .82) 62%,
                rgba(8, 8, 8, .97) 100%
            );

    }

    .mk-news-hero-image img {

        object-position: center top;

    }

    .mk-news-hero-content {

        width: 100%;

        min-height: 430px;

        justify-content: flex-end;

        padding: 28px 22px;

    }

    .mk-news-category {

        margin-bottom: 10px;

        font-size: 11px;

    }

    .mk-news-hero-content h1 {

        margin-bottom: 16px;

        font-size: 32px;

        line-height: 1.08;

    }

    .mk-news-meta {

        gap: 6px 12px;

        font-size: 12px;

    }

    .mk-news-tags {

        margin-top: 14px;

        gap: 6px;

    }

    .mk-news-tags span {

        padding: 5px 9px;

        font-size: 11px;

    }

    /* BODY */

    .mk-news-body {

        width: calc(100% - 24px);

        margin: 0 auto;

    }

    /* CONTENT */

    .mk-news-content {

        padding: 25px 20px;

        border-radius: 16px;

    }

    .mk-news-content p {

        font-size: 15px;

        line-height: 1.75;

    }

    .mk-news-content h2 {

        margin-top: 32px;

        font-size: 25px;

    }

    .mk-news-content h3 {

        margin-top: 28px;

        font-size: 21px;

    }

    .mk-news-content hr {

        margin: 32px 0;

    }

    /* COMMENTS */

    .mk-news-comments {

        margin-top: 18px;

        padding: 20px;

        border-radius: 16px;

    }

    .mk-news-comments-header {

        margin-bottom: 20px;

        padding-bottom: 15px;

    }

    .mk-news-comments-header h2 {

        font-size: 23px;

    }

    .mk-news-comments-list .comment,
    .mk-news-comment {

        padding: 16px;

    }

    .mk-news-comment-avatar {

        width: 46px;

        height: 46px;

        flex-basis: 46px;

    }

}

/* =========================================================
   ORANGE TRENNLINIE ZWISCHEN HERO UND CONTENT
========================================================= */

.mk-news-body {
    position: relative;
}

.mk-news-body::before {

    content: "";

    position: absolute;

    left: 0;
    top: -20px;

    width: 100%;
    height: 2px;

    z-index: 20;

    pointer-events: none;

    background:
        linear-gradient(
            to right,
            transparent 0%,
            rgba(255, 122, 0, .10) 8%,
            rgba(255, 122, 0, .45) 20%,
            #ff7a00 32%,
            #ff7a00 68%,
            rgba(255, 122, 0, .45) 80%,
            rgba(255, 122, 0, .10) 92%,
            transparent 100%
        );

    box-shadow:
        0 0 12px rgba(255, 122, 0, .18);

}

/* =========================================================
   ORANGE TRENNLINIE VOR JEDER H2
========================================================= */

.mk-news-content h2 {

    position: relative;

    padding-top: 24px;

    color: #fff;

    font-size: 30px;

    line-height: 1.2;

    font-weight: 800;

}

.mk-news-content h2::before {

    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 2px;

    background:
        linear-gradient(
            to right,
            transparent 0%,
            rgba(255, 122, 0, .10) 8%,
            rgba(255, 122, 0, .45) 20%,
            #ff7a00 32%,
            #ff7a00 68%,
            rgba(255, 122, 0, .45) 80%,
            rgba(255, 122, 0, .10) 92%,
            transparent 100%
        );

    box-shadow:
        0 0 10px rgba(255, 122, 0, .15);

}

/* =========================================================
   NEWS SIDEBAR – STICKY
========================================================= */

@media (min-width: 769px) {

    .mk-news-sidebar-wrapper {

        position: sticky;

        top: 120px;

        align-self: start;

        height: fit-content;

        z-index: 20;

    }

    .mk-news-sidebar-content {

        height: fit-content;

    }

}
