.blog-page .page-title-wrapper .page-title,
body.blog .page-title-wrapper .page-title {
    margin: 0;
    padding: 0;
}

.blog-page .page-title-wrapper .page-title span,
body.blog .page-title-wrapper .page-title span {
    margin: 0;
    padding: 0;
}

.blog-page .page-title-wrapper .page-title,
body.blog .page-title-wrapper .page-title {
    text-align: center;
    margin: 0 0 70px 0 !important;
    position: relative;
    color: #242424;
    font-weight: 500;
    font-size: 40px;
    line-height: 40px;
}

.blog-page .page-title-wrapper .page-title:before,
body.blog .page-title-wrapper .page-title:before {
    width: 60px;
    height: 2px;
    position: absolute;
    bottom: -26px;
    left: 50%;
    margin-left: -30px;
    background-color: #f4d26e;
    content: "";
}

.blog-index-index .page-title:after {
    display: none;
}

.post-list-wrapper .post-list .post-item {
    border: 0;
    background: #f8f8f8;
    background: linear-gradient(135deg, #fef9f5, #e8f9ff);
}

.post-list .post-title {
    font-weight: 500;
    font-size: 27px;
    line-height: 30px;
    color: #242424;
    margin: 0 0 20px 0;
    padding: 0;
}

.post-list .post-title a {
    color: #242424;
    font-family: "Fredoka", sans-serif !important;
}

.post-read-more a {
    font-family: "Poppins", sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    padding: 11px 30px !important;
    color: #fff !important;
}

.post-list .post-date {
    position: initial;
    padding: 4px 10px;
    background: #f4d26e;
    color: #fff;
    border: 0;
    font-size: 13px;
}

.post-author-name a {
    ont-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #242424;
    font-family: "Fredoka", sans-serif !important;
}

.post-description h2 {
    font-weight: 500;
    font-size: 22px;
    line-height: 24px;
    color: #242424;
}

.post-description p {
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #242424;
    margin: 0;
    padding: 0;
}

.toolbar.toolbar-blog-posts {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    text-align: center;
}

.toolbar.toolbar-blog-posts .primary {
    font-family: "Poppins", sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    padding: 11px 30px !important;
    color: #fff !important;
}

.toolbar.toolbar-blog-posts .mfblog-autoloader {
    text-align: center;
}

.sidebar .block-recent-posts .item .post-item-link {
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    color: #242424 !important;
}

.sidebar .block-archive .item a {
    font-family: "Poppins", sans-serif !important;
}

.post-view {
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    color: #242424;
}

.block-title strong {
    position: relative;
    color: #242424;
    font-weight: 500 !important;
    font-size: 24px !important;
    line-height: 26px !important;
}

.blog-index-index .sidebar .block.blog-search {
    padding: 0;
    border: 0;
}

.post-view.float-right {
    display: none !important;
}

.blog-post-view .page-title:after {
    display: none;
}

.post-holder {
    /* background: #f8f8f8 !important; */
    background: linear-gradient(135deg, #fef9f5, #e8f9ff) !important;
    border: 0 !important;
}

.blog-sc-shares a {
    color: #fff !important;
    border: 0 !important;
    background: #b39ddb !important;
}

.post-view .post-info .bmx\:list-inline {
    font-size: 18px;
}

.post-view .post-info .bmx\:list-inline li a {
    color: #242424 !important;
}

.post-view .post-info .bmx\:list-inline li:after {
    background-color: #b39ddb !important;
}

.post-view .post-info .item.post-author:before,
.post-view .post-info .item.post-date:before {
    top: 6px;
}

.post-description p {
    margin: 0 0 18px 0;
}

.post-description p strong {
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #242424;
}

.post-description ul {
    margin: 0;
    padding: 0 0 0 20px;
}

.post-description ul li {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #242424;
    margin: 0 0 10px 0;
    padding: 0;
}

.post-description ul li strong {
    font-weight: 600;
}

.post-description table {
    margin: 20px 0;
}

.post-description table tr td img {
    width: 100%;
}

.post-description h3,
.post-description h4 {
    position: relative;
    color: #242424;
    font-weight: 500;
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 10px;
}

.post-description ol {
    margin: 0;
    padding: 0 0 0 18px;
}

.post-bottom .block.related .block-title.title strong {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px !important;
    display: block;
}

.block-content {
    margin: 0;
    padding: 0 0 0 18px;
}

.block-content li {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    margin: 0 0 10px 0;
    padding: 0;
}

.post-view .block.comments .c-replyform.no-active textarea {
    background: #fff !important;
    padding: 10px;
    height: 120px;
    border: 1px solid #59c4c5;
}

.blog-index-index .page-title-wrapper {
    margin-top: 30px !important;
}

.blog-index-index .sidebar .block.blog-search .block-content {
    margin-bottom: 20px;
}

@media only screen and (max-width: 767px) {
    .post-list-wrapper .post-list .post-item .post-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        align-items: center;
    }
}

.blog-index-index .page-title-wrapper .page-title {
    display: none;
}

#blog_search {
    border-radius: 25px;
}

.blog-page .columns a {
    color: #242424;
}

.blog-page .widget.block.block-archive .block-content,
.blog-page .widget.block.block-categories .accordion,
body.blog .widget.block.block-archive .block-content,
body.blog .widget.block.block-categories .accordion {
    max-height: 150px;
    overflow: hidden;
    overflow-y: scroll;
}

.blog-post-view .post-view a {
    color: #b39ddb;
}

.blog-post-view .block.related .products .product-item-name a {
    color: #242424 !important;
}

.blog-post-view a:hover {
    color: #4fb4af;
}

.toolbar.toolbar-blog-posts {
    margin-bottom: 30px;
}

.blog-post-view .post-view .blog-sc-shares a,
.blog-post-view .post-view .blog-sc-shares a:hover,
.blog-post-view .cta-button a:hover {
    color: #fff !important;
}

/* Sidebar ToC Styling */
.blog-page .toc-container,
body.blog .toc-container {
    position: fixed;
    left: 0;
    top: 20px;
    width: 250px;
    max-height: 80vh;
    overflow-y: auto;
    transition: transform 0.3s ease-in-out;
    background: white;
    box-shadow: 2px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px;
}

/* Hide the sidebar by default */
.blog-page .toc,
body.blog .toc {
    display: none;
    padding: 15px;
    border: 1px solid #ddd;
}

.blog-page .toc h3,
body.blog .toc h3 {
    margin-top: 0;
    font-size: 18px;
    text-align: center;
}

.blog-page .toc ul,
body.blog .toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-page .toc ul li,
body.blog .toc ul li {
    margin-bottom: 10px;
    font-size: 14px;
}

.blog-page .toc ul li a,
body.blog .toc ul li a {
    text-decoration: none;
    color: #b39ddb;
    font-weight: bold;
}

.blog-page .toc ul li a:hover,
body.blog .toc ul li a:hover {
    text-decoration: underline;
}

/* Toggle button */
.blog-page #toggle-toc,
body.blog #toggle-toc {
    display: block;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    border-radius: 8px;
    margin-bottom: 5px;
}

.blog-page #toggle-toc:hover,
body.blog #toggle-toc:hover {
    background-color: #0056b3;
}

/* Open ToC on larger screens */
@media (min-width: 1024px) {

    .blog-page .toc,
    body.blog .toc {
        display: block;
    }
}

/* Responsive: Hide ToC completely on smaller screens */
@media (max-width: 768px) {

    .blog-page .toc-container,
    body.blog .toc-container {
        width: auto;
        left: 10px;
        top: 10px;
    }

    .blog-page .toc,
    body.blog .toc {
        width: 250px;
        position: absolute;
        left: 0;
        background: white;
        box-shadow: 2px 0px 10px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        display: none;
    }
}

.blog-page .toc-container,
body.blog .toc-container {
    z-index: 5;
    right: 0;
    left: unset;
    top: 100px;
}

.blog-page #toggle-toc,
body.blog #toggle-toc {
    background-color: #b39ddb;
}

.blog-page #toggle-toc:hover,
body.blog #toggle-toc:hover {
    background-color: #4fb2af;
}

.blog-page .toc-container ul#toc-list,
body.blog .toc-container ul#toc-list {
    list-style: disc;
    margin: 10px;
}

.blog-index-index.blog-page .toc-container,
.blog-index-index.blog-page .toc,
.blog-index-index.blog .toc-container,
.blog-index-index.blog .toc {
    display: none;
}

/* Mirasvit Blog CSS */
.blog__post__default.post-view #reading-progress-bar {
    background-color: #b39ddb !important;
    z-index: 900;
}

@media only screen and (max-width: 767px) {

    .blog .column.main,
    .blog .sidebar-main,
    .blog .sidebar-additional {
        width: 100% !important;
    }
}

.sidebar.sidebar-main .bmx_toc {
    /* background-color: #f8f8f8 !important; */
    background: linear-gradient(135deg, #fef9f5, #e8f9ff);
}

.sidebar.sidebar-main .bmx_toc.bmx\:sticky {
    top: 120px !important;
    max-height: calc(100vh - 120px - 40px);
    overflow-y: auto;
}

.sidebar.sidebar-main .bmx_toc .bmx\:card-title {
    position: relative;
    color: #242424;
    font-weight: 500 !important;
    font-size: 24px !important;
    line-height: 26px !important;
    font: 600 28px / 1.35 Fredoka, Helvetica Neue, Verdana, Arial, sans-serif;
    border: 0;
    padding-bottom: 15px;
    margin-top: 0;
    margin-bottom: -1px;
    display: inline-block;
    vertical-align: top;
    border-bottom: 3px solid #000;
}

.sidebar.sidebar-main .bmx_toc .bmx\:grid {
    padding: 20px 0 0;
}

.sidebar.sidebar-main .bmx_toc .bmx\:link {
    color: #242424 !important;
    font-size: 18px;
}

@media only screen and (max-width: 768px) {
    .blog .columns {
        display: flex;
    }

    .blog .columns .sidebar-main {
        order: 1;
        height: auto !important;
    }

    .blog .columns .column.main {
        order: 2;
    }

    .sidebar.sidebar-main .bmx_toc.bmx\:sticky {
        top: 0 !important;
    }

    body.blog .page-title-wrapper .page-title {
        font-size: 30px !important;
        line-height: 30px !important;
        margin: 15px 0 50px 0 !important;
    }
}

/* Mirasvit Blog CSS */

.post-list-wrapper .post-list .post-item .post-container {
    display: grid;
    grid-template-columns: 470px 1fr;
    gap: 40px;
    align-items: center;
}

.animation-type-zoom.bg-img {
    height: 300px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}