/**
 * Hide WordPress Theme Header and Page Title
 * For Full-Width Homepage Experience
 * 
 * @package Xeora
 * @version 3.0.0
 */

/* Hide page header/title from theme */
body.page .entry-header,
body.page .page-header,
body.page h1.entry-title,
body.page h1.page-title,
body.page .entry-title,
body.page .page-title {
    display: none !important;
}

/* Hide site header on homepage */
body.home #masthead,
body.home .site-header,
body.home header.header,
body.home .main-header,
body.page-template-default .site-header {
    display: none !important;
}

/* Remove top padding/margin */
body.home #content,
body.home .site-content,
body.home main,
body.page-template-default #content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Full width content */
body.home .entry-content,
body.home .page-content,
body.page-template-default .entry-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove container max-width */
body.home .container,
body.home .site-content .container,
body.page-template-default .container {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Ensure xeora homepage fills screen */
.xeora-homepage-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Hide breadcrumbs */
body.home .breadcrumbs,
body.home .breadcrumb {
    display: none !important;
}

/* Remove any default page padding */
body.home article,
body.home .page,
body.home .post {
    padding: 0 !important;
    margin: 0 !important;
}
