/* NEWS: article social links and existing server-generated comments. */

.news-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  margin: 0 0 32px;
  border-top: 1px solid #e4ebf1;
  border-bottom: 1px solid #e4ebf1;
}

.news-socials-label {
  margin: 0;
  color: #657789;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.news-socials-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.news-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #dce6f0;
  border-radius: 12px;
  background: #f7f9fc;
  color: #254e73;
  text-decoration: none;
  transition: background-color .18s,border-color .18s,box-shadow .18s,transform .18s;
}

.news-social-link:hover {
  background: #eaf1f8;
  border-color: #b8cde1;
  box-shadow: 0 4px 12px rgba(28,65,96,.08);
  transform: translateY(-2px);
}

.news-social-icon {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  pointer-events: none;
}

.news-comments {
  padding-bottom: 60px;
}

.news-comments-eyebrow {
  margin: 0 0 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6d8194;
}

.news-comments-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
  color: #193c59;
}

.news-comments-count {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 27px;
  height: 25px;
  padding: 0 7px;
  border-radius: 7px;
  background: #edf3f9;
  color: #406380;
  font-size: 12px;
  font-weight: 600;
}

.news-comments-intro {
  margin: 0 0 22px;
  color: #657789;
  font-size: 13px;
}

.news-comments-empty {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 20px;
  margin-bottom: 22px;
  border: 1px dashed #d9e4ed;
  border-radius: 12px;
  background: #fbfcfe;
}

.news-comments-empty-icon {
  display: flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: #426c8d;
  background: #edf3f9;
}

.news-comments-empty-title {
  margin: 0 0 2px;
  font-size: 13px;
  font-weight: 600;
  color: #36546c;
}

.news-comments-empty-copy {
  margin: 0;
  font-size: 12px;
  color: #6a7e90;
}

.news-comment-form {
  margin: 0;
  padding: 24px;
  border: 1px solid #e0e9f1;
  border-radius: 16px;
  background: linear-gradient(125deg,#f7faff 0%,#fff 38%);
  box-shadow: 0 5px 20px rgba(26,60,89,.035);
}

.news-comment-form h3 {
  margin: 0 0 5px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  color: #193c59;
}

.news-comment-form-intro {
  margin: 0 0 21px;
  font-size: 12px;
  color: #6a7e90;
}

.news-comment-fields {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 18px;
}

.news-comment-field {
  min-width: 0;
}

.news-comment-label {
  display: block;
  margin: 0 0 7px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  color: #38556d;
}

.news-comment-input {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid #d9e4ee;
  border-radius: 10px;
  background: #fff;
  color: #243e55;
  font: inherit;
  line-height: 1.5;
  transition: border-color .18s,box-shadow .18s;
}

.news-comment-input::placeholder {
  color: #8b9bab;
  opacity: 1;
}

.news-comment-input:focus {
  border-color: #84aacb;
  box-shadow: 0 0 0 3px rgba(34,91,140,.09);
}

.news-comment-text-field {
  margin-top: 18px;
}

textarea.news-comment-input {
  min-height: 145px;
  resize: vertical;
}

.news-comment-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.news-comment-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  margin: 0;
  padding: 10px 17px;
  border: 1px solid #225b8c;
  border-radius: 10px;
  background: #225b8c;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  box-shadow: 0 3px 9px rgba(34,91,140,.12);
  transition: background-color .18s,border-color .18s,box-shadow .18s;
}

.news-comment-submit:hover {
  background: #193f62;
  border-color: #193f62;
  box-shadow: 0 5px 13px rgba(34,91,140,.18);
}

.news-comment-status {
  margin: 0;
  color: #50748b;
  font-size: 12px;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #225b8c;
  outline-offset: 3px;
}

.news-comment-list {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.news-comment-item {
  display: flex;
  gap: 12px;
  padding: 18px;
  border: 1px solid #e0e9f1;
  border-radius: 12px;
  background: #fff;
}

.news-comment-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eaf1f8;
  color: #315d80;
  font-size: 11px;
  font-weight: 700;
}

.news-comment-content {
  min-width: 0;
  flex: 1;
}

.news-comment-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 7px;
}

.news-comment-author {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #264a66;
  overflow-wrap: anywhere;
}

.news-comment-time {
  font-size: 11px;
  color: #7d8e9d;
}

.news-comment-message {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #4b6275;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width:520px) {
  .news-comment-fields {
    grid-template-columns: minmax(0,1fr);
    gap: 16px;
  }
}

@media (max-width:520px) {
  .news-comment-form {
    padding: 19px 16px;
  }
}

@media (max-width:520px) {
  .news-comments-empty {
    padding: 16px;
  }
}

@media (max-width:520px) {
  .news-comments-heading {
    font-size: 21px;
  }
}

@media (max-width:420px) {
  .news-socials {
    justify-content: center;
  }
}

@media (max-width:420px) {
  .news-socials-label {
    width: 100%;
    text-align: center;
  }
}

@media (pointer:coarse) {
  .news-comment-input {
    font-size: 16px;
  }
}

@media (pointer:coarse) {
  .news-comment-submit {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .news-social-link, .news-comment-input, .news-comment-submit {
    transition: none;
  }
}

@media (prefers-reduced-motion:reduce) {
  .news-social-link:hover {
    transform: none;
  }
}

.it-news-component-source {
  margin-top: 32px;
  margin-bottom: 60px;
}

.it-news-component-source[hidden], .news-comments [hidden] {
  display: none !important;
}

.news-comments {
  color: #23384b;
  font-family: inherit;
}

.news-comments .col-md-9 {
  width: 100%;
}

.news-comments .news-comments-heading {
  font-size: 23px !important;
}

.news-comments .news-comments-count {
  margin-left: 0 !important;
  color: #406380 !important;
}

.news-comments #commenting {
  padding-bottom: 24px;
}

.news-comments #commenting > .row {
  --bs-gutter-x: 18px;
}

.news-comments #commenting .news-comment-input {
  font-family: inherit;
}

.news-comments #commenting .news-comment-label {
  margin-bottom: 7px;
}

.news-comments #commenting .news-comment-submit {
  width: auto !important;
  max-width: 100%;
}

.news-comment-submit::after {
  content: "↗";
  font-size: 17px;
  line-height: 1;
}

.news-comments .comments-card {
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid #e0e9f1;
  border-radius: 12px;
  background: #fff;
}

.news-comments .comments-card .card-body {
  padding: 0;
}

.news-comments .comments-card .card-body h5 {
  color: #264a66;
  font-size: 13px !important;
  font-weight: 600;
}

.news-comments .comment-description {
  color: #4b6275;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.news-comments .avatar_show_image {
  overflow: hidden;
  background: #eaf1f8;
}

.news-comments .avatar_show_image img {
  object-fit: cover;
}

.news-social-link:focus-visible, .news-comments input:focus-visible, .news-comments textarea:focus-visible, .news-comment-submit:focus-visible {
  outline: 2px solid #225b8c;
  outline-offset: 3px;
}

@media (max-width:575.98px) {
  .news-comments .news-comments-heading {
    font-size: 21px !important;
  }
}

@media (max-width:575.98px) {
  .news-comments #commenting {
    padding: 19px 12px;
  }
}

@media (max-width:575.98px) {
  .news-comments .g-recaptcha {
    max-width: 100%;
    overflow-x: auto;
  }
}

