/**
 * Kommentarbereich – Mockup (640px, Barlow Semi Condensed).
 * Lädt nach ff-single-v2 + ff-home.
 */

body.single .ff-comments-wrap {
	max-width: 640px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

/* 1. Überschrift */
body.single .ff-comments-heading,
body.single .ff-comments-wrap .comments-title {
	font-family: 'Barlow Semi Condensed', sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 1;
	letter-spacing: 0;
	text-align: center;
	color: #000;
	margin: 0 0 16px;
	padding: 0;
	border: none !important;
	width: 100%;
}

/* 2. Eingabefeld */
body.single .ff-comments-compose {
	width: 100%;
	max-width: 640px;
	margin: 0 auto 28px;
	padding: 0;
	border: none !important;
	background: transparent !important;
}

body.single .ff-comments-compose-note {
	margin: 0 0 10px;
	font-family: 'Barlow Semi Condensed', sans-serif;
	font-weight: 300;
	font-size: 13px;
	line-height: 1;
	color: #7b7b7b;
	text-align: center;
}

body.single .ff-comments-compose-note a {
	color: #b43526;
	text-decoration: none;
}

body.single .ff-comments-form-wrap,
body.single .ff-comments-form-wrap #respond {
	width: 100%;
	margin: 0;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

body.single .ff-comments-wrap .logged-in-as,
body.single .ff-comments-wrap .comment-notes,
body.single .ff-comments-wrap .required-field-message,
body.single .ff-comments-wrap .comment-form-comment label,
body.single .ff-comments-wrap #respond .comment-reply-title,
body.single .ff-comments-wrap #respond h3,
body.single .ff-comments-wrap .cancel-comment-reply-link {
	display: none !important;
}

body.single .ff-comments-form-wrap .comment-form {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

body.single .ff-comments-form-wrap .comment-form-comment {
	margin: 0;
	padding: 0;
}

body.single .ff-comment-field-wrap {
	position: relative;
	display: block;
	width: 100%;
	max-width: 640px;
}

body.single .ff-comment-field-wrap textarea,
body.single .ff-comments-compose .comment-form textarea,
body.single .ff-comment-reply-slot .comment-form textarea {
	box-sizing: border-box;
	display: block;
	width: 100%;
	max-width: 640px;
	height: 30px !important;
	min-height: 30px !important;
	max-height: 30px !important;
	margin: 0;
	padding: 0 36px 0 10px !important;
	background: #fff;
	border: 0.5px solid #cecece;
	border-radius: 3px;
	font-family: 'Barlow Semi Condensed', sans-serif;
	font-weight: 400;
	font-size: 13px !important;
	line-height: 30px !important;
	color: #000;
	resize: none !important;
	overflow: hidden;
	box-shadow: none !important;
	caret-color: #000;
}

body.single .ff-comment-field-wrap textarea::placeholder,
body.single .ff-comments-compose .comment-form textarea::placeholder,
body.single .ff-comment-reply-slot .comment-form textarea::placeholder {
	font-family: 'Barlow Semi Condensed', sans-serif;
	font-weight: 300;
	font-size: 13px;
	line-height: 30px;
	color: #7b7b7b;
}

body.single .ff-comment-field-wrap textarea:focus,
body.single .ff-comments-compose .comment-form textarea:focus,
body.single .ff-comment-reply-slot .comment-form textarea:focus {
	border-color: #cecece;
	outline: none;
}

body.single .ff-comment-send-btn {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	height: 26px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 2px;
	background: transparent;
	color: #7b7b7b;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	-webkit-appearance: none;
	appearance: none;
	transition: color 0.15s ease;
}

body.single .ff-comment-send-btn:hover,
body.single .ff-comment-send-btn:focus-visible {
	color: #000;
	outline: none;
}

body.single .ff-comment-send-icon {
	display: block;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

/* Anti-Spam: Honeypot für Bots unsichtbar */
body.single .ff-comment-antispam {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

body.single .ff-comments-compose .ff-comment-form-submit {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Liste – kein Kasten, keine Trennlinie */
body.single .ff-comments-list-wrap,
body.single .ff-comments-area .comment-list {
	width: 100%;
	max-width: 640px;
	margin: 0 auto;
	padding: 0 !important;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0;
	background: transparent !important;
	border: none !important;
}

body.single .ff-comments-list-wrap .comment,
body.single .ff-comments-area .comment-list > .comment,
body.single .ff-comments-wrap .comment-list > li.comment,
body.single .ff-comments-wrap .ff-comment-item {
	margin: 0 !important;
	margin-left: 0 !important;
	padding: 0 !important;
	padding-left: 0 !important;
	border: none !important;
	border-top: none !important;
	list-style: none;
	background: transparent !important;
	box-shadow: none !important;
	width: 100%;
	max-width: 100%;
}

/* Antworten: standardmäßig versteckt, nur nach Klick auf „X Antworten“ */
body.single .ff-comments-wrap .ff-comment-item > .children,
body.single .ff-comments-wrap .ff-comment-item > .ff-comment-replies-thread,
body.single .ff-comments-wrap ul.children,
body.single .ff-comments-wrap div.children,
body.single .ff-comments-list-wrap .children {
	display: none !important;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	width: 100%;
	max-width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
	border: none;
	background: transparent;
	box-sizing: border-box;
}

body.single .ff-comments-wrap .ff-comment-item.is-replies-open > .children,
body.single .ff-comments-wrap .ff-comment-item.is-replies-open > .ff-comment-replies-thread {
	display: flex !important;
	flex-direction: column;
	margin-top: 6px !important;
	padding-left: 24px !important;
}

/* Antworten leicht unter dem Hauptkommentar eingerückt */
body.single .ff-comment-item .children > .ff-comment-item,
body.single .ff-comment-item .children > .comment,
body.single .ff-comment-replies-thread > .ff-comment-item {
	margin-left: 0 !important;
	padding-left: 0 !important;
	width: 100%;
	max-width: 100%;
}

body.single .ff-comment-item .children .ff-comment-body,
body.single .ff-comment-item--child .ff-comment-body {
	padding-bottom: 16px !important;
}

body.single .ff-comment-item--child .ff-comment-author {
	font-weight: 500;
	font-size: 16px;
}

body.single .ff-comment-item.is-replies-open > .ff-comment-replies-count {
	color: #000 !important;
}

body.single .ff-comments-list-wrap .comment + .comment,
body.single .ff-comments-wrap .comment-list > li.comment + li.comment {
	border-top: none !important;
}

body.single .ff-comment-body,
body.single .ff-comments-wrap .comment-body,
body.single .ff-comments-wrap .comment-list .comment-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 0 0 24px !important;
	margin: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}

body.single .ff-comment-head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	width: 100%;
	margin: 0;
	padding: 0;
}

body.single .ff-comment-author,
body.single .ff-comments-wrap .comment-list .comment-author {
	margin: 0;
	padding: 0;
	font-family: 'Barlow Semi Condensed', sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 1;
	letter-spacing: 0;
	color: #000;
}

body.single .ff-comment-author a {
	color: #000 !important;
	text-decoration: none;
}

body.single .ff-comment-date {
	font-family: 'Barlow Semi Condensed', sans-serif;
	font-weight: 300;
	font-size: 14px;
	line-height: 1;
	letter-spacing: 0;
	color: #7b7b7b;
}

body.single .ff-comments-wrap .comment-content,
body.single .ff-comment-content,
body.single .ff-comments-wrap .comment-list .comment-content,
body.single .ff-comment-content p,
body.single .ff-comments-wrap .comment-content p,
body.single .ff-comments-wrap .comment-content li,
body.single .ff-comment-item--child .ff-comment-content,
body.single .ff-comment-item--child .ff-comment-content p,
body.single .ff-comment-replies-thread .ff-comment-content,
body.single .ff-comment-replies-thread .ff-comment-content p,
body.single.ff-single-news-page .ff-comments-wrap .comment-content,
body.single.ff-single-news-page .ff-comments-wrap .comment-content p {
	margin: 0 !important;
	padding: 0 !important;
	padding-left: 0 !important;
	font-family: 'Barlow Semi Condensed', sans-serif !important;
	font-weight: 400 !important;
	font-style: normal !important;
	font-size: 15px !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	color: #000 !important;
}

/* Aktionen: Icon links, Text daneben, gleiche Größe */
body.single .ff-comment-actions {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin: 6px 0 0;
	padding: 0;
}

body.single .ff-comment-replies-count,
body.single .ff-comment-reply,
body.single .ff-comments-wrap .comment-reply-link {
	display: inline-flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap;
	align-items: center !important;
	gap: 8px;
	margin: 0;
	padding: 0 !important;
	font-family: 'Barlow Semi Condensed', sans-serif;
	font-weight: 400 !important;
	font-size: 15px !important;
	line-height: 1 !important;
	letter-spacing: 0;
	color: #7b7b7b !important;
	text-decoration: none !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	vertical-align: middle;
	cursor: pointer;
	transition: color 0.15s ease;
}

button.ff-comment-replies-count {
	-webkit-appearance: none;
	appearance: none;
	font: inherit;
	text-align: left;
}

body.single .ff-comment-replies-count--static {
	cursor: default;
}

body.single .ff-comment-replies-count::after,
body.single .ff-comments-wrap .comment-reply-link::after,
body.single .ff-comment-actions .reply a.comment-reply-link::after {
	content: none !important;
	display: none !important;
}

body.single .ff-comment-replies-count:hover,
body.single .ff-comment-replies-count:hover .ff-comment-replies-label,
body.single .ff-comments-wrap .comment-reply-link:hover,
body.single .ff-comments-wrap .comment-reply-link:hover .ff-comment-reply-label {
	color: #000 !important;
}

body.single .ff-comment-replies-count:hover svg,
body.single .ff-comments-wrap .comment-reply-link:hover svg {
	color: #000;
}

body.single .ff-comment-actions svg,
body.single .ff-comment-replies-icon,
body.single .ff-comment-reply-icon {
	display: inline-block !important;
	flex-shrink: 0;
	width: 15px;
	height: 14px;
	margin: 0;
	vertical-align: middle;
	overflow: visible;
}

body.single .ff-comment-reply-icon {
	width: 16px;
}

body.single .ff-comment-replies-label,
body.single .ff-comment-reply-label {
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
}

body.single .ff-comments-list-wrap .reply {
	display: none !important;
}

body.single .ff-comments-list-wrap .avatar,
body.single .ff-comments-area .avatar,
body.single .ff-comments-wrap .comment-list .avatar {
	display: none !important;
}

body.single .ff-comment-hidden {
	display: none !important;
}

body.single .ff-comments-list-wrap #respond,
body.single .ff-comment-item #respond {
	display: none !important;
}

body.single .ff-comments-wrap .comment-form,
body.single .ff-comments-wrap #respond {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	margin: 0 !important;
	padding: 0 !important;
}


/* Inline-Antwort direkt unter dem Kommentar */
body.single .ff-comment-reply-slot {
	width: 100%;
	margin: 12px 0 0;
	padding: 0;
}

body.single .ff-comment-reply-slot:not([hidden]) {
	margin-bottom: 24px;
}

body.single .ff-comment-reply-slot[hidden] {
	display: none !important;
}

body.single .ff-comment-reply-slot .ff-comment-reply-form {
	margin: 0;
	padding: 0;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

body.single .ff-comment-reply-slot .comment-form-comment {
	margin: 0;
	padding: 0;
}

body.single .ff-comment-reply-slot .comment-form textarea {
	background: #fff !important;
	border: 0.5px solid #cecece !important;
}

body.single .ff-comment-reply-slot .comment-form textarea:focus {
	border-color: #cecece !important;
}

body.single .ff-comment-reply-slot .ff-comment-form-submit {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* „alle Kommentare“ – Text-Link (nicht roter Button aus ff-home) */
body.single .ff-comments-toggle-wrap {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 0;
}

body.single .ff-comments-wrap .ff-comments-toggle-btn {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font-family: 'Barlow Semi Condensed', sans-serif !important;
	font-weight: 400 !important;
	font-size: 15px !important;
	line-height: 1 !important;
	letter-spacing: 0;
	color: #7b7b7b !important;
	cursor: pointer;
}

body.single .ff-comments-wrap .ff-comments-toggle-btn:hover,
body.single .ff-comments-wrap .ff-comments-toggle-btn:focus-visible {
	color: #000 !important;
	background: transparent !important;
	outline: none;
}

body.single .ff-comments-wrap .ff-comments-toggle-btn .ff-arrow {
	display: inline-flex;
	align-items: center;
	line-height: 0;
	transition: transform 0.2s ease;
}

body.single .ff-comments-wrap .ff-comments-toggle-btn.is-open .ff-arrow {
	transform: rotate(180deg);
}

body.single .ff-comments-wrap .ff-comments-toggle-btn .ff-arrow svg {
	display: block;
	width: 11px;
	height: 5px;
}

/* Kein Kasten/Rahmen – überschreibt ff-single-v2 (inkl. News) und GP-Theme */
body.single .ff-comments-wrap,
body.single.ff-single-news-page .ff-comments-wrap,
body.single .ff-comments-compose,
body.single .ff-comments-form-wrap,
body.single .ff-comments-form-wrap #respond,
body.single .ff-comments-list-wrap,
body.single .ff-comments-list-wrap .comment-list,
body.single .ff-comments-wrap .comment-list,
body.single .ff-comments-list-wrap .comment,
body.single .ff-comments-wrap .comment-list > .comment,
body.single .ff-comments-wrap .comment-list > li.comment,
body.single.ff-single-news-page .ff-comments-wrap .comment-list > li.comment,
body.single.ff-single-news-page .ff-comments-list-wrap .comment,
body.single.ff-single-news-page .ff-comments-list-wrap .comment + .comment,
body.single .ff-comments-list-wrap .comment + .comment,
body.single .ff-comments-wrap .comment-list > li.comment + li.comment,
body.single .ff-comments-wrap .ff-comment-item,
body.single .ff-comments-wrap .comment-body,
body.single .ff-comments-wrap .ff-comment-body,
body.single.ff-single-news-page .ff-comments-list-wrap .comment-body,
body.single .ff-comments-wrap .comment-content,
body.single .ff-comments-wrap .ff-comment-content,
body.single .ff-comment-actions,
body.single .ff-comment-replies-count,
body.single .ff-comment-reply,
body.single .ff-comments-wrap .comment-reply-link {
	border: none !important;
	border-top: none !important;
	border-bottom: none !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent !important;
	background-color: transparent !important;
	border-radius: 0 !important;
}

body.single .ff-comments-compose {
	border-top: none !important;
	padding-top: 0 !important;
}

body.single.ff-single-news-page .ff-comments-wrap {
	border-top: none !important;
	padding-top: 0 !important;
}

body.single .ff-comments-wrap .comment-reply-link,
body.single .ff-comment-reply .comment-reply-link {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: inline-flex !important;
	padding: 0 !important;
	margin: 0 !important;
	min-height: 0 !important;
	min-width: 0 !important;
}
