.page-blog__hero-section {
    background-color: #F4F7FB; /* Background color for the section */
    padding-top: 10px; /* Small top padding as per rule 5. */
}

.page-blog__hero-image-wrapper {
    max-width: 1390px; /* Match content width */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px; /* Optional: slight round corners */
    margin-bottom: 20px; /* Space between image and content */
}

.page-blog__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Limit height for aesthetic */
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-blog__hero-content {
    text-align: center;
    padding: 0 20px 40px; /* Padding for content, bottom padding to separate from next section */
    max-width: 900px; /* Constrain content width */
    margin: 0 auto;
}

.page-blog__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #1F2D3D; /* Main text color */
    margin-bottom: 15px;
    /* Using clamp for font-size as per rule, avoiding fixed large sizes */
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-blog__description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #1F2D3D; /* Main text color */
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-blog__cta-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.page-blog__cta-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%); /* Slightly reverse gradient on hover */
}

.page-blog__posts-section {
    max-width: 1390px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-blog__section-title {
    font-size: 2rem;
    color: #1F2D3D;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

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

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

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

.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; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

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

.page-blog__post-date {
    display: block;
    font-size: 0.85rem;
    color: #6FA3FF; /* Auxiliary color for date */
    margin-bottom: 10px;
}

.page-blog__post-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #1F2D3D; /* Main text color */
    margin-bottom: 10px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.page-blog__post-link:hover .page-blog__post-title {
    color: #2F6BFF; /* Primary color on hover */
}

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

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

.page-blog__read-more:hover {
    color: #6FA3FF; /* Auxiliary color on hover */
}

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

.page-blog__view-all-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.page-blog__view-all-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-blog__hero-content {
        padding: 0 15px 30px; /* Adjust padding */
    }

    .page-blog__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 10px;
    }

    .page-blog__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-blog__posts-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }

    .page-blog__posts-section {
        margin: 30px auto;
        padding: 0 15px;
    }

    .page-blog__section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    /* Ensure content images are not too small and are responsive */
    .page-blog__post-thumbnail {
        max-width: 100%;
        height: auto; /* Allow height to adjust for mobile */
        min-width: 200px; /* Enforce minimum width as per rule */
        min-height: 200px; /* Enforce minimum height as per rule */
    }
}