.tiwala-comments {
  --twc-green: #174C5B;
  --twc-green-dark: #123D49;
  --twc-border: #d7dfda;
  --twc-text: #24332d;
  --twc-muted: #607069;
  box-sizing: border-box;
  width: 100%;
  max-width: 780px;
  margin: 2.5rem auto;
 padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--twc-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(25, 55, 43, .08);
  color: var(--twc-text);
}

.tiwala-comments *, .tiwala-comments *::before, .tiwala-comments *::after { box-sizing: border-box; }
.tiwala-comments .comment-reply-title { margin: 0 0 .5rem; font-size: clamp(1.45rem, 4vw, 1.9rem); line-height: 1.2; }
.tiwala-comments__note { margin: 0 0 1.4rem; color: var(--twc-muted); font-size: .925rem; }
.tiwala-comments form.comment-form { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 1rem !important; }
.tiwala-comments form.comment-form > p { min-width: 0; width: 100% !important; max-width: none !important; margin: 0 !important; }
.tiwala-comments .comment-form-comment,
.tiwala-comments .comment-form-cookies-consent,
.tiwala-comments .comment-form-privacy,
.tiwala-comments .form-submit,
.tiwala-comments .logged-in-as { grid-column: 1 / -1; }
.tiwala-comments .comment-form-url { display: none !important; }
.tiwala-comments label { display: block; margin: 0 0 .4rem; font-weight: 650; font-size: .95rem; }
.tiwala-comments input[type="text"],
.tiwala-comments input[type="email"],
.tiwala-comments textarea {
  width: 100%;
  margin: 0;
  border: 1px solid #b9c5bf;
  border-radius: 10px;
  background: #fff;
  color: var(--twc-text);
  font: inherit;
  line-height: 1.5;
  padding: .8rem .9rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.tiwala-comments textarea { min-height: 150px; resize: vertical; }
.tiwala-comments input:focus, .tiwala-comments textarea:focus { outline: 0; border-color: var(--twc-green); box-shadow: 0 0 0 3px rgba(31, 91, 69, .15); }
.tiwala-comments form.comment-form .comment-form-privacy,
.tiwala-comments form.comment-form .comment-form-cookies-consent {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr) !important;
  align-items: start !important;
  column-gap: .6rem !important;
  color: var(--twc-muted);
  font-size: .82rem !important;
  line-height: 1.4 !important;
}
.tiwala-comments .comment-form-privacy input,
.tiwala-comments .comment-form-cookies-consent input {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: block !important;
  position: static !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: .08rem 0 0 !important;
  padding: 0 !important;
  accent-color: var(--twc-green);
}
.tiwala-comments .comment-form-privacy label,
.tiwala-comments .comment-form-cookies-consent label {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: 400 !important;
}
.tiwala-comments a { color: var(--twc-green); text-underline-offset: 2px; }
.tiwala-comments__submit { width: min(100%, 360px) !important; min-height: 48px; margin: .25rem auto 0 !important; display: block; border: 0 !important; border-radius: 10px !important; background: var(--twc-green) !important; color: #fff !important; font-weight: 750 !important; cursor: pointer; box-shadow: none !important; }
.tiwala-comments__submit:hover { background: var(--twc-green-dark) !important; }
.tiwala-comments__submit:focus-visible { outline: 3px solid rgba(31, 91, 69, .28); outline-offset: 3px; }

@media (max-width: 600px) {
  .tiwala-comments { margin: 1.5rem auto; border-radius: 14px; }
  .tiwala-comments form.comment-form { grid-template-columns: 1fr !important; }
  .tiwala-comments form > p { grid-column: 1; }
}
