/* CEMI Core v1.2.101 — Hero specs responsive
   - Terreno/construcción muestran número + m² pequeño como referencia.
   - Características secundarias se mantienen en una sola línea hasta 4 recuadros. */

body.cemi-ui-single-property .cemi-single-hero-specs-primary span.cemi-hero-area-spec strong,
body.single-cemi_property .cemi-single-hero-specs-primary span.cemi-hero-area-spec strong,
body.single-opalestate_property .cemi-single-hero-specs-primary span.cemi-hero-area-spec strong{
  display:inline-flex!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:3px!important;
  line-height:.92!important;
}

body.cemi-ui-single-property .cemi-single-hero-specs-primary span.cemi-hero-area-spec strong sup,
body.single-cemi_property .cemi-single-hero-specs-primary span.cemi-hero-area-spec strong sup,
body.single-opalestate_property .cemi-single-hero-specs-primary span.cemi-hero-area-spec strong sup{
  font-size:.36em!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
  margin-top:.12em!important;
  opacity:.95!important;
  text-transform:none!important;
}

body.cemi-ui-single-property .cemi-single-hero-specs-secondary,
body.single-cemi_property .cemi-single-hero-specs-secondary,
body.single-opalestate_property .cemi-single-hero-specs-secondary{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  width:min(760px,100%)!important;
  max-width:760px!important;
  justify-content:center!important;
  align-items:stretch!important;
}

body.cemi-ui-single-property .cemi-single-hero-specs-secondary span,
body.single-cemi_property .cemi-single-hero-specs-secondary span,
body.single-opalestate_property .cemi-single-hero-specs-secondary span{
  min-width:0!important;
  max-width:none!important;
  width:100%!important;
  flex:none!important;
  min-height:58px!important;
  padding:10px 8px!important;
  box-sizing:border-box!important;
}

body.cemi-ui-single-property .cemi-single-hero-specs-secondary strong,
body.single-cemi_property .cemi-single-hero-specs-secondary strong,
body.single-opalestate_property .cemi-single-hero-specs-secondary strong{
  line-height:1!important;
}

body.cemi-ui-single-property .cemi-single-hero-specs-secondary small,
body.single-cemi_property .cemi-single-hero-specs-secondary small,
body.single-opalestate_property .cemi-single-hero-specs-secondary small{
  white-space:nowrap!important;
  line-height:1.05!important;
  font-size:clamp(8px,.78vw,10px)!important;
}

@media (max-width:720px){
  body.cemi-ui-single-property .cemi-single-hero-specs-primary,
  body.single-cemi_property .cemi-single-hero-specs-primary,
  body.single-opalestate_property .cemi-single-hero-specs-primary{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }

  body.cemi-ui-single-property .cemi-single-hero-specs-primary span,
  body.single-cemi_property .cemi-single-hero-specs-primary span,
  body.single-opalestate_property .cemi-single-hero-specs-primary span{
    min-height:58px!important;
    padding:9px 8px!important;
  }

  body.cemi-ui-single-property .cemi-single-hero-specs-primary strong,
  body.single-cemi_property .cemi-single-hero-specs-primary strong,
  body.single-opalestate_property .cemi-single-hero-specs-primary strong{
    font-size:clamp(24px,8vw,34px)!important;
  }

  body.cemi-ui-single-property .cemi-single-hero-specs-secondary,
  body.single-cemi_property .cemi-single-hero-specs-secondary,
  body.single-opalestate_property .cemi-single-hero-specs-secondary{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;
    width:100%!important;
    max-width:none!important;
  }

  body.cemi-ui-single-property .cemi-single-hero-specs-secondary span,
  body.single-cemi_property .cemi-single-hero-specs-secondary span,
  body.single-opalestate_property .cemi-single-hero-specs-secondary span{
    min-height:48px!important;
    padding:8px 4px!important;
    border-radius:12px!important;
  }

  body.cemi-ui-single-property .cemi-single-hero-specs-secondary strong,
  body.single-cemi_property .cemi-single-hero-specs-secondary strong,
  body.single-opalestate_property .cemi-single-hero-specs-secondary strong{
    font-size:clamp(16px,5.6vw,22px)!important;
  }

  body.cemi-ui-single-property .cemi-single-hero-specs-secondary small,
  body.single-cemi_property .cemi-single-hero-specs-secondary small,
  body.single-opalestate_property .cemi-single-hero-specs-secondary small{
    font-size:clamp(6.7px,2.1vw,8.6px)!important;
    letter-spacing:-.02em!important;
  }
}

@media (max-width:360px){
  body.cemi-ui-single-property .cemi-single-hero-specs-secondary,
  body.single-cemi_property .cemi-single-hero-specs-secondary,
  body.single-opalestate_property .cemi-single-hero-specs-secondary{
    gap:5px!important;
  }

  body.cemi-ui-single-property .cemi-single-hero-specs-secondary span,
  body.single-cemi_property .cemi-single-hero-specs-secondary span,
  body.single-opalestate_property .cemi-single-hero-specs-secondary span{
    padding-inline:3px!important;
  }
}
