body main .comentario-root.comentario-root {
  /* Remove background behind composer wrapper */
  --cmntr-bg: transparent;

  /* Tweak color in light mode */
  @media (prefers-color-scheme: light) {
    --cmntr-bg-shade: white;
  }

  /* Theme-specific: Remove background behind `code` element inside code blocks */
  pre code {
    background-color: transparent;
    color: inherit;
  }

  /* Theme-specific: Remove border around blockquote */
  blockquote {
    border-top: transparent;
    border-bottom: transparent;
    color: black;
    padding: 0 20px;
    margin-left: 0;
    border-left: 2px solid #B83B5C;
  }

  /* Theme-specific: Change color of default button */
  .comentario-btn-tool,
  .comentario-btn-link {
    --cmntr-btn-hover-color: #B83B5C;
    --cmntr-btn-active-color: #B83B5C;
  }
  .comentario-btn-link {
    --cmntr-btn-color: black;
  }

  /* Theme-specific: Change color of primary button */
  .comentario-btn-primary {
    --cmntr-btn-bg: #B83B5C;
    --cmntr-btn-hover-bg: #83338E;
    --cmntr-btn-active-bg: #83338E;
  }

  /* Theme-specific: Change style of secondary button */
  .comentario-btn-secondary {
    --cmntr-btn-bg: #B83B5C;
    --cmntr-btn-hover-bg: #83338E;
    --cmntr-btn-active-bg: #83338E;
    background-color: transparent;
    box-shadow: none !important;
    border: 2px solid var(--cmntr-btn-bg);
    color: var(--cmntr-btn-bg);
    }

    .comentario-btn-secondary:hover {
      border-color: var(--cmntr-btn-hover-bg);
      color: white;
    }
    .comentario-btn-secondary:active {
      border-color: var(--cmntr-btn-active-bg);
      color: white;
    }

  /* Remove red border when textarea is invalid but still empty */
  textarea.comentario-touched:invalid:empty,
  .comentario-add-comment-host:not(.comentario-editor-inserted),
  textarea {
    border: 1px solid #959595;
  }
  
  /* 
    Only transition the color-related properties of the textarea.
    Prevents the resizing of the textarea from feeling "laggy".
   */
  textarea {
    transition-property: box-shadow, color, background-color, border,
      border-color;
  }

  /* Tweak background color of textarea */
  .comentario-add-comment-host:not(.comentario-editor-inserted),
  textarea {
    --cmntr-input-bg: white;
    --cmntr-bg: white;
  }

  /* Disable "children collapse" toggler. */
  .comentario-card-expand-toggler {
    pointer-events: none;
  }

  /* Hide colored borders. */
  [class*="comentario-border-"] {
    border-left-color: transparent !important;
  }

  /* Hide background behind toolbar in preview mode. */
  .comentario-toolbar.comentario-disabled:has(
      ~ .comentario-comment-editor-preview
    ) {
    background-color: transparent;
  }

  /* Make badges more legible */
  .comentario-badge {
    font-size: 10px;
    font-weight: bold;
  }

  /* Hide moderator badge */
  .comentario-badge-moderator {
    display: none;
  }

  /* Make author links fit nicer with the rest of the style */
  .comentario-card a.comentario-name {
    color: #B83B5C;
    cursor: pointer;
    text-decoration: none;
    }

    .comentario-card a.comentario-name:hover {
      text-decoration: underline;
      color: #83338E;
    }

  /* Make links in comments less "aggressive" */
  .comentario-card-body a {
    color: black;
    cursor: pointer;
    text-decoration-line: underline;
    text-decoration-color: black;
    font-weight: bold;
    }

    .comentario-card-body:hover a {
      text-decoration-thickness: 1px;
      text-decoration: none;
      color: #83338E;
      font-weight: bold;
    }

  /* Make the subtitles easier to read */
  .comentario-subtitle a {
    color: black;
  }
  .comentario-toolbar {
    color: black;
  }
  .comentario-toolbar-section .comentario-name {
    color: black !important;
  }
  .comentario-add-comment-placeholder {
    color: black !important;
  }
  .comentario-icon {
    fill: black;
  }
  .comentario-comment-count {
    color: black;
  }

  /* Use site link color for "watermark" */
  .comentario-footer {
    --cmntr-link-color: black;
    --cmntr-link-hover-color: black;
  }

  /* Hide sorting buttons
    TODO: show it again and find a way to make the buttons not ugly
  */
  .comentario-sort-bar {
    display: none;
  }