/* =========================
   Two Column Styles
   ========================= */

.page__content .two-col-def {
    display: flex;
    gap: 15px;
}

@media screen and (max-width:1280px) {
    .page__content .two-col-def {
        margin-right: -15px;
    }
}

@media screen and (max-width:900px) {
    .page__content .two-col-def {
        margin-right: 0px;
        display: block;
    }
}

/* Left Column */
.page__content .two-col-def .two-col-def__child:first-of-type {
    width: calc(100% - 335px);
}

@media screen and (max-width:900px) {
    .page__content .two-col-def .two-col-def__child:first-of-type {
        display: block;
        width: auto;
        margin-bottom: 15px;
    }
}

@media screen and (min-width:900px) {
    .breadcrumbsList {
        width: calc(100% - 335px);
    }
}

/* =========================
   Full Height Sidebar Background
   ========================= */

.page {
    position: relative;
}

.page::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 395px;
    /* 305px content + 20px padding each side + 50px padding on right side*/
    height: 100%;
    background-color: #eeeeee;
    z-index: 0;
}

/* Adjust width when padding decreases at 1280px */
@media screen and (max-width:1280px) {
    .page::after {
        width: 290px;
        /* 305px content - 15px padding change */
    }
}

/* Keep content above background */
.page__content-wrapper,
.page__content-wrapper * {
    position: relative;
    z-index: 1;
}

/* Sidebar Content Box */
.page__content .two-col-def .two-col-def__child:last-of-type {
    box-sizing: border-box;
    padding: 20px;
    /* default padding */
    width: calc(335px - 30px);
    margin-left: 65px;
}

@media screen and (max-width:1280px) {
    .page__content .two-col-def .two-col-def__child:last-of-type {
        padding: 45px;
        /* updated padding */
    }
}

/* =========================
   Mobile Adjustments
   ========================= */
@media screen and (max-width:900px) {
    .page__content .two-col-def .two-col-def__child:first-of-type {
        width: auto;
        margin-bottom: 15px;
        padding: 0px;
    }

    .page__content .two-col-def .two-col-def__child:last-of-type {
        display: block;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        padding: 0px;
        text-align: left;
    }

    .page::after {
        display: none;
    }
}