/* ===========================================================
   PIKURU BLOG STYLES  (loaded after styles.css on blog pages)
   Reuses .navbar / .footer / .btn / .btn-lang from styles.css
   =========================================================== */
body.blog-page { background: #0D1B14; }

/* Solid navbar -- blog pages have no hero behind it */
.navbar.navbar--solid {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(13, 27, 20, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid #1f3128;
}

.article-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 104px 20px 64px;
}

/* Breadcrumb */
.breadcrumb { font-size: 0.85rem; color: #7e978a; margin-bottom: 22px; }
.breadcrumb a { color: #7e978a; text-decoration: none; }
.breadcrumb a:hover { color: #32A259; text-decoration: underline; }
.breadcrumb span { margin: 0 7px; opacity: 0.55; }

/* Article header */
.article__header { margin-bottom: 34px; border-bottom: 1px solid #1f3128; padding-bottom: 26px; }
.article__title { font-size: clamp(1.9rem, 4.5vw, 2.7rem); line-height: 1.25; color: #fff; margin: 0 0 14px; font-weight: 800; letter-spacing: -0.01em; }
.article__meta { color: #7e978a; font-size: 0.9rem; margin: 0; }

/* Article body typography */
.article__body { color: #C5D6CB; font-size: 1.08rem; line-height: 1.85; }
.article__body > *:first-child { margin-top: 0; }
.article__body h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.8rem); line-height: 1.35; margin: 2.3em 0 0.7em; font-weight: 700; }
.article__body h3 { color: #fff; font-size: 1.22rem; margin: 1.7em 0 0.5em; font-weight: 600; }
.article__body p { margin: 0 0 1.25em; }
.article__body a { color: #4ec77d; text-decoration: underline; text-underline-offset: 2px; }
.article__body a:hover { color: #6fe39a; }
.article__body strong { color: #fff; font-weight: 700; }
.article__body ul, .article__body ol { margin: 0 0 1.25em; padding-left: 1.4em; }
.article__body li { margin: 0.4em 0; }
.article__body blockquote { border-left: 3px solid #32A259; margin: 1.5em 0; padding: 0.3em 1.2em; color: #A8BFB0; background: #11201a; border-radius: 0 8px 8px 0; }

/* Tables */
.article__body table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 0.95rem; background: #11201a; border: 1px solid #1f3128; border-radius: 10px; overflow: hidden; }
.article__body th, .article__body td { padding: 11px 14px; text-align: left; border-bottom: 1px solid #1f3128; }
.article__body th { background: #16271f; color: #fff; font-weight: 600; }
.article__body tr:last-child td { border-bottom: none; }

/* CTA + back link */
.article__cta { margin: 46px 0 26px; text-align: center; }
.article__back { text-align: center; margin: 0; }
.article__back a { color: #7e978a; text-decoration: none; font-size: 0.95rem; }
.article__back a:hover { color: #32A259; }

/* Blog index */
.blog-index__header { text-align: center; margin: 0 auto 42px; max-width: 640px; }
.blog-index__header h1 { font-size: clamp(2rem, 5vw, 2.9rem); color: #fff; margin: 0 0 12px; font-weight: 800; }
.blog-index__header p { color: #A8BFB0; font-size: 1.08rem; margin: 0; line-height: 1.7; }

.post-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 720px) { .post-grid { grid-template-columns: 1fr 1fr; } }

.post-card {
  display: flex; flex-direction: column;
  background: #162119; border: 1px solid #1f3128; border-radius: 16px;
  padding: 26px; text-decoration: none;
  transition: transform 250ms cubic-bezier(0.23,1,0.32,1), border-color 250ms ease, box-shadow 250ms ease;
}
.post-card:hover { transform: translateY(-4px); border-color: #32A259; box-shadow: 0 14px 34px -18px rgba(50,162,89,0.5); }
.post-card__tag { display: inline-block; align-self: flex-start; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: #32A259; background: rgba(50,162,89,0.12); border: 1px solid rgba(50,162,89,0.3); padding: 3px 10px; border-radius: 999px; margin-bottom: 14px; }
.post-card__title { color: #fff; font-size: 1.28rem; line-height: 1.4; margin: 0 0 12px; font-weight: 700; }
.post-card__excerpt { color: #A8BFB0; font-size: 0.96rem; line-height: 1.7; margin: 0 0 18px; flex: 1; }
.post-card__more { color: #4ec77d; font-weight: 600; font-size: 0.95rem; }

.blog-page .footer { margin-top: 40px; }
