html, body {
    overflow-x: inherit !important;
}

.single-post-page {
    font-family: "Roboto", serif;
}

.blogs-breadcrumb .breadcrumb-item>a {
    color: #858c97;
    text-decoration: none;
}

.blogs-breadcrumb .breadcrumb-item {
    display: flex;
    align-items: center;
}

.blogs-breadcrumb .breadcrumb-item.active {
    color: #0B5DD8;
    font-weight: 500;
}

.blogs-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    margin-right: 0.375rem;
    content: ">";
    color: #858c97;
}

.post-bg-secondary {
    background-color: #F6F9FC !important;
}

.post-badge {
    padding: 0.5em 0.75em !important;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 50rem;
    color: #434a57 !important;
    line-height: 1;
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
    /* font-size: calc(1rem* 0.75) !important; */
    font-size: calc(1rem* 0.875) !important;
    cursor: pointer;
}

.opacity-20 {
    opacity: .2 !important;
}

.post-grid-item .card-title {
    margin-top: -0.25rem;
    font-size: 1.6rem;
}

.post-grid-item .card-body {
    padding: 2.375rem;
}

.post-grid-item .card-title-link {
    color: #434a57;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.4;
}

.post-grid-item .card-text {
    color: #576071;
    font-size: 1.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.post-grid-item .card-footer {
    width: calc(100% - 1.375rem* 2);
    background-color: transparent;
    border-top: 1px solid #e3e9ef;
    margin: auto;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 1.5rem;
}

.post-grid-item .author-name {
    font-weight: 600;
    color: #121519;
    font-size: 1rem;
}

.bg-white {
    background-color: #fff !important;
}

.post-grid-item {
    padding-right: .75rem;
    padding-bottom: 1.5rem;
    padding-left: .75rem;
}

.post-grid-item .card-img-top {
    border-top-left-radius: calc(1rem * 2.25);
    border-top-right-radius: calc(1rem * 2.25);
}

.post-border-radius {
    border-radius: calc(1rem * 2.25);
}

.blogs-page-search {
    padding: .825rem 1rem;
    border: 1px solid #d7dde2;
    border-radius: 1rem;
    color: #576071;
    font-weight: 400;
    line-height: 1.5;
    font-size: calc(1rem* 0.875);
}
.blogs-page-search-icon {
    color: #576071;
}

.post-grid[data-columns] {
    overflow: hidden;
    margin-right: -0.75rem;
    margin-left: -0.75rem;
}

.post-sidebar-ads .ads-banner {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.blog-category-links .nav-link {
    font-size: 1rem;
    font-weight: 500;
}

.blog-category-links .nav-link.active {
    color: #0B5DD8;
    pointer-events: none;
    cursor: default;
}

.blog-category-links .nav-link:hover {
    color: #0B5DD8;
}

@media (min-width: 992px) {
    .mt-lg-n2 {
        margin-top: -0.5rem !important;
    }
}

.trending-post-img {
    border-radius: 1rem !important;
    width: 92px;
    height: 92px;
}

.trending-post-link {
    font-weight: 600;
    color: #434a57;
    text-decoration: none;
}

.trending-post-link:hover {
    color: #434a57;
}

.sidebar-main-heading {
    font-weight: 600;
}

.social-buttons-widget .btn-icon {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #edf1f5;
    border-color: #edf1f5;
}

.social-buttons-widget .btn-icon i {
    display: inline-flex;
    line-height: 1;
    vertical-align: middle;
    font-size: 1.25em;
    color: #434a57 !important;
}

.post-newsletter-section .bg-dark {
    background-color: #191c20 !important;
}

.mt-n2 {
    margin-top: -0.5rem !important;
}

.post-newsletter-section .main-heading {
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

@media (min-width: 1200px) {
    .post-newsletter-section .main-heading {
        font-size: 2.5rem;
    }
}

.fw-medium {
    font-weight: 500 !important;
}

.fs-base {
    font-size: 1rem !important;
}

.post-newsletter-section .form-check-label {
    color: rgba(255, 255, 255, 0.7);
}

.post-newsletter-section .form-check {
    display: block;
    min-height: 1.5rem;
    padding-left: 1.625rem;
    margin-bottom: .325rem;
}

.post-newsletter-section .form-check-input[type=checkbox] {
    border-radius: .375rem;
}

.post-newsletter-section .form-check .form-check-input {
    float: left;
    margin-left: -1.625rem;
    width: 1.25rem;
    height: 1.125rem;
    margin-top: .1875rem;
    vertical-align: top;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid rgba(255, 255, 255, .4);
}

.post-newsletter-section .form-check-input:checked {
    background-color: #0B5DD8;
    border-color: #0B5DD8;
}

.post-newsletter-section .subscribe-input-wrapper {
    border: 1px solid #fff;
    padding: 0.5rem 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.post-newsletter-section .subscribe-input-wrapper .form-control {
    border-color: rgba(0, 0, 0, 0) !important;
    border-radius: 0 !important;
    color: rgba(255, 255, 255, 0.7);
    padding: .825rem 1rem;
    font-weight: 400;
    line-height: 1.4;
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid rgba(255, 255, 255, .25);
}

.post-newsletter-section .subscribe-input-wrapper button {
    margin-left: calc(1px* -1) !important;
    color: #fff;
    padding: 0.825rem 1.75rem;
    background-color: #0B5DD8;
}

.blogs-main-page .pagination-wrapper .load-more-btn {
    font-size: calc(1rem * 0.875);
    background-color: #0B5DD8;
    font-weight: 600;
    padding: 0.825rem 1.75rem;
    border-radius: 1rem;
    width: auto;
}

.blogs-main-page .form-select-flush {
    font-size: calc(1rem * 0.875);
    padding: .825rem 3rem .825rem 1rem;
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    font-weight: 500;
    color: #434a57;
    border: 0;
    padding-right: 2.25rem;
}

.blogs-main-page .page-link {
    border-top-left-radius: calc(1rem * 0.75);
    border-bottom-left-radius: calc(1rem * 0.75);
    color: #121519;
    padding: 0.25rem 0.65rem;
    border: none !important;
    background-color: transparent;
    font-size: 0.875rem;
}

.blogs-main-page .page-link.active,
.active>.page-link {
    z-index: 3;
    color: #0B5DD8;
    background-color: transparent;
    border-color: transparent;
    font-weight: 600;
}

.subscribe-form-wrapper .form-text {
    color: #fff;
}

.subscribe-input-wrapper .form-control::placeholder {
    color: #fff;
}

.subscribe-form-wrapper .agreement-links {
    color: #0B5DD8;
}

.card-top-info-section .post- {
    font-size: 0.95rem !important;
}

.card-top-info-section .post-meta-info {
    font-size: 0.95rem !important;
}

.display-4 {
    font-size: calc(1.475rem + 2.7vw);
    line-height: 1.3;
    color: #333333;
    font-weight: bold;
}

@media (min-width: 1200px) {
    .display-4 {
        font-size: 4.2rem;
    }
}

.post-author-widget .card-body {
    flex: 1 1 auto;
    padding: 2.375rem 2.375rem;
    color: #576071;
}

.blog-outline-primary-btn {
    padding: 0.575rem 1.25rem;
    font-size: calc(1rem * 0.75);
    border-radius: calc(1rem * 0.75);
}

.post-author-widget .card-heading {
    font-weight: 600;
    font-size: 1.25rem;
    color: #121519;
}

.post-author-widget .card-text {
    color: #576071;
}

.line-height-one {
    line-height: 1;
}

.post-cover-image .jarallax-img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

.single-post-page .social-buttons-widget .btn-icon {
    background-color: transparent !important;
    border-color: #d7dde2 !important;
}

.fs-lg {
    font-size: calc(1rem * 1.125) !important;
}

.post-content-text {
    color: #777777;
}

.relevant-topics-widget .rounded-pill {
    color: #434a57;
    border-color: #d7dde2;
    font-size: calc(1rem * 0.875);
    background-color: transparent;
    padding: 0.825rem 1.75rem;
}

.relevant-topics-widget .rounded-pill:hover,
.relevant-topics-widget .rounded-pill:active {
    color: #121519;
    background-color: #edf1f5;
    border-color: #d7dde2;
}

.trending-posts-widget li {
    border-bottom: 1px solid #dee2e6;
}

.trending-posts-widget li:last-child {
    border-bottom: none;
}

.trending-posts-widget a {
    color: #434a57;
    text-decoration: none;
}

.post-quuote-card .blockquote {
    position: relative;
    padding-left: calc(3rem + 1.75rem);
    color: #121519;
    font-size: 1.5rem;
}

.blockquote::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 3rem;
    height: 3rem;
    margin: -0.1875rem -0.1875rem 1rem -0.1875rem;
    line-height: 1;
    color: #0B5DD8;
    content: "";
    background-color: currentcolor;
    -webkit-mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath d='M2.667 14.667v12.4H14.8v-12.4H6.4c0-4.533 3.333-5.6 7.6-5.6v-4c-6.267 0-11.333 2.8-11.333 9.6zm25.866-5.6v-4c-6.267 0-11.333 2.8-11.333 9.733v12.4h12.133V14.667h-8.4c0-4.533 3.467-5.6 7.6-5.6z'/%3e%3c/svg%3e") no-repeat 50% 50%;
    mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath d='M2.667 14.667v12.4H14.8v-12.4H6.4c0-4.533 3.333-5.6 7.6-5.6v-4c-6.267 0-11.333 2.8-11.333 9.6zm25.866-5.6v-4c-6.267 0-11.333 2.8-11.333 9.733v12.4h12.133V14.667h-8.4c0-4.533 3.467-5.6 7.6-5.6z'/%3e%3c/svg%3e") no-repeat 50% 50%;
    -webkit-mask-size: cover;
    mask-size: cover;
}

.blockquote-footer::before {
    display: block;
    width: 2rem;
    height: .0625rem;
    margin-top: .75rem;
    margin-right: 1rem;
    content: "";
    background-color: #121519;
}

.post-quuote-card .blockquote-footer {
    display: flex;
    margin: 0;
    padding-top: .5rem;
    padding-left: calc(3rem + 1.75rem);
    font-weight: 600;
    color: #121519;
    font-size: 1rem;
}

.post-quuote-card .card-body {
    padding: 2.375rem 2.375rem;
    color: #576071;
}

.single-post-page .nav-link {
    display: flex;
    align-items: center;
    background: none;
    border: 0;
}

.post-comments-section .comments-toggle-btn {
    color: #434a57;
    font-size: 1rem;
}

.comments-toggle-btn:hover,
.comments-toggle-btn:focus {
    color: #0B5DD8;
}

.comments-toggle-btn::after {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    margin-left: 0.25rem;
    content: "";
    background-color: #434a57;
    -webkit-mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath d='M8.667 12.667c.4-.4 1.067-.4 1.467 0l6 6 6-6c.4-.4 1.067-.4 1.467 0s.4 1.067 0 1.467l-6.667 6.667c-.4.4-1.067.4-1.467 0L8.8 14.134c-.533-.533-.533-1.067-.133-1.467z'/%3e%3c/svg%3e") no-repeat 50% 50%;
    mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath d='M8.667 12.667c.4-.4 1.067-.4 1.467 0l6 6 6-6c.4-.4 1.067-.4 1.467 0s.4 1.067 0 1.467l-6.667 6.667c-.4.4-1.067.4-1.467 0L8.8 14.134c-.533-.533-.533-1.067-.133-1.467z'/%3e%3c/svg%3e") no-repeat 50% 50%;
    -webkit-mask-size: cover;
    mask-size: cover;
    will-change: transform;
    transition: transform 0.2s ease-in-out;
    transform: rotate(180deg);
    font-size: 1rem;
}

.comments-toggle-btn:hover::after {
    background-color: #0B5DD8;
}

.comments-toggle-btn.collapsed::after {
    transform: none !important;
}

.comments-toggle-btn.collapsed::before {
    content: attr(data-show-label);
}

.comments-toggle-btn::before {
    content: attr(data-hide-label);
}

.comments-reply-card {
    padding: 2.375rem 2.375rem;
    background-color: #f6f9fc !important;
}

#comments-form .form-control {
    display: block;
    width: 100%;
    padding: 1rem !important;
    font-size: calc(1rem* 0.975) !important;
    font-weight: 400;
    line-height: 1.4;
    color: #576071;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: rgba(0, 0, 0, 0);
    background-clip: padding-box;
    border: 1px solid #d7dde2 !important;
    border-radius: 1rem;
    transition: border-color .15s ease-in-out;
}

.replay-content {
    color: #576071;
}

.comments-reply-card .card-main-heading {
    font-size: 1rem;
    color: #121519;
    font-weight: 600;
}

.fs-xl {
    font-size: calc(1rem * 1.25) !important;
}

.related-articles-section .stretched-link {
    color: #434a57;
    text-decoration: none;
}

.related-articles-section .rounded-circle:hover {
    color: #fff
}

@media (max-width: 576px) {

    .blogs-main-page .px-5,
    .single-post-page .px-5 {
        padding-right: 1rem !important;
        padding-left: 1rem !important;
    }
}

.bg-position-center-y {
    background-position: left center !important;
}

.blog-page-white-btn {
    box-shadow: none;
    font-weight: 500;
    padding: 0.7rem 2rem;
    font-size: 0.75rem;
    line-height: 1;
}

.blog-page-top-btn-nav .btn {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.blog-page-top-btn-nav {
    background-color: #fff;
}

.fixed-draft-status {
    position: fixed;
    bottom: 10px;
    right: 10px;
    padding: 10px 20px;
    background-color: #f1f1f1;
    border-radius: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    display: none;
}

#previewModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
}

#previewModal .modal-content {
    background: white;
    padding: 20px;
    max-width: 600px;
    margin: 100px auto;
    border-radius: 8px;
}


.image-container {
    height: 480px;
}

#previewContentWrapper {
    max-height: 400px;
    overflow-y: auto;
}

#previewContentWrapper {
    padding: 24px 24px 24px 24px !important;
}

#previewContentWrapper .image-container {
    height: 100%;
    width: auto;
}

#comments-form .card{
    background-color: #f6f9fc;
}

#comments-form .card-body {
    padding: 2.375rem;
    color: #212529;
}

#comments-form .form-label {
    color: #212529;
    margin-bottom: .3125rem;
    font-size: calc(1rem * 0.875);
    font-weight: 500;
}

#comments-form .comment-form-btn {
    padding:  0.825rem 1.75rem;
    border-radius: calc(1rem* 0.75);
    background: #0B5DD8;
    font-weight: 500;
    line-height: 1.4;
}

.post-reply-btn {
    border-radius: calc(1rem* 0.75);
    background: #0B5DD8;
    font-weight: 500;
    font-size: 0.8rem;
}

.edit-icons {
    display: none;
}

#comments-form .form-check-label {
    font-size: calc(1rem* 0.975) !important;
    color: #576071;
    font-weight: normal;
}

.reply-form-wrapper .form-control {
    display: block;
    width: 100%;
    padding: 1rem !important;
    font-size: 0.875rem !important;
    font-weight: 400;
    line-height: 1.4;
    color: #576071;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: rgba(0, 0, 0, 0);
    background-clip: padding-box;
    border: 1px solid #d7dde2 !important;
    border-radius: 1rem;
    transition: border-color .15s ease-in-out;
}

#comments-form .spinner-border {
    vertical-align: middle;
}

#blogContentPhoto {
    width: 100%;
    height: 100%;
    border-radius: 2rem !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}


.post-comments-section .comment-container {
    position: relative;
}

.post-comments-section .replies .comment-container {
    padding-left: 5px;
    padding: 15px;
}

.post-comments-section .replies .comment {
    padding-left: 20px;
}

.post-comments-section .replies .reply-comment-wrapper {
    background-color: #f6f9fc;
    border-radius: 1rem;
}

.post-comments-section .comment-container::before {
    content: '';
    position: absolute;
    left: 0px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #ccc;
}

.post-comments-section .main-comment-container::before {
    content: none;
}

.post-comments-section .comment {
    position: relative;
    padding: 15px;
    padding-left: 10px;
}

.post-comments-section .replies {
    position: relative;
    margin-left: 26px;
    padding-left: 20px;
}

.post-comments-section .reply-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
}

.post-comments-section .replies .comment-container::after {
    content: '';
    position: absolute;
    left: -20px;
    top: 30px;
    width: 35.2px;
    height: 1px;
    background: #ccc;
}

/* Adjust vertical line for nested replies */
.post-comments-section .replies .comment-container::before {
    left: -20px;
    top: 0;
    height: 100%;
}


@media screen and (max-width: 768px) {
    .image-container {
        height: 100%;
        width: 100%;
    } 
}

.truncate-title {
    display: inline-block; 
    max-width: 600px; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.blogs-breadcrumb .breadcrumb-item {
    display: inline-block;
}

.blogs-breadcrumb .back-icon {
    display: none;
}

/* Mobile styles */
@media (max-width: 767.98px) {

    .blogs-breadcrumb {
        font-size: 0.8rem;
    }

    .blog-page-top-btn-nav .btn {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        font-size: 0.7rem;
    }

    .blogs-breadcrumb .breadcrumb-item {
        display: none;
    }

    .blogs-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
        display: none;
    }

    .blogs-breadcrumb .breadcrumb-last-item {
        display: flex;
    }

    .blogs-breadcrumb .back-icon {
        display: flex;
        align-items: center;
        margin-right: 8px;
    }

    .blogs-breadcrumb .breadcrumb-text {
        display: inline-block;
    }

    .related-articles-section .stretched-link {
        font-size: 1.2rem;
    }

    #blogCategoryModal .btn {
        padding: 0.5rem 1.5rem;
        line-height: inherit;
    }

    .publish-preview h2 {
        font-size: 1.2rem;
        color: #0B5DD8;
    }

    .truncate-title {
        max-width: 300px;
    }

    html, body {
        overflow-x: hidden !important;
    }
}

.post-comments-section .main-comment-container {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: .5rem !important;
    padding-top: 1.5rem !important;
}

.post-comments-section .main-comment-container:last-child {
    border-bottom: none;
}

.post-comments-section .main-comment-container:first-child {
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
}

.blog-page-white-btn {
    box-shadow: none;
    font-weight: 500;
    padding: 0.7rem 0rem;
    font-size: 0.75rem;
    line-height: 1;
    box-shadow: none;
    font-weight: 500;
    padding: 0.7rem 0rem;
    font-size: 0.75rem;
    line-height: 1;
}

.blog-page-primary-btn {
    box-shadow: none;
    font-weight: 500;
    padding: 0.7rem 0rem;
    font-size: 0.75rem;
    line-height: 1;
    background-color: #0B5DD8;

}

.blog-page-top-btn-nav .btn {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}


.blog-page-top-btn-nav {
    background-color: #fff;
}

#deleteBlogModal .modal-title {
    font-size: 1.25rem;
}


@media (max-width: 450px) {
    .card-img-top-wrapper {
        height: 229px;
    }
    .post-grid-item .card-body {
        padding: calc(2.375rem* .75) calc(2.375rem* .75);
    }

    .card-top-info-section .post-meta-info {
        font-size: calc(1rem* 0.875) !important;
    }

    .post-badge {
        font-size: calc(1rem* 0.75) !important;
    }

    .post-grid-item .card-title {
        font-size: calc(1.275rem + 0.3vw);
        margin-bottom: 1rem;
    }

    .post-grid-item .card-text {
        font-size: 1rem;
    }
    
}

@media (max-width: 767.98px) {
    .blogs-main-page .pagination-wrapper .load-more-btn {
        width: 100%;
    }
}


.single-post-page .social-buttons-widget .btn-icon:active,
.single-post-page .social-buttons-widget .btn-icon:focus {
    background-color: #0B5DD8 !important;
    border-color: #0B5DD8 !important;
    color: #fff !important;
}

.single-post-page .social-buttons-widget .btn-icon:focus i, .single-post-page .social-buttons-widget .btn-icon:active i {
    color: #fff !important;
}

.figure {
    width: 100%;
}


.blog-content-btn {
    font-size: calc(1rem* 0.875);
    background-color: #0B5DD8;
    font-weight: 600;
    padding: 0.825rem 1.75rem;
    border-radius: 1rem;
    width: auto;
}

.related-articles-section .card-img-top {
    width: 100%;
    height: 235px;
    object-fit: cover;
}