/* Rapidinhas – Comentários
 * A especificidade + !important vence a regra do CSS Adicional:
 * body.single-post .mow_fn_blog_single .mow_fn_comments { display:none }
 */
html body.single-post .mow_fn_blog_single .mow_fn_comments,
html body.single-post .mow_fn_comments {
	display: block !important;
	width: 100%;
	max-width: 820px;
	margin: 48px auto 0;
	order: 90; /* fica antes dos posts relacionados se o pai for flex */
}

body.single-post .mow_fn_comments .respond_comment {
	overflow: visible !important;
}

/* Bloco geral */
body.single-post .mow_fn_comments .fn__comments {
	--rdc-accent: #fe4100; /* laranja dos links do site */
	--rdc-border: rgba(127, 127, 127, .25);
	--rdc-field: rgba(127, 127, 127, .08);
	padding-top: 32px;
	border-top: 1px solid var(--rdc-border);
	font-size: 16px;
	line-height: 1.6;
}

body.single-post .mow_fn_comments .comment-reply-title {
	font-size: 24px;
	font-weight: 800;
	margin: 0 0 8px;
}
body.single-post .mow_fn_comments .comment-reply-title small a {
	font-size: 14px;
	font-weight: 500;
	margin-left: 12px;
	opacity: .7;
}

body.single-post .mow_fn_comments .comment-notes {
	font-size: 14px;
	opacity: .65;
	margin: 0 0 16px;
}

/* Pergunta para o leitor */
.rdc-pergunta {
	position: relative;
	margin: 0 0 20px;
	padding: 16px 18px;
	border-left: 4px solid var(--rdc-accent, #e50914);
	background: var(--rdc-field, rgba(127, 127, 127, .08));
	border-radius: 0 10px 10px 0;
}
.rdc-pergunta__tag {
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--rdc-accent, #e50914);
	margin-bottom: 4px;
}
.rdc-pergunta p {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}

/* Formulário */
body.single-post .mow_fn_comments .comment-form {
	display: flex !important;
	flex-wrap: wrap;
	gap: 12px;
}
body.single-post .mow_fn_comments .comment-form > p {
	margin: 0;
	flex: 1 1 100%;
}
body.single-post .mow_fn_comments .comment-form-author,
body.single-post .mow_fn_comments .comment-form-email {
	flex: 1 1 calc(50% - 6px) !important;
}
body.single-post .mow_fn_comments .comment-form textarea,
body.single-post .mow_fn_comments .comment-form input[type="text"],
body.single-post .mow_fn_comments .comment-form input[type="email"] {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	font: inherit;
	color: inherit;
	background: var(--rdc-field);
	border: 1px solid var(--rdc-border);
	border-radius: 10px;
	outline: none;
	transition: border-color .15s;
}
body.single-post .mow_fn_comments .comment-form textarea:focus,
body.single-post .mow_fn_comments .comment-form input:focus {
	border-color: var(--rdc-accent);
}
body.single-post .mow_fn_comments .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	opacity: .75;
}
body.single-post .mow_fn_comments .form-submit input[type="submit"],
body.single-post .mow_fn_comments .form-submit button {
	cursor: pointer;
	padding: 12px 28px;
	font-weight: 800;
	font-size: 15px;
	color: #fff;
	background: var(--rdc-accent);
	border: 0;
	border-radius: 999px;
	transition: filter .15s, transform .15s;
}
body.single-post .mow_fn_comments .form-submit input[type="submit"]:hover {
	filter: brightness(1.1);
	transform: translateY(-1px);
}

/* Lista de comentários */
body.single-post .mow_fn_comments .comment-list,
body.single-post .mow_fn_comments ol.commentlist {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}
body.single-post .mow_fn_comments .comment-list .children {
	list-style: none;
	margin: 12px 0 0 24px;
	padding-left: 16px;
	border-left: 2px solid var(--rdc-border);
}
body.single-post .mow_fn_comments .comment-list li.comment {
	margin: 0 0 16px;
}
body.single-post .mow_fn_comments .comment-list .avatar {
	border-radius: 50%;
}
body.single-post .mow_fn_comments .comment-reply-link {
	font-size: 13px;
	font-weight: 700;
	color: var(--rdc-accent);
}

@media (max-width: 600px) {
	body.single-post .mow_fn_comments .comment-form-author,
	body.single-post .mow_fn_comments .comment-form-email {
		flex-basis: 100% !important;
	}
	body.single-post .mow_fn_comments .comment-list .children {
		margin-left: 8px;
	}
}

/* ==================================================================
 * v1.2 — Tags mais compactas + caixa de comentários em destaque
 * ================================================================== */

/* Fim do conteúdo: menos respiro antes das tags
   (o parágrafo vazio final é removido pelo PHP do plugin) */
body.single-post .mow_fn_blog_single .fn__single_content {
	margin-bottom: 16px !important;
}
body.single-post .fn__single_content p:last-child {
	margin-bottom: 0 !important;
}

/* Tags: mais juntas, mesma linha */
body.single-post .mow_fn_blog_single .single_bottom_info {
	padding-top: 0 !important;
}
body.single-post .mow_fn_tags ul {
	gap: 2px 6px !important;
	margin: 0 !important;
}
body.single-post .mow_fn_tags .tag_item {
	margin: 0 !important;
}
body.single-post .mow_fn_tags .tag_item a {
	margin: 0 !important;
	transition: color .15s;
}
body.single-post .mow_fn_tags .tag_item a:hover {
	color: #fe4100;
}

/* Comentários: logo abaixo das tags, sem a linha divisória */
html body.single-post .mow_fn_blog_single .mow_fn_comments,
html body.single-post .mow_fn_comments {
	margin-top: 28px !important;
}
body.single-post .mow_fn_comments .fn__comments {
	padding-top: 0 !important;
	border-top: 0 !important;
}

/* A caixa vira um card com borda laranja no topo e sombra */
body.single-post .mow_fn_comments .comment-respond {
	background: #fff !important;
	border: 1px solid rgba(0, 0, 0, .08);
	border-top: 4px solid #fe4100;
	border-radius: 12px !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
	padding: 28px 32px 30px !important;
}
body.single-post .mow_fn_comments .comment-reply-title {
	font-size: 26px !important;
}

/* "Sua vez": etiqueta sólida (não parece mais texto selecionado) */
body.single-post .rdc-pergunta {
	background: #fff4ef !important;
	border-left-color: #fe4100 !important;
	padding: 14px 18px !important;
}
body.single-post .rdc-pergunta__tag {
	background: #fe4100 !important;
	color: #fff !important;
	padding: 3px 8px;
	border-radius: 4px;
	margin-bottom: 8px !important;
}

/* Campos com contraste melhor sobre o card branco */
body.single-post .mow_fn_comments .comment-form textarea,
body.single-post .mow_fn_comments .comment-form input[type="text"],
body.single-post .mow_fn_comments .comment-form input[type="email"] {
	background: #f7f7f7 !important;
	border-color: rgba(0, 0, 0, .12) !important;
}

/* Botão na cor do site */
body.single-post .mow_fn_comments .form-submit input[type="submit"] {
	background: #fe4100 !important;
	color: #fff !important;
	border-radius: 999px !important;
}

/* Modo escuro do tema */
html[data-mow-skin="dark"] body.single-post .mow_fn_comments .comment-respond,
body.mow-dark.single-post .mow_fn_comments .comment-respond {
	background: #161616 !important;
	border-color: rgba(255, 255, 255, .1);
	border-top-color: #fe4100;
}
html[data-mow-skin="dark"] body.single-post .rdc-pergunta,
body.mow-dark.single-post .rdc-pergunta {
	background: rgba(254, 65, 0, .12) !important;
}

@media (max-width: 600px) {
	body.single-post .mow_fn_comments .comment-respond {
		padding: 20px 16px 22px !important;
	}
	body.single-post .mow_fn_comments .comment-reply-title {
		font-size: 22px !important;
	}
}
