/* =========================================================
   ANCOR DEVELOPMENT PAGE TOP GAP FIX
   Applies only when body has .ancor-development-page
   ========================================================= */

html {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    min-height: 100% !important;
    background: #212121 !important;
}

body.ancor-development-page {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    background: #FCFCFC !important;
}

/* Header begins at the first viewport pixel */
body.ancor-development-page > #global-header,
body.ancor-development-page #global-header {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    top: 0 !important;
}

/* Remove old spacing that was added for previous fixed headers */
body.ancor-development-page > main {
    margin: 0 !important;
    padding-top: 0 !important;
}

body.ancor-development-page > main > :first-child,
body.ancor-development-page > main > section:first-child {
    margin-top: 0 !important;
}

/* Common wrappers used by the development/service page */
body.ancor-development-page .ared-page,
body.ancor-development-page .ancor-real-estate-development-page,
body.ancor-development-page .service-detail-page,
body.ancor-development-page .service-page,
body.ancor-development-page .page-wrapper,
body.ancor-development-page .site-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/*
   Remove only the external gap from the hero.
   We keep its internal padding so the content does not touch the header.
*/
body.ancor-development-page .ared-hero,
body.ancor-development-page .development-hero,
body.ancor-development-page .service-detail-hero,
body.ancor-development-page .service-hero,
body.ancor-development-page main > .hero,
body.ancor-development-page main > section:first-child {
    margin-top: 0 !important;
}

/* Remove accidental empty blocks before the page content */
body.ancor-development-page > br:first-child,
body.ancor-development-page main > br:first-child {
    display: none !important;
}

/* Prevent old loading state from creating a blank strip */
body.ancor-development-page.loading,
body.ancor-development-page.is-loading,
body.ancor-development-page.page-loading,
html.loading,
html.is-loading {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
