/* V181: cleaner demand-card front, moved disclosure memo, smaller map overlay */

/* Equal-size front CTAs: same width, height, rhythm, and visual weight */
.demand-channel-card .front-card-action-row{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  align-items:stretch!important;
  margin:clamp(12px,1.3vw,16px) 0 12px!important;
}
.demand-channel-card .front-card-action-row > .front-simple-action{
  width:100%!important;
  min-width:0!important;
  height:72px!important;
  min-height:72px!important;
  margin:0!important;
  box-sizing:border-box!important;
  border-left-width:1px!important;
  border-left-style:solid!important;
  border-radius:20px!important;
}
.demand-channel-card .front-simple-action span{
  font-size:clamp(13.5px,.92vw,15.5px)!important;
  line-height:1.05!important;
  letter-spacing:-.02em!important;
}
.demand-channel-card .front-simple-action em{
  font-size:11.5px!important;
  line-height:1.12!important;
}

/* Legal/disclosure memo is no longer shown on every card face */
.demand-channel-card .front-path-disclaimer{
  display:none!important;
}

/* Cleaner chip rail now that the card face is less crowded */
.demand-channel-card .front-chip-bottom{
  margin-top:auto!important;
  padding-top:8px!important;
}
.demand-channel-card .front-chip-bottom .demand-tag-chip{
  min-height:36px!important;
  padding:0 12px!important;
}

/* Smaller homepage overlay so the national map is more visible */
body .marketplace-primer.missing-model-primer.edu-opportunity-network-intro .home-opening-card{
  min-height:clamp(560px,50vw,760px)!important;
  padding:clamp(24px,3.4vw,54px)!important;
  align-items:flex-end!important;
  background-image:
    linear-gradient(90deg, rgba(4,15,35,.72) 0%, rgba(4,15,35,.46) 32%, rgba(4,15,35,.14) 62%, rgba(4,15,35,.02) 100%),
    linear-gradient(180deg, rgba(4,15,35,.05) 0%, rgba(4,15,35,.18) 100%),
    url('/assets/images/spinout-u-network-map-bg.webp')!important;
}
body .home-opening-card .home-opening-overlay-copy{
  width:min(700px,46vw)!important;
  max-width:700px!important;
  padding:clamp(20px,2.35vw,32px)!important;
  border-radius:clamp(22px,2.2vw,30px)!important;
  background:rgba(255,255,255,.90)!important;
  box-shadow:0 22px 60px rgba(6,22,51,.19)!important;
}
body .home-opening-card .home-opening-eyebrow{
  margin-bottom:10px!important;
  font-size:10.5px!important;
  letter-spacing:.16em!important;
}
body .marketplace-primer.missing-model-primer.edu-opportunity-network-intro .home-opening-card h2{
  max-width:620px!important;
  font-size:clamp(34px,4.05vw,60px)!important;
  line-height:.94!important;
  letter-spacing:-.066em!important;
}
body .home-opening-card .home-opening-subline-wrap{
  max-width:620px!important;
  gap:10px!important;
  margin:clamp(14px,1.6vw,18px) 0 0!important;
}
body .home-opening-card .home-opening-subline,
body .home-opening-card .home-opening-subline--secondary{
  max-width:620px!important;
  font-size:clamp(14px,1.02vw,16.5px)!important;
  line-height:1.46!important;
  font-weight:610!important;
}
body .home-opening-primary-actions{
  margin-top:clamp(16px,1.9vw,22px)!important;
}
body .home-how-works-trigger{
  min-height:48px!important;
  padding:0 20px!important;
  font-size:14px!important;
}

/* Disclosure memo moved into How It Works */
.how-works-disclosure{
  display:grid!important;
  gap:7px!important;
  max-width:980px!important;
  margin:16px 0 0!important;
  padding:14px 16px!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#f8fbff,#ffffff)!important;
  border:1px solid rgba(205,219,237,.92)!important;
  box-shadow:0 12px 30px rgba(8,24,52,.055)!important;
}
.how-works-disclosure b{
  display:block!important;
  margin:0!important;
  color:#0d6a58!important;
  text-transform:uppercase!important;
  letter-spacing:.15em!important;
  font-size:10.5px!important;
  line-height:1!important;
  font-weight:950!important;
}
.how-works-disclosure p{
  margin:0!important;
  color:#586980!important;
  font-size:13px!important;
  line-height:1.42!important;
  font-weight:650!important;
}

@media(max-width:900px){
  body .home-opening-card .home-opening-overlay-copy{
    width:min(640px,78vw)!important;
  }
}
@media(max-width:760px){
  .demand-channel-card .front-card-action-row{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .demand-channel-card .front-card-action-row > .front-simple-action{
    height:62px!important;
    min-height:62px!important;
    padding:10px 11px!important;
    border-radius:17px!important;
  }
  .demand-channel-card .front-simple-action span{
    font-size:12px!important;
  }
  .demand-channel-card .front-simple-action em{
    font-size:10.25px!important;
  }
  body .marketplace-primer.missing-model-primer.edu-opportunity-network-intro .home-opening-card{
    min-height:560px!important;
    padding:14px!important;
    background-position:center top!important;
  }
  body .home-opening-card .home-opening-overlay-copy{
    width:100%!important;
    max-width:none!important;
    padding:16px!important;
    border-radius:22px!important;
  }
  body .marketplace-primer.missing-model-primer.edu-opportunity-network-intro .home-opening-card h2{
    font-size:36px!important;
    line-height:.96!important;
  }
  body .home-opening-card .home-opening-subline,
  body .home-opening-card .home-opening-subline--secondary{
    font-size:13.5px!important;
    line-height:1.42!important;
  }
  .how-works-disclosure{
    padding:12px!important;
    border-radius:16px!important;
  }
}
