/**
 * community_cns – minimale Basisdarstellung (kein Bootstrap-/Barrio-Framework).
 * Erweiterungen nur kontrolliert innerhalb dieses Themes.
 */
.community-cns-page {
  box-sizing: border-box;
}

.community-cns-page *,
.community-cns-page *::before,
.community-cns-page *::after {
  box-sizing: inherit;
}

.community-cns-skip-link.visually-hidden.focusable:active,
.community-cns-skip-link.visually-hidden.focusable:focus,
.community-cns-skip-link.visually-hidden-focusable:focus,
.community-cns-skip-link.visually-hidden-focusable:focus-visible {
  position: static;
  width: auto;
  height: auto;
  clip: auto;
  overflow: visible;
}

/* Pager (Markup wie stable9, ohne Bootstrap-Grid) */
.community-cns-page .pager__items {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.community-cns-page .pager__item.is-active {
  font-weight: 600;
}

/* Status-Meldungen (data-drupal-messages) */
.community-cns-page [data-drupal-messages] > div {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--wdsb-border, #ccc);
}

.community-cns-page-top,
.community-cns-page-bottom {
  width: 100%;
}

/* Formulare (Core-Klassen wie stable9, nur Abstände) */
.community-cns-page .form-item {
  margin-bottom: 1rem;
}

.community-cns-page .form-item--error-message {
  margin-top: 0.35rem;
  color: var(--wdsb-error, #b00020);
}

.community-cns-page fieldset.form-wrapper {
  margin-bottom: 1rem;
  padding: 0;
  border: 1px solid var(--wdsb-border, #ccc);
}

.community-cns-page details {
  margin-bottom: 1rem;
}

/* Wartungsmodus (maintenance-page.html.twig) */
.community-cns-maintenance {
  max-width: 48rem;
  margin: 0 auto;
  padding: 1.5rem;
}

.community-cns-page .community-cns-view {
  margin-bottom: 1.5rem;
}

.community-cns-page .community-cns-taxonomy-term {
  margin-bottom: 1rem;
}
/*
########################################################
CNS-Fonts
########################################################
*/

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
  text-transform: none;
  text-overflow: ellipsis;
  text-wrap: wrap;
  text-shadow: none;
}

a {
  font-family: 'Roboto', sans-serif;
  color: var(--cns-link, #007bff);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
  text-transform: none;
  text-overflow: ellipsis;
  text-wrap: wrap;
  text-shadow: none;
}

a:hover {
  color: var(--cns-link-hover, #0056b3);
  text-decoration: underline;
}

a:visited {
  color: var(--cns-link-visited, #6c757d);
} 

p {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
  text-transform: none;
  text-overflow: ellipsis;
  text-wrap: wrap;
  text-shadow: none;
}

div {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
  text-transform: none;
  text-overflow: ellipsis;
  text-wrap: wrap;
  text-shadow: none;
}