.blog-page-container {
    padding: 80px var(--paddingwrappersides);
}

.blog-page-list-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 400px;
    max-width: 500px;
}

.blog-card-content,
.blog-card-image {
    width: 100%;
}

.blog-page-header-container {
    display: flex;
    flex-direction: column;
    padding-bottom: 16px;
}

#blog-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

#blog-featured {
    position: sticky;
    top: 60px;
}

.blog-featured-container {
    position: relative;
}

.blog-card-image {
    border-radius: 12px;
    overflow: hidden;
    object-fit: cover;
}

.blog-card-header {
    font-family: Gotham Bold, Trebuchet MS, sans-serif;
    font-size: 20px;
    line-height: 24px;
}

.blog-card-feature-header {
    font-family: Gotham Bold, Trebuchet MS, sans-serif;
    font-size: 28px;
    line-height: 30px;
}

.blog-card-date {
    font-family: Gotham Book, Trebuchet MS, sans-serif;
    font-size: 14px;
    letter-spacing: 0;
}

.blog-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    border: thin solid var(--900);
    transition: all 300ms ease;

    .blog-card-image {
        overflow: hidden;
        border-radius: 16px;
        padding: 8px;
    }

    .blog-card-content {
        padding: 20px 32px 32px 32px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
}

.blog-featured-card {
    flex-direction: column-reverse;
    background: radial-gradient(ellipse at top right, rgb(14 81 126) 0%, rgb(16, 24, 40) 50%);
    border: thin solid transparent;

    .blog-featured-content {
        padding: 32px 32px 20px 32px;
    }

    .blog-card-header, p, span {
        color: white!important;
    }
}


.blog-card:hover {
    transform: translateY(-8px);
    filter: drop-shadow(0 0 15px #dbf1ff);
    transition: all 300ms ease;
}

.blog-card-link {
    display: flex;
    gap: 32px;
    height: 100%;
}

.blog-page-header {
    font-family: Gotham Bold, Trebuchet MS, sans-serif;
    font-size: 20px;
    line-height: 24px;
    padding-bottom: 8px;
}

.underline.text-dark {
    background: var(--900);
}

.blog-section-featured {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.blog-feature-img-wrapper {
    padding: 0;
    width: 100%;
    filter: drop-shadow( 0 0 15px #dadada);
}

.blog-feature-img {
    height: 100%;
    width: auto;
    object-fit: cover;
    border-radius: 12px;
}

.blog-img {
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    object-fit: cover;
    height: auto;
}

h2.blog-subtitle {
    font-size: 30px;
    line-height: 30px;
    font-weight: 700;
    color: var(--infrashield-darklight);
}

.h4-styling.text-dark {
    color: var(--infrashield-darklight);
}

.blog-metadata {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;

    h1 {
        font-size: 38px;
        line-height: 40px;
    }
}

.blog-section {
    padding-bottom: 40px;
}

.blog-post {
    display: none;
    z-index: 20;
    position: relative;
    flex-direction: column;
    align-items: center;

    h3 {
        padding-bottom: 16px;
    }

    h4 {
        margin-bottom: 16px;
    }

    p:not(.post-metadata) {
        padding-bottom: 30px;
    }

    .left-side-line {
        background: var(--infrashield-darklight);
    }

    .ul-list-styling li {
        line-height: inherit;
    }
}

.blog-post.active {
    display: flex;
}

.blog-body {
    padding-top: 0;
}

.blog-content {
    max-width: 900px;
    padding: 0 60px var(--paddingwrappersides);
    padding-bottom: 0;

    h2 {
        padding-bottom: 16px;
    }

    .ul-list-styling {
        margin-top: -10px;
        padding-bottom: 40px;
    }
}

.blog-tldr {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 40px 30px;
    border-radius: 12px;
}

.blog-summary {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 32px;
    align-items: center;
    padding: var(--paddingwrappersides);
    padding-bottom: 30px;
    padding-top: 0;
}

.inline-link {
    display: inline;
    text-decoration: underline;
}

.blog-inline-img-src {
    display: flex;
    gap: 8px;
    flex-direction: column;
    align-items: center;
    padding-bottom: 30px;
    text-align: center;
}

.blog-img-vertical {
    height: 100%;
    width: auto;
}

.blog-hero {
    z-index: 21;
    display: flex;
    flex-direction: row;
    gap: 16px;
    max-width: 1440px;
    padding-bottom: 0;
    align-items: center;
    width: 100%;
}

.blog-summary-wrapper.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 32px;
    height: auto;

    .blog-content::after {
        background: transparent;
    }
}

.blog-summary-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 32px;
    height: 100%;

    .blog-content {
        position: relative;
        overflow: hidden;
    }

    .blog-content::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 200px;
        background: linear-gradient(to top,
        white 25%,
        rgba(255, 255, 255, 0.4) 40%,
        transparent 100%
        );
        pointer-events: none;
    }
}

.source-credit {
    font-style: italic;
    font-size: 10px;
    color: #787878;
}

.blog-page-container {
    background: white;
    z-index: 15;
    padding-bottom: 30px;
}

.show-post-btn {
    opacity: 0;
    transition: opacity 300ms ease;
}
.blogBtnHide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms ease;
}

.text-bold {
    font-weight: 700;
}

.blog-card:hover  {
    h2.blog-card-header  {
        color: var(--infrashield-darklight)!important;
    }
}

.blog-featured-card:hover {
    h2.blog-card-header {
        color: var(--infrashield-lighter) !important;
    }
}

@media only screen and (min-width: 769px) {
    .blog-page-container .p-styling {
        font-size: 18px!important;
        line-height: 32px!important;
    }
}

@media only screen and (max-width: 991px) {
    .blog-card-feature-header {
        font-size: 20px;
        line-height: 24px;
    }

    .blog-card-content .p-styling {
        font-size: 14px!important;
        line-height: 20px!important;
    }

    .blog-feature-img-wrapper {
        height: 100%;

        .blog-feature-img {
            height: auto;
        }
    }

    .blog-tldr {
        padding: 30px;
    }

    .blog-hub-container.blog-page-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .blog-summary {
        padding-top: 80px;
    }

    .blog-summary .blog-content {
        padding: 0 14px 0 14px;
    }

    .blog-content {
        padding: 0 30px 30px;
    }

    .blog-post {
        .ul-list-styling {
            padding-right: 0;
        }
    }

    .blog-page-container {
        padding-top: 0;
        padding-left: 0;
        padding-right: 0;
        .p-styling {
            font-size: 16px;
            line-height: 28px;
        }

        h4, h3 {
            font-size: 20px;
            line-height: 24px;
        }

    }

    .blog-hero {
        flex-direction: column-reverse;
        padding-left: 0px;
        padding-right: 0px;

        h1 {
            font-size: 28px;
            line-height: 32px;
        }
    }

}

@media only screen and (max-width: 850px) {
    .blog-section-featured {
        flex-direction: column;
    }

    .blog-page-list-container {
        max-width: 100%;
        min-width: 0;
    }
}