/* ============================================================
   VOGEL KOLLING — Blog CSS (dark Griffe)
   Complementa style.css
   ============================================================ */

/* ── NAV forced scrolled (blog/post pages) ───────────────── */
.nav-forced {
  background: rgba(8,15,28,.92) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 1px 0 var(--accent-s) !important;
}
.nav-active { color: var(--ink) !important; }

/* ── BLOG HERO ───────────────────────────────────────────── */
.blog-hero {
  padding: calc(var(--nav-h) + 64px) 0 80px;
  border-bottom: 1px solid var(--line);
}
.blog-hero .eyebrow { margin-bottom: 16px; }
.blog-hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.03em;
  color: var(--ink); margin-bottom: 20px;
}
.blog-hero-sub { font-size: 1.05rem; color: var(--ink-2); font-weight: 300; line-height: 1.65; max-width: 500px; }

/* ── FEATURED CARD ───────────────────────────────────────── */
.blog-featured { padding: 60px 0; border-bottom: 1px solid var(--line); }
.featured-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px;
  align-items: center;
  border-radius: var(--r-lg);
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .25s;
  cursor: pointer;
}
.featured-card:hover { border-color: var(--line-2); }
.featured-img { overflow: hidden; height: 420px; }
.featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.featured-card:hover .featured-img img { transform: scale(1.04); }
.featured-body { padding: 48px 48px 48px 0; display: flex; flex-direction: column; gap: 16px; }
.featured-title {
  font-size: 1.6rem; font-weight: 700; line-height: 1.25; letter-spacing: -.02em;
  color: var(--ink);
}
.featured-excerpt { font-size: .92rem; color: var(--ink-2); font-weight: 300; line-height: 1.7; }
.featured-link { font-size: .85rem; font-weight: 600; color: var(--accent); margin-top: 8px; }
.featured-card:hover .featured-link { text-decoration: underline; }

/* ── POSTS SECTION ───────────────────────────────────────── */
.posts-section { padding: 80px 0; }
.posts-section .eyebrow { margin-bottom: 32px; }
.posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

.post-card {
  display: flex; flex-direction: column;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  transition: border-color .25s, transform .25s;
  cursor: pointer;
}
.post-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.post-card-img { overflow: hidden; height: 200px; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card-img img { transform: scale(1.06); }
.post-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card-title { font-size: 1rem; font-weight: 600; line-height: 1.4; color: var(--ink); }
.post-card-excerpt { font-size: .85rem; color: var(--ink-2); font-weight: 300; line-height: 1.65; flex: 1; }

/* shared */
.post-tag {
  display: inline-block;
  font-size: .65rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-s);
  padding: 4px 10px; border-radius: 100px;
}
.post-meta { display: flex; gap: 12px; align-items: center; font-size: .75rem; color: var(--muted); margin-top: auto; }
.post-date::before { content: ""; }
.post-read { padding-left: 12px; border-left: 1px solid var(--line-2); }

/* ── BLOG CTA ────────────────────────────────────────────── */
.blog-cta { padding: 80px 0; border-top: 1px solid var(--line); }
.blog-cta-inner {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 60px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
}
.blog-cta-inner h2 { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; }
.blog-cta-inner p { font-size: .95rem; color: var(--ink-2); font-weight: 300; max-width: 480px; line-height: 1.7; }
.blog-cta-inner .btn-primary { margin-top: 8px; }

/* ── POST PAGE ───────────────────────────────────────────── */
.post-page { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 80px; }
.post-page-inner { max-width: 760px; }

.post-breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: .78rem; color: var(--muted); margin-bottom: 32px;
}
.post-breadcrumb a { color: var(--accent); }
.post-breadcrumb a:hover { text-decoration: underline; }

.post-header { margin-bottom: 40px; display: flex; flex-direction: column; gap: 16px; }
.post-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.post-subtitle { font-size: 1.05rem; color: var(--ink-2); font-weight: 300; line-height: 1.65; }
.post-meta-bar { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.post-author { display: flex; gap: 12px; align-items: center; }
.post-author-avatar {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--line-2);
}
.post-author-name { font-size: .88rem; font-weight: 600; }
.post-author-role { font-size: .72rem; color: var(--muted); }

.post-hero-img {
  width: 100%; border-radius: var(--r-lg); margin-bottom: 48px;
  max-height: 480px; object-fit: cover;
}

.post-body { line-height: 1.8; }
.post-body p { font-size: .97rem; color: var(--ink-2); font-weight: 300; margin-bottom: 20px; }
.post-body h2 {
  font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em;
  color: var(--ink); margin: 44px 0 16px;
}
.post-body h3 { font-size: 1.1rem; font-weight: 600; color: var(--ink); margin: 28px 0 10px; }
.post-body ul { margin: 16px 0 24px 0; display: flex; flex-direction: column; gap: 10px; }
.post-body li {
  font-size: .97rem; color: var(--ink-2); font-weight: 300;
  padding-left: 20px; position: relative; line-height: 1.7;
}
.post-body li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}
.post-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 20px 24px; margin: 32px 0;
  background: var(--bg-2); border-radius: 0 var(--r) var(--r) 0;
  font-size: 1rem; color: var(--ink-2); font-style: italic; font-weight: 300; line-height: 1.75;
}
.post-body blockquote strong { display: block; margin-top: 12px; font-style: normal; font-size: .85rem; color: var(--ink); }

.post-inline-cta {
  display: flex; align-items: center; gap: 24px; justify-content: space-between;
  background: var(--accent-d); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg); padding: 28px 32px; margin: 40px 0;
  transition: border-color .25s;
  cursor: pointer;
}
.post-inline-cta:hover { border-color: rgba(255,255,255,.2); }
.post-inline-cta-text h4 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; color: #fff; }
.post-inline-cta-text p { font-size: .85rem; color: rgba(255,255,255,.7); font-weight: 300; }
.post-inline-cta .btn-primary { flex-shrink: 0; }

/* ── POST RELATED ────────────────────────────────────────── */
.post-related { padding: 80px 0; border-top: 1px solid var(--line); }
.post-related .section-header { margin-bottom: 40px; }
.post-related .eyebrow { margin-bottom: 8px; }
.post-related h2 { font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-img { height: 300px; }
  .featured-body { padding: 32px; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .posts-grid { grid-template-columns: 1fr; }
  .blog-cta-inner { padding: 36px 24px; }
  .post-inline-cta { flex-direction: column; align-items: flex-start; }
  .post-meta-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
}
