@charset "utf-8";

/* ============================================================
   FACEBOOK COMMENTS COMPONENT
   Clean, responsive Facebook-style comments section
   ============================================================ */

#fb-comments {
	font-family: "Segoe UI Historic", "Segoe UI", Helvetica, Arial, sans-serif;
	font-size: 14px;
	width: 100%;
	max-width: 100%;
	margin: auto;
}

#fb-comments .fb-heading {
	margin: 1.5em 0 0.75em;
	font-size: 1.15em;
	color: #555;
	font-weight: 700;
	text-align: left;
}

#fb-comments .comments-container {
	display: flex;
	flex-direction: column;
	gap: 1.25em;
	border: 1px solid #e9ebee;
	border-radius: 1em;
	padding: 1.25em;
	background: #fff;
}

#fb-comments .comment {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	position: relative;
	width: 100%;
	max-width: 100%;
	gap: 0.75em;
}

#fb-comments .comment.answer {
	margin-left: 3.25em;
	max-width: calc(100% - 3.25em);
	margin-bottom: 0.5em;
}

#fb-comments .comment.answer + .answer {
	margin-top: -0.5em;
}

#fb-comments .comment .user-avatar {
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

#fb-comments .comment .comment-data {
	width: 100%;
	min-width: 0;
}

#fb-comments .comment .comment-data .user {
	font-weight: 400;
	color: #050505;
	border-radius: 1em;
	background-color: #f0f2f5;
	padding: 0.5em 0.85em 0.75em;
	display: inline-block;
	max-width: 100%;
}

#fb-comments .comment .comment-data .user .name {
	margin: 0 0 2px 0;
	color: #365899;
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	display: block;
}

#fb-comments .comment .comment-data .user .text {
	margin: 0;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.4;
	color: #050505;
	text-align: left;
	overflow-wrap: break-word;
	word-break: break-word;
}

#fb-comments .comment .comment-data .buttons {
	margin: 0.25em 0 0 0.5em;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0.35em;
	flex-wrap: wrap;
}

#fb-comments .comment .comment-data .buttons time,
#fb-comments .comment .comment-data .buttons like,
#fb-comments .comment .comment-data .buttons answer,
#fb-comments .comment .comment-data .buttons span {
	font-size: 0.82em;
	color: #65676b;
	user-select: none;
}

#fb-comments .comment .comment-data .buttons like,
#fb-comments .comment .comment-data .buttons answer {
	font-weight: 600;
	cursor: pointer;
}

#fb-comments .comment .comment-data .buttons like:hover,
#fb-comments .comment .comment-data .buttons answer:hover {
	text-decoration: underline;
}

#fb-comments .comment .comment-data .buttons like[liked] {
	color: #1877f2;
}

#fb-comments .comment .comment-data .buttons answer {
	position: relative;
}

#fb-comments .comment likes {
	position: absolute;
	bottom: -6px;
	right: 0;
	background-color: #fff;
	border: 1px solid #eaebef;
	display: flex;
	align-items: center;
	gap: 3px;
	font-size: 11px;
	line-height: 1;
	color: #65676b;
	border-radius: 12px;
	padding: 2px 6px 2px 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

#fb-comments .comment likes::before {
	content: "";
	display: inline-block;
	width: 13px;
	height: 13px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231877f2'%3E%3Cpath d='M8.864.046C7.908-.193 7.02.53 6.956 1.466c-.072 1.051-.23 2.016-.428 2.59-.125.36-.317.633-.54.83-.23.204-.492.34-.78.411-.532.13-1.127.18-1.708.18H2a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h1.61c.453 0 .91.077 1.343.232.49.176 1.05.39 1.693.633 1.25.474 2.68.748 4.354.748 1.408 0 2.597-.478 3.32-1.378.718-.895.845-2.09.68-3.323l-.014-.108c.45-.635.688-1.428.647-2.285-.054-1.12-.55-2.062-1.31-2.613.235-.873.183-1.847-.234-2.65-.472-.91-1.306-1.492-2.316-1.616-.17-.021-.343-.032-.518-.032H11.5c.01-.13.016-.26.016-.39 0-.895-.258-1.83-1.01-2.43C9.89.24 9.387.177 8.864.046z'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	vertical-align: middle;
	cursor: pointer;
}

#fb-comments .comments-closed {
	font-size: 0.9em;
	font-weight: 600;
	text-align: center;
	margin: 1.25em 0 0.5em;
	color: #65676b;
}

/* Responsive adjustments */
@media (max-width: 576px) {
	#fb-comments {
		font-size: 13px;
	}

	#fb-comments .comments-container {
		padding: 1em 0.75em;
		gap: 1em;
	}

	#fb-comments .comment.answer {
		margin-left: 1.5em;
		max-width: calc(100% - 1.5em);
	}

	#fb-comments .comment .user-avatar {
		width: 36px;
		height: 36px;
		min-width: 36px;
		min-height: 36px;
	}

	#fb-comments .comment .comment-data .user {
		padding: 0.45em 0.65em 0.6em;
	}

	#fb-comments .comment .comment-data .user .name {
		font-size: 13px;
	}

	#fb-comments .comment .comment-data .user .text {
		font-size: 13px;
	}
}
