/* Transparent header */
body.home header,
body.home .wp-block-template-part.has-header-area,
body.home header.wp-block-template-part {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    width: 60% !important; /* Reduced width by 40% */
    margin: 0 auto !important; /* Center it */
    z-index: 999;
    background-color: transparent !important;
    background: transparent !important;
}

body.home.admin-bar header,
body.home.admin-bar .wp-block-template-part.has-header-area,
body.home.admin-bar header.wp-block-template-part {
    top: var(--wp-admin--admin-bar--height, 32px) !important;
}

@media screen and (max-width: 782px) {
    body.home.admin-bar header,
    body.home.admin-bar .wp-block-template-part.has-header-area,
    body.home.admin-bar header.wp-block-template-part {
        top: 46px !important;
    }
    
    body.home header,
    body.home .wp-block-template-part.has-header-area,
    body.home header.wp-block-template-part {
        width: 90% !important; /* Keep mobile readable */
    }
}

/* Lower hero text block */
body.home .wp-block-cover__inner-container,
body.home .wp-block-group.has-background, 
body.home main > .wp-block-group:first-child .wp-block-group__inner-container,
body.home .hero-section .wp-block-group {
    padding-top: 30vh !important; /* Lower by roughly 30% of viewport height */
}
