/* Desktop homepage visual refinements only. Mobile layouts and stored site content remain unchanged. */
@media screen and (min-width: 992px) {
  /* Re-expose the wallpaper managed by the existing website background settings.
     Keep compact colored game cards / section panels, but not an opaque full-page slab. */
  html body.dhm-homepage #wrapper,
  html body.dhm-homepage #wrapper > .bg-custom,
  html body.dhm-homepage #wrapper > .dh-desktop-banner,
  html body.dhm-homepage #wrapper > .dh-desktop-categories,
  html body.dhm-homepage #wrapper > .dx-home-complete,
  html body.dhm-homepage #wrapper .dx-home-complete > .dx-partners {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
  }
  html body.dhm-homepage #wrapper > .dh-desktop-banner {
    background: transparent !important;
  }
  html body.dhm-homepage #wrapper > .dh-desktop-categories {
    background: transparent !important;
  }
  html body.dhm-homepage #wrapper > .dx-home-complete,
  html body.dhm-homepage #wrapper .dx-home-complete > .dx-partners {
    background: transparent !important;
  }
  html body.dhm-homepage #wrapper .dx-home-complete > .dx-partners h2 {
    text-shadow: 0 2px 5px rgba(0,0,0,.85);
  }

  /* One desktop footer, based on the original footer-description source.
     The description is not duplicated in the deployment payload. */
  html body.dhm-homepage #wrapper footer#aboutus {
    background-color: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    /* Preserve any dedicated footer background image configured by the owner. */
  }
  html body.dhm-homepage #wrapper footer#aboutus > .product-tile__clip-path,
  html body.dhm-homepage #wrapper footer#aboutus > .pb-3 > :not(.mcp-footer-menu-3) {
    display: none !important;
  }
  html body.dhm-homepage #wrapper footer#aboutus > .pb-3 {
    padding: 12px 0 24px !important;
    background-color: transparent !important;
    background-image: none !important;
  }
  html body.dhm-homepage #wrapper footer#aboutus .mcp-footer-menu-3,
  html body.dhm-homepage #wrapper footer#aboutus .mcp-footer-menu-3 > .container,
  html body.dhm-homepage #wrapper footer#aboutus .mcp-footer-menu-3 .footer-content,
  html body.dhm-homepage #wrapper footer#aboutus .mcp-footer-menu-3 .row {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
  }
  html body.dhm-homepage #wrapper footer#aboutus .mcp-footer-menu-3 {
    display: block !important;
    color: #fff !important;
  }
  html body.dhm-homepage #wrapper footer#aboutus .mcp-footer-menu-3 > .container {
    max-width: 1100px !important;
    width: 100% !important;
    padding: 15px 24px !important;
    margin: 0 auto !important;
  }
  html body.dhm-homepage #wrapper footer#aboutus .mcp-footer-menu-3 .row > .col-lg-8 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  /* Hide extra footer logo/contact/list/media chrome, not the SEO description. */
  html body.dhm-homepage #wrapper footer#aboutus .mcp-footer-menu-3 .col-lg-8 > .dhm-footer-admin-logo,
  html body.dhm-homepage #wrapper footer#aboutus .mcp-footer-menu-3 .col-lg-8 > p.d-block.d-sm-none,
  html body.dhm-homepage #wrapper footer#aboutus .mcp-footer-menu-3 .col-lg-8 > hr,
  html body.dhm-homepage #wrapper footer#aboutus .mcp-footer-menu-3 .col-lg-8 > p.mx-2,
  html body.dhm-homepage #wrapper footer#aboutus .mcp-footer-menu-3 .col-lg-8 > ul.nav,
  html body.dhm-homepage #wrapper footer#aboutus .mcp-footer-menu-3 .row > .pt-2,
  html body.dhm-homepage #wrapper footer#aboutus .mcp-footer-menu-3 > .container > .col-lg-12 > hr,
  html body.dhm-homepage #wrapper footer#aboutus .mcp-footer-menu-3 marquee {
    display: none !important;
  }
  html body.dhm-homepage #wrapper footer#aboutus .mcp-footer-menu-3 .footer-content {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,.95);
  }
  html body.dhm-homepage #wrapper footer#aboutus .mcp-footer-menu-3 .footer-content h1 {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 0 18px !important;
    border: 0 !important;
    color: #fff !important;
    font-size: 27px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
  }
  html body.dhm-homepage #wrapper footer#aboutus .mcp-footer-menu-3 .footer-content h2 {
    color: #fff !important;
    background: transparent !important;
    font-weight: 750 !important;
    font-size: 22px !important;
    margin: 20px 0 9px !important;
    line-height: 1.35 !important;
  }
  html body.dhm-homepage #wrapper footer#aboutus .mcp-footer-menu-3 .footer-content p,
  html body.dhm-homepage #wrapper footer#aboutus .mcp-footer-menu-3 .footer-content li {
    color: #fff !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    margin-bottom: 11px;
  }
  html body.dhm-homepage #wrapper footer#aboutus .mcp-footer-menu-3 .footer-content a {
    color: #a5ff00 !important;
  }
  /* Retain the existing 3 links from the original template at the very bottom. */
  html body.dhm-homepage #wrapper footer#aboutus .mcp-footer-menu-3 > .container > .col-lg-12 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 8px 0 0 !important;
    margin-top: 14px !important;
    border-top: 1px solid rgba(255,255,255,.25);
  }
  html body.dhm-homepage #wrapper footer#aboutus .mcp-footer-menu-3 > .container > .col-lg-12 .nav {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 14px 25px !important;
    margin: 0 !important;
    padding: 6px 0 0 !important;
  }
  html body.dhm-homepage #wrapper footer#aboutus .mcp-footer-menu-3 > .container > .col-lg-12 .nav a {
    color: #a5ff00 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 3px #000 !important;
    padding: 6px 8px !important;
  }
}
