/* AMTL – history.css: nur auf historischen Seiten/Beiträgen (Kategorien history-*, Templates „Historical“).
   Alle Werte über Customizer → Design → Historical pages änderbar. */
@font-face { font-family: "Mutter Krause"; src: url(../fonts/mutter-krause.woff2) format("woff2"); font-weight: 100 400; font-display: swap; }

:root {
	--font-hist: "Mutter Krause", Georgia, serif;
	--hist-paper: #efe6d2;
	--hist-paper-img: url(../img/paper.jpg);
	--hist-text: #3b3128;
	--hist-head-ink: #fff;
	--hist-title-fs: 34px;
	--hist-fs: 15px;
	--hist-style: italic;
	--hist-panel: .85;
}

.is-history { background: var(--hist-paper) var(--hist-paper-img) center -300px / cover fixed; }
.is-history .site-header { background: rgba(255, 255, 255); backdrop-filter: blur(4px); box-shadow: 0 1px 0 rgba(80, 60, 30, .2); }
.is-history .site-title { font: 400 clamp(26px, 3vw, 32px)/1 var(--font-hist); color: #4f4e4e; }
.is-history .site-description { font-family: var(--font-hist); }

.is-history .page-header { background: var(--grey-head); backdrop-filter: blur(2px); }
.is-history .page-header__title { font: 100 clamp(24px, 2.4vw + 8px, calc(var(--title-fs) * 1.3))/1.15 var(--font-hist); text-transform: none; letter-spacing: .01em; color: var(--hist-head-ink); }
.sticky-title.is-scrolled.is-history .page-header__title { font-size: clamp(18px, 1.4vw + 8px, var(--title-fs)); }

.paper { padding: clamp(16px, 3vw, 32px); background: rgba(255, 255, 255, var(--hist-panel)); border-radius: var(--radius); color: var(--hist-text); font-size: var(--hist-fs); }
.paper.entry-content, .paper .entry-content { font-style: var(--hist-style); }
.paper strong { font-weight: 600; }
.paper b { font-weight: 300; }
.paper h6 { font-size: 14px; font-weight: 300; font-style: italic; color: #717171; }

.history-post__head { display: flex; align-items: flex-start; gap: clamp(12px, 2vw, 20px); margin-bottom: 18px; }
.history-post__cat { margin: 0 0 4px; font-size: 14px; font-style: italic; color: var(--red); }
.history-title { margin: 0; font: 100 clamp(22px, 2.4vw + 6px, var(--hist-title-fs))/1.15 var(--font-hist); color: var(--red); text-transform: none; }
.history-title a { color: inherit; text-decoration: none; }
.history-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.history-list__item { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 20px; border-bottom: 1px solid #d6c7a8; }

/* Kalenderblatt: Jahr rot oben, Monat grau unten */
.is-history .date-tile__top { background: var(--red); font-style: italic; }
.is-history .date-tile__bottom { background: #f4f4f4; }

/* Vertical-Timeline-Seite und Inhalte */
.vt-timeline-title { font-family: var(--font-hist) !important; }
.vt-timeline-year { font-family: var(--font-hist) !important; font-weight: 100; font-size: 1.2rem !important; }
a.historical-link { font: 600 1.2em var(--font-hist); color: var(--red); }
h4.historical { font: 100 1.3em/1.2 var(--font-hist); color: var(--red); }
h3.historical { font: 100 1.4em/1.3 var(--font-hist); color: var(--red); }
p.historical { font: 100 1.1rem/1.5 var(--font-hist); }
p.historical strong { font-weight: 300; font-size: 1.2rem; letter-spacing: .025em; }

.is-history .site-footer { background: rgba(0, 0, 0, .1); border-block: 3px solid grey; }
.is-history .site-info { background: rgba(225, 225, 225, .8); }

/* Barrierefreie Textfassung: ruhig und druckbar */
.paper--plain, .paper--plain.entry-content { font-style: normal; }
.history-postname-print { margin: 1.2em 0 0; font: 600 18px var(--font-head); color: var(--ink); }
.history-postdate-print { margin: 0; font-size: 13px; color: var(--muted); }
.history-posttext-print { margin: 0 0 .8em; }

@media print {
	.is-history { background: none; }
	.paper { padding: 0; background: none; }
	.history-postname-print { break-after: avoid; }
}
