#masthead {
  padding: 10px 0; /* Adjust top/bottom padding */
}
/* Hide element on mobile */
@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }
}
@media screen and (max-width: 767px) {
    /* Targets the inner content containers */
    .wp-block-group, 
    .wp-block-group__inner-container,
    .entry-content > *,
    .post-content > * {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Strips out layout constraints from the core block editor */
    .wp-site-blocks, 
    .is-layout-constrained > * {
        max-width: 100% !important;
        width: 100% !important;
    }
}
@media screen and (max-width: 767px) {
    .mobile-background-grey {
        /* Background changes */
        background-image: none !important; 
        background-color: #eeeeee !important; 
        
        /* Text color change */
        color: #222222 !important; 
    }

    /* This forces any headlines, links, or paragraphs inside the block to also change color */
    .mobile-background-grey h1,
    .mobile-background-grey h2,
    .mobile-background-grey h3,
    .mobile-background-grey p,
    .mobile-background-grey a {
        color: #000000 !important;
    }
}
@media screen and (max-width: 767px) {
    
    .form-hero-block {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        
        display: flex !important;
        flex-direction: column !important;
        
        /* 1. This completely removes the gap between the columns */
        gap: 0px !important; 
    }

    /* 2. This completely flattens any hidden margins on your text paragraphs, list items, or headers */
    .form-hero-block p,
    .form-hero-block ul,
    .form-hero-block ol,
    .form-hero-block h1,
    .form-hero-block h2,
    .form-hero-block h3,
    .form-hero-block h4 {
        margin-bottom: 0px !important;
        padding-bottom: 0px !important;
    }

    .form-hero-block > * {
        width: 100% !important;
        max-width: 100% !important;
    }
}