/* ===== Responsive Blog Hero Banner (shared by all blogs) ===== */
.blog_hero_section {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    background: #1677ff no-repeat right center / cover;
    aspect-ratio: 6000 / 1250;
    min-height: 200px;
    max-height: 520px;
    display: flex;
    align-items: center;
    padding: 24px 0;
}

.blog_hero_section h1 {
    color: #ffffff !important;
    font-size: clamp(1.4rem, 2.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
/* ===== blog author section ===== */
.blog-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.4;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.blog-author img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 50%;
    background: #ffffff;
    padding: 4px;
}

.blog-author-details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.blog-author-name {
    font-weight: 700;
}

.blog-author-by,
.blog-author-separator,
.blog-author time {
    font-weight: 400;
}

@media (max-width: 991.98px) {
    .blog_hero_section {
        aspect-ratio: auto;
        min-height: 240px;
        background-position: right center;
    }
    .blog_hero_section h1 {
        max-width: 62%;
    }
}

@media (max-width: 575.98px) {
    .blog_hero_section {
        min-height: 200px;
        background-position: left center;
    }
    .blog_hero_section h1 {
        max-width: 100%;
    }
}