/* Shared subpage news cards, based on Haus des Guten Hirten / Aktuelles.
   Loaded only below a site's root; colors continue to come from each site. */
#inhaltsbereich .kjf-news-grid {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  float: none;
  clear: both;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  color: #000;
}
#inhaltsbereich .kjf-news-grid > .article {
  box-sizing: border-box;
  position: relative;
  float: none;
  clear: none;
  width: 29%;
  min-width: 0;
  height: auto;
  align-self: stretch;
  max-width: none;
  margin: 0 0 40px !important;
  padding: 0 0 15px;
  border: 0;
  border-radius: 0;
  box-shadow: 0 0 2px #000;
  background: #fff;
  overflow-wrap: anywhere;
}
#inhaltsbereich .kjf-news-grid > .article:nth-child(3n + 2) { margin: 0 2% 40px !important; }
#inhaltsbereich .kjf-news-grid .news-img-wrap {
  float: none;
  clear: both;
  width: 100%;
  max-width: none;
  height: 400px;
  aspect-ratio: auto;
  margin: 0;
  padding: 0;
  background: #fff;
  clip-path: none;
}
#inhaltsbereich .kjf-news-grid .news-img-wrap > a { display: block; width: 100%; height: 100%; }
#inhaltsbereich .kjf-news-grid .news-img-wrap :is(img,iframe,video) {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 400px !important;
  max-height: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
}
#inhaltsbereich .kjf-news-grid .content {
  box-sizing: content-box;
  float: none;
  clear: both;
  width: 96%;
  height: auto;
  margin: 0;
  padding: 10px 2% 60px;
  background: transparent;
  clip-path: none;
}
#inhaltsbereich .kjf-news-grid h3,
#inhaltsbereich .kjf-news-grid h3 a {
  float: none;
  clear: none;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  background: none;
}
#inhaltsbereich .kjf-news-grid h3::after { content: none; }
#inhaltsbereich .kjf-news-grid .news-list-date {
  display: block;
  float: none;
  width: 100%;
  margin: 0 0 15px;
  color: #666;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  text-align: left;
}
#inhaltsbereich .kjf-news-grid .news-text,
#inhaltsbereich .kjf-news-grid .news-text p {
  float: none;
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: 300;
  line-height: 1.5;
}
#inhaltsbereich .kjf-news-grid a.morelink {
  position: absolute;
  inset: auto 10px 10px auto;
  float: none;
  clear: none;
  width: auto;
  min-height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  text-decoration: underline;
}
#inhaltsbereich .kjf-news-grid a::before,
#inhaltsbereich .kjf-news-grid a::after { content: none !important; }
#inhaltsbereich .kjf-news-grid a:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
#inhaltsbereich .kjf-news-grid .kjf-news-link-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
@media (max-width: 1200px) {
  #inhaltsbereich .kjf-news-grid > .article,
  #inhaltsbereich .kjf-news-grid > .article:nth-child(3n + 2) { width: 48%; margin: 0 1% 20px !important; }
}
@media (max-width: 1000px) {
  #inhaltsbereich .kjf-news-grid { font-size: 16px; }
}
@media (max-width: 700px) {
  #inhaltsbereich .kjf-news-grid > .article,
  #inhaltsbereich .kjf-news-grid > .article:nth-child(3n + 2) { width: 100%; margin: 0 0 20px !important; }
}

/* Existing themes contain !important heading spacing; normalize this grid only. */
#inhaltsbereich .kjf-news-grid h3 { margin: 0 !important; }
