.ce-label {
  display: inline-block;
  background: #618739;
  color: white;
  font-size: 0.7em;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.frame { margin-bottom: 30px; }
.frame:last-child { margin-bottom: 0; }
.frame-layout-1 {
  background: #f3e6d6;
  padding: 20px;
  border-radius: 6px;
}
.frame-layout-2 {
  border: 2px solid #618739;
  padding: 20px;
  border-radius: 6px;
}

.frame-space-before-extra-small { margin-top: 10px; }
.frame-space-before-small { margin-top: 20px; }
.frame-space-before-medium { margin-top: 40px; }
.frame-space-before-large { margin-top: 60px; }
.frame-space-before-extra-large { margin-top: 80px; }
.frame-space-after-extra-small { margin-bottom: 10px; }
.frame-space-after-small { margin-bottom: 20px; }
.frame-space-after-medium { margin-bottom: 40px; }
.frame-space-after-large { margin-bottom: 60px; }
.frame-space-after-extra-large { margin-bottom: 80px; }

.ce-above .ce-gallery { margin-bottom: 15px; }
.ce-below .ce-gallery { margin-top: 15px; }

.ce-gallery.ce-border img { border: 1px solid #e0d6c8; padding: 4px; }

figure.image a { cursor: zoom-in; display: block; }
figure.image a img { transition: opacity 0.2s ease; }
figure.image a:hover img { opacity: 0.9; }

.frame header h1,
.frame header h2 {
  color: #618739;
  font-weight: 300;
  font-size: 1.6em;
  line-height: 1.3;
  margin: 0;
  padding: 0 0 15px 0;
}
.frame header .ce-headline-center { text-align: center; }
.frame header .ce-headline-right { text-align: right; }

.frame header h3 {
  color: #618739;
  font-weight: 600;
  font-size: 1.1em;
  line-height: 1.3;
  margin: 0;
  padding: 0 0 10px 0;
}
.frame header h4 {
  color: #3a5a40;
  font-weight: 600;
  font-size: 1em;
  line-height: 1.3;
  margin: 0;
  padding: 0 0 10px 0;
}
.frame header h5 {
  color: #3a5a40;
  font-weight: 600;
  font-size: 0.95em;
  line-height: 1.3;
  margin: 0;
  padding: 0 0 10px 0;
}
.frame header p.ce-headline-subheader,
.frame header + .ce-headline-subheader {
  color: #3a5a40;
  font-weight: 400;
  font-size: 0.95em;
  line-height: 1.4;
  margin: -10px 0 15px 0;
}

.frame-type-text p,
.ce-bodytext p {
  color: #212E13;
  font-size: 1em;
  line-height: 1.8;
  padding-bottom: 12px;
}
.frame-type-text a,
.ce-bodytext a {
  color: #618739;
  text-decoration: none;
}
.frame-type-text a:hover,
.ce-bodytext a:hover {
  text-decoration: underline;
  color: #3a5a40;
}
.frame-type-text ul,
.ce-bodytext ul {
  list-style: none;
  padding: 0;
  margin-bottom: 12px;
}
.frame-type-text ul li,
.ce-bodytext ul li {
  position: relative;
  padding-left: 20px;
  padding-bottom: 6px;
  color: #212E13;
  line-height: 1.8;
}
.frame-type-text ul li::before,
.ce-bodytext ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: #618739;
  border-radius: 50%;
}
.frame-type-text ol,
.ce-bodytext ol {
  list-style: none;
  padding: 0;
  counter-reset: ol-counter;
  margin-bottom: 12px;
  color: #212E13;
}
.frame-type-text ol li,
.ce-bodytext ol li {
  position: relative;
  padding-left: 32px;
  padding-bottom: 6px;
  line-height: 1.8;
  counter-increment: ol-counter;
}
.frame-type-text ol li::before,
.ce-bodytext ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 22px;
  height: 22px;
  background: #618739;
  color: #fff;
  border-radius: 50%;
  font-size: 0.75em;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.ce-bodytext h2 {
  color: #618739;
  font-weight: 400;
  font-size: 1.3em;
  line-height: 1.3;
  padding: 10px 0 8px 0;
  margin: 0;
}
.ce-bodytext h3 {
  color: #618739;
  font-weight: 600;
  font-size: 1.1em;
  line-height: 1.3;
  padding: 8px 0 6px 0;
  margin: 0;
}
.ce-bodytext h4 {
  color: #3a5a40;
  font-weight: 600;
  font-size: 1em;
  line-height: 1.3;
  padding: 6px 0 4px 0;
  margin: 0;
}
.ce-bodytext blockquote {
  border-left: 4px solid #618739;
  padding: 10px 20px;
  margin: 10px 0 15px 0;
  background: rgba(97,135,57,0.05);
  color: #3a5a40;
  font-style: italic;
  line-height: 1.8;
}
.ce-bodytext table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
}
.ce-bodytext table th {
  background: #618739;
  color: #fff;
  padding: 10px 15px;
  text-align: left;
  font-weight: 600;
  font-size: 0.95em;
}
.ce-bodytext table td {
  padding: 10px 15px;
  border-bottom: 1px solid #e0d6c8;
  color: #212E13;
  line-height: 1.6;
}
.ce-bodytext table tr:nth-child(even) td {
  background: rgba(251,247,240,0.5);
}

img.image-embed-item {
  max-width: 100%;
  height: auto;
  display: block;
}

.ce-image img, .ce-textpic img, .ce-textmedia img {
  max-width: 100%;
  height: auto;
  display: block;
}

.ce-gallery { overflow: hidden; }
.ce-gallery .ce-row { display: flex; gap: 15px; margin-bottom: 15px; flex-wrap: wrap; }
.ce-gallery .ce-row:last-child { margin-bottom: 0; }
.ce-gallery .ce-column { flex: 1; min-width: 0; }

.ce-gallery .ce-column figure.image { margin: 0; padding: 0; }
.ce-gallery .ce-column img.image-embed-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}
.ce-gallery .ce-column figure.image {
  overflow: hidden;
}
.ce-gallery .ce-column .image-caption {
  margin-top: 6px;
  color: #212E13;
  font-size: 0.85em;
  font-style: italic;
}

.ce-gallery[data-ce-columns="1"] .ce-row { gap: 0; }

.ce-gallery[data-ce-columns="1"] .ce-column figure.image img.image-embed-item {
  aspect-ratio: 16/9;
}
.frame-layout-1 .ce-gallery .ce-column img.image-embed-item {
  aspect-ratio: auto;
  object-fit: contain;
  height: auto;
}
.ce-gallery[data-ce-columns="2"] .ce-column figure.image img.image-embed-item,
.ce-gallery[data-ce-columns="3"] .ce-column figure.image img.image-embed-item,
.ce-gallery[data-ce-columns="4"] .ce-column figure.image img.image-embed-item,
.ce-gallery[data-ce-columns="5"] .ce-column figure.image img.image-embed-item,
.ce-gallery[data-ce-columns="6"] .ce-column figure.image img.image-embed-item {
  aspect-ratio: 4/3;
}

.ce-gallery[data-ce-columns="1"] .ce-column { max-width: 100%; }
.ce-gallery[data-ce-columns="2"] .ce-column { max-width: calc(50% - 8px); }
.ce-gallery[data-ce-columns="3"] .ce-column { max-width: calc(33.333% - 10px); }
.ce-gallery[data-ce-columns="4"] .ce-column { max-width: calc(25% - 12px); }
.ce-gallery[data-ce-columns="5"] .ce-column { max-width: calc(20% - 12px); }
.ce-gallery[data-ce-columns="6"] .ce-column { max-width: calc(16.666% - 13px); }
.ce-gallery[data-ce-columns="2"] .ce-row,
.ce-gallery[data-ce-columns="3"] .ce-row,
.ce-gallery[data-ce-columns="4"] .ce-row,
.ce-gallery[data-ce-columns="5"] .ce-row,
.ce-gallery[data-ce-columns="6"] .ce-row { flex-wrap: nowrap; }

@media (max-width: 559px) {
  .ce-gallery[data-ce-columns="2"] .ce-row,
  .ce-gallery[data-ce-columns="3"] .ce-row,
  .ce-gallery[data-ce-columns="4"] .ce-row,
  .ce-gallery[data-ce-columns="5"] .ce-row,
  .ce-gallery[data-ce-columns="6"] .ce-row {
    flex-wrap: wrap;
  }
  .ce-gallery[data-ce-columns="2"] .ce-column,
  .ce-gallery[data-ce-columns="3"] .ce-column,
  .ce-gallery[data-ce-columns="4"] .ce-column,
  .ce-gallery[data-ce-columns="5"] .ce-column,
  .ce-gallery[data-ce-columns="6"] .ce-column {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }
}
@media (min-width: 560px) and (max-width: 759px) {
  .ce-gallery[data-ce-columns="3"] .ce-column,
  .ce-gallery[data-ce-columns="4"] .ce-column,
  .ce-gallery[data-ce-columns="5"] .ce-column,
  .ce-gallery[data-ce-columns="6"] .ce-column {
    flex: 0 0 calc(33.333% - 10px);
    max-width: calc(33.333% - 10px);
  }
  .ce-gallery[data-ce-columns="3"] .ce-row,
  .ce-gallery[data-ce-columns="4"] .ce-row,
  .ce-gallery[data-ce-columns="5"] .ce-row,
  .ce-gallery[data-ce-columns="6"] .ce-row {
    flex-wrap: wrap;
  }
}

.ce-intext { display: block !important; overflow: hidden; }
.ce-intext .ce-gallery .ce-row { display: flex; gap: 10px; }
.ce-intext .ce-gallery .ce-column { flex: 1; min-width: 0; }
.ce-intext.ce-right .ce-gallery { float: right; width: 40%; margin-left: 20px; margin-bottom: 15px; overflow: visible; }
.ce-intext.ce-left .ce-gallery { float: left; width: 40%; margin-right: 20px; margin-bottom: 15px; overflow: visible; }
.ce-intext .ce-gallery .ce-column figure.image img.image-embed-item {
  aspect-ratio: 4/3;
}
.ce-intext::after { content: ''; display: table; clear: both; }
@media (max-width: 759px) {
  .ce-intext.ce-right .ce-gallery,
  .ce-intext.ce-left .ce-gallery {
    float: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

.frame-type-div .ce-div {
  border: none;
  border-top: 2px solid #e0d6c8;
  margin: 20px 0;
}

.frame-type-bullets ul.ce-bullets {
  list-style: none;
  padding: 0;
}
.frame-type-bullets ul.ce-bullets li {
  position: relative;
  padding-left: 20px;
  padding-bottom: 6px;
  color: #212E13;
  line-height: 1.8;
}
.frame-type-bullets ul.ce-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: #618739;
  border-radius: 50%;
}
.frame-type-bullets ol.ce-bullets {
  list-style: none;
  padding: 0;
  counter-reset: ol-counter;
  color: #212E13;
}
.frame-type-bullets ol.ce-bullets li {
  position: relative;
  padding-left: 32px;
  padding-bottom: 6px;
  line-height: 1.8;
  counter-increment: ol-counter;
}
.frame-type-bullets ol.ce-bullets li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 22px;
  height: 22px;
  background: #618739;
  color: #fff;
  border-radius: 50%;
  font-size: 0.75em;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.frame-type-bullets dl.ce-bullets {
  margin: 0;
  padding: 0;
}
.frame-type-bullets dl.ce-bullets dt {
  color: #618739;
  font-weight: 600;
  font-size: 1em;
  padding: 8px 0 4px 0;
  border-bottom: 1px solid #e0d6c8;
}
.frame-type-bullets dl.ce-bullets dd {
  margin: 0;
  padding: 6px 0 10px 0;
  color: #212E13;
  line-height: 1.8;
}

.frame-type-table table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
}
.frame-type-table table thead th {
  background: #618739;
  color: #fff;
  padding: 10px 15px;
  text-align: left;
  font-weight: 600;
  font-size: 0.95em;
}
.frame-type-table table td {
  padding: 10px 15px;
  border-bottom: 1px solid #e0d6c8;
  color: #212E13;
  line-height: 1.6;
}
.frame-type-table table th {
  padding: 10px 15px;
  border-bottom: 1px solid #e0d6c8;
  color: #212E13;
  line-height: 1.6;
  font-weight: 600;
  background: rgba(97,135,57,0.08);
}
.frame-type-table table thead th {
  background: #618739;
  color: #fff;
}
.frame-type-table table tr:nth-child(even) td {
  background: rgba(251,247,240,0.5);
}

.ce-uploads { list-style: none; padding: 0; margin: 0; }
.ce-uploads li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e0d6c8;
}
.ce-uploads li:last-child { border-bottom: none; }
.ce-uploads li a {
  color: #618739;
  text-decoration: none;
  font-weight: 600;
}
.ce-uploads li a:hover {
  text-decoration: underline;
  color: #3a5a40;
}
.ce-uploads .ce-uploads-filesize {
  color: rgba(33, 46, 19, 0.5);
  font-size: 0.85em;
  white-space: nowrap;
}
.ce-uploads .ce-uploads-description {
  display: block;
  color: #212E13;
  font-size: 0.9em;
  line-height: 1.5;
  padding-top: 2px;
}
.ce-uploads li > div {
  flex: 1;
  min-width: 0;
}
.ce-uploads li > img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}
.ce-uploads li > a:first-child img {
  width: 50px;
  height: auto;
  aspect-ratio: 1/1.41;
  object-fit: cover;
  border: 1px solid #e0d6c8;
  border-radius: 2px;
}
.ce-uploads li > a:first-child {
  flex-shrink: 0;
}
@media (max-width: 559px) {
  .ce-uploads li {
    gap: 8px;
  }
  .ce-uploads li > a:first-child img {
    width: 40px;
  }
}

.frame-type-menu_pages ul,
.frame-type-menu_subpages ul,
.frame-type-menu_section ul,
.frame-type-menu_recently_updated ul,
.frame-type-menu_abstract ul,
.frame-type-menu_categorized_pages ul,
.frame-type-menu_categorized_content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.frame-type-menu_pages li,
.frame-type-menu_subpages li,
.frame-type-menu_section li,
.frame-type-menu_recently_updated li,
.frame-type-menu_abstract li,
.frame-type-menu_categorized_pages li,
.frame-type-menu_categorized_content li {
  border-bottom: 1px solid #e0d6c8;
}
.frame-type-menu_pages li:last-child,
.frame-type-menu_subpages li:last-child,
.frame-type-menu_section li:last-child,
.frame-type-menu_recently_updated li:last-child,
.frame-type-menu_abstract li:last-child,
.frame-type-menu_categorized_pages li:last-child,
.frame-type-menu_categorized_content li:last-child {
  border-bottom: none;
}
.frame-type-menu_pages li a,
.frame-type-menu_subpages li a,
.frame-type-menu_section li a,
.frame-type-menu_recently_updated li a,
.frame-type-menu_abstract li a,
.frame-type-menu_categorized_pages li a,
.frame-type-menu_categorized_content li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  color: #618739;
  text-decoration: none;
  transition: color 0.3s, padding-left 0.3s;
}
.frame-type-menu_pages li a::before,
.frame-type-menu_subpages li a::before,
.frame-type-menu_section li a::before,
.frame-type-menu_recently_updated li a::before,
.frame-type-menu_abstract li a::before,
.frame-type-menu_categorized_pages li a::before,
.frame-type-menu_categorized_content li a::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 12px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='12' viewBox='0 0 7 12' fill='none'%3E%3Cpath d='M1 1l5 5-5 5' stroke='%23618739' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.3s;
}
.frame-type-menu_pages li a:hover,
.frame-type-menu_subpages li a:hover,
.frame-type-menu_section li a:hover,
.frame-type-menu_recently_updated li a:hover,
.frame-type-menu_abstract li a:hover,
.frame-type-menu_categorized_pages li a:hover,
.frame-type-menu_categorized_content li a:hover {
  color: #3a5a40;
  padding-left: 6px;
}
.frame-type-menu_pages li a:hover::before,
.frame-type-menu_subpages li a:hover::before,
.frame-type-menu_section li a:hover::before,
.frame-type-menu_recently_updated li a:hover::before,
.frame-type-menu_abstract li a:hover::before,
.frame-type-menu_categorized_pages li a:hover::before,
.frame-type-menu_categorized_content li a:hover::before {
  transform: translateX(3px);
}

.frame-type-menu_abstract li p {
  font-size: 0.9em;
  color: #212E13;
  line-height: 1.6;
  padding: 4px 0 8px 0;
  margin: 0;
}

.frame-type-html .ce-html-content {
  padding: 15px;
  background: #f0ebe3;
  border-radius: 4px;
  border: 1px dashed #caa87b;
}

.content-col-narrow .ce-gallery .ce-row {
  flex-wrap: wrap !important;
}
.content-col-narrow .ce-gallery .ce-column {
  flex: 0 0 100% !important;
}
.content-col-narrow .ce-intext.ce-right .ce-gallery,
.content-col-narrow .ce-intext.ce-left .ce-gallery {
  float: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.content-col-narrow .ce-gallery[data-ce-columns] .ce-row {
  flex-wrap: wrap !important;
}
.content-col-narrow .ce-gallery[data-ce-columns] .ce-column {
  flex: 0 0 100% !important;
}
.content-col-narrow .ce-gallery .ce-column figure.image {
  overflow: visible;
}
.content-col-narrow .ce-gallery .ce-column img.image-embed-item {
  height: auto;
}
.content-col-narrow .ce-gallery .ce-row {
  display: block !important;
}
.content-col-narrow .frame-layout-1 {
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.content-col-narrow .ce-above .ce-gallery,
.content-col-narrow .ce-below .ce-gallery {
  margin-bottom: 0 !important;
}
.content-col-narrow .ce-gallery[data-ce-columns="1"] .ce-column figure.image img.image-embed-item {
  aspect-ratio: auto !important;
}
.content-col-narrow .ce-gallery[data-ce-columns="2"] .ce-column figure.image img.image-embed-item,
.content-col-narrow .ce-gallery[data-ce-columns="3"] .ce-column figure.image img.image-embed-item,
.content-col-narrow .ce-gallery[data-ce-columns="4"] .ce-column figure.image img.image-embed-item,
.content-col-narrow .ce-gallery[data-ce-columns="5"] .ce-column figure.image img.image-embed-item,
.content-col-narrow .ce-gallery[data-ce-columns="6"] .ce-column figure.image img.image-embed-item {
  aspect-ratio: auto !important;
}
.content-col-narrow .frame header h1,
.content-col-narrow .frame header h2 {
  font-size: 1.3em;
}
.content-col-narrow .frame {
  margin-bottom: 20px;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #618739;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95em;
  padding: 10px 20px;
  border: 2px solid #618739;
  border-radius: 20px;
  transition: background-color 0.2s, color 0.2s;
}
.back-to-top:hover {
  background: #618739;
  color: #fff;
}
.back-to-top svg {
  width: 16px;
  height: 16px;
}

/* ═══════════════════════════════════════
   NM Image Navigation (nm_imagenav)
   ═══════════════════════════════════════ */
.nm-imagenav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 15px;
}
@media (max-width: 559px) {
  .nm-imagenav-grid {
    grid-template-columns: 1fr;
  }
}
.nm-imagenav-card {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  aspect-ratio: 3 / 2;
}
.nm-imagenav-card:hover .nm-imagenav-img {
  transform: scale(1.05);
}
.nm-imagenav-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.nm-imagenav-placeholder {
  width: 100%;
  height: 100%;
  background: #d5c4a1;
}
.nm-imagenav-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(97,135,57,0.75) 0%, rgba(97,135,57,0) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1em;
  line-height: 1.3;
}

/* ═══════════════════════════════════════
   tx_news List View (Referenzen)
   ═══════════════════════════════════════ */
.news-list-view .article {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #f3e6d6;
}
.news-list-view .article:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.news-list-view .article .header {
  order: 2;
}
.news-list-view .article .header h3 {
  margin: 0;
  padding: 0 0 8px 0;
  font-size: 1.2em;
  font-weight: 400;
  line-height: 1.3;
}
.news-list-view .article .header h3 a {
  color: #618739;
  text-decoration: none;
}
.news-list-view .article .header h3 a:hover {
  color: #3a5a40;
}
.news-list-view .article .news-img-wrap {
  order: 1;
  flex-shrink: 0;
  width: 35%;
}
.news-list-view .article .news-img-wrap a {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
}
.news-list-view .article .news-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-list-view .article .teaser-text {
  order: 3;
}
.news-list-view .article .teaser-text p {
  color: #212E13;
  font-size: 1em;
  line-height: 1.8;
  padding-bottom: 8px;
  margin: 0;
}
.news-list-view .article .teaser-text ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px 0;
}
.news-list-view .article .teaser-text ul li {
  position: relative;
  padding-left: 20px;
  padding-bottom: 4px;
  color: #212E13;
  line-height: 1.8;
}
.news-list-view .article .teaser-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: #618739;
  border-radius: 50%;
}
.news-list-view .article .teaser-text a.more {
  display: inline-block;
  background: #618739;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  margin-top: 4px;
}
.news-list-view .article .teaser-text a.more::after {
  content: ' \203A';
  font-size: 1.3em;
  margin-left: 4px;
}
.news-list-view .article .teaser-text a.more:hover {
  background: #3a5a40;
}
.news-list-view .article .footer {
  display: none;
}

/* tx_news: stack header + teaser in one column */
.news-list-view .article {
  flex-wrap: wrap;
}
.news-list-view .article .news-img-wrap {
  flex: 0 0 35%;
}
.news-list-view .article .header,
.news-list-view .article .teaser-text {
  flex: 1 1 0;
  min-width: 0;
}
/* header and teaser should stack vertically in the text column */
.news-list-view .article {
  display: grid;
  grid-template-columns: 35% 1fr;
  grid-template-rows: auto 1fr;
  gap: 0 20px;
}
.news-list-view .article .news-img-wrap {
  grid-column: 1;
  grid-row: 1 / -1;
  order: unset;
  width: auto;
}
.news-list-view .article .header {
  grid-column: 2;
  grid-row: 1;
  order: unset;
}
.news-list-view .article .teaser-text {
  grid-column: 2;
  grid-row: 2;
  order: unset;
}
.news-list-view .article .footer {
  grid-column: 2;
  grid-row: 3;
}

/* tx_news mobile: stack vertically */
@media (max-width: 759px) {
  .news-list-view .article {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .news-list-view .article .news-img-wrap {
    width: 100%;
  }
  .news-list-view .article .header,
  .news-list-view .article .teaser-text {
    width: 100%;
  }
}

/* ═══════════════════════════════════════
   tx_news Detail View (news-single)
   ═══════════════════════════════════════ */
.news-single .article .header h1,
.news-single .article .header h2 {
  color: #618739;
  font-weight: 300;
  font-size: 1.6em;
  line-height: 1.3;
  margin: 0;
  padding: 0 0 20px 0;
}
.news-single .article .teaser-text {
  padding-bottom: 16px;
}
.news-single .article .footer {
  display: none;
}
.news-single .article {
  display: flex;
  flex-direction: column;
}
.news-single .article .news-img-wrap {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.news-single .article .news-img-wrap .outer {
  flex: 1;
  min-width: 0;
}
.news-single .article .news-img-wrap .mediaelement-image {
  margin: 0;
}
.news-single .article .news-img-wrap .mediaelement-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  cursor: pointer;
  transition: opacity 0.2s;
}
.news-single .article .news-img-wrap .mediaelement-image img:hover {
  opacity: 0.9;
}
@media (max-width: 559px) {
  .news-single .article .news-img-wrap {
    flex-direction: column;
  }
}
.news-single .article .news-text-wrap {
  line-height: 1.8;
  color: #212E13;
  margin-top: 10px;
}
.news-single .article .news-text-wrap p {
  font-size: 1em;
  padding-bottom: 12px;
  margin: 0;
}
.news-single .article .news-text-wrap a {
  color: #618739;
  text-decoration: none;
}
.news-single .article .news-text-wrap a:hover {
  text-decoration: underline;
  color: #3a5a40;
}
.news-single .article .news-text-wrap ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}
.news-single .article .news-text-wrap ul li {
  position: relative;
  padding-left: 20px;
  padding-bottom: 6px;
  color: #212E13;
  line-height: 1.8;
}
.news-single .article .news-text-wrap ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: #618739;
  border-radius: 50%;
}
.news-single .article .news-text-wrap ol {
  list-style: none;
  padding: 0;
  counter-reset: ol-counter;
  margin: 0 0 16px 0;
  color: #212E13;
}
.news-single .article .news-text-wrap ol li {
  position: relative;
  padding-left: 32px;
  padding-bottom: 6px;
  line-height: 1.8;
  counter-increment: ol-counter;
}
.news-single .article .news-text-wrap ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 22px;
  height: 22px;
  background: #618739;
  color: #fff;
  border-radius: 50%;
  font-size: 0.75em;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.news-single .article .news-backlink-wrap {
  padding-top: 16px;
  order: 99;
}
.news-single .article .news-backlink-wrap a {
  display: inline-block;
  background: #618739;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}
.news-single .article .news-backlink-wrap a::before {
  content: '\2039 ';
  font-size: 1.3em;
  margin-right: 4px;
}
.news-single .article .news-backlink-wrap a:hover {
  background: #3a5a40;
}
.news-single .article .news-related-wrap:empty {
  display: none;
}
.news-single .article .news-related-wrap h4 {
  display: none;
}
.news-single .article .news-related-wrap .news-related-files-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.news-single .article .news-related-wrap .news-related-files-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e0d6c8;
}
.news-single .article .news-related-wrap .news-related-files-list li:last-child {
  border-bottom: none;
}
.news-single .article .news-related-wrap a {
  color: #618739;
  text-decoration: none;
  font-weight: 600;
}
.news-single .article .news-related-wrap a:hover {
  text-decoration: underline;
  color: #3a5a40;
}
.news-single .article .news-related-wrap .news-related-files-size {
  color: rgba(33, 46, 19, 0.5);
  font-size: 0.85em;
  white-space: nowrap;
}
