/* ddbuch-facelift — reproduces the existing palette/type, cleaner + self-hosted */

@font-face {
  font-family: 'Lusitana';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lusitana-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Lusitana';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/lusitana-700.woff2') format('woff2');
}

:root {
  --bg: #eeede8;
  --ink: #373b41;
  --accent: #e6a117;
  --accent-hover: #a87227;
  --card-border: #d9dcdf;
  --muted: #7c7d7f;
}

* , *::before, *::after { box-sizing: border-box; }

html { height: 100%; }

body {
  margin: 0;
  padding: 0;
  font-family: 'Lusitana', Georgia, serif;
  font-size: 100%;
  line-height: 1.6;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  word-wrap: break-word;
  hyphens: auto;
}

a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover, a:focus { color: var(--accent-hover); text-decoration: underline; }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lusitana', Georgia, serif;
  font-weight: 700;
  margin: 1.2em 0 .6em;
  line-height: 1.25;
  color: var(--ink);
}
h1 { font-size: 2.4em; margin-top: 0; }
h2 { font-size: 1.75em; }
h3 { font-size: 1.35em; }

p { margin: 0 0 1.3em; }

.skip-content {
  position: absolute; left: -9999px;
}
.skip-content:focus {
  left: 1em; top: 1em; background: #fff; padding: .5em 1em; z-index: 999;
}

.site-header {
  background: #fff;
  border-bottom: 3px solid var(--accent);
  padding: 1em 1.5em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1em;
}
.site-header .logo img { display: block; }

.menu-primary-items {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  margin: 0;
  padding: 0;
}
.menu-primary-items a {
  color: var(--ink);
  font-weight: 700;
  font-size: .95em;
}
.menu-primary-items a:hover,
.menu-primary-items .current-menu-item a { color: var(--accent); }

.toggle-navigation { display: none; }

.main-content {
  max-width: 880px;
  margin: 0 auto;
  padding: 2.5em 1.5em 4em;
}

.entry-title { margin-bottom: .3em; }

.entry-updated {
  margin: 0 0 1.5em;
  font-size: .85em;
  color: var(--muted);
  font-style: italic;
}

.entry-content img { border-radius: 4px; margin: 1em 0; }

.hero-image {
  display: block;
  margin: 0 0 1.8em;
}
.hero-image img {
  display: block;
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--card-border);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}
.entry-content th, .entry-content td {
  border: 1px solid var(--card-border);
  padding: .6em .8em;
  text-align: left;
}
.entry-content th { background: #f6f3ea; }

.book-fact-box {
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--accent);
  background: #fff;
  padding: 1em 1.3em;
  margin: 1.5em 0;
  border-radius: 3px;
}
.book-fact-box dt { font-weight: 700; color: var(--accent-hover); }
.book-fact-box dd { margin: 0 0 .6em; }

.faq-item {
  border-bottom: 1px solid var(--card-border);
  padding: .3em 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: .8em .2em;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: '+';
  display: inline-block;
  width: 1.2em;
  color: var(--accent);
  font-weight: 700;
}
.faq-item[open] summary::before { content: '\2212'; }
.faq-item p { padding-left: 1.2em; color: var(--ink); }

.site-footer {
  border-top: 3px solid var(--accent);
  background: #fff;
  text-align: center;
  padding: 1.5em;
  font-size: .9em;
  color: var(--muted);
}
.site-footer a { color: var(--muted); }

@media (max-width: 700px) {
  .site-header { flex-direction: column; align-items: flex-start; }
  .menu-primary-items { gap: 1em; }
  h1 { font-size: 1.9em; }
}
