/* B3 Ads - Logo Size Adjustment for Better Balance with Leaderboard - CoverNews */

/* Make logo smaller and better proportioned */
.site-branding {
    max-width: 300px !important;
    max-height: 80px !important;
}

.site-branding img {
    max-width: 100% !important;
    max-height: 80px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

.site-branding .site-title {
    font-size: 24px !important;
    line-height: 1.2;
}

.site-branding .site-description {
    font-size: 12px !important;
}

/* Ensure proper alignment in header row */
.masthead-banner .row {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

/* Leaderboard ad responsive */
.b3-header-leaderboard img {
    max-width: 100% !important;
    height: auto !important;
}

/* MOBILE RESPONSIVE - Stack vertically on tablets and below */
@media (max-width: 991px) {
    .masthead-banner .row {
        flex-direction: column !important;
        text-align: center !important;
        flex-wrap: wrap !important;
    }
    
    .masthead-banner .col-md-4,
    .masthead-banner .col-md-8 {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
    }
    
    .site-branding {
        max-width: 250px !important;
        max-height: 60px !important;
        margin: 0 auto 15px !important;
    }
    
    .site-branding img {
        max-height: 60px !important;
        margin: 0 auto !important;
    }
    
    .b3-header-leaderboard {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
    }
}

/* Extra small mobile - even more compact */
@media (max-width: 480px) {
    .site-branding {
        max-width: 200px !important;
        max-height: 50px !important;
    }
    
    .site-branding img {
        max-height: 50px !important;
    }
    
    .site-branding .site-title {
        font-size: 18px !important;
    }
}

