/* Article metadata, hashtags and comment-form spacing. */

.news_date_publish {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.news_date_publish > p {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  padding: 0;
  color: #657789 !important;
  font-size: 12px !important;
  line-height: 1.5;
  font-weight: 600 !important;
  text-align: left !important;
}

.news_date_publish > p:not(.news_article_category) .news_page_link {
  color: #223b53;
  font-weight: 600;
}

.news_article_category a.news_page_link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 4px 10px;
  border: 1px solid #f0d7af;
  border-radius: 999px;
  color: #91510a;
  background: #fff6e9;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  text-transform: none;
  transition: background-color .18s, border-color .18s, color .18s;
}

.news_article_category a.news_page_link:hover {
  background: #ffedd3;
  border-color: #e6bf82;
  color: #723c04;
}

/* The paragraph and its links share a class: style them separately. */

p.news_hashtag {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0 0;
  margin: 24px 0 28px;
  border-top: 1px solid #e4ebf1;
}

a.news_hashtag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 6px 11px;
  border: 1px solid #dce6f0;
  border-radius: 999px;
  color: #254e73;
  background: #f2f6fa;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s;
}

a.news_hashtag:hover {
  background: #e8f0f8;
  border-color: #b8cde1;
  color: #143d63;
  transform: translateY(-1px);
}

.news_article_category a:focus-visible, a.news_hashtag:focus-visible {
  outline: 2px solid #225b8c;
  outline-offset: 3px;
}

/* Padding remains inside the form, so the gap cannot collapse into the footer. */

#commenting {
  padding-bottom: 60px;
}

@media (max-width: 575.98px) {
  .news_date_publish {
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 575.98px) {
  .news_date_publish > p {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news_article_category a.news_page_link, a.news_hashtag {
    transition: none;
    transform: none !important;
  }
}

/* The live form uses reCAPTCHA v2. Do not hide .g-recaptcha with CSS alone:
   a working checkbox-free form needs a corresponding integration change. */

