.kg-imported-content--local {
  width: 100%;
  max-width: 100%;
  min-height: 220px;
  overflow: hidden;
  overflow-wrap: break-word;
  color: var(--kg-ink);
}

.kg-imported-content--local :where(p, li, td, th, div) {
  color: inherit;
}

.kg-imported-content--local .page {
  display: grid;
  grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.kg-imported-content--local .article {
  min-width: 0;
  margin: 0;
}

.kg-imported-content--local .toc {
  position: sticky;
  top: 112px;
  max-width: 100%;
  padding: 24px;
  background: var(--kg-green);
  color: #fff;
  border-top: 7px solid var(--kg-red);
  border-radius: 0 0 24px 24px;
}

.kg-imported-content--local .toc-title {
  margin: 0 0 14px;
  color: #fff;
  font-family: var(--kg-head);
  font-size: 1.55rem;
  line-height: 1;
  text-transform: uppercase;
}

.kg-imported-content--local .toc ol {
  margin: 0;
  padding-left: 20px;
  background: transparent;
  border: 0;
}

.kg-imported-content--local .toc li {
  margin: 0 0 7px;
  color: #fff;
  font-size: .9rem;
}

.kg-imported-content--local .toc a {
  color: rgba(255, 255, 255, .88);
  text-decoration: none;
}

.kg-imported-content--local .toc a:hover {
  color: #fff;
  text-decoration: underline;
}

.kg-imported-content--local .lead {
  margin: 0 0 56px;
  padding: 28px 30px;
  background: #fff;
  border-top: 7px solid var(--kg-red);
  border-radius: 0 0 24px 24px;
  font-size: 1.08rem;
}

.kg-imported-content--local .chapter {
  padding: 14px 0 42px;
  border-bottom: 2px solid var(--kg-line);
}

.kg-imported-content--local .chapter:last-child {
  border-bottom: 0;
}

.kg-imported-content--local .chapter h2,
.kg-imported-content--local .intro h2,
.kg-imported-content--local .timeline > h2 {
  display: table !important;
  margin: 0 0 20px !important;
  padding: .08em .28em .04em !important;
  background: var(--kg-green) !important;
  color: #fff !important;
  font-size: clamp(2.05rem, 5vw, 3.8rem) !important;
  line-height: .94 !important;
  transform: rotate(-.4deg) !important;
}

.kg-imported-content--local .chapter h3 {
  display: table !important;
  margin: 32px 0 12px !important;
  padding: .14em .4em .1em !important;
  background: var(--kg-red) !important;
  color: #fff !important;
  font-size: clamp(1.35rem, 3vw, 2rem) !important;
  line-height: 1 !important;
}

.kg-imported-content--local .chapter ul,
.kg-imported-content--local .chapter ol {
  margin: 0 0 20px;
  padding: 20px 24px 16px 44px;
  background: #fff;
  border-left: 7px solid var(--kg-red);
  border-radius: 0 0 22px 22px;
}

.kg-imported-content--local .intro {
  max-width: 840px;
  margin: 0 auto 28px;
}

.kg-imported-content--local .timeline {
  max-width: 100%;
  margin: 36px auto 0;
}

.kg-imported-content--local .items {
  position: relative;
  display: grid;
  gap: 20px;
  padding-left: 54px;
}

.kg-imported-content--local .items:before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 5px;
  border-radius: 5px;
  background: #dfd5ce;
}

.kg-imported-content--local .item {
  position: relative;
  display: block;
  padding: 28px 30px;
  background: #fff;
  border: 0;
  border-top: 7px solid var(--kg-red);
  border-radius: 0 0 26px 26px;
}

.kg-imported-content--local .item:before {
  content: "";
  position: absolute;
  left: -52px;
  top: 30px;
  width: 20px;
  height: 20px;
  background: var(--kg-green);
  border: 5px solid var(--kg-cream);
  border-radius: 50%;
}

.kg-imported-content--local .year {
  display: inline-block;
  margin-bottom: 10px;
  padding: .1em .35em .04em;
  background: var(--kg-red);
  color: #fff;
  font-family: var(--kg-data);
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}

.kg-imported-content--local .item h3 {
  margin: 0 0 10px !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--kg-red) !important;
  font-size: 1.55rem !important;
  transform: none !important;
}

.kg-imported-content--local .item p {
  margin: 0;
  color: var(--kg-muted);
}

.kg-imported-content--local .item p + p {
  margin-top: 10px;
}

.kg-imported-content--local .closing {
  margin-top: 44px;
  padding: 34px;
  background: var(--kg-green);
  color: #fff;
  border-radius: 0;
}

.kg-imported-content--local .closing-inner {
  max-width: 900px;
  margin: 0 auto;
}

.kg-imported-content--local .closing h2 {
  margin: 0 0 18px !important;
  padding: 0 !important;
  background: transparent !important;
  color: #fff !important;
  transform: none !important;
}

.kg-imported-content--local .site-map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}

.kg-imported-content--local .site-map-card {
  min-width: 0;
  padding: 28px;
  background: #fff;
  border-top: 8px solid var(--kg-red);
  border-radius: 0 0 25px 25px;
}

.kg-imported-content--local .site-map-card:nth-child(even) {
  border-top-color: var(--kg-green);
}

.kg-imported-content--local .site-map-card h2 {
  display: block !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--kg-red) !important;
  font-size: 1.75rem !important;
  transform: none !important;
}

.kg-imported-content--local .site-map-card ul {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  list-style: none;
}

.kg-imported-content--local .site-map-card li {
  margin-bottom: 8px;
}

.kg-imported-content--local .department-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.kg-imported-content--local .department-card {
  display: flex;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  background: #fff;
  border-top: 7px solid var(--kg-red);
  border-radius: 0 0 24px 24px;
  color: var(--kg-ink) !important;
  text-decoration: none !important;
}

.kg-imported-content--local .department-card__visual {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: #f3eae3;
  overflow: hidden;
}

.kg-imported-content--local .department-card__visual img {
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}

.kg-imported-content--local .department-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 23px;
}

.kg-imported-content--local .department-card__type {
  margin-bottom: 7px;
  color: var(--kg-green);
  font-family: var(--kg-data);
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.kg-imported-content--local .department-card h2 {
  margin: 0 0 12px !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--kg-red) !important;
  font-size: clamp(1.65rem, 2.7vw, 2.3rem) !important;
  line-height: .95 !important;
  transform: none !important;
}

.kg-imported-content--local .department-card p {
  margin: 0 0 18px;
  color: var(--kg-muted);
  font-size: .95rem;
}

.kg-imported-content--local .department-card__link {
  margin-top: auto;
  color: var(--kg-red);
  font-family: var(--kg-data);
  text-transform: uppercase;
}

.kg-imported-content--local .fusion-fullwidth,
.kg-imported-content--local .fusion-builder-row,
.kg-imported-content--local .fusion-row,
.kg-imported-content--local .fusion-layout-column,
.kg-imported-content--local .fusion-column-wrapper,
.kg-imported-content--local .fusion-text {
  max-width: 100% !important;
}

.kg-imported-content--local .fusion-fullwidth {
  margin: 0 0 34px;
}

.kg-imported-content--local .fusion-builder-row,
.kg-imported-content--local .fusion-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, .75fr);
  gap: 28px;
  align-items: start;
}

.kg-imported-content--local .fusion-layout-column {
  min-width: 0;
}

.kg-imported-content--local .fusion-column-wrapper {
  padding: 0 !important;
  box-shadow: none !important;
}

.kg-imported-content--local .fusion-title:first-child h2,
.kg-imported-content--local .fusion-title:first-child h1 {
  margin-top: 0 !important;
}

.kg-imported-content--local h2 h2,
.kg-imported-content--local h1 h1 {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font-size: inherit !important;
  transform: none !important;
}

.kg-imported-content--local p {
  max-width: 760px;
}

.kg-imported-content--local > p:first-child,
.kg-imported-content--local .fusion-text > p:first-child {
  padding: 24px 27px;
  background: #fff;
  border-left: 7px solid var(--kg-green);
  border-radius: 0 0 22px 22px;
}

.kg-imported-content--local .kg-info-card,
.kg-contact-card {
  max-width: 760px;
  margin: 18px 0;
  padding: 20px 22px;
  background: #fff;
  border-top: 7px solid var(--kg-red);
  border-radius: 0 0 22px 22px;
  color: var(--kg-ink);
}

.kg-imported-content--local .kg-info-card p,
.kg-contact-card p {
  margin: 0;
}

.kg-imported-content--local .kg-info-card strong,
.kg-contact-card strong {
  color: var(--kg-red);
  font-family: var(--kg-data);
  font-weight: 400;
  text-transform: uppercase;
}

.kg-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.kg-contact-card {
  display: flex;
  min-height: 135px;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  text-decoration: none !important;
}

.kg-contact-card span {
  display: block;
  color: var(--kg-red);
  font-family: var(--kg-head);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: .95;
  text-transform: uppercase;
}

.kg-contact-card em {
  color: var(--kg-muted);
  font-style: normal;
  overflow-wrap: anywhere;
}

.kg-imported-content--local table {
  display: block;
  width: min(100%, 820px);
  margin: 24px 0 34px;
  padding: 8px 20px 12px;
  background: #fff;
  border: 0;
  border-top: 7px solid var(--kg-red);
  border-radius: 0 0 22px 22px;
  border-collapse: separate;
}

.kg-imported-content--local tbody {
  display: grid;
}

.kg-imported-content--local tr {
  display: grid;
  grid-template-columns: minmax(150px, .35fr) 1fr;
  gap: 16px;
  border-bottom: 2px solid var(--kg-line);
}

.kg-imported-content--local tr:last-child {
  border-bottom: 0;
}

.kg-imported-content--local td,
.kg-imported-content--local th {
  display: block;
  width: auto !important;
  height: auto !important;
  padding: 14px 4px;
  border: 0;
  text-align: left;
}

.kg-imported-content--local td:first-child,
.kg-imported-content--local th:first-child {
  color: var(--kg-green);
  font-family: var(--kg-data);
  font-size: 1.05rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.kg-imported-content--local img {
  display: block;
  width: auto;
  max-width: min(100%, 760px);
  max-height: 420px;
  margin: 22px auto;
  object-fit: contain;
  object-position: center;
  background: #f3eae3;
}

.kg-imported-content--local .fusion-image-element,
.kg-imported-content--local .fusion-imageframe,
.kg-imported-content--local figure {
  max-width: 100%;
}

.kg-imported-content--local .fusion-image-element img,
.kg-imported-content--local figure img {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 3;
  height: auto;
  max-height: 360px;
  object-fit: contain;
}

.kg-imported-content--local .content-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0;
}

.kg-imported-content--local .content-image-grid--1 {
  grid-template-columns: minmax(0, 520px);
}

.kg-imported-content--local .content-image-grid figure {
  margin: 0;
}

.kg-imported-content--local .content-image-grid img {
  width: 100%;
  max-width: 100%;
  max-height: 260px;
  margin: 0;
}

.kg-imported-content--local .wp-block-gallery,
.kg-imported-content--local .ngg-galleryoverview,
.kg-imported-content--local .gallery {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.kg-imported-content--local .wp-block-gallery img,
.kg-imported-content--local .ngg-galleryoverview img,
.kg-imported-content--local .gallery img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 220px;
  aspect-ratio: 4 / 3;
  margin: 0;
  object-fit: cover;
}

.page-foerderverein .kg-imported-content--local .fusion-text:first-of-type p {
  max-width: 900px;
  padding: 26px 28px;
  background: #fff;
  border-left: 7px solid var(--kg-green);
  border-radius: 0 0 22px 22px;
}

.kg-imported-content--local .fusion-row:has(.fusion-person),
.kg-imported-content--local .fusion-builder-row:has(.fusion-person) {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
}

.kg-imported-content--local .fusion-layout-column:has(.fusion-person) {
  display: block;
  min-width: 0;
}

.kg-imported-content--local .fusion-person {
  display: flex;
  height: 100%;
  min-height: 170px;
  overflow: hidden;
  flex-direction: column;
  background: #fff;
  border-top: 7px solid var(--kg-red);
  border-radius: 0 0 22px 22px;
  box-shadow: none;
}

.kg-imported-content--local .fusion-person:not(:has(img)) {
  justify-content: center;
  background: var(--kg-green);
  border-top-color: var(--kg-red);
  color: #fff;
}

.kg-imported-content--local .person-shortcode-image-wrapper {
  display: block;
  padding: 10px 10px 0;
}

.kg-imported-content--local .person-image-container {
  display: grid;
  min-height: 0;
  aspect-ratio: 4 / 5;
  place-items: center;
  overflow: hidden;
  background: #f3eae3;
  border-radius: 0 0 16px 16px;
}

.kg-imported-content--local .person-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: cover !important;
  object-position: center top !important;
  background: #f3eae3;
}

.kg-imported-content--local .person-desc {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 20px;
}

.kg-imported-content--local .person-name {
  display: block !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--kg-red) !important;
  font-family: var(--kg-head) !important;
  font-size: clamp(1.45rem, 2.2vw, 2rem) !important;
  line-height: .95 !important;
  text-transform: uppercase;
  transform: none !important;
}

.kg-imported-content--local .person-title {
  margin: 0 !important;
  color: var(--kg-ink);
  font-family: var(--kg-body) !important;
  font-size: .98rem !important;
  font-weight: 700;
  line-height: 1.35;
}

.kg-imported-content--local .person-content {
  margin-top: 10px;
  color: var(--kg-muted);
  font-size: .92rem;
}

.kg-imported-content--local .fusion-person:not(:has(img)) .person-name {
  color: #fff !important;
}

.kg-imported-content--local .fusion-person:not(:has(img)) .person-title,
.kg-imported-content--local .fusion-person:not(:has(img)) .person-content {
  color: rgba(255, 255, 255, .82);
}

.page-der-vorstand .kg-imported-content--local .fusion-title-center h2,
.page-foerderverein .kg-imported-content--local .fusion-title-center h2,
.page-bockordentraeger .kg-imported-content--local .fusion-title-center h2 {
  display: table !important;
  margin: 50px auto 22px !important;
  padding: .12em .35em .07em !important;
  background: var(--kg-green) !important;
  color: #fff !important;
  transform: rotate(-.4deg) !important;
}

.page-der-vorstand .kg-imported-content--local .fusion-fullwidth:first-child .fusion-builder-row,
.page-foerderverein .kg-imported-content--local .fusion-fullwidth:first-child .fusion-builder-row {
  grid-template-columns: 1fr !important;
}

@media (max-width: 900px) {
  .kg-imported-content--local .department-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kg-imported-content--local .fusion-builder-row,
  .kg-imported-content--local .fusion-row,
  .kg-contact-grid,
  .kg-imported-content--local .content-image-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .kg-imported-content--local .lead {
    padding: 22px 20px;
  }

  .kg-imported-content--local .items {
    padding-left: 34px;
  }

  .kg-imported-content--local .items:before {
    left: 5px;
  }

  .kg-imported-content--local .item {
    padding: 22px 18px;
  }

  .kg-imported-content--local .item:before {
    left: -37px;
    top: 26px;
  }

  .kg-imported-content--local .year {
    font-size: 1.7rem;
  }

  .kg-imported-content--local .department-grid {
    grid-template-columns: 1fr;
  }

  .kg-imported-content--local .fusion-builder-row,
  .kg-imported-content--local .fusion-row,
  .kg-contact-grid,
  .kg-imported-content--local .content-image-grid,
  .kg-imported-content--local .wp-block-gallery,
  .kg-imported-content--local .ngg-galleryoverview,
  .kg-imported-content--local .gallery {
    grid-template-columns: 1fr;
  }

  .kg-imported-content--local tr {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .kg-imported-content--local td + td {
    padding-top: 0;
  }

  .kg-imported-content--local img,
  .kg-imported-content--local .fusion-image-element img,
  .kg-imported-content--local figure img {
    max-height: 320px;
  }

  .kg-imported-content--local .site-map-card {
    padding: 22px 18px;
  }
}

/* Final responsive hardening for imported builder markup. */
.kg-imported-content--local{
  overflow:visible;
}

.kg-imported-content--local .fusion-fullwidth,
.kg-imported-content--local .fusion-builder-row,
.kg-imported-content--local .fusion-row,
.kg-imported-content--local .fusion-layout-column,
.kg-imported-content--local .fusion-column-wrapper,
.kg-imported-content--local .fusion-text{
  min-width:0!important;
}

.kg-imported-content--local .fusion-builder-row:not(:has(.fusion-person)),
.kg-imported-content--local .fusion-row:not(:has(.fusion-person)){
  grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))!important;
}

.kg-imported-content--local img{
  max-width:100%;
  max-height:460px;
}

.kg-imported-content--local .fusion-image-element img,
.kg-imported-content--local figure:not(.wp-block-gallery) img{
  width:100%;
  max-width:680px;
  max-height:420px;
  object-fit:contain;
  background:#f3eae3;
}

.kg-imported-content--local .department-card__visual{
  height:auto;
  aspect-ratio:4/3;
}

.kg-imported-content--local .department-card__visual img{
  max-width:100%;
  max-height:none;
  object-fit:cover;
}

.kg-imported-content--local .department-card__visual--placeholder img{
  padding:28px;
  object-fit:contain;
  background:var(--kg-green);
}

.kg-imported-content--local .wp-block-gallery,
.kg-imported-content--local .wp-block-gallery.has-nested-images,
.kg-imported-content--local .kg-wp-gallery,
.kg-imported-content--local .ngg-galleryoverview,
.kg-imported-content--local .gallery{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(180px,1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
}

.kg-imported-content--local .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image),
.kg-imported-content--local .wp-block-gallery .wp-block-image,
.kg-imported-content--local .kg-wp-gallery .wp-block-image,
.kg-imported-content--local .gallery figure{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  flex:0 0 auto!important;
}

.kg-imported-content--local .wp-block-gallery a,
.kg-imported-content--local .kg-wp-gallery a{
  display:block;
  width:100%;
  height:100%;
}

.kg-imported-content--local .wp-block-gallery img,
.kg-imported-content--local .kg-wp-gallery img,
.kg-imported-content--local .ngg-galleryoverview img,
.kg-imported-content--local .gallery img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  aspect-ratio:4/3!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  object-fit:cover!important;
  background:#f3eae3;
}

@media (max-width: 700px){
  .kg-imported-content--local .fusion-builder-row:not(:has(.fusion-person)),
  .kg-imported-content--local .fusion-row:not(:has(.fusion-person)){
    grid-template-columns:1fr!important;
  }

  .kg-imported-content--local .wp-block-gallery,
  .kg-imported-content--local .wp-block-gallery.has-nested-images,
  .kg-imported-content--local .kg-wp-gallery,
  .kg-imported-content--local .ngg-galleryoverview,
  .kg-imported-content--local .gallery{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
}

@media (max-width: 430px){
  .kg-imported-content--local .wp-block-gallery,
  .kg-imported-content--local .wp-block-gallery.has-nested-images,
  .kg-imported-content--local .kg-wp-gallery,
  .kg-imported-content--local .ngg-galleryoverview,
  .kg-imported-content--local .gallery{
    grid-template-columns:1fr!important;
  }
}

/* v2026.08.13.2: make every imported gallery source share one layout. */
.kg-imported-content--local .wp-block-gallery,
.kg-imported-content--local .wp-block-gallery.has-nested-images,
.kg-imported-content--local .kg-wp-gallery,
.kg-imported-content--local .gallery,
.kg-imported-content--local .ngg-galleryoverview,
.kg-imported-content--local .fusion-gallery{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
  margin:28px 0!important;
  padding:0!important;
}

.kg-imported-content--local .wp-block-gallery > *,
.kg-imported-content--local .kg-wp-gallery > *,
.kg-imported-content--local .gallery > *,
.kg-imported-content--local .ngg-galleryoverview > *,
.kg-imported-content--local .fusion-gallery > *{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}

.kg-imported-content--local .wp-block-gallery a,
.kg-imported-content--local .kg-wp-gallery a,
.kg-imported-content--local .gallery a,
.kg-imported-content--local .ngg-galleryoverview a,
.kg-imported-content--local .fusion-gallery a{
  display:block!important;
  width:100%!important;
  height:100%!important;
}

.kg-imported-content--local .wp-block-gallery img,
.kg-imported-content--local .kg-wp-gallery img,
.kg-imported-content--local .gallery img,
.kg-imported-content--local .ngg-galleryoverview img,
.kg-imported-content--local .fusion-gallery img,
.kg-imported-content--local .fusion-image-carousel img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:none!important;
  max-height:none!important;
  aspect-ratio:4/3!important;
  margin:0!important;
  border:0!important;
  border-radius:0 0 18px 18px!important;
  box-shadow:none!important;
  object-fit:cover!important;
  object-position:center!important;
  background:#f3eae3!important;
}

@media (max-width: 700px){
  .kg-imported-content--local .wp-block-gallery,
  .kg-imported-content--local .wp-block-gallery.has-nested-images,
  .kg-imported-content--local .kg-wp-gallery,
  .kg-imported-content--local .gallery,
  .kg-imported-content--local .ngg-galleryoverview,
  .kg-imported-content--local .fusion-gallery{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
}

@media (max-width: 430px){
  .kg-imported-content--local .wp-block-gallery,
  .kg-imported-content--local .wp-block-gallery.has-nested-images,
  .kg-imported-content--local .kg-wp-gallery,
  .kg-imported-content--local .gallery,
  .kg-imported-content--local .ngg-galleryoverview,
  .kg-imported-content--local .fusion-gallery{
    grid-template-columns:1fr!important;
  }
}

.kg-imported-content--local .kg-group-page{
  max-width:980px;
  margin:0;
  text-align:left;
}

.kg-imported-content--local .kg-group-page__name{
  display:block!important;
  margin:0 0 24px!important;
  padding:0!important;
  background:transparent!important;
  color:var(--kg-red)!important;
  font-size:clamp(2.35rem,5vw,4.8rem)!important;
  line-height:.9!important;
  text-align:left!important;
  transform:none!important;
}

.kg-imported-content--local .kg-group-page__images{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));
  gap:18px;
  margin:0 0 32px;
}

.kg-imported-content--local .kg-group-page__images figure{
  display:block!important;
  width:100%!important;
  margin:0!important;
}

.kg-imported-content--local .kg-group-page__images img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:430px!important;
  aspect-ratio:4/3!important;
  margin:0!important;
  border:3px solid var(--kg-red)!important;
  border-radius:0 0 24px 24px!important;
  box-shadow:8px 9px 0 rgba(225,49,34,.18)!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#f3eae3!important;
}

.kg-imported-content--local .kg-group-page__text{
  max-width:840px;
  margin:0 0 30px;
  text-align:left;
}

.kg-imported-content--local .kg-group-page__text p{
  margin:0 0 18px!important;
  padding:0!important;
  background:transparent!important;
  color:var(--kg-ink)!important;
  text-align:left!important;
}

.kg-imported-content--local .kg-group-page__facts{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));
  gap:14px;
  max-width:900px;
  margin:0;
  padding:0;
  text-align:left;
}

.kg-imported-content--local .kg-group-page__facts div{
  min-width:0;
  padding:18px 20px;
  background:#fff;
  border-top:6px solid var(--kg-green);
  border-radius:0 0 20px 20px;
}

.kg-imported-content--local .kg-group-page__facts dt{
  margin:0 0 6px;
  color:var(--kg-red);
  font-family:var(--kg-data);
  font-size:.88rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.kg-imported-content--local .kg-group-page__facts dd{
  margin:0;
  color:var(--kg-ink);
  font-size:1rem;
  line-height:1.45;
}

@media (max-width:700px){
  .kg-imported-content--local .kg-group-page__images,
  .kg-imported-content--local .kg-group-page__facts{
    grid-template-columns:1fr;
  }

  .kg-imported-content--local .kg-group-page__images img{
    max-height:340px!important;
  }
}

@media (max-width: 950px) {
  .kg-imported-content--local .page {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .kg-imported-content--local .toc {
    position: relative;
    top: auto;
  }

  .kg-imported-content--local .toc ol {
    columns: 2;
    column-gap: 28px;
  }
}

@media (max-width: 650px) {
  .kg-imported-content--local .toc ol {
    columns: 1;
  }

  .kg-imported-content--local .lead {
    padding: 23px 20px;
  }
}

/* Last-mile responsive protection for imported and generated subpages. */
.kg-imported-content--local,
.kg-imported-content--local .page,
.kg-imported-content--local .article,
.kg-imported-content--local .toc,
.kg-imported-content--local .lead,
.kg-imported-content--local .chapter,
.kg-imported-content--local .item,
.kg-imported-content--local .department-card,
.kg-imported-content--local .kg-group-page,
.kg-imported-content--local .kg-person-card {
  min-width: 0;
}

.kg-imported-content--local h1,
.kg-imported-content--local h2,
.kg-imported-content--local h3,
.kg-imported-content--local .chapter h2,
.kg-imported-content--local .chapter h3,
.kg-imported-content--local .intro h2,
.kg-imported-content--local .timeline > h2,
.kg-imported-content--local .department-card h2,
.kg-imported-content--local .site-map-card h2,
.kg-imported-content--local .kg-group-page__name,
.kg-imported-content--local .kg-person-card h3,
.kg-imported-content--local .toc-title {
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  hyphens: auto;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

.kg-imported-content--local .chapter h2,
.kg-imported-content--local .intro h2,
.kg-imported-content--local .timeline > h2,
.kg-imported-content--local .kg-group-page__name {
  display: block !important;
  width: fit-content;
  max-width: 100% !important;
  font-size: 3.2rem !important;
  line-height: .96 !important;
  transform: none !important;
}

.kg-imported-content--local .chapter h3,
.kg-imported-content--local .item h3,
.kg-imported-content--local .department-card h2,
.kg-imported-content--local .kg-person-card h3 {
  display: block !important;
  width: fit-content;
  max-width: 100% !important;
  font-size: 1.85rem !important;
  line-height: 1.04 !important;
  transform: none !important;
}

.kg-imported-content--local .button,
.kg-imported-content--local .department-card__link,
.kg-imported-content--local .toc a {
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.kg-imported-content--local img,
.kg-imported-content--local .department-card__visual,
.kg-imported-content--local .kg-group-page__images img,
.kg-imported-content--local .content-image-grid img {
  max-width: 100% !important;
}

@media (max-width: 820px) {
  .kg-imported-content--local .chapter h2,
  .kg-imported-content--local .intro h2,
  .kg-imported-content--local .timeline > h2,
  .kg-imported-content--local .kg-group-page__name {
    font-size: 2.35rem !important;
  }

  .kg-imported-content--local .chapter h3,
  .kg-imported-content--local .item h3,
  .kg-imported-content--local .department-card h2,
  .kg-imported-content--local .kg-person-card h3 {
    font-size: 1.6rem !important;
  }
}

@media (max-width: 520px) {
  .kg-imported-content--local .chapter h2,
  .kg-imported-content--local .intro h2,
  .kg-imported-content--local .timeline > h2,
  .kg-imported-content--local .kg-group-page__name {
    font-size: 2rem !important;
    line-height: 1 !important;
  }

  .kg-imported-content--local .chapter h3,
  .kg-imported-content--local .item h3,
  .kg-imported-content--local .department-card h2,
  .kg-imported-content--local .kg-person-card h3 {
    font-size: 1.42rem !important;
  }

  .kg-imported-content--local .button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Kontaktaktionen als eindeutig klickbare Schaltflächen. */
.kg-contact-card.kg-contact-card--action {
  background: var(--kg-red) !important;
  border-top-color: var(--kg-green) !important;
  color: #fff !important;
  box-shadow: 0 9px 20px rgba(20, 7, 5, .22) !important;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease !important;
}

.kg-contact-card.kg-contact-card--action span,
.kg-contact-card.kg-contact-card--action em,
.kg-contact-card.kg-contact-card--action strong {
  color: #fff !important;
}

.kg-contact-card.kg-contact-card--action strong {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  padding: .62em .9em .54em;
  align-items: center;
  justify-content: center;
  background: var(--kg-green) !important;
  border-radius: 8px;
  font-size: .78rem;
  line-height: 1;
  letter-spacing: .04em;
}

.kg-contact-card.kg-contact-card--action:hover,
.kg-contact-card.kg-contact-card--action:focus-visible {
  background: var(--kg-red-dark) !important;
  box-shadow: 0 13px 26px rgba(20, 7, 5, .3) !important;
  transform: translateY(-4px);
}

.kg-contact-card.kg-contact-card--action:focus-visible {
  outline: 3px solid var(--kg-green) !important;
  outline-offset: 4px;
}

/* Kleines Vereinswappen als ruhiger Platzhalter für Abteilungen ohne Foto. */
.department-card__visual.department-card__visual--placeholder img {
  width: min(42%, 140px) !important;
  height: auto !important;
  max-width: 140px !important;
  max-height: 58% !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}

/* v2026.08.19.1: eindeutige Galerieauswahl und zentrierte Bildflächen. */
.kg-group-page__images .kg-group-page__placeholder {
  display: grid !important;
  min-height: 280px;
  aspect-ratio: 4 / 3;
  margin: 0 !important;
  place-items: center;
  overflow: hidden;
  background: #f3eae3;
  border-top: 7px solid var(--kg-red);
  border-radius: 0 0 24px 24px;
}

.kg-group-page__images .kg-group-page__placeholder img {
  width: min(34%, 150px) !important;
  height: auto !important;
  max-width: 150px !important;
  max-height: 58% !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: transparent !important;
}

.department-card__visual img,
.kg-group-page__images img,
.kg-gallery-card__image img,
.page-content .wp-block-gallery img,
.page-content .kg-wp-gallery img,
.kg-imported-content .wp-block-gallery img,
.kg-imported-content .kg-wp-gallery img,
.kg-imported-content .ngg-galleryoverview img {
  object-position: center center !important;
}

.kg-gallery-overview {
  width: 100%;
  max-width: 1120px;
}

.kg-gallery-overview__lead {
  max-width: 850px;
  margin: 0 0 34px !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--kg-ink) !important;
}

.kg-gallery-overview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.kg-gallery-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  margin: 0 !important;
  background: #fff;
  border-top: 7px solid var(--kg-red);
  border-radius: 0 0 22px 22px;
  box-shadow: 0 12px 28px rgba(20, 7, 5, .1);
}

.kg-gallery-card:nth-child(even) {
  border-top-color: var(--kg-green);
}

.kg-gallery-card__image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f3eae3;
}

.kg-gallery-card__image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.kg-gallery-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 22px 23px;
}

.kg-gallery-card__body > span {
  margin-bottom: 8px;
  color: var(--kg-green);
  font-family: var(--kg-data);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.page-content .kg-gallery-card h2,
.kg-gallery-card h2 {
  display: block !important;
  width: 100% !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--kg-red) !important;
  font-size: clamp(1.55rem, 2.5vw, 2.1rem) !important;
  line-height: 1 !important;
  text-transform: uppercase;
  transform: none !important;
}

.kg-gallery-card__button {
  display: inline-flex;
  min-height: 44px;
  margin-top: auto;
  padding: .72em 1em .62em;
  align-items: center;
  justify-content: center;
  background: var(--kg-green);
  border-radius: 8px;
  color: #fff !important;
  font-family: var(--kg-data);
  font-size: .82rem;
  letter-spacing: .03em;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: background .2s ease, transform .2s ease;
}

.kg-gallery-card__button:hover,
.kg-gallery-card__button:focus-visible {
  background: var(--kg-red-dark);
  transform: translateY(-2px);
}

.kg-gallery-card__button:focus-visible {
  outline: 3px solid var(--kg-red);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .kg-gallery-overview__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .kg-gallery-overview__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .kg-group-page__images .kg-group-page__placeholder {
    min-height: 220px;
  }
}

/* Downloadkarten mit eigener, klar sichtbarer Schaltfläche. */
.kg-download-item {
  gap: 14px;
}

.kg-download-item strong {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  margin-top: auto;
  padding: .7em .9em .6em;
  align-items: center;
  justify-content: center;
  background: var(--kg-green);
  border-radius: 8px;
  color: #fff !important;
  font-family: var(--kg-data);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .03em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: background .2s ease;
}

/* v2026.08.19.3: produktionssichere, chronologisch sortierte Personen- und Veranstaltungsgalerien. */
.kg-person-gallery,
.kg-photo-gallery {
  width: 100%;
  max-width: 1120px;
}

.kg-person-gallery__lead,
.kg-photo-gallery__lead {
  max-width: 850px;
  margin: 0 0 34px !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--kg-ink) !important;
}

.kg-person-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.kg-person-gallery-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  margin: 0 !important;
  background: #fff;
  border-top: 7px solid var(--kg-red);
  border-radius: 0 0 22px 22px;
  box-shadow: 0 12px 28px rgba(20, 7, 5, .1);
}

.kg-person-gallery-card:nth-child(even) {
  border-top-color: var(--kg-green);
}

.kg-person-gallery-card__image {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #f3eae3 url(../brand/kg-herdorf-wappen.png) center 45% / 42% auto no-repeat;
}

.kg-person-gallery-card__image--placeholder {
  display: block;
}

.kg-person-gallery-card__image--placeholder img {
  width: 60% !important;
  height: auto !important;
  margin: 18% auto 0 !important;
  object-fit: contain !important;
}

.kg-person-gallery-card__image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: cover !important;
  object-position: center top !important;
}

.kg-person-gallery-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 23px;
}

.page-content .kg-person-gallery-card h2,
.kg-person-gallery-card h2 {
  display: block !important;
  width: 100% !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--kg-red) !important;
  font-size: clamp(1.45rem, 2.5vw, 2rem) !important;
  line-height: 1 !important;
  hyphens: auto;
  overflow-wrap: break-word;
  word-break: normal;
  text-transform: uppercase;
  transform: none !important;
}

.kg-person-gallery-card__detail,
.kg-person-gallery-card__session {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--kg-muted) !important;
  font-size: .95rem !important;
  line-height: 1.45;
}

.kg-person-gallery-card__session {
  margin-top: 6px !important;
  color: var(--kg-green) !important;
  font-family: var(--kg-data);
  font-size: .82rem !important;
  text-transform: uppercase;
}

.kg-photo-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.kg-photo-gallery__item {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f3eae3;
  border-radius: 8px;
}

.kg-photo-gallery__item img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  transition: transform .2s ease;
}

.kg-photo-gallery__item:hover img,
.kg-photo-gallery__item:focus-visible img {
  transform: scale(1.025);
}

.kg-photo-gallery__item:focus-visible {
  outline: 3px solid var(--kg-red);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .kg-person-gallery__grid,
  .kg-photo-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .kg-person-gallery__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .kg-photo-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

.kg-download-item:hover strong,
.kg-download-item:focus-visible strong {
  background: var(--kg-red-dark);
}


/* v2026.08.19.3: Abteilungsbilder füllen den Rahmen vollständig aus. */
.kg-group-page__images figure:not(.kg-group-page__placeholder),
.kg-imported-content--local .kg-group-page__images figure:not(.kg-group-page__placeholder) {
  display: block !important;
  overflow: hidden !important;
  width: 100% !important;
  margin: 0 !important;
}

.kg-group-page__images figure:not(.kg-group-page__placeholder) img,
.kg-imported-content--local .kg-group-page__images figure:not(.kg-group-page__placeholder) img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: #f3eae3 !important;
}

.department-card__visual,
.kg-imported-content--local .department-card__visual {
  display: block !important;
  overflow: hidden !important;
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  background: #f3eae3;
}

.department-card__visual:not(.department-card__visual--placeholder) img,
.kg-imported-content--local .department-card__visual:not(.department-card__visual--placeholder) img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.department-card__visual--placeholder,
.kg-imported-content--local .department-card__visual--placeholder {
  display: grid !important;
  place-items: center;
}

.kg-person-card__image img:not(.kg-person-card__logo) {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
}

/* 404-Seite */
.kg-error-page {
  width: 100%;
  max-width: 1120px;
}

.kg-error-page__lead {
  max-width: 850px;
  margin: 0 0 30px !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--kg-ink) !important;
}

.kg-error-page .kg-booking-list {
  margin-top: 0;
}

.kg-error-page__search {
  max-width: 560px;
  margin: 0 0 34px;
}

.kg-error-page__search form,
.kg-error-page__search .search-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.kg-error-page__search label {
  flex: 1 1 220px;
  margin: 0;
}

.kg-error-page__search input[type="search"] {
  width: 100%;
  padding: 13px 15px;
  background: #fff;
  color: var(--kg-ink);
  border: 2px solid var(--kg-line);
  border-radius: 9px;
  font: inherit;
}

.kg-error-page__search input[type="search"]:focus {
  outline: 3px solid var(--kg-green);
  outline-offset: 2px;
  border-color: var(--kg-green);
}

.kg-error-page__search input[type="submit"],
.kg-error-page__search button {
  padding: 13px 24px;
  background: var(--kg-red);
  color: #fff;
  border: 0;
  border-radius: 9px;
  font-family: var(--kg-data);
  font-size: .85rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  cursor: pointer;
}

.kg-error-page__search input[type="submit"]:hover,
.kg-error-page__search button:hover {
  background: var(--kg-red-dark);
}

/* v2026.08.19.4: Live-Galerien und 404-Seite. */
.page-hero--404 .page-hero__inner::after {
  content: "404";
  position: absolute;
  right: clamp(18px, 6vw, 90px);
  bottom: -0.18em;
  color: rgba(255, 255, 255, .14);
  font-family: var(--kg-display);
  font-size: clamp(6rem, 18vw, 16rem);
  line-height: .8;
  pointer-events: none;
}

@media (max-width: 560px) {
  .page-content .kg-person-gallery-card h2,
  .kg-person-gallery-card h2 {
    font-size: clamp(1.35rem, 8vw, 1.85rem) !important;
  }
}

/* v2026.08.19.7: Mitgliedschaft, mobiles Menü und mobiler Hero-Ausschnitt. */
.kg-membership-page {
  width: 100%;
  max-width: 1040px;
}

.kg-membership-downloads {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}

.kg-membership-info {
  margin-top: 54px;
}

@media (max-width: 1120px) {
  .site-nav {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: calc(100svh - 78px) !important;
  }

  .site-nav .site-cta {
    background: var(--kg-green) !important;
    color: #fff !important;
  }

  .site-nav .site-cta:hover,
  .site-nav .site-cta:focus-visible {
    background: #053d00 !important;
  }
}

@media (max-width: 720px) {
  .kg-hero__image {
    object-position: 50% bottom !important;
    transform: translateY(-7%) scale(1.12) !important;
    transform-origin: center bottom !important;
  }
}

@media (max-width: 820px) {
  .kg-membership-downloads {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-nav {
    max-height: calc(100svh - 70px) !important;
  }
}

/* v2026.08.19.8: eindeutige, vom Theme erzwungene 404-Seite. */
.page-hero--404 .page-hero__inner {
  text-align: center;
}

.page-hero--404 .page-kicker,
.page-hero--404 p {
  margin-left: auto !important;
  margin-right: auto !important;
}

.page-hero--404 .page-hero__inner::after {
  display: none !important;
}

.page-hero--404 h1 {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(7rem, 24vw, 15rem);
}

.kg-error-page--simple {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.kg-error-page__message {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--kg-ink) !important;
  font-size: clamp(1.5rem, 3vw, 2.35rem) !important;
  font-weight: 750;
  line-height: 1.3;
}

.kg-error-page--simple .page-actions {
  justify-content: center;
  margin-bottom: 0;
}

/* v2026.08.19.9: stabile Neuigkeiten- und Einzelartikelansicht. */
.page-hero--article h1 {
  max-width: 1000px;
  overflow-wrap: anywhere;
}

.kg-article {
  width: 100%;
  max-width: 900px;
}

.kg-article__featured {
  width: 100%;
  max-width: none !important;
  margin: 0 0 36px !important;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #f3eae3;
  border-radius: 0 0 24px 24px;
}

.kg-article__featured img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.kg-article__content {
  min-width: 0;
  overflow-wrap: anywhere;
}

.kg-article__content > :first-child {
  margin-top: 0 !important;
}

.kg-article__content > :last-child {
  margin-bottom: 0 !important;
}

.kg-article__content p,
.kg-article__content li {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.75;
}

.kg-article__content a {
  color: var(--kg-green);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration-thickness: 2px;
  text-underline-offset: .18em;
}

.kg-article__content img {
  max-width: 100%;
  height: auto;
}

.kg-article__content iframe,
.kg-article__content video {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

.kg-article__content blockquote {
  margin: 30px 0;
  padding: 20px 24px;
  background: #fff;
  border-left: 7px solid var(--kg-green);
}

.kg-article__actions {
  padding-top: 6px;
  border-top: 2px solid var(--kg-line);
}

.page-content > .kg-news-grid,
.kg-news-grid {
  align-items: stretch;
}

.kg-news-card__image,
.kg-news-card__body,
.kg-news-card h3,
.kg-news-card h3 a,
.kg-news-card p {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 620px) {
  .page-hero--article h1 {
    font-size: clamp(2.45rem, 14vw, 4rem);
  }

  .kg-article__featured {
    margin-bottom: 26px !important;
    aspect-ratio: 4 / 3;
  }

  .kg-article__content p,
  .kg-article__content li {
    line-height: 1.65;
  }
}
