/* Blog post typography and layout */

.blog-layout {
  display: grid; grid-template-columns: 1fr;
  gap: 40px; max-width: 1200px; margin: 0 auto; padding: 48px 24px;
}
@media (min-width: 1024px) {
  .blog-layout { grid-template-columns: 1fr 320px; }
}
@media (max-width: 767px) { .blog-layout { padding: 32px 16px; } }

/* Article body */
.article-body {
  max-width: 720px;
}

.article-meta {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  margin-bottom: 24px;
}
.article-category {
  background: #EEF2FF; color: #1d40ab;
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 9999px;
}
.article-date { font-size: 12px; color: #6B7280; }
.article-read-time { font-size: 12px; color: #6B7280; }

.article-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 600; line-height: 1.2;
  color: #1530a0; margin-bottom: 20px;
}
@media (max-width: 767px) { .article-title { font-size: 26px; } }

.article-author {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 0; border-top: 1px solid #E5E7EB; border-bottom: 1px solid #E5E7EB;
  margin-bottom: 32px;
}
.author-avatar {
  width: 44px; height: 44px; background: #EEF2FF;
  border-radius: 50%; overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #1530a0; font-size: 20px;
}
.author-name { font-size: 13px; font-weight: 600; color: #1530a0; }
.author-role { font-size: 11px; color: #6B7280; }

.article-featured-img {
  width: 100%; aspect-ratio: 16/9; background: #F8F9FC;
  border: 1px solid #E5E7EB; border-radius: 24px; margin-bottom: 32px;
  display: flex; align-items: center; justify-content: center;
  color: #6B7280; font-size: 13px; overflow: hidden;
}
.article-featured-img img { width: 100%; height: 100%; object-fit: cover; }

/* Article content typography */
.article-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 600;
  color: #1530a0; margin: 36px 0 14px; padding-bottom: 10px;
  border-bottom: 1px solid #E5E7EB;
}
.article-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 600; color: #1530a0;
  margin: 28px 0 12px;
}
.article-content p {
  font-size: 16px; color: #374151; line-height: 1.8; margin-bottom: 20px;
}
.article-content ul, .article-content ol {
  margin: 0 0 20px 20px; padding: 0;
}
.article-content li {
  font-size: 15px; color: #374151; line-height: 1.7; margin-bottom: 8px;
}
.article-content strong { color: #1530a0; font-weight: 600; }
.article-content a { color: #1d40ab; text-decoration: underline; }
.article-content a:hover { color: #1530a0; }

/* Callout box */
.callout {
  background: #FFFFFF; border: 1px solid #E5E7EB; border-left: 3px solid #1d40ab;
  border-radius: 16px;
  padding: 20px 20px 20px 24px;
  margin: 28px 0;
}
.callout.tip { border-left-color: #1d40ab; }
.callout.warning { border-left-color: #b8860b; }
.callout.pro-tip { border-left-color: #6b9b5a; }
.callout-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: #1d40ab; margin-bottom: 8px;
}
.callout.warning .callout-label { color: #b8860b; }
.callout.pro-tip .callout-label { color: #6b9b5a; }
.callout p { font-size: 14px; color: #374151; line-height: 1.7; margin: 0; }

/* Article CTA */
.article-cta {
  background: #F8F9FC; border: 1px solid #E5E7EB; border-radius: 24px;
  padding: 28px; margin: 40px 0; text-align: center;
}
.article-cta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 600;
  color: #1530a0; margin-bottom: 10px;
}
.article-cta p { font-size: 14px; color: #6B7280; margin-bottom: 20px; }

/* Blog list card */
.blog-card {
  background: #FFFFFF; border: 1px solid #E5E7EB;
  border-radius: 20px; overflow: hidden; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover { border-color: #1d40ab; transform: translateY(-4px); box-shadow: 0 16px 36px -10px rgba(29,64,171,0.16); }
.blog-card-img {
  width: 100%; aspect-ratio: 16/9; background: #F8F9FC;
  display: flex; align-items: center; justify-content: center;
  color: #6B7280; font-size: 12px; overflow: hidden;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 20px; }
.blog-card-category {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #1d40ab; margin-bottom: 10px;
}
.blog-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 600;
  color: #1530a0; margin-bottom: 10px; line-height: 1.35;
}
.blog-card p { font-size: 13px; color: #6B7280; line-height: 1.6; margin-bottom: 16px; }
.blog-card-meta { display: flex; justify-content: space-between; align-items: center; }
.blog-card-date { font-size: 11px; color: #8C8678; }
.blog-card-read { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: #1d40ab; text-decoration: none; }
.blog-card-read:hover { color: #1530a0; }

/* Blog sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 28px; }
.sidebar-widget { background: #FFFFFF; border: 1px solid #E5E7EB; border-radius: 20px; padding: 20px; }
.sidebar-widget h3 {
  font-family: 'Playfair Display', serif;
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.01em; color: #1530a0;
  padding-bottom: 12px; border-bottom: 1px solid #E5E7EB; margin-bottom: 16px;
}
.sidebar-widget ul { list-style: none; padding: 0; margin: 0; }
.sidebar-widget ul li {
  padding: 10px 0; border-bottom: 1px solid #F8F9FC;
  font-size: 13px;
}
.sidebar-widget ul li:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-widget ul li a { color: #6B7280; text-decoration: none; transition: color 0.2s; }
.sidebar-widget ul li a:hover { color: #1530a0; }

.related-posts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .related-posts { grid-template-columns: 1fr; } }

.internal-link {
  color: #1d40ab; font-weight: 600; text-decoration: underline;
}
.internal-link:hover { color: #1530a0; }
