.post-content {
    flex: 2.5;
}

.sticky-sidebar {
    height: 100svh;
    position: sticky;
    top: 0;
    z-index: 10;
}

.reports-bottom,
.contact-box {
    z-index: 3;
    position: relative;
}

.reports-bottom::after,
.contact-box::after {
    content: '';
    position: absolute;
    top: calc(var(--spacing) * -8);
    left: 0;
    right: 0;
    height: calc(var(--spacing) * 8);
    pointer-events: none;
    background: linear-gradient(
        to top, 
        var(--color-bgr) 0%, 
        rgba(255, 255, 255, 0) 100%
        );

}

.reports-sidebar-inner {
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reports-sidebar-inner::-webkit-scrollbar {
    display: none;
}

.reports-arrow-button[disabled] {
    opacity: 0.4 !important;
    pointer-events: none !important;
}

.reports-progress {
    width: 100%;
    height: 3px;
}

.reports-progress::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: var(--color-bgr);
    opacity: 0.25;
}

.reports-progress-active {
    position: absolute;
    height: 100%;
    left: 0;
}

.mobile-content,
.reports-menu-button {
    display: none;
}

#menu[data-is-reports="true"] .search-button,
#menu[data-is-reports="true"] .menu-item {
    display: none;
}

#menu[data-is-reports="true"] .menu-report-item {
    display: block;
}

custom-dropdown [data-chevron] {
    transform: rotateZ(180deg);
}

.dropdown-content-outer {
    height: auto;
}

.report-sidebar-item {
    display: none;
}

.reports-sidebar-inner.mounted .report-sidebar-item,
.menu-reports-nav .report-sidebar-item  {
    display: flex;
}

custom-dropdown[data-open="false"] [data-chevron] {
    transform: rotateZ(0deg);
}

custom-dropdown[data-open="false"] .dropdown-content-outer {
    height: 0px;
}

.dropdown-content {
    padding-top: 10px;
}

custom-dropdown  [data-heading] {
    font-weight: 700;
}

.dropdown-content a {
    font-family: var(--font-body);
    font-size: var(--text-sm);
}

custom-dropdown + custom-dropdown {
    border-top: none !important;
    margin-top: calc(var(--spacing)*-3);
}

#toc-desktop + .contact-box {
    margin-top: 0;
}

@media (max-width: 1023px) {
    .sticky-sidebar {
        padding-top: calc(var(--spacing) * 4);
        height: auto;
    }

    .reports-bottom,
    .contact-box {
        display: none;
    }

    #reports-bottom-placeholder {
        margin-top: auto;
    }

    #reports-bottom-placeholder .reports-bottom {
        display: block;
        margin-bottom: 0px;
    }

    .reports-sidebar-inner {
        display: none;
    }

    .mobile-content {
        display: flex;
    }

    .sidebar-header {
        border-bottom: none;
        padding: 8px 0;
        background-color: var(--color-typ);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .reports-menu-button {
        display: flex;
    }

    .menu-reports-nav custom-dropdown [data-heading],
    .dropdown-content a,
    .report-sidebar-item a {
        font-size: .9rem;
        line-height: 145%;
        font-family: var(--font-body);
    }

    .menu-reports-nav custom-dropdown [data-heading] {
        font-weight: 400;
    }

    custom-dropdown[data-open="true"] {
        padding-bottom: 0px;
    }

    custom-dropdown + custom-dropdown {
        margin-top: 0px;
    }

    .dropdown-content a {
        padding-left: calc(var(--spacing) * 3);
    }

    .dropdown-content li:first-of-type {
        margin-top: calc(var(--spacing) * 2.5);
        border-top-style: var(--tw-border-style);
        border-top-width: 1px;
    }

    .dropdown-content {
        border-top: none;
        padding-top: 0px;
        gap: 0;
    }

    #menu[data-is-reports="true"] .menu-inner {
        overflow-y: hidden;
    }

    #reports-bottom-placeholder .font-heading {
        font-size: var(--text-sm);
        font-family: var(--font-body);
    }
}

