/* Got Hot Wheels Auctions - Footer Line Cleanup v30
   Removes the messy horizontal divider lines from the footer while keeping
   the dark footer and newsletter input/button usable.
*/

/* Keep footer black and remove panel texture/outer lines */
html body .ghw30-footer-clean,
html body .ghw30-footer-clean-wrap,
html body .ghw29-footer,
html body footer,
html body .ghw-footer,
html body .ghw-site-footer,
html body .site-footer,
html body .footer,
html body .ghw5-footer,
html body .ghw20-footer,
html body [class*="footer" i] {
  background: #000 !important;
  background-color: #000 !important;
  background-image: none !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Remove pseudo-divider/texture layers */
html body .ghw30-footer-clean::before,
html body .ghw30-footer-clean::after,
html body .ghw30-footer-clean-wrap::before,
html body .ghw30-footer-clean-wrap::after,
html body .ghw29-footer::before,
html body .ghw29-footer::after,
html body footer::before,
html body footer::after,
html body .ghw-footer::before,
html body .ghw-footer::after,
html body .site-footer::before,
html body .site-footer::after,
html body [class*="footer" i]::before,
html body [class*="footer" i]::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Kill horizontal lines inside the footer. Do not target inputs/buttons. */
html body .ghw30-footer-clean hr,
html body .ghw30-footer-clean-wrap hr,
html body footer hr,
html body .ghw-footer hr,
html body .site-footer hr,
html body [class*="footer" i] hr,
html body .ghw30-footer-clean [class*="divider" i],
html body .ghw30-footer-clean-wrap [class*="divider" i],
html body footer [class*="divider" i],
html body .ghw-footer [class*="divider" i],
html body .site-footer [class*="divider" i],
html body [class*="footer" i] [class*="divider" i] {
  display: none !important;
}

/* Remove borders from footer layout rows/columns that are making the messy lines. */
html body .ghw30-footer-clean :where(div, section, article, aside, nav, ul, li, p),
html body .ghw30-footer-clean-wrap :where(div, section, article, aside, nav, ul, li, p),
html body footer :where(div, section, article, aside, nav, ul, li, p),
html body .ghw-footer :where(div, section, article, aside, nav, ul, li, p),
html body .site-footer :where(div, section, article, aside, nav, ul, li, p),
html body [class*="footer" i] :where(div, section, article, aside, nav, ul, li, p) {
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Specifically remove the copyright row divider line */
html body .ghw30-footer-clean .footer-bottom,
html body .ghw30-footer-clean .ghw-footer-bottom,
html body .ghw30-footer-clean .copyright,
html body .ghw30-footer-clean [class*="bottom" i],
html body .ghw30-footer-clean-wrap .footer-bottom,
html body .ghw30-footer-clean-wrap .ghw-footer-bottom,
html body .ghw30-footer-clean-wrap .copyright,
html body .ghw30-footer-clean-wrap [class*="bottom" i],
html body footer .footer-bottom,
html body footer .ghw-footer-bottom,
html body footer .copyright,
html body footer [class*="bottom" i],
html body .ghw-footer .footer-bottom,
html body .ghw-footer .ghw-footer-bottom,
html body .ghw-footer .copyright,
html body .site-footer .footer-bottom,
html body .site-footer .ghw-footer-bottom,
html body .site-footer .copyright {
  border-top: 0 !important;
  border-bottom: 0 !important;
  margin-top: 10px !important;
  padding-top: 6px !important;
  box-shadow: none !important;
}

/* Restore useful newsletter input border after global footer border cleanup */
html body .ghw30-footer-clean input[type="email"],
html body .ghw30-footer-clean-wrap input[type="email"],
html body footer input[type="email"],
html body .ghw-footer input[type="email"],
html body .site-footer input[type="email"] {
  border: 1px solid rgba(255,255,255,.18) !important;
  background: #070707 !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* Button remains clean red */
html body .ghw30-footer-clean button,
html body .ghw30-footer-clean-wrap button,
html body footer button,
html body .ghw-footer button,
html body .site-footer button {
  border: 0 !important;
  box-shadow: none !important;
}

/* Slightly neater footer spacing */
html body .ghw30-footer-clean,
html body .ghw30-footer-clean-wrap,
html body footer,
html body .ghw-footer,
html body .site-footer {
  padding-top: 20px !important;
  padding-bottom: 10px !important;
}

html body .ghw30-footer-clean p,
html body .ghw30-footer-clean li,
html body .ghw30-footer-clean a,
html body .ghw30-footer-clean-wrap p,
html body .ghw30-footer-clean-wrap li,
html body .ghw30-footer-clean-wrap a,
html body footer p,
html body footer li,
html body footer a {
  line-height: 1.32 !important;
}

/* Keep only the Facebook icon */
html body .ghw30-footer-clean .social a:not(:first-child),
html body .ghw30-footer-clean .footer-social a:not(:first-child),
html body .ghw30-footer-clean .ghw-social a:not(:first-child),
html body footer .social a:not(:first-child),
html body footer .footer-social a:not(:first-child),
html body footer .ghw-social a:not(:first-child),
html body .ghw-footer .social a:not(:first-child),
html body .ghw-footer .footer-social a:not(:first-child),
html body .ghw-footer .ghw-social a:not(:first-child) {
  display: none !important;
}
