/* ============================================================
   BLOG SECTION — shares tokens with style.css
============================================================ */
.blog-hero { background: var(--ink-black); padding: 100px 0 50px; text-align: center; color: #fff; }
.blog-hero h1 { font-size: clamp(30px, 4.5vw, 44px); color: #fff; margin-bottom: 16px; }
html[dir="ltr"] .blog-hero h1 {
  background: linear-gradient(90deg, #ffffff 15%, var(--gold-light) 55%, #ffffff 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.blog-hero p { color: #D7E3DA; max-width: 600px; margin: 0 auto; font-size: 16px; }

.blog-grid-section { background: var(--cream); padding: 60px 0 100px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.blog-card {
  background: var(--cream-card); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(27,85,92,0.12); border-color: var(--gold); }
.blog-card-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card-tag { font-size: 11.5px; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); font-weight: 700; }
html[dir="rtl"] .blog-card-tag { letter-spacing: normal; }
.blog-card h3 { font-size: 17px; color: var(--brand-green); font-weight: 700; line-height: 1.35; }
html[dir="rtl"] .blog-card h3 { line-height: 1.55; }
.blog-card p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
html[dir="rtl"] .blog-card p { line-height: 1.65; }
.blog-card-read { font-size: 13px; font-weight: 700; color: var(--brand-green-light); margin-top: auto; padding-top: 6px; }

/* --- Article page --- */
.article-header { background: var(--ink-black); padding: 105px 0 44px; color: #fff; }
.article-header-inner { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.article-header .guide-breadcrumb { margin-bottom: 16px; }
.article-tag { display: inline-block; font-size: 12px; text-transform: uppercase; letter-spacing: 1.3px; color: var(--gold-light); font-weight: 700; margin-bottom: 12px; }
html[dir="rtl"] .article-tag { letter-spacing: normal; }
.article-header h1 { font-size: clamp(26px, 4vw, 36px); color: #fff; line-height: 1.25; }
html[dir="rtl"] .article-header h1 { line-height: 1.5; }
.article-meta { color: #B9C9C0; font-size: 13.5px; margin-top: 14px; }

.article-body { background: var(--cream); padding: 50px 0 100px; }
.article-inner { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.article-content { background: var(--cream-card); border: 1px solid var(--border); border-radius: 20px; padding: 40px 44px; }
.article-content p { font-size: 15.5px; color: var(--ink); line-height: 1.75; margin-bottom: 18px; }
html[dir="rtl"] .article-content p { line-height: 1.95; }
.article-content h2 { font-size: 21px; color: var(--brand-green); font-weight: 700; margin: 34px 0 14px; }
.article-content ul { margin: 0 0 18px; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 8px; }
.article-content li { font-size: 15px; color: var(--ink); line-height: 1.6; }
html[dir="rtl"] .article-content li { line-height: 1.8; }
.article-cta {
  margin-top: 30px; padding: 24px; border-radius: 14px; background: #F7F3E7;
  border: 1px solid var(--border); text-align: center;
}
.article-cta p { margin-bottom: 14px; font-weight: 600; color: var(--brand-green); }

.blog-nextprev {
  display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; max-width: 720px; margin-inline: auto;
}
.blog-nextprev .guide-nav-link {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--cream-card); max-width: 260px; flex: 1;
  transition: border-color 0.15s ease;
}
.blog-nextprev .guide-nav-link:hover { border-color: var(--gold); }
.blog-nextprev .guide-nav-link.next { text-align: end; margin-inline-start: auto; }
.blog-nextprev .dir-label { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.blog-nextprev .mod-name { font-size: 14.5px; color: var(--brand-green); font-weight: 700; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; padding: 0 20px; }
  .article-content { padding: 26px 22px; }
}
