/* ==========================================================
   Dogmen-style.css
   Buchp — Eine Kritik der großen Dogmen
   MKB-ODW Verlag | Lindenfels · Odenwald · 2026
   C.R. Brossmann & Claude (Anthropic), 31.05.2026
   ========================================================== */

/* --- Grundlayout --- */

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f4e6;
    color: #333;
}

/* --- Überschriften --- */

h1 {
    color: #8b0000;
    text-align: center;
    font-size: 2em;
    border-bottom: 2px solid #8b0000;
    padding-bottom: 10px;
    margin-bottom: 5px;
}

h2 {
    color: #a0522d;
    font-style: italic;
    margin-top: 2em;
}

h3 {
    color: #8b0000;
    text-align: center;
    font-size: 1.8em;
    border-bottom: 1px solid #a0522d;
    padding-bottom: 4px;
    margin-top: 2em;
}

h4 {
    color: #a0522d;
    font-style: italic;
    margin-top: 1.4em;
    font-size: 1.2em;
}

h5 {
    color: #a0522d;
    font-style: italic;
    margin-top: 1.4em;
    font-size: 1em;
}


/* --- Spezielle Inhaltsboxen --- */

.dogma-box {
    background-color: #eee8d5;
    border-left: 4px solid #8b0000;
    padding: 15px 20px;
    margin: 20px 0;
    font-style: italic;
    font-size: 1.1em;
}

.these {
    background-color: #f0e8d0;
    border: 1px solid #a0522d;
    padding: 12px 18px;
    margin: 16px 0;
    font-weight: bold;
}

.intro {
    background-color: #eee8d5;
    border-left: 4px solid #8b0000;
    padding: 12px 18px;
    margin: 20px 0;
    font-style: italic;
}

.untertitel {
    text-align: center;
    color: #a0522d;
    font-style: italic;
    margin-bottom: 30px;
}

/* --- Zitat / Dialog --- */

.zug {
    font-style: italic;
    color: #555;
    margin: 12px 20px;
    border-left: 2px solid #a0522d;
    padding-left: 12px;
}

.dialog {
    margin-left: 20px;
    font-style: italic;
    color: #555;
}

/* --- Querverweise --- */

.querverweis {
    background-color: #eee8d5;
    border: 1px dashed #8b0000;
    padding: 10px 16px;
    margin: 12px 0;
    font-size: 0.95em;
}

.querverweis a {
    color: #8b0000;
    text-decoration: none;
}

.querverweis a:hover {
    text-decoration: underline;
}

/* --- Tabellen --- */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.93em;
}

th {
    background-color: #8b0000;
    color: #f9f4e6;
    padding: 8px 12px;
    text-align: left;
}

td {
    padding: 8px 12px;
    border-bottom: 1px solid #ccc;
    vertical-align: top;
}

tr:nth-child(even) td {
    background-color: #f0e8d0;
}

tr:hover td {
    background-color: #e8dfc8;
}

/* --- Index-Tabelle spezifisch --- */

td.nr {
    font-weight: bold;
    color: #8b0000;
    width: 60px;
}

td.dogma a {
    color: #333;
    text-decoration: none;
}

td.dogma a:hover {
    color: #8b0000;
    text-decoration: underline;
}

td.stichwort {
    color: #888;
    font-size: 0.88em;
    width: 180px;
}

/* --- Status-Anzeigen --- */

.status-fertig  { color: #2a7a2a; font-size: 0.85em; }
.status-entwurf { color: #a0522d; font-size: 0.85em; }
.status-geplant { color: #aaa;    font-size: 0.85em; }

/* --- Editorische Angaben --- */

.editorial {
    background-color: #f5f0e8;
    border: 1px solid #ccc;
    padding: 14px 18px;
    margin-top: 30px;
    font-size: 0.88em;
    color: #555;
}

.editorial h4 {
    color: #8b0000;
    font-style: normal;
    margin-top: 0;
}

.editorial table {
    font-size: 0.9em;
    margin: 8px 0;
}

.editorial td {
    padding: 4px 8px;
    border-bottom: 1px solid #eee;
}

.editorial td:first-child {
    font-weight: bold;
    color: #8b4513;
    width: 160px;
}

/* --- Navigation --- */

.nav {
    margin: 20px 0;
    padding: 10px;
    background: #eee8d5;
    border-radius: 4px;
    font-size: 0.9em;
    text-align: center;
}

.nav a {
    color: #8b0000;
    margin: 0 12px;
    text-decoration: none;
}

.nav a:hover {
    text-decoration: underline;
}

/* --- Spezielle Textklassen --- */

.omegapunkt {
    font-weight: bold;
    color: #8b0000;
}

.character {
    font-weight: bold;
    color: #8b4513;
}

.mistral {
    font-weight: bold;
    color: #4682b4;
}

.wine {
    color: #8b0000;
    font-weight: bold;
}

/* --- Footer --- */

footer {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9em;
    color: #666;
    border-top: 1px solid #ccc;
    padding-top: 15px;
}
