/*================================*/
/*===START BLOG DETAILS SECTION===*/
/*================================*/
.tp-blog-deatils-section-wrapper {
    margin-top: 100px;
    position: relative;
}

.tp-blog-deatils-section-wrapper h1 {
    margin: auto;
    margin-bottom: 60px;
    font-style: normal;
    font-size: 72px;
    font-weight: 700;
    color: var(--black-color);
    line-height: 102px;
    max-width: 882px;
}

.tp-blog-deatils-section-wrapper h2 {
    margin-bottom: 60px;
    color: var(--title-black-color);
    font-family: var(--roboto-slab);
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 0.5;
    text-align: left;
}

.tp-blog-deatils-section-wrapper p {
    color: var(--title-black-color);
    font-family: var(--poppins);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    margin-bottom: 15px;
}

.tp-blog-deatils-section-wrapper ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.tp-blog-deatils-section-wrapper ul li {
    margin-bottom: 5px;
}

.tp-blog-contain-wrapper {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.tp-blog-details {
    width: 750px;
    margin: 0 auto;
}

.tp-single-page-wrapper {
    width: 100%;
}

.tp-page-heading {
    text-align: center;
    margin-bottom: 50px !important;
}

.tp-blog-details h1 {
    font-size: 42px;
    color: var(--title-black-color);
    font-family: var(--poppins);
    font-style: normal;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: normal;
}

.tp-blog-details h2 {
    color: var(--title-black-color);
    font-family: var(--poppins);
    font-style: normal;
    font-weight: 700;
    margin-bottom: 25px;
    margin-top: 20px;
    line-height: normal;
    font-size: 28px;
}

.tp-blog-details h3 {
    color: var(--title-black-color);
    font-family: var(--poppins);
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    margin-top: 18px;
    margin-bottom: 25px;
    line-height: normal;
}

.tp-blog-details h4 {
    color: var(--title-black-color);
    font-family: var(--poppins);
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: normal;
}

.tp-blog-details h5 {
    color: var(--title-black-color);
    font-family: var(--poppins);
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: normal;
}

.tp-blog-details h6 {
    color: var(--title-black-color);
    font-size: 20px;
    margin-bottom: 25px;
    font-family: var(--poppins);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.tp-blog-details ul,
.tp-blog-details ol {
    margin-bottom: 25px;
}

.tp-blog-details ul li,
.tp-blog-details ol li {
    color: var(--title-black-color);
    font-family: var(--poppins);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 34px;
}

.tp-blog-author-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 30px;
}

.tp-author-meta-left {
    display: flex;
    align-items: center;
}

.tp-author-meta-left .tp-blog-author {
    display: flex;
    align-items: center;
    padding-right: 12px;
    border-right: 2px solid #ddd;
    margin-right: 12px;
}

.tp-author-meta-left .tp-blog-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    border: 1px solid #ddd;
}

.tp-author-meta-left .tp-blog-author a {
    color: var(--title-black-color);
    font-family: var(--poppins);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px;
    text-transform: capitalize;
}

.tp-author-meta-left span {
    color: var(--body-text-color);
    text-align: center;
    font-family: var(--poppins);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
}

.tp-author-meta-left .tp-blog-tag ul {
    margin: 0;
    margin-left: 20px;
    list-style-type: none;
    display: flex;
}

.tp-author-meta-left .tp-blog-tag ul li {
    border-radius: 33px;
    border: 1px solid #f3f0ff;
    background: #faf9ff;
    padding: 5px 12px;
    padding-left: 20px;
    position: relative;
    margin-bottom: 0;
}

.tp-author-meta-left .tp-blog-tag ul li::before {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
    background: var(--black-color);
    border-radius: 50%;
}

.tp-author-meta-left .tp-blog-tag ul li a {
    color: var(--black-color);
}

.tp-author-right ul {
    list-style-type: none;
}

.tp-author-right ul li {
    display: inline-block;
}

.tp-author-right ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(82, 82, 82, 0.1);
    border-radius: 50%;
}

.tp-author-meta-details {
    border-radius: 12px;
    border: 1px solid rgba(67, 83, 255, 0.1);
    padding: 30px;
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    margin-top: 25px;
    gap: 4%;
}

.tp-author-left-big img {
    width: 150px;
    height: 150px;
    border-radius: 5px;
}

.tp-author-desc {
    width: calc(100% - 85px);
}

.tp-author-desc p {
    color: var(--body-text-color);
    font-family: var(--poppins);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 34px;
}

.tp-author-title-and-social h2 {
    margin-bottom: 0;
    line-height: 0;
}

.tp-author-title-and-social h2 a {
    color: var(--title-black-color);
    font-family: var(--roboto-slab);
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: 34px;
    margin-bottom: 0;
}

.tp-blog-sidebar {
    width: 28%;
    display: none;
}

.tp-single-widget-wrap {
    max-width: 350px;
    background-image: url(../../img/blog/sidebar-bg.svg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 30px;
    border-radius: 12px;
    transition: all 0.5s ease;
}

.tp-sidebar-sticky {
    position: fixed;
    z-index: 1000;
}

.tp-single-widget-wrap h2 {
    color: var(--light-color);
    font-family: var(--poppins);
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
    margin-bottom: 30px;
}

.tp-single-widget-wrap p {
    color: rgba(255, 255, 255, 0.95);
    font-family: var(--poppins);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    margin-bottom: 32px;
}

.tp-single-widget-wrap a {
    padding: 10px 15px;
    border-radius: 8px;
    color: var(--light-color);
    font-family: var(--poppins);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
    background-color: var(--primary-color);
}

.tp-subscribe-widget h2 {
    text-align: center;
}

.tp-subscribe-widget .tp-sidebar-subs-inputs {
    text-align: center;
    position: relative;
}

.tp-subscribe-widget .tp-sidebar-subs-inputs input {
    width: 100%;
    padding: 10px 12px;
    background-color: var(--light-color);
    height: unset;
    border-radius: 10px;
    outline: 0;
    margin-bottom: 10px;
}

.tp-subscribe-widget .tp-sidebar-subs-inputs button {
    margin-top: 30px;
    background-color: var(--primary-color) !important;
    border-radius: 5px;
    font-weight: 500;
    width: 100%;
    padding: 16px;
}

.tp-subscribe-widget .tp-sidebar-subs-inputs .tp-newslatter-message-sidebar {
    display: none;
    background-color: var(--light-color-8);
    padding: 0 15px;
    border-radius: 5px;
    color: var(--black-color);
    max-width: fit-content;
    margin-bottom: 0;
}

.tp-subscribe-widget
    .tp-sidebar-subs-inputs
    .tp-newslatter-message-sidebar.warning {
    border-left: 5px solid orange;
}

.tp-subscribe-widget
    .tp-sidebar-subs-inputs
    .tp-newslatter-message-sidebar.error {
    border-left: 5px solid crimson;
}

.tp-newslatter-sidebar-success {
    text-align: center;
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 10px;
    display: none;
}

.tp-newslatter-sidebar-success img {
    margin-bottom: 20px;
}

.tp-newslatter-sidebar-success p {
    color: var(--black-color);
    margin-bottom: 15px;
}

.cx-newslatter-preloader-sidebar {
    display: none;
}

.cx-newslatter-preloader-sidebar img {
    width: 50px;
}

.tp-subscribe-widget .tp-newsletter-error-sidebar {
    display: none;
    z-index: 10;
    background-color: var(--light-color);
    padding: 5px 10px;
    border-radius: 5px;
    -webkit-box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.05);
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}

.tp-blog-details figure {
    margin-bottom: 32px;
}

.tp-blog-details figure img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.tp-blog-details p {
    color: var(--title-black-color);
    font-family: var(--poppins);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 34px;
    margin-top: 15px;
}

.tp-blog-details ul {
    margin: 0;
    margin-left: 20px;
}

.tp-blog-details ul li {
    margin-bottom: 10px;
    margin-left: 12px;
}

.tp-author-social ul {
    list-style-type: none;
}

.tp-author-social ul li {
    display: inline-block;
}

.tp-author-social ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(82, 82, 82, 0.1);
    border-radius: 50%;
}

.tp-subscribe-section {
    margin-top: 30px;
    background-size: cover;
    padding: 34px;
    border-radius: 12px;
    padding-bottom: 30px;
    background-color: var(--black-color);
}

.tp-subsribe-wrap h3 {
    font-family: var(--roboto-slab);
    font-size: 24px;
    line-height: 34px;
    color: var(--light-color);
    font-weight: 700;
    margin-bottom: 8px;
}

.tp-subsribe-wrap p {
    color: var(--light-color);
    font-family: var(--poppins);
    font-weight: 400;
    line-height: 26px;
    margin-bottom: 34px;
}

.tp-sub-input-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    position: relative;
}

.tp-sub-input-row input {
    width: 100%;
    padding: 10px 12px;
    height: unset;
    border-radius: 10px;
    outline: 0;
    margin-right: 8px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    color: var(--light-color);
}

.tp-sub-input-row input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.tp-sub-input-row input:focus,
.tp-sub-input-row input:focus {
    color: var(--light-color);
    outline: 0;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.tp-sub-input-row button {
    background-color: var(--light-color);
    font-family: var(--poppins);
    font-size: 16px;
    line-height: 15px;
    border-radius: 10px;
    font-weight: bold;
    color: var(--black-color);
}

.tp-sub-input-row button:hover {
    transition: 0.3s all ease;
    background-color: rgba(255, 255, 255, 0.8);
    color: #2c2c2c;
}

.tp-sub-input-row button:focus {
    background-color: rgba(255, 255, 255, 0.8);
}

.tp-sub-input-row .tp-newsletter-error {
    display: none;
    position: absolute;
    z-index: 10;
    background-color: var(--light-color);
    top: 52px;
    left: 40%;
    padding: 1px 10px;
    border-radius: 5px;
    transform: translateX(-50%);
    -webkit-box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.05);
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.05);
}

.tp-subsribe-wrap .tp-spam-message {
    color: var(--light-color);
    font-size: 12px;
    font-family: var(--poppins);
    line-height: 26px;
    margin-bottom: 0;
    text-align: center;
    max-width: 100%;
    margin-top: 0;
}

.tp-banner-into-blog-details {
    display: flex;
    background-image: url("img/blog/banner-bg.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 32px;
    margin-top: 32px;
}

.tp-banner-into-blog-details .tp-banner-left {
    width: calc(100% - 250px);
    padding-top: 10px;
    padding-left: 15px;
}

.tp-banner-into-blog-details .tp-banner-left h2 {
    color: var(--light-color);
    font-family: var(--roboto-slab);
    font-size: 25px;
    font-style: normal;
    font-weight: 600;
    line-height: 37px;
    margin-bottom: 35px;
    max-width: 450px;
}

.tp-banner-into-blog-details .tp-banner-left a {
    display: inline-block;
    border-radius: 8px;
    background: var(--primary-color);
    padding: 13px 30px;
    color: var(--light-color);
    font-family: var(--poppins);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
}

.tp-banner-into-blog-details .tp-banner-right-img {
    width: 230px;
    height: 208px;
    background: var(--light-color);
    border-radius: 8px;
    padding: 10px 20px;
}

.tp-customer-bow img {
    position: absolute;
    width: 84px;
    height: 84px;
    top: 50%;
    left: -11%;
}

/* Popup */
.tp-popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.tp-popup-content {
    background-color: #fff;
    width: 691px;
    padding: 50px;
    border-radius: 5px;
    /* position: absolute; */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: relative;
}

.tp-popup-content h3 {
    font-size: 28px;
    font-weight: bold;
    font-family: var(--roboto-slab);
}

.tp-popup-content h5 {
    font-size: 20px;
    font-weight: 500;
    font-family: var(--roboto-slab);
    padding-bottom: 24px;
}

.tp-input-button {
    display: flex;
    justify-content: space-between;
    padding-bottom: 50px;
}

.tp-input-button input {
    width: 80%;
    padding: 22px 16px;
    background-color: #eceeff;
    height: 40px;
}

.tp-input-button .tp-button {
    width: 20%;
}

.tp-input-button .tp-button button {
    margin-left: 20px;
    background-color: #151d48;
    font-size: 16px;
}

.tp-social-links {
    list-style-type: none;
    padding: 0;
    display: flex;
    margin-left: 0 !important;
}

.tp-social-links li {
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 10px;
}

.tp-social-links li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(82, 82, 82, 0.1);
    border-radius: 50%;
}

.tp-social-links li a:hover {
    transition: 0.3s all ease;
    border: 1px solid var(--primary-color);
}

.tp-cross-button {
    width: 42px;
    height: 42px;
    background-color: rgba(88, 108, 129, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    position: absolute;
    top: 20px;
    right: 30px;
    border: 1px solid rgba(88, 108, 129, 0.05);
    cursor: pointer;
}

/*==============================*/
/*===END BLOG DETAILS SECTION===*/
/*==============================*/
.tp-single-blog-comments-wrapper {
    margin-bottom: 80px;
}

.ast-separate-container .comments-title,
.ast-narrow-container .comments-title {
    padding: 0;
}

.ast-comment-list li {
    border-bottom: 1px solid #ddd;
}

.ast-comment-list li .children li {
    border-bottom: none;
}

.ast-separate-container .ast-comment-list .bypostauthor,
.ast-narrow-container .ast-comment-list .bypostauthor {
    padding-bottom: 0;
}

.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single,
.ast-separate-container .comment-respond {
    padding: 0;
}

.comments-area textarea#comment,
.comments-area .ast-comment-formwrap input[type="text"] {
    border-radius: 8px;
}

.comments-area textarea#comment:focus,
.comments-area .ast-comment-formwrap input[type="text"]:focus {
    border: 2px solid var(--black-color);
    outline: none;
}

.tp-single-blog-comments-wrapper .comment-form .submit {
    border-color: var(--black-color) !important;
    background-color: var(--black-color) !important;
    border-radius: 5px !important;
}

.tp-single-page-wrap h2 {
    text-align: center;
}

.tp-single-page-wrap-p {
    text-align: center;
}

.tp-newslatter-message-blog {
    display: none;
    background-color: var(--light-color);
    padding: 0 15px;
    border-radius: 5px;
    color: var(--black-color) !important;
    max-width: fit-content;
    margin-bottom: 0 !important;
}

.tp-newslatter-message-blog.warning {
    border-left: 5px solid orange;
}

.tp-newslatter-message-blog.error {
    border-left: 5px solid crimson;
}

.tp-preloader {
    display: none;
    text-align: center;
}

.tp-preloader img {
    width: 50px;
}

.tp-newslatter-success {
    display: flex;
    padding: 10px;
    background-color: var(--light-color);
    align-items: center;
    border-radius: 8px;
    display: none;
}

.tp-newslatter-success img {
    margin-right: 10px;
}

.tp-newslatter-success p {
    color: var(--black-color) !important;
    margin-bottom: 0 !important;
}

.comment-form-cookies-consent {
    display: flex;
    text-align: center;
}

.comment-form-cookies-consent label {
    color: var(--title-black-color);
    font-family: var(--poppins);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    margin-bottom: 0;
    text-align: left;
}

/* === Table of content style === */
.tp-table-of-content {
    width: 220px;
    border: 1px solid #ddd;
    position: fixed;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    padding: 20px;
    display: none;
    max-height: 480px;
    overflow: scroll;
}

.tp-table-of-content-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tp-table-of-content-heading span {
    cursor: pointer;
}

.tp-table-of-content-heading span i {
    color: #d6d6d6;
}

.tp-table-of-content-heading h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0;
}

.tp-table-of-content-container ul {
    margin: 0;
    margin-top: 20px;
    list-style-type: none;
}

.tp-table-of-content-container ul li {
    margin-bottom: 15px;
}

.tp-table-of-content-container ul li a {
    display: block;
    font-size: 14px;
    color: #74788b;
    line-height: 1.3;
    transition: 0.3s all ease;
}

.tp-table-of-content-container ul li a:hover {
    color: #1888f5;
}

.tp-table-of-content.tp-toc-show {
    display: block;
}

.tp-table-of-content.tp-toc-hide {
    display: none;
}

/* ==============================================*/
/* ===== Responsive css =========================*/
/* ==============================================*/
@media (max-width: 1558px) {
    .tp-table-of-content {
        visibility: hidden;
    }
}

@media (max-width: 1280px) {
    .tp-blog-contain-wrapper {
        flex-direction: column;
    }

    .tp-blog-sidebar {
        width: 100%;
        margin-bottom: 70px;
        text-align: center;
    }

    .tp-single-widget-wrap {
        margin: auto;
        position: static !important;
    }
}

@media (max-width: 991px) {
    .tp-lates-blog-wrapper {
        flex-wrap: wrap;
    }

    .tp-single-blog-wrap,
    .tp-single-blog-wrap-slider {
        width: 48%;
        margin-bottom: 32px;
    }
}

@media (max-width: 820px) {
    .tp-blog-details {
        width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 776px) {
    .tp-popup-content {
        width: 96%;
    }
    .tp-author-left-big img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 600px) {
    .tp-blog-deatils-section-wrapper {
        margin-top: 32px;
    }

    .tp-single-blog-wrap,
    .tp-single-blog-wrap-slider {
        width: 100%;
        margin-bottom: 20px;
    }

    .tp-blog-details h2 {
        font-size: 24px;
        line-height: 36px;
    }

    .tp-blog-author {
        display: none !important;
    }

    .tp-author-meta-left .tp-blog-tag ul {
        margin-left: 10px;
    }

    .tp-author-meta-left span {
        font-size: 12px;
    }

    .tp-author-meta-left .tp-blog-tag ul li a {
        font-size: 12px;
    }

    .tp-author-meta-left .tp-blog-tag ul li {
        padding: 2px 5px;
        padding-left: 20px;
    }

    .tp-blog-author-meta {
        margin-bottom: 10px;
    }

    .tp-blog-details figure {
        margin-bottom: 15px;
    }

    .tp-blog-details p {
        font-size: 16px;
    }

    .tp-author-left-big img {
        width: 60px;
        height: auto;
    }

    .tp-author-title-and-social h2 a {
        font-size: 22px;
    }

    .tp-blog-deatils-section-wrapper h2 {
        font-size: 24px;
        margin-bottom: 32px;
    }

    .tp-sub-input-row {
        flex-direction: column;
    }

    .tp-sub-input-row input {
        width: 100%;
        margin-bottom: 10px;
    }

    .tp-sub-input-row button {
        margin-top: 15px;
        padding: 15px 30px;
    }

    .tp-subsribe-wrap h3 {
        font-size: 20px;
    }
}
