/* Shared comments: preserve form fields, moderation, pagination and captcha. */
.comments.ems-comments{margin:48px 0;color:#46515e}
.comments.ems-comments>h3{margin:0 0 20px;color:#303b46;font-size:24px;font-weight:600;line-height:1.4}
.comments.ems-comments>p{margin:0 0 30px;color:#69737f;font-size:15px;line-height:1.7}
.comments.ems-comments .comments-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:32px}
.comments.ems-comments .comments-item{min-width:0;margin:0;padding:22px 24px;border:1px solid #e0e5e9;border-radius:14px;background:#fff}
.comments.ems-comments .comments-item .contact{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin-bottom:12px}
.comments.ems-comments .comments-item .contact .name{min-width:0;color:#35414e;font-size:16px;font-weight:600;overflow-wrap:anywhere}
.comments.ems-comments .comments-item .contact .time{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;color:#6b7580;font-size:12px;line-height:1.6}
.comments.ems-comments .comments-item .contact .time .stars{margin:0;color:#d4dae0;white-space:nowrap;font-size:13px}
.comments.ems-comments .comments-item .contact .time .stars i.red{color:#aa7015}
.comments.ems-comments .comments-item .text{max-width:100%;margin:0;color:#4d5865;font-size:15px;line-height:1.75;overflow-wrap:anywhere;overflow-x:auto}
.comments.ems-comments .comments-item .reply .comments-reply-item{margin:18px 0 0;padding:14px 0 0 17px;border:0;border-left:2px solid #dfe5e9;border-radius:0;background:transparent}
.comments.ems-comments .comments-item .reply .comments-reply-item .name{margin-bottom:5px;color:#35414e;font-size:14px;font-weight:600}
.comments.ems-comments .comments-item .reply .comments-reply-item .text{font-size:14px;line-height:1.7}
.comments.ems-comments .comments-form{padding:25px 27px 10px;border:1px solid #dfe5e9;border-radius:16px;background:#fff}
.comments.ems-comments .comments-form .form-group{margin-bottom:18px}
.comments.ems-comments .comments-form label.control-label,.comments.ems-comments .ems-comment-rating-label{display:block;margin:0 0 8px;color:#46515e;font-size:14px;font-weight:600;line-height:1.5}
.comments.ems-comments .comments-form input[type=text],.comments.ems-comments .comments-form textarea{width:100%;max-width:100%;min-width:0;padding:12px 14px;border:1px solid #d6dde4;border-radius:9px;background:#fff;color:#35414e;font-family:inherit;font-size:15px;line-height:1.6;box-shadow:none}
.comments.ems-comments .comments-form input[type=text]{min-height:46px}
.comments.ems-comments .comments-form textarea{height:150px;min-height:130px;resize:vertical}
.comments.ems-comments .comments-form input[type=text]:focus,.comments.ems-comments .comments-form textarea:focus{border-color:#7f9e85;outline:2px solid #e4ede6;outline-offset:1px;box-shadow:none}
.comments.ems-comments .comments-form .stars{position:relative;display:flex;flex-direction:row-reverse;width:max-content;max-width:100%;margin:0;gap:0}
.comments.ems-comments .comments-form .stars [type=radio]{position:absolute!important;left:0!important;top:0;width:1px;height:1px;opacity:0}
.comments.ems-comments .comments-form .stars [type=radio]+label{display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;margin:0;padding:0;border-radius:6px;color:#7f8a96;font-size:23px;line-height:1;cursor:pointer}
.comments.ems-comments .comments-form .stars label:hover .fa-star,.comments.ems-comments .comments-form .stars label:hover~label .fa-star,.comments.ems-comments .comments-form .stars [type=radio]:checked~label .fa-star{color:#aa7015}
.comments.ems-comments .comments-form .stars [type=radio]:focus-visible+label{outline:2px solid #657687;outline-offset:-2px}
.comments.ems-comments .comments-form .agreement{max-width:100%;margin:4px 0 0;padding-top:0;color:#66717d;font-size:13px;line-height:1.7}
.comments.ems-comments .comments-form .agreement a{color:#465b70;text-decoration:underline;text-underline-offset:2px}
.comments.ems-comments .comments-form input[type=submit]{min-width:150px;min-height:44px;margin:0 0 8px;padding:10px 24px;border:1px solid #148523;border-radius:9px;background:#fff;color:#147d21;font-size:15px;font-weight:500;line-height:1.5;cursor:pointer;box-shadow:none}
.comments.ems-comments .comments-form input[type=submit]:hover{border-color:#11741e;background:#11741e;color:#fff}
.comments.ems-comments input[type=submit]:focus-visible,.comments.ems-comments .pagination a:focus-visible{outline:2px solid #657687;outline-offset:3px}
.comments.ems-comments .comments-form .help-block{margin:5px 0 0;color:#b43e3e;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.comments.ems-comments .comments-form .help-block:empty{display:none}
.comments.ems-comments .comments-form .help-block-submit{color:#365f40}
.comments.ems-comments .ems-captcha-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.comments.ems-comments .comments-form [type=checkbox]:focus-visible+label{outline:2px solid #657687;outline-offset:3px;border-radius:3px}
.comments.ems-comments .pagination{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:6px;margin:0 0 30px;padding:0;list-style:none}
.comments.ems-comments .pagination li{padding:0;list-style:none}
.comments.ems-comments .pagination li a,.comments.ems-comments .pagination li span{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:44px;margin:0;padding:8px 12px;border:1px solid #dce2e7;border-radius:8px!important;background:#fff;color:#4e5e6f;font-size:14px;line-height:1.5}
.comments.ems-comments .pagination li.active a,.comments.ems-comments .pagination li.active>span,.comments.ems-comments .pagination li a:hover,.comments.ems-comments .pagination li span:hover{border-color:#5a6877;background:#5a6877!important;color:#fff}
.comments.ems-comments .pagination>.disabled>span{margin:0;background:#f5f6f7;color:#9aa3ae}
@media(max-width:767.98px){
 .comments.ems-comments{margin:34px 0}
 .comments.ems-comments>h3{margin-bottom:17px;font-size:22px}
 .comments.ems-comments .comments-items{grid-template-columns:minmax(0,1fr);gap:13px;margin-bottom:27px}
 .comments.ems-comments .comments-item{padding:19px 18px;border-radius:12px}
 .comments.ems-comments .comments-item .contact{align-items:flex-start;gap:7px}
 .comments.ems-comments .comments-item .contact .time{margin-top:0}
 .comments.ems-comments .comments-form{padding:20px 17px 7px;border-radius:13px}
 .comments.ems-comments .comments-form textarea{height:145px}
}
@media(max-width:379.98px){.comments.ems-comments .ems-lazy-recaptcha{transform:scale(.9);transform-origin:top left}}
@media(max-width:339.98px){.comments.ems-comments .ems-lazy-recaptcha{transform:scale(.75);transform-origin:top left}}
@media(prefers-reduced-motion:reduce){.comments.ems-comments *{transition:none!important}}
