/* ════════════════════════════════════════════════════════════════
   Saada Theme — Comments  (trilingual AR / EN / FR)
   Redesigned to sit naturally inside the Saada visual language:
   teal / cream / navy palette, Fraunces display + Outfit / Cairo body,
   soft cards, hairline borders, one orange accent as the signature.

   Everything is scoped under .sfd-cx and built with CSS logical
   properties (margin-inline, inset-inline, text-align:start/end) so a
   single ruleset serves both RTL (Arabic) and LTR (English / French).
════════════════════════════════════════════════════════════════ */

.sfd-cx {
  /* Local fallbacks that mirror the theme design tokens */
  --cx-teal:       #14636b;
  --cx-teal-mid:   #1a7d87;
  --cx-teal-soft:  #e7f0f0;
  --cx-orange:     #e8841a;
  --cx-navy:       #1a2a4a;
  --cx-ink:        #1c3040;
  --cx-ink-mid:    #50697a;
  --cx-ink-soft:   #8aa3ad;
  --cx-card:       #ffffff;
  --cx-surface:    #f6f8f7;
  --cx-line:       rgba(20, 99, 107, .12);
  --cx-line-2:     rgba(20, 99, 107, .22);
  --cx-red:        #c0392b;
  --cx-red-soft:   #fdeeec;

  --cx-radius:     16px;
  --cx-radius-sm:  12px;
  --cx-shadow:     0 1px 2px rgba(26, 42, 74, .04), 0 14px 30px -18px rgba(20, 99, 107, .35);

  margin-top: 64px;
  padding-top: 0;
  font-family: 'Outfit', sans-serif;
  color: var(--cx-ink);
  -webkit-font-smoothing: antialiased;
  text-align: start;
}

/* Hairline divider above the "Visitor comments" block — matches the one
   above the comment form and the Related Articles section. */
.sfd-cx-listsection {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--cx-line);
}
.sfd-cx *,
.sfd-cx *::before,
.sfd-cx *::after { box-sizing: border-box; }

/* ──────────────────────────────────────────────────────────────
   CONTROL RESET
   Neutralize any form/button styling the host theme or plugins apply,
   so the component always starts from a clean slate before our own
   classes style each control. (.sfd-cx button) ties or beats common
   host descendant selectors, and comments.css loads after the main
   stylesheet, so this wins predictably.
────────────────────────────────────────────────────────────── */
.sfd-cx button,
.sfd-cx input,
.sfd-cx textarea,
.sfd-cx select {
  font-family: inherit;
  font-size: 100%;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}
.sfd-cx button {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  line-height: inherit;
  border-radius: 0;
  box-shadow: none;
  text-align: inherit;
  cursor: pointer;
}

.sfd-cx--ar { font-family: 'Cairo', sans-serif; }

/* Off-screen scroll anchor used by the "reply / top" actions */
.sfd-cx-anchor { display: block; position: relative; top: -100px; visibility: hidden; }

/* ──────────────────────────────────────────────────────────────
   SHARED SECTION HEADINGS  (form title + list title)
────────────────────────────────────────────────────────────── */
.sfd-cx-form-title,
.sfd-cx-listtitle {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  color: var(--cx-orange);
  line-height: 1.2;
  margin: 0;
}
.sfd-cx--ar .sfd-cx-form-title,
.sfd-cx--ar .sfd-cx-listtitle {
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

/* ──────────────────────────────────────────────────────────────
   COMMENT FORM  — elevated card (#respond.sfd-cx-form-wrap)
────────────────────────────────────────────────────────────── */
.sfd-cx-form-wrap {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  margin-bottom: 48px;
}

.sfd-cx-form-title {
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  margin-bottom: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cx-line);
  position: relative;
}
.sfd-cx--ar .sfd-cx-form-title { font-size: clamp(1.3rem, 2.7vw, 1.6rem); }
/* Orange accent bar sits on the hairline at the reading start (right in RTL) */
.sfd-cx-form-title::after {
  content: "";
  position: absolute;
  bottom: -1px;
  inset-inline-start: 0;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--cx-orange);
}
.sfd-cx-cancel { font-weight: 400; }
.sfd-cx-cancel a {
  color: var(--cx-red);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  margin-inline-start: 8px;
}
.sfd-cx-cancel a:hover { text-decoration: underline; }

.sfd-cx-form { margin-top: 26px; }
.sfd-cx-field { margin-bottom: 18px; }

.sfd-cx-input,
.sfd-cx-textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--cx-ink);
  background: var(--cx-surface);
  border: 1px solid var(--cx-line);
  border-radius: var(--cx-radius-sm);
  padding: 15px 18px;
  text-align: start;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.sfd-cx-input { min-height: 52px; }
.sfd-cx--ar .sfd-cx-input,
.sfd-cx--ar .sfd-cx-textarea { font-family: 'Cairo', sans-serif; }

.sfd-cx-input::placeholder,
.sfd-cx-textarea::placeholder { color: var(--cx-ink-soft); opacity: 1; }

.sfd-cx-input:focus,
.sfd-cx-textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--cx-teal);
  box-shadow: 0 0 0 3px rgba(20, 99, 107, .13);
}

.sfd-cx-textarea {
  min-height: 156px;
  line-height: 1.75;
  resize: vertical;
}

/* Character counter */
.sfd-cx-counter {
  margin-top: 8px;
  font-size: .82rem;
  color: var(--cx-ink-soft);
  text-align: end;
}
.sfd-cx--ar .sfd-cx-counter { direction: rtl; text-align: start; }
.sfd-cx-counter-ratio { unicode-bidi: isolate; }
.sfd-cx-counter-num { font-variant-numeric: tabular-nums; font-weight: 600; }
.sfd-cx-counter.is-low { color: var(--cx-orange); }
.sfd-cx-counter.is-low .sfd-cx-counter-num { font-weight: 700; }

/* Submit */
.sfd-cx-submitrow {
  margin-top: 22px;
  display: flex;
  justify-content: flex-start; /* reading start: right in RTL, left in LTR */
}
.sfd-cx-submit {
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  background: var(--cx-teal);
  border: 0;
  border-radius: var(--cx-radius-sm);
  padding: 15px 42px;
  cursor: pointer;
  box-shadow: 0 8px 20px -10px rgba(20, 99, 107, .65);
  transition: background .18s ease, transform .15s ease, box-shadow .18s ease;
}
.sfd-cx--ar .sfd-cx-submit { font-family: 'Cairo', sans-serif; font-weight: 700; }
.sfd-cx-submit:hover { background: var(--cx-teal-mid); transform: translateY(-1px); }
.sfd-cx-submit:active { transform: translateY(0); box-shadow: 0 4px 12px -8px rgba(20, 99, 107, .6); }
.sfd-cx-submit:focus-visible { outline: 2px solid var(--cx-teal); outline-offset: 3px; }

/* Publishing-conditions notice — calm teal info strip (was loud red) */
.sfd-cx-conditions {
  margin: 20px 0 0;
  padding: 14px 18px;
  background: var(--cx-teal-soft);
  border-radius: var(--cx-radius-sm);
  border-inline-start: 3px solid var(--cx-teal);
  color: var(--cx-ink-mid);
  font-size: .9rem;
  line-height: 1.7;
}
.sfd-cx-conditions strong { color: var(--cx-teal); font-weight: 700; }

/* ──────────────────────────────────────────────────────────────
   LIST HEADER  — title + count pill
────────────────────────────────────────────────────────────── */
.sfd-cx-listhead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cx-line);
  position: relative;
}
/* Orange accent bar on the hairline at the reading start (right in RTL) */
.sfd-cx-listhead::after {
  content: "";
  position: absolute;
  bottom: -1px;
  inset-inline-start: 0;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--cx-orange);
}
.sfd-cx-listtitle {
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
}
.sfd-cx--ar .sfd-cx-listtitle { font-size: clamp(1.3rem, 2.7vw, 1.6rem); }
.sfd-cx-countbadge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cx-teal-soft);
  color: var(--cx-teal);
  padding: 5px 13px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1;
}
.sfd-cx-countbadge svg { width: 15px; height: 15px; fill: currentColor; }

/* Disclaimer — a quiet muted note with a thin orange rule.
   Deliberately not a boxed/filled banner: there is no background or
   border-radius for a host plugin to reshape into a pill. */
.sfd-cx-disclaimer {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  color: var(--cx-ink-soft);
  font-size: .78rem;
  line-height: 1.65;
  text-align: center;
}

/* ──────────────────────────────────────────────────────────────
   COMMENT CARDS
────────────────────────────────────────────────────────────── */
.sfd-cx-list,
.sfd-cx-list .children { list-style: none; margin: 0; padding: 0; }
.sfd-cx-comment { margin: 0 0 18px; }
.sfd-cx-comment:last-child { margin-bottom: 0; }

.sfd-cx-card {
  position: relative;
  background: var(--cx-card);
  border: 1px solid var(--cx-line-2);
  border-radius: var(--cx-radius);
  padding: 24px 26px;
  box-shadow: 0 1px 2px rgba(26, 42, 74, .04), 0 12px 26px -18px rgba(20, 99, 107, .30);
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.sfd-cx-card:hover {
  box-shadow: 0 2px 4px rgba(26, 42, 74, .05), 0 18px 34px -18px rgba(20, 99, 107, .40);
  border-color: var(--cx-teal-soft);
}

/* Header: badge spans two rows, author over date beside it */
.sfd-cx-head {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "badge author"
    "badge date";
  column-gap: 13px;
  row-gap: 1px;
  align-items: center;
  margin-bottom: 14px;
}
.sfd-cx-num,
.sfd-cx-replyglyph { grid-area: badge; align-self: center; }
.sfd-cx-author { grid-area: author; align-self: end; }
.sfd-cx-date   { grid-area: date;   align-self: start; }

.sfd-cx-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  background: var(--cx-teal);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: .95rem;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 4px var(--cx-teal-soft);
}
.sfd-cx-replyglyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  background: var(--cx-teal-soft);
  color: var(--cx-teal);
  border-radius: 50%;
}
.sfd-cx-replyglyph svg { width: 15px; height: 15px; fill: currentColor; }

.sfd-cx-author { font-weight: 700; color: var(--cx-navy); font-size: 1.02rem; }
.sfd-cx-date { color: var(--cx-ink-soft); font-size: .8rem; font-variant-numeric: tabular-nums; }

.sfd-cx-text { color: var(--cx-ink); line-height: 1.85; font-size: 1rem; }
.sfd-cx-text p { margin: 0 0 12px; }
.sfd-cx-text p:last-child { margin-bottom: 0; }
.sfd-cx--ar .sfd-cx-text { line-height: 2.05; font-size: 1.05rem; }
.sfd-cx-moderation { color: var(--cx-orange); font-style: italic; font-size: .9rem; margin: 0 0 8px; }

/* Action bar */
.sfd-cx-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--cx-line);
}
.sfd-cx-actions-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }

.sfd-cx-act {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: .85rem;
  color: var(--cx-ink-soft);
  padding: 6px 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: color .15s ease, background .15s ease;
}
.sfd-cx--ar .sfd-cx-act { font-family: 'Cairo', sans-serif; }
.sfd-cx-act svg { width: 16px; height: 16px; fill: currentColor; flex: 0 0 auto; }
.sfd-cx-act:hover { color: var(--cx-teal); background: var(--cx-teal-soft); }
.sfd-cx-act--report:hover { color: var(--cx-red); background: var(--cx-red-soft); }

/* WordPress threaded reply link sits in a span; let the inner <a>
   carry the padding/hover, and give it a speech-bubble glyph.
   The fallback scroll anchor (.sfd-cx-scrollform) already ships an
   inline <svg>, so it keeps the base .sfd-cx-act styling instead. */
.sfd-cx-act--reply:not(.sfd-cx-scrollform) { padding: 0; background: none; }
.sfd-cx-act--reply:not(.sfd-cx-scrollform) .comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cx-ink-soft);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.sfd-cx-act--reply:not(.sfd-cx-scrollform) .comment-reply-link:hover { color: var(--cx-teal); background: var(--cx-teal-soft); }
.sfd-cx-act--reply:not(.sfd-cx-scrollform) .comment-reply-link::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Votes — soft segmented pill */
.sfd-cx-votes {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--cx-surface);
  border: 1px solid var(--cx-line);
  border-radius: 999px;
  padding: 3px;
}
.sfd-cx-vote {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  color: var(--cx-ink-mid);
  padding: 5px 12px;
  border-radius: 999px;
  transition: color .15s ease, background .15s ease;
}
.sfd-cx-vote svg { width: 16px; height: 16px; fill: currentColor; }
.sfd-cx-vote-n { font-variant-numeric: tabular-nums; }
.sfd-cx-vote--up:hover,
.sfd-cx-vote--up.is-voted { color: var(--cx-teal); background: var(--cx-teal-soft); }
.sfd-cx-vote--down:hover,
.sfd-cx-vote--down.is-voted { color: var(--cx-red); background: var(--cx-red-soft); }
.sfd-cx-vote:focus-visible { outline: 2px solid var(--cx-teal); outline-offset: 2px; }

/* ──────────────────────────────────────────────────────────────
   NESTED REPLIES
────────────────────────────────────────────────────────────── */
.sfd-cx-list .children { margin-top: 16px; }
.sfd-cx-list .children .sfd-cx-comment { margin-inline-start: clamp(16px, 4vw, 40px); }
.sfd-cx-list .children .sfd-cx-card {
  background: var(--cx-surface);
  border-inline-start: 3px solid var(--cx-teal);
}

/* ──────────────────────────────────────────────────────────────
   EMPTY / CLOSED / NAV STATES
────────────────────────────────────────────────────────────── */
.sfd-cx-closed,
.sfd-cx-empty {
  margin: 0 0 28px;
  padding: 20px;
  background: var(--cx-surface);
  border: 1px dashed var(--cx-line-2);
  border-radius: var(--cx-radius-sm);
  color: var(--cx-ink-mid);
  text-align: center;
  font-size: .95rem;
}
.sfd-cx-empty { margin-top: 8px; }

.sfd-cx .comment-navigation,
.sfd-cx .comments-navigation,
.sfd-cx .navigation {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.sfd-cx .nav-links a { color: var(--cx-teal); text-decoration: none; font-weight: 600; }
.sfd-cx .nav-links a:hover { text-decoration: underline; }

/* ──────────────────────────────────────────────────────────────
   TOAST  (created by comments.js for vote / report feedback)
────────────────────────────────────────────────────────────── */
.sfd-cx-toast {
  position: fixed;
  inset-block-end: 28px;
  inset-inline-end: 28px;
  z-index: 9999;
  max-width: 320px;
  background: var(--cx-navy);
  color: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: .9rem;
  line-height: 1.5;
  box-shadow: 0 16px 38px -10px rgba(0, 0, 0, .45);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease;
}
.sfd-cx-toast[dir="rtl"] { font-family: 'Cairo', sans-serif; }
.sfd-cx-toast.is-show { opacity: 1; transform: translateY(0); }

/* ──────────────────────────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .sfd-cx-card { padding: 18px 16px; }
  .sfd-cx-submitrow { justify-content: stretch; }
  .sfd-cx-submit { width: 100%; }
  .sfd-cx-actions { gap: 10px; }
  .sfd-cx-actions-links { gap: 0; }
}

/* ──────────────────────────────────────────────────────────────
   ACCESSIBILITY
────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .sfd-cx *,
  .sfd-cx *::before,
  .sfd-cx *::after { transition: none !important; }
}

/* ──────────────────────────────────────────────────────────────
   HOST-THEME HARDENING
   Re-assert the component's defining surfaces with a higher-specificity,
   .sfd-cx-scoped selector (plus the WP IDs #respond / #commentform) so the
   design survives any global form, input, or button styles injected by the
   host theme or third-party plugins. Also hides the cookies-consent / url
   fields in case a privacy plugin re-injects them past the PHP filter.
────────────────────────────────────────────────────────────── */
.sfd-cx .comment-form-cookies-consent,
.sfd-cx .comment-form-url { display: none !important; }

.sfd-cx #respond.sfd-cx-form-wrap,
.sfd-cx .sfd-cx-form-wrap {
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.sfd-cx #commentform.sfd-cx-form,
.sfd-cx .sfd-cx-form {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin-top: 24px !important;
}
.sfd-cx .sfd-cx-field { margin-bottom: 18px !important; }
.sfd-cx .sfd-cx-input,
.sfd-cx .sfd-cx-textarea {
  background: var(--cx-surface) !important;
  border: 1px solid var(--cx-line) !important;
  border-radius: var(--cx-radius-sm) !important;
  box-shadow: none !important;
  outline: none !important;
  width: 100% !important;
  padding: 15px 18px !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
}
.sfd-cx .sfd-cx-input { min-height: 52px !important; }
.sfd-cx .sfd-cx-textarea { min-height: 156px !important; line-height: 1.75 !important; }
.sfd-cx .sfd-cx-input:focus,
.sfd-cx .sfd-cx-textarea:focus {
  border-color: var(--cx-teal) !important;
  box-shadow: 0 0 0 3px rgba(20, 99, 107, .13) !important;
}
.sfd-cx .sfd-cx-submit {
  background: var(--cx-teal) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: var(--cx-radius-sm) !important;
  width: auto !important;
  max-width: 100%;
  margin: 0 !important;
  padding: 15px 42px !important;
  font-size: 1.05rem !important;
  box-shadow: 0 8px 20px -10px rgba(20, 99, 107, .65) !important;
}
.sfd-cx .sfd-cx-submit:hover { background: var(--cx-teal-mid) !important; }
.sfd-cx .sfd-cx-submitrow { margin-top: 24px !important; justify-content: flex-start !important; }
.sfd-cx .sfd-cx-counter { margin-top: 10px !important; }
.sfd-cx .sfd-cx-conditions {
  background: var(--cx-teal-soft) !important;
  border: 0 !important;
  border-inline-start: 3px solid var(--cx-teal) !important;
  border-radius: var(--cx-radius-sm) !important;
  margin: 22px 0 0 !important;
  padding: 14px 18px !important;
}
.sfd-cx .sfd-cx-disclaimer,
.sfd-cx .sfd-cx-disclaimer.sfd-cx-disclaimer {
  display: block !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 0 24px !important;
  font-size: .78rem !important;
  text-align: center !important;
  box-shadow: none !important;
}
.sfd-cx .sfd-cx-countbadge {
  background: var(--cx-teal-soft) !important;
  color: var(--cx-teal) !important;
  border-radius: 999px !important;
}
.sfd-cx .sfd-cx-comment { margin: 0 0 18px !important; }
.sfd-cx .sfd-cx-comment:last-child { margin-bottom: 0 !important; }
.sfd-cx .sfd-cx-card {
  background: var(--cx-card) !important;
  border: 1px solid var(--cx-line-2) !important;
  border-radius: var(--cx-radius) !important;
  padding: 24px 26px !important;
  box-shadow: 0 1px 2px rgba(26, 42, 74, .04), 0 12px 26px -18px rgba(20, 99, 107, .30) !important;
}
.sfd-cx .sfd-cx-list .children .sfd-cx-card {
  background: var(--cx-surface) !important;
  border-inline-start: 3px solid var(--cx-teal) !important;
}
/* Action row + votes must stay quiet ghost controls, never pick up the
   theme's global <button> border / background. */
.sfd-cx .sfd-cx-act {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.sfd-cx .sfd-cx-act:hover { background: var(--cx-teal-soft) !important; }
.sfd-cx .sfd-cx-act--report:hover { background: var(--cx-red-soft) !important; }
.sfd-cx .sfd-cx-votes {
  background: var(--cx-surface) !important;
  border: 1px solid var(--cx-line) !important;
  border-radius: 999px !important;
}
.sfd-cx .sfd-cx-vote {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 999px !important;
}
.sfd-cx .sfd-cx-vote--up:hover,
.sfd-cx .sfd-cx-vote--up.is-voted { background: var(--cx-teal-soft) !important; color: var(--cx-teal) !important; }
.sfd-cx .sfd-cx-vote--down:hover,
.sfd-cx .sfd-cx-vote--down.is-voted { background: var(--cx-red-soft) !important; color: var(--cx-red) !important; }
.sfd-cx .sfd-cx-form-title,
.sfd-cx .sfd-cx-listtitle {
  color: var(--cx-orange) !important;
  border: 0 !important;
}
.sfd-cx .sfd-cx-form-title {
  border-bottom: 1px solid var(--cx-line) !important;
  padding-bottom: 12px !important;
}
.sfd-cx .sfd-cx-listhead {
  border-bottom: 1px solid var(--cx-line) !important;
  padding-bottom: 12px !important;
}

/* v2.7.12 — the divider above the comment form ("Add your comment")
   was removed; the hairline above the visitor-comments block below
   is kept as the single separator between the two sections. */
.sfd-cx {
  border-top: 0 !important;
  padding-top: 0 !important;
}
.sfd-cx .sfd-cx-listsection {
  border-top: 1px solid var(--cx-line) !important;
  padding-top: 40px !important;
  margin-top: 64px !important;
}
