/* DK9XR - schlichtes Theme, nah am Original (Platinen-Header + Artikel-Listing) */
:root {
  --accent: #c0392b;
  --text: #333;
  --muted: #777;
  --border: #e2e2e2;
  --link: #1a6ec0;
  --maxw: 980px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #f5f5f5;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Header / Platinen-Banner ---- */
.site-header { background: #1d1f21; }

.header-banner {
  height: 180px;
  background-image: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.45)),
                    url("/uploads/2016/05/circuit-board-background.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-title {
  color: #fff;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
}
.site-title:hover { text-decoration: none; }

/* ---- Nav ---- */
.site-nav {
  background: #2c2f33;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.site-nav li a {
  display: block;
  color: #ddd;
  padding: 14px 18px;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.site-nav li a:hover,
.site-nav li a.active {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}
.nav-search input {
  border: none;
  border-radius: 3px;
  padding: 6px 10px;
  font-size: .9rem;
}

/* ---- Main content ---- */
main.container { padding-top: 28px; padding-bottom: 40px; }

.list-heading {
  font-size: 1.4rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 6px;
  margin-top: 0;
}

.page-intro { margin-bottom: 24px; }

/* ---- Post listing ---- */
.post-summary {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 18px 22px;
  margin-bottom: 22px;
}
.post-summary h2 { margin: 0 0 4px; font-size: 1.35rem; }
.post-meta { color: var(--muted); font-size: .85rem; margin: 0 0 12px; }
.post-excerpt { color: #444; }
.read-more {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  color: var(--accent);
}

/* ---- Single post ---- */
.post {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 26px 30px;
}
.post h1 { margin-top: 0; }
.post-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 18px auto;
}
.post-content a { word-break: break-word; }

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 18px 0;
  margin-top: 30px;
  color: var(--muted);
  font-size: .85rem;
  text-align: center;
}

@media (max-width: 640px) {
  .header-banner { height: 120px; }
  .site-title { font-size: 1.8rem; }
  .site-nav { flex-direction: column; align-items: stretch; }
  .nav-search { padding: 8px 0; }
  .nav-search input { width: 100%; }
}

/* ---- Footer note ---- */
.footer-note { margin: 6px 0 0; font-size: .8rem; opacity: .85; }
