/* 1. FORCE THE LIGHT BLUE COLOR SEAMLESSLY ON ALL BACKGROUND LAYERS (#D1E0E8) */
html, 
body, 
#page, 
.site, 
main, 
#content, 
.site-content, 
.content-area, 
.site-main,
article,
.type-page,
.post-inner,
.page-inner,
.wp-block-group,
.wp-block-columns {
    background-color: #D1E0E8 !important;
    background: #D1E0E8 !important;
    --wp--preset--color--white: #D1E0E8 !important;
    --wp--preset--color--base: #D1E0E8 !important;
    --wp--style--color--background: #D1E0E8 !important;
}

/* 2. HIDE THE GLOBAL THEME HEADER COMPLETELY */
header, 
#masthead, 
.site-header,
.main-header-block, 
.header-style-1,
[class*="header-wrap"],
.innerpage-banner {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* 3. STRUCTURAL CONTENT FIXES */
.wp-block-cover:first-of-type,
main > *:first-child,
.site-content > *:first-child,
.entry-content > *:first-child {
    margin-top: 0px !important; 
    position: relative !important;
}

.site-main, #content, .content-area {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* SAFE COMPATIBILITY FIX FOR TRUE FULL-WIDTH COVER BLOCKS */
html, body {
    overflow-x: hidden !important;
}

.wp-block-cover.alignfull, 
.alignfull {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

/* 4. RESPONSIVE LOCAL REGIONAL & CITY PAGE CONTAINER WIDTHS */
.wide-city-container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

@media only screen and (min-width: 768px) {
    .wide-city-container {
        max-width: 1200px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* 5. TEXT ALIGNMENT OVERRIDE (Forces theme to listen to your editor choices) */
.has-text-align-center,
.has-text-align-center p,
.aligncenter,
.aligncenter p {
    text-align: center !important;
}

.has-text-align-right,
.has-text-align-right p,
.alignright,
.alignright p {
    text-align: right !important;
}