/*---------------------
modul-typ-id: 12
Modultyp: Infobox
-----------------------*/

/* Desktop */


.lc-12-infobox {
    padding: calc(1* var(--lc-basis-innenabstand));
    background: #c1c1c17e;
    display: flex;
    flex-direction: row;

    align-items: center;

    gap: var(--lc-basis-gap);
}


.lc-12-infobox-texte {
    flex: 1;
    max-width: 500px;
}

.lc-12-infobox-texte h2 {
    margin: 0 0 20px 0;
}


.lc-12-infobox-text-desktop {
    margin: 0 auto;
    max-width: 100%;
    display: block;
    text-align: justify;
    font-size: var(--lc-p-size);
    font-weight: var(--lc-p-weight);

}



.lc-12-infobox-text-mobile {
    display: none;
    text-align: center;
}

.lc-12-infobox-bilder {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--lc-basis-gap);

}

.lc-12-infobox-bilder img {
    display: block;
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: contain;
}

.lc-12-infobox-bilder figure {
    margin: 0;
}


/* Mobile */

@media (max-width: 768px) and (orientation: portrait),
(orientation: landscape) and (max-height: 600px) {

    .lc-12-infobox {
        flex-direction: column;
    }

    .lc-12-infobox-texte {
        width: 100%;
        max-width: 510px;
    }

    .lc-12-infobox-texte h2,
    .lc-12-infobox-texte h3 {
        text-align: center;
    }


    .lc-12-infobox-text-desktop {
        display: none;
    }

    .lc-12-infobox-text-mobile {
        display: block;
        text-align: center;
        font-size: calc(1* var(--lc-p-size));
        font-weight: var(--lc-p-weight);
    }

    .lc-12-infobox-bilder {
        flex: none;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--lc-basis-gap);
    }

    .lc-12-infobox-bilder img {
        max-width: 100px;
    }

}