/* v0.5.8 — mobile full-width categories, rounded title outline and bounded hero art */
.marketplace-hero .hero-copy h2 > span {
  display: inline;
}

@media (max-width: 760px) {
  html,
  body {
    background-color: #f7ead4 !important;
    background-image: none !important;
    background-attachment: scroll !important;
  }

  #homeView {
    background: #f7ead4 !important;
  }

  .marketplace-hero {
    width: 100% !important;
    padding-top: 28px !important;
    background: url("/assets/ims-market-background.png") center top / cover no-repeat !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .marketplace-hero .hero-copy h2 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    color: #38261b !important;
    font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif !important;
    font-size: clamp(29px, 8.2vw, 36px) !important;
    font-weight: 900 !important;
    line-height: 1.28 !important;
    letter-spacing: .015em !important;
    text-align: center !important;
    white-space: normal !important;
    -webkit-text-stroke: 3px #fff !important;
    paint-order: stroke fill !important;
    text-shadow: 0 3px 0 rgba(78, 44, 24, .68), 0 6px 12px rgba(62, 37, 20, .22) !important;
  }

  .marketplace-hero .hero-copy h2 > span {
    display: block !important;
    white-space: nowrap !important;
  }

  .category-grid {
    position: relative !important;
    left: 50% !important;
    width: 100vw !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    transform: translateX(-50%) !important;
    border-top: 3px solid #cf9c58 !important;
    border-bottom: 1px solid #e2bc85 !important;
    border-left: 2px solid #cf9c58 !important;
    border-right: 2px solid #cf9c58 !important;
    border-radius: 18px 18px 0 0 !important;
    background: #fff8eb !important;
  }

  .home-operations {
    background: linear-gradient(180deg, #fffaf1, #faeed9) !important;
  }
}

@media (max-width: 360px) {
  .marketplace-hero .hero-copy h2 {
    font-size: 28px !important;
    -webkit-text-stroke-width: 2.5px !important;
  }

  .category-grid {
    padding-left: 7px !important;
    padding-right: 7px !important;
  }
}
