/* === Hide all Blockscout footer branding === */

/* Hide any link that goes to blockscout.com domains */
a[href*='blockscout.com'],
a[href*='github.com/blockscout'] {
  display: none !important;
}

/* Hide parent li/div containing blockscout links */
li:has(a[href*='blockscout.com']),
li:has(a[href*='github.com/blockscout']) {
  display: none !important;
}

/* Hide 'Made with Blockscout' row - targets the row containing blockscout logo link */
footer a[href='https://www.blockscout.com'] {
  display: none !important;
}
div:has(> a[href='https://www.blockscout.com']) {
  display: none !important;
}

/* Hide the entire Blockscout column in footer by targeting its header text */
footer p:has(a[href*='blockscout.com']),
footer div:has(a[href*='blockscout.com']) > p:first-child {
  display: none !important;
}

/* Nuclear option - hide any footer section that contains blockscout links */
footer ul:has(li a[href*='blockscout.com']) {
  display: none !important;
}
footer ul:has(li a[href*='github.com/blockscout']) {
  display: none !important;
}

/* Hide 'Made with Blockscout' text and logo container */
footer svg[aria-label='Blockscout'],
footer img[alt*='Blockscout'],
footer *[aria-label*='Blockscout'] {
  display: none !important;
}

/* Hide the description paragraph about Blockscout */
footer p:has(a[href*='blockscout']) {
  display: none !important;
}
