/* Madboys Version 15 — compact-horizontal parity, unified work width and standard menu entries. */

body.madboys-site.site-final.site-production .menu-panel nav > a.privacy,
body.madboys-site.site-final.site-production .menu-panel nav > a.builder-menu-link {
  grid-column: auto !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  color: #dce5f2 !important;
  border-color: var(--dd-border) !important;
  background: linear-gradient(180deg, #1a2538, #0c131f) !important;
  box-shadow: none !important;
}

@media (min-width: 900px) and (min-aspect-ratio: 1.001/1) {
  body.madboys-site.site-final.site-production {
    --v15-work-w: min(1320px, calc(100vw - 96px));
    --v15-home-card-top: clamp(500px, 60dvh, 620px);
    --v15-home-card-height: clamp(132px, 15dvh, 156px);
  }

  body.madboys-site.site-final.site-production .global-topbar,
  body.madboys-site.site-final.site-production section.home .home-cards,
  body.madboys-site.site-final.site-production section.home .founder-strip {
    left: 50% !important;
    right: auto !important;
    width: var(--v15-work-w) !important;
    max-width: var(--v15-work-w) !important;
    transform: translateX(-50%) !important;
  }

  body.madboys-site.site-final.site-production .global-topbar {
    top: 14px !important;
    height: 66px !important;
    padding-inline: clamp(14px, 1.2vw, 20px) !important;
    gap: clamp(8px, .8vw, 15px) !important;
  }

  body.madboys-site.site-final.site-production .desktop-nav {
    gap: clamp(4px, .42vw, 8px) !important;
  }

  body.madboys-site.site-final.site-production .desktop-nav a.active {
    color: #17120a !important;
    text-shadow: 0 1px 0 rgba(255,255,255,.42) !important;
  }

  body.madboys-site.site-final.site-production section.home .hero-slogan .slogan-mobile {
    display: none !important;
  }

  body.madboys-site.site-final.site-production section.home .hero-slogan .slogan-desktop {
    display: inline !important;
  }

  body.madboys-site.site-final.site-production section.home .hero-slogan {
    width: fit-content !important;
    min-width: 0 !important;
    max-width: calc(100vw - 180px) !important;
    padding-inline: clamp(24px, 2.2vw, 36px) !important;
  }

  body.madboys-site.site-final.site-production section.home .hero-slogan .slogan-gold {
    color: #ffc340 !important;
    text-shadow: 0 0 10px rgba(255,187,40,.38), 0 2px 3px rgba(0,0,0,.95) !important;
  }

  body.madboys-site.site-final.site-production section.home .home-cards {
    top: var(--v15-home-card-top) !important;
    height: var(--v15-home-card-height) !important;
    min-height: var(--v15-home-card-height) !important;
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    gap: clamp(14px, 1.1vw, 22px) !important;
  }

  body.madboys-site.site-final.site-production section.home .home-cards .feature-card {
    height: 100% !important;
    min-height: 100% !important;
    padding: clamp(12px, 1.1vw, 16px) !important;
    grid-template-columns: clamp(98px, 7vw, 118px) minmax(0,1fr) 38px !important;
  }

  body.madboys-site.site-final.site-production section.home .home-cards .feature-card img {
    max-height: 118px !important;
  }

  body.madboys-site.site-final.site-production section.home .home-cards .feature-card h3 {
    font-size: clamp(18px, 1.25vw, 21px) !important;
  }

  body.madboys-site.site-final.site-production section.home .home-cards .feature-card p {
    font-size: clamp(11px, .8vw, 13px) !important;
  }

  body.madboys-site.site-final.site-production section.home .founder-strip {
    top: calc(var(--v15-home-card-top) + var(--v15-home-card-height) + 10px) !important;
  }
}

@media (min-width: 900px) and (max-width: 1180px) and (min-aspect-ratio: 1.001/1) {
  body.madboys-site.site-final.site-production {
    --v15-work-w: calc(100vw - 52px);
  }

  body.madboys-site.site-final.site-production .global-topbar .brandmark {
    min-width: 132px !important;
  }

  body.madboys-site.site-final.site-production .global-topbar .brandmark b {
    font-size: 17px !important;
  }

  body.madboys-site.site-final.site-production .desktop-nav a {
    min-width: 48px !important;
    padding-inline: 3px !important;
    font-size: 9px !important;
  }

  body.madboys-site.site-final.site-production .header-prereg-cta {
    width: 128px !important;
    min-width: 128px !important;
  }

  body.madboys-site.site-final.site-production section.home .home-cards .feature-card {
    grid-template-columns: clamp(78px, 8vw, 96px) minmax(0,1fr) 32px !important;
  }
}

/* Short landscape screens keep the full desktop hierarchy without pushing
   the Founder Rewards strip below the safe viewport. */
@media (min-width: 900px) and (min-aspect-ratio: 1.001/1) and (max-height: 720px) {
  body.madboys-site.site-final.site-production {
    --v15-home-card-top: calc(100dvh - 248px);
    --v15-home-card-height: 124px;
  }

  body.madboys-site.site-final.site-production section.home .founder-strip {
    height: 88px !important;
    min-height: 88px !important;
  }
}
