/* ============================================
   BookIT News — Stylesheet
   Ergänzt shop.css (wird gemeinsam geladen)
   ============================================ */

body { padding-top: 72px; }

/* NEWS HERO */
.news-hero {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--teal) 100%);
  color: var(--pure-white); padding: 4rem 1rem 3rem; text-align: center;
}
.news-hero h1 {
  font-family: 'Playfair Display', serif; font-size: 2.8rem;
  margin-bottom: .75rem; font-weight: 800;
}
.news-hero p { font-size: 1.1rem; opacity: .85; max-width: 550px; margin: 0 auto; }

/* NEWS GRID */
.news-section { max-width: 1100px; margin: 0 auto; padding: 3rem 1rem; }
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  margin-top: 2rem;
}
@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .news-grid { grid-template-columns: 1fr; } }

/* NEWS CARD */
.news-card {
  background: var(--pure-white); border-radius: 16px; overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: 0 2px 10px rgba(0,0,0,.07); transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.12); border-color: var(--emerald); }
.news-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--gray-200); position: relative; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card-img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center;
  justify-content: center; font-size: 3rem; background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
}
.news-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.news-card-date { font-size: .8rem; color: var(--gray-500); margin-bottom: .5rem; }
.news-card-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; line-height: 1.35; margin-bottom: .6rem; color: var(--black); }
.news-card-excerpt { font-size: .875rem; color: var(--gray-500); line-height: 1.5; flex: 1; }
.news-card-footer { padding: 0 1.25rem 1.25rem; }
.news-card-link { font-size: .875rem; color: var(--emerald); font-weight: 600; text-decoration: none; }
.news-card-link:hover { text-decoration: underline; }

/* SECTION HEADER */
.section-head { display: flex; align-items: center; justify-content: space-between; }
.section-head h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; }
.section-label { font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--emerald); text-transform: uppercase; margin-bottom: .5rem; }

/* SINGLE POST */
.post-section { max-width: 780px; margin: 0 auto; padding: 3rem 1rem 4rem; }
.post-back { font-size: .875rem; color: var(--gray-500); text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; margin-bottom: 2rem; }
.post-back:hover { color: var(--emerald); }
.post-hero-img { width: 100%; border-radius: 16px; margin-bottom: 2rem; max-height: 420px; object-fit: cover; }
.post-meta { font-size: .85rem; color: var(--gray-500); margin-bottom: 1rem; }
.post-title { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 800; line-height: 1.2; margin-bottom: 1.5rem; }
.post-content { font-size: 1.05rem; line-height: 1.75; color: var(--black); }
.post-content h1, .post-content h2, .post-content h3 {
  font-family: 'Playfair Display', serif; margin: 1.5rem 0 .75rem;
}
.post-content p { margin-bottom: 1rem; }
.post-content ul, .post-content ol { margin: 1rem 0 1rem 1.5rem; }
.post-content li { margin-bottom: .4rem; }
.post-content a { color: var(--emerald); }
.post-content img { max-width: 100%; border-radius: 12px; margin: 1rem 0; }
.post-content blockquote {
  border-left: 4px solid var(--emerald); padding-left: 1rem; margin: 1.5rem 0;
  color: var(--gray-500); font-style: italic;
}
.post-content table { border-collapse: collapse; width: 100%; margin: 1rem 0; }
.post-content th, .post-content td { border: 1px solid var(--gray-200); padding: .5rem .75rem; text-align: left; }
.post-content th { background: var(--gray-100); font-weight: 600; }

/* EMPTY STATE */
.news-empty { text-align: center; padding: 5rem 1rem; color: var(--gray-500); }
.news-empty-icon { font-size: 4rem; margin-bottom: 1rem; }

/* 404 */
.not-found { text-align: center; padding: 5rem 1rem; }
.not-found h2 { font-family: 'Playfair Display', serif; font-size: 2rem; margin-bottom: 1rem; }

/* ICONS */
[data-lucide] { flex-shrink: 0; }
.news-empty-icon [data-lucide] { width: 64px; height: 64px; color: var(--gray-300); }
.hero-pill [data-lucide] { width: 14px; height: 14px; vertical-align: middle; }
