/* #### Page #### */
.main-page-pd-el {
    padding-top: var(--df-padding);
}

.main-page-pd-el>.df-pd-tb:first-of-type {
    padding-top: 0 !important;
}

@media (max-width: 992px) {
    .content-holder:has(>.main-page-pd-el)+.main-page-pd-el {
        padding-top: 0 !important;
    }

    .main-container:has(.sidebar-holder) .main-content.df-pd-tb {
        padding-bottom: var(--df-margin-unit);
    }
}

.page-content>p:last-child,
.page-content>.accordion-list:last-child {
    margin-bottom: 0;
}

/* Page Without Sidebar */
@media (min-width: 993px) {

    .page-template-page-without-sidebar .sub-header .centered-column,
    .smaller-column-sub-header .sub-header .main-sub-header-column,
    .smaller-column-sub-header .smaller-column,
    .page-template-page-without-sidebar main>.container>.row>.content-holder,
    .page-template-page-without-sidebar .author-info-container .col-md-12,
    .smaller-container>* {
        max-width: var(--smaller-collumn-width);
        float: none;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Expand Fullwidth Elements - Based on container sizes */
@media (min-width: 993px) {
    .page-template-page-without-sidebar .main-content .expand-fullwidth {
        min-width: calc(960px - 30px);
        margin-left: calc((((960px - var(--smaller-collumn-width)) / 2)) * -1);
    }
}

@media (min-width: 1100px) {

    .page-template-page-without-sidebar .main-content .expand-fullwidth {
        min-width: calc(1024px - 15px);
        margin-left: calc((((1024px - var(--smaller-collumn-width)) / 2)) * -1);
    }
}

@media (min-width: 1250px) {
    .page-template-page-without-sidebar .main-content .expand-fullwidth {
        min-width: calc(1200px - 30px);
        margin-left: calc((((1200px - var(--smaller-collumn-width)) / 2)) * -1);
    }
}