/*
 * Commentora frontend comments skin.
 * Scoped to pages where the plugin adds .commentora-comments-enabled, with
 * additional Elementor widget specificity so theme/Elementor defaults do not
 * silently override the intended layout.
 */
body.commentora-comments-enabled #comments,
body.commentora-comments-enabled .comments-area,
.elementor-widget-theme-post-comments{
  color:#172033;
}

body.commentora-comments-enabled #comments,
body.commentora-comments-enabled .comments-area,
.elementor-widget-theme-post-comments #comments{
  width:100%;
  max-width:none;
}

body.commentora-comments-enabled #comments .comments-title,
body.commentora-comments-enabled .comments-area .comments-title,
.elementor-widget-theme-post-comments .comments-title{
  margin:0 0 1.5rem!important;
  color:#172033;
  font-size:clamp(1.25rem,2vw,1.65rem)!important;
  font-weight:800;
  line-height:1.6;
}

body.commentora-comments-enabled #comments .comment-list,
body.commentora-comments-enabled .comments-area .comment-list,
.elementor-widget-theme-post-comments .comment-list,
.elementor-widget-theme-post-comments ol.comment-list{
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}

body.commentora-comments-enabled #comments .comment-list .comment,
body.commentora-comments-enabled .comments-area .comment-list .comment,
.elementor-widget-theme-post-comments .comment-list .comment{
  margin:0 0 1rem!important;
  padding:0;
  list-style:none!important;
}

body.commentora-comments-enabled #comments .comment-body,
body.commentora-comments-enabled .comments-area .comment-body,
.elementor-widget-theme-post-comments .comment-body{
  position:relative;
  margin:0;
  padding:1.15rem 1.2rem!important;
  border:1px solid #e8eaf0!important;
  border-radius:var(--commentora-radius,18px)!important;
  background:#fff!important;
  box-shadow:0 10px 30px rgba(25,35,58,.055)!important;
}

body.commentora-comments-enabled #comments .comment-meta,
body.commentora-comments-enabled .comments-area .comment-meta,
.elementor-widget-theme-post-comments .comment-meta{
  margin:0 0 .8rem!important;
  padding:0;
  border:0;
  background:transparent;
}

body.commentora-comments-enabled #comments .comment-author,
body.commentora-comments-enabled .comments-area .comment-author,
.elementor-widget-theme-post-comments .comment-author{
  display:flex!important;
  align-items:center;
  gap:.75rem;
  min-height:44px;
}

body.commentora-comments-enabled #comments .comment-author .avatar,
body.commentora-comments-enabled .comments-area .comment-author .avatar,
.elementor-widget-theme-post-comments .comment-author .avatar{
  position:static!important;
  float:none!important;
  width:44px!important;
  height:44px!important;
  margin:0!important;
  border:0!important;
  border-radius:50%!important;
  object-fit:cover;
  box-shadow:0 0 0 4px #f3f1ff;
}

body.commentora-comments-enabled #comments .comment-author .fn,
body.commentora-comments-enabled .comments-area .comment-author .fn,
.elementor-widget-theme-post-comments .comment-author .fn,
body.commentora-comments-enabled #comments .comment-author b,
.elementor-widget-theme-post-comments .comment-author b{
  color:#172033!important;
  font-size:.95rem;
  font-style:normal;
  font-weight:800;
  line-height:1.7;
}

body.commentora-comments-enabled #comments .comment-author a,
body.commentora-comments-enabled .comments-area .comment-author a,
.elementor-widget-theme-post-comments .comment-author a{
  color:inherit!important;
  text-decoration:none!important;
}

body.commentora-comments-enabled #comments .says,
body.commentora-comments-enabled .comments-area .says,
.elementor-widget-theme-post-comments .says{
  color:#98a0b1;
  font-size:.75rem;
}

body.commentora-comments-enabled #comments .comment-metadata,
body.commentora-comments-enabled .comments-area .comment-metadata,
.elementor-widget-theme-post-comments .comment-metadata{
  margin:.25rem 3.55rem 0 0!important;
  color:#8a92a5!important;
  font-size:.76rem!important;
  line-height:1.7;
}

body.commentora-comments-enabled #comments .comment-metadata a,
body.commentora-comments-enabled .comments-area .comment-metadata a,
.elementor-widget-theme-post-comments .comment-metadata a{
  color:inherit!important;
  text-decoration:none!important;
}

body.commentora-comments-enabled #comments .comment-content,
body.commentora-comments-enabled .comments-area .comment-content,
.elementor-widget-theme-post-comments .comment-content{
  margin:0;
  color:#3e4659!important;
  font-size:.94rem;
  line-height:2!important;
}

body.commentora-comments-enabled #comments .comment-content p,
body.commentora-comments-enabled .comments-area .comment-content p,
.elementor-widget-theme-post-comments .comment-content p{
  margin-top:0;
}

body.commentora-comments-enabled #comments .comment-content p:last-child,
body.commentora-comments-enabled .comments-area .comment-content p:last-child,
.elementor-widget-theme-post-comments .comment-content p:last-child{
  margin-bottom:0;
}

body.commentora-comments-enabled #comments .reply,
body.commentora-comments-enabled .comments-area .reply,
.elementor-widget-theme-post-comments .reply{
  margin-top:.8rem!important;
}

body.commentora-comments-enabled #comments .comment-reply-link,
body.commentora-comments-enabled .comments-area .comment-reply-link,
.elementor-widget-theme-post-comments .comment-reply-link{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:0 .8rem!important;
  border:0!important;
  border-radius:999px!important;
  background:#f1efff!important;
  color:var(--commentora-accent,#6d5dfb)!important;
  box-shadow:none!important;
  font-size:.78rem!important;
  font-weight:800;
  line-height:1;
  text-decoration:none!important;
  transition:transform .18s ease,background .18s ease,color .18s ease;
}

body.commentora-comments-enabled #comments .comment-reply-link:hover,
body.commentora-comments-enabled .comments-area .comment-reply-link:hover,
.elementor-widget-theme-post-comments .comment-reply-link:hover{
  transform:translateY(-1px);
  background:var(--commentora-accent,#6d5dfb)!important;
  color:#fff!important;
}

body.commentora-comments-enabled #comments .children,
body.commentora-comments-enabled .comments-area .children,
.elementor-widget-theme-post-comments .children{
  margin:1rem 2rem 0 0!important;
  padding:0!important;
  list-style:none!important;
}

body.commentora-comments-enabled #comments .children .comment-body,
body.commentora-comments-enabled .comments-area .children .comment-body,
.elementor-widget-theme-post-comments .children .comment-body{
  background:#fbfbfe!important;
}

body.commentora-comments-enabled #comments .comment-awaiting-moderation,
body.commentora-comments-enabled .comments-area .comment-awaiting-moderation,
.elementor-widget-theme-post-comments .comment-awaiting-moderation{
  display:block;
  margin:.65rem 0;
  color:#9a6815;
  font-size:.8rem;
  font-style:normal;
}

body.commentora-comments-enabled #comments .comment-respond,
body.commentora-comments-enabled .comments-area .comment-respond,
.elementor-widget-theme-post-comments .comment-respond{
  margin-top:2rem!important;
  padding:1.35rem!important;
  border:1px solid #e7e9ef!important;
  border-radius:var(--commentora-radius,18px)!important;
  background:#fff!important;
  box-shadow:0 14px 34px rgba(25,35,58,.055)!important;
}

body.commentora-comments-enabled #comments .comment-reply-title,
body.commentora-comments-enabled .comments-area .comment-reply-title,
.elementor-widget-theme-post-comments .comment-reply-title{
  margin:0 0 1rem!important;
  color:#172033;
  font-size:1.2rem!important;
  font-weight:800;
  line-height:1.7;
}

body.commentora-comments-enabled #comments #cancel-comment-reply-link,
.elementor-widget-theme-post-comments #cancel-comment-reply-link{
  margin-right:.5rem;
  color:var(--commentora-accent,#6d5dfb);
  font-size:.75rem;
  text-decoration:none;
}

body.commentora-comments-enabled #comments .comment-notes,
body.commentora-comments-enabled #comments .logged-in-as,
body.commentora-comments-enabled .comments-area .comment-notes,
body.commentora-comments-enabled .comments-area .logged-in-as,
.elementor-widget-theme-post-comments .comment-notes,
.elementor-widget-theme-post-comments .logged-in-as{
  margin:0;
  color:#7e879b!important;
  font-size:.82rem!important;
  line-height:1.8;
}

body.commentora-comments-enabled #comments .comment-form,
body.commentora-comments-enabled .comments-area .comment-form,
.elementor-widget-theme-post-comments .comment-form,
.elementor-widget-theme-post-comments form#commentform{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem!important;
  margin:0;
}

body.commentora-comments-enabled #comments .comment-form>p,
body.commentora-comments-enabled .comments-area .comment-form>p,
.elementor-widget-theme-post-comments .comment-form>p{
  margin:0!important;
}

body.commentora-comments-enabled #comments .comment-form-comment,
body.commentora-comments-enabled #comments .comment-notes,
body.commentora-comments-enabled #comments .logged-in-as,
body.commentora-comments-enabled #comments .form-submit,
body.commentora-comments-enabled #comments .comment-form-cookies-consent,
body.commentora-comments-enabled .comments-area .comment-form-comment,
body.commentora-comments-enabled .comments-area .comment-notes,
body.commentora-comments-enabled .comments-area .logged-in-as,
body.commentora-comments-enabled .comments-area .form-submit,
body.commentora-comments-enabled .comments-area .comment-form-cookies-consent,
.elementor-widget-theme-post-comments .comment-form-comment,
.elementor-widget-theme-post-comments .comment-notes,
.elementor-widget-theme-post-comments .logged-in-as,
.elementor-widget-theme-post-comments .form-submit,
.elementor-widget-theme-post-comments .comment-form-cookies-consent{
  grid-column:1/-1;
}

body.commentora-comments-enabled #comments .comment-form label,
body.commentora-comments-enabled .comments-area .comment-form label,
.elementor-widget-theme-post-comments .comment-form label{
  display:block;
  margin:0 0 .45rem!important;
  color:#2d3446!important;
  font-size:.82rem!important;
  font-weight:800;
  line-height:1.7;
}

body.commentora-comments-enabled #comments .comment-form input[type=text],
body.commentora-comments-enabled #comments .comment-form input[type=email],
body.commentora-comments-enabled #comments .comment-form input[type=url],
body.commentora-comments-enabled #comments .comment-form textarea,
body.commentora-comments-enabled .comments-area .comment-form input[type=text],
body.commentora-comments-enabled .comments-area .comment-form input[type=email],
body.commentora-comments-enabled .comments-area .comment-form input[type=url],
body.commentora-comments-enabled .comments-area .comment-form textarea,
.elementor-widget-theme-post-comments .comment-form input[type=text],
.elementor-widget-theme-post-comments .comment-form input[type=email],
.elementor-widget-theme-post-comments .comment-form input[type=url],
.elementor-widget-theme-post-comments .comment-form textarea{
  width:100%!important;
  max-width:none!important;
  margin:0;
  border:1px solid #dfe3eb!important;
  border-radius:13px!important;
  background:#fff!important;
  box-shadow:none!important;
  color:#172033!important;
  font:inherit;
  outline:none;
  transition:border-color .18s ease,box-shadow .18s ease;
}

body.commentora-comments-enabled #comments .comment-form input[type=text],
body.commentora-comments-enabled #comments .comment-form input[type=email],
body.commentora-comments-enabled #comments .comment-form input[type=url],
.elementor-widget-theme-post-comments .comment-form input[type=text],
.elementor-widget-theme-post-comments .comment-form input[type=email],
.elementor-widget-theme-post-comments .comment-form input[type=url]{
  min-height:48px!important;
  padding:0 .9rem!important;
}

body.commentora-comments-enabled #comments .comment-form textarea,
body.commentora-comments-enabled .comments-area .comment-form textarea,
.elementor-widget-theme-post-comments .comment-form textarea{
  min-height:150px!important;
  padding:.9rem!important;
  resize:vertical;
}

body.commentora-comments-enabled #comments .comment-form input:focus,
body.commentora-comments-enabled #comments .comment-form textarea:focus,
body.commentora-comments-enabled .comments-area .comment-form input:focus,
body.commentora-comments-enabled .comments-area .comment-form textarea:focus,
.elementor-widget-theme-post-comments .comment-form input:focus,
.elementor-widget-theme-post-comments .comment-form textarea:focus{
  border-color:var(--commentora-accent,#6d5dfb)!important;
  box-shadow:0 0 0 4px rgba(109,93,251,.13)!important;
}

body.commentora-comments-enabled #comments .comment-form-cookies-consent,
.elementor-widget-theme-post-comments .comment-form-cookies-consent{
  display:flex;
  align-items:flex-start;
  gap:.55rem;
}

body.commentora-comments-enabled #comments .comment-form-cookies-consent input,
.elementor-widget-theme-post-comments .comment-form-cookies-consent input{
  margin-top:.35rem;
}

body.commentora-comments-enabled #comments .form-submit input[type=submit],
body.commentora-comments-enabled #comments .form-submit button[type=submit],
body.commentora-comments-enabled .comments-area .form-submit input[type=submit],
body.commentora-comments-enabled .comments-area .form-submit button[type=submit],
.elementor-widget-theme-post-comments .form-submit input[type=submit],
.elementor-widget-theme-post-comments .form-submit button[type=submit]{
  min-height:46px!important;
  padding:0 1.25rem!important;
  border:0!important;
  border-radius:12px!important;
  background:var(--commentora-accent,#6d5dfb)!important;
  box-shadow:none!important;
  color:#fff!important;
  cursor:pointer;
  font:inherit;
  font-weight:800;
  line-height:1;
  text-transform:none;
  transition:filter .18s ease,transform .18s ease;
}

body.commentora-comments-enabled #comments .form-submit input[type=submit]:hover,
body.commentora-comments-enabled #comments .form-submit button[type=submit]:hover,
.elementor-widget-theme-post-comments .form-submit input[type=submit]:hover,
.elementor-widget-theme-post-comments .form-submit button[type=submit]:hover{
  filter:brightness(.93);
  transform:translateY(-1px);
}

body.commentora-comments-enabled #comments .no-comments,
.elementor-widget-theme-post-comments .no-comments{
  padding:1rem;
  border-radius:12px;
  background:#f7f6ff;
  color:#5f6680;
}

@media (max-width:720px){
  body.commentora-comments-enabled #comments .comment-body,
  body.commentora-comments-enabled .comments-area .comment-body,
  .elementor-widget-theme-post-comments .comment-body{
    padding:1rem!important;
  }

  body.commentora-comments-enabled #comments .children,
  body.commentora-comments-enabled .comments-area .children,
  .elementor-widget-theme-post-comments .children{
    margin-right:.65rem!important;
  }

  body.commentora-comments-enabled #comments .comment-form,
  body.commentora-comments-enabled .comments-area .comment-form,
  .elementor-widget-theme-post-comments .comment-form{
    grid-template-columns:1fr!important;
  }

  body.commentora-comments-enabled #comments .comment-form-author,
  body.commentora-comments-enabled #comments .comment-form-email,
  body.commentora-comments-enabled #comments .comment-form-url,
  body.commentora-comments-enabled .comments-area .comment-form-author,
  body.commentora-comments-enabled .comments-area .comment-form-email,
  body.commentora-comments-enabled .comments-area .comment-form-url,
  .elementor-widget-theme-post-comments .comment-form-author,
  .elementor-widget-theme-post-comments .comment-form-email,
  .elementor-widget-theme-post-comments .comment-form-url{
    grid-column:1/-1;
  }

  body.commentora-comments-enabled #comments .comment-metadata,
  .elementor-widget-theme-post-comments .comment-metadata{
    margin-right:0!important;
  }
}
