/*
Theme Name: Morse-Politikforum Theme
Author: Morse-Politikforum
Description: Lightweight full-width WordPress shell for the Morse-Politikforum Berlin plugin. The plugin owns website modules, navigation, articles, newsletters, membership and research layouts.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: morse-politikforum-theme
*/

/* Match the embedded Forum module font stack; no external font requests. */
:root { --mpfb-theme-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
html, body { margin: 0; padding: 0; }
body { min-height: 100vh; font-family: var(--mpfb-theme-font); }
button, input, select, textarea { font-family: inherit; }

.mpfb-theme-content,
.mpfb-theme-header-shell,
.mpfb-theme-footer-shell {
    box-sizing: border-box;
    width: 100%; max-width: none;
    margin: 0; padding: 0; border: 0;
}
.mpfb-theme-content, .mpfb-theme-footer-shell { display: flow-root; }
/* The plugin's sticky header needs the document as its containing block.
 * Its standard module wrapper is layout-neutral here; plugin visibility
 * settings use !important and continue to take precedence. */
.mpfb-theme-header-shell,
.mpfb-theme-header-shell > .mmf-module-shell-command-header { display: contents; }
.mpfb-theme-content > :first-child { margin-top: 0; }
.mpfb-theme-content > :last-child { margin-bottom: 0; }
/* Do not override the plugin header/footer padding, widths or animation. */

.mpfb-theme-fallback, .mpfb-theme-archive-fallback {
    box-sizing: border-box; width: min(100% - 32px, 1100px);
    margin: 48px auto; padding: clamp(16px, 3vw, 32px);
    color: #17283d; overflow-wrap: anywhere;
}
.mpfb-theme-fallback h1 { margin: 0 0 12px; font-size: clamp(28px, 5vw, 48px); }
.mpfb-theme-fallback p { line-height: 1.7; }
.mpfb-theme-fallback-entry { margin: 0 0 28px; }
.mpfb-theme-fallback img { max-width: 100%; height: auto; }
.mpfb-theme-basic-header, .mpfb-theme-basic-footer { padding: 20px clamp(16px, 4vw, 48px); background: #102b4b; color: #fff; }
.mpfb-theme-basic-header a { color: inherit; }
.mpfb-theme-basic-header .custom-logo { max-width: 160px; height: auto; vertical-align: middle; }
