.blog-post {margin: 50px 0px;}

.entry-content {
  color: #1f2937;
  font-size: 1.125rem; /* 18px desktop */
  line-height: 1.75;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

/* Paragraphs */
.entry-content p {
  margin: 0 0 1.5em;
}

/* Headings */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: #111827;
  font-weight: 700;
  line-height: 1.2;
  margin: 1em 0 1em;
  letter-spacing: -0.02em;
}

.entry-content h1 {
  font-size: 2.5rem; /* 40px */
}

.entry-content h2 {
  font-size: 2rem; /* 32px */
}

.entry-content h3 {
  font-size: 1.5rem; /* 24px */
}

.entry-content h4 {
  font-size: 1.25rem; /* 20px */
}

.entry-content h5 {
  font-size: 1.125rem; /* 18px */
}

.entry-content h6 {
  font-size: 1rem; /* 16px */
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Lists */
.entry-content ul,
.entry-content ol {
  margin: 0 0 1.5em 1.5em;
  padding: 0;
}

.entry-content li {
  margin-bottom: 0.5em;
}

.entry-content li > ul,
.entry-content li > ol {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

/* Links */
.entry-content a {
  color: #0f62fe;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  text-decoration-thickness: 0.08em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.entry-content a:hover,
.entry-content a:focus {
  color: #084cdf;
  text-decoration-color: currentColor;
}

.entry-content a:focus-visible {
  outline: 2px solid #084cdf;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Strong / emphasis */
.entry-content strong {
  font-weight: 700;
  color: #111827;
}

.entry-content em {
  font-style: italic;
}

/* Blockquote */
.entry-content blockquote {
  margin: 2em 0;
  padding: 0.25em 0 0.25em 1.25em;
  border-left: 4px solid #d1d5db;
  color: #374151;
  font-size: 1.125em;
}

.entry-content blockquote p:last-child {
  margin-bottom: 0;
}

/* Images */
.entry-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 2em 0;
  border-radius: 0.25rem;
}

.entry-content figure {
  margin: 2em 0;
}

.entry-content figcaption {
  margin-top: 0.75em;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #6b7280;
}

/* Horizontal rule */
.entry-content hr {
  margin: 2.5em 0;
  border: 0;
  border-top: 1px solid #e5e7eb;
}

/* Code */
.entry-content code {
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9em;
  background: #f3f4f6;
  padding: 0.15em 0.35em;
  border-radius: 0.25rem;
}

.entry-content pre {
  margin: 2em 0;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  background: #111827;
  color: #f9fafb;
  border-radius: 0.5rem;
}

.entry-content pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

/* Tables */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 0.95em;
}

.entry-content th,
.entry-content td {
  padding: 0.875rem 1rem;
  border: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
}

.entry-content th {
  background: #f9fafb;
  font-weight: 700;
  color: #111827;
}

/* Utility spacing for common Gutenberg/classic editor blocks */
.entry-content .wp-block-image,
.entry-content .wp-block-quote,
.entry-content .wp-block-code,
.entry-content .wp-block-table {
  margin: 2em 0;
}

/* ========================================
   TABLET
======================================== */
@media (max-width: 1024px) {
  .entry-content {
    font-size: 1.0625rem; /* 17px */
    line-height: 1.7;
  }

  .entry-content h1 {
    font-size: 2.125rem; /* 34px */
  }

  .entry-content h2 {
    font-size: 1.75rem; /* 28px */
  }

  .entry-content h3 {
    font-size: 1.375rem; /* 22px */
  }

  .entry-content h4 {
    font-size: 1.1875rem; /* 19px */
  }

  .entry-content h5 {
    font-size: 1.0625rem; /* 17px */
  }

  .entry-content h6 {
    font-size: 0.9375rem; /* 15px */
  }

  .entry-content p,
  .entry-content ul,
  .entry-content ol,
  .entry-content blockquote,
  .entry-content pre,
  .entry-content table,
  .entry-content figure,
  .entry-content hr {
    margin-bottom: 1.35em;
  }
}

/* ========================================
   MOBILE
======================================== */
@media (max-width: 767px) {
  .entry-content {
    font-size: 1rem; /* 16px */
    line-height: 1.65;
  }

  .entry-content h1,
  .entry-content h2,
  .entry-content h3,
  .entry-content h4,
  .entry-content h5,
  .entry-content h6 {
    line-height: 1.25;
    margin-top: 1.6em;
    margin-bottom: 0.65em;
  }

  .entry-content h1 {
    font-size: 1.875rem; /* 30px */
  }

  .entry-content h2 {
    font-size: 1.5rem; /* 24px */
  }

  .entry-content h3 {
    font-size: 1.25rem; /* 20px */
  }

  .entry-content h4 {
    font-size: 1.125rem; /* 18px */
  }

  .entry-content h5,
  .entry-content h6 {
    font-size: 1rem; /* 16px */
  }

  .entry-content ul,
  .entry-content ol {
    margin-left: 1.25em;
  }

  .entry-content blockquote {
    padding-left: 1rem;
    font-size: 1rem;
  }

  .entry-content th,
  .entry-content td {
    padding: 0.75rem;
  }

  .entry-content pre {
    padding: 0.875rem 1rem;
  }
}