/*
Theme Name: CFH 2025 FSE
Author: Pilot Digital
Author URI: pilotdigital.com
Theme URI: 
Tags: full-site-editing
Text Domain: center-faith-health
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.1
Version: 1.0.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)
*/

/*--------------------------------------------------------------
# Global
--------------------------------------------------------------*/

:root {
    
    --white: #FFFFFF;
    --black: #000000;
    /*--aqua-light: #E1F6F6;
    --coral-light: #FFC9C9;
    --yellow-light: #FFEC7B;
    --sea-blue: #04698D;
    --gray-blue: #675C70;
    --powder-blue: #8DD2E0;

    
    --wp--preset--font-family--openSans: var(--wp--preset--font-family--open-sans);*/
    
}

@media (prefers-reduced-motion: no-preference) {
    html {
      scroll-behavior: smooth;
    }
  }

/* Typography
========================================================== */


/* @font-face {
    font-family: 'Sanchez';
    src: url('/wp-content/themes/thresholds-2023-fse/assets/fonts/Sanchez-Regular.ttf') format('truetype');
}


@font-face {
    font-family: 'Open Sans';
    src: url('/wp-content/themes/thresholds-2023-fse/assets/fonts/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
} */

  
body {
  /*23 dont need, as the below fontnamefix patches in the openSans bug  font-family: 'Open Sans', sans-serif; */
    padding: 0 3rem;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    font-family: var(--wp--preset--font-family--raleway);
}

/* h1, h2, h3, h4, h5, h6 {
    font-family: 'Sanchez', serif;
} */

/* header styles */
.header-logo img {
    max-height: 85px;
    width: 100%;
}

/* navigation styles */
.top-right-nav {
    margin-bottom: 0.6rem;
}

.top-right-nav li:last-child,
.footer-nav li:last-child {
    border-left: 2px solid #C8C8C8;
    padding-left: 1.5rem;
}

.top-right-nav li::before,
.footer-nav li::before {
    height: 0.8rem;
    width: 0.8rem;
    align-self: flex-start;
    margin-top: 0.1rem;
    margin-right: 0.7rem;
}

.top-right-nav li:first-child::before,
.footer-nav li:first-child::before {
    content: url('/wp-content/themes/cfh-2025-fse/assets/svg/cfh-phone.svg');
}

.top-right-nav li:last-child::before,
.footer-nav li:last-child::before {
    content: url('/wp-content/themes/cfh-2025-fse/assets/svg/cfh-donation.svg');
}

/* home page hero */
@media only screen and (min-width: 768px) {
    .home .wp-block-cover.home-hero-cover > img.wp-block-cover__image-background {
        clip-path: polygon(0 0, 100% 0, 100% 92%, 0% 100%);
    }
}
@media only screen and (min-width: 1024px) {
    .home .wp-block-cover.home-hero-cover > img.wp-block-cover__image-background {
        clip-path: polygon(0 0, 100% 0, 100% 86%, 0% 100%);
    }
}
@media only screen and (min-width: 1200px) {
    .home .wp-block-cover.home-hero-cover > img.wp-block-cover__image-background {
        clip-path: polygon(0 0, 100% 0, 100% 81%, 0% 100%);
    }
}

/* newsletter row */
@media only screen and (min-width: 1200px) {
    .slice-bottom,
    .wp-block-cover.home-newsletter-cover > img.wp-block-cover__image-background {
        clip-path: polygon(0 0, 100% 0, 100% 81%, 0% 100%);
    }
    .slice-both {
        clip-path: polygon(100% 0, 0% 15%, 0 100%, 0 100%, 100% 81%);
    }
}

.resources-block ul li {
    filter: drop-shadow(0px 3px 4px #C8C8C8);
    background: white;
    border-radius: 1rem;
}

.resources-block ul li a {
    padding: 0.75rem 1.5rem;
    
}

.resources-block ul li a::after {
    content: url('/wp-content/themes/cfh-2025-fse/assets/svg/cfh-arrow-right.svg');
    height: auto;
    width: 2rem;
    display: inline-block;
    position: relative;
    top: -2px;
    margin-left: 0.35rem;
}
/* misc extra helpers */
.entry-content {
    position: relative;
}
.full-width {
    margin-left: -3rem;
    margin-right: -3rem;
}

.full-width-container {
    width: calc(100vw - 15px);
    margin-left: calc(-50vw + 50% + 7px);
}

.wp-block-button__link::after {
    content: url('/wp-content/themes/cfh-2025-fse/assets/svg/cfh-arrow-right.svg');
    height: auto;
    width: 2rem;
    display: inline-block;
    position: relative;
    top: -2px;
    margin-left: 0.35rem;
}

.event-register-linl .wp-block-post-excerpt__more-link {
    font-weight: 500;
    text-decoration: underline;
}

.event-register-link .wp-block-post-excerpt__more-link::after {
    content: url('/wp-content/themes/cfh-2025-fse/assets/svg/cfh-arrow-right.svg');
    height: auto;
    width: 2rem;
    display: inline-block;
    position: relative;
    top: -2px;
    margin-left: 0.35rem;
}

.event-register-link .wp-block-post-excerpt__more-link {
    text-decoration: underline;
    font-weight: 500;
    color: #1D68A8;
}

.list-style-none {
    list-style-type: none;
}

.query-events li.cfh_events > .wp-block-columns {
    filter: drop-shadow(0px 3px 4px #C8C8C8);
    background: white;
    border-radius: 1.25rem;
}

.w-100 {
    width: 100% !important;
}

.post-header-element .wp-block-cover,
.page-hero-cover {
    min-height: 130px;
    clip-path: polygon(0 0, 100% 0, 100% 65%, 0% 100%);
}

.event-info-list li::before {
    margin-right: 0.5rem;
}

.date-item::before {
    content: url('/wp-content/themes/cfh-2025-fse/assets/img/calendar-icon.png');
}

.time-item::before {
    content: url('/wp-content/themes/cfh-2025-fse/assets/img/clock-icon.png');
}

.pin-item::before {
    content: url('/wp-content/themes/cfh-2025-fse/assets/img/pin-icon.png');
}