/* For smaller, one-off styling needs that don't fit elsewhere */

html {
    overflow-y: scroll;
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.wp-embed-aspect-16-9 div.wp-block-embed__wrapper {
    overflow: hidden;
    padding-top: 56.25%;
    position: relative;
    background-color: var(--wp--preset--color--black);
}
  
div.wp-block-embed__wrapper iframe {
    border: none;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

#page-wrapper.menu-open {
    display: none !important;
}

.w-100.h-auto.mb-2.wp-post-image {
    border-radius: 10px;
    display: block;
}

.sub-cat-margin {
    margin-bottom: 6rem !important;
}

.cat-icon {
    max-width: 100px !important;
    max-height: 100px !important;
    width: auto;
}

.mini-cat-icon {
    max-width: 50px !important;
    max-height: 50px !important;
    width: auto;
    margin-right: .25rem;
}

.list-title-container {
    height: 0px;
    z-index: 1;
    position: relative;
}

.wp-block-image.is-style-rounded img {
    border-radius: 10px;
}

.is-style-rounded {
    border-radius: 10px;
}

.post-card {
    border: 1px solid var(--wp--preset--color--plum);
    padding: 1.25rem 1.5rem;
    background-color: var(--wp--preset--color--white);
    border-radius: 6px;
    display: flex;
    position: relative;
    -webkit-box-shadow: 5px 5px 0px -1px var(--wp--preset--color--plum);
    -moz-box-shadow: 5px 5px 0px -1px var(--wp--preset--color--plum);
    box-shadow: 5px 5px 0px -1px var(--wp--preset--color--plum);
}

.post-card .quick-take img {
    max-width: 100px;
    min-width: 100px;
    min-height: 100px;
    max-height: 100px;
    object-fit: cover;
    border-radius: 5px;
    display: block;
}

.publication-image-wrapper {
    width: 100%;
    max-height: 250px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.publication-card img {
    width: 100%;
    height: 100%;
}

.publication-card {
    padding-bottom: 1rem;
    border-bottom: 1px solid transparent;
}

.publication-card:hover {
    border-bottom: 1px solid var(--wp--preset--color--violet);
}

.pub-cover {
    object-fit: cover;
    max-height: 250px;
    min-height: 250px;
    border-radius: 10px;
}

.fill {
    object-fit: fill;
}

.post-card .press img {
    max-width: 100px;
    min-width: 100px;
    min-height: 100%;
    max-height: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0px;
    margin-right: var(--global--spacing-horizontal);
    display: block;
}

.press {
    flex: auto;
    align-items: stretch;
}

.press-border {
    border-left: 1px solid var(--wp--preset--color--periwinkle);
    min-height: 100px;
}

.post-card:hover {
    top: 4px;
    left: 4px;
    -webkit-box-shadow: 1px 1px 0px -1px var(--wp--preset--color--plum);
    -moz-box-shadow: 1px 1px 0px -1px var(--wp--preset--color--plum);
    box-shadow: 1px 1px 0px -1px var(--wp--preset--color--plum);
}

.post-card:hover .post-title a {
    color: var(--wp--preset--color--violet);
}


.absolute-cover-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

body.logged-in .sticky-cat-nav {
    position: sticky;
    top: 40px;
}

body.support main {
    background-color: var(--wp--preset--color--plum);
    color: var(--wp--preset--color--white);
}

body.page-template-page-lilac main {
    background-color: var(--wp--preset--color--lilac);
    color: var(--wp--preset--color--black);
}

body.page-template-page-periwinkle main {
    background-color: var(--wp--preset--color--periwinkle);
    color: var(--wp--preset--color--black);
}

.has-inherit-background-color {
    background-color: var(--wp--preset--color--white) !important;;
}

body.page-template-page-periwinkle .has-inherit-background-color {
    background-color: var(--wp--preset--color--periwinkle) !important;;
}

body.page-template-page-lilac .has-inherit-background-color {
    background-color: var(--wp--preset--color--lilac) !important;;
}

body.single-quick-take main .single-header {
    background-color: var(--wp--preset--color--sky-blue);
    color: var(--wp--preset--color--black);
}

body.single-publication.report main .single-header {
    background-color: var(--wp--preset--color--half-plum);
    color: var(--wp--preset--color--white);
}

body.single-toolkit main .single-header {
    background-color: var(--wp--preset--color--medium-blue);
    color: var(--wp--preset--color--plum);
}

body.single-event main .single-header {
    background-color: var(--wp--preset--color--lilac);
    color: var(--wp--preset--color--black);
}

body.single-publication.white-paper main .single-header {
    background-color: var(--wp--preset--color--gray);
    color: var(--wp--preset--color--black);
}

body.single-publication.book main .single-header {
    background-color: var(--wp--preset--color--yellow);
    color: var(--wp--preset--color--black);
}

body.single-publication main .single-header {
    background-color: var(--wp--preset--color--periwinkle);
    color: var(--wp--preset--color--black);
}

body.single-publication main .single-header h1, body.single-publication.report main .single-header h1, body.book main .single-header h1, body.white-paper main .single-header h1, body.single-quick-take main .single-header h1, body.single-toolkit main .single-header h1  {
    max-width: var(--responsive--aligndefault-width);
    width: var(--responsive--aligndefault-width);
    margin-left: auto;
    margin-right: auto;
}

body.press main .single-header h1  {
    max-width: var(--responsive--aligndefault-width);
    width: var(--responsive--aligndefault-width);
    margin-left: auto;
    margin-right: auto;
}

body.single-publication main .single-header, body.report main .single-header, body.book main .single-header, body.white-paper main .single-header, body.single-quick-take main .single-header {
    padding-bottom: 300px;
}

body.single-toolkit main .single-header {
    padding-bottom: 2rem;
}

body.single-publication.report main .single-header .author a {
    color: var(--wp--preset--color--white);
    font-family: var(--global--font-medium);
    font-size: 1.25rem;
}

body.single-publication.white-paper main .single-header .author a {
    color: var(--wp--preset--color--black);
    font-family: var(--global--font-medium);
    font-size: 1.25rem;
}

body.single-toolkit main .single-header .author a {
    color: var(--wp--preset--color--plum);
    font-family: var(--global--font-medium);
    font-size: 1.25rem;
}

body.single-quick-take main .single-header .author a {
    color: var(--wp--preset--color--black);
    font-family: var(--global--font-medium);
    font-size: 1.25rem;
}

body.single-publication main .single-header .author a, body.book main .single-header .author a {
    color: var(--wp--preset--color--black);
    font-family: var(--global--font-medium);
    font-size: 1.25rem;
}

body.single-publication main .single-post-thumbnail img, body.report main .single-post-thumbnail img, body.book main .single-post-thumbnail img, body.white-paper main .single-post-thumbnail img, body.single-quick-take main .single-post-thumbnail img {
    position: relative;
    max-width: 100%;
    min-width: 100%;
    min-height: 450px;
    max-height: 450px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 0 !important;
}

body.single-publication main .single-post-thumbnail, body.report main .single-post-thumbnail, body.book main .single-post-thumbnail,  body.white-paper main .single-post-thumbnail, body.single-quick-take main .single-post-thumbnail {
    margin-top: -280px;
    position: relative;
}

.sticky-cat-nav {
    position: sticky;
    top: 10px;
    z-index: 1;
}
  
.cat-nav-container {
    padding: .5rem 1rem;
    border: 1px solid var(--wp--preset--color--plum);
    border-radius: 10px;
    display: inline-block;
    position: relative;
    max-width: 100%;
    background-color: var(--wp--preset--color--white);
}

.cat-nav-container {
    min-width: 200px;
    flex-wrap: wrap;
}

.sticky-cat-item {
    flex-wrap: wrap;
}
  
.cat-nav-container::before {
    content: "";
    display: block;
    position: absolute;
    left: -50%;
    width: 280%;
    top: -30px;
    height: 50px;
    z-index: -1;
    background-color: var(--wp--preset--color--white);
    border-bottom: 1px solid var(--wp--preset--color--plum);
}

.featured-image-wrapper {
    position: relative;
    transform: translateY(30%);
}

@media screen and (max-width: 940px) {
    .sticky-cat-nav {
        display: none !important;
    }

    body.report main .single-header h1, body.book main .single-header h1, body.white-paper main .single-header h1  {
        max-width: 100%;
        width: var(--responsive--aligndefault-width);
        margin-left: auto;
        margin-right: auto;
      }

    .wp-block-pullquote blockquote p {
        max-width: 100%;
        width: var(--responsive--aligndefault-width);
    }

    .cat-nav-container {
        display: none !important;
    }

    .pub-cover {
        object-fit: cover;
        max-height: 300px;
        min-height: 300px;
        border-radius: 10px;
    }

    .publication-image-wrapper {
        max-height: 300px;
    }
}

@media screen and (max-width: 600px) {

    body.report main .single-header h1, body.book main .single-header h1, body.white-paper main .single-header h1, body.single-quick-take main .single-header h1, body.single-toolkit main .single-header h1  {
        max-width: calc(100% - 3rem) !important;
    }

    body.single-publication main .single-post-thumbnail img, body.report main .single-post-thumbnail img, body.book main .single-post-thumbnail img, body.white-paper main .single-post-thumbnail img, body.single-quick-take main .single-post-thumbnail img {
        max-height: 280px;
        min-height: 280px;
    }

    .pub-cover {
        object-fit: cover;
        max-height: 250px;
        min-height: 250px;
        border-radius: 10px;
    }

    .featured-image-wrapper {
        transform: translateY(15%);
    }

    .publication-image-wrapper {
        max-height: 250px;
    }
}