/* Remove any top padding/margin that creates white space */
body {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Critical: Remove main padding that creates white space below header */
main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Make bookcar section match header gradient color and start right below header */
.bookcar {
    background: linear-gradient(90deg, #ffa602 0%, #ed9612 100%) !important;
    margin-top: 0 !important;
    padding-top: 20px !important;
    min-height: auto !important;
}

/* Fix excessive top padding on mobile devices */
@media (max-width: 1023px) {
    main {
        padding-top: 0 !important;
    }
    
    .bookcar {
        margin-top: 0 !important;
        padding-top: 20px !important;
    }
    
    /* Hide mobile menu completely */
    .navbar-toggler,
    .navbar-collapse {
        display: none !important;
    }
}

/* Fix blog detail page sidebar on desktop */
@media (min-width: 1024px) {
    /* Ensure flex layout works properly on desktop */
    .max-w-7xl > .flex.flex-col.lg\\:flex-row {
        display: flex !important;
        flex-direction: row !important;
    }
    
    /* Ensure article takes 2/3 width */
    .max-w-7xl > .flex article {
        width: 66.666667% !important;
        flex: 0 0 auto !important;
    }
    
    /* Ensure sidebar takes 1/3 width and appears on right */
    .max-w-7xl > .flex aside {
        width: 33.333333% !important;
        flex: 0 0 auto !important;
        margin-top: 0 !important;
    }
}
