.page-blog {
    padding-top: 10px; /* Small top padding for first section, body will handle header offset */
    background-color: var(--page-background-color, #F4F7FB);
    color: var(--text-main-color, #1F2D3D);
}

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

/* Hero Section */
.page-blog__hero-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column; /* Image above, text below */
    align-items: center;
    text-align: center;
    padding-bottom: 30px; /* Space below content */
}

.page-blog__hero-image-wrapper {
    width: 100%;
    margin-bottom: 20px; /* Space between image and text */
}

.page-blog__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

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

.page-blog__main-title {
    font-weight: 700;
    line-height: 1.2;
    color: var(--custom-color-1776249996415, #000000); /* Use Custom Color_1776249996415 for H1 */
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.page-blog__hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 25px;
    color: var(--text-main-color, #1F2D3D);
}

.page-blog__hero-cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-blog__hero-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

/* Blog Posts Section */
.page-blog__posts-section {
    margin-bottom: 60px;
}

.page-blog__section-title {
    text-align: center;
    font-weight: 700;
    font-size: 2.2em;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 40px;
}

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

.page-blog__post-card {
    background-color: var(--card-bg-color, #FFFFFF);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color, #D6E2FF);
}

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

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

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

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

.page-blog__post-title {
    font-size: 1.4em;
    font-weight: 600;
    line-height: 1.4;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 10px;
}

.page-blog__post-excerpt {
    font-size: 0.95em;
    line-height: 1.5;
    color: var(--text-main-color, #1F2D3D);
    margin-bottom: 15px;
}

.page-blog__post-date {
    font-size: 0.85em;
    color: #666; /* Slightly lighter gray for date */
    display: block;
}

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

.page-blog__view-all-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    background: var(--primary-color, #2F6BFF);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.page-blog__view-all-button:hover {
    background-color: var(--auxiliary-color, #6FA3FF);
}

/* CTA Section */
.page-blog__cta-section {
    background: linear-gradient(90deg, #2F6BFF 0%, #6FA3FF 100%);
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 40px;
}

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

.page-blog__cta-title {
    color: #FFFFFF;
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-blog__cta-description {
    color: #E0EFFF; /* Lighter blue for description */
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.page-blog__cta-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    background-color: #FFFFFF;
    color: var(--primary-color, #2F6BFF);
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-blog__cta-button:hover {
    background-color: #F0F5FF;
    transform: translateY(-2px);
}

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

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

    .page-blog__hero-description {
        font-size: 1em;
    }

    .page-blog__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

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

    .page-blog__post-image {
        height: 180px;
    }

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

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

    .page-blog__cta-description {
        font-size: 1em;
    }

    .page-blog__cta-button {
        padding: 10px 20px;
    }

    /* Mobile content area image constraint */
    .page-blog img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-blog__main-title {
        font-size: 1.5em;
    }
    .page-blog__hero-cta-button {
        padding: 10px 20px;
    }
    .page-blog__section-title {
        font-size: 1.5em;
    }
    .page-blog__cta-title {
        font-size: 1.5em;
    }
    .page-blog__cta-button {
        padding: 10px 20px;
    }
}