.hplgbt-comments .comment-form-control:focus-visible,
.hplgbt-comments .arrow-btn-box:focus-visible,
.hplgbt-comments a:focus-visible,
.hplgbt-comments .comment-text-button:focus-visible,
.hplgbt-comments #remove-comment-avatar:focus-visible,
.hplgbt-comments .comment-avatar-picker input:focus-visible + .comment-avatar-choose,
.hplgbt-comments .comment-avatar-field input:focus-visible {
  outline: 1px solid #ef0d33;
  outline-offset: 2px;
}

.hplgbt-comments .arrow-btn-box:disabled {
  opacity: 0.65;
}

.hplgbt-comments [hidden] {
  display: none !important;
}

.hplgbt-comments .comment-field-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hplgbt-comments .comment-email-field .comment-form-control {
  display: block;
  margin-bottom: 0;
}

.hplgbt-comments .comment-field-note {
  box-sizing: border-box;
  min-height: 30px;
  margin: 0;
  padding: 4px 0 6px;
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: left;
}

.hplgbt-comments .comment-form-control {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  color: #555;
}

.hplgbt-comments .comment-form-control::placeholder {
  color: #666;
  opacity: 1;
}

@media (max-width: 767px) {
  .hplgbt-comments .comment-form-control {
    font-size: 1rem;
  }
}

.hplgbt-comments textarea.comment-form-control {
  resize: vertical;
}

.hplgbt-comments .arrow-btn-box {
  min-height: 44px;
  max-width: 100%;
}

#comments-fallback a {
  color: inherit;
  text-decoration: underline;
}

#comments-feed-status,
#comments-form-status {
  margin: 0;
}

#comments-feed-status:not(:empty) {
  margin-bottom: 30px;
}

#comments-form-status:not(:empty) {
  margin-top: 16px;
}

#comments-form-status.comment-form-success {
  padding: 0.75rem 1rem;
  border-inline-start: 4px solid #246746;
  background: #eef7f1;
  color: #173c29;
  font-size: 1rem;
  line-height: 1.5;
}

.hplgbt-comments .comment-warning,
.comments-admin .comment-warning {
  padding: 0.75rem 1rem;
  border: 0;
  border-inline-start: 4px solid #ef0d33;
  background: #18262a;
  color: #fff;
  font: 400 1rem/1.5 Poppins, sans-serif;
  overflow-wrap: anywhere;
}

/* The page's pointer sits below native modal dialogs. */
#hplgbt-newsletter[open],
#hplgbt-newsletter[open] *,
#hplgbt-newsletter[open]::backdrop,
#comments-confirmation[open],
#comments-confirmation[open] *,
#comments-confirmation[open]::backdrop {
  cursor: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAc0lEQVR42o3QsQ2DUAyE4Q9XKZiFkpIdYBIKxgCJSWAHShZglZRpHCnVe/mlK3yy5PM1T9tJRszoc76x44RIc8WBAa/UkN4KzdN2YxolpshzNeb4yVSiD38S+V2NO7KCGntkT1thacP5zbhgwoV36kpvgQ/YGhT+LnqMKwAAAABJRU5ErkJggg==") 5 5, auto !important;
}

.hplgbt-comments .comment-confirmation {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: min(420px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  margin: auto;
  padding: 20px;
  overflow: auto;
  border: 0;
  border-radius: 0;
  background: #18262a;
  color: #fff;
  color-scheme: dark;
  text-align: left;
  overflow-wrap: anywhere;
}

.hplgbt-comments .comment-confirmation:not([open]),
.hplgbt-comments .comment-confirmation[open] + #comments-form-status {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hplgbt-comments .comment-confirmation[open],
  .hplgbt-comments .comment-confirmation[open]::backdrop {
    opacity: 1;
    animation: hplgbt-comment-confirmation-in 1000ms ease;
  }

  @supports (overlay: auto) and (transition-behavior: allow-discrete) {
    .hplgbt-comments .comment-confirmation:not([open]),
    .hplgbt-comments .comment-confirmation:not([open])::backdrop {
      opacity: 0;
      pointer-events: none;
      transition:
        opacity 1000ms ease,
        display 1000ms allow-discrete,
        overlay 1000ms allow-discrete;
    }
  }
}

@keyframes hplgbt-comment-confirmation-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.hplgbt-comments .comment-confirmation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hplgbt-comments .comment-confirmation h2 {
  margin: 0;
  font: 500 12px/1.25 Oswald, sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hplgbt-comments .comment-confirmation p {
  margin: 10px 0 0;
  padding: 12px;
  background: #1b2a2f;
  font: 400 1rem/1.5 Poppins, sans-serif;
}

.hplgbt-comments .comment-confirmation-header form {
  flex: none;
  margin: 0;
}

.hplgbt-comments .comment-confirmation-header button {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ef0d33;
  font: 700 32px/1 Oswald, sans-serif;
  cursor: pointer;
}

.hplgbt-comments .comment-confirmation-header button:focus-visible {
  outline: 2px solid #ef0d33;
  outline-offset: -2px;
}

.hplgbt-comments .comment-avatar {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: #1b2a2f;
  color: #fff;
  font: 500 24px/1 Oswald, sans-serif;
}

.hplgbt-comments .comment-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hplgbt-comments .comment-content {
  scroll-margin-top: 6rem;
}

.hplgbt-comments .comment-content-reply {
  margin-inline-start: clamp(1rem, 5vw, 3rem);
}

.hplgbt-comments .comment-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 0.875rem;
}

.hplgbt-comments .post-comment .reply {
  position: static;
  margin-inline-start: auto;
}

.hplgbt-comments .post-comment .comment-parent {
  margin: 0.5rem 0 0;
}

.hplgbt-comments .comment-parent a {
  color: inherit;
  text-decoration: underline;
}

.hplgbt-comments .comment-reply-mode {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1rem;
  margin-bottom: 0.5rem;
  overflow-wrap: anywhere;
}

.hplgbt-comments .comment-reply-mode p {
  margin: 0;
}

.hplgbt-comments .comment-text-button {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.hplgbt-comments .comment-avatar-choose,
.hplgbt-comments #remove-comment-avatar {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 0 3rem;
  border: 1px solid #ef0d33;
  border-radius: 0;
  cursor: pointer;
}

.hplgbt-comments .comment-avatar-choose:hover .flip-btn::before,
.hplgbt-comments .comment-avatar-picker input:focus-visible + .comment-avatar-choose .flip-btn::before,
.hplgbt-comments #remove-comment-avatar:hover .flip-btn::before,
.hplgbt-comments #remove-comment-avatar:focus-visible .flip-btn::before {
  transform: translateY(52%);
}

.hplgbt-comments .comment-avatar-choose:hover .flip-btn::after,
.hplgbt-comments .comment-avatar-picker input:focus-visible + .comment-avatar-choose .flip-btn::after,
.hplgbt-comments #remove-comment-avatar:hover .flip-btn::after,
.hplgbt-comments #remove-comment-avatar:focus-visible .flip-btn::after {
  transform: translateY(-50%);
}

.hplgbt-comments .comment-avatar-field {
  display: grid;
  justify-items: start;
  gap: 0.4rem;
  min-width: 0;
  margin-bottom: 1rem;
}

.hplgbt-comments .comment-avatar-field input {
  max-width: 100%;
  font: inherit;
}

.hplgbt-comments .comment-avatar-picker {
  display: grid;
  grid-template-columns: max-content auto;
  align-items: center;
  column-gap: 0.625rem;
  width: 100%;
}

.hplgbt-comments .comment-avatar-picker input {
  grid-column: 2;
  grid-row: 1;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.hplgbt-comments .comment-avatar-picker input::file-selector-button {
  display: none;
}

.hplgbt-comments .comment-avatar-picker input:focus-visible {
  outline: none;
}

.hplgbt-comments .comment-avatar-choose {
  grid-column: 1;
  grid-row: 1;
  padding: 0 3rem;
}

.hplgbt-comments .post-comment {
  min-width: 0;
  overflow-wrap: anywhere;
}

.hplgbt-comments .post-comment time {
  display: block;
}

.hplgbt-comments .post-comment p {
  white-space: pre-wrap;
}

@media (prefers-reduced-motion: reduce) {
  .hplgbt-comments .arrow-btn-box,
  .hplgbt-comments .arrow-btn-box::before,
  .hplgbt-comments .arrow-btn-box::after,
  .hplgbt-comments .arrow-btn,
  .hplgbt-comments .arrow-btn::before,
  .hplgbt-comments .arrow-btn::after,
  .hplgbt-comments .comment-avatar-choose .flip-btn::before,
  .hplgbt-comments .comment-avatar-choose .flip-btn::after,
  .hplgbt-comments #remove-comment-avatar .flip-btn::before,
  .hplgbt-comments #remove-comment-avatar .flip-btn::after {
    transition: none;
  }
}

.comments-admin {
  margin: 0;
  background: #f6f7f8;
  color: #18262a;
  font: 1rem/1.55 system-ui, sans-serif;
}

.comments-admin a {
  color: #a30924;
}

.comments-admin :focus-visible {
  outline: 2px solid #a30924;
  outline-offset: 3px;
}

.moderation-page {
  max-width: 48rem;
  margin-inline: auto;
  padding: 2rem 1rem;
}

.moderation-page h1,
.moderation-page h2 {
  margin: 0;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.moderation-toolbar,
.moderation-tabs,
.moderation-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.moderation-toolbar {
  justify-content: space-between;
}

.moderation-tabs {
  padding: 0;
  list-style: none;
}

.moderation-tabs a[aria-current="page"] {
  font-weight: 700;
}

.moderation-card,
.moderation-notice {
  margin: 1rem 0;
  padding: 1rem;
  background: #fff;
  border: 1px solid #d4d9db;
  overflow-wrap: anywhere;
}

.moderation-reply {
  margin-inline-start: clamp(0.5rem, 4vw, 2rem);
}

.moderation-avatar {
  display: block;
  margin-bottom: 0.75rem;
  object-fit: cover;
}

.moderation-notice {
  border-inline-start: 4px solid #b60a29;
}

.moderation-body {
  white-space: pre-wrap;
}

.moderation-login {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.moderation-login input,
.moderation-login textarea {
  box-sizing: border-box;
  width: min(100%, 26rem);
  padding: 0.65rem;
  border: 1px solid #76848a;
  font: inherit;
}

.moderation-login textarea {
  resize: vertical;
}

.comments-admin button {
  min-height: 44px;
  padding: 0.5rem 1rem;
  background: #a30924;
  color: #fff;
  border: 1px solid #a30924;
  font: inherit;
  cursor: pointer;
}

.comments-admin .moderation-secondary {
  background: #fff;
  color: #a30924;
}