/* Article comments — site palette (#402863 / #993399), square buttons, card style like testimonials. */

.unipro-comments {
	clear: both;
	margin: 50px 0 20px;
	padding-top: 30px;
	border-top: 1px solid #ececec;
}

.unipro-comments__empty { color: #757575; }

/* The theme floats .bold-title on phones; keep the list below the title. */
.unipro-comments .bold-title { float: none; width: auto; }
.unipro-comments__list { clear: both; }
#comments .unipro-comments__reply-title { padding-bottom: 12px; border-bottom: 1px solid #e3e0e8; color: #292529; font-size: 20px; text-transform: none; }

/* List */
.unipro-comments__list,
.unipro-comments__list .children {
	margin: 0;
	padding: 0;
	list-style: none;
}
.unipro-comments__list .children { margin-left: 28px; padding-left: 18px; border-left: 2px solid #ececec; }
.unipro-comment { margin: 0 0 18px; }
.unipro-comment__body {
	padding: 18px 20px;
	background: #fff;
	border: 1px solid #ececec;
	border-left: 4px solid #993399;
}
.bypostauthor > .unipro-comment__body { border-left-color: #402863; background: #f9f7fc; }
.unipro-comment__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.unipro-comment__avatar {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #402863;
	color: #fff;
	font-weight: 700;
}
.unipro-comment__author { display: block; color: #292529; }
.unipro-comment__badge { display: inline-block; margin: 2px 0; padding: 1px 8px; background: #993399; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; }
.unipro-comment__date { display: block; color: #757575; font-size: 13px; }
.unipro-comment__date:hover, .unipro-comment__date:focus { color: #993399; }
.unipro-comment__pending { margin: 0 0 8px; padding: 6px 10px; background: #fff8e1; color: #6b5300; font-size: 14px; }
.unipro-comment__text p { margin-bottom: 0.6rem; color: #4b4b4b; }
.unipro-comment__reply a { color: #993399; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.unipro-comment__reply a:hover, .unipro-comment__reply a:focus { color: #402863; }

.unipro-comments .nav-links { display: flex; justify-content: space-between; margin: 10px 0 20px; }

/* Form */
.unipro-comments__respond { margin-top: 30px; padding: 26px 26px 10px; background: #f9f9f9; border-top: 4px solid #993399; }
.unipro-comments__reply-title { margin: 0 0 6px; color: #292529; font-size: 22px; }
.unipro-comments__reply-title small { margin-left: 10px; font-size: 13px; }
.unipro-comments__reply-title small a { color: #993399; }
.unipro-comments__notes { color: #757575; font-size: 14px; }
.unipro-comments__field { margin-bottom: 16px; }
.unipro-comments__field label { display: block; margin-bottom: 6px; color: #292529; font-weight: 600; }
.unipro-comments__field .required { color: #b3261e; }
.unipro-comments__field input,
.unipro-comments__field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #cfcad6;
	border-radius: 0;
	background: #fff;
	color: #292529;
}
.unipro-comments__field input:focus,
.unipro-comments__field textarea:focus { border-color: #993399; outline: 3px solid rgba(151, 110, 210, 0.35); outline-offset: 0; }
.unipro-comments__field small { color: #757575; }
.unipro-comments__consent { margin-bottom: 16px; color: #4b4b4b; font-size: 14px; }
.unipro-comments__consent input { margin-right: 6px; }
.unipro-comments__submit .btn { margin-top: 0; }
.unipro-comments__submit input[type="submit"],
#commentform #submit { /* theme styles #submit dark grey by ID */
	float: none;
	line-height: 1.4;
	padding: 15px 30px;
	border: 2px solid #993399;
	border-radius: 0;
	background: #993399;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	cursor: pointer;
}
#commentform #submit:hover,
#commentform #submit:focus,
.unipro-comments__submit input[type="submit"]:hover,
.unipro-comments__submit input[type="submit"]:focus { border-color: #402863; background: #402863; color: #fff; }
.unipro-comments__submit .btn:focus-visible { outline: 3px solid #976ed2; outline-offset: 3px; }

/* Honeypot: hidden from people, visible to naive bots. */
.unipro-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* reCAPTCHA v3 badge: keep it, but out of the chat button's way. */
.grecaptcha-badge { z-index: 20 !important; }

@media (max-width: 575.98px) {
	.unipro-comments__list .children { margin-left: 10px; padding-left: 10px; }
	.unipro-comments__respond { padding: 20px 16px 6px; }
}
