.news-comments {
  margin: 2rem auto 3rem;
  border: 1px solid #d5e1ed;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px #0a25400d;
  overflow: hidden;
}
.news-comments-header {
  padding: 25px 28px;
  background: linear-gradient(110deg, #061b2d, #124364 65%, #061b2d);
  color: #fff;
}
.news-comments-title-row, .news-comments-invite, .news-comments-empty, .news-comment {
  display: flex;
  align-items: center;
  gap: 15px;
}
.news-comments-header-icon, .news-comments-invite-icon, .news-comments-empty-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
}
.news-comments-header-icon { border-radius: 14px; background: #ffffff1a; }
.news-comments-invite-icon, .news-comments-empty-icon { border-radius: 50%; background: #e4f0ff; color: #1765bb; }
.news-comments-empty-icon { background: #eff4fa; color: #5a7894; }
.news-comments-header-icon svg, .news-comments-invite-icon svg, .news-comments-empty-icon svg { width: 25px; height: 25px; }
.news-comments-header .eyebrow { margin: 0 0 5px; color: #ff6874!important; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 900; }
.news-comments-header h2 { margin: 0; color: #fff; font-size: 1.55rem; line-height: 1.2; }
.news-comments-header > p { margin: 13px 0 0; color: #dfedfa; }
.news-comments-count { margin-left: auto; padding: 7px 11px; border: 1px solid #ffffff50; border-radius: 99px; color: #fff; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.news-comments-compose { padding: 24px 28px; background: #f8fbfe; border-bottom: 1px solid #d5e1ed; }
.news-comments-invite h3, .news-comments-empty h3 { margin: 0 0 3px; color: #071b34; font-size: 1.05rem; }
.news-comments-invite p, .news-comments-empty p { margin: 0; color: #526b83; }
.news-comments-signin { display: inline-flex; align-items: center; justify-content: center; gap: 12px; margin-left: auto; padding: 11px 17px; border-radius: 10px; background: #165fb4; color: #fff!important; font-size: .88rem; font-weight: 800; text-decoration: none!important; white-space: nowrap; }
.news-comments-signin:hover, .news-comments-form-actions button:hover { background: #0c4d9c; }
.news-comments-compose form { display: grid; gap: 12px; }
.news-comments-compose label { color: #071b34; font-weight: 800; }
.news-comments-compose textarea { width: 100%; box-sizing: border-box; resize: vertical; min-height: 116px; border: 1px solid #afc4d9; border-radius: 11px; padding: 14px 15px; font: inherit; color: #071b34; background: #fff; }
.news-comments-compose textarea:focus-visible { outline: 3px solid #85baff; outline-offset: 2px; }
.news-comments-form-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.news-comments-form-actions small { color: #5d7087; }
.news-comments-form-actions button { border: 0; border-radius: 10px; background: #165fb4; color: #fff; font: inherit; font-weight: 800; padding: 11px 17px; cursor: pointer; }
.news-comments-form-actions button:disabled { opacity: .55; cursor: wait; }
.news-comments-status { padding: 13px 28px; margin: 0; background: #eaf8f1; color: #176443; font-weight: 700; }
.news-comments-status.is-error { background: #fff0f0; color: #aa2832; }
.news-comments-list { padding: 18px 28px; color: #30475e; }
.news-comments-empty { padding: 16px 0; }
.news-comments-loading, .news-comments-unavailable { margin: 0; padding: 14px 0; color: #637b94; }
.news-comment { align-items: flex-start; gap: 13px; padding: 18px 0; border-top: 1px solid #d5e1ed; }
.news-comment:first-child { border-top: 0; }
.news-comment-avatar { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: #dcecff; color: #15599c; font-weight: 900; }
.news-comment-content { min-width: 0; flex: 1; }
.news-comment-head { display: flex; gap: 10px; justify-content: space-between; align-items: baseline; }
.news-comment-head strong { color: #071b34; }
.news-comment-head time { color: #637b94; font-size: .8rem; }
.news-comment p { white-space: pre-wrap; margin: 7px 0 0; overflow-wrap: anywhere; }
[data-theme="dark"] .news-comments { background: #101c2b; border-color: #344a60; }
[data-theme="dark"] .news-comments-compose { background: #142336; border-color: #344a60; }
[data-theme="dark"] .news-comments-compose label, [data-theme="dark"] .news-comments-invite h3, [data-theme="dark"] .news-comments-empty h3, [data-theme="dark"] .news-comment-head strong { color: #f4f8ff; }
[data-theme="dark"] .news-comments-invite p, [data-theme="dark"] .news-comments-empty p, [data-theme="dark"] .news-comments-form-actions small { color: #b8cde0; }
[data-theme="dark"] .news-comments-compose textarea { background: #17283a; border-color: #47627c; color: #e8f2ff; }
[data-theme="dark"] .news-comment { border-color: #344a60; }
[data-theme="dark"] .news-comments-list { color: #d6e4f2; }
@media (max-width: 600px) {
  .news-comments-header, .news-comments-compose, .news-comments-list { padding-left: 18px; padding-right: 18px; }
  .news-comments-title-row, .news-comments-invite { flex-wrap: wrap; }
  .news-comments-count, .news-comments-signin { margin-left: 0; }
  .news-comments-signin { width: 100%; }
  .news-comment-head { display: block; }
  .news-comment-head time { display: block; margin-top: 2px; }
}
