/* Theme prints the page title above our hero — our hero H1 is the real one */
.home .entry-header, .home h1.entry-title { display: none; }
.home .entry-content { margin: 0; }
.home .site-content { padding-top: 0 !important; padding-bottom: 0 !important; }

/* Break hero + CTA out of the theme container, riders-share style full-bleed */
.mm-hero, .mm-cta-final {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
}

.mm-hero {
  background:
    linear-gradient(rgba(10, 11, 14, .35) 0%, rgba(10, 11, 14, .55) 100%),
    url('mm-hero-dark.jpg') center 55% / cover no-repeat #0e1013;
  color: #fff;
  padding: 120px 20px 88px;
  text-align: center;
}

/* Dark header/menu rules live in menu.css (loads for logged-out visitors sitewide) */
.mm-hero-sub {
  background: linear-gradient(160deg, #16181d 0%, #2a2e38 100%);
  padding: 72px 20px 56px;
}
.mm-hero-sub .mm-btn-primary { margin: 6px 0 10px; }
.mm-trust a { color: inherit; text-decoration: none; }
.mm-trust a:hover { color: #0087d1; }

.mm-hero h1 { color: #fff; font-size: 46px; margin: 0 0 12px; text-shadow: 0 2px 16px rgba(0,0,0,.75), 0 1px 3px rgba(0,0,0,.6); }
.mm-hero .mm-sub { color: #f4f5f7; font-size: 19px; max-width: 640px; margin: 0 auto 32px; text-shadow: 0 1px 10px rgba(0,0,0,.75); }

.mm-hero-search { max-width: 620px; margin: 0 auto; position: relative; text-align: left; }
.mm-search-box { display: flex; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,.35); }
.mm-search-box input { flex: 1; border: 0; padding: 18px 20px; font-size: 17px; outline: none; }
.mm-search-box button { border: 0; background: #0087d1; color: #fff; font-weight: 700; font-size: 16px; padding: 0 28px; cursor: pointer; }
.mm-search-box button:hover { background: #006daa; }

.mm-search-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,.3); overflow: hidden; z-index: 50; }
.mm-result { display: block; padding: 12px 18px; color: #1a1a1a; text-decoration: none; border-bottom: 1px solid #f0f0f0; font-size: 15px; }
.mm-result:hover { background: #f7f7f7; }
.mm-result em { display: block; color: #777; font-style: normal; font-size: 13px; }
.mm-result-geo { background: #f0f8fe; }
.mm-result .mm-pin { color: #0087d1; margin-right: 4px; }
.mm-no-result { color: #666; }

.mm-popular-chips { margin-top: 14px; font-size: 14px; color: #9aa0ab; }
.mm-popular-chips a { color: #fff; background: rgba(255,255,255,.12); border-radius: 999px; padding: 4px 12px; margin: 0 4px; text-decoration: none; display: inline-block; }
.mm-popular-chips a:hover { background: rgba(255,255,255,.24); }

.mm-stats { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin: 36px auto 0; }
.mm-stat { text-align: center; }
.mm-stat strong { display: block; font-size: 28px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.mm-stat span { color: #e4e7eb; font-size: 14px; text-shadow: 0 1px 6px rgba(0,0,0,.6); }

.mm-section { max-width: 1080px; margin: 0 auto; padding: 56px 20px; }
.mm-section h2 { text-align: center; font-size: 32px; margin-bottom: 8px; }
.mm-section .mm-section-sub { text-align: center; color: #666; margin-bottom: 36px; }

.mm-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; text-align: center; }
.mm-trust div { padding: 18px; }
.mm-trust strong { display: block; font-size: 17px; margin-bottom: 6px; }
.mm-trust span { color: #666; font-size: 14px; }

.mm-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.mm-step { text-align: center; padding: 24px; }
.mm-step .mm-step-num { width: 44px; height: 44px; border-radius: 50%; background: #0087d1; color: #fff; font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }

.mm-featured-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.mm-featured-card { border: 1px solid #e5e5e5; border-radius: 10px; padding: 18px; text-decoration: none; color: #1a1a1a; transition: box-shadow .15s; display: block; }
.mm-featured-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.mm-featured-card span { color: #0087d1; font-size: 13px; font-weight: 600; }
.mm-featured-card p { color: #666; font-size: 14px; margin: 8px 0; }

/* Riders-share-style location image cards — 4 across, 3 rows */
.mm-locations-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mm-location-card {
  position: relative; display: block; height: 230px; border-radius: 12px; overflow: hidden;
  background-size: cover; background-position: center; text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.mm-location-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.02) 45%, rgba(0,0,0,.68) 100%);
}
.mm-location-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.mm-loc-pill {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: #fff; color: #16181d; font-weight: 600; font-size: 13px;
  padding: 5px 12px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.28);
}
.mm-loc-count { position: absolute; bottom: 12px; left: 14px; z-index: 2; color: #fff; font-weight: 700; font-size: 15px; }
@media (max-width: 900px) { .mm-locations-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .mm-locations-grid { grid-template-columns: repeat(2, 1fr); } .mm-location-card { height: 180px; } }

/* Geo hub pages */
.mm-marketing .site-content { padding-top: 0 !important; padding-bottom: 0 !important; }
.mm-marketing .site-content .container { max-width: none; padding: 0; }
.mm-geo-hero {
  background-size: cover !important;
  background-position: center 40% !important;
  padding: 96px 20px 72px;
}
.mm-geo-hero h1 { font-size: 38px; }
.mm-geo-hero .mm-hero-search { margin-top: 26px; }
.mm-geo-page .site-main { padding: 0; }
.mm-geo-body { max-width: 1040px; margin: 0 auto; padding: 40px 20px 56px; }
.mm-stat-line { font-size: 17px; color: #444; margin-bottom: 26px; }
.mm-geo-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 28px; }
.mm-geo-viewall { margin: 0 0 36px; }
.mm-nearby h2, .mm-faqs h2 { font-size: 24px; margin: 26px 0 14px; }
.mm-chips a {
  display: inline-block; color: #16181d; text-decoration: none;
  background: #f1f2f4; border-radius: 999px; padding: 7px 15px;
  margin: 0 8px 10px 0; font-size: 14px;
}
.mm-chips a:hover { background: #0087d1; color: #fff; }
.mm-faq { border-bottom: 1px solid #eee; padding: 14px 0; }
.mm-faq h3 { font-size: 17px; margin: 0 0 6px; }
.mm-faq p { color: #555; margin: 0; font-size: 15px; }

/* Group cards with image headers */
.mm-gcard {
  display: block; border: 1px solid #e7e7e7; border-radius: 12px; overflow: hidden;
  text-decoration: none; color: #1a1a1a; background: #fff;
  transition: transform .15s, box-shadow .15s;
}
.mm-gcard:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,.14); }
.mm-gcard-img { display: block; height: 140px; background-size: cover; background-position: center; }
.mm-gcard-body { display: block; padding: 16px; }
.mm-gcard-body strong { display: block; font-size: 16px; margin-bottom: 6px; }
.mm-gcard-body p { color: #666; font-size: 14px; margin: 0 0 8px; }
.mm-gcard-body em { color: #0087d1; font-style: normal; font-size: 13px; font-weight: 600; }

/* Geo page two-column layout with regions sidebar */
.mm-geo-columns { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; align-items: start; }
.mm-geo-aside .mm-aside-box { border: 1px solid #ececec; border-radius: 12px; padding: 20px; margin-bottom: 18px; }
.mm-geo-aside h2 { font-size: 18px !important; margin: 0 0 10px !important; }
.mm-geo-aside p { font-size: 14px; color: #555; }
.mm-geo-aside .mm-chips a { margin-bottom: 8px; }
@media (max-width: 980px) { .mm-geo-columns { grid-template-columns: 1fr; } }

/* Individual badge strip */
.mm-badge-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 16px; margin: 6px 0 10px; }
.mm-badge { text-align: center; text-decoration: none; color: #16181d; }
.mm-badge img { width: 88px; height: 88px; object-fit: contain; display: block; margin: 0 auto 8px; transition: transform .15s; }
.mm-badge:hover img { transform: scale(1.08); }
.mm-badge span { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.3; }

/* Bucket List suggestion cards (collection banner art) */
.mm-bbl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 6px 0 12px; }
.mm-bbl-card { display: block; border: 1px solid #eee; border-radius: 12px; overflow: hidden; text-decoration: none; color: #16181d; background: #fff; transition: box-shadow .15s; }
.mm-bbl-card:hover { box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.mm-bbl-card img { width: 100%; aspect-ratio: 1024 / 329; object-fit: cover; display: block; }
.mm-bbl-card span { display: block; padding: 10px 14px; font-weight: 600; font-size: 14px; }

.mm-bbl-band {
  width: 100vw; position: relative; left: 50%; margin-left: -50vw;
  background:
    linear-gradient(100deg, rgba(13,15,19,.88) 0%, rgba(13,15,19,.55) 60%, rgba(13,15,19,.35) 100%),
    url('https://imagedelivery.net/gBz3i8uS5vIMM1yaF_4TjA/90f08fc8-6ed3-4a13-0a58-deb8d1440f00/large') center / cover no-repeat;
  color: #fff; padding: 72px 20px;
}
.mm-bbl-inner { max-width: 1080px; margin: 0 auto; }
.mm-bbl-band h2 { color: #fff; font-size: 32px; margin: 0 0 10px; }
.mm-bbl-band p { color: #e4e7eb; max-width: 560px; }
.mm-bbl-links { margin: 18px 0 6px; }
.mm-bbl-links a {
  display: inline-block; color: #fff; text-decoration: none;
  background: rgba(255,255,255,.14); border-radius: 999px; padding: 6px 14px;
  margin: 0 8px 8px 0; font-size: 14px;
}
.mm-bbl-links a:hover { background: rgba(255,255,255,.28); }

/* App promo band */
.mm-app-band {
  width: 100vw; position: relative; left: 50%; margin-left: -50vw;
  background: #16181d; color: #fff; padding: 64px 20px;
}
.mm-app-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.mm-app-copy h2 { color: #fff; font-size: 32px; margin: 0 0 12px; }
.mm-app-copy p { color: #c9ccd4; font-size: 17px; }
.mm-app-badges { display: flex; gap: 14px; align-items: center; margin-top: 22px; }
.mm-app-badges img { height: 52px; width: auto; display: block; }
.mm-app-shot img { width: 100%; border-radius: 14px; display: block; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
@media (max-width: 800px) { .mm-app-inner { grid-template-columns: 1fr; } }

.mm-cta-final {
  background:
    linear-gradient(rgba(13, 15, 19, .20), rgba(13, 15, 19, .40)),
    url('mm-sunset-rider.jpg') center 40% / cover no-repeat;
  color: #fff; text-align: center; padding: 88px 20px;
}
.mm-community-band { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.mm-community-band img { width: 100%; border-radius: 14px; display: block; }
.mm-cta-final h2 { color: #fff; }
.mm-btn-primary { display: inline-block; background: #0087d1; color: #fff !important; font-weight: 700; padding: 14px 34px; border-radius: 8px; text-decoration: none; font-size: 17px; margin-top: 18px; }
.mm-btn-primary:hover { background: #006daa; }

@media (max-width: 600px) {
  .mm-hero h1 { font-size: 30px; }
  .mm-stats { gap: 20px; }
}
