/* V74 · Mobile marketplace refinement (desktop listing details preserved) */
/* Remove the header tagline across every breakpoint; footer tagline is deliberately retained. */
.site-header .nav-brand-tagline{display:none!important}

@media (max-width:650px){
  :root{--v74-nav-h:62px;--v74-rail-h:62px}
  /* Put the brand and hamburger in the top row, and the independently scrollable
     university rail in the full-bleed row beneath. Both remain sticky together. */
  .site-header,
  body.is-home .site-header,
  body.is-home:not(.has-scrolled) .site-header{
    position:sticky!important;top:0!important;left:auto;right:auto;
    background:#fff!important;color:#0A2348!important;box-shadow:0 1px 0 #e5e8ed!important;
    width:100%;isolation:isolate;
  }
  .site-header .header-inner{display:grid!important;grid-template-columns:minmax(0,1fr) 44px;
    grid-template-rows:var(--v74-nav-h) var(--v74-rail-h);align-items:center;
    gap:0;min-height:0;padding:0;margin:0;max-width:none}
  .site-header .header-inner>.brand.brand-collegiate,
  .site-header .header-inner>.brand{
    grid-area:1/1/2/2;flex-basis:auto!important;width:min(197px,52vw)!important;
    min-width:0;max-width:100%;margin-left:17px;padding:0;align-self:center;
    justify-self:start;min-height:0;height:auto;
  }
  .site-header .brand-collegiate .collegiate-navy,
  body.is-home:not(.has-scrolled) .site-header .brand-collegiate .collegiate-navy{
    display:block!important;opacity:1!important;visibility:visible!important;
  }
  .site-header .brand-collegiate .collegiate-light,
  body.is-home:not(.has-scrolled) .site-header .brand-collegiate .collegiate-light{display:none!important;opacity:0!important}
  .site-header .menu-wrap{grid-area:1/2/2/3;justify-self:end;align-self:center;
    margin-right:8px;flex-basis:auto!important;z-index:120}
  .site-header .cat-menu-button{width:40px;height:44px;color:#0A2348!important}
  body.is-home:not(.has-scrolled) .site-header .cat-menu-button{color:#0A2348!important}
  .site-header .campus-nav-rail,
  body.is-home:not(.has-scrolled) .site-header .campus-nav-rail,
  body.is-home.has-scrolled .site-header .campus-nav-rail{
    grid-area:2/1/3/3;display:block!important;position:relative;
    min-width:0;width:100%;height:var(--v74-rail-h);max-width:100%;
    background:#fff!important;border:0;border-top:1px solid #edf0f3;
    visibility:visible!important;opacity:1!important;transform:none!important;pointer-events:auto!important;
    overflow:hidden;z-index:1;
  }
  .site-header .campus-nav-inner{display:flex;align-items:center;width:100%;min-height:0;height:100%;
    max-width:none;padding:0 6px;gap:1px}
  .site-header .campus-nav-track{flex:1;min-width:0;width:100%;height:100%;
    display:flex;align-items:center;gap:7px;overflow-x:auto;overflow-y:hidden;
    scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;padding:2px 0;scrollbar-width:none}
  .site-header .campus-nav-item{flex:0 0 70px;width:70px;min-height:56px;
    display:flex;align-items:center;justify-content:center;padding:3px 1px;scroll-snap-align:start}
  .site-header .campus-nav-item .school-badge{display:block;flex:0 0 52px;width:52px;
    max-width:52px;height:49px;object-fit:contain}
  .site-header .campus-nav-arrow{flex:0 0 24px;width:24px;height:43px;
    display:grid!important;place-items:center;background:transparent;color:#596372;
    opacity:1!important;font-size:25px;border-radius:5px}
  .site-header .campus-nav-arrow:active{background:#eef1f5}
  .site-header .menu-dropdown{position:fixed;top:calc(var(--v74-nav-h) + var(--v74-rail-h) + 8px);
    right:10px;left:auto;width:calc(100vw - 20px);max-width:420px;
    max-height:calc(100dvh - var(--v74-nav-h) - var(--v74-rail-h) - 20px);z-index:125}
  /* The full-bleed campus hero now begins directly below the two-row header. */
  .market-hero-v70{height:calc(100svh - var(--v74-nav-h) - var(--v74-rail-h));
    min-height:min(590px,calc(100svh - var(--v74-nav-h) - var(--v74-rail-h)));}
  .hero-full-content{padding-top:26px}
  /* Home section: one coherent column without floating CTA or oversized type. */
  .market-home{padding:29px 14px 0!important}
  .market-featured{margin:0!important}
  .market-featured>.section-header{display:block!important;margin:0 0 22px!important;
    padding:0!important;max-width:none;gap:0}
  .market-featured>.section-header>div{display:block;width:100%;min-width:0}
  .market-featured>.section-header .kicker{font-size:9px!important;letter-spacing:.10em;
    line-height:1.5;max-width:100%;white-space:normal;margin-bottom:11px}
  .market-featured>.section-header h2{font-size:clamp(29px,8vw,37px)!important;
    line-height:1.10!important;letter-spacing:-.035em!important;
    margin:0 0 12px!important;max-width:100%;text-wrap:pretty;color:#0A2348}
  .market-featured>.section-header p{font-size:13px!important;line-height:1.55!important;
    max-width:38rem;margin:0!important;color:#606a76}
  .market-featured>.section-header .section-link{display:inline-block;font-size:12px;
    font-weight:750;color:#0A2348;margin-top:14px;white-space:normal}
  /* Image-first Etsy-style opportunity cards; full commercial strategy lives on the detail page. */
  .opportunities-grid,.market-featured .opportunities-grid{display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:17px 12px!important;align-items:start}
  .unified-card.product-card{min-width:0!important;display:block!important;border:0!important;
    border-radius:0!important;box-shadow:none!important;background:transparent!important;overflow:visible}
  .unified-card.product-card:hover{box-shadow:none!important;border:0!important}
  .product-card .listing-open{display:block;height:auto;min-width:0}
  .product-card .listing-media,.unified-card .listing-media{position:relative;aspect-ratio:1 / 1!important;
    width:100%;overflow:hidden;border-radius:12px!important;background:#f1f3f5}
  .product-card .listing-media>img.card-picture{width:100%;height:100%;object-fit:cover}
  .product-card .product-status,.product-card .card-campus-mark{display:none!important}
  .product-card .fav-card{position:absolute;z-index:2;right:7px;top:7px;
    width:35px;height:35px;min-width:35px;min-height:35px;padding:0;
    font-size:23px;line-height:1;border-radius:50%;background:#fff;box-shadow:0 1px 6px #0002}
  .product-card .listing-body,.unified-card.product-card .listing-body{display:block;
    padding:7px 1px 0!important;min-height:0!important;height:auto!important}
  .product-card .product-origin,.product-card .card-summary,.product-card .product-buyer,
  .product-card .product-foot,.product-card .review-pending-note{display:none!important}
  .product-card .listing-title,.unified-card.product-card .listing-title{font-family:var(--sans);
    font-size:13px!important;font-weight:650!important;letter-spacing:-.012em;
    line-height:1.35!important;min-height:0!important;margin:0!important;color:#1e2733;
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
    line-clamp:2;overflow:hidden}
  /* Use visible focus outlines, including image links and the heart control. */
  .product-card .listing-open:focus-visible{outline:3px solid #C4A05A;outline-offset:2px;border-radius:12px}
  #opportunities{scroll-margin-top:calc(var(--v74-nav-h) + var(--v74-rail-h) + 12px)}
}
@media(max-width:365px){
  .site-header .header-inner>.brand.brand-collegiate{width:min(173px,50vw)!important;margin-left:11px}
  .site-header .campus-nav-item{flex-basis:63px;width:63px}
  .site-header .campus-nav-item .school-badge{width:48px;max-width:48px;height:45px;flex-basis:48px}
  .market-featured>.section-header h2{font-size:29px!important}
  .product-card .listing-title{font-size:12.5px!important}
}
@media(min-width:651px){
  /* Keep the desktop rail, card detail and full-screen hero unchanged. */
  .site-header .nav-brand-tagline{display:none!important}
}
