/* Blog Global Styles */

.blog-content {
  color: #333;
  font-size: 1.125rem;
  line-height: 1.8;
  max-width: 100%;
}

.blog-content h1, 
.blog-content h2, 
.blog-content h3, 
.blog-content h4, 
.blog-content h5, 
.blog-content h6 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
}

.blog-content h1 {
  font-size: 2.25rem;
}

.blog-content h2 {
  font-size: 1.875rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}

.blog-content h3 {
  font-size: 1.5rem;
}

.blog-content h4 {
  font-size: 1.25rem;
}

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

.blog-content a {
  color: #D00B0E;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-content a:hover {
  color: #A90A0C;
}

.blog-content ul, 
.blog-content ol {
  margin: 1.5rem 0 1.5rem 2rem;
}

.blog-content ul {
  list-style-type: disc;
}

.blog-content ol {
  list-style-type: decimal;
}

.blog-content li {
  margin-bottom: 0.5rem;
}

.blog-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid #D00B0E;
  background-color: #f9f9f9;
  font-style: italic;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto;
  border-radius: 0.375rem;
}

.blog-content pre {
  background-color: #f1f1f1;
  padding: 1rem;
  border-radius: 0.375rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.blog-content code {
  font-family: monospace;
  background-color: #f1f1f1;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.9em;
}

.blog-content hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid #eee;
}

.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.blog-content th, 
.blog-content td {
  border: 1px solid #ddd;
  padding: 0.75rem;
  text-align: left;
}

.blog-content th {
  background-color: #f5f5f5;
  font-weight: 600;
}

/* Numbered lists like in the screenshot */
.blog-content ol.steps {
  counter-reset: step;
  list-style-type: none;
  margin-left: 0;
}

.blog-content ol.steps > li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
  counter-increment: step;
}

.blog-content ol.steps > li::before {
  content: counter(step) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #D00B0E;
}

/* For step numbers with headings */
.blog-content h2.numbered,
.blog-content h3.numbered {
  display: flex;
  align-items: center;
  counter-increment: step;
}

.blog-content h2.numbered::before,
.blog-content h3.numbered::before {
  content: counter(step) ".";
  font-weight: 700;
  color: #D00B0E;
  margin-right: 0.5rem;
}

.blog-content h2.numbered {
  counter-reset: step;
}