body.blog .container, body.archive .container {
    width: 100%;
    max-width: 1340px;
    padding-left: 20px;
    padding-right: 20px;
}
body.single .container {
    width: 100%;
    max-width: 1200px;
    padding-left: 20px;
    padding-right: 20px;
}
body.blog #header-area,
body.archive #header-area {
    width: 100%;
}
#header-area h1.entry-header {
    font-size: 38px;
    line-height: 54px;
    font-family: 'Inter', sans-serif;
    color: #1F446B;
}
body.blog article.et_pb_post, 
body.archive article.et_pb_post {
    width: calc(50% - 15px);
    margin: 0 0 10px;
    border: 1px solid #d8d8d8;
    background-color: #fff;
    word-wrap: break-word;
    padding: 0 24px 20px 20px;
    border-radius: 6px 6px 6px 6px;
    overflow: hidden;
    border-bottom-width: 4px;
    border-bottom-color: #d8d8d8;
}
body.blog article.et_pb_post .entry-featured-image-url,
body.archive article.et_pb_post .entry-featured-image-url {
    display: block;
    position: relative;
    margin-bottom: 20px;
    margin-left: -20px;
    margin-right: -25px;
}
body.blog article.et_pb_post .entry-featured-image-url img,
body.archive article.et_pb_post .entry-featured-image-url img {
    width: 100%;
    display: block;
    max-height: 250px;
    height: auto;
    object-fit: cover;
}
body.blog article.et_pb_post h2.entry-title, 
body.blog article.et_pb_post h2.entry-title a,
body.archive article.et_pb_post h2.entry-title, 
body.archive article.et_pb_post h2.entry-title a {
    font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 600 !important;
    color: #000000 !important;
    font-size: 18px !important;
    line-height: 26px !important;
    text-align: left !important;
}
body.blog article.et_pb_post p.post-meta,
body.archive article.et_pb_post p.post-meta {
    font-size: 0 !important;
    border-bottom: 1px solid #d8d8d8;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
}
body.blog article.et_pb_post p.post-meta span.author,
body.archive article.et_pb_post p.post-meta span.author {
    display: none;
}
body.blog article.et_pb_post p.post-meta span.published,
body.archive article.et_pb_post p.post-meta span.published {
    padding-right: 8px;
    margin-right: 8px;
}
body.blog article.et_pb_post p.post-meta span.published, 
body.blog article.et_pb_post a,
body.archive article.et_pb_post p.post-meta span.published, 
body.archive article.et_pb_post a {
    font-size: 14px !important;
    color: #65819E !important;
}
body.blog article.et_pb_post p.post-meta span.published:after,
body.archive article.et_pb_post p.post-meta span.published:after {
    content: "|";
    right: -8px;
    position: relative;
}
body.blog article.et_pb_post>p:not(.post-meta),
body.archive article.et_pb_post>p:not(.post-meta) {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    height: 95px;
    vertical-align: middle;
}
#sidebar .et_pb_widget.widget_search form#searchform input[type="text"] {
    width: 100% !important;
    max-width: 100%;
    padding: 8px 50px 8px 12px !important;
}
#sidebar .et_pb_widget.widget_search form#searchform input[type="submit"] {
    text-decoration: none;
    text-transform: none;
    font-size: 0;
    width: 42px;
    background-image: url(/wp-content/themes/Divi-child/assets/img/search-loop.svg);
    background-repeat: no-repeat;
    background-position: center;
}
#sidebar .et_pb_widget h4.wp-block-heading {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 -10px !important;
}
#sidebar .widget_recent_entries ul.wp-block-latest-posts li {
    display: flex;
    align-items: flex-start;
    column-gap: 12px;
    margin-bottom: 10px;
    position: relative;
}
#sidebar .widget_recent_entries ul.wp-block-latest-posts li .wp-block-latest-posts__post-date {
    position: absolute;
    bottom: 16px;
    left: 102px;
    font-size: 12px;
    color: #000;
}
#sidebar .widget_recent_entries .wp-block-latest-posts__featured-image {
    width: 90px;
    height: 90px;
}
#sidebar .widget_recent_entries ul.wp-block-latest-posts li a.wp-block-latest-posts__post-title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 48px;
    vertical-align: middle;
    color: #000;
    max-width: 200px;
    width: calc(100% - 102px);
}
body.blog #left-area, body.archive #left-area, body.single #left-area {
    padding-bottom: 5em;
}
/*** single ***/
body.single .et_post_meta_wrapper h1.entry-title {
    font-size: 38px;
    line-height: 54px;
    font-family: 'Inter', sans-serif;
    color: #1F446B;
}
body.single .entry-content, body.single .entry-content p {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    line-height: 28px;
    color: #000;
}
body.single .entry-content {
    padding-top: 24px;
}
body.single .et_post_meta_wrapper p.post-meta {
    font-size: 0 !important;
}
body.single .et_post_meta_wrapper p.post-meta span.author {
    display: none;
}
body.single .et_post_meta_wrapper p.post-meta span.published {
    padding-right: 8px;
    margin-right: 8px;
}
body.single .et_post_meta_wrapper p.post-meta span.published,
body.single .et_post_meta_wrapper p.post-meta a,
body.single .et_post_meta_wrapper p.post-meta span.comments-number {
    font-size: 14px !important;
    color: #65819E !important;
}
body.single .et_post_meta_wrapper p.post-meta span.published:after {
    content: "|";
    right: -8px;
    position: relative;
}
body.single .et_post_meta_wrapper p.post-meta span.comments-number {
    padding-left: 8px;
    margin-left: 8px;
}
body.single .et_post_meta_wrapper p.post-meta span.comments-number:before {
    content: "|";
    left: -8px;
    position: relative;
}
body.single .et_post_meta_wrapper>img {
    width: 100%;
    max-height: 300px;
    border-radius: 8px;
    object-fit: cover;
}
body.single section#comment-wrap {
    padding-top: 60px;
}
body.single section#comment-wrap h3 {
    font-size: 24px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #000;
}
body.single section#comment-wrap .submit.et_pb_button {
    padding: .4em 1.5em !important;
    border: none !important;
    color: #fff;
    text-transform: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    outline: 0 !important;
    background: #a72d57;
    margin: 0 !important;
}
body.single section#comment-wrap .submit.et_pb_button:hover {
    background: #1F446B;
}
body.single section#comment-wrap p.comment-form-url {
    display: none;
}
body.single section#comment-wrap p.comment-form-author, body.single section#comment-wrap p.comment-form-email {
    width: calc(50% - 10px);
}
body.single section#comment-wrap p.comment-form-cookies-consent, body.single section#comment-wrap p.form-submit ,
body.single section#comment-wrap form#commentform p.comment-notes, body.single section#comment-wrap form#commentform p.comment-form-comment {
    width: 100%;
}
body.single section#comment-wrap p.comment-form-author input, body.single section#comment-wrap p.comment-form-email input {
    width: 100% !important;
    border: 1px solid #E3E7F0 !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    padding: 8px 12px !important;
    height: 40px !important;
    font-size: 14px !important;
    line-height: 24px !important;
    color: #000 !important;
}
body.single section#comment-wrap textarea#comment {
    width: 100% !important;
    border: 1px solid #E3E7F0 !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    padding: 8px 12px !important;
    height: 100px !important;
    font-size: 14px !important;
    line-height: 24px !important;
    color: #000 !important;
}
body.single section#comment-wrap #commentform {
    padding-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
}
body.single #sidebar {
    margin-top: 1rem;
}
/** dark mode ***/
.single.single-post #main-content:has(.category-fiction) {
    background-image: none;
}
.single #content-area .story_heading {
    color: #000000;
}
.single #content-area h2.story_heading {
    font-size: 24px;
    line-height: 30px;
}
.single #content-area .story_text {
    color: #000;
}
.single #content-area .story_text a {
    color: #E4A033;
}
#sidebar .wp-block-latest-posts__featured-image.alignleft {
    float: left;
    margin-right: 0;
}
#main-content:has(.category-fiction) .entry-title {
    color: #1F446B;
}
body.single .entry-content img {
    margin: 0 0 20px;
}
#main-content:has(.category-fiction) .post-meta, .single.single-post #commentform > p, .comment-reply-title {
    color: #000;
}
body.single .et_post_meta_wrapper>img {
    display: none;
}
body.single .et_post_meta_wrapper picture {
    display: none !important;
}
@media (min-width: 768px) {
    body.blog #left-area, body.archive #left-area  {
        display: flex;
        flex-wrap: wrap;
        column-gap: 30px;
        row-gap: 20px;
    }
    body.blog article.et_pb_post, body.archive article.et_pb_post {
        width: calc(50% - 15px);
    }
}
@media (min-width: 981px) {
    body.blog #left-area, body.archive #left-area, body.single #left-area {
        padding-right: 40px;
    }
    body.blog #sidebar, body.archive #sidebar, body.single #sidebar {
        padding-left: 0;
    }
}
@media (max-width: 981px) {
    body.blog #sidebar, body.archive #sidebar, body.single #sidebar {
        display: block!important;
    }
    body.blog #sidebar, body.archive #sidebar, body.single #sidebar {
        max-width: calc(50% - 15px);
        border: 1px solid #d8d8d8;
        padding: 20px 20px 10px;
        border-radius: 8px;
        margin-bottom: 60px;
    }
    #sidebar .et_pb_widget.widget_block.widget_recent_entries {
        margin-bottom: 0 !important;
    }
    body.blog #left-area, body.archive #left-area, body.single #left-area {
        padding-bottom: 0;
    }
    body.single section#comment-wrap #commentform {
        padding-bottom: 0; 
    }
}
@media (max-width: 768px) {
body.blog article.et_pb_post, body.archive article.et_pb_post {
    width: 100%;
    margin: 0 0 30px;
}
body.single section#comment-wrap {
    padding-top: 40px;
}
body.single section#comment-wrap h3 {
    font-size: 20px;
    line-height: 24px;
}
body.single .et_post_meta_wrapper h1.entry-title {
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 20px;
}
body.blog #header-area, body.archive #header-area {
    width: 100%;
    margin-bottom: 1rem;
}
#header-area h1.entry-header {
    font-size: 30px;
    line-height: 40px;
}
body.single .container {
    padding-top: 40px !important;
}
body.blog #sidebar, body.archive #sidebar, body.single #sidebar {
    max-width: 100%;
}
body.blog #left-area, body.archive #left-area {
    padding-bottom: 3em;
}
}
@media (max-width: 576px) {
body.single section#comment-wrap p.comment-form-author, body.single section#comment-wrap p.comment-form-email {
    width: 100%;
}

}