#view-main {
    padding: 0 !important;
    margin: 0 !important;
}

.base-css {
    margin-bottom: 70px !important;
}

.single-resources .container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}

#single-resources-default-template .container {
    max-width: 1520px;
    margin: 0 auto;
}

/* #single-resources-default-template .wp-block-spacer{
    display: none;
} */

/* Resource Header Styles */
.resource-header .title h1,
.resource-header .title .resource-title {
    font-family: "Darker Grotesque", sans-serif;
    font-size: 70px !important;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -.02px;
    margin: 0 0 30px;
}

/* Content and Sidebar Layout */
.single-resources .container.content-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.resource-content {
    flex: 1;
    min-width: 0;
    max-width: calc(65% - 20px);
}

.resource-sidebar {
    flex: 0 0 calc(35% - 20px);
    min-width: 0;
    position: sticky;
    top: 75px;
}

/* Resource Content Typography Styles */
.resource-content h1 {
    font-family: "Darker Grotesque", sans-serif;
    font-size: 70px !important;
    font-weight: 600;
    line-height: 80%;
    letter-spacing: -.02px;
    margin: 0 0 20px;
}

.resource-content h2 {
    font-family: "Darker Grotesque", sans-serif;
    font-size: 55px !important;
    font-weight: 300;
    line-height: 100%;
    letter-spacing: -.02px;
    margin: 30px 0 20px;
}

.resource-content h3 {
    font-family: "Darker Grotesque", sans-serif;
    font-size: 44px !important;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: -.02px;
    margin: 30px 0 20px;
}

.resource-content h4 {
    font-family: "Darker Grotesque", sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -.02px;
    margin: 30px 0 20px;
}

.resource-content h5 {
    font-family: "Darker Grotesque", sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: -.02px;
    margin: 30px 0 20px;
}

.resource-content h6 {
    font-family: "Darker Grotesque", sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: -.02px;
    margin: 30px 0 20px;
}

.resource-content h2 > strong {
    font-weight: bolder !important;   
}
.resource-content h3 > strong {
    font-weight: 600 !important;   
}
.resource-content h1.wp-block-heading{
    font-size: 60px !important;
    font-weight: 600 !important;
    margin: 25px 0 !important;
    line-height: 1 !important;
}
.resource-content h1 > strong{
    font-weight: 600 !important;   
} 
#single-resources-default-template .heading .meta .category.trends{
    padding: .55rem 1.6rem;
    font-size: 1.8rem;
    max-width: inherit;
    color: #3652f3;
    background: #e1e3f8;
    border-radius: .6rem;
    font-weight: 500;
}
/* .resource-content p {
    font-family: "Onest", sans-serif;
    font-size: 18px;
    font-weight: 250;
    margin: 0 0 15px;
} */

/* Figure, Image and Figcaption Centering */
.category.events-blog {
    background-color: #f3ec9d;
}
/* .resource-content figure {
    text-align: center;
    margin: 35px !important;
    max-width: 100%;
} */

.resource-content figure img {
    display: inline-block;
    margin: 0 auto !important;
    border-radius: 15px;
    max-width: 100%;
    height: auto;
}

.resource-content img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

.resource-content figure figcaption {
    text-align: center;
    font-family: "Onest", sans-serif;
    font-size: 18px;
    font-weight: 300;
    margin: 10px 0 0;
}

/* .resource-content em {
    font-style: italic;
} */

/* Lists Styling */
.resource-content ul,
.resource-content ol {
    margin: 0 0 15px 35px;
}

.resource-content ol {
    list-style-type: decimal !important;
}

.resource-content li {
    font-family: "Onest", sans-serif;
    font-size: 18px;
    font-weight: 250;
}

.resource-content li::marker {
    color: #3652f3;
}

.resource-content ol li::marker {
    font-weight: 300 !important;
}

.resource-content ol li {
    list-style-type: decimal !important;
    font-weight: 250 !important;
}

/* Table Styling */
/* .resource-content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 10px 0 0px;
} */

/* .resource-content tr:first-child {
    background-color: #4B109A;
    color: #fff;
} */

/* .resource-content tr:first-child td {
    font-weight: 600;
} */

/* .resource-content table.withNoFirstRow tr:first-child {
    display: none;
} */

.resource-content th,
.resource-content td {
    font-family: "Onest", sans-serif;
    font-size: 18px;
    padding: 8px;
    border: 1px solid #ddd;
}

.resource-content td a {
    color: #3652f3;
    text-decoration: none;
}

.resource-content th {
    font-weight: 700;
}

.resource-content td {
    font-weight: 250;
}

/* Blockquote Styling */
.resource-content blockquote {
    border-left: 4px solid #4B109A;
    padding: 15px 0 1px 20px;
    margin: 30px auto 20px;
}

/* Table Responsive */
.resource-content div.table-responsive {
    overflow-x: auto;
}

/* Sidebar Styles */
.resource-sidebar .subscribe {
    display: block;
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 15px;
}

.resource-sidebar .subscribe h6 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 30px;
}

.resource-sidebar .subscribe form .mktoOffset,
.resource-sidebar .subscribe form .mktoGutter,
.resource-sidebar .subscribe form label {
    display: none;
}

.resource-sidebar .subscribe .mktoForm,
.resource-sidebar .subscribe .mktoForm .mktoHasWidth.mktoHtmlText {
    width: auto !important;
}

.resource-sidebar .subscribe form .mktoFormRow:first-of-type {
    display: inline-block;
    width: 48%;
    margin-right: 4%;
}

.resource-sidebar .subscribe form .mktoFormRow:nth-of-type(2) {
    display: inline-block;
    width: 48%;
}

.resource-sidebar .subscribe form .mktoFormRow .mktoFormCol {
    width: 100%;
}

.resource-sidebar .subscribe form .mktoFormRow .mktoFormCol .mktoFieldWrap {
    width: 100%;
}

.resource-sidebar .subscribe form .mktoFormRow .mktoFormCol .mktoFieldWrap input {
    width: 100% !important;
    font-size: 16px;
    padding: 5px 10px 4px;
    font-family: 'Onest', sans-serif;
    box-shadow: none;
    border-radius: 5px;
}

.resource-sidebar .subscribe form .mktoFormRow .mktoFieldWrap>.mktoHtmlText,
.resource-sidebar .subscribe form .mktoCaptchaDisclaimer {
    font-size: 14px;
}

.resource-sidebar .subscribe form .mktoButtonRow {
    width: 100%;
    margin-top: 15px;
}

.resource-sidebar .subscribe form .mktoButtonRow .mktoButtonWrap {
    margin: 0 !important;
}

.resource-sidebar .subscribe form .mktoButtonRow .mktoButtonWrap .mktoButton {
    width: 100%;
    background-image: none;
    background: linear-gradient(230deg, #3652f3 16.03%, #a862ee 90.73%);
    border: 1px solid transparent;
    font-size: 18px;
    font-family: "Darker Grotesque", sans-serif;
    font-weight: 500;
    letter-spacing: .02em;
    text-transform: uppercase;
    padding: 7px 10px 9px;
}

/* Related Posts */
.resource-sidebar .related-posts {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 15px;
}

.resource-sidebar .related-posts .inner-container>h6 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 30px;
}

.resource-sidebar .related-posts .single {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.resource-sidebar .related-posts .single:last-child {
    margin-bottom: 0 !important;
}

.resource-sidebar .related-posts .single .thumbnail a {
    display: block;
}

.resource-sidebar .related-posts .single .thumbnail picture {
    display: block;
    max-width: 160px;
    width: 100%;
    border-radius: 8px;
}

.resource-sidebar .related-posts .single .thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    transition: transform 0.7s ease-out;
}

@media (pointer: fine) {
    .resource-sidebar .related-posts .single .thumbnail a:hover img {
        transform: scale(1.02);
    }
}

.resource-sidebar .related-posts .single .text {
    flex: 1;
    min-width: 0;
}

.resource-sidebar .related-posts .single .text .meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.resource-sidebar .related-posts .single .text .meta .category {
    padding: 7px 10px;
    border-radius: 6px;
}

.resource-sidebar .related-posts .single .text .meta .category p {
    font-family: "Onest", sans-serif;
    font-size: 16px;
    line-height: 1;
    font-weight: 250;
    margin-bottom: 0;
    text-transform: uppercase;
}

.resource-sidebar .related-posts .single .text .meta .date {
    display: inline-block;
}

.resource-sidebar .related-posts .single .text .meta .date p {
    font-family: "Onest", sans-serif;
    font-size: 16px;
    font-weight: 250;
    margin-bottom: 0;
    text-transform: uppercase;
}

.resource-sidebar .related-posts .single .text a {
    text-decoration: none;
    color: inherit;
}

.resource-sidebar .related-posts .single .text a h5 {
    font-family: "Onest", sans-serif;
    font-size: 18px;
    font-weight: 250;
    line-height: 1.2;
    margin: 0 0 15px;
    display: inline;
    background-image: linear-gradient(transparent, transparent), linear-gradient(currentColor, currentColor);
    background-size: 100% 0.1rem, 0 0.1rem;
    background-position: 0 100%, 100% 100%;
    background-repeat: no-repeat;
    transition: background-size ease-out 0.55s;
}

@media (pointer: fine) {
    .resource-sidebar .related-posts .single .text a:hover h5 {
        background-size: 0 0.1rem, 100% 0.1rem;
        background-position: 100% 100%, 0 100%;
    }
}

/* Category Colors */
.resource-sidebar .related-posts .single .text .meta .category.blog {
    background-color: #e1e3f8;
}

.resource-sidebar .related-posts .single .text .meta .category.news {
    background-color: #e1e3f8;
}

.resource-sidebar .related-posts .single .text .meta .category.news p {
    color: #3652f3;
}

.resource-sidebar .related-posts .single .text .meta .category.blog p {
    color: #3652f3;
}

.resource-sidebar .related-posts .single .text .meta .category.reports-research {
    background-color: #f8e1f0;
}

.resource-sidebar .related-posts .single .text .meta .category.reports-research p {
    color: #ec1f78;
}

.resource-sidebar .related-posts .single .text .meta .category.events {
    background-color: #f3ec9d;
}

.resource-sidebar .related-posts .single .text .meta .category.events p {
    color: #b6a800;
}

.resource-sidebar .related-posts .single .text .meta .category.events-blog {
    background-color: #f3ec9d;
}

.resource-sidebar .related-posts .single .text .meta .category.events-blog p {
    color: #b6a800;
}

.resource-sidebar .related-posts .single .text .meta .category.webinars {
    background-color: #cff1cc;
}

.resource-sidebar .related-posts .single .text .meta .category.webinars p {
    color: #27b700;
}

/* Share Section */
.resource-sidebar .share {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.resource-sidebar .share h6 {
    margin-bottom: 0;
    font-size: 22px;
    font-weight: 500;
}

.resource-sidebar .share .icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.resource-sidebar .share .icons img {
    width: 24px;
    height: 24px;
}

/* Progress Bar or Scroll-indicator related styles */
.single-resources .scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: transparent;
    z-index: 99999;
    opacity: 1;
    transition: opacity 0.3s ease;
    will-change: opacity;
}

.single-resources .scroll-indicator-bar {
    height: 100%;
    width: 100%;
    background: #4b109a;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.1s ease-out;
    will-change: transform;
    border-radius: 0 2px 2px 0;
}

/* Change scroll indicator to white when promo bar is active */
html.has-promo .single-resources .scroll-indicator-bar {
    background: #ffffff;
}

.single-resources .scroll-indicator.hidden {
    opacity: 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .single-resources .container.content-wrapper {
        flex-direction: column;
        gap: 35px;
    }

    .resource-content {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .resource-sidebar {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .resource-header .title h1,
    .resource-header .title .resource-title {
        font-size: 46px !important;
    }

    .resource-content h1 {
        font-size: 46px !important;
    }

    .resource-content h2 {
        font-size: 42px !important;
    }

    .resource-content h3 {
        font-size: 36px !important;
    }

    .resource-content h4 {
        font-size: 28px !important;
    }

    .resource-content h5 {
        font-size: 24px !important;
    }

    .resource-content h6 {
        font-size: 20px !important;
    }
    .resource-content p {
        font-size: 16px !important;
    }
    .resource-content li {
        font-size: 16px !important;
    }
}

@media (max-width: 600px) {

    .resource-header .title h1,
    .resource-header .title .resource-title {
        font-size: 46px !important;
    }

    .resource-content h1 {
        font-size: 46px !important;
    }

    .resource-content h2 {
        font-size: 42px !important;
    }

    .resource-content h3 {
        font-size: 36px !important;
    }

    .resource-content p,
    .resource-content li {
        font-size: 16px !important;
    }

    .resource-sidebar .related-posts,
    .resource-sidebar .share,
    .resource-sidebar .subscribe {
        padding: 20px;
    }

    .resource-sidebar .related-posts .single {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .resource-sidebar .related-posts .single .thumbnail {
        flex: 0 0 auto;
        width: 100%;
        max-width: 150px;
    }

    .resource-sidebar .related-posts .single .text .meta .category {
        padding: 2px 8px 3px;
    }

    .resource-sidebar .share {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .resource-content td {
        font-size: 14px;
    }
}


/* Responsive Containers Boiler Plate start */

#single-resources-default-template .container {
    width: 100%;
    margin-inline: auto;
    padding-inline: 2rem;
    /* 16px default gutter */
}

@media (min-width: 640px) {
    #single-resources-default-template .container {
        max-width: 640px;
    }
}
@media (max-width: 767px) {
    .wp-block-image .alignright{
        float: none !important;
        margin-left: auto !important;
        margin-right: auto !important
    }
    .wp-block-image .alignleft{
        float: none !important;
        margin-left: auto !important;
        margin-right: auto !important
    }
}
@media (min-width: 768px) {
    #single-resources-default-template .container {
        max-width: 688px;
    }
}

@media (min-width: 992px) {
    #single-resources-default-template .container {
        max-width: 912px;
    }
}

@media (min-width: 1024px) {
    #single-resources-default-template .container {
        max-width: 964px;
        padding-inline: 2rem;
    }
}

@media (min-width: 1280px) {
    #single-resources-default-template .container {
        max-width: 1200px;
        /* sweet spot for desktop reading */
    }
}

@media (min-width: 1440px) {
    #single-resources-default-template .container {
        max-width: 1360px;
        /* sweet spot for desktop reading */
    }
}

@media (min-width: 1536px) {
    #single-resources-default-template .container {
        max-width: 1456px;
    }
}

@media (min-width: 1920px) {
    #single-resources-default-template .container {
        max-width: 1680px;
        /* prevent absurdly long lines */
    }
}

@media (min-width: 992px) and (max-width: 1439px) {
    .resource-sidebar .related-posts .single {
        display: grid;
        grid-template-columns: 1fr;
    }
}