/* BLOG HEADING STYLES */

.single-post h1{
    font-family: "Plus Jakarta Sans";
    font-size: 64px!important;
    font-style: normal!important;
    font-weight: 400!important;
    line-height: 125% !important;
}

.single-post h2{
    font-family: "Plus Jakarta Sans";
    font-size: 40px!important;
    font-style: normal!important;
    font-weight: 500!important;
    line-height: 140% !important;
}

.single-post h3{
    font-family: "Plus Jakarta Sans";
    font-size: 24px!important;
    font-style: normal!important;
    font-weight: 400!important;
    line-height: 133% !important;
}

.single-post h4{
    font-family: "Plus Jakarta Sans";
    font-size: 20px!important;
    font-style: normal!important;
    font-weight: 500!important;
    line-height: 140% !important;
}

/* END BLOG HEADING STYLES*/

.single-post .comments-area {
    max-width: 888px;
    width: 100%;
    padding: 0!important;
    margin-left: 48px;
}

/* BREADCRUMB STYLES*/
nav.rank-math-breadcrumb a{
    color: var(--purple-100);
}

nav.rank-math-breadcrumb p{
    display: flex;
    gap: 8px;
    align-items: center;
    line-height: normal;
}

.rank-math-breadcrumb p a:first-child {
    display: none;
}

.rank-math-breadcrumb p:before {
    content: "";
    width: 24px;
    height: 24px;
    display: block;
    background-image: url('../img/home-breadcrumb.svg');
    background-repeat: no-repeat;
    background-position: center;
}

/* END BREADCRUMBS STYLES */

.single-post figure.wp-block-image img{
    border: 2px solid var(--gray-200);
    border-radius: 16px;
}

.single-post a{
    color: var(--text-primary);
}

.single-cliente .site.grid-container{
    padding: 0!important;
}

p.read-time{
    color: var(--white);
}

.single .site.grid-container{
    padding: 0 24px;
}

#toc ul li {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.share-container .related-posts-container {
    max-height: unset;
    padding: 0;
    border: unset;
    flex-direction: column;
    gap: 24px;
    background: unset;
}

span.post-category {
    font-size: 14px;
    line-height: 20px;
    color: var(--body-color);
}

.related-posts-container .related-post h4 {
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 18px!important;
}

.share-container .related-posts-container .related-post {
    display: flex;
    gap: 16px;
    position: relative;
}

.share-container .related-posts-container .related-post .thumb {
    width: 25%;
}

.share-container .related-posts-container .related-post div {
    width: 75%;
    display: flex;
    flex-direction: column;
}

.share-container .related-posts-container .related-post .thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

#toc ul li svg {
    width: 0;
    height: 0;
    padding: 6px 4px;
    opacity: 0;
    transition: opacity 300ms ease-in;
}

#toc ul {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.link-wrapper {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 8px;
}

ul.toc-main-list{
    margin: 0!important;
}

#toc a {
    text-decoration: none;
    color: var(--gray-600);
    width: 100%;
    font-size: 16px;
    line-height: 150%;
}

.toc-sub-list .link-wrapper > a {
    font-size: 14px!important;
    line-height: 185%!important;
}

#toc a.active {
    font-weight: 600;
}

svg.active {
    opacity: 1!important;
    width: 24px!important;
    height: 24px!important;
}

.sticky-toc {
    position: sticky;
    top: calc(0px + 108px);
    height: 100%;
}

.progressBar {
    width: 100%;
    position: relative;
    display: none;
}

.progressBar-container {
    background-color: rgba(26, 26, 26, 0.56);
    height: 6px;
    width: 100%;
    position: fixed;
    top: unset;
    bottom: 0;
    z-index: 9;
}

.progressBar-line {
    background-color: var(--primary-main);
    height: 6px;
    width: 0;
}

.share-container > div,
.share-container > div > a {
    display: flex;
}
.share-container > div {
    padding: 12px;
    background-color: var(--gray-100);
    border-radius: 32px;
    border: 1px solid var(--gray-200);
    max-height: 50px;
}

.dynamic-entry-content blockquote.wp-block-quote p {
    color: var(--primary-main);
    font-style: normal;
    font-size: 16px;
}

.dynamic-entry-content blockquote.wp-block-quote {
    border-left-color: var(--primary-main);
}

.share-container .related-post:hover a{
    color: var(--primary-main);
}

.related-post a.title:after {
    content: "";
    position: absolute;
    inset: 0;
}

.review-container {
    display: none;
}

.review-container:has(img) {
    display: block;
}

.share-btn:active {
    background-color: var(--purple-200)!important;
}

.copy-link {
    position: relative;
    cursor: pointer;
}

.copy-link:has(span) {
    background-color: var(--purple-200)!important;
}

.copy-confirmation{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 100%);
    padding-bottom: 8px;
    font-size: 14px;
    color: #6C757D;
}

.dynamic-content-template .dynamic-entry-content{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.single-post .bg-gradient{
    background: linear-gradient(97deg, #503FE0 0%, #988EDF 57.5%, #988EDF 80%, #E4CCFF 100%)
}


/* HTML TABLE SINGLE */

.single-post figure.wp-block-table table td,
.single-post figure.wp-block-table table thead,
.single-post figure.wp-block-table thead th,
.single-post figure.wp-block-table table{
    border: none;
    border-width: 0;
}

.single-post figure.wp-block-table table td.has-text-align-left {
    background: #F5F3FF;
}

.single-post figure.wp-block-table table td {
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 24px;
    font-size: 14px;
    line-height: 20px;
}

.single-post figure.wp-block-table table {
    border: 1px solid var(--gray-200);
    border-radius: 16px!important;
    border-collapse: separate;
}


.single-post figure.wp-block-table thead th {
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.single-post figure.wp-block-table thead tr th {
    text-align: left;
    padding: 16px 24px;
    border-top-right-radius: 16px;
    border-top-left-radius: 16px;
}

.single-post figure.wp-block-table table tr:last-child td {
    border-bottom: unset;
}

.single-post figure.wp-block-table table tr:last-child td:first-of-type {
    border-bottom-left-radius: 16px;
}

/* UL OL LISTS STYLES */

/*.single-post ol,*/
/*.single-post ul{*/
/*    list-style: none;*/
/*}*/

.single-post ol.wp-block-list li:before{
    content: "";
    background-image: url("../img/arrow-right.svg");
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-position: center;
}

@media(max-width: 1024px){
    .sticky-toc {
        position: unset!important;
    }
    .sticky-toc #toc-container{
        display: none;
    }
    .single .site.grid-container{
        padding: 0 16px;
    }
}


/**
    Single Comments Styles Start
 */
.single-post .comment {
}
.single-post .comment .comment-body {
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, .05);
    border-radius: 0 16px 16px 16px;
    padding: 32px;
    margin: 32px 0;
    width: 100%;
}

.single-post .comment .comment-body .comment-meta .comment-author-info{
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.single-post .comment .comment-body .comment-content {
    border: none;
    padding: 0;
    margin-left: 60px;
    margin-top: 1rem;
}

.single-post .comment .children article.comment-body {
    position: relative;
}
.single-post .comment .children article.comment-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: -40px;
    width: 1px;
    height: 100%;
    background-color: var(--purple-300);
}

.single-post .comment.parent .children {
    border: none;
}

.single-post .comment .comment-body .comment-content .reply {
    padding-top: 24px;
    display: inline-block;
    margin-left: 8px;
}

.single-post .comment .comment-body .comment-content .reply::before {
    content: '';
    display: inline-block;
    background-image: url('../img/reply-arrow-left.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 15px;
    height: 10px;
    margin-right: 8px;
}

.single-post .comment .comment-body .comment-content .comment-reply-link {
    font-size: 1rem;
    font-weight: 600;
}

.single-post .comment-reply-title {
    font-size: 32px!important;
    line-height: 40;
}

.single-post .comment-reply-title small {
    float: right;
}

@media (max-width: 1024px){
    .single-post .comment-reply-title {
        font-size: 24px!important;
    }
    .single-post .comments-area {
        margin-left: 0;
    }
}
