#post-container {
    position: relative;
    overflow: hidden;
}

#post-hero {
    height: 700px;
    position: relative;
    display: flex;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    overflow: hidden;
}

#post-hero-content {
    margin-top: auto;
    position: relative;
    margin-bottom: 30px;
    text-align: center;
    justify-content: center;
}

#post-hero::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(41, 53, 66);
    background: -moz-linear-gradient(0deg, rgba(41, 53, 66, 1) 0%, rgba(41, 53, 66, 0.9976584383753502) 6%, rgba(41, 53, 66, 0.6881346288515406) 49%, rgba(41, 53, 66, 0) 100%);
    background: -webkit-linear-gradient(0deg, rgba(41, 53, 66, 1) 0%, rgba(41, 53, 66, 0.9976584383753502) 6%, rgba(41, 53, 66, 0.6881346288515406) 49%, rgba(41, 53, 66, 0) 100%);
    background: linear-gradient(0deg, rgba(41, 53, 66, 1) 0%, rgba(41, 53, 66, 0.9976584383753502) 6%, rgba(41, 53, 66, 0.6881346288515406) 49%, rgba(41, 53, 66, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#293542", endColorstr="#293542", GradientType=1);
}

#post-hero-content .post-date {
    margin-bottom: 10px;
}

#post-hero-content .post-date p {
    font-size: 12px;
    color: var(--white);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

#post-hero-content .post-date span {
    display: inline-flex;
    width: 18px;
    height: 18px;
    mask: url('../../images/calendar-icon.svg') no-repeat center;
    -webkit-mask: url('../../images/calendar-icon.svg') no-repeat center;
    background-color: var(--white);
    margin-right: 10px;
}

/*.post-content-inner {*/
/*    width: 850px;*/
/*    flex-basis: 850px;*/
/*    max-width: 100%;*/
/*    margin-left: auto;*/
/*    margin-right: auto;*/
/*}*/

#post-content {
    padding: 50px 15px;
    background-color: var(--white);
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

/* Apply styles to specific block types */
.wp-block-paragraph,
.wp-block-heading,
.wp-block-image,
.wp-block-quote,
.wp-block-list {
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Apply styles to all block elements */
#post-content .wp-block {
    margin-top: 40px;
    margin-bottom: 40px;
}

*[class*="wp-block"] {
    margin-top: 40px;
    margin-bottom: 40px;
}

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


.post-content-inner a {
    color: var(--orange);
    text-decoration-line: underline;
}

.post-content-inner h2,
.post-content-inner h3,
.post-content-inner h4,
.post-content-inner h5,
.post-content-inner h6 {
    color: var(--blue);
}

#post-container {
    margin-top: 50px;
    overflow: initial;
}

.post-content-inner li::marker {
    color: var(--orange);
}

.story-person-wrapper {
    width: 360px;
    flex-basis: 360px;
    padding-left: 40px;
    padding-right: 40px;
}

.person-image-wrapper {
    margin-top: -80px;
    margin-bottom: 35px;
}

.person-image-inner {
    height: 420px;
    position: relative;
    border-bottom-left-radius: 40px;
    overflow: hidden;
}

.person-image-inner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-person-info h5 {
    margin-bottom: 5px;
}

.story-person-info p {
    font-size: 14px;
}

.story-content-wrapper {
    width: calc(100% - 360px);
    flex-basis: calc(100% - 360px);
    padding: 0 15px;
}

@media (max-width: 991.8px) {

    #post-hero {
        height: 400px;
    }

    #post-content {
        padding: 30px 15px;
    }

    .story-person-wrapper {
        width: 200px;
        flex-basis: 200px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .story-content-wrapper {
        width: calc(100% - 200px);
        flex-basis: calc(100% - 200px);
        padding: 0 15px;
    }

    .person-image-inner {
        height: 300px;
    }
}

@media (max-width: 767.8px) {

    #post-hero {
        height: 400px;
    }

    #post-hero-content .post-date {
        margin-bottom: 0;
    }

    #post-content {
        padding: 30px 15px;
    }

    /* Apply styles to specific block types */
    .wp-block-paragraph,
    .wp-block-heading,
    .wp-block-image,
    .wp-block-quote,
    .wp-block-list {
        margin-top: 25px;
        margin-bottom: 25px;
    }

    /* Apply styles to all block elements */
    #post-content .wp-block {
        margin-top: 25px;
        margin-bottom: 25px;
    }

    *[class*="wp-block"] {
        margin-top: 25px;
        margin-bottom: 25px;
    }

    .story-person-wrapper {
        width: 100%;
        flex-basis: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .story-content-wrapper {
        width: 100%;
        flex-basis: 100%;
        padding: 0 15px;
        margin-bottom: 15px;
    }

    .person-image-inner {
        height: 300px;
        border-top-right-radius: 30px;
    }

    .person-image-wrapper {
        margin-top: -80px;
    }

    .story-person-info {
        text-align: center;
    }

    .story-content-wrapper h1 {
        text-align: center;
    }
}