.blog-post h2,
.blog-post h3,
.blog-post h4 {
    margin: 10px 0 30px;
}

.blog-post h3 {
    font-size: 1.4rem;
    margin: 10px 0 20px;
}

.blog-post h4 {
    font-size: 1.1rem;
    margin: 10px 0 10px;
}

.blog-post {
    line-height: 1.8;
}

p {
    display: block;
    width: 100%;
}

.blog-post a {
    border-bottom: 2px solid var(--accent-color);
}

main:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 500px;
    /* background: #f2f5f7; */
    z-index: -1;
    background: url(/wp-content/themes/abagency/assets/images/decor-background.webp);
    opacity: .3;
}

.single-post .content-section {
    padding: 45px 0;
}

.breadcrumbs {
    padding-bottom: 40px;
    font-size: 14px;
    color: #9a9a9a;
}

.breadcrumbs a {
    color: #9a9a9a;
}

.post-thumbnail {
    margin: 25px 0 35px;
}

h1,
h2,
h3,
h4 {
    display: block;
    width: 100%;
}

.single-post #toc_container {
    display: none;
    opacity: 0;
}

.post-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 14px;
    margin-top: 15px;
    color: #9a9a9a;
}

.post-info-category {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 5px;
}

.post-info-category ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.wp-block-image figcaption {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
    font-style: italic;
    color: #9a9a9a;
}

.wp-block-table {
    width: 100%;
}

.wp-block-table tr td {
    padding: 7px;
}

.wp-block-table tr:nth-child(2n + 1) {
    background: #f2f5f7;
}

/*
* TABLE OF CONTENT
*/

.table_of_content,
.additional_post_info {
    position: relative;
    display: block;
    height: 100%;
    z-index: 9;
}

.widget {
    margin-bottom: 30px;
}

.toc_widget {
    background: #ffffff;
    box-shadow: 0 0 30px #ebebeb;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.toc_widget .widgettitle {
    font-size: 1rem;
    font-weight: 500;
    display: block;
    position: relative;
    padding: 25px;
    line-height: 1;
    border-bottom: 1px solid #f2f5f7;
}

.toc_widget_list {
    position: relative;
    list-style: none;
    padding: 0 25px 10px;
    margin: 10px 0;
}

.toc_widget_list li {
    padding: 5px 0;
}

.toc_widget_list .toc_number {
    display: none;
}

.toc_widget_list ul {
    padding: 0 20px;
    margin: 10px 0 0;
}

.toc_widget_list ul li {
    font-size: 14px;
    color: #9a9a9a;
}

/*
* RIGHT SIDEBAR
*/

.additional_post_info-share__title {
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -1px;
}

.additional_post_info-share__content {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
    column-gap: 5px;
}

.share__content-icon {
    border: 1px solid #000;
    border-radius: 50%;
    color: #000;
    padding: 5px 10px;
    text-align: center;
    transition: background-color 200ms, color 200ms;
    width: 40px;
    height: 40px;
}

/*
* RELATED POSTS
*/

#related_posts {
    position: relative;
    padding: 0 0 100px;
    overflow: hidden;
}

.related_inner {
    border-top: 1px solid #00000020;
    padding-top: 35px;
    padding-bottom: 25px;
}

.posts_slider {
    overflow: visible !important;
}

.post_card {
    flex: 1 370px;
    max-width: 400px;
    position: relative;
    margin-bottom: 30px;
}

.post_card>a {
    margin-right: 20px;
    display: block;
}

.post_card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.post_card-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all .7s ease-in;
}

.post_card:hover .post_card-image img {
    transform: scale(1.1);
}

.post_card-category {
    position: absolute;
    top: 180px;
    right: -70px;
    width: 150px;
    height: 20px;
    font-size: 12px;
    transform: rotateZ(-90deg);
}

.post_card-content {
    position: relative;
    padding: 20px 0;
}

.post_card-content__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 5px 0 15px;
    line-height: 1.2;
}

.post_card-content__readmore {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
}

.post_card:hover .post_card-content__readmore {
    color: var(--accent-color);
}

.post_card-content__readmore span {
    display: block;
    position: relative;
    transition: width .3s ease;
    height: 0;
    width: 2.5rem;
    border-top: 2px solid;
    transform: translateZ(0);
    margin-top: 3px;
    margin-left: 15px;
}

.post_card-content__readmore span:after {
    content: "";
    position: absolute;
    top: -1px;
    left: 100%;
    margin-left: -6px;
    border: 2px solid;
    border-bottom-width: 0;
    border-left-width: 0;
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
    transform-origin: top right;
}

.post_card:hover .post_card-content__readmore span {
    width: 6.25rem;
}

.toc_widget_list li:before {
    display: none;
}

.blog-post ul,
.blog-post ol {
    padding-left: 25px;
}

.blog-post ul li {
    position: relative;
    list-style: none;
}

.blog-post ul li::before {
    position: absolute;
    content: '';
    width: 21px;
    height: 21px;
    background: url(/wp-content/themes/abagency/assets/images/check-circle.svg);
    background-size: contain;
    background-repeat: no-repeat;
    top: 3px;
    left: -27px;
}

.blog-post ol li::marker {
    color: var(--accent-color);
    font-weight: 900;
    font-size: 18px;
    line-height: 1;
}

.wp-block-code {
    background: #2f2f2f;
    width: 100%;
    padding: 25px;
    color: #ffffff;
    overflow-x: scroll;
    margin: 10px 0 30px;
    border-radius: 10px;
    box-shadow: 0 0 14px rgb(0 0 0 / 10%);
}

.wp-block-code::-webkit-scrollbar {
    display: none;
}