/* ============================================================
   blog.html — stylesheet
   ============================================================ */
:root {
  --bg: #f7f6f3; --ink: #141210; --muted: #7a7671; --border: #e4e2dc;
  --blue: #1a6fb5; --blue-mid: #2a87d4; --blue-light: #deeef9; --blue-pale: #f0f7fd;
  --orange: #d95b22; --orange-light: #fdf0e8;
  --white: #ffffff;
  --serif: "Instrument Serif", serif; --sans: "Outfit", sans-serif;
  --radius: 16px; --shadow: 0 4px 24px rgba(26,111,181,0.08); --shadow-lg: 0 12px 48px rgba(26,111,181,0.13);
}
*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { background:var(--bg); color:var(--ink); font-family:var(--sans); font-weight:300; line-height:1.65; }

@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }

/* NAV */
nav { position:sticky; top:0; z-index:200; display:flex; align-items:center; justify-content:space-between; padding:1rem 5vw; background:rgba(247,246,243,0.92); backdrop-filter:blur(16px); border-bottom:1px solid var(--border); }
.nav-logo { display:flex; align-items:center; gap:0.6rem; text-decoration:none; color:var(--ink); }
.nav-logo-text { font-family:var(--serif); font-size:1.3rem; }
.btn-ghost { background:none; border:1.5px solid var(--border); color:var(--ink); padding:0.5rem 1.1rem; border-radius:8px; text-decoration:none; font-family:var(--sans); font-size:0.875rem; transition:border-color 0.2s, background 0.2s; }
.btn-ghost:hover { border-color:var(--blue); background:var(--blue-pale); }
.btn-primary { background:var(--blue); color:white; border:none; padding:0.55rem 1.25rem; border-radius:8px; text-decoration:none; font-family:var(--sans); font-size:0.875rem; font-weight:500; display:inline-block; transition:background 0.2s; }
.btn-primary:hover { background:var(--blue-mid); }

/* HERO */
.blog-hero { padding:4rem 5vw 3rem; background:linear-gradient(135deg, var(--bg) 0%, var(--blue-pale) 100%); border-bottom:1px solid var(--border); }
.blog-hero-badge { display:inline-flex; align-items:center; gap:0.5rem; background:var(--blue-light); color:var(--blue); padding:0.3rem 0.85rem; border-radius:100px; font-size:0.78rem; font-weight:500; margin-bottom:1rem; }
.blog-hero h1 { font-family:var(--serif); font-size:clamp(2rem,5vw,3.5rem); line-height:1.15; letter-spacing:-0.02em; margin-bottom:0.75rem; }
.blog-hero h1 em { font-style:italic; color:var(--blue); }
.blog-hero p { color:var(--muted); font-size:1rem; max-width:500px; line-height:1.7; margin-bottom:1.5rem; }

/* FILTRY */
.blog-filters { display:flex; gap:0.6rem; flex-wrap:wrap; padding:1.5rem 5vw; background:var(--white); border-bottom:1px solid var(--border); }
.filter-btn { background:none; border:1.5px solid var(--border); color:var(--muted); padding:0.4rem 1rem; border-radius:100px; font-family:var(--sans); font-size:0.8rem; cursor:pointer; transition:all 0.2s; }
.filter-btn:hover, .filter-btn.active { background:var(--blue); border-color:var(--blue); color:white; }

/* ARTICLES GRID */
.blog-main { padding:3rem 5vw; max-width:1200px; margin:0 auto; }
.blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }

.article-card {
  background:var(--white); border-radius:var(--radius);
  border:1px solid var(--border); overflow:hidden;
  text-decoration:none; color:inherit; display:block;
  transition:transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.article-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); border-color:var(--blue-light); }

.article-thumb {
  aspect-ratio:16/9; display:flex; align-items:center; justify-content:center;
  font-size:3rem; position:relative; overflow:hidden;
}
.article-thumb img { width:100%; height:100%; object-fit:cover; display:block; transition:transform 0.4s; }
.article-card:hover .article-thumb img { transform:scale(1.04); }
.article-thumb.placeholder { background:var(--blue-light); }

.article-body { padding:1.5rem; }
.article-tag { display:inline-block; background:var(--blue-light); color:var(--blue); font-size:0.7rem; font-weight:500; padding:0.18rem 0.55rem; border-radius:6px; margin-bottom:0.75rem; letter-spacing:0.06em; text-transform:uppercase; }
.article-tag.orange { background:var(--orange-light); color:var(--orange); }
.article-tag.purple { background:#f0eeff; color:#6b3fa0; }
.article-title { font-family:var(--serif); font-size:1.15rem; line-height:1.4; margin-bottom:0.6rem; }
.article-excerpt { font-size:0.82rem; color:var(--muted); line-height:1.65; margin-bottom:1rem; }
.article-meta { display:flex; align-items:center; justify-content:space-between; font-size:0.75rem; color:var(--muted); }
.article-read-more { display:flex; align-items:center; gap:0.3rem; color:var(--blue); font-weight:500; font-size:0.8rem; }

/* FEATURED article */
.article-card.featured { grid-column:1 / -1; display:grid; grid-template-columns:1fr 1fr; }
.article-card.featured .article-thumb { aspect-ratio:auto; min-height:280px; }
.article-card.featured .article-body { display:flex; flex-direction:column; justify-content:center; padding:2rem; }
.article-card.featured .article-title { font-size:1.5rem; }

/* COMING SOON sekce */
.coming-soon { margin-top:3rem; background:var(--blue-pale); border:1px solid var(--blue-light); border-radius:20px; padding:3rem; text-align:center; }
.coming-soon h3 { font-family:var(--serif); font-size:1.5rem; margin-bottom:0.75rem; }
.coming-soon p { color:var(--muted); font-size:0.9rem; max-width:400px; margin:0 auto 1.5rem; line-height:1.7; }

/* NEWSLETTER */
.newsletter { background:var(--blue); padding:4rem 5vw; text-align:center; margin-top:0; }
.newsletter h2 { font-family:var(--serif); font-size:1.8rem; color:white; margin-bottom:0.5rem; }
.newsletter p { color:rgba(255,255,255,0.7); font-size:0.9rem; margin-bottom:1.5rem; }
.newsletter-form { display:flex; gap:0.75rem; max-width:440px; margin:0 auto; }
.newsletter-form input { flex:1; padding:0.75rem 1rem; border:none; border-radius:8px; font-family:var(--sans); font-size:0.875rem; outline:none; }
.newsletter-form button { background:var(--ink); color:white; border:none; padding:0.75rem 1.5rem; border-radius:8px; font-family:var(--sans); font-size:0.875rem; font-weight:500; cursor:pointer; white-space:nowrap; transition:background 0.2s; }
.newsletter-form button:hover { background:#2a2826; }

/* FOOTER */
footer { background:var(--ink); color:rgba(255,255,255,0.55); padding:2.5rem 5vw; text-align:center; font-size:0.8rem; }
footer a { color:rgba(255,255,255,0.55); text-decoration:none; margin:0 0.75rem; }
footer a:hover { color:white; }
.footer-copy { color:rgba(255,255,255,0.3); margin-top:0.75rem; }

/* RESPONSIVE */
@media (max-width:900px) {
  .blog-grid { grid-template-columns:1fr 1fr; }
  .article-card.featured { grid-column:auto; display:block; }
  .article-card.featured .article-thumb { aspect-ratio:16/9; min-height:auto; }
}
@media (max-width:600px) {
  .blog-grid { grid-template-columns:1fr; }
  .newsletter-form { flex-direction:column; }
}
