/*!
 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 **/

/* GENERAL */
.open-sans-condensed {
    font-family: "Open Sans", sans-serif;
    font-stretch: 75%;
    font-weight: 700;
    letter-spacing: .15em;
}

/* HEADER */
header {
    max-width: 1239px;
    margin: 0 auto;
}

header .header-donate-btn {
    font-stretch: 75%;
}

header > div {
    backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);  
}

div.floating-header-ctn.wp-block-group {
    top: 40px;
    position: fixed;
    width: 100%;
    z-index: 999;
}

.home-hero {
    height: 90vh;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.our-mission-ctn {
    margin-top: -5vw;
    z-index: 9;
    margin-top: -10vw !important;
}

#fallen-heroes .sp-lcpro-id-424 .bx-wrapper {
    -webkit-mask-image: radial-gradient(circle, black 60%, transparent 100%);
    mask-image: radial-gradient(circle, black 60%, transparent 100%);
}

#fallen-heroes .sp-lcpro-id-424 h3 {
    font-size: clamp(1.185rem, 1.185rem + ((1vw - 3.75px) * 1.064), 2rem);
    text-transform: uppercase;
    font-family: "Open Sans", sans-serif;
    font-stretch: 75%;
    font-weight: 700;
    letter-spacing: .15em;
}

#fallen-heroes .sp-lcpro-id-424 h4 {
    font-size: var(--wp--preset--font-size--medium);
    font-family: "Open Sans", sans-serif;
    font-stretch: 75%;
    font-weight: 700;
    letter-spacing: .05em;
}


#fallen-heroes .sp-lcpro-id-424 p {
    font-size: var(--wp--preset--font-size--normal) !important;
    font-family: var(--wp--preset--font-family--default) !important;
    letter-spacing: .8px !important;
}

#news .tpgb-post-listing .grid-item {
    align-self: stretch;
}

#news .tpgb-post-listing .grid-item h3 {
    width: 100%;
}

#news .tpgb-post-listing .grid-item > div {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#news button.splide__arrow.splide__arrow--prev {
    left: -6%; 
}

#news button.splide__arrow.splide__arrow--next {
    left: 99%; 
}

#news .wp-block-read-more:hover {
    background-color: #91151A !important;
    color: var(--wp--preset--color--base) !important;
}

#news .splide__arrows {
    height: 0;
}

.date-ctn {
    margin-left: 0 !important;
}

#contact-us p {
    max-width: 610px;
    margin-left: 0;
}

#gform_9 label {
    color: var(--wp--preset--color--dark-blue) !important;
    font-weight: 600;
}

#gform_confirmation_message_9 {
    color: black !important;
    font-weight: 600;
}

/* EVENTS */
.tribe-events-l-container {
    min-height: 0 !important;
}

.tribe-events-c-subscribe-dropdown__container {
    display: none !important;
}

/* SINGLE POST */
.single-post main {
    margin-top: clamp(100px, 3.27vw + 87.76px, 140px);
}


@media screen and (max-width: 781.98px) {
    div.floating-header-ctn.wp-block-group {
        top: 20px;
    }

    header > div {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    div.floating-header-ctn.wp-block-group .wp-block-site-logo {
        max-width: 100px;
    }

    #news button.splide__arrow.splide__arrow--prev {
        left: -5%; 
    }

    #news button.splide__arrow.splide__arrow--next {
        left: 95%; 
    }

    #news button.splide__arrow.splide__arrow--prev:before,
    #news button.splide__arrow.splide__arrow--next:before {
        transform: none !important;
        transition: none !important;
        webkit-transition: none !important;
    }
}

@media screen and (max-width: 991.98px) {
    header .wp-block-navigation__responsive-container {
        height: 100vh !important;
    }
}

@media screen and (min-width: 992px) {
    .our-mission-ctn {
        margin-top: -4vw !important;
    }
}