/* Custom Basket CSS */


/* User Grid styles */
.wp-block-cshp-user-grid {
    margin: 0;
    width: 100%;
    max-width: var(--wp--style--global--wide-size);
    padding: 0;
}
.profiles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}
.profiles-container.style-small {
    @media (min-width: 768px) {
        gap: 25px 2%;
    }
}
.profiles-container .user-profile {
    flex-basis: 100%;
    background: #f7f7f7;
    box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.2);

    @media (min-width: 425px) {
        max-width: calc(50% - 13.75px);
    }

    @media (min-width: 640px) {
        max-width: calc(33.33% - 16.75px);
    }

    @media (min-width: 900px) {
        max-width: calc(25% - 18.75px);
    }
}
.profiles-container.style-large .user-profile {
    @media (min-width: 900px) {
        max-width: calc(33.33% - 16.75px);
    }
}
.profiles-container.style-small .user-profile {
    max-width: calc(50% - 13.75px);

     @media (min-width: 460px) {
        max-width: calc(33.33% - 16.75px);
    }

    @media (min-width: 640px) {
        max-width: calc(25% - 18.75px);
    }

    @media (min-width: 768px) {
        max-width: calc(20% - 14px);
    }

    @media (min-width: 900px) {
        max-width: calc(15% - 0.05%);
    }
}
.profiles-container .user-profile .user-info {
    padding: 15px 20px 25px;
    height: calc(100% - 245px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.profiles-container.style-large .user-profile .user-info {
    @media (min-width: 900px) {
        height: calc(100% - 300px);
    }
}
.profiles-container.style-small .user-profile .user-info {
    padding: 15px;
    height: calc(100% - 150px);
}
.profiles-container .user-profile .user-info h3.profile-name {
    font-family: 'Source Sans Pro';
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
}
.profiles-container.style-large .user-profile .user-info h3.profile-name {
    margin-bottom: 5px;
}
.profiles-container.style-small .user-profile .user-info h3.profile-name {
    flex: 1;
    margin-bottom: 15px;
    font-weight: normal;
    font-size: 18px;
    line-height: 1.25;
}
.profiles-container .user-profile .profile-image-link {
    display: block;
    height: 245px;
    width: 100%;
}
.profiles-container.style-large .user-profile .profile-image-link {
    @media (min-width: 900px) {
        height: 300px;
    }
}
.profiles-container.style-small .user-profile .profile-image-link {
    height: 150px;
}
.profiles-container .user-profile .profile-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profiles-container .user-profile .profile-position {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.5;
}
.profiles-container .user-profile .profile-excerpt {
    font-family: "Source Sans Pro";
    font-size: 18px;
    line-height: 27px;
    flex: 1;
}
.profiles-container .user-profile .profile-button {
    display: inline-block;
    background: #00AFD7;
    border: none;
    padding: 10px 20px;
    color: #fff;
    font-weight: 700;
    border-radius: 5px;
    transition: 0.2s all ease-in-out;
}
.profiles-container .user-profile .profile-button:hover,
.profiles-container .user-profile .profile-button:focus {
    background: #F69F3E;
    text-decoration: none;
    color: #000;
}
.profiles-container.style-small .user-profile .profile-button {
    padding: 4px 10px;
}
.wp-block-stackable-tabs.alum-tabs .stk-row {
    max-width: unset !important;
}
.wp-block-stackable-tabs.alum-tabs .stk-row .stk-column-wrapper {
    margin: 0;
}


/* Resources Grid styles */
.wp-block-cshp-resources-grid {
    max-width: unset;
}
.resources-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}
.resources-container > .resource-post {
    flex: 1;
    background: #00AFD7;
    flex-basis: 100%;
    position: relative;
    min-height: 325px;

    @media (min-width: 600px) {
        max-width: calc(50% - 17px);
    }

    @media (min-width: 860px) {
        max-width: calc(33.33% - 17px);
    }
}
.resources-container .resource-base {
    padding: 20px;
    height: 100%;
    transform-origin: center;
    transition: 0.2s all ease-in-out;
}
.resources-container .resource-post:hover .resource-base, 
.resources-container .resource-post:focus .resource-base {
    transform: scaleX(-0.5);
    opacity: 0;
}
.resources-container .resource-base h3,
.resources-container .resource-base p {
    color: #fff;
}
.resources-container .resource-base h3 {
    margin-bottom: 25px;
    font-weight: 600 !important;
    font-family: 'Source Sans Pro';
}
.resources-container .resource-base p {
    font-size: 16px;
    line-height: 1.4;
    position: relative;
}
.resources-container .resource-base p::before {
    content: '';
    height: 1px;
    background: #fff;
    width: 125px;
    position: absolute;
    top: -12px;
}
.resources-container .resource-hover {
    padding: 20px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transform: scaleX(-0.5);
    opacity: 0;
    transform-origin: center;
    transition: 0.2s all ease-in-out;
}
.resources-container .resource-post:hover .resource-hover, 
.resources-container .resource-post:focus .resource-hover {
    transform: scaleX(1);
    opacity: 1;
}
.resources-container .resource-hover a {
    background: #00AFD7;
    border: none;
    padding: 10px 20px;
    color: #fff;
    font-weight: 600;
    border-radius: 5px;
    transition: 0.2s all ease-in-out;
}
.resources-container .resource-hover a:hover,
.resources-container .resource-hover a:focus {
    background: #F69F3E;
    text-decoration: none;
    color: #000;
}
.resources-container .resource-hover img {
    position: absolute;
    top: 15px;
    width: 80%;
    height: 100px;
    object-fit: contain;
}

/* FacetWP Styles */
.facetwp-facet {
    margin-top: 10px;
    text-align: center;
}
.facetwp-facet.facetwp-type-dropdown select {
    padding: 7px 10px;
    font-size: 16px;
}
.facetwp-facet.facetwp-facet-load_more_button {
    margin-block-start: 25px;
}
.facetwp-facet-load_more_button button.facetwp-load-more {
    background: #00AFD7;
    border: none;
    padding: 10px 20px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 5px;
    transition: 0.2s all ease-in-out;
}
.facetwp-facet-load_more_button button.facetwp-load-more:hover,
.facetwp-facet-load_more_button button.facetwp-load-more:focus {
    background: #F69F3E;
    color: #000;
}


/* Custom stackable styles */
details.wp-block-stackable-accordion {
    max-width: var(--wp--style--global--wide-size);
}
details.wp-block-stackable-accordion .stk-column-wrapper {
    margin: 0 !important;
}
details.wp-block-stackable-accordion .stk-column-wrapper .stk-block-heading__text {
    font-weight: 600 !important;
    font-family: 'Source Sans Pro';
}
details.wp-block-stackable-accordion .stk-column-wrapper .stk-block-content p {
    padding-top: 10px;
    margin-bottom: 0;
}

/* Styles loaded in WP Bakery for [DynamicUserDirectory] shortcode */
.alpha-links {
    max-width: var(--wp--style--global--wide-size);
}
form#dud_user_srch {
    max-width: var(--wp--style--global--wide-size);
}
.dud_total_users {
    max-width: var(--wp--style--global--wide-size);
}
.dir-listing-border {
    max-width: var(--wp--style--global--wide-size);
    margin: 0 !important;
}