/* style/blog.css */

.page-blog {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light backgrounds */
    line-height: 1.6;
}

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

/* Hero Section */
.page-blog__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 60px;
    background-color: #017439; /* Fallback for transparency */
    overflow: hidden; /* Ensure content doesn't spill */
}

.page-blog__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure image wrapper itself is responsive */
    overflow: hidden;
    box-sizing: border-box;
}

.page-blog__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px; /* Limit hero image height */
}

.page-blog__hero-content {
    text-align: center;
    padding: 30px 20px;
    color: #ffffff;
    max-width: 800px;
    margin-top: -100px; /* Overlap slightly for design effect, but not over image content */
    position: relative;
    z-index: 1; /* Ensure content is above any background elements */
}

.page-blog__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFFF00; /* Register/Login font color for H1 */
}