@charset "UTF-8";

.comments-section {
  margin-top: 3rem;
  text-align: right;
}

.comments-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.comments-section-kicker {
  display: block;
  margin-bottom: 0.25rem;
  color: #29b1d8;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.5;
}

.comments-section-header h2 {
  margin: 0;
  color: #172021;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.45;
}

.comments-count {
  flex: 0 0 auto;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(41, 177, 216, 0.1);
  color: #1a91b3;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.5rem;
}

.comments-section .comment-respond {
  margin: 0;
  padding: 1.5rem;
  border: 1px solid rgba(23, 32, 33, 0.05);
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 1rem 2rem -0.75rem rgba(23, 32, 33, 0.08);
}

.comment-reply-title {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.375rem;
  color: #172021;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.6;
}

.cancel-reply-link {
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 700;
}

.cancel-reply-link a {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  background: rgba(222, 72, 95, 0.1);
  color: #c93b51;
}

.comment-form-note {
  color: rgba(23, 32, 33, 0.55);
  font-size: 0.75rem;
  line-height: 1.85;
}

.comment-form-modern {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.comment-form-modern > * {
  min-width: 0;
  margin: 0;
}

.comment-form-modern .comment-form-note,
.comment-form-modern .logged-in-as,
.comment-form-modern .must-log-in,
.comment-form-modern .comment-field--message,
.comment-form-modern .comment-form-cookies-consent,
.comment-form-modern .comment-security,
.comment-form-modern .form-submit {
  grid-column: 1 / -1;
}

.comment-form-modern .comment-form-note,
.comment-form-modern .logged-in-as,
.comment-form-modern .must-log-in {
  order: 1;
}

.comment-form-modern .comment-field--author,
.comment-form-modern .comment-field--phone {
  order: 2;
}

.comment-form-modern .comment-field--message {
  order: 3;
}

.comment-form-modern .comment-security {
  order: 4;
}

.comment-form-modern .comment-form-cookies-consent {
  order: 5;
}

.comment-form-modern .form-submit {
  order: 6;
}

.comment-field label {
  display: block;
  margin-bottom: 0.375rem;
  color: #344047;
  font-size: 0.8125rem;
  font-weight: 750;
  line-height: 1.7;
}

.comment-field label span {
  color: #de485f;
}

.comment-form-modern input[type="text"],
.comment-form-modern input[type="tel"],
.comment-form-modern textarea {
  display: block;
  width: 100%;
  border: 2px solid #e4f0f2;
  border-radius: 0.5rem;
  outline: 0;
  background: #fbfdfd;
  color: #172021;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.comment-form-modern input[type="text"],
.comment-form-modern input[type="tel"] {
  height: 3rem;
  padding: 0.625rem 0.875rem;
}

.comment-form-modern textarea {
  min-height: 8rem;
  padding: 0.75rem 0.875rem;
  resize: vertical;
}

.comment-form-modern input[type="text"]:focus,
.comment-form-modern input[type="tel"]:focus,
.comment-form-modern textarea:focus,
.comment-math-answer:focus {
  border-color: rgba(41, 177, 216, 0.72);
  background: #fff;
  box-shadow: 0 0 0 0.25rem rgba(41, 177, 216, 0.1);
}

.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  color: rgba(23, 32, 33, 0.68);
  font-size: 0.75rem;
  line-height: 1.85;
}

.comment-form-cookies-consent input {
  width: 1.125rem;
  height: 1.125rem;
  flex: 0 0 1.125rem;
  margin: 0.25rem 0 0;
  accent-color: #29b1d8;
}

.comment-form-cookies-consent label {
  cursor: pointer;
}

.comment-security {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem;
  border: 1px solid rgba(41, 177, 216, 0.14);
  border-radius: 0.5rem;
  background: #f2f7f8;
}

.comment-security-copy {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
}

.comment-security-copy > span:last-child {
  min-width: 0;
}

.comment-security-copy strong,
.comment-security-copy small {
  display: block;
}

.comment-security-copy strong {
  color: #172021;
  font-size: 0.8125rem;
  line-height: 1.7;
}

.comment-security-copy small {
  margin-top: 0.125rem;
  color: rgba(23, 32, 33, 0.52);
  font-size: 0.6875rem;
  line-height: 1.7;
}

.comment-security-icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(41, 177, 216, 0.12);
  color: #29b1d8;
}

.comment-security-icon svg,
.comment-math-refresh svg,
.comment-submit svg {
  display: block;
}

.comment-security-controls {
  display: flex;
  min-width: 0;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
}

.comment-math-equation {
  display: grid;
  min-width: 15.25rem;
  grid-template-columns: 2rem 2rem 2rem 1.25rem 4.25rem;
  align-items: center;
  justify-content: end;
  gap: 0.25rem;
  color: #172021;
  font-size: 0.9375rem;
  font-weight: 800;
  text-align: center;
}

.comment-math-number,
.comment-math-operator,
.comment-math-equals {
  line-height: 2.75rem;
}

.comment-math-operator {
  width: 2rem;
  height: 2rem;
  justify-self: center;
  border-radius: 0.375rem;
  background: #29b1d8;
  color: #fff;
  line-height: 2rem;
}

.comment-math-answer {
  display: block;
  width: 4.25rem;
  height: 2.75rem;
  padding: 0.375rem;
  border: 2px solid #d8e8eb;
  border-radius: 0.5rem;
  outline: 0;
  background: #fff;
  color: #172021;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  appearance: textfield;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.comment-math-answer::-webkit-inner-spin-button,
.comment-math-answer::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.comment-math-refresh {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(41, 177, 216, 0.18);
  border-radius: 50%;
  background: #fff;
  color: #29b1d8;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.comment-math-refresh:hover {
  border-color: rgba(41, 177, 216, 0.34);
  background: rgba(41, 177, 216, 0.1);
  color: #1aa1c7;
}

.comment-math-refresh.is-loading svg {
  animation: comment-refresh-spin 0.8s linear infinite;
}

@keyframes comment-refresh-spin {
  to {
    transform: rotate(360deg);
  }
}

.comment-math-status {
  min-height: 1rem;
  margin: 0.25rem 3.5rem -0.25rem 0;
  color: #c93b51;
  font-size: 0.6875rem;
  line-height: 1.6;
}

.comment-math-status:empty {
  display: none;
}

.form-submit {
  display: flex;
  justify-content: flex-start;
  margin-top: 0.25rem !important;
}

.comment-submit {
  display: inline-flex;
  min-width: 9rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.625rem 1rem;
  border: 0;
  border-radius: 0.5rem;
  background: #29b1d8;
  box-shadow: 0 0.75rem 1.75rem rgba(41, 177, 216, 0.2);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.5;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.comment-submit:hover {
  background: #1aa1c7;
}

.comment-submit:active {
  transform: scale(0.98);
}

.comments-list-section {
  margin-top: 2.5rem;
}

.comments-list-title {
  margin: 0 0 1rem;
  color: #172021;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.6;
}

.comments-list,
.comments-list .children {
  margin: 0;
  padding: 0;
  list-style: none;
}

.comment-item {
  min-width: 0;
  margin-bottom: 0.875rem;
}

.comment-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(23, 32, 33, 0.05);
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 0.75rem 1.75rem -0.75rem rgba(23, 32, 33, 0.08);
}

.comment-card-header {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
}

.comment-avatar {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  overflow: hidden;
  border-radius: 50%;
  background: #eaf5f8;
}

.comment-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.comment-author-meta {
  min-width: 0;
  margin-left: auto;
}

.comment-author-name,
.comment-author-name a,
.comment-author-meta time {
  display: block;
}

.comment-author-name,
.comment-author-name a {
  color: #172021;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.comment-author-meta time {
  margin-top: 0.125rem;
  color: rgba(23, 32, 33, 0.48);
  font-size: 0.6875rem;
  line-height: 1.5;
}

.comment-author-badge,
.comment-pending-badge {
  flex: 0 0 auto;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 1.5rem;
}

.comment-author-badge {
  background: rgba(41, 177, 216, 0.1);
  color: #1a91b3;
}

.comment-pending-badge {
  background: rgba(240, 187, 84, 0.2);
  color: #8d681d;
}

.comment-card-content {
  margin-top: 0.875rem;
  color: rgba(23, 32, 33, 0.78);
  font-size: 0.875rem;
  line-height: 1.95;
  overflow-wrap: anywhere;
}

.comment-card-content > :last-child {
  margin-bottom: 0;
}

.comment-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.comment-reactions {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-left: auto;
  direction: ltr;
}

.comment-reaction {
  display: inline-flex;
  min-width: 3.25rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border: 1px solid rgba(23, 32, 33, 0.08);
  border-radius: 0.5rem;
  background: #f7fafb;
  color: rgba(23, 32, 33, 0.6);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.comment-reaction svg {
  display: block;
  flex: 0 0 1.125rem;
}

.comment-reaction:hover,
.comment-reaction.is-active {
  border-color: rgba(41, 177, 216, 0.28);
  background: rgba(41, 177, 216, 0.1);
  color: #1685a5;
}

.comment-reaction--dislike:hover,
.comment-reaction--dislike.is-active {
  border-color: rgba(222, 72, 95, 0.24);
  background: rgba(222, 72, 95, 0.09);
  color: #c93b51;
}

.comment-reaction:active {
  transform: scale(0.96);
}

.comment-reaction:disabled {
  cursor: wait;
  opacity: 0.55;
}

.comment-reply-link {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  background: rgba(41, 177, 216, 0.1);
  color: #1a91b3;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.5rem;
}

.comment-reply-link:hover {
  background: rgba(41, 177, 216, 0.16);
  color: #147d99;
}

.comments-list .children {
  position: relative;
  margin: 0.875rem 2rem 0 0;
  padding-right: 1rem;
  border-right: 2px solid rgba(41, 177, 216, 0.14);
}

.comments-list--progressive > .comment-item:nth-child(n + 6) {
  display: none;
}

.comments-list--progressive > .comment-item.is-comment-visible {
  display: list-item;
  animation: comment-reveal 0.34s ease both;
}

@keyframes comment-reveal {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.comments-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

.comments-load-more {
  display: inline-grid;
  min-width: 15rem;
  min-height: 3.25rem;
  grid-template-columns: 1.25rem auto;
  align-items: center;
  justify-content: center;
  gap: 0 0.625rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(41, 177, 216, 0.18);
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 0.75rem 1.75rem -0.75rem rgba(23, 32, 33, 0.1);
  color: #1685a5;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.comments-load-more:hover {
  border-color: rgba(41, 177, 216, 0.35);
  background: rgba(41, 177, 216, 0.06);
}

.comments-load-more:active {
  transform: scale(0.98);
}

.comments-load-more svg {
  display: block;
  grid-row: 1 / 3;
}

.comments-load-more small {
  color: rgba(23, 32, 33, 0.48);
  font-size: 0.6875rem;
  font-weight: 650;
  line-height: 1.4;
}

.comment-item .comment-respond {
  margin: 0.875rem 0;
  padding: 1rem 0 0;
  border: 0;
  border-top: 1px solid #e4f0f2;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.comment-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0;
}

.comment-navigation a {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background: #fff;
  color: #1a91b3;
  font-size: 0.75rem;
  font-weight: 800;
}

.comments-protected,
.no-comments {
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid rgba(41, 177, 216, 0.14);
  border-radius: 0.5rem;
  background: #f2f7f8;
  color: rgba(23, 32, 33, 0.72);
}

.comments-protected {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.comments-protected svg {
  flex: 0 0 1.5rem;
  color: #29b1d8;
}

@media (max-width: 42.4375rem) {
  .comments-section {
    margin-top: 2.5rem;
  }

  .comments-section-header {
    align-items: center;
  }

  .comments-section-header h2 {
    font-size: 1.25rem;
  }

  .comments-section .comment-respond {
    padding: 1rem;
  }

  .comment-form-modern {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.875rem;
  }

  .comment-form-modern > * {
    grid-column: 1;
  }

  .comment-security {
    align-items: stretch;
    flex-direction: column;
  }

  .comment-security-controls {
    width: 100%;
  }

  .comment-math-equation {
    min-width: 0;
    flex: 1 1 auto;
    grid-template-columns: 1.75rem 1.75rem 1.75rem 1rem minmax(3.75rem, 1fr);
  }

  .comment-math-answer {
    width: 100%;
    min-width: 0;
  }

  .comment-math-status {
    margin-right: 0;
  }

  .comment-submit {
    width: 100%;
  }

  .comment-card {
    padding: 0.875rem;
  }

  .comment-card-actions {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .comment-reactions {
    margin-left: 0;
  }

  .comments-load-more {
    width: 100%;
  }

  .comments-list .children {
    margin-right: 0.75rem;
    padding-right: 0.75rem;
  }
}

@media (max-width: 22.5rem) {
  .comments-section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .comment-card-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .comment-author-meta {
    width: calc(100% - 3.5rem);
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .comment-math-refresh,
  .comment-submit,
  .comment-field input,
  .comment-field textarea {
    transition: none;
  }

  .comment-reaction,
  .comments-load-more,
  .comments-list--progressive > .comment-item.is-comment-visible {
    transition: none;
    animation: none;
  }
}
