/* 1. Load Open Sans for article content only */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

/* 2. Main article container */
.single-post .entry-content,
.single-post .post-content,
.page .entry-content,
.page .post-content {
    font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    /*max-width: 780px;*/              /* shorter line length for readability */
    /*margin: 0 auto 3rem auto;*/      /* center content in the page */
    font-size: 1.05rem;
    line-height: 1.7;
    color: #222;
}

/* Slightly larger font on bigger screens */
@media (min-width: 992px) {
    .single-post .entry-content,
    .single-post .post-content,
    .page .entry-content,
    .page .post-content {
        font-size: 1.1rem;
    }
}

/* 3. Headings inside article */
.single-post .entry-content h1,
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4,
.single-post .post-content h1,
.single-post .post-content h2,
.single-post .post-content h3,
.single-post .post-content h4,
.page .entry-content h1,
.page .entry-content h2,
.page .entry-content h3,
.page .entry-content h4,
.page .post-content h1,
.page .post-content h2,
.page .post-content h3,
.page .post-content h4 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2.2rem;
    margin-bottom: 0.9rem;
}

.single-post .entry-content h1,
.single-post .post-content h1,
.page .entry-content h1,
.page .post-content h1 {
    font-size: 2.1rem;
}

.single-post .entry-content h2,
.single-post .post-content h2,
.page .entry-content h2,
.page .post-content h2 {
    font-size: 1.6rem;
    /*border-bottom: 1px solid #e5e5e5;*/
    padding-bottom: 0.4rem;
}

.single-post .entry-content h3,
.single-post .post-content h3,
.page .entry-content h3,
.page .post-content h3 {
    font-size: 1.3rem;
}

/* 4. Paragraph spacing */
.single-post .entry-content p,
.single-post .post-content p,
.page .entry-content p,
.page .post-content p {
    margin-bottom: 1.1rem;
}

/* 5. Lists: more breathing room */
.single-post .entry-content ul,
.single-post .entry-content ol,
.single-post .post-content ul,
.single-post .post-content ol,
.page .entry-content ul,
.page .entry-content ol,
.page .post-content ul,
.page .post-content ol {
    padding-left: 1.4rem;
    margin-bottom: 1.2rem;
}

.single-post .entry-content li + li,
.single-post .post-content li + li,
.page .entry-content li + li,
.page .post-content li + li {
    margin-top: 0.3rem;
}

/* 6. Blockquotes */
.single-post .entry-content blockquote,
.single-post .post-content blockquote,
.page .entry-content blockquote,
.page .post-content blockquote {
    border-left: 4px solid #007bff;
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: #555;
    font-style: italic;
    background: #f8f9fa;
}

/* 7. Images in article: full width but not too huge */
.single-post .entry-content img,
.single-post .post-content img,
.page .entry-content img,
.page .post-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
    border-radius: 0.25rem;
}

/* 8. Tables: basic readable style */
.single-post .entry-content table,
.single-post .post-content table,
.page .entry-content table,
.page .post-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.single-post .entry-content th,
.single-post .entry-content td,
.single-post .post-content th,
.single-post .post-content td,
.page .entry-content th,
.page .entry-content td,
.page .post-content th,
.page .post-content td {
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
}

.single-post .entry-content th,
.single-post .post-content th,
.page .entry-content th,
.page .post-content th {
    background: #f1f3f5;
    font-weight: 600;
}

/* 9. Meta / small text inside article */
.single-post .entry-content small,
.single-post .post-content small,
.page .entry-content small,
.page .post-content small {
    font-size: 0.85rem;
    color: #777;
}

