/*
 * D3 blog comments
 * Elementor wrapper class: CommentSection
 * Blog wrapper uses the .d3blog class.
 * All rules are scoped to .CommentSection to prevent global style leakage.
 */

.CommentSection,
.CommentSection * {
	box-sizing: border-box;
}

.CommentSection .comments-area,
.CommentSection .comment-respond,
.CommentSection .comment-list {
	font-family: "Gotham", Arial, sans-serif;
	color: #000000;
}

.CommentSection .comments-area {
	margin-top: 45px;
}

.CommentSection .comments-area .comments-title,
.CommentSection .comments-title,
.CommentSection .comments-area h2,
.CommentSection .comments-area h3 {
	margin-bottom: 24px;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.3;
	color: #f37f25;
}

.CommentSection .comment-list {
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
}

.CommentSection .comment-list .comment,
.CommentSection .comment-list .pingback,
.CommentSection .comment-list .trackback {
	margin-bottom: 24px;
	padding: 0;
	list-style: none;
}

.CommentSection .comment-list .comment-body {
	position: relative;
	display: block;
	padding: 26px 28px !important;
	border: 1px solid rgba(243, 127, 37, 0.28);
	border-radius: 20px;
	background: #ffffff;
	box-shadow: 0 14px 38px rgba(0, 0, 0, 0.055);
	color: #000000;
	overflow: hidden;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.CommentSection .comment-list .comment-body:hover {
	border-color: rgba(243, 127, 37, 0.55);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.075);
}

.CommentSection .comment-list .comment-meta {
	position: static !important;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	margin: 0 0 18px;
	padding: 0;
}

.CommentSection .comment-list .comment-author {
	position: static !important;
	display: flex !important;
	align-items: center;
	gap: 12px;
	min-width: 0;
	margin: 0;
	padding: 0;
	color: #000000;
}

.CommentSection .comment-list .avatar {
	position: static !important;
	display: inline-block;
	width: 48px;
	height: 48px;
	min-width: 48px;
	padding: 3px;
	border: 2px solid #f37f25;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 8px 22px rgba(243, 127, 37, 0.18);
}

.CommentSection .comment-list .comment-author .fn,
.CommentSection .comment-list .comment-author .fn a {
	color: #000000;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
}

.CommentSection .comment-list .comment-author .says {
	color: #000000;
	font-size: 14px;
	font-weight: 500;
	opacity: 0.55;
}

.CommentSection .comment-list .comment-metadata {
	position: static !important;
	margin: 0;
	padding: 0;
	color: #000000;
	font-size: 13px;
	line-height: 1.5;
	text-align: right;
	opacity: 0.6;
	white-space: normal;
}

.CommentSection .comment-list .comment-metadata a,
.CommentSection .comment-list .comment-meta a {
	color: #000000;
	text-decoration: none;
}

.CommentSection .comment-list .comment-metadata a:hover,
.CommentSection .comment-list .comment-meta a:hover {
	color: #f37f25;
}

.CommentSection .comment-list .comment-content {
	clear: both;
	margin: 0 0 16px 60px;
	color: #000000;
	font-size: 15px;
	line-height: 1.8;
}

.CommentSection .comment-list .comment-content p {
	margin: 0 0 12px;
	color: #000000;
}

.CommentSection .comment-list .reply {
	margin: 0 0 0 60px;
	padding: 0;
}

.CommentSection .comment-list .comment-reply-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	border-radius: 999px;
	background: rgba(243, 127, 37, 0.12);
	color: #f37f25;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	transition: transform 0.25s ease, color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.CommentSection .comment-list .comment-reply-link:hover {
	background: #f37f25;
	box-shadow: 0 8px 18px rgba(243, 127, 37, 0.22);
	color: #ffffff;
	transform: translateY(-1px);
}

.CommentSection .comment-list .children {
	margin: 18px 0 0 42px;
	padding: 0;
	list-style: none;
}

.CommentSection .comment-list .bypostauthor .comment-body {
	border-color: rgba(243, 127, 37, 0.5);
}

.CommentSection .comment-respond {
	margin-top: 40px;
	padding: 32px;
	border: 1px solid #f1f1f1;
	border-radius: 22px;
	background: #ffffff;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.CommentSection .comment-respond .comment-reply-title {
	margin-bottom: 22px;
	color: #f37f25;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.4;
}

/*
 * Account, required-field and form guidance remain visible.
 * These were previously removed in functions.php and hidden with display:none.
 */
.CommentSection .comment-respond .logged-in-as,
.CommentSection .comment-respond .comment-notes,
.CommentSection .comment-respond .required-field-message {
	display: block;
	margin: 0 0 16px;
	color: #5f6368;
	font-size: 13px;
	line-height: 1.7;
}

.CommentSection .comment-respond .logged-in-as a,
.CommentSection .comment-respond .comment-notes a,
.CommentSection .comment-respond .required-field-message a {
	color: #f37f25;
	font-weight: 600;
	text-decoration: none;
}

.CommentSection .comment-form label {
	display: block;
	margin-bottom: 8px;
	color: #000000;
	font-size: 15px;
	font-weight: 600;
}

.CommentSection .comment-form textarea,
.CommentSection .comment-form input[type="text"],
.CommentSection .comment-form input[type="email"],
.CommentSection .comment-form input[type="url"] {
	width: 100%;
	padding: 15px 18px;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	background: #fafafa;
	color: #000000;
	font-size: 15px;
	line-height: 1.8;
	outline: none;
	transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.CommentSection .comment-form textarea {
	min-height: 180px;
	resize: vertical;
}

.CommentSection .comment-form textarea:focus,
.CommentSection .comment-form input[type="text"]:focus,
.CommentSection .comment-form input[type="email"]:focus,
.CommentSection .comment-form input[type="url"]:focus {
	border-color: #f37f25;
	background: #ffffff;
	box-shadow: 0 0 0 4px rgba(243, 127, 37, 0.12);
}

.CommentSection .comment-form .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 16px 0 0;
}

.CommentSection .comment-form .comment-form-cookies-consent input {
	flex: 0 0 auto;
	margin-top: 5px;
}

.CommentSection .comment-form .comment-form-cookies-consent label {
	margin: 0;
	color: #5f6368;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.6;
}

.CommentSection .comment-form .form-submit {
	margin-top: 20px;
}

.CommentSection .comment-form input[type="submit"],
.CommentSection .comment-form .submit {
	padding: 13px 28px;
	border: 0;
	border-radius: 14px;
	background: #f37f25;
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.25s ease, color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.CommentSection .comment-form input[type="submit"]:hover,
.CommentSection .comment-form .submit:hover {
	background: #000000;
	box-shadow: 0 10px 24px rgba(243, 127, 37, 0.25);
	color: #ffffff;
	transform: translateY(-2px);
}

@media (max-width: 767px) {
	.CommentSection .comments-area .comments-title,
	.CommentSection .comments-title,
	.CommentSection .comments-area h2,
	.CommentSection .comments-area h3 {
		font-size: 24px;
	}

	.CommentSection .comment-list .comment-body {
		padding: 22px 20px !important;
		border-radius: 18px;
	}

	.CommentSection .comment-list .comment-meta {
		display: block;
	}

	.CommentSection .comment-list .comment-author {
		margin-bottom: 10px;
	}

	.CommentSection .comment-list .comment-metadata {
		margin-left: 60px;
		text-align: left;
	}

	.CommentSection .comment-list .comment-content,
	.CommentSection .comment-list .reply {
		margin-left: 0;
	}

	.CommentSection .comment-list .children {
		margin-left: 16px;
	}

	.CommentSection .comment-respond {
		padding: 22px;
		border-radius: 18px;
	}

	.CommentSection .comment-respond .comment-reply-title {
		font-size: 22px;
	}

	.CommentSection .comment-form textarea {
		min-height: 150px;
	}
}
