/*  Theme Name:     BluB0x Updated Theme
    Theme URI:      n/a
    Description:    This site was designed and built by Jackrabbit Design. Visit us online at jumpingjackrabbit.com, twitter.com/jackrabbits and facebook.com/jackrabbitdesign.
    Version:        1
    Author:         Jackrabbit Design
    Author URI:     http://jumpingjackrabbit.com
     */

#pgBanner.news_and_events {
    background-image: none !important;

    .banner-txt {
        padding-top: 64px;
        padding-bottom: 40px;

        h1 {
            font-family: "lato", sans-serif;
            font-size: clamp(1rem, 5.208vw, 52px);
            font-style: normal;
            font-weight: 300;
            line-height: clamp(1.125rem, 5.6vw, 56px);
            color: #0051BA;
            margin-bottom: 20px;
        }

        p {
            text-align: center;
            /* Body/Large */
            font-family: "lato", sans-serif;
            font-size: 18px;
            font-style: normal;
            font-weight: 300;
            line-height: 27px;
            color: #393939;
            margin: 0;
            margin-inline: auto;
            max-width: 480px;
        }
    }
}

#filter.news_and_events {
    .container{
        border-bottom:1px solid #E1E4E8;
    }
    label {
        width: 0px;
        height: 0px;
        overflow: hidden;
    }

    ul.filter-list {
        display: flex;
        width: 100%;
        box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.08);
        border: 1px solid #E1E4E8;
        border-radius: 8px;
        @media only screen and (max-width: 768px) {
            flex-wrap:wrap;
        }
        
    }

    li {
        display: flex;
        flex: 0 1 125px;
        @media only screen and (max-width: 768px) {
            flex: 1 1 50%;
        }
        .select-wrap {
            border-bottom: 0;
            background: none;
            height: auto;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            border-right: 1px solid #E1E4E8;
            border-radius: 0;
            position: relative;
            /* padding-right:22px; */
             &:after{
                    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgMTAgNiIgZmlsbD0ibm9uZSI+CiAgPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzE1MF83KSI+CiAgICA8cGF0aCBkPSJNMSAxTDUgNUw5IDEiIHN0cm9rZT0iIzM5MzkzOSIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgogIDwvZz4KICAKICA8ZGVmcz4KICAgIDxjbGlwUGF0aCBpZD0iY2xpcDBfMTUwXzciPgogICAgICA8cmVjdCB3aWR0aD0iMTAiIGhlaWdodD0iNiIgZmlsbD0id2hpdGUiLz4KICAgIDwvY2xpcFBhdGg+CiAgPC9kZWZzPgo8L3N2Zz4=');
                    display:block;
                    width:8px;
                    height:4px;
                    content:'';
                    position:absolute;
                    top:50%;
                    right:12px;
                    transform:translateY(-50%);
                    background-size:cover;
                    background-repeat:no-repeat;
                    pointer-events:none;
                }
            select {
                width: 100%;
                max-width: 100%;
                padding:14px;
                padding-right:26px;
               
            }
        }

        select,
        input {
            background-color: white;
        }
        &.filter-date{
            @media only screen and (max-width: 768px) {
                border-top:1px solid #E1E4E8;
                border-bottom: 1px solid #E1E4E8;
            }
        }
        &.filter-search {
            flex: 1 0 auto;

            input {
                width: 100%;
                border: 0;
                border-radius: 4px;
                padding: 14px;
                font-family: "lato", sans-serif;
                font-size: 14px;
                font-style: normal;
                font-weight: 400;
                line-height: 22px;
                /* 157.143% */
                color: #393939;
                border-top-left-radius: 0;
                border-bottom-left-radius: 0;
                font: 200 17px ""lato", sans-serif", sans-serif;
    color: #6e6e6e;
    line-height: 1;
    border: 0;
    border-radius: 0;
    -webkit-appearance: none;
    cursor: pointer;
    box-sizing:border-box;
                
            }
        }
    }
    .filter-wrap{
        display:flex;
        flex-direction:column;
        gap:8px;
        width:100%;
        max-width:780px;
        margin-inline:auto;
        
        padding-bottom:36px;
        /* Loading feedback bar — pulses light blue -> blue while a filter fetches.
           Hidden by default; revealed only during a request (rule below). */
        .filter-loading-bar{
            display:none;
            width:100%;
            height:4px;
            border-radius:4px;
            overflow:hidden;
            background-color:#d5e4f7;

            span{
                display:block;
                width:100%;
                height:100%;
                background:linear-gradient(90deg, #9fd6ff 0%, #0051BA 50%, #9fd6ff 100%);
                background-size:200% 100%;
                animation:filterLoadingSweep 1.2s linear infinite;
            }
        }
        .filter-selections{
            display:flex;
            flex-wrap:wrap;
            gap:8px;
            padding:0 8px;
            .selection{
                flex: 0 1 auto;
                display:flex;
                align-items:center;
                gap:4px;
                background-color:#E1E4E8;
                border-radius:4px;
                padding:4px 8px;
                font-family:"lato", sans-serif;
                font-size:11px;
                font-style:normal;
                font-weight:700;
                line-height:14px;
                letter-spacing:0.5px;
                text-transform:uppercase;
                color:#393939;

                .remove-filter{
                    display:flex;
                    align-items:center;
                    justify-content:center;
                    /* width:16px;
                    height:16px;
                    border-radius:50%;
                    background-color:#393939; */

                    font-size:10px;
                    cursor:pointer;

                }
            }
            
            /* "Clear all" chip: same look as a selection chip, whole chip clickable. */
            .selection.clear-all{
                cursor:pointer;
                background-color:transparent;
                margin-left:auto;
            }
        }
    }
}

.news_and_events.listing-container {
    padding-top: 48px;

    .pagination-nav {
        padding: 48px 0 64px;
        display: flex;
        justify-content: center;
        gap: 4px;

        span,
        a {
            width: 36px;
            height: 36px;
            border: 1px solid #E1E4E8;
            border-radius: 4px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: "lato", sans-serif;
            font-size: 13px;
            font-style: normal;
            font-weight: 600;
            line-height: 16px; /* 123.077% */
            letter-spacing: 1px;
            text-transform: uppercase;
            color: #393939;
            &.current {
                background-color: #0051BA;
                color: white;
            }
        }
    }
}

.blog-post-listing {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.blog-post-list-item {
    border: 1px solid #e5e5e5;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-width:480px;

    .box {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        height: 160px;
        flex: 0 1 160px;

        .box-image {
            height: 100%;
            background-size: cover;
            background-position: center;
            
        }
    }

    .meta {
        padding: 16px;
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;

        h2 {
            margin-top: 8px;
            margin-bottom: 32px;
            flex: 0 1 100%;
        }

        h2,
        h2>a {
            color: #222222;

            /* Heading/H3-Article */
            font-family: ""lato", sans-serif", sans-seriff;
            font-size: 22px;
            font-style: normal;
            font-weight: 300;
            line-height: 27.5px;
            /* 125% */
            text-align: left;

            &:visited,
            &:hover {
                color: #222222;
            }
        }

        .category {
            display: flex;
            gap: 5px;
            align-items: center;

            .c {
                color: white;
                background-color: #144BA6;
                border-radius: 4px;
                padding: 4px 8px;
                font-family: "lato", sans-serif;
                font-size: 11px;
                font-style: normal;
                font-weight: 700;
                line-height: 14px;
                /* 127.273% */
                letter-spacing: 0.5px;
                text-transform: uppercase;

            }

            .t {
                font-family: "lato", sans-serif;
                font-size: 11px;
                font-style: normal;
                font-weight: 700;
                line-height: 14px;
                /* 127.273% */
                letter-spacing: 0.5px;
                text-transform: uppercase;
            }
        }

        .date {
            font-family: "lato", sans-serif;
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: 22px;
            color: #6E6E6E;
        }

        .inner-wrap {
            flex: 0 1 48px;
            border-top: 1px solid #E1E4E8;
            padding-top: 12px;

            a {
                display: flex;
                justify-content: space-between;
                align-items: center;
                color: #393939;
                font-family: "lato", sans-serif;
                font-size: 13px;
                font-style: normal;
                font-weight: 600;
                line-height: 16px;
                /* 123.077% */
                letter-spacing: 1px;
                text-transform: uppercase;

                svg {
                    border: 1px solid #E1E4E8;
                    padding: 8px;
                    border-radius: 4px;
                }
                
            }
        }
    }
    &:hover{
        .box{
            .box-image{
                
                background-color: rgba(0, 81, 186, 0.30);
                background-blend-mode: overlay;
            
            }
        }
        .meta{
            .inner-wrap{
                a{
                    
                    svg{
                        background-color: #0051BA;
                        path{
                            stroke:white;
                        }
                    }
                }
            }
        }
    }
}

.related-resources{
    background-color: #F4F6F9;
    padding-block:64px;
    .eyebrow{
        color: #0051BA;
        font-family: "lato", sans-serif;
        font-size: 13px;
        font-style: normal;
        font-weight: 700;
        line-height: 19.5px; /* 150% */
        letter-spacing: 1.5px;
        text-transform: uppercase;
    }
    h2{
        margin-block: 8px 40px;
        text-align:left;
        color: #000;
    }
    .blog-post-list-item{
        background-color: #FFFFFF;
    }
}
/* Reveal the loading bar only while a filter request is in flight. The JS adds
   .is-loading to .blog-post-listing before each fetch and removes it when the
   results arrive, so this shows on selection and hides on receipt.
   NOTE: the #filter id is required here so this beats the nested default
   (#filter ... .filter-loading-bar{display:none}) on specificity. */
body:has(.blog-post-listing.is-loading) #filter.news_and_events .filter-loading-bar {
    display: block;
}
.post-template-default.single-post{
    .resources-detail{
        .top-row{
            display:flex;
            flex-wrap:wrap;
            column-gap:56px;
            .col-top{
                width:100%;
                margin-bottom:16px;
                flex: 0 1 100%;
            }
            .col-one{
                flex: 1 1 calc(50% - 28px);
                
                @media (max-width: 768px) {
                    flex: 1 1 100%;
                }
            }
            .img-col{
                aspect-ratio: 16/9;
                img{
                    width:100%;
                    height:100%;
                    object-fit:cover;
                }
            }
            .back-link{
                font-family: "lato", sans-serif;
                font-size: 13px;
                font-style: normal;
                font-weight: 600;
                line-height: 16px; /* 123.077% */
                letter-spacing: 1px;
                text-transform: uppercase;
                color: #6E6E6E;
                .fa{
                    padding-right:8px;
                }
            }
            .category {
                display: flex;
                gap: 16px;
                align-items: center;
                span{
                    display:flex;
                    align-items:center;
                }
                .c {
                    color: white;
                    background-color: #144BA6;
                    border-radius: 4px;
                    padding: 4px 8px;
                    font-family: "lato", sans-serif;
                    font-size: 11px;
                    font-style: normal;
                    font-weight: 700;
                    line-height: 14px;
                    /* 127.273% */
                    letter-spacing: 0.5px;
                    text-transform: uppercase;

                }

                .t {
                    font-family: "lato", sans-serif;
                    font-size: 11px;
                    font-style: normal;
                    font-weight: 700;
                    line-height: 1;
                    /* 127.273% */
                    letter-spacing: 0.5px;
                    text-transform: uppercase;
                    color: #6E6E6E;
                }
                .d{
                    font-family: "lato", sans-serif;
                    font-size: 14px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 1;
                    color: #6E6E6E;
                }
            
             }  
             h1{
                font-family: "lato", sans-serif;
font-size: clamp(32px, 8vw, 52px);
font-style: normal;
font-weight: 300;
line-height: clamp(40px, 10vw, 56px);
color: #0051BA;
margin-block: 24px;
             }
        .social_share{
            display:flex;
            justify-content:flex-start;
            align-items:center;
            gap:16px;
            .title{
                color: #6E6E6E;
                font-family: "lato", sans-serif;
                font-size: 13px;
                font-style: normal;
                font-weight: 600;
                line-height: 16px; /* 123.077% */
                letter-spacing: 1px;
                text-transform: uppercase;
            }
            a,a i, a i:before {
                color: #6E6E6E;
            }
            a{
                border: 1px solid #E1E4E8;
                border-radius: 4px;
                padding:9px;
                font-size:1px;
                margin-right:0;
                svg{
                    width:18px;
                    height:18px;

                }
            }
        }
        }
    }
    #singlepost-content{
        padding-inline:1rem;
        .content-wrap{
            margin-inline:auto;
            padding-top:48px;
            padding-bottom:64px;
            max-width:720px;
            p,ul,ol{
                font-family: "lato", sans-serif;
                font-size: 17px;
                font-style: normal;
                font-weight: 400;
                line-height: 28px;
            }
            ul{
                padding-left:1rem;
                margin-block: 16px;
                li{
                    color: #393939;
                    list-style:disc;
                    font-family: "lato", sans-serif;
                    font-size: 17px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 28px;
                    margin-bottom:8px;
                    &::marker{
                        color: #0051BA;
                    }
            }
            }
            h2{
                /* Heading/H2 */
                font-family: "lato", sans-serif;
                font-size: clamp(24px, 4.167vw, 40px);
                font-style: normal;
                font-weight: 300;
                line-height: 46px;
                color: #0051BA;
                text-align:left;
            }
            h3{
                /* Heading/H4 */
                font-family: "lato", sans-serif;
                font-size: clamp(16px, 2.5vw, 24px);
                font-style: normal;
                font-weight: 500;
                line-height: 32px;
                color: #000000;
            }
            .wp-block-image{
                margin-inline:auto;
                margin-block:1rem;
                img{
                    /* width:100%; */
                    max-width:100%;
                    height:auto;
                    margin-inline:auto;
                    display:block;
                }
            }
            .wp-block-quote{
                margin-block: 16px;
                border-left: 4px solid #0051BA;
                padding:28px 32px;
                margin-inline:auto;
                background-color: #F4F6F9;
                p{
                    font-family: "lato", sans-serif;
                    font-size: 17px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 28px;
                    color: #393939;
                }
                cite{
                    font-family: "lato", sans-serif;
                    font-size: 13px;
                    font-style: normal;
                    font-weight: 700;
                    line-height: 19.5px; /* 150% */
                    letter-spacing: 0.5px;
                    text-transform: uppercase;
                    color: #0051BA;
                }
            }
            .wp-block-group{
                &.is-style-blog-cta{
                    display: flex;
                    padding: 28px 32px;
                    flex-direction: column;
                    align-items: flex-start;
                    gap: 16px;
                    align-self: stretch;
                    border-radius:16px;
                    background: linear-gradient(90deg, #0051BA 0%, #033E89 100%);
                    margin-block:1rem;
                    h2,h3,h4,h5,h6{
                        font-family: "lato", sans-serif;
                        font-size: 24px;
                        font-style: normal;
                        font-weight: 500;
                        line-height: 32px;
                        color: #FFFFFF;
                    }
                    p{
                         font-family: "lato", sans-serif;
                        font-size: 16px;
                        font-style: normal;
                        font-weight: 500;
                        line-height: 32px;
                        color: #FFFFFF;
                    }
                    .wp-block-button{
                        background-color:transparent;
                        border-radius:0;
                        border:1.5px solid white;
                        a{
                            color:white;
                            background-color:transparent;
                        }
                        &:hover{
                            background-color:white;
                            a{
                                color:#0051BA;
                            }
                        }
                    }
                }
            }
            .social_share{
                margin-top:48px;
                border-top:1px solid #E1E4E8;
                padding-top:32px;
                display:flex;
                justify-content:flex-start;
                align-items:center;
                gap:16px;
                flex-wrap:wrap;
                p{
                    flex:0 1 100%;
                    margin:0;
                }
                .title{
                color: #6E6E6E;
                font-family: "lato", sans-serif;
                font-size: 13px;
                font-style: normal;
                font-weight: 600;
                line-height: 16px; /* 123.077% */
                letter-spacing: 1px;
                text-transform: uppercase;
            }
            p{
                font-family: "lato", sans-serif;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 22px;
color: #6E6E6E;
            }
                 a{
                border: 1px solid #E1E4E8;
                border-radius: 4px;
                padding:9px;
                font-size:1px;
                margin-right:0;
                
                svg{
                    width:18px;
                    height:18px;

                }
            }

            }
               .back-link{
                font-family: "lato", sans-serif;
                font-size: 13px;
                font-style: normal;
                font-weight: 600;
                line-height: 16px; /* 123.077% */
                letter-spacing: 1px;
                text-transform: uppercase;
                color: #6E6E6E;
                .fa{
                    padding-right:8px;
                }
            }
        }
        .blog-post-list{

        }

    }
}
@keyframes filterLoadingSweep {
    0%   { background-position: 200% 0; }
    100% { background-position: 0 0; }
}