/**
 * @file ejbo.css
 * Site-spezifische Overrides für ejbo.
 *
 * Wird global geladen, aber bewusst als letzte Datei im theme-Layer (siehe
 * x10_summertheme.libraries.yml) – dadurch greift sie in der Kaskade NACH den
 * Komponenten-Styles und kann diese gezielt überschreiben, ohne die
 * Basis-Tokens/Komponenten anzufassen.
 *
 * Konventionen wie im übrigen Theme: mobile-first und Design-Tokens nutzen
 * (var(--color-*), var(--space-*) …) statt Hartwerte.
 */


 div#block-x10-summertheme-views-block-news-block-1 {
    background-color: var(--color-white);
    padding: var(--space-md);
    color: var(--color-primary);
    border-radius: var(--radius-md);
}

.block__title {
    text-transform: uppercase;
}

.news-teaser__title a {
    color: var(--color-primary);
    text-decoration: none;
}

body {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.site-header {
    background-color: var(--color-highlight);
}

.menu__link {
    color: var(--color-white);
    text-transform: uppercase;
    font-size: 2rem;
}
/* ========================================================================
   EJBO-Footer (Block-Inhalt, weißer Hintergrund)
   ======================================================================== */
.ejbo-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  background: var(--color-white);
  color: var(--color-text);
}

.ejbo-footer__logo {
  display: inline-block;
  line-height: 0;
}

.ejbo-footer__logo img {
  width: 250px;
  height: auto;
}

.ejbo-footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2xs) var(--space-lg);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ejbo-footer__nav a {
  color: var(--color-text);
  font-weight: 600;
  text-decoration: none;
}

.ejbo-footer__nav a:hover,
.ejbo-footer__nav a:focus-visible {
  color: var(--color-primary);
  text-decoration: underline;
}

.ejbo-footer__orgs {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
  margin: 0;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.ejbo-footer__orgs a {
  color: inherit;
}

/* Ab Tablet: die beiden Organisations-Links nebeneinander. */
@media (min-width: 768px) {
  .ejbo-footer__orgs {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2xs) var(--space-lg);
  }
}

.page-node-214 h1.node__title {
  display: none;
}

.view__filters {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}
/* ========================================================================
   Campregeln – Übersicht als Kartenraster
   ======================================================================== */
.campregeln {
  max-width: var(--layout-width);
  margin-inline: auto;
}

.campregeln__lead {
  max-width: 55ch;
  margin: 0 auto var(--space-xl);
  font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.4rem);
  line-height: 1.5;
  font-weight: 600;
  text-align: center;
}

.campregeln__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: start;
}

@media (min-width: 768px) {
  .campregeln__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

.campregeln__card {
  padding: var(--space-lg);
  background: var(--color-white);
  color: var(--color-text);
  border-radius: var(--radius-md);
  /* Farbiger Streifen oben als inset box-shadow – folgt der border-radius-Kurve
     an allen Ecken sauber, ohne position:relative, ::before oder overflow. */
  box-shadow: var(--shadow-md), inset 0 6px 0 var(--color-primary);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.campregeln__card:hover {
  transform: translateY(-2px);
}

.campregeln__title {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin: 0 0 var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--font-size-h3);
  line-height: 1.2;
  color: var(--color-primary);
}

/* Runde Nummern-Plakette in Akzentfarbe. */
.campregeln__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}

/* Bullet-Liste mit primärem Chevron. */
.campregeln__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.campregeln__list > li {
  position: relative;
  margin-bottom: var(--space-2xs);
  padding-left: 1.4rem;
  line-height: 1.45;
}

.campregeln__list > li::before {
  content: "❯";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--color-primary);
  font-weight: 800;
  line-height: 1.45;
}

.campregeln__list > li:last-child {
  margin-bottom: 0;
}

/* Verschachtelte Unterpunkte mit dezentem Akzent-Bullet. */
.campregeln__list ul {
  list-style: none;
  margin: var(--space-2xs) 0 0;
  padding: 0;
}

.campregeln__list ul > li {
  position: relative;
  margin-bottom: var(--space-3xs);
  padding-left: 1.25rem;
}

.campregeln__list ul > li::before {
  content: "▸";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.page-node-230 .node__title {
    text-align: center;
    /* color: var(--color-accent); */
}

.view__empty {
  color:black;
}

.news-full__teaser {
  color: white;
}