/* Medium-like Article Styles */
.article-content {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.25rem;
  line-height: 1.8;
  color: #222;
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  padding: 0;
}

.article-content h1, .article-content h2, .article-content h3 {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.article-content h1 { font-size: 2.5rem; }
.article-content h2 { font-size: 2rem; }
.article-content h3 { font-size: 1.5rem; }

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content img {
  display: block;
  max-width: 100%;
  margin: 2rem auto;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

.article-content blockquote {
  border-left: 4px solid #e6e6e6;
  margin: 2rem 0;
  padding: 1rem 2rem;
  background: #fafafa;
  font-style: italic;
  color: #555;
}

.article-content ul, .article-content ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.article-content pre {
  background: #f6f8fa;
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.article-content code {
  background: #f6f8fa;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 1em;
}

.display-4 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1.2rem;
  line-height: 1.1;
}

@media (max-width: 768px) {
  .article-content {
    font-size: 1.05rem;
    padding: 0 0.5rem;
  }
  .display-4 {
    font-size: 2rem;
  }
}

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}


