/* Consultation form on a blog post's banner photo (posts with the full-width .navListing banner under the title bar).
   The card is the nav pages' t26 hero form: base styles in ics-t26-aside.css, behaviour in js/ics-2026.js.
   Applied by .claude/tools/t26/blog-hero-form.js, which adds .bh-banner to the .navListing (with optional inline
   --bh-pos / --bh-posy crop anchors for that photo), the card in .t26.bh-form, and the script tag.
   Regenerate with that script; bump ?v= on the pages after editing this file.
   >=1200px: the card sits on the right of the photo. Every banner is the same height, the card plus 18px above
   and below (541px on step 1), and the photo fills it (object-fit:cover), so tall photos lose top/bottom and
   wide ones lose the sides.
   <1200px: the card stacks under the photo. */
#hero-form-wrap{scroll-margin-top:160px}
.t26.bh-form{max-width:560px;margin:2px auto 14px}
/* stacked on tablets: the 480px phone photo fills the column instead of hanging left above the centred card */
@media (max-width:768px){.bh-banner img.contentHead{width:100%;height:auto}}
/* inner.css .rightMainsection p{font-weight:300} would thin the card's small print */
.t26.bh-form .fc-sub,.t26.bh-form .fc-note,.t26.bh-form .fc-foot{font-weight:400}
/* compact card, same as the nav pages' desktop hero form */
@media (min-width:981px){
  .t26.bh-form{max-width:440px}
  .t26.bh-form .lf{padding:18px 20px 12px}
  .t26.bh-form .fc-title{font-size:19px;margin:0 0 3px}
  .t26.bh-form .fc-sub{font-size:13px;margin:0 0 10px;line-height:1.4}
  .t26.bh-form .fc-steps{margin:0 0 10px;gap:5px}
  .t26.bh-form .fc-steps li{font-size:11.5px;padding-top:5px;border-top-width:3px}
  .t26.bh-form .fc-step legend{font-size:14px;margin:0 0 8px}
  .t26.bh-form .xchips{grid-template-columns:1fr 1fr;gap:6px;margin:0 0 10px}
  .t26.bh-form .xchip span{min-height:34px;padding:4px 10px;font-size:13px;white-space:nowrap}
  /* step 1: Full name and Phone side by side (chips and the Continue button span both columns) */
  .t26.bh-form .fc-step[data-step="1"]:not([hidden]){display:grid;grid-template-columns:1fr 1fr;column-gap:10px}
  .t26.bh-form .fc-step[data-step="1"] .xchips,.t26.bh-form .fc-step[data-step="1"] [data-next]{grid-column:1/-1}
  .t26.bh-form .fld{margin:0 0 8px}
  .t26.bh-form .fld label{font-size:13px;margin:0 0 3px}
  .t26.bh-form .fld input,.t26.bh-form .fld select{height:38px;font-size:15px}
  .t26.bh-form .fld textarea{min-height:64px;font-size:15px}
  .t26.bh-form .fc-note{font-size:11.5px;margin:-2px 0 8px}
  .t26.bh-form .fc-or{padding:9px 20px;font-size:13.5px}
  .t26.bh-form .fc-or a{font-size:17px}
}
@media (min-width:1200px){
  /* right inset grows with the screen: 24px at 1200px up to 120px at 1920px and wider */
  .bh-banner{position:relative;display:flex;justify-content:flex-end;align-items:flex-start;padding:18px clamp(24px,calc(13.33vw - 136px),120px) 18px 24px;box-sizing:border-box}
  .bh-banner img.contentHead{position:absolute;inset:0;width:100%;height:100%;max-width:none;padding:0;object-fit:cover;object-position:var(--bh-pos,50%) var(--bh-posy,50%)}
  .t26.bh-form{position:relative;flex:0 0 440px;width:440px;max-width:none;margin:0}
}
