/* Zeile mittig halten */
.team-center{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  flex-wrap:wrap;         /* mobil untereinander */
}

/* WPBakery-Floats neutralisieren */
.team-center > .vc_column_container,
.team-center > .wpb_column{
  float:none !important;
  padding:0 !important;
  margin:0 !important;
}

/* Inhalt an die innere Kante ausrichten -> kleiner Abstand zwischen Karten */
@media (min-width: 992px){
  .team-center .vc_col-sm-6 > .vc_column-inner{ display:flex; }
  .team-left  .vc_column-inner{ justify-content:flex-end; }   /* nach innen schieben */
  .team-right .vc_column-inner{ justify-content:flex-start; } /* nach innen schieben */
}

/* Karten-/Bildgrössen vereinheitlichen */
.team-center .wpb_text_column{ max-width: 340px; }
.team-center .wpb_text_column img{
  width:100%;
  height:420px;           /* bei Bedarf anpassen (z.B. 400–460px) */
  object-fit:cover;
  display:block;
  border-radius:8px;
}

/* kleine Textabstände */
.team-center .wpb_text_column p{ margin:6px 0; }
.only-desktop { display:block; }
.only-mobile { display:none; }

/* bis 992px = Tablet & Phone */
@media (max-width: 991.98px){
  .only-desktop { display:none !important; }
  .only-mobile { display:block !important; }
}
/* Copyright-Balken unten schwarz */
.footer-bottom,
.site-footer .copyright,
.copyright,
.footer-copyright,
.copyright-bar {
  background:#000 !important;
  border-top-color:#000 !important;
}
/* Copyright-Bereich schwarz machen */
.copyright,
div.copyright {
    background-color: #000000 !important;
}

/* Copyright-Bereich komplett schwarz */
div[class*="copyright"] {
    background-color: #000000 !important;
}

.copyright * {
    background-color: transparent !important;
}
/* Copyright-Bereich komplett schwarz */
.copyright {
    background-color: #000000 !important;
    background: #000000 !important;
}

/* Sicherstellen dass alle Varianten erwischt werden */
footer[class*="copyright"],
div[class*="copyright"],
section[class*="copyright"] {
    background-color: #000000 !important;
}
/* Essential Grid Mobile - Text kleiner ohne Umbruch */
@media only screen and (max-width: 768px) {
    .esg-entry-cover,
    .esg-overlay-title,
    .eg-minimal-light-old-element-0,
    .minimal-light .esg-content h3 {
        font-size: 9px !important;
        line-height: 1.2 !important;
        letter-spacing: -0.3px !important;
        white-space: nowrap !important;
        word-break: normal !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        padding: 8px 5px !important;
    }
}

@media only screen and (max-width: 480px) {
    .esg-overlay-title,
    .eg-minimal-light-old-element-0 {
        font-size: 8px !important;
        letter-spacing: -0.5px !important;
    }
}