/* BSB Style Manager · Modul „Info-Banner bündig“
   Achtung: Selektor trifft jede Spalte mit genau diesen Klassen (aus der alten custom.css). */
/* --- Info-Banner Abstände entfernen ------------------------- */
/* Banner-Spalten haben unterschiedliche col-md-Werte (col-md-6 UND col-md-12).
   Daher Selektor ohne col-md-* — erfasst so ALLE drei Banner.
   Gemeinsame Klassen: col col-lg-4 col-xl-4 col-12 (per DevTools) */
.col.col-lg-4.col-xl-4.col-12 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* =============================================================
   FIX v3 — Info-Banner: volle Breite + Text bleibt weiß
   Selektor der Banner-Spalten (per DevTools): 
   div.col.col-lg-4.col-xl-4.col-12
   =============================================================
*/

/* --- 1) Restliche Lücken zwischen Bannern schließen --------- */
/* Column selbst: auch margin auf 0 (padding war schon 0) */
.col.col-lg-4.col-xl-4.col-12 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* Blaues Element / Portlet im Column auf volle Breite ziehen,
   horizontale Innen-/Außenabstände raus (Höhe bleibt erhalten) */
.col.col-lg-4.col-xl-4.col-12 > .opc-portlet,
.col.col-lg-4.col-xl-4.col-12 .opc-portlet,
.col.col-lg-4.col-xl-4.col-12 .bg-primary,
.col.col-lg-4.col-xl-4.col-12 [class*="bg-primary"],
.col.col-lg-4.col-xl-4.col-12 [style*="background-color"],
.col.col-lg-4.col-xl-4.col-12 [style*="rgb(0, 101, 174)"] {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* --- 2) Text in den Bannern bleibt IMMER weiß --------------- */
/* Nur Hover/Focus/Active werden überschrieben — Grundzustand bleibt
   unangetastet (funktioniert ja bereits). Deckt auch <span> im Link ab. */
.col.col-lg-4.col-xl-4.col-12 a:hover,
.col.col-lg-4.col-xl-4.col-12 a:focus,
.col.col-lg-4.col-xl-4.col-12 a:active,
.col.col-lg-4.col-xl-4.col-12 a:hover span,
.col.col-lg-4.col-xl-4.col-12 a:focus span,
.col.col-lg-4.col-xl-4.col-12 a:hover *,
.col.col-lg-4.col-xl-4.col-12 a:focus * {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* --- 3) Zusätzlich: Link IST das blaue Element (a.bg-primary) */
a.bg-primary:hover,
a.bg-primary:focus,
a[class*="bg-primary"]:hover,
a[class*="bg-primary"]:focus {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* --- 4) Ecken eckig statt rund (kleine weiße Dreiecke weg) -- */
/* Abgerundete Ecken erzeugen weiße Lücken wo die Banner aneinanderstoßen */
.col.col-lg-4.col-xl-4.col-12 > .opc-portlet,
.col.col-lg-4.col-xl-4.col-12 .opc-portlet,
.col.col-lg-4.col-xl-4.col-12 .bg-primary,
.col.col-lg-4.col-xl-4.col-12 [class*="bg-primary"],
.col.col-lg-4.col-xl-4.col-12 [style*="background-color"],
.col.col-lg-4.col-xl-4.col-12 [style*="rgb(0, 101, 174)"],
.col.col-lg-4.col-xl-4.col-12 a.bg-primary {
  border-radius: 0 !important;
}
