/* Blog post styles - shared by all blog article pages */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green: #006B3E;
    --green-light: #e8f5ee;
    --border: #006B3E;
    --white: #ffffff;
}

body {
    font-family: 'Ubuntu', sans-serif;
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    color: #000000;
}

section.blog-page {
    max-width: 860px;
    margin: 50px auto;
    padding: 20px;
}

.blog-article {
    border: 2px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--white);
}

/* Banner */
.blog-article__banner {
    width: 100%;
    height: 340px;
    overflow: hidden;
    position: relative;
}

.blog-article__banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-article__banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 40, 20, 0.55));
}

/* Body */
.blog-article__body {
    padding: 20px;
    border-top: 2px solid var(--border);
}

@media (max-width: 600px) {
    .blog-article__body {
        padding: 24px 18px 32px;
    }

    .blog-article__banner {
        height: 200px;
    }
}

.blog-article__tag {
    display: inline-block;
    background: var(--green-light);
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

/* H1 – bold title matching docx */
.blog-article__title {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    line-height: 1.4;
    color: #000000;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--green-light);
    padding-bottom: 18px;
}

/* H2 – ## headings from docx, bold */
.blog-article__body h2 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin: 30px 0 10px;
    padding-left: 14px;
    border-left: 4px solid var(--green);
}

/* H3 – ### tree name sub-headings from docx, bold */
.blog-article__body h3 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    margin: 20px 0 6px;
}

/* Paragraphs */
.blog-article__body p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 15px;
    line-height: 1.85;
    color: #000000;
    margin-bottom: 14px;
}

/* Unordered list – override global style.css, force circle bullets */
.blog-article__body ul {
    list-style-type: disc !important;
    padding-left: 28px !important;
    margin-bottom: 14px;
}

.blog-article__body ul li {
    font-family: 'Ubuntu', sans-serif;
    font-size: 15px;
    line-height: 1.85;
    color: #000000;
    margin-bottom: 4px;
    list-style-type: disc !important;
}

/* Bold – exact docx bold text */
.blog-article__body strong {
    font-weight: 700;
    color: #000000;
}

/* Back button */
.blog-article__back {
    display: inline-block;
    margin-top: 36px;
    color: var(--green);
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: 2px solid var(--green);
    padding: 9px 22px;
    border-radius: 6px;
    transition: background 0.25s, color 0.25s;
}

.blog-article__back:hover {
    background: var(--green);
    color: var(--white);
}

/* FAQ heading inside blog posts */
.blog-article__body .pn-faq__title {
    border-left: 0;
    padding-left: 0;
    margin-top: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    color: #2d5016;
}

/* Tables inside blog posts */
.pn-table-wrap { overflow-x: auto; margin: 10px 0 18px; }
.pn-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 420px; }
.pn-table th { background: #006B3E; color: #fff; text-align: left; padding: 10px 14px; font-weight: 600; }
.pn-table td { padding: 10px 14px; border-bottom: 1px solid #d6e6cc; color: #333; }
.pn-table tbody tr:nth-child(even) td { background: #f0f7ec; }
.pn-table td:first-child { font-weight: 600; color: #2d5016; white-space: nowrap; }
@media (max-width: 600px) {
    .pn-table { min-width: 0; font-size: 14px; }
    .pn-table th, .pn-table td { padding: 8px 10px; }
    .pn-table td:first-child { white-space: normal; width: 42%; }
}
