body {
    background-color: #08160F;
    color: #F2FFF6;
}

.page-blog__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    text-align: center;
    overflow: hidden;
}

.page-blog__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit hero image height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.page-blog__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-blog__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-blog__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #F2FFF6;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-blog__description {
    font-size: 1.1em;
    color: #A7D9B8;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog__cta-button {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-blog__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-blog__posts-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #08160F;
}

.page-blog__section-title {
    font-size: 2.5em;
    color: #F2C14E; /* Gold color for section titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-blog__posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-blog__post-card {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2E7A4E; /* Border color */
}

.page-blog__post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(17, 168, 78, 0.3);
}

.page-blog__post-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: block;
}

.page-blog__post-image {
    width: 100%;
    height: 225px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-blog__post-content {
    padding: 20px;
}

.page-blog__post-date {
    font-size: 0.9em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 10px;
}

.page-blog__post-title {
    font-size: 1.4em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-blog__post-title:hover {
    color: #22C768; /* Accent color on hover */
}

.page-blog__post-excerpt {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
    line-height: 1.6;
}

.page-blog__read-more {
    display: inline-block;
    color: #2AD16F; /* Button primary color */
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-blog__read-more:hover {
    color: #57E38D; /* Glow color on hover */
}

.page-blog__view-all-wrapper {
    text-align: center;
    margin-top: 50px;
}

.page-blog__view-all-button {
    display: inline-block;
    padding: 12px 35px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-blog__view-all-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-blog__cta-section {
    background-color: #0A4B2C; /* Deep Green */
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid #1E3A2A; /* Divider */
}

.page-blog__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-blog__cta-title {
    font-size: 2.2em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-blog__cta-description {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 40px;
    line-height: 1.6;
}

.page-blog__cta-button--large {
    padding: 15px 40px;
    font-size: 1.2em;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-blog__main-title {
        font-size: 2.8em;
    }
    .page-blog__section-title {
        font-size: 2em;
    }
    .page-blog__cta-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-blog__hero-image-wrapper {
        max-height: 400px;
    }
    .page-blog__main-title {
        font-size: clamp(2em, 8vw, 2.5em); /* Using clamp for H1 */
    }
    .page-blog__description {
        font-size: 1em;
    }
    .page-blog__posts-grid {
        grid-template-columns: 1fr;
    }
    .page-blog__post-image {
        height: 200px; /* Ensure minimum height for images */
    }
    .page-blog__post-card img, .page-blog__hero-section img {
        max-width: 100%;
        height: auto;
    }
    .page-blog__section-title {
        font-size: 1.8em;
    }
    .page-blog__cta-title {
        font-size: 1.6em;
    }
    .page-blog__cta-button--large {
        font-size: 1.1em;
        padding: 12px 30px;
    }
    /* Ensure content area images are not smaller than 200px */
    .page-blog__posts-section img {
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-blog__hero-image-wrapper {
        max-height: 250px;
    }
    .page-blog__hero-section, .page-blog__posts-section, .page-blog__cta-section {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-blog__cta-button, .page-blog__view-all-button {
        padding: 10px 20px;
        font-size: 1em;
    }
}

/* Ensure no image filter is applied */
.page-blog__hero-image, .page-blog__post-image {
    filter: none;
}