* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #384e52;
    background: #fff;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #1B4D3E;
    text-decoration: none;
}

/* ── Header ── */
.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2.5rem;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.blog-logo img {
    height: 52px;
    width: auto;
}

.blog-nav {
    display: flex;
    gap: 2rem;
}

.blog-nav a {
    color: #384e52;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.blog-nav a:hover,
.blog-nav a.active {
    color: #1B4D3E;
}

/* ── Blog Index ── */
.blog-index {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 5rem;
}

.blog-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.blog-hero h1 {
    font-size: 2.8rem;
    color: #1B4D3E;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.blog-hero p {
    font-size: 1.15rem;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.post-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8ede8;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #384e52;
}

.post-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.04);
}

.post-card-body {
    padding: 1.6rem 1.8rem 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(27, 77, 62, 0.1);
    border-color: #d4ead4;
}

.category-tag {
    display: inline-block;
    background: #e8f5e9;
    color: #1B4D3E;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: fit-content;
    margin-bottom: 1rem;
}

.post-card h2 {
    font-size: 1.3rem;
    color: #1B4D3E;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.8rem;
}

.post-excerpt {
    font-size: 0.95rem;
    color: #5a6770;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.2rem;
}

.post-meta {
    font-size: 0.82rem;
    color: #7a8890;
    margin-bottom: 0.8rem;
}

.read-more {
    color: #1B4D3E;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ── Individual Blog Post ── */
.blog-article {
    max-width: 780px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
}

.breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: #7a8890;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #1B4D3E;
}

.blog-article h1 {
    font-size: 2.4rem;
    color: #1B4D3E;
    font-weight: 700;
    line-height: 1.2;
    margin: 1rem 0 1rem;
    letter-spacing: -0.5px;
}

.article-meta {
    color: #7a8890;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.featured-image {
    width: 100%;
    max-height: 440px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e8ede8;
}

.featured-image img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #384e52;
}

.article-body p {
    margin-bottom: 1.4rem;
}

.article-body h2 {
    font-size: 1.65rem;
    color: #1B4D3E;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    letter-spacing: -0.3px;
}

.article-body h3 {
    font-size: 1.3rem;
    color: #1B4D3E;
    font-weight: 600;
    margin: 2rem 0 0.8rem;
}

.article-body h4 {
    font-size: 1.1rem;
    color: #2d6a4a;
    font-weight: 600;
    margin: 1.8rem 0 0.6rem;
}

.article-body ul {
    margin: 1.2rem 0 1.5rem 1.5rem;
}

.article-body .body-image {
    margin: 2rem 0 2.2rem;
    max-width: 100%;
}

.article-body .body-image img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(27, 77, 62, 0.08);
}

.article-body li {
    margin-bottom: 0.7rem;
}

.article-body a {
    color: #1B4D3E;
    text-decoration: underline;
}

/* ── Article CTA ── */
.article-cta {
    margin-top: 4rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #f5faf8 0%, #eef7f3 100%);
    border: 1px solid #d4ead4;
    border-radius: 12px;
    text-align: center;
}

/* Mid-article variant: tighter padding, normal margin (not trailing) */
.article-cta.article-cta-mid {
    margin: 2.5rem 0;
    padding: 2rem 2rem;
}

.article-cta h3 {
    font-size: 1.5rem;
    color: #1B4D3E;
    margin-bottom: 0.6rem;
}

.article-cta p {
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: linear-gradient(135deg, #3d9a5f 0%, #2d7a4a 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(61, 154, 95, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(61, 154, 95, 0.4);
    color: #fff;
}

/* ── Footer ── */
.blog-footer {
    background: linear-gradient(135deg, #1B4D3E 0%, #2d6a4a 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: 2.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
}

.blog-footer a {
    color: rgba(255, 255, 255, 0.8);
    margin-left: 1.5rem;
    transition: color 0.2s;
}

.blog-footer a:hover {
    color: #fff;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .blog-header {
        padding: 0.7rem 1rem;
        gap: 0.5rem;
    }
    .blog-logo img {
        height: 40px;
    }
    .blog-nav {
        gap: 0.9rem;
    }
    .blog-nav a {
        font-size: 0.82rem;
        white-space: nowrap;
    }
    .blog-index {
        padding: 2.2rem 1.4rem 3.5rem;
    }
    .blog-hero {
        margin-bottom: 2.5rem;
    }
    .blog-hero h1 {
        font-size: 1.85rem;
        line-height: 1.15;
        margin-bottom: 0.8rem;
    }
    .blog-hero p {
        font-size: 0.98rem;
        line-height: 1.6;
    }
    .post-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }
    .blog-article {
        padding: 1.8rem 1.4rem 3.5rem;
    }
    .blog-article .breadcrumb {
        margin-bottom: 1rem;
    }
    .blog-article h1 {
        font-size: 1.7rem;
        line-height: 1.25;
        margin: 0.8rem 0 0.6rem;
    }
    .article-meta {
        font-size: 0.85rem;
        margin-bottom: 1.4rem;
    }
    .featured-image {
        max-height: 240px;
        margin-bottom: 1.8rem;
        padding-bottom: 1.4rem;
    }
    .featured-image img {
        max-height: 220px;
    }
    .post-card-image {
        height: 170px;
    }
    .post-card-body {
        padding: 1.3rem 1.4rem 1.5rem;
    }
    .post-card h2 {
        font-size: 1.18rem;
        line-height: 1.3;
    }
    .post-excerpt {
        font-size: 0.92rem;
    }
    .article-body {
        font-size: 1rem;
        line-height: 1.75;
    }
    .article-body p {
        margin-bottom: 1.1rem;
    }
    .article-body h2 {
        font-size: 1.35rem;
        margin: 2rem 0 0.8rem;
    }
    .article-body h3 {
        font-size: 1.15rem;
        margin: 1.6rem 0 0.6rem;
    }
    .article-body h4 {
        font-size: 1.02rem;
        margin: 1.4rem 0 0.5rem;
    }
    .article-body ul {
        margin-left: 1.2rem;
    }
    .article-body .body-image {
        margin: 1.6rem 0 1.8rem;
    }
    .article-body .body-image img {
        max-height: 260px;
        border-radius: 8px;
    }
    .article-cta {
        margin-top: 2.8rem;
        padding: 2rem 1.4rem;
    }
    .article-cta.article-cta-mid {
        margin: 2rem 0;
        padding: 1.6rem 1.4rem;
    }
    .article-cta h3 {
        font-size: 1.25rem;
    }
    .article-cta p {
        font-size: 0.95rem;
    }
    .btn-primary {
        padding: 0.85rem 1.8rem;
        font-size: 0.92rem;
    }
    .blog-footer {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
        padding: 1.8rem 1.4rem;
        font-size: 0.82rem;
    }
    .blog-footer nav a {
        margin: 0 0.6rem;
    }
}

/* Extra-small screens: hide "Home" link in header (logo already goes home) */
@media (max-width: 420px) {
    .blog-nav a[href="index.html"]:not(.active) {
        display: none;
    }
}
