
/* V179: larger web hero, shorter search, smaller map overlay, compact knowledge dropdowns */

/* Homepage hero should feel bigger on desktop */
@media(min-width:901px){
  body .hero-home{
    min-height:clamp(780px, 86vh, 1040px)!important;
  }
  body .hero-home .hero-inner{
    min-height:clamp(780px, 86vh, 1040px)!important;
  }
  body .hero-home .search-shell{
    width:min(560px, calc(100vw - 120px))!important;
  }
}

/* Preserve mobile comfort */
@media(max-width:900px){
  body .hero-home .search-shell{
    width:min(100%, calc(100vw - 36px))!important;
  }
}

/* Opening map section: more side-to-side image, smaller caption panel */
body .marketplace-primer.missing-model-primer.edu-opportunity-network-intro{
  width:100vw!important;
  max-width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  padding:0 clamp(20px,3.4vw,58px)!important;
}

body .marketplace-primer.missing-model-primer.edu-opportunity-network-intro .home-opening-card{
  width:100%!important;
  max-width:100%!important;
  min-height:clamp(560px, 43vw, 740px)!important;
  border-radius:clamp(26px,3vw,44px)!important;
  padding:clamp(24px,3.5vw,52px)!important;
}

body .home-opening-card .home-opening-overlay-copy{
  width:min(680px, 58vw)!important;
  padding:clamp(18px,2.3vw,32px)!important;
  border-radius:clamp(20px,2.2vw,30px)!important;
}

body .home-opening-card .home-opening-eyebrow{
  font-size:10px!important;
  margin-bottom:10px!important;
}

body .marketplace-primer.missing-model-primer.edu-opportunity-network-intro .home-opening-card h2{
  font-size:clamp(34px,4.1vw,62px)!important;
  line-height:.93!important;
  letter-spacing:-.07em!important;
  max-width:620px!important;
}

body .home-opening-card .home-opening-subline-wrap{
  gap:10px!important;
  margin-top:clamp(14px,1.8vw,20px)!important;
}

body .home-opening-card .home-opening-subline,
body .home-opening-card .home-opening-subline--secondary{
  font-size:clamp(14px,1.02vw,16px)!important;
  line-height:1.48!important;
  max-width:600px!important;
}

body .home-how-works-trigger{
  min-height:46px!important;
  padding:0 18px!important;
  font-size:13.5px!important;
}

/* Demand card knowledge matching becomes a compact dropdown */
.demand-channel-card .front-knowledge-compact{
  margin:10px 0 8px!important;
  padding:0!important;
  border-radius:18px!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,#061633,#0d234e)!important;
  border:1px solid rgba(158,234,255,.30)!important;
  border-left:4px solid #9eeaff!important;
  box-shadow:0 12px 28px rgba(6,22,51,.13)!important;
  color:#fff!important;
}

.demand-channel-card .front-knowledge-compact summary{
  list-style:none!important;
  min-height:54px!important;
  padding:0 14px!important;
  display:grid!important;
  grid-template-columns:1fr auto!important;
  align-items:center!important;
  gap:10px!important;
  cursor:pointer!important;
  user-select:none!important;
}

.demand-channel-card .front-knowledge-compact summary::-webkit-details-marker{
  display:none!important;
}

.demand-channel-card .front-knowledge-compact summary span{
  display:block!important;
  margin:0 0 4px!important;
  color:#c9efff!important;
  text-transform:uppercase!important;
  letter-spacing:.16em!important;
  font-size:9.5px!important;
  line-height:1!important;
  font-weight:950!important;
}

.demand-channel-card .front-knowledge-compact summary b{
  display:block!important;
  color:#fff!important;
  font-size:14px!important;
  line-height:1.05!important;
  font-weight:920!important;
  letter-spacing:-.015em!important;
}

.demand-channel-card .front-knowledge-compact summary em{
  display:grid!important;
  place-items:center!important;
  width:30px!important;
  height:30px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.12)!important;
  color:#fff!important;
  font-style:normal!important;
  font-weight:950!important;
  transition:transform .16s ease!important;
}

.demand-channel-card .front-knowledge-compact[open] summary em{
  transform:rotate(45deg)!important;
}

.demand-channel-card .front-knowledge-expanded{
  padding:0 14px 14px!important;
}

.demand-channel-card .front-knowledge-expanded p{
  margin:0!important;
  color:rgba(255,255,255,.84)!important;
  font-size:12.5px!important;
  line-height:1.36!important;
  font-weight:650!important;
  display:-webkit-box!important;
  -webkit-line-clamp:3!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}

.demand-channel-card .front-knowledge-expanded .front-route-cta{
  margin-top:10px!important;
  color:#fff!important;
  font-size:12px!important;
}

/* Creation block can now breathe better after compacting blue section */
.demand-channel-card .front-creation-path{
  margin-top:10px!important;
}

/* Keep disclaimer tight */
.front-path-disclaimer{
  padding:9px 11px!important;
  font-size:10.8px!important;
  line-height:1.32!important;
}

@media(max-width:760px){
  body .marketplace-primer.missing-model-primer.edu-opportunity-network-intro{
    width:calc(100% - 22px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding:0!important;
  }
  body .marketplace-primer.missing-model-primer.edu-opportunity-network-intro .home-opening-card{
    min-height:auto!important;
  }
  body .home-opening-card .home-opening-overlay-copy{
    width:100%!important;
  }
  body .marketplace-primer.missing-model-primer.edu-opportunity-network-intro .home-opening-card h2{
    font-size:38px!important;
  }
}
