/* JLAS custom layout - Health Sciences Theme */

/* Homepage image */
.homepage_image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}

.homepage_image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* Desktop: main content + sidebar */
@media (min-width: 992px) {

    .pkp_structure_content {
        display: flex !important;
        align-items: flex-start !important;
    }

    .pkp_structure_main {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
        float: none !important;
    }

    .pkp_structure_sidebar {
        flex: 0 0 280px !important;
        width: 280px !important;
        max-width: 280px !important;
        margin-left: 30px !important;
        float: none !important;
    }
}

/* Mobile */
@media (max-width: 991px) {

    .pkp_structure_content {
        display: block !important;
    }

    .pkp_structure_main,
    .pkp_structure_sidebar {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
    }

    .pkp_structure_sidebar {
        margin-top: 25px !important;
        margin-left: 0 !important;
    }
}