/**
* Template: Posts
*/

/* TABLE OF CONTENTS ACCORDION */
.ai-toc-accordion {
    border-radius: var(--global-border-radius);
    overflow: hidden;
}
.ai-toc-accordion input[type="checkbox"] {
    display: none;
}
.ai-toc-accordion input[type="checkbox"]:checked ~ .toc-body {
    display: block;
}
.ai-toc-accordion input[type="checkbox"]:checked ~ .toc-header:after {
    transform: rotate(-180deg);
}
.ai-toc-accordion .toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 24px;
    line-height: 1.2;
    font-family: var(--global-font);
    font-weight: 900;
    padding: 16px 0 16px 30px;
    background-color: #9bcfff;
    cursor: pointer;
    user-select: none;
    transition: 0.3s ease;
}
.ai-toc-accordion .toc-header:after {
    display: block;
    content: "\f107";
    font-family: ts-icons;
    font-size: 26px;
    padding: 2px 35px;
    transition: transform 0.3s ease;
}
.ai-toc-accordion .toc-header:hover {
    background-color: #72bbff;
}
.ai-toc-accordion .toc-body {
    display: none;
    margin: 0;
    padding: 25px 60px;
    background-color: var(--primary-background-color);
    overflow: hidden;
}
.ai-toc-accordion .toc-body a {
    color: var(--body-font);
}
.ai-toc-accordion .toc-body a:hover {
    color: var(--primary-color);
}
.toc-return {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0px;
    height: 65px;
    width: 65px;
    font-size: 14px;
    font-weight: 900;
    text-align: center;
    line-height: 1.2;
    color: #fff !important;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    z-index: 101;
}
.toc-return:hover {
    background-color: var(--secondary-color);
    bottom: 25px;
}