/*
 * Emotivni Minimalizam 2026 - Blog Article & Archive Style
 * UX / Mobile-First Optimized
 */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --em-bg: #FDFCFB;
  --em-surface: #FFFFFF;
  --em-text: #2b2b2a;
  --em-text-light: #6a6a66;
  --em-olive: #8E9982;
  --em-terracotta: #D4BCAE;
  --em-link: #B86B52;
  --em-border: rgba(0, 0, 0, 0.06);
  --em-teal: #1a4d5c;
  --em-teal-light: #2c5f7c;
}

/* ── Article Layout ─────────────────────────────────────────────────────── */

.article-container {
  padding: 32px 20px 80px;
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .article-container {
    max-width: 660px;
    padding: 60px 0 100px;
  }
}

.article-meta {
  font-size: 0.75rem;
  color: var(--em-text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}

.article-title {
  font-family: 'Lora', serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  line-height: 1.25;
  color: var(--em-text);
}

@media (min-width: 768px) {
  .article-title {
    font-size: 2.6rem;
    margin-bottom: 48px;
    line-height: 1.15;
  }
  .article-meta { text-align: center; }
  .article-title { text-align: center; }
}

/* ── Intro CTA ──────────────────────────────────────────────────────────── */

.intro-cta {
  margin: 0 0 36px;
  padding: 0 0 36px;
  border-bottom: 1px solid var(--em-border);
  font-size: 1rem;
  color: var(--em-text-light);
  line-height: 1.65;
  font-family: 'Inter', sans-serif;
}

.intro-cta strong {
  display: block;
  font-family: 'Lora', serif;
  font-size: 1.35rem;
  color: var(--em-text);
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: -0.3px;
}

/* ── Article Body ───────────────────────────────────────────────────────── */

.article-content p {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  margin-bottom: 28px;
  color: rgba(43, 43, 42, 0.92);
  line-height: 1.75;
}

.article-content p.lead {
  font-size: 1.15rem;
  color: var(--em-text-light);
  line-height: 1.65;
  margin-bottom: 40px;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  font-family: 'Lora', serif;
  color: var(--em-text);
  margin: 40px 0 16px;
  line-height: 1.3;
}

.article-content h2 { font-size: 1.6rem; font-weight: 500; }
.article-content h3 { font-size: 1.3rem; font-weight: 500; }
.article-content h4 { font-size: 1.1rem; font-weight: 600; }

@media (min-width: 768px) {
  .article-content p { font-size: 1.1rem; line-height: 1.85; margin-bottom: 32px; }
  .article-content p.lead { font-size: 1.2rem; }
}

/* ── Links ──────────────────────────────────────────────────────────────── */

.article-content a {
  color: var(--em-link);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(184, 107, 82, 0.3);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.article-content a:hover {
  border-bottom-color: var(--em-link);
  color: #9e4f38;
}

.link-subtle {
  display: inline-flex;
  align-items: center;
  color: var(--em-link);
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: none !important;
  margin-top: 8px;
  transition: opacity 0.2s ease;
}

.link-subtle span {
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.2s ease;
}

.link-subtle:hover { opacity: 0.75; }
.link-subtle:hover span { transform: translateX(4px); }

/* ── Author Box ─────────────────────────────────────────────────────────── */

.author-box {
  margin-top: 64px;
  padding: 28px 24px;
  background: rgba(26, 77, 92, 0.04);
  border-radius: 16px;
  border: 1px solid rgba(26, 77, 92, 0.08);
}

.author-box .author-name {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  color: var(--em-teal);
  margin-bottom: 10px;
}

.author-box p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--em-text-light);
  line-height: 1.65;
  margin-bottom: 14px;
}

.author-box a {
  color: var(--em-teal);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}

/* ── Blog Archive (blog.html) ───────────────────────────────────────────── */

.blog-hero {
  padding: 60px 20px 40px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .blog-hero { padding: 100px 20px 60px; }
}

.blog-hero h1 {
  font-family: 'Lora', serif;
  font-size: 2rem;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: var(--em-text);
  font-weight: 400;
}

.blog-hero p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--em-text-light);
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.65;
}

@media (min-width: 768px) {
  .blog-hero h1 { font-size: 2.4rem; }
}

/* ── Blog Card Grid ─────────────────────────────────────────────────────── */

.blog-grid {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

.blog-card {
  display: block;
  text-decoration: none;
  padding: 36px 0;
  border-bottom: 1px solid var(--em-border);
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: opacity 0.25s ease;
}

.blog-card:last-child { border-bottom: none; }

.blog-card:hover {
  opacity: 0.6;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.blog-card-category {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--em-olive);
  margin-bottom: 12px;
  display: block;
  font-weight: 600;
}

.blog-card h2 {
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  margin: 0 0 12px;
  color: var(--em-text);
  line-height: 1.3;
  letter-spacing: -0.2px;
  font-weight: 400;
}

.blog-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--em-text-light);
  margin: 0 0 16px;
  line-height: 1.65;
}

.blog-card-cta {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--em-link);
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.2px;
}

.blog-card-cta::after {
  content: '→';
  margin-left: 5px;
  transition: transform 0.25s ease;
}

.blog-card:hover .blog-card-cta::after {
  transform: translateX(4px);
}

@media (min-width: 768px) {
  .blog-card { padding: 40px 0; }
  .blog-card h2 { font-size: 1.4rem; }
  .blog-card p { font-size: 0.95rem; }
}
