/*  three column layout css */
.three-column{
    padding-top: 80px;
    padding-bottom: 80px;
    color: #0E0E24;
    gap: 64px;
    position: relative;
}
.three-column .bold-toc{
    max-width: 326px;
    position: relative;
    padding: 0;
    display: block;
}
.three-column p{
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 16px;
}
.three-column p:last-child{
    margin-bottom: 0;
}
.three-column .is-style-grey-box-content-container{
    padding: 24px 16px;
    border-radius: 16px;
    background: #F5F5F5;
    margin-bottom: 40px;
}
#rank-math-toc #toc-bar {
    position: absolute;
    left: 0px;
    bottom: -4px;
    height: 4px;
    background: #00B2A3;
    min-width: 5%;
}
.three-column h2:not(.is-style-grey-box-content-container h2):not(.grey-resume-collection-wrapper h2):not(.builder-blade h2) {
    margin: 40px 0 16px;
}
.three-column h3:not(.is-style-grey-box-content-container h3):not(.grey-resume-collection-wrapper h3):not(.builder-blade h3) {
    margin: 40px 0 16px;
}
.three-column h4:not(.is-style-grey-box-content-container h4):not(.grey-resume-collection-wrapper h4):not(.builder-blade h4) {
    margin: 24px 0 16px;
}
.three-column h2 {
         text-align: left !important;
         margin: 0;
    }
 @media screen and (min-width: 768px) {
	.three-column .is-style-grey-box-content-container{
        padding: 40px;
        margin-bottom: 80px;
    }
    .three-column h2:not(.is-style-grey-box-content-container h2):not(.grey-resume-collection-wrapper h2):not(.builder-blade h2) {
         margin: 80px 0 16px;
    }
}


.wp-block-rank-math-toc-block{
    margin-bottom: 32px;
}
.wp-block-rank-math-toc-block > *:first-child {
    font-weight: 700;
    position: relative;
    padding-bottom: 18px;
    margin: 0 0 18px;
    text-align: left;
    border-bottom: 4px solid #CCF0ED;
    font-size: 20px;
    line-height: 27px;
    margin-top: 0 !important;
}
.wp-block-rank-math-toc-block ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.wp-block-rank-math-toc-block ul li {
    margin-bottom: 2px; 
}
.wp-block-rank-math-toc-block ul li a {
    font-weight: 400;
    display: block;
    text-decoration: none;
    color: #0E0E24;
    line-height: 2.2rem;
    font-size: 1.6rem;
    padding: 9px 16px;
    border-radius: 6px;
}
.wp-block-rank-math-toc-block ul li a.active {
    background: #D5DBEC;
    color: #0E0E24;
    font-weight: 700;
}
.wp-block-rank-math-toc-block ul li a:hover {
    background: #D5DBEC;
    color: #0E0E24;
}
.wp-block-rank-math-toc-block ul ul li{
    margin-bottom: 0;
}
.wp-block-rank-math-toc-block ul ul li a{
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 40px;
    padding: 8px 12px 8px 30px;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
}
.toc-list-btn-wrapper::-webkit-scrollbar {
    width: 5px;
}
.wp-block-rank-math-toc-block ul ul li a::after{
    background-size: cover;
    display: flex;
    height: 5px;
    width: 10px;
    content: '';
    position: absolute;
    top: 18px;
    left: 12px;
    transform: rotate(-90deg);
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSI3IiBmaWxsPSJub25lIj48cGF0aCBmaWxsPSIjMjEyMTIxIiBkPSJNMTAuMjM0LjU0YS43NS43NSAwIDAgMSAxLjA2LjAyOS43Ni43NiAwIDAgMS0uMDI5IDEuMDY0bC00Ljc1IDQuNDcyQS42OC42OCAwIDAgMSA2IDYuMzM2YS43NS43NSAwIDAgMS0uNTE2LS4yMDVMLjczNCAxLjYzM0EuNzUzLjc1MyAwIDAgMSAuNzA0LjU3MS43NS43NSAwIDAgMSAxLjc2Ny41NDJMNiA0LjU1MnoiLz48L3N2Zz4=);
}
.sidebar-btn-wrapper > div{
    flex-wrap: wrap;
}
@media screen and (min-width: 768px) {
    .wp-block-rank-math-toc-block nav{
        max-height: 422px;
        overflow: auto;
    }
    .wp-block-rank-math-toc-block nav::-webkit-scrollbar {
        width: 4px;
    }

    .wp-block-rank-math-toc-block nav::-webkit-scrollbar-track {
        background: transparent;
    }
    .wp-block-rank-math-toc-block nav::-webkit-scrollbar-thumb {
        background-color: #CFCFD3;
        border-radius: 2px;
        border: 1px solid #F3F3F4;
    }
    .left-sidebar {
        position: sticky;
        top: 15px;
    }
}

@media screen and (max-width: 767px){
    .three-column .bold-toc{
        display: none;
    }
    .three-column{
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

.has-text-align-center {
    text-align: center !important;
}
/* Grey container */
.three-column .is-style-grey-container {
    background: #f5f6fa;
    border-radius: 16px;
    padding: 24px;
    margin-top: 0;
    margin-bottom: 16px;
}
.three-column .is-style-grey-container .is-style-grey-container {
    background-color: #fff;
} 
.three-column .is-style-grey-container h3{
    margin-top: 0 !important;
}
.three-column .two-column-list {
    list-style: none;
    background: #F9F9F9;
    border-radius: 15px;
    display: grid;
    padding: 16px;
    gap: 16px;
}

.three-column .two-column-list a {
    font-weight: 700;
}
@media screen and (min-width: 768px) {
    .three-column .two-column-list {
        border-radius: 16px;
        padding: 40px;
        gap: 24px 40px;
        grid-template-columns: 1fr 1fr;
    }
    .three-column a{
        text-decoration: underline;
    }
    .three-column a{
        text-decoration: none;
    }
}
.icon-content-list img {
    max-width: 24px;
    min-width: 24px;
    position: relative;
    top: 4px
}
.border-right-success{
    border-right: 8px solid #15BC15; 
}
.border-right-danger{
    border-right: 8px solid #E51A1A; 
}
.border-top-danger{
    border-top: 8px solid #E51A1A; 
}
.border-top-success{
    border-top: 8px solid #15BC15; 
}

.icon-content-list>div {
    align-items: start
}

.icon-content-list>div:last-child {
    margin-bottom: 0!important
}


.page-template-pjt-template table,
.page-template-pjt-template table th,
.page-template-pjt-template table td {
    border: none !important;
}
/* Remove default WP table styling */
.page-template-pjt-template .is-style-grey-container table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: transparent;
}

.page-template-pjt-template .is-style-grey-container table,
.page-template-pjt-template .is-style-grey-container tbody,
.page-template-pjt-template .is-style-grey-container tr,
.page-template-pjt-template .is-style-grey-container td {
    border: 0 !important;
}
/* Table cells */
.page-template-pjt-template .is-style-grey-container td {
    width: 50%;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    color: #1E1E2F;
    vertical-align: top;
}

/* Gap between two columns */
.page-template-pjt-template .is-style-grey-container td:first-child {
    padding-right: 80px;
}