/* HFW-fresh-b: Seitengruppe b (Agent) - Jugend, Buergerinfo, Aktuelles, Rechtliches, Suche, Sitemap
   Seiten (itemid): 675 Eltern, 676 Jugend-Kontakt, 677 Rettungsgasse, 678 Sirenen, 679 Rauchmelder, 680 Notruf,
   1016 Verhalten Brandfall, 1256 Beitritt, 666 Berichte (Blog + Beitraege), 937 Jahresberichte, 665 Veranstaltungen,
   1170 Mitglieder, 831 Datenschutz, 569 Impressum, 580 Hilfe, 575 Suche, 571 Sitemap */

/* ===== 1. Artikelseiten: Typografie ===== */
body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) #sp-main-body,
body:is(.itemid-575,.itemid-571,.itemid-1170,.itemid-665) #sp-main-body { padding: 48px 0 64px; }

body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) .item-page .entry-header { margin: 0 0 26px; }
body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) .item-page .entry-header h2,
body.itemid-665 #jevents h2.contentheading,
body.itemid-571 #sp-component > .sp-column > h1,
body.itemid-575 .finder > h1 {
  font-size: 34px; line-height: 1.2; font-weight: 700; color: #1f272c; letter-spacing: -.01em; margin: 0;
}
body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) .item-page .entry-header h2::after,
body.itemid-665 #jevents h2.contentheading::after {
  content: ""; display: block; width: 56px; height: 4px; background: #c00d0e; border-radius: 2px; margin-top: 14px;
}

body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) [itemprop="articleBody"] {
  font-size: 16px; line-height: 1.7; color: #2b3338;
}
body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) [itemprop="articleBody"] :is(p, li) {
  font-size: 16px !important; line-height: 1.7 !important; color: #2b3338;
}
body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) [itemprop="articleBody"] p { margin: 0 0 14px; }
body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) [itemprop="articleBody"] strong { color: #1f272c; }
body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) [itemprop="articleBody"] :is(h2, h3) {
  font-size: 22px; line-height: 1.3; font-weight: 700; color: #1f272c;
  margin: 32px 0 12px; padding-left: 14px; border-left: 4px solid #c00d0e;
}
body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) [itemprop="articleBody"] > :is(h2, h3):first-child { margin-top: 0; }
body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) [itemprop="articleBody"] h4 {
  font-size: 18px; line-height: 1.35; font-weight: 700; color: #1f272c; margin: 24px 0 8px;
}
/* Hinweis-Ueberschrift (z. B. Rauchmelder h5) als Infokasten */
body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) [itemprop="articleBody"] :is(h5, h6) {
  font-size: 15px; line-height: 1.6; font-weight: 600; color: #1f272c; background: #f5f6f7;
  border-left: 4px solid #c00d0e; border-radius: 0 8px 8px 0; padding: 14px 18px; margin: 20px 0;
}
/* Links */
body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) [itemprop="articleBody"] a:not(.btn) {
  color: #c00d0e; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere;
}
body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) [itemprop="articleBody"] a:not(.btn):hover { color: #a30b0c; }
/* Listen mit roten Punkten */
body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) [itemprop="articleBody"] ul {
  list-style: none; padding-left: 0; margin: 0 0 18px;
}
body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) [itemprop="articleBody"] ul > li {
  position: relative; padding-left: 24px; margin: 0 0 6px;
}
body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) [itemprop="articleBody"] ul > li::before {
  content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: #c00d0e;
}
body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) [itemprop="articleBody"] ol { padding-left: 22px; }
body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) [itemprop="articleBody"] ol > li::marker { color: #c00d0e; font-weight: 700; }

/* Bilder, Galerie, Video */
body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) #sp-main-body .item-page .entry-image.pull-left { float: none !important; margin: 0 0 28px; }
body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) .item-page .entry-image img,
body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) [itemprop="articleBody"] img {
  max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) .item-page .entry-gallery,
body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) .item-page .entry-video {
  border-radius: 10px; overflow: hidden; box-shadow: 0 6px 22px rgba(0,0,0,.14); margin: 0 0 30px;
}
body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) .item-page .entry-gallery .carousel-item img { display: block; width: 100%; height: auto; }
.item-page .entry-gallery :is(.carousel-control-prev, .carousel-control-next),
.blog .entry-gallery :is(.carousel-control-prev, .carousel-control-next) {
  width: 42px !important; height: 42px !important; top: 50% !important; bottom: auto !important; transform: translateY(-50%);
  margin: 0 12px !important; border-radius: 50% !important; background: rgba(31,39,44,.55) !important; opacity: 1 !important;
  display: flex !important; align-items: center; justify-content: center; color: #fff !important; font-size: 22px; transition: background .15s;
}
.item-page .entry-gallery :is(.carousel-control-prev, .carousel-control-next):hover,
.blog .entry-gallery :is(.carousel-control-prev, .carousel-control-next):hover { background: #c00d0e !important; }
body.view-article.itemid-666 .item-page .entry-gallery .carousel-item img { max-height: 640px; object-fit: cover; }

/* Eltern-Seite: Logo-Grafik neben den Text statt seitenfuellend */
body.view-article.itemid-675 #sp-main-body .item-page .entry-image.pull-left { float: right !important; width: 38%; max-width: 420px; margin: 0 0 20px 40px; }
body.view-article.itemid-675 .item-page .entry-image img { box-shadow: none; }
body.view-article.itemid-675 [itemprop="articleBody"] p:first-child { font-size: 19px !important; font-weight: 600; color: #1f272c; }
body.view-article.itemid-675 .article-footer-wrap { clear: both; }

/* Notrufnummern: Zahlen hervorheben */
body.view-article.itemid-680 [itemprop="articleBody"] h3:first-child + p {
  background: #f5f6f7; border-left: 4px solid #c00d0e; border-radius: 0 10px 10px 0; padding: 16px 22px; line-height: 2 !important;
}
body.view-article.itemid-680 [itemprop="articleBody"] h3:first-child + p strong { color: #c00d0e; font-size: 17px; }

/* Beitritt: Einleitung groesser */
body.view-article.itemid-1256 [itemprop="articleBody"] > p:first-child { font-size: 19px !important; color: #1f272c; }

/* Impressum: Adressbloecke als Faktenkarten */
body.view-article.itemid-569 [itemprop="articleBody"] > .row { row-gap: 14px; margin-bottom: 26px; }
body.view-article.itemid-569 [itemprop="articleBody"] > .row > div > p {
  background: #f5f6f7; border-left: 4px solid #c00d0e; border-radius: 0 10px 10px 0; padding: 16px 20px; margin: 0; height: 100%;
}
body.view-article:is(.itemid-569,.itemid-831,.itemid-580) .item-page .entry-header h2 { font-size: 30px; }

/* ===== 2. Blog "Berichte aus der Wache" (Liste) ===== */
body.view-category.itemid-666 .blog .article-list > .row { row-gap: 28px; margin-bottom: 28px; }
body.view-category.itemid-666 .blog .article-list > .row > [class*="col-"] { display: flex; }
body.view-category.itemid-666 .blog article.item {
  flex: 1 1 auto; display: flex; flex-direction: column; background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.08); transition: box-shadow .2s, transform .2s; margin: 0 !important; width: 100%;
}
body.view-category.itemid-666 .blog article.item:hover { box-shadow: 0 10px 26px rgba(0,0,0,.16); transform: translateY(-2px); }
body.view-category.itemid-666 .blog article.item > .system-unpublished { background: none !important; border: 0 !important; padding: 0 !important; display: flex; flex-direction: column; flex: 1 1 auto; }
body.view-category.itemid-666 .blog .entry-image.intro-image { margin: 0 !important; float: none !important; width: 100%; }
body.view-category.itemid-666 .blog .entry-image.intro-image a { display: block; }
body.view-category.itemid-666 .blog .entry-image.intro-image :is(figure, figure.hfw-caption) { display: block; margin: 0; }
body.view-category.itemid-666 .blog .entry-image.intro-image img,
body.view-category.itemid-666 .blog .entry-gallery .carousel-item img {
  display: block; width: 100% !important; height: 230px !important; object-fit: cover; border-radius: 0; margin: 0;
}
body.view-category.itemid-666 .blog .entry-image.intro-image img { object-position: center top; }
body.view-category.itemid-666 .blog .entry-image.intro-image figure .img_caption { font-size: 12px; color: #6b7378; padding: 6px 22px 0; margin: 0; }
body.view-category.itemid-666 .blog .entry-gallery { margin: 0 !important; }
body.view-category.itemid-666 .blog .blog-info-wrapper { background: #fff !important; padding: 20px 22px 22px !important; border: 0 !important; margin: 0 !important; flex: 1 1 auto; }
body.view-category.itemid-666 .blog .entry-header { margin: 0 0 12px; padding: 0; }
body.view-category.itemid-666 .blog .entry-header h2 { font-size: 19px !important; line-height: 1.3 !important; font-weight: 700; margin: 0; }
body.view-category.itemid-666 .blog .entry-header h2 a { color: #1f272c; text-decoration: none; }
body.view-category.itemid-666 .blog .entry-header h2 a:hover { color: #c00d0e; }
body.view-category.itemid-666 .blog .blog-info-wrapper p { font-size: 14.5px !important; line-height: 1.65 !important; color: #4a5358; margin: 0 0 10px; }
body.view-category.itemid-666 .blog .blog-info-wrapper p strong { font-weight: 600; color: #2b3338; }
body.view-category.itemid-666 .blog .blog-info-wrapper img { max-width: 100%; height: auto; border-radius: 6px; }
body.view-category.itemid-666 .blog .readmore .btn,
body.view-category.itemid-666 .blog a.readmore {
  display: inline-block; border: 2px solid #c00d0e; color: #c00d0e; background: #fff; border-radius: 999px;
  padding: 7px 18px; font-size: 14px; font-weight: 600; text-decoration: none;
}
body.view-category.itemid-666 .blog .readmore .btn:hover { background: #c00d0e; color: #fff; }
/* weitere Beitraege */
body.view-category.itemid-666 .blog .items-more { background: #f5f6f7; border-radius: 10px; padding: 22px 26px; margin: 10px 0 30px; }
body.view-category.itemid-666 .blog .items-more h3,
body.view-category.itemid-666 .blog .items-more .h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #6b7378; margin: 0 0 10px; }
body.view-category.itemid-666 .blog .items-more ol { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 34px; }
body.view-category.itemid-666 .blog .items-more li { break-inside: avoid; border-bottom: 1px solid #e3e6e8; }
body.view-category.itemid-666 .blog .items-more li a { display: block; padding: 9px 0 9px 18px; position: relative; color: #2b3338; font-size: 15px; line-height: 1.45; text-decoration: none; }
body.view-category.itemid-666 .blog .items-more li a::before { content: "\203A"; position: absolute; left: 2px; top: 7px; color: #c00d0e; font-weight: 700; font-size: 18px; line-height: 1.2; }
body.view-category.itemid-666 .blog .items-more li a:hover { color: #c00d0e; }

/* ===== 3. Pagination (Blog, Suche, Mitglieder) ===== */
body:is(.itemid-666,.itemid-575,.itemid-1170) .pagination-wrapper { display: flex; justify-content: center; }
body:is(.itemid-666,.itemid-575,.itemid-1170) ul.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 10px 0 24px !important; padding: 0; }
body:is(.itemid-666,.itemid-575,.itemid-1170) ul.pagination > li { margin: 0; }
body:is(.itemid-666,.itemid-575,.itemid-1170) ul.pagination > li:not(:has(.page-link)) { display: none; }
body:is(.itemid-666,.itemid-575,.itemid-1170) ul.pagination .page-item > li:not(:has(.page-link)) { display: none; }
body:is(.itemid-666,.itemid-575,.itemid-1170) ul.pagination .page-link {
  min-width: 40px; height: 40px; padding: 0 12px !important; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #d5dadd !important; border-radius: 999px !important; background: #fff !important; color: #2b3338 !important;
  font-size: 14px; font-weight: 600; margin: 0 !important; box-shadow: none !important; transition: background .15s, color .15s, border-color .15s;
}
body:is(.itemid-666,.itemid-575,.itemid-1170) ul.pagination a.page-link:hover { border-color: #c00d0e !important; color: #c00d0e !important; }
body:is(.itemid-666,.itemid-575,.itemid-1170) ul.pagination .active > .page-link,
body:is(.itemid-666,.itemid-575,.itemid-1170) ul.pagination .page-link[aria-current] { background: #c00d0e !important; border-color: #c00d0e !important; color: #fff !important; }
body:is(.itemid-666,.itemid-575,.itemid-1170) ul.pagination .disabled > span.page-link:not([aria-current]) { color: #b9c0c4 !important; background: #f5f6f7 !important; }
body:is(.itemid-666,.itemid-575,.itemid-1170) .pagination ul.pagination li > li { display: contents; }

/* ===== 4. Jahresberichte (Download-Kacheln) ===== */
body.view-article.itemid-937 [itemprop="articleBody"] .hfw-sc-row { row-gap: 30px; }
body.view-article.itemid-937 [itemprop="articleBody"] .hfw-sc-row > p:empty { display: none; }
body.view-article.itemid-937 [itemprop="articleBody"] .hfw-sc-col { display: flex; flex-direction: column; }
body.view-article.itemid-937 [itemprop="articleBody"] .hfw-sc-col > p { margin: 0; display: contents; }
body.view-article.itemid-937 [itemprop="articleBody"] .hfw-sc-col img {
  display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.1);
  transition: box-shadow .2s, transform .2s; margin: 0 0 14px;
}
body.view-article.itemid-937 [itemprop="articleBody"] .hfw-sc-col:hover img { box-shadow: 0 10px 26px rgba(0,0,0,.18); transform: translateY(-2px); }
body.view-article.itemid-937 [itemprop="articleBody"] .hfw-sc-download { margin-top: auto; }
body.view-article.itemid-937 [itemprop="articleBody"] a.btn.hfw-sc-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  background: #fff !important; color: #c00d0e !important; border: 2px solid #c00d0e !important; border-radius: 999px !important;
  padding: 8px 14px !important; font-size: 14px !important; font-weight: 600; line-height: 1.3 !important; height: auto !important;
  white-space: normal; text-align: center; text-transform: none; box-shadow: none !important; transition: background .15s, color .15s;
}
body.view-article.itemid-937 [itemprop="articleBody"] a.btn.hfw-sc-btn:hover { background: #c00d0e !important; color: #fff !important; }
body.view-article.itemid-937 [itemprop="articleBody"] .hfw-sc-spacer { height: 30px !important; }

/* ===== 5. Veranstaltungen (JEvents Detail) ===== */
body.itemid-665 #jevents { font-size: 16px; color: #2b3338; }
body.itemid-665 #jevents #jevents_header { display: flex; align-items: flex-start; justify-content: space-between; margin: 0 0 26px; }
body.itemid-665 #jevents #jevents_header ul.actions { list-style: none; margin: 0; padding: 0; }
body.itemid-665 #jevents #jevents_header ul.actions a {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid #d5dadd; color: #6b7378; text-decoration: none;
}
body.itemid-665 #jevents #jevents_header ul.actions a:hover { border-color: #c00d0e; color: #c00d0e; }
body.itemid-665 #jevents .jev_evdt {
  background: #fff !important; border: 0 !important; border-radius: 10px !important; box-shadow: 0 2px 10px rgba(0,0,0,.08) !important;
  padding: 28px 30px !important; margin: 0 0 20px;
}
body.itemid-665 #jevents .jev_evdt_title { font-size: 26px !important; line-height: 1.25; font-weight: 700; color: #1f272c; margin: 0 0 16px; }
body.itemid-665 #jevents .jev_eventdetails_body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 30px; }
body.itemid-665 #jevents .jev_eventdetails_body > div { grid-column: 1 / -1; }
body.itemid-665 #jevents .jev_evdt_summary {
  grid-column: 1 / 2 !important; background: #f5f6f7; border-left: 4px solid #c00d0e; border-radius: 0 8px 8px 0;
  padding: 12px 16px; font-weight: 700; color: #1f272c; font-size: 16px; margin: 0 0 12px;
}
body.itemid-665 #jevents .jev_evdt_summary::before,
body.itemid-665 #jevents .jev_evdt_location .location { display: block; color: #6b7378; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
body.itemid-665 #jevents .jev_evdt_summary::before { content: "Termin"; margin-bottom: 2px; }
body.itemid-665 #jevents .jev_evdt_hits { grid-column: 2 / 3 !important; align-self: start; text-align: right; color: #6b7378; font-size: 13px; float: none !important; padding-top: 4px; }
body.itemid-665 #jevents .jev_evdt_creator { color: #6b7378; font-size: 13px; margin: 0 0 16px; }
body.itemid-665 #jevents .jev_evdt_creator a { color: #c00d0e; }
body.itemid-665 #jevents .jev_evdt_contact:has(.contact:empty) { display: none; }
body.itemid-665 #jevents .jev_evdt_desc img { max-width: 100%; height: auto !important; border-radius: 8px; box-shadow: 0 6px 22px rgba(0,0,0,.14); }
body.itemid-665 #jevents .jev_evdt_desc p { margin: 0 0 18px; }
body.itemid-665 #jevents .jev_evdt_location {
  background: #f5f6f7; border-left: 4px solid #c00d0e; border-radius: 0 8px 8px 0; padding: 12px 16px; font-weight: 700; color: #1f272c; margin: 0 0 14px;
}
body.itemid-665 #jevents .jev_evdt_extrainf { line-height: 1.7; color: #2b3338; }

/* ===== 6. Mitglieder (oeffentliche Ansicht) ===== */
body.itemid-1170 #mitgliedList { border-collapse: separate; border-spacing: 0; font-size: 15px; margin-top: 8px; }
body.itemid-1170 #mitgliedList > :not(caption) > * > * { background: #fff !important; box-shadow: none !important; }
body.itemid-1170 #mitgliedList thead th {
  border: 0 !important; border-bottom: 2px solid #c00d0e !important; color: #6b7378 !important; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; padding: 10px 12px !important;
}
body.itemid-1170 #mitgliedList tbody td { border: 0 !important; border-bottom: 1px solid #eceff1 !important; padding: 14px 12px !important; vertical-align: middle; }
body.itemid-1170 #mitgliedList tbody tr:hover > td { background: #fff6f6 !important; }
body.itemid-1170 #mitgliedList tbody img { border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
body.itemid-1170 #mitgliedList tfoot td { border: 0 !important; padding: 18px 0 0 !important; }
body.itemid-1170 #mitgliedList .limit { display: flex; align-items: center; gap: 8px; color: #6b7378; font-size: 14px; }
body.itemid-1170 #mitgliedList .limit select { height: 40px; width: auto; border: 1px solid #d5dadd; border-radius: 8px; padding: 0 32px 0 12px; font-size: 14px; }

/* ===== 7. Suche (Smart Search) ===== */
body.itemid-575 .finder { max-width: 860px; }
body.itemid-575 .finder #search-form { background: #f5f6f7; border-radius: 10px; padding: 22px 24px 8px; margin: 0 0 26px; }
body.itemid-575 .finder #search-form .form-label { color: #6b7378; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
body.itemid-575 .finder #search-form .input-group { flex-wrap: nowrap; }
body.itemid-575 .finder #search-form input.form-control {
  height: 48px !important; border: 1px solid #d5dadd !important; border-right: 0 !important; border-radius: 999px 0 0 999px !important;
  padding: 0 20px !important; font-size: 16px !important; box-shadow: none !important; background: #fff;
}
body.itemid-575 .finder #search-form input.form-control:focus { border-color: #c00d0e !important; }
body.itemid-575 .finder #search-form .btn {
  height: 48px !important; border-radius: 0 999px 999px 0 !important; background: #c00d0e !important; border: 1px solid #c00d0e !important;
  color: #fff !important; padding: 0 22px !important; font-size: 14px !important; font-weight: 600; text-transform: none; display: inline-flex; align-items: center; gap: 8px; box-shadow: none !important;
}
body.itemid-575 .finder #search-form .btn:hover { background: #a30b0c !important; border-color: #a30b0c !important; }
body.itemid-575 .finder .awesomplete > ul { border-radius: 8px; box-shadow: 0 10px 26px rgba(0,0,0,.16); border: 0; }
body.itemid-575 .finder #search-query-explained { color: #6b7378; font-size: 14px; margin: 0 0 16px; }
body.itemid-575 .finder #search-query-explained .term { color: #1f272c; font-weight: 700; }
body.itemid-575 .finder #search-result-empty {
  background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.08); border-left: 4px solid #c00d0e; padding: 22px 26px;
}
body.itemid-575 .finder #search-result-empty h2 { font-size: 20px; font-weight: 700; color: #1f272c; margin: 0 0 6px; }
body.itemid-575 .finder #search-result-empty p { margin: 0; color: #4a5358; font-size: 15px; }
body.itemid-575 .finder :is(#search-result-list, .com-finder__results-list) { list-style: none; padding: 0; margin: 0 0 24px; }
body.itemid-575 .finder :is(#search-result-list, .com-finder__results-list) > li {
  background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.08); padding: 18px 22px; margin: 0 0 14px;
  transition: box-shadow .2s, transform .2s;
}
body.itemid-575 .finder :is(#search-result-list, .com-finder__results-list) > li:hover { box-shadow: 0 10px 26px rgba(0,0,0,.16); transform: translateY(-2px); }
body.itemid-575 .finder .result__title, body.itemid-575 .finder .result-title { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
body.itemid-575 .finder :is(.result__title, .result-title) a { color: #1f272c; text-decoration: none; }
body.itemid-575 .finder :is(.result__title, .result-title) a:hover { color: #c00d0e; }
body.itemid-575 .finder :is(.result__description, .result-text) { font-size: 15px; line-height: 1.65; color: #4a5358; margin: 0; }
body.itemid-575 .finder :is(.result__url, .result-url, .result__date, .result-date) { font-size: 12px; color: #6b7378; overflow-wrap: anywhere; }
body.itemid-575 .finder .search-pages-counter, body.itemid-575 .finder .com-finder__counter { color: #6b7378; font-size: 13px; text-align: center; }

/* ===== 8. Sitemap (OSMap) ===== */
body.itemid-571 #osmap { font-size: 15px; }
body.itemid-571 #osmap .osmap-items > h2 {
  background: #f5f6f7; border-left: 4px solid #c00d0e; border-radius: 0 6px 6px 0; padding: 10px 16px; margin: 30px 0 16px;
  font-size: 13px !important; line-height: 1.3; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #1f272c;
}
body.itemid-571 #osmap .osmap-items > h2:first-child { margin-top: 0; }
body.itemid-571 #osmap ul { list-style: none; margin: 0; padding: 0; }
body.itemid-571 #osmap ul.level_0 { display: block; columns: 4 220px; column-gap: 32px; }
body.itemid-571 #osmap ul.level_0 > li { margin: 0 0 10px; }
body.itemid-571 #osmap ul.level_0 > li > a { break-after: avoid; }
body.itemid-571 #osmap ul.level_0 > li > a { font-weight: 700; color: #1f272c; }
body.itemid-571 #osmap ul ul { margin: 4px 0 10px 4px; padding-left: 12px; border-left: 2px solid #eceff1; }
body.itemid-571 #osmap a.osmap-link { display: inline-block; padding: 4px 0; color: #2b3338; text-decoration: none; line-height: 1.4; overflow-wrap: anywhere; }
body.itemid-571 #osmap a.osmap-link:hover { color: #c00d0e; }
body.itemid-571 #osmap ul ul a.osmap-link { font-size: 14px; color: #4a5358; }

/* ===== 9. Page-Builder-Seiten: Verhalten im Brandfall (1016), Jugend-Kontakt (676) ===== */
body.itemid-1016 #sp-page-builder .sppb-section { padding: 48px 0 56px !important; }
body.itemid-1016 #sp-page-builder .sppb-addon-text-block .sppb-addon-content,
body.itemid-1016 #sp-page-builder .sppb-addon-text-block :is(p, li) { font-size: 16px !important; line-height: 1.7 !important; color: #2b3338; }
body.itemid-1016 #sp-page-builder .sppb-addon-text-block h3.sppb-addon-title {
  font-size: 22px !important; line-height: 1.3 !important; font-weight: 700; color: #1f272c; margin: 30px 0 12px !important; padding-left: 14px; border-left: 4px solid #c00d0e;
}
body.itemid-1016 #sp-page-builder #column-id-1568355958034 > .sppb-column-addons > .sppb-addon-wrapper:first-child > div > .sppb-addon > h3.sppb-addon-title {
  font-size: 34px !important; line-height: 1.2 !important; border-left: 0; padding-left: 0; margin: 0 0 22px !important;
}
body.itemid-1016 #sp-page-builder #column-id-1568355958034 > .sppb-column-addons > .sppb-addon-wrapper:first-child > div > .sppb-addon > h3.sppb-addon-title::after {
  content: ""; display: block; width: 56px; height: 4px; background: #c00d0e; border-radius: 2px; margin-top: 14px;
}
body.itemid-1016 #sp-page-builder .sppb-addon-text-block ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
body.itemid-1016 #sp-page-builder .sppb-addon-text-block ul > li {
  background: #f5f6f7; border-left: 4px solid #c00d0e; border-radius: 0 8px 8px 0; padding: 9px 14px; font-weight: 600; color: #1f272c; margin: 0;
}
body.itemid-1016 #sp-page-builder .sppb-gallery { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 !important; padding: 0; }
body.itemid-1016 #sp-page-builder .sppb-gallery > li { margin: 0 !important; padding: 0 !important; width: auto !important; float: none !important; }
body.itemid-1016 #sp-page-builder .sppb-gallery a { display: block; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.1); transition: box-shadow .2s, transform .2s; }
body.itemid-1016 #sp-page-builder .sppb-gallery a:hover { box-shadow: 0 10px 26px rgba(0,0,0,.18); transform: translateY(-2px); }
body.itemid-1016 #sp-page-builder .sppb-gallery img { display: block; width: 100% !important; height: auto !important; margin: 0 !important; }
body.itemid-1016 #sp-page-builder #column-id-1568355958035 { position: sticky; top: 100px; }

/* Jugend-Kontakt */
body.itemid-676 #sp-page-builder .mednet-contact-page { padding: 56px 0 60px !important; }
body.itemid-676 #sp-page-builder .mednet-contact-page h1.sppb-addon-title {
  font-size: 32px !important; line-height: 1.2 !important; font-weight: 700 !important; color: #1f272c !important; margin: 0 0 30px !important;
}
body.itemid-676 #sp-page-builder .mednet-contact-page h1.sppb-addon-title::after { content: ""; display: block; width: 56px; height: 4px; background: #c00d0e; border-radius: 2px; margin-top: 14px; }
body.itemid-676 #sp-page-builder .sppb-addon-feature .sppb-media {
  display: flex; align-items: flex-start; gap: 16px; background: #f5f6f7; border-left: 4px solid #c00d0e; border-radius: 0 10px 10px 0; padding: 16px 18px;
}
body.itemid-676 #sp-page-builder .sppb-addon-feature .sppb-media > .pull-left { float: none !important; margin: 0 !important; }
body.itemid-676 #sp-page-builder .sppb-addon-feature .sppb-icon-container {
  display: inline-flex !important; align-items: center; justify-content: center; width: 40px !important; height: 40px !important;
  border-radius: 50% !important; background: #fff !important; color: #c00d0e !important; font-size: 18px !important; box-shadow: 0 2px 8px rgba(0,0,0,.08); line-height: 1 !important; padding: 0 !important; margin: 0 !important;
}
body.itemid-676 #sp-page-builder .sppb-addon-feature .sppb-media-body { flex: 1 1 auto; min-width: 0; overflow: visible; }
body.itemid-676 #sp-page-builder .sppb-addon-feature .sppb-media-content .sppb-addon-text,
body.itemid-676 #sp-page-builder .sppb-addon-feature .sppb-media-content .sppb-addon-text p { color: #2b3338 !important; font-size: 16px !important; line-height: 1.6 !important; margin: 0 0 4px; }
body.itemid-676 #sp-page-builder .sppb-addon-feature .sppb-media-content a { color: #c00d0e; overflow-wrap: anywhere; }
body.itemid-676 #sp-page-builder .addon-root-empty-space .sppb-empty-space { height: 14px !important; }
body.itemid-676 #sp-page-builder .sppb-addon-social-share ul { margin: 0; padding: 0; list-style: none; }
body.itemid-676 #sp-page-builder .sppb-addon-social-share a {
  display: inline-flex !important; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50% !important;
  background: #fff !important; border: 2px solid #c00d0e !important; color: #c00d0e !important;
}
body.itemid-676 #sp-page-builder .sppb-addon-social-share a:hover { background: #c00d0e !important; color: #fff !important; }
body.itemid-676 #sp-page-builder .sppb-addon-social-share a i { color: inherit !important; }
body.itemid-676 #sp-page-builder .sppb-ajaxt-contact-form .sppb-form-group { margin-bottom: 14px; }
body.itemid-676 #sp-page-builder .sppb-ajaxt-contact-form .sppb-form-control {
  height: 44px !important; border: 1px solid #d5dadd !important; border-radius: 8px !important; padding: 0 14px !important;
  font-size: 15px !important; color: #2b3338; background: #fff !important; box-shadow: none !important; transition: border-color .15s, box-shadow .15s;
}
body.itemid-676 #sp-page-builder .sppb-ajaxt-contact-form textarea.sppb-form-control { height: 150px !important; padding: 12px 14px !important; line-height: 1.5; }
body.itemid-676 #sp-page-builder .sppb-ajaxt-contact-form .sppb-form-control:focus { border-color: #c00d0e !important; box-shadow: 0 0 0 3px rgba(192,13,14,.12) !important; outline: 0; }
body.itemid-676 #sp-page-builder .sppb-ajaxt-contact-form .sppb-form-control::placeholder { color: #8a9296; }
body.itemid-676 #sp-page-builder .sppb-ajaxt-contact-form .sppb-form-button .sppb-btn,
body.itemid-676 #sp-page-builder .sppb-ajaxt-contact-form button[type="submit"] {
  background: #c00d0e !important; border: 2px solid #c00d0e !important; color: #fff !important; border-radius: 999px !important;
  padding: 9px 26px !important; font-size: 14px !important; font-weight: 600 !important; letter-spacing: .02em; height: auto !important; line-height: 1.3 !important; box-shadow: none !important;
}
body.itemid-676 #sp-page-builder .sppb-ajaxt-contact-form .sppb-form-button .sppb-btn:hover,
body.itemid-676 #sp-page-builder .sppb-ajaxt-contact-form button[type="submit"]:hover { background: #a30b0c !important; border-color: #a30b0c !important; }

/* ===== 10. Handy ===== */
@media (max-width: 767px) {
  body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) #sp-main-body,
  body:is(.itemid-575,.itemid-571,.itemid-1170,.itemid-665) #sp-main-body { padding: 28px 0 40px; }
  body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) .item-page .entry-header h2,
  body.itemid-665 #jevents h2.contentheading { font-size: 26px !important; line-height: 1.2 !important; }
  body.view-article:is(.itemid-569,.itemid-831,.itemid-580) .item-page .entry-header h2 { font-size: 23px !important; }
  body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) [itemprop="articleBody"] :is(h2, h3) { font-size: 19px; margin-top: 26px; }
  body.view-article:is(.itemid-675,.itemid-677,.itemid-678,.itemid-679,.itemid-680,.itemid-1256,.itemid-666,.itemid-937,.itemid-831,.itemid-569,.itemid-580) [itemprop="articleBody"] :is(p, li) { font-size: 15.5px !important; }
  body.view-article.itemid-675 #sp-main-body .item-page .entry-image.pull-left { float: none !important; width: auto; max-width: 300px; margin: 0 auto 22px; }
  body.view-article.itemid-675 [itemprop="articleBody"] p:first-child,
  body.view-article.itemid-1256 [itemprop="articleBody"] > p:first-child { font-size: 17px !important; }
  body.view-category.itemid-666 .blog .entry-image.intro-image img,
  body.view-category.itemid-666 .blog .entry-gallery .carousel-item img { height: 200px !important; }
  body.view-category.itemid-666 .blog .items-more { padding: 18px; }
  body.view-category.itemid-666 .blog .items-more ol { columns: 1; }
  body:is(.itemid-666,.itemid-575,.itemid-1170) ul.pagination .page-link { min-width: 36px; height: 36px; padding: 0 10px !important; }
  body.view-article.itemid-937 [itemprop="articleBody"] a.btn.hfw-sc-btn { font-size: 12.5px !important; padding: 7px 8px !important; gap: 5px; }
  body.itemid-665 #jevents .jev_evdt { padding: 20px 18px !important; }
  body.itemid-665 #jevents .jev_evdt_title { font-size: 22px !important; }
  body.itemid-665 #jevents .jev_eventdetails_body { grid-template-columns: 1fr; }
  body.itemid-665 #jevents .jev_evdt_summary, body.itemid-665 #jevents .jev_evdt_hits { grid-column: 1 / -1 !important; text-align: left; }
  body.itemid-1170 #mitgliedList thead th:nth-child(2) { display: none; }
  body.itemid-575 .finder #search-form { padding: 18px 16px 4px; }
  body.itemid-575 .finder #search-form .btn { padding: 0 16px !important; }
  body.itemid-571 #osmap ul.level_0 { columns: 1; }
  body.itemid-1016 #sp-page-builder .sppb-section { padding: 28px 0 36px !important; }
  body.itemid-1016 #sp-page-builder #column-id-1568355958034 > .sppb-column-addons > .sppb-addon-wrapper:first-child > div > .sppb-addon > h3.sppb-addon-title { font-size: 26px !important; }
  body.itemid-1016 #sp-page-builder #column-id-1568355958035 { position: static; margin-top: 20px; }
  body.itemid-676 #sp-page-builder .mednet-contact-page { padding: 30px 0 36px !important; }
  body.itemid-676 #sp-page-builder .mednet-contact-page h1.sppb-addon-title { font-size: 26px !important; margin-bottom: 22px !important; }
  body.itemid-676 #sp-page-builder .sppb-col-sm-7 { margin-top: 26px; }
}

/* Feinschliff Veranstaltungen */
body.itemid-665 #jevents #jevents_body { border: 0 !important; background: none !important; padding: 0 !important; box-shadow: none !important; }
body.itemid-665 #jevents #jevents_header ul.actions .icon-print::before { content: "\f02f"; font-family: FontAwesome !important; font-style: normal; font-size: 15px; }
body.itemid-665 #jevents .jev_evdt_hits { justify-self: end; }
@media (max-width: 767px) { body.itemid-665 #jevents .jev_evdt_hits { justify-self: start; } }
body.itemid-1016 #sp-page-builder .sppb-gallery::before, body.itemid-1016 #sp-page-builder .sppb-gallery::after { content: none !important; display: none !important; }
body.itemid-575 .finder #search-form .input-group > .awesomplete { flex: 1 1 auto; min-width: 0; display: block; }
body.itemid-575 .finder #search-form .input-group > .awesomplete > input, body.itemid-575 .finder #search-form .input-group > input { width: 100% !important; flex: 1 1 auto; }
