/*!
 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.0
 Tested up to: 6.5
 Requires PHP: 8.0
 Version: 6.5.0
 Text Domain: rubrum
*/


.hero-sub-heading {
    font-size: clamp(1.42rem, calc(1.42rem + ((1vw - 0.234375rem) * 1.329)), 2.4375rem);
    color: var(--wp--preset--color--tertiary) !important;
    font-weight: 300;
    text-transform: uppercase;
}

/* FORM */
#gform_fields_9 .gfield_label,
#gform_fields_10 .gfield_label {
    font-size: 14px; 
    color: var(--wp--preset--color--accent) !important;
    font-weight: 300;
}

.gchoice {
    color: var(--wp--preset--color--accent) !important;
}

.gfield--type-checkbox legend {
    margin-bottom: 0 !important;
}

.gform_wrapper form input[type=checkbox].gfield-choice-input + label::before {
    border-color: var(--wp--preset--color--accent) !important; 
    border-width: 2px !important;
}

.gchoice label {
    font-size: 16px !important;
}

.gfield_required {
    visibility: hidden;
}

.form-disclaimer {
    color: var(--wp--preset--color--accent) !important;
    font-size: 14px !important;
    font-weight: 300 !important;
}

/* PRIORITIES */
.priorities-subheading {
    max-width: 1030px !important;
}

#priorities .wp-block-column {
    border-radius: 4px;
}

@media screen and (max-width: 421.98px) {
    #donate-ribbon .wp-block-button {
        width: 100% !important;
    }
}

@media screen and (max-width: 991.98px) {
    #hero .wp-block-columns {
        height: 100%;
    }

    #hero h1 {
        text-align: center;
    }

    #hero .hero-text-col {
        padding-top: 40px !important;
    }

    #hero img {
        width: 75% !important;
        height: auto !important;
    }

    #hero p {
        text-align: center !important;
        max-width: 450px !important;
    }
    
}

@media screen and (min-width: 768px) {
    .gfield_checkbox {
        display: flex;
        column-gap: 40px;
    }
    
    .gchoice {
        white-space: nowrap;
        color: var(--wp--preset--color--accent) !important;
    }    
}


/* Pagination Block */
.wp-block-query-pagination-numbers {
    margin: 0 !important;
    padding: 8px 0;
}
.wp-block-query-pagination-numbers span.page-numbers,
.wp-block-query-pagination-numbers a.page-numbers {
    padding: 7px 13px;
    background-color: var(--wp--preset--color--accent);
    color: var(--wp--preset--color--base);
    margin: 3px;
}

.wp-block-query-pagination-numbers span.page-numbers.current {
    background-color: var(--wp--preset--color--primary);
}
.wp-block-query-pagination-numbers span.page-numbers:hover,
.wp-block-query-pagination-numbers a.page-numbers:hover {
    background-color: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--base) !important;
}