/* One centered hero layout for interior portfolio pages.
   The original page styles disagree on flex alignment, width and positioning. */
body.portfolio-inner-page .star-section:not(.nautlins-hero){
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  min-height:390px!important;
  margin:0!important;
  padding:65px 24px!important;
  overflow:hidden!important;
}
body.portfolio-inner-page .star-section:not(.nautlins-hero)>.star-content{
  position:relative!important;
  inset:auto!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  transform:none!important;
  float:none!important;
  clear:both!important;
  flex:0 1 auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  width:100%!important;
  max-width:760px!important;
  min-width:0!important;
  height:auto!important;
  margin:0 auto!important;
  padding:0!important;
  text-align:center!important;
  z-index:2!important;
}
body.portfolio-inner-page .star-section:not(.nautlins-hero)>.star-content>div,
body.portfolio-inner-page .star-section:not(.nautlins-hero)>.star-content>h1,
body.portfolio-inner-page .star-section:not(.nautlins-hero)>.star-content>h2,
body.portfolio-inner-page .star-section:not(.nautlins-hero)>.star-content>p,
body.portfolio-inner-page .star-section:not(.nautlins-hero)>.star-content>.star-actions{
  position:relative!important;
  float:none!important;
  max-width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:center!important;
}
body.portfolio-inner-page .star-section:not(.nautlins-hero)>.star-content>h1{
  width:100%!important;
  font-size:clamp(2.5rem,5vw,4.5rem)!important;
  line-height:1.15!important;
  margin-top:18px!important;
  margin-bottom:16px!important;
}
body.portfolio-inner-page .star-section:not(.nautlins-hero)>.star-content>p{
  max-width:680px!important;
  margin-top:0!important;
  margin-bottom:25px!important;
}
body.portfolio-inner-page .star-section:not(.nautlins-hero)>.star-content>.star-actions{
  display:flex!important;
  justify-content:center!important;
  flex-wrap:wrap!important;
  gap:12px!important;
}
body.portfolio-inner-page .star-section:not(.nautlins-hero)>.star-overlay{pointer-events:none!important}
@media(max-width:700px){
  body.portfolio-inner-page .star-section:not(.nautlins-hero){padding:48px 18px!important;min-height:330px!important}
  body.portfolio-inner-page .star-section:not(.nautlins-hero)>.star-content>h1{font-size:clamp(2rem,9vw,3.2rem)!important}
}
