/* Mysteriumsabteilung — Harry Potter Blog */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --hp-dark:   #1a0a2e;
  --hp-purple: #4a1f6e;
  --hp-gold:   #c9a84c;
  --hp-light:  #f8f5f0;
  --text:      #1c1c1c;
  --muted:     #666;
  --border:    #ddd8cf;
  --max-w:     860px;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: #fff;
}

/* ── Header ── */
.site-header {
  background: var(--hp-dark);
  color: #fff;
  padding: 0 1.5rem;
  border-bottom: 3px solid var(--hp-gold);
}
.site-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  flex-wrap: wrap;
  gap: .5rem;
}
.site-title {
  font-size: 1.15rem;
  font-weight: normal;
  letter-spacing: .02em;
}
.site-title a { color: var(--hp-gold); text-decoration: none; }
.site-title a:hover { color: #fff; }
.site-tagline {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  font-family: Arial, sans-serif;
  margin-top: .15rem;
}

nav { display: flex; flex-wrap: wrap; gap: .2rem; }
nav a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: .82rem;
  font-family: Arial, sans-serif;
  padding: .3rem .65rem;
  border-radius: 3px;
  transition: background .15s;
}
nav a:hover { background: rgba(255,255,255,.15); color: #fff; }

/* ── Main ── */
main {
  max-width: var(--max-w);
  margin: 2rem auto;
  padding: 0 1.5rem;
}

h1 {
  font-size: 1.75rem;
  color: var(--hp-dark);
  border-bottom: 2px solid var(--hp-gold);
  padding-bottom: .4rem;
  margin-bottom: 1.2rem;
  line-height: 1.3;
}
h2 { font-size: 1.3rem; color: var(--hp-purple); margin: 1.8rem 0 .6rem; }
h3 { font-size: 1.1rem; color: var(--hp-purple); margin: 1.4rem 0 .4rem; }

p { margin-bottom: 1rem; }
a { color: var(--hp-purple); }
a:hover { color: var(--hp-gold); }

ul, ol { padding-left: 1.6rem; margin-bottom: 1rem; }
li { margin-bottom: .3rem; }

/* ── Article meta ── */
.article-meta {
  font-size: .83rem;
  font-family: Arial, sans-serif;
  color: var(--muted);
  border-left: 3px solid var(--hp-gold);
  background: var(--hp-light);
  padding: .55rem 1rem;
  border-radius: 0 4px 4px 0;
  margin-bottom: 1.5rem;
}
.article-meta a { color: var(--muted); text-decoration: underline; }

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: .82rem;
  font-family: Arial, sans-serif;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--hp-purple); text-decoration: underline; }
.breadcrumb span { margin: 0 .35rem; }

/* ── Article list ── */
.article-list { list-style: none; padding: 0; }
.article-list li {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.article-list li:last-child { border-bottom: none; }
.article-list .al-title {
  font-size: 1.05rem;
  font-weight: bold;
  display: block;
  color: var(--hp-dark);
  text-decoration: none;
  margin-bottom: .3rem;
}
.article-list .al-title:hover { color: var(--hp-purple); }
.article-list .al-meta {
  font-size: .8rem;
  font-family: Arial, sans-serif;
  color: var(--muted);
}
.article-list .al-excerpt {
  font-size: .92rem;
  color: #444;
  margin-top: .4rem;
}

/* ── Homepage ── */
p.lead {
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  color: #333;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.feature-card {
  display: block;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, box-shadow .2s;
  background: var(--hp-light);
}
.feature-card:hover {
  border-color: var(--hp-gold);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.feature-card h2 {
  font-size: 1rem;
  margin: 0 0 .5rem;
  color: var(--hp-dark);
  border: none; padding: 0;
}
.feature-card p { font-size: .88rem; margin: 0; color: #555; line-height: 1.5; }

/* ── Podcast section ── */
.podcast-note {
  background: var(--hp-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-family: Arial, sans-serif;
  font-size: .92rem;
}

/* ── Footer ── */
footer {
  margin-top: 4rem;
  padding: 1.5rem;
  background: var(--hp-dark);
  color: rgba(255,255,255,.65);
  font-family: Arial, sans-serif;
  font-size: .8rem;
  text-align: center;
}
footer a { color: rgba(255,255,255,.65); }
footer a:hover { color: var(--hp-gold); }

/* ── Responsive ── */
@media (max-width: 600px) {
  h1 { font-size: 1.35rem; }
  .site-header-inner { flex-direction: column; align-items: flex-start; }
  .feature-grid { grid-template-columns: 1fr; }
}
