/* =============================================
   BLOG LIST PAGE
   ============================================= */

.blog-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.blog-page h1 {
  font-size: 28px;
  font-weight: 800;
  color: #252601;
  margin-bottom: 4px;
}

.blog-page .page-subtitle {
  color: rgba(0,0,0,0.45);
  font-size: 14px;
  margin-bottom: 40px;
}

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  background: #252601;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}

.blog-card-cover {
  width: 200px;
  height: 140px;
  object-fit: cover;
  display: block;
  background: #1e1f00;
}

.blog-card-cover-placeholder {
  width: 200px;
  height: 140px;
  background: linear-gradient(135deg, #1e1f00, #2e3000);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.blog-card-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-card-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--primary);
  background: rgba(232,200,32,0.12);
  padding: 2px 8px;
  border-radius: 20px;
}

.blog-card-date {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.blog-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

.blog-card-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-empty {
  background: #252601;
  border-radius: 14px;
  padding: 64px 36px;
  text-align: center;
  color: rgba(255,255,255,0.4);
}

.blog-empty .icon { font-size: 48px; margin-bottom: 16px; }
.blog-empty h2 { font-size: 18px; font-weight: 700; color: rgba(255,255,255,0.7); margin-bottom: 8px; }

/* =============================================
   ARTICLE PAGE
   ============================================= */

.article-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #252601;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.6;
  margin-bottom: 32px;
  text-decoration: none;
}
.article-back:hover { opacity: 1; }

.article-header { margin-bottom: 32px; }

.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.article-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--primary);
  background: rgba(232,200,32,0.15);
  padding: 2px 10px;
  border-radius: 20px;
}

.article-date {
  font-size: 13px;
  color: rgba(0,0,0,0.4);
}

.article-wrap h1 {
  font-size: 32px;
  font-weight: 800;
  color: #252601;
  line-height: 1.25;
  margin-bottom: 14px;
}

.article-lead {
  font-size: 17px;
  color: rgba(0,0,0,0.55);
  line-height: 1.65;
  margin-bottom: 28px;
}

.article-cover {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 36px;
  display: block;
}

.article-body {
  background: #252601;
  border-radius: 14px;
  padding: 36px;
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  line-height: 1.8;
}

.article-body h2 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 32px 0 12px;
}

.article-body h2:first-child { margin-top: 0; }

.article-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin: 24px 0 8px;
}

.article-body p { margin-bottom: 16px; }

.article-body a { color: var(--primary); text-decoration: underline; }

.article-body ul, .article-body ol {
  padding-left: 22px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article-body img {
  width: 100%;
  border-radius: 10px;
  margin: 20px 0;
}

.article-body blockquote {
  border-left: 3px solid var(--primary);
  padding: 10px 18px;
  margin: 20px 0;
  background: rgba(232,200,32,0.06);
  border-radius: 0 8px 8px 0;
  color: rgba(255,255,255,0.6);
  font-style: italic;
}

.article-body code {
  background: rgba(255,255,255,0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 13px;
}

.article-cta {
  margin: 48px 0 0;
  padding: 40px 32px;
  background: #252601;
  border-radius: 16px;
  text-align: center;
}

.article-cta h3 {
  font-size: 24px;
  font-weight: 800;
  color: #EAF205;
  margin: 0 0 10px;
}

.article-cta p {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  margin: 0 0 24px;
}

.article-cta a {
  display: inline-block;
  background: #EAF205;
  color: #252601;
  font-weight: 800;
  font-size: 16px;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 20px rgba(37,38,1,0.25);
}

.article-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,38,1,0.35);
}

/* Related articles block */
.article-related {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.article-related h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin: 0 0 12px;
}

.article-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article-related ul li a {
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none !important;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-related ul li a::before {
  content: '→';
  color: var(--primary);
  font-size: 12px;
}

.article-related ul li a:hover {
  color: #fff !important;
}

@media (max-width: 600px) {
  .blog-card { grid-template-columns: 1fr; }
  .blog-card-cover, .blog-card-cover-placeholder { width: 100%; }
  .article-wrap h1 { font-size: 24px; }
  .article-body { padding: 24px 18px; }
  .article-cta { padding: 28px 20px; }
  .article-cta h3 { font-size: 20px; }
}
