/*
Theme Name: OneSystem
Theme URI: https://onesystem.de
Author: OneSystem · Adendorf bei Lüneburg
Author URI: https://onesystem.de
Description: Schlankes Theme für den OneSystem Block-Baukasten. Gibt Header und Footer aus gespeicherten Blöcken aus (im Customizer wählbar) und rendert den Seiteninhalt über die volle Breite – ohne Seitentitel und ohne Sidebar. Ideal für ein WordPress ohne Divi.
Version: 1.1.0
Requires at least: 5.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: onesystem
*/

*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0;overflow-x:hidden}
body{
  font-family:-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:#1a1d24;line-height:1.6;-webkit-font-smoothing:antialiased;background:#fff;
}
img{max-width:100%;height:auto}

/* Inhaltsbereich – volle Breite, damit „volle Breite"-Blöcke bis an die Kante gehen */
.osth-main{display:block;width:100%}

/* Lesebreite nur für klassische Textinhalte (Blog-Beiträge) */
.osth-readable{max-width:760px;margin:0 auto;padding:48px 20px 64px}
.osth-readable h1{font-size:clamp(28px,5vw,40px);letter-spacing:-.02em;margin:0 0 8px}
.osth-readable .osth-meta{color:#6b7580;font-size:14px;margin:0 0 28px}
.osth-readable p{margin:0 0 16px}
.osth-readable a{color:#e5703c}

/* Hinweis, falls das Baukasten-Plugin fehlt (nur für Redakteure sichtbar) */
.osth-notice{
  max-width:760px;margin:24px auto;padding:16px 18px;border:1px dashed #e5703c;
  background:#fff5f1;border-radius:10px;color:#1a1d24;font-size:14px;line-height:1.5;
}
