/* class-strip.css (v3)
   Purpose: On class pages only, hide the logo even if it comes from CSS (e.g., brand.css).
   Include in class.php <head> (after other styles).
*/

/* 1) Common logo containers (elements) */
#logo, .logo, .brand, .site-logo, .header-logo, .branding,
.site-brand, .brandmark, .navbar-brand, a.logo, a.brand, a.site-logo, a.header-logo,
svg.logo, svg.brand {
  display: none !important;
  visibility: hidden !important;
}

/* 2) Kill background/logo images applied via CSS to brand-ish elements */
#logo, .logo, .brand, .site-logo, .header-logo, .branding, .site-brand, .brandmark,
[class*="logo" i], [class*="brand" i], [id*="logo" i], [id*="brand" i] {
  background: none !important;
  background-image: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  /* Some themes use content:url(...) on elements */
  content: normal !important;
}

/* 3) Also kill ::before/::after where many themes draw the brand */
#logo::before, #logo::after,
.logo::before, .logo::after,
.brand::before, .brand::after,
.site-logo::before, .site-logo::after,
.header-logo::before, .header-logo::after,
.branding::before, .branding::after,
.site-brand::before, .site-brand::after,
.brandmark::before, .brandmark::after,
[class*="logo" i]::before, [class*="logo" i]::after,
[class*="brand" i]::before, [class*="brand" i]::after,
[id*="logo" i]::before, [id*="logo" i]::after,
[id*="brand" i]::before, [id*="brand" i]::after {
  content: "" !important;
  background: none !important;
  background-image: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  display: none !important;
  visibility: hidden !important;
}

/* 4) Images that look like logos by src/alt */
img[src*="logo" i], img[alt*="logo" i] { display: none !important; visibility: hidden !important; }

/* Keep layout intact otherwise */
