/*!
 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.7
 Requires PHP: 8.0
 Version: 6.7.1
 Text Domain: rubrum
*/


/** Add your custom styles here **/

.text-underline {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}
.outline-red {
    border: 1px solid var(--wp--preset--color--secondary);
    padding: 10px;
}

.cover-hero {
    height: 40vw;
    max-height: 527px;
}
@media (max-width: 1299.98px) {
    .cover-logo {
        padding-left: 30px;
        padding-right: 30px;
    }
}
@media (max-width: 781.98px) {
    .cover-hero img.wp-block-cover__image-background {
        display: none;
    }
    .cover-hero {
        min-height: 620px !important;
        background: url('/wp-content/uploads/hero_banner-mobile.webp') no-repeat top center;
        background-size: cover;
    }
    .cover-logo {
        max-width: 320px;
    }
}
@media (max-width: 575.98px) {
    .cover-hero {
        min-height: 480px !important;
    }
}

@media (min-width: 782px) {
    .margin-text-why {
        margin-right: 35px;
    }
    .home-news .columns-3.is-layout-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .home-news .columns-3.is-layout-grid li.wp-block-post {
        max-width: 317.75px;
    }
}
.home-news h3 a:hover {
    color: var(--wp--preset--color--tertiary) !important;
}
.home-news a.wp-block-button__link:hover {
    background-color: var(--wp--preset--color--tertiary) !important;
    border-color: var(--wp--preset--color--tertiary) !important;
}

.form-join {
    font-family: var(--wp--preset--font-family--dm-sans) !important;
    color: var(--wp--preset--color--tertiary);
}
@media only screen and (min-width: 641px) {
    .gform_wrapper.gravity-theme .gfield.gf_list_3col .gfield_checkbox, .gform_wrapper.gravity-theme .gfield.gf_list_3col .gfield_radio {
        grid-column-gap: 10px !important;
    }
}
.gform_wrapper.gravity-theme .gfield-choice-input+label {
    max-width: calc(100% - 10px) !important;
}
.form-join .gfield--type-consent {
    margin-top: -20px !important;
}
