/* Grundlegende Stile für alle Infobars (längliche Infoboxen am Ende von Artikeln) */
.infobar {
    max-width: 400px;
    overflow: hidden;
    background-color: #f4f4f4; /* Fallback Basisgrau */
    display: flex;
    flex-direction: row;
    gap: 1.3rem;
    border-radius: 6px;
    padding: 0.8rem;
    margin-bottom: 1rem;
    color: #333; /* Fallback Basisgrau */}

.pagewide {
    padding: 0.25rem !important;
    max-width: 100% !important;}

.infobox-inline-text .head {
    line-height: 1; /* Zeilenhöhe Kopfzeile */
    flex: 0 0 100%; /* Kopfzeile nimmt die gesamte Zeile ein */
    font-size: 0.9rem;
    margin: 0 0 0.5rem 0;
}

.infobar-icon {
    max-width: 50px;
    max-height: 50px;
    margin: auto 0;
    display: flex;
    flex-shrink: 0 !important;}

.infobar-icon img {
    max-width: 100%; 
    max-height: 100%;}

.infobar-text {
    display: flex;
    flex-wrap: wrap; /* Erlaubt Elementen, in die nächste Zeile zu gehen, wenn nicht genug Platz vorhanden ist */
    align-items: center;
    gap: 0.2rem; /* Definiert sowohl row-gap als auch column-gap */
    width: 100%;
    padding: 0;
    margin: 0;
    color: inherit;}

.infobar-text .head {
    line-height: 1;
    flex: 0 0 100%; /* Kopf nimmt immer seine eigene Zeile einnimmt */ 
    font-size: 0.9rem;}

.solo {
    line-height: 1.4 !important;}

.inline {
    flex-basis: max-content !important;}

.infobar-text .item {
    line-height: 1.3;
    display: inline-block;
    align-items: center;
    height: max-content;
    padding: 0.05rem 0.8rem;
    background-color: #fff; /* Fallback Hintergrund der Pillen */
    border-radius: 12px;
    font-size: 0.75rem;}

.boxless {
    flex-basis: 100% !important;
    height: max-content !important;
    display: inline-block !important;
    padding: 0.05em 0 !important;
    background-color: inherit !important;
    border-radius: 0 !important;}

.infobar-text .head + .boxless.item {
    margin-top: -0.4em; /* Negativer margin-top, um den row-gap des ersten Items unter head zu entfernen */}

.shapeless {
    padding: 0.05em 1em 0.05em 0 !important;
    background-color: inherit !important; /* Hintergrundfarbe der Pillen-Items leeren */
    border-radius: 0 !important;}

.infobar-img {
    flex-shrink: 0;
    padding: 0;
    align-self: center;}

.infobar-img img {
    box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.15);
    max-width: 50px !important;
    max-height: 50px !important;
    border-radius: 6px;
    object-fit: cover;}

/* Media Query für Bildschirme kleiner als 440px */
@media (max-width: 500px) {
.infobar {
    overflow: scroll;
    gap: 1em;
    max-width: 100% !important;}

.infobar-text {
    min-width: 215px;}
}