
/* CTEJA Home Layout Fix V1.1 */

/* Common Astra title/breadcrumb containers */
body.home .ast-breadcrumbs-wrapper,
body.home .ast-breadcrumbs,
body.home .ast-page-title-wrap,
body.home .ast-title-bar-wrap,
body.home .ast-archive-description,
body.home .ast-archive-title,
body.home .page-title,
body.home .entry-header,
body.home .entry-title,
body.home .ast-single-entry-banner,
body.home .ast-single-entry-banner[data-post-type="page"],
body.home .ast-single-entry-banner[data-banner-layout],
body.home .ast-container.ast-title-bar-wrap,
body.home .site-content > .ast-container:first-child > .ast-row,
body.home .site-content > .ast-container:first-child > .ast-breadcrumbs-wrapper {
    display:none!important;
}

/* Full-width homepage content */
body.home .site-content,
body.home .site-content .ast-container,
body.home #primary,
body.home .content-area,
body.home .site-main,
body.home article.page,
body.home article.page .entry-content {
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
}

/* Hero always edge-to-edge */
body.home .cteja-hero {
    width:100vw!important;
    max-width:none!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;
}

/* Search overlap */
body.home .cteja-hero + .cteja-search-shell {
    margin-top:-42px!important;
    position:relative;
    z-index:30;
}

/* Runtime-detected old Astra row */
body.home .cteja-force-hide-home-row {
    display:none!important;
    height:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    overflow:hidden!important;
}

@media(max-width:920px){
    body.home .cteja-hero + .cteja-search-shell{margin-top:-28px!important;}
}
@media(max-width:600px){
    body.home .cteja-hero + .cteja-search-shell{margin-top:14px!important;}
}
