/* Only the public marketing homepage; 700px and under.
   No desktop rules, no customer site, no Luna demo changes. */
@media screen and (max-width:700px) {
  /* Hide the redundant illustrated headline on phones only. The desktop hero is untouched. */
  .showcase .jb-illustrated-brand { display:none !important; }

  /* These duplicated quick links remain available in the relocated feature cards
     or the hero's own main actions and film link. */
  .showcase .hero-copy .hero-more-links { display:none !important; }

  /* Keep the full product-demo entry visible, but remove its now-empty
     surrounding quick-link group border on mobile. */
  .showcase .hero-copy .desktop-quick-links {
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    overflow:visible !important;
    box-shadow:none !important;
    gap:0 !important;
  }
  .showcase .hero-copy .desktop-quick-links>.jb-home-demo-band {
    width:100%;
    margin:0;
  }

  /* The example outings are positioned directly after the season metrics
     by landing-mobile-order.js, rather than after every analysis chart. */
  .showcase #demo-dagbok { scroll-margin-top:16px; }
  .showcase #demo-dagbok .card-heading { margin-bottom:10px; }
  .showcase #demo-dagbok .card-intro { margin-bottom:12px; }

  /* Keep the original demo box; five small feature links now sit INSIDE it. */
  .showcase .hero-copy .jb-home-demo-hero .jb-home-demo-card {
    grid-template-rows:auto auto auto !important;
    row-gap:11px !important;
  }
  .showcase .hero-copy .jb-home-demo-hero .jb-mobile-demo-features {
    display:block;
    grid-area:3 / 1 / 4 / 3 !important;
    min-width:0;
    margin:0;
    padding:11px 0 0;
    border-top:1px solid #dce8d238;
    box-sizing:border-box;
  }
  .showcase .hero-copy .jb-mobile-demo-feature-label {
    margin:0 0 9px;
    color:#d7e6d1;
    font-size:11px;
    font-weight:650;
    letter-spacing:.025em;
    line-height:1.3;
  }
  .showcase .hero-copy .jb-mobile-demo-feature-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    min-width:0;
  }
  .showcase .hero-copy .jb-mobile-demo-feature-grid > .desktop-quick-link {
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:flex-start !important;
    min-height:52px !important;
    min-width:0;
    margin:0 !important;
    padding:9px 8px !important;
    gap:7px !important;
    border:1px solid #ffffff35 !important;
    border-radius:10px !important;
    background:#ffffff13 !important;
    color:#f6f6ed !important;
    box-shadow:none !important;
    transform:none !important;
    transition:background .15s ease, border-color .15s ease !important;
    text-decoration:none !important;
    box-sizing:border-box;
    font-family:inherit;
    text-align:left;
  }
  .showcase .hero-copy .jb-mobile-demo-feature-grid > .desktop-quick-link:hover,
  .showcase .hero-copy .jb-mobile-demo-feature-grid > .desktop-quick-link:active {
    background:#ffffff24 !important;
    border-color:#ffffff78 !important;
  }
  .showcase .hero-copy .jb-mobile-demo-feature-grid > .desktop-quick-link:focus-visible {
    outline:3px solid #e8d9aa !important;
    outline-offset:2px !important;
  }
  .showcase .hero-copy .jb-mobile-demo-feature-grid .desktop-quick-icon {
    display:grid !important;
    place-items:center;
    flex:0 0 27px !important;
    width:27px !important;
    height:27px !important;
    margin:0 !important;
    border-radius:7px !important;
    background:#e8d9aa26 !important;
    color:#e8d9aa !important;
  }
  .showcase .hero-copy .jb-mobile-demo-feature-grid .desktop-quick-icon svg {
    width:18px !important;
    height:18px !important;
  }
  .showcase .hero-copy .jb-mobile-demo-feature-grid > .desktop-quick-link strong {
    display:block !important;
    grid-area:auto !important;
    min-width:0;
    color:#fffdf1 !important;
    font-family:inherit !important;
    font-size:13px !important;
    font-weight:650 !important;
    line-height:1.25 !important;
    overflow-wrap:anywhere;
  }
  .showcase .hero-copy .jb-mobile-demo-feature-grid .desktop-quick-link small,
  .showcase .hero-copy .jb-mobile-demo-feature-grid .desktop-quick-arrow,
  .showcase .hero-copy .jb-mobile-demo-feature-grid .hero-training-art,
  .showcase .hero-copy .jb-mobile-demo-feature-grid .hero-training-brow {
    display:none !important;
  }
  .showcase .hero-copy .jb-mobile-demo-feature-grid > .desktop-quick-link:last-child {
    grid-column:1 / -1;
  }

  /* The full desktop guided tour is untouched, but there is no additional
     tour button or unsolicited onboarding dialog on mobile. */
  .showcase #jbHomeTourLaunch { display:none !important; }

  /* The three saved example hunts remain directly after the season figures. */
  .showcase #demo-dagbok { scroll-margin-top:16px; }
  .showcase #demo-dagbok .card-heading { margin-bottom:10px; }
  .showcase #demo-dagbok .card-intro { margin-bottom:12px; }
}
@media screen and (max-width:350px) {
  .showcase .hero-copy .jb-mobile-demo-feature-grid .desktop-quick-icon {
    flex-basis:24px !important;
    width:24px !important;
    height:24px !important;
  }
  .showcase .hero-copy .jb-mobile-demo-feature-grid > .desktop-quick-link strong { font-size:12px !important; }
}
