/* ============================================================
   takslub.pl — Blog CSS (shared across all blog pages)
   ============================================================ */

:root {
  --forest:      #243B19;
  --forest-dark: #162410;
  --sage:        #4D7240;
  --sage-pale:   #ECF2E5;
  --gold:        #B5904A;
  --gold-light:  #D4AA6E;
  --cream:       #F8F5ED;
  --cream-dark:  #EDE8DA;
  --text:        #1A1A16;
  --muted:       #6B6860;
  --border:      #DDD8CC;
  --white:       #FFFFFF;
  --radius-sm:   10px;
  --radius-md:   18px;
  --shadow-sm:   0 4px 16px rgba(36,59,25,.07);
  --shadow-md:   0 12px 40px rgba(36,59,25,.11);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(760px, 92vw); margin: 0 auto; }
.container--wide { width: min(1160px, 92vw); margin: 0 auto; }

/* NAV */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,245,237,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-brand { display: flex; align-items: baseline; gap: 0; font-weight: 700; font-size: 1.1rem; }
.nav-brand-tak { color: var(--forest); font-style: italic; font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 600; }
.nav-brand-slub { color: var(--gold); font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 300; }
.nav-links { display: flex; list-style: none; gap: 1.8rem; }
.nav-links a { font-size: 0.9rem; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--forest); }
.btn {
  display: inline-flex; align-items: center;
  padding: 0.7rem 1.5rem;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; font-weight: 500;
  cursor: pointer; transition: all .22s ease;
  border: none; text-decoration: none;
}
.btn-primary { background: var(--gold); color: var(--forest-dark); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

/* BREADCRUMB */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--forest); }
.breadcrumb span { margin: 0 0.4rem; }

/* BLOG HERO */
.blog-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
}
.blog-hero .eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.8rem;
}
.blog-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--forest);
  margin-bottom: 1rem;
}
.blog-meta {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.blog-meta span::before { content: '·'; margin-right: 0.5rem; }
.blog-meta span:first-child::before { content: ''; margin-right: 0; }

/* ARTICLE BODY */
.article-body {
  padding: 2.5rem 0 4rem;
}
.article-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--forest);
  margin: 2.5rem 0 1rem;
  line-height: 1.2;
}
.article-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--forest);
  margin: 2rem 0 0.7rem;
}
.article-body p {
  margin-bottom: 1.2rem;
  color: var(--text);
}
.article-body ul, .article-body ol {
  margin: 0.5rem 0 1.2rem 1.4rem;
}
.article-body li { margin-bottom: 0.4rem; }
.article-body strong { color: var(--forest); font-weight: 600; }

/* TABLE */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.article-body th {
  background: var(--forest);
  color: var(--cream);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}
.article-body td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  vertical-align: top;
}
.article-body tr:last-child td { border-bottom: none; }
.article-body tr:nth-child(even) td { background: var(--cream); }

/* CTA BOX */
.cta-box {
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  margin: 3rem 0;
  text-align: center;
}
.cta-box h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--cream) !important;
}
.cta-box p { color: rgba(248,245,237,.8); margin-bottom: 1.5rem; }
.cta-box .btn-primary { font-size: 1rem; padding: 0.9rem 2rem; }

/* BLOG INDEX */
.blog-index-hero { padding: 4rem 0 2rem; text-align: center; }
.blog-index-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.8rem;
}
.blog-index-hero p { color: var(--muted); font-size: 1.05rem; max-width: 520px; margin: 0 auto; }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 3rem 0 5rem;
}
.article-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow .2s, transform .2s;
  display: flex; flex-direction: column;
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.article-card .eyebrow {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.7rem;
}
.article-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 600;
  color: var(--forest); line-height: 1.25;
  margin-bottom: 0.8rem;
}
.article-card p { color: var(--muted); font-size: 0.9rem; flex: 1; margin-bottom: 1.2rem; }
.article-card a.read-more {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.88rem; font-weight: 600;
  color: var(--forest);
}
.article-card a.read-more:hover { color: var(--gold); }

/* FOOTER */
.blog-footer {
  background: var(--forest-dark);
  color: rgba(248,245,237,.6);
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.85rem;
}
.blog-footer a { color: var(--gold-light); }
.blog-footer .footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--cream);
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .blog-hero h1 { font-size: 1.8rem; }
  .article-body h2 { font-size: 1.3rem; }
  .articles-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 1.8rem; }
}
