/**
 * T26 Dual-Sidebar Template Stylesheet (t26_sidebar_dual) - T26 Web-Ökosystem
 * @author      Thodde26 (Thorsten)
 * @version     1.0.0
 * @link        https://www.thodde26.de
 * @file        template.css
 * @license     http://www.gnu.org/licenses/gpl.html GNU General Public License v3.0
 */

.t26-tpl-t26_sidebar_dual {
    --t26-container-max: 1680px;
}

.t26-tpl-t26_sidebar_dual .t26-layout-wrapper {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) 300px;
    gap: var(--t26-space-md);
    align-items: start;
    margin-top: var(--t26-space-md);
    margin-bottom: var(--t26-space-xl);
}

.t26-tpl-t26_sidebar_dual .t26-sidebar--left,
.t26-tpl-t26_sidebar_dual .t26-sidebar--right {
    position: sticky;
    top: calc(var(--t26-toolbar-h, 44px) + 20px);
    display: flex;
    flex-direction: column;
    gap: var(--t26-space-md);
}

@media (max-width: 1200px) {
    .t26-tpl-t26_sidebar_dual .t26-layout-wrapper {
        grid-template-columns: minmax(0, 1fr) 280px;
    }

    .t26-tpl-t26_sidebar_dual .t26-sidebar--left {
        grid-column: 1 / -1;
        position: static;
    }
}

@media (max-width: 768px) {
    .t26-tpl-t26_sidebar_dual .t26-layout-wrapper {
        grid-template-columns: 1fr;
    }

    .t26-tpl-t26_sidebar_dual .t26-sidebar--right {
        position: static;
    }
}
