/* ── Blog Styles (extends /style.css) ──────────────────────────── */

/* Article Layout */
.article-container {
  max-width: 720px;
  width: 100%;
  padding: 40px 24px 80px;
  line-height: 1.8;
}

.article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 32px;
  font-size: 14px;
  color: #8899AA;
}

.article-meta time {
  color: #D4A843;
  font-weight: 500;
}

.article-meta .reading-time {
  opacity: 0.7;
}

.article-meta .category {
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.2);
  color: #D4A843;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.article-container h1 {
  color: #F5E6C8;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #F5E6C8 0%, #D4A843 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.article-container .article-subtitle {
  font-size: 1.15rem;
  color: #8899AA;
  margin-bottom: 40px;
  line-height: 1.6;
}

.article-container h2 {
  color: #D4A843;
  font-size: 1.4rem;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212, 168, 67, 0.1);
}

.article-container h3 {
  color: #E8B94B;
  font-size: 1.1rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.article-container p {
  margin-bottom: 1.2rem;
  color: #d6cbb3;
  font-size: 1rem;
}

.article-container ul,
.article-container ol {
  margin-bottom: 1.2rem;
  padding-left: 1.5rem;
}

.article-container li {
  margin-bottom: 0.5rem;
  color: #d6cbb3;
}

.article-container a {
  color: #E8B94B;
  text-decoration: none;
}

.article-container a:hover {
  text-decoration: underline;
}

.article-container strong {
  color: #F5E6C8;
  font-weight: 600;
}

/* Table of Contents */
.toc {
  background: linear-gradient(135deg, #1A2740 0%, #162236 100%);
  border: 1px solid rgba(212, 168, 67, 0.1);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 40px;
}

.toc-title {
  font-size: 14px;
  font-weight: 700;
  color: #D4A843;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.toc ol {
  padding-left: 1.2rem;
  margin: 0;
}

.toc li {
  margin-bottom: 6px;
  color: #8899AA;
  font-size: 0.95rem;
}

.toc a {
  color: #8899AA;
  text-decoration: none;
  transition: color 0.2s;
}

.toc a:hover {
  color: #D4A843;
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, #1A2740 0%, #162236 100%);
  border-left: 3px solid #D4A843;
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
}

.highlight-box p {
  margin-bottom: 0;
  font-style: italic;
}

/* Article CTA */
.article-cta {
  background: linear-gradient(135deg, #1A2740 0%, #162236 100%);
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  margin-top: 48px;
}

.article-cta h3 {
  font-size: 1.3rem;
  color: #F5E6C8;
  margin-bottom: 12px;
  margin-top: 0;
}

.article-cta p {
  color: #8899AA;
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.article-cta .cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #D4A843 0%, #E8B94B 100%);
  color: #0A1628;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.25);
  border: none;
  cursor: pointer;
}

.article-cta .cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 168, 67, 0.35);
  text-decoration: none;
}

/* Blog Index */
.blog-index {
  max-width: 720px;
  width: 100%;
  padding: 40px 24px 80px;
}

.blog-index h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #F5E6C8 0%, #D4A843 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-index .blog-intro {
  color: #8899AA;
  font-size: 1.05rem;
  margin-bottom: 48px;
  line-height: 1.6;
}

.blog-card {
  display: block;
  background: linear-gradient(135deg, #1A2740 0%, #162236 100%);
  border: 1px solid rgba(212, 168, 67, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  margin-bottom: 20px;
  text-decoration: none;
  transition: border-color 0.3s, transform 0.3s;
}

.blog-card:hover {
  border-color: rgba(212, 168, 67, 0.25);
  transform: translateY(-2px);
  text-decoration: none;
}

.blog-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #F5E6C8;
  margin-bottom: 8px;
  border: none;
  padding: 0;
  margin-top: 0;
}

.blog-card p {
  font-size: 0.95rem;
  color: #8899AA;
  line-height: 1.6;
  margin-bottom: 12px;
}

.blog-card .card-meta {
  font-size: 13px;
  color: #D4A843;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  .article-container h1 { font-size: 1.7rem; }
  .article-container { padding: 24px 16px 60px; }
  .blog-index { padding: 24px 16px 60px; }
  .blog-index h1 { font-size: 1.6rem; }
  .article-cta { padding: 28px 20px; }
}
