/*!
 Theme Name: Rubrum
 Theme URI:
 Author: Dev Team
 Author URI:
 Description: Rubrum is a blank canvas for your ideas and it makes the block editor your best brush.
 Requires at least: 6.6
 Tested up to: 6.8.3
 Requires PHP: 8.0
 Version: 6.8
 Text Domain: rubrum
*/


/** Add your custom styles here **/

.text-shadow {
    text-shadow: 0 11px 13.9px rgba(0, 0, 0, 0.40);
}

/* HERO */
#hero .wp-block-cover__inner-container {
    position: relative;
}

.form-banner {
    position: absolute;
    bottom: calc(var(--wp--preset--spacing--40) * -1);
    right: 0;
    left: 0;
    margin-left: -16px;
    margin-right: -16px;
}

.get-involved-form-ctn {
    gap: var(--wp--preset--spacing--40);
}

.get-involved-form-ctn h2 {
    margin: 0 !important;
}

#gform_wrapper_7 {
    margin: 0 !important;
}

#gform_wrapper_7 .ginput_container,
#gform_wrapper_7 input {
    height: 100%;
}

/* MEET BRAD */
.meet-brad-headshot-desktop,
.meet-brad-headshot-desktop img,
.meet-brad-headshot-mobile,
.meet-brad-headshot-mobile img {
    width: 100%;
    margin: 0 !important;
}

/* NEWS */
.ajax-news-ctn .wp-block-group {
    height: 100%;
}

.wp-block-post-excerpt__more-text {
    margin-top: var(--wp--preset--spacing--50) !important;

}

.wp-block-post-excerpt__more-text a {
    display: block;
    background-color: var(--wp--preset--color--secondary-red);
    color: white;
    text-transform: uppercase;
    max-width: 156px;
    font-family: var(--wp--preset--font-family--roboto-condensed);
    padding: 8px 30px;
    margin: auto; 
    border: 1px solid var(--wp--preset--color--secondary-red);
}

.wp-block-post-excerpt__more-text a:hover {
    background-color: var(--wp--preset--color--base);
    text-decoration: none;

}

/* GET INVOLVED */
#gform_9 label,
#gform_9 legend {
    color: white; 
}

#gform_9 legend {
    margin-bottom: 5px;
}

#field_9_13 {
    margin-top: 0px;
}

#gform_9 ::placeholder {
    color: white !important; 
}

#gform_9 .text-disclaimer-opt-in a {
    color: white !important;
    text-decoration: underline;
}


@media screen and (max-width: 781.98px) {
    #hero {
        min-height: 850px !important;
    }

    #hero h2 {
        font-size: 20px !important;
    }

    footer * {
    text-align: center !important;
}

    header {
        position: static !important;
    }

    .meet-brad-headshot-desktop {
        display: none !important;
    }

    .meet-brad-headshot-mobile {
        display: block !important;
    }

    .disclaimer {
        margin: 0 auto !important;
    }


}

@media screen and (max-width: 991.98px) {
    .get-involved-form-ctn #gform_wrapper_7 {
        width: 100%;
    }
}

@media screen and (min-width: 782px) {
    #gform_9 .gfield_checkbox  {
        display: flex;
        gap: 60px;
    }

    #field_9_13 .gchoice {
        white-space: nowrap;
    }

    #field_9_13 .gchoice label {
        margin: 0 !important;
    }

    .meet-brad-headshot-mobile {
        display: none !important;
    }


    .meet-brad-headshot-desktop {
        display: block !important;
    }
}