/* --------------------------------------------------------------
   FWGPress – Mobile Layout Optimierungen (bis 768px)
   Diese Datei enthält KEINE Menü-Styles!
   Menü-Styles stehen in mobile-menu.css
-------------------------------------------------------------- */

@media (max-width: 768px) {

    /* -------------------------------
       1) Container-Abstände
    --------------------------------*/
    .fwg-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 0 !important;
    }

    /* -------------------------------
       2) Header-Abstände
       (ersetzt .inside-header aus GP)
    --------------------------------*/
    .fwg-header {
        padding: 20px 20px;
    }

    /* -------------------------------
       3) Typografie
       (ersetzt entry-title, page-title, entry-content)
    --------------------------------*/
    body,
    p,
    .fwg-content {
        font-size: 15px;
        line-height: 1.8;
    }

    h1, h2, h3 {
        line-height: 1.3;
    }

    /* -------------------------------
       4) Abstand für H1 (falls nötig)
       Nur anwenden, wenn du wirklich ein H1 im Inhalt hast.
    --------------------------------*/
    .fwg-content h1 {
        margin-top: 40px;
    }

    /* -------------------------------
       5) Bilder
    --------------------------------*/
    img {
        max-width: 100%;
        height: auto;
    }

    /* -------------------------------
       6) Buttons
    --------------------------------*/
    button,
    .fwg-button,
    input[type="submit"] {
        padding: 10px 16px;
        font-size: 16px;
    }

    /* -------------------------------
       7) Tabellen (falls vorhanden)
    --------------------------------*/
    table {
        display: block;
        width: 100%;
        overflow-x: auto;
        border-spacing: 0;
    }

    /* -------------------------------
       8) Footer
    --------------------------------*/
    .fwg-footer {
        padding: 20px 16px;
        text-align: center;
    }

    .fwg-footer .fwg-footer-links {
        flex-direction: column;
        gap: 8px;
    }
}
