.page-blog {
    background-color: #F4F7FB; /* Background */
    color: #1F2D3D; /* Text Main */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for main content, body handles --header-offset */
}

.page-blog__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.page-blog__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
    background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); /* Blue White gradient */
    color: #FFFFFF;
}

.page-blog__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image width */
    margin-bottom: 20px;
}

.page-blog__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Ensure image is not too small */
    min-height: 200px; /* Ensure image is not too small */
}

.page-blog__hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.page-blog__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: #FFFFFF;
    /* No fixed font-size, rely on browser defaults and responsiveness */
    /* clamp(min, preferred, max) for responsive H1 if needed, but not fixed */
}

.page-blog__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #FFFFFF;
}

.page-blog__cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    color: #FFFFFF;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 200px; /* Ensure button is not too small */
    text-align: center;
}

.page-blog__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Recent Posts Section */
.page-blog__recent-posts-section {
    padding: 60px 0;
}

.page-blog__section-title {
    font-size: 2.2em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #1F2D3D; /* Text Main */
}

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

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

.page-blog__post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-blog__post-thumbnail {
    width: 100%;
    height: 225px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Ensure image is not too small */
    min-height: 200px; /* Ensure image is not too small */
}

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

.page-blog__post-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000000; /* Custom Color_1776249996415 */
    min-height: 60px; /* Ensure some height for title */
}

.page-blog__post-meta {
    font-size: 0.9em;
    color: #6FA3FF; /* Auxiliary color for meta */
    margin-bottom: 15px;
}

.page-blog__post-excerpt {
    font-size: 1em;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 15px;
    line-height: 1.5;
}

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

.page-blog__read-more:hover {
    color: #4A8BFF; /* Lighter shade on hover */
}

.page-blog__view-all {
    text-align: center;
}

/* CTA Section */
.page-blog__cta-section {
    background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); /* Blue White gradient */
    padding: 60px 0;
    color: #FFFFFF;
    text-align: center;
}

.page-blog__cta-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-blog__cta-text-wrapper {
    max-width: 700px;
}

.page-blog__cta-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-blog__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #FFFFFF;
}

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

.page-blog__cta-image-wrapper {
    width: 100%;
    max-width: 600px;
}

.page-blog__cta-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Ensure image is not too small */
    min-height: 200px; /* Ensure image is not too small */
}

/* Responsive adjustments */
@media (min-width: 769px) {
    .page-blog__hero-section {
        flex-direction: row;
        text-align: left;
        padding: 60px 40px;
        justify-content: center;
        gap: 40px;
    }
    .page-blog__hero-image-wrapper {
        flex: 1;
        max-width: 600px; /* Adjust as needed */
        margin-bottom: 0;
    }
    .page-blog__hero-content {
        flex: 1;
        max-width: 600px; /* Adjust as needed */
        padding: 0;
    }
    .page-blog__cta-content-wrapper {
        flex-direction: row;
        text-align: left;
        justify-content: center;
    }
    .page-blog__cta-text-wrapper {
        flex: 1;
        max-width: 600px;
    }
    .page-blog__cta-image-wrapper {
        flex: 1;
        max-width: 600px;
    }
    .page-blog__main-title {
        font-size: clamp(2.5em, 4vw, 3.5em); /* Example clamp for H1 */
    }
    .page-blog__section-title {
        font-size: 2.8em;
    }
    .page-blog__cta-title {
        font-size: clamp(2em, 3.5vw, 3em);
    }
}

@media (max-width: 768px) {
    .page-blog__container {
        padding: 15px;
    }

    .page-blog__hero-section {
        padding: 30px 15px;
    }

    .page-blog__main-title {
        font-size: 2em;
    }

    .page-blog__description {
        font-size: 1em;
    }

    .page-blog__section-title {
        font-size: 1.8em;
    }

    .page-blog__posts-grid {
        grid-template-columns: 1fr;
    }

    .page-blog__post-title {
        font-size: 1.1em;
    }

    .page-blog__cta-section {
        padding: 40px 15px;
    }

    .page-blog__cta-title {
        font-size: 2em;
    }
    
    /* Mobile overflow prevention */
    .page-blog img {
        max-width: 100%;
        height: auto;
    }
    .page-blog {
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
}

/* Ensure content area images are not too small */
.page-blog__hero-image,
.page-blog__post-thumbnail,
.page-blog__cta-image {
    min-width: 200px;
    min-height: 200px;
}

/* No CSS filters on images */
.page-blog img {
    filter: none;
}