/*
 * UHPP Stories Single
 */

.uhpp-stories-single {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background-color: #fff !important;
}
.uhpp-stories-single__hero {
    background-color: #204a7e;
    text-align: center;
    position: relative;
}
.uhpp-stories-single__hero-wrap {
    max-width: 1200px;
    padding: 40px 20px;
    margin: 0 auto;
}
.uhpp-stories-single__hero ul.story-terms {
    display: inline-block;
    list-style: none;
    padding: 0;
    margin: 0px;
    white-space: normal;
}
.uhpp-stories-single__hero ul.story-terms li {
    display: inline;
    list-style-type: none;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    text-transform: uppercase;
    color: #fccc05;
    font-size: 14px;
    font-weight: 800;
    line-height: 18px;
    letter-spacing: 1px;
}
.uhpp-stories-single__hero ul.story-terms li:not(:last-child):after {
    position: relative;
    display: inline;
    content: ", ";
}
.uhpp-stories-single__hero h1.entry-title {
    color: #fff;
    font-weight: 800;
    font-size: 40px;
    line-height: 50px;
    margin: 0 0 10px;
    padding: 0;
}
.uhpp-stories-single__hero p.story-excerpt {
    font-size: 18px;
    line-height: 26px;
    color: #fff;
    max-width: 500px;
    margin: 0 auto;
    padding: 0;
}
.uhpp-stories-single__hero figure.featured-image {
    max-width: 500px;
    margin: 40px auto 0;
}
.uhpp-stories-single__hero figure.featured-image:after {
    position: absolute;
    content: '';
    display: block;
    left: 0;
    right: 0;
    width: 100%;
    height: 35%;
    background-color: #ffffff;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}
.uhpp-stories-single__hero figure.featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transform: translateZ(0);
    max-width: 100%;
    position: relative;
    z-index: 2;
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}
.uhpp-stories-single .container {
    max-width: 900px;
    padding: 0 20px 60px;
    margin: 0 auto;
}
.uhpp-stories-single .container .post-content .content-inner > .wp-block-embed.is-type-video {
    margin-bottom: 1.75rem;
}
.uhpp-stories-single .container .post-content .content-inner > .wp-block-embed.is-type-video > .lyte-wrapper {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
@media only screen and ( min-width: 1024px ){
    .uhpp-stories-single__hero-wrap {
        padding: 60px;
    }
    .uhpp-stories-single__hero h1.entry-title {
        font-size: 65px;
        line-height: 80px;
    }
    .uhpp-stories-single .container .post-content .content-inner > *:not(figure) {
        padding-left: 50px;
        padding-right: 50px;
    }
}

/*
 * UHPP Stories Archives
 */
body.post-type-archive-story .container-wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background-color: #ffffff !important;
}
body.post-type-archive-story .nectar_before_blog_loop_start {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.uhpp-stories-archive__search {
    background-color: #5FAEEF;
    padding: 30px 0;
    display: grid;
    grid-template-columns: 1fr 150px;
}
.uhpp-stories-archive__search-input {
    background-color: #fff !important;
    border-radius: 6px 0 0 6px !important;
    border: 0 !important;
    height: 50px;
    line-height: 5px;
    padding: 0 16px;
    width: 100% !important;
}
.uhpp-stories-archive__search-button a {
    appearance: none !important;
    line-height: 47px !important;
    height: 50px;
    padding: 0 25px;
    border: 0 !important;
    display: block;
    background: #37608b;
    font-size: 16px;
    text-transform: uppercase;
    border-radius: 0 6px 6px 0 !important;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 150ms ease-in-out, background 150ms ease-in-out;
    cursor: pointer;
    text-align: center;
}
.uhpp-stories-archive__search-button a:hover {
    background: #fccc07;
    color: #37608b;
}
.uhpp-stories-archive__posts {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    padding: 60px 0;
}
.uhpp-stories-archive__filters {
    flex: 1 1 100%;
    max-width: 100%;
}
.uhpp-stories-archive__filters-heading {
    margin: 0 0 15px;
    color: #37608b;
    font-size: 30px;
    line-height: 40px;
    font-weight: 600;
    display: none;
}
.uhpp-stories-archive__filters-heading > svg {
    margin: 0 7px 0 0;
    stroke: #37608b;
    fill: #37608b;
    width: 22px;
    height: 22px;
}
.uhpp-stories-archive__filters-toggle {
    font-size: 30px;
    line-height: 40px;
    font-weight: 600;
    margin: 0 0 15px;
    appearance: none;
    cursor: pointer;
    background: transparent;
    color: #37608b;
    border: 0;
    padding: 0;
    transition: color 150ms ease-in-out;
}
.uhpp-stories-archive__filters-toggle > svg {
    transition: stroke 150ms ease-in-out, fill 150ms ease-in-out;
    margin: 0 7px 0 0;
    stroke: #37608b;
    fill: #37608b;
    width: 22px;
    height: 22px;
}
.uhpp-stories-archive__filters-toggle:hover,
.uhpp-stories-archive__filters-toggle:active,
.uhpp-stories-archive__filters-toggle.is-active {
    color: #5FAEEF;
}
.uhpp-stories-archive__filters-toggle:hover > svg,
.uhpp-stories-archive__filters-toggle:active > svg,
.uhpp-stories-archive__filters-toggle.is-active > svg {
    stroke: #5FAEEF;
    fill: #5FAEEF;
}
.uhpp-stories-archive__filters-wrap {
    padding-bottom: 20px;
    display: none;
}
.uhpp-stories-archive__filter {
    background-color: #f8f8f8;
    border-radius: 6px;
    padding: 20px;
    margin: 0 0 25px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.uhpp-stories-archive__filter:last-child {
    margin-bottom: 0;
}
.uhpp-stories-archive__filter > h3 {
    border-bottom: 1px solid #DFDFDF;
    padding-bottom: 15px;
    margin: 0 0 25px;
    font-size: 24px;
    line-height: 34px;
}
.uhpp-stories-archive__filter-term {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.uhpp-stories-archive__filter-term:last-child {
    margin-bottom: 0;
}
.uhpp-stories-archive__filter-term-checkbox {
    appearance: none;
    height: 25px;
    width: 25px;
    border: 2px solid #DFDFDF;
    background-color: #ffffff;
    border-radius: 6px;
    flex: 0 0 25px;
    max-width: 25px;
}
.uhpp-stories-archive__filter-term-checkbox:checked {
    background-color: #5FAEEF;
    border-color: #5FAEEF;
    background-image: url( 'check-solid-white.svg' );
    background-repeat: no-repeat;
}
.uhpp-stories-archive__filter-term-label {
    font-size: 20px;
    line-height: 30px;
    flex: 1 1 auto;
}
.uhpp-stories-archive__filter-term-count {
    font-size: 20px;
    line-height: 30px;
    margin: 0;
    padding: 0;
    color: #5FAEEF;
    text-align: right;
    flex: 1 1 auto;
}
.uhpp-stories-archive__filters-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 0 auto;
    text-align: center;
}
.uhpp-stories-archive__filters-apply,
.uhpp-stories-archive__filters-reset {
    font-size: 16px;
    line-height: 24px;
    box-sizing: border-box;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    word-break: break-word;
    border: 2px solid transparent;
    padding: 15px 25px !important;
    border-radius: 200px;
    display: block;
    margin: 0 auto;
    text-transform: uppercase;
    font-weight: 600;
    width: 100%;
    transition: color 150ms ease-in-out, background 150ms ease-in-out, border-color 150ms ease-in-out !important;
}
.uhpp-stories-archive__filters-apply {
    background: #37608b;
    color: #ffffff;
}
.uhpp-stories-archive__filters-apply:hover {
    background: #5FAEEF;
    color: #ffffff;
}
.uhpp-stories-archive__filters-reset {
    background: #C54D4A;
    color: #ffffff;
}
.uhpp-stories-archive__filters-reset:hover {
    background: #B14543;
    color: #ffffff;
}
.uhpp-stories-archive__posts-wrap {
    flex: 1 1 100%;
    max-width: 100%;
    position: relative;
}
.uhpp-stories-archive__noposts {
    text-align: center;
    width: 100%;
}
.uhpp-stories-archive__noposts > h2 {
    color: #204a7e;
    text-transform: uppercase;
}
.uhpp-stories-archive__ajax-noposts {
    color: #204a7e;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
}
.uhpp-stories-archive__posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
.uhpp-stories-archive__post-thumb {
    width: 100%;
    height: auto;
    overlay: hidden;
    margin: 0 0 20px;
}
.uhpp-stories-archive__post-thumb img {
    width: 100%;
    height: auto;
    display: block;
    transform: translateZ(0);
    max-width: 100%;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    border-radius: 6px;
}
.uhpp-stories-archive__post-content ul.story-terms {
    display: inline-block;
    list-style: none;
    padding: 0;
    margin: 0px;
    white-space: normal;
}
.uhpp-stories-archive__post-content ul.story-terms li {
    display: inline;
    list-style-type: none;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    text-transform: uppercase;
    color: #204a7e;
    font-size: 14px;
    font-weight: 800;
    line-height: 18px;
    letter-spacing: 1px;
}
.uhpp-stories-archive__post-content ul.story-terms li:not(:last-child):after {
    position: relative;
    display: inline;
    content: ", ";
}
.uhpp-stories-archive__post-content h2.entry-title {
    font-weight: 800;
    font-size: 40px;
    line-height: 50px;
    margin: 0 0 10px;
    padding: 0;
}
.uhpp-stories-archive__post-content h2.entry-title > a {
    color: #383838;
}
.uhpp-stories-archive__post-content h2.entry-title > a:hover {
    color: #37608b;
}
.uhpp-stories-archive__post-content p.entry-excerpt {
    font-size: 18px;
    line-height: 26px;
    padding: 0;
    margin: 0 0 15px;
}
.uhpp-stories-archive__post-content a.read-more {
    display: inline-block;
    padding: 10px 25px;
    background: #37608b;
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
    border-radius: 200px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 150ms ease-in-out, background 150ms ease-in-out;
}
.uhpp-stories-archive__post-content a.read-more:hover {
    background: #fccc07;
    color: #37608b;
}
.uhpp-stories-archive__posts-loader {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.75);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: none;
}
.uhpp-stories-archive__posts-loader.is-loading {
    display: flex;
}
.uhpp-stories-archive__posts-loader > i {
    color: #204a7e;
}
.uhpp-stories-archive__load-more {
    text-wrap: center;
    margin: 50px 0 0;
    border-top: 1px solid #DFDFDF;
    padding: 40px 0 0;
}
.uhpp-stories-archive__load-more-button {
    appearance: none;
    background: #37608b;
    color: #ffffff;
    font-size: 16px;
    line-height: 24px;
    box-sizing: border-box;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    word-break: break-word;
    border: 2px solid transparent;
    padding: 15px 25px !important;
    width: 200px;
    display: block;
    margin: 0 auto;
    text-transform: uppercase;
    border-radius: 200px !important;
    font-weight: 600;
    transition: color 150ms ease-in-out, background 150ms ease-in-out, border-color 150ms ease-in-out !important;
}
.uhpp-stories-archive__load-more-button[disabled]{
    cursor: not-allowed;
    background-color: #ffffff;
    border-color: #37608b;
    color: #37608b;
    opacity: 0.4;
}
.uhpp-stories-archive__load-more-button.no-posts {
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    clip: rect(0 0 0 0);
    position: absolute;
    overflow: hidden;
    margin: -1px;
    height: 1px;
    width: 1px;
    padding: 0;
}
.uhpp-stories-archive__load-more-button:not([disabled]):hover, .uhpp-stories-archive__load-more-button:not([disabled]).active {
    background: #fccc07;
    color: #37608b;
}
.uhpp-stories-archive__load-more-loader {
    margin-left: 5px;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    clip: rect(0 0 0 0);
    position: absolute;
    overflow: hidden;
    margin: -1px;
    height: 1px;
    width: 1px;
    padding: 0;
}
.uhpp-stories-archive__load-more-button.is-loading .uhpp-stories-archive__load-more-loader {
    clip-path: unset;
    position: unset;
    overflow: unset;
    padding: unset;
    margin: unset;
    height: unset;
    width: unset;
    clip: unset;
}
@media only screen and ( min-width: 768px ){

    .uhpp-stories-archive__post.has-post-thumbnail {
        display: grid;
        grid-template-columns: 200px 1fr;
        gap: 32px;
    }
    .uhpp-stories-archive__post-thumb {
        margin: 0;
    }
}
@media only screen and ( min-width: 1024px ){
    .uhpp-stories-archive__posts {
        gap: 32px;
    }
    .uhpp-stories-archive__filters {
        flex: 0 0 300px;
        max-width: 300px;
    }
    .uhpp-stories-archive__filters-wrap {
        display: block !important;
    }
    .uhpp-stories-archive__filters-heading {
        display: block;
    }
    .uhpp-stories-archive__filters-toggle {
        display: none;
    }
    .uhpp-stories-archive__filters-apply {
        display: none;
    }
    .uhpp-stories-archive__posts-wrap {
        flex: 1 1 calc(100% - 332px);
        max-width: calc(100% - 332px);
    }
    .uhpp-stories-archive__post.has-post-thumbnail {
        grid-template-columns: 300px 1fr;
    }
}

/*
 * UHPP Story Shortcode
 */

.uhpp-story-card {
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
    border-radius: 6px;
    overflow: hidden;
}
.uhpp-story-card__post-thumb {
    width: 100%;
    height: auto;
}
.uhpp-story-card__post-thumb img {
    width: 100%;
    height: auto;
    display: block;
    transform: translateZ(0);
    max-width: 100%;
    position: relative;
    margin: 0 !important;
}
.uhpp-story-card__content {
    padding: 30px;
}
.uhpp-story-card__content ul.story-terms {
    display: inline-block;
    list-style: none;
    padding: 0;
    margin: 0px;
    white-space: normal;
}
.uhpp-story-card__content ul.story-terms li {
    display: inline;
    list-style-type: none;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    text-transform: uppercase;
    color: #204a7e;
    font-size: 14px;
    font-weight: 800;
    line-height: 18px;
    letter-spacing: 1px;
}
.uhpp-story-card__content ul.story-terms li:not(:last-child):after {
    position: relative;
    display: inline;
    content: ", ";
}
.uhpp-story-card__content h2.entry-title {
    font-weight: 800;
    font-size: 24px;
    line-height: 34px;
    margin: 0 0 10px;
    padding: 0;
}
.uhpp-story-card__content h2.entry-title > a {
    color: #383838;
}
.uhpp-story-card__content h2.entry-title > a:hover {
    color: #37608b;
}
.uhpp-story-card__content p.entry-excerpt {
    font-size: 18px;
    line-height: 26px;
    padding: 0;
    margin: 0 0 15px;
}
.uhpp-story-card__content a.read-more {
    display: inline-block;
    padding: 10px 25px;
    background: #37608b;
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
    border-radius: 200px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 150ms ease-in-out, background 150ms ease-in-out;
}
.uhpp-story-card__content a.read-more:hover {
    background: #fccc07;
    color: #37608b;
}