/* Profile-only 2026 homepage typography, navbar and Uiverse like sizing.
   Load the original homepage CSS chunk before this file to reuse the actual header design.
   No changes to site-wide typography, controls or public directory. */
main.professional-profile-page.cg-profile-redesign{
  --font-spline:"Geist","Geist Fallback",system-ui,sans-serif!important;
  --type-font-family:"Geist","Geist Fallback",system-ui,sans-serif!important;
  font-family:"Geist","Geist Fallback",system-ui,sans-serif!important;
}
main.professional-profile-page.cg-profile-redesign :is(h1,h2,h3,h4,h5,h6,p,span,strong,small,label,a,button,input,textarea,select){
  font-family:"Geist","Geist Fallback",system-ui,sans-serif!important;
}
main.professional-profile-page.cg-profile-redesign .cg-profile-heading h1{
  font-family:"Geist","Geist Fallback",system-ui,sans-serif!important;
}
main.professional-profile-page.cg-profile-redesign button.cg-profile-star.cg-uiverse-star-enabled{
  width:66px!important;min-width:66px!important;max-width:66px!important;
  height:42px!important;min-height:42px!important;max-height:42px!important;
  padding:0 8px!important;gap:4px!important;
  align-items:center!important;justify-content:center!important;
  border-radius:999px!important;
  white-space:nowrap!important;
}
main.professional-profile-page.cg-profile-redesign button.cg-profile-star.cg-uiverse-star-enabled>.cg-uiverse-original-star{
  position:relative!important;display:block!important;flex:0 0 24px!important;
  width:24px!important;height:24px!important;margin:0!important;align-self:center!important;
}
main.professional-profile-page.cg-profile-redesign button.cg-profile-star.cg-uiverse-star-enabled>.cg-profile-star-count{
  display:block!important;flex:0 0 auto!important;min-width:0!important;
  padding:0!important;margin:0!important;line-height:1!important;
  font-size:13px!important;font-weight:600!important;font-variant-numeric:tabular-nums!important;
}
/* The actual home navbar is mounted outside the old React profile root.
   No React nodes are refactored or overwritten. */
.cg-profile-home-nav{display:none}
@media(max-width:800px){
  main.professional-profile-page.cg-profile-redesign .public-header{
    visibility:hidden!important;pointer-events:none!important;
  }
  main.professional-profile-page.cg-profile-redesign > .public-menu-overlay,
  main.professional-profile-page.cg-profile-redesign > .public-menu-drawer{
    display:none!important;pointer-events:none!important;
  }
  .cg-profile-home-nav.public-directory-page{
    display:block!important;position:relative!important;
    z-index:160!important;width:100%!important;height:0!important;min-height:0!important;
    padding:0!important;margin:0!important;overflow:visible!important;
    background:transparent!important;
  }
  .cg-profile-home-nav .public-navbar-shell{height:0!important;min-height:0!important}
  .cg-profile-home-nav .public-header.public-header-resizable{
    position:fixed!important;top:0!important;left:50%!important;
    display:flex!important;visibility:visible!important;pointer-events:auto!important;
    height:72px!important;min-height:72px!important;
    transform:translateX(-50%)!important;
    background:#fffffffa!important;border-bottom:1px solid #e9ece6!important;
  }
  .cg-profile-home-nav .public-header-resizable .public-menu-trigger{
    display:grid!important;visibility:visible!important;pointer-events:auto!important;
  }
  .cg-profile-home-nav .public-header-resizable.is-compact{height:58px!important;min-height:58px!important;top:10px!important}
  .cg-profile-home-nav .public-menu-overlay{z-index:190!important}
  .cg-profile-home-nav .public-menu-drawer{z-index:200!important}
}
@media(min-width:801px){
  .cg-profile-home-nav{display:none!important}
}
