/* Hide the OJS logo image and its container */
.col-md-2[role="complementary"],
div[role="complementary"]:has(img[src*="ojs_brand.png"]),
div[role="complementary"]:has(a[href*="aboutThisPublishingSystem"]) {
    display: none !important;
    visibility: hidden !important;
}

/* Target the specific OJS logo image */
img[src*="ojs_brand.png"],
img[alt*="Platform and Workflow by OJS"] {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
}

/* Hide the link containing the image */
a[href*="aboutThisPublishingSystem"] {
    display: none !important;
}

/* Hide the entire column containing the logo */
.col-md-2:has(img[src*="ojs_brand"]) {
    display: none !important;
}

/* If using Bootstrap grid, prevent layout issues */
.col-md-2:empty {
    display: none !important;
}
