/* 🔥 HARD RESET THEME DAMAGE */
.banner-section {
    position: relative;
    width: 100%;

    /* lock layout BEFORE image loads */
    min-height: 520px;

    /* Full viewport height */
    height: 100vh !important;
    display: block !important;

    overflow: hidden;
}

/* LCP image */
.banner-lcp-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay for content */
.banner-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;

    /* Push content down */
    margin-top: clamp(20rem, 35vh, 25rem);
    padding-top: 2rem;

    text-align: left;
    pointer-events: none;
}

/* H1 – EXACT old UI */
.banner-title {
    max-width: min(90%, 1200px);
    margin: 0;

    color: #3bbcff;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    text-align: left;

    pointer-events: auto;
}


.sidebar-article-img {
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
    flex-shrink: 0;
}

[dir="rtl"] .sidebar-article-img {
    margin-right: 0;
    margin-left: 15px;
}

.sidebar-article-title {
    font-size: 17px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
}


   .post-meta-info {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        color: #666;
    }
    
    .post-meta-info span {
        display: inline-flex;
        align-items: center;
    }
    
    .post-meta-info i {
        margin-right: 5px;
    }
    
    /* Sidebar articles wrapper - hidden overflow, no scroll */
    .sidebar-articles-wrapper {
        overflow: hidden;
    }


    
    .header-social-share {
    min-height: 48px;
}

.post-body img {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* safe default */
}


.post-content {
    background-color: #f1f1f1;
}

/* Mobile responsive for banner */
@media (max-width: 768px) {
    .banner-section {
        height: auto !important;
        min-height: 520px;
    }

    .banner-overlay {
        padding: 0 20px;
        margin-top: clamp(15rem, 25vh, 18rem);
    }

    .banner-title {
        font-size: 22px;
        line-height: 1.4;
    }
}


