/* CEMI Core v1.2.103 — Hero desktop/tablet alignment
   - Terreno/construcción quedan como bloque debajo de la dirección.
   - Botones Fotos/Mapa/Contacto suben y quedan integrados al hero. */

@media (min-width:721px){
  body.cemi-ui-single-property .cemi-single-hero-copy,
  body.single-cemi_property .cemi-single-hero-copy,
  body.single-opalestate_property .cemi-single-hero-copy{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
  }

  body.cemi-ui-single-property .cemi-single-hero-specs-wrap,
  body.single-cemi_property .cemi-single-hero-specs-wrap,
  body.single-opalestate_property .cemi-single-hero-specs-wrap{
    width:min(760px,100%)!important;
    max-width:760px!important;
    margin-top:16px!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    align-self:flex-start!important;
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
  }

  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{
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(88px,118px))!important;
    gap:14px!important;
    justify-content:flex-start!important;
    justify-items:stretch!important;
    align-self:flex-start!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{
    width:100%!important;
    min-width:88px!important;
    min-height:70px!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{
    margin:0!important;
    align-self:flex-start!important;
    justify-content:flex-start!important;
    justify-items:stretch!important;
  }

  body.cemi-ui-single-property .cemi-single-hero-bottom-actions,
  body.single-cemi_property .cemi-single-hero-bottom-actions,
  body.single-opalestate_property .cemi-single-hero-bottom-actions{
    margin-top:clamp(2px,1.2vw,14px)!important;
    transform:translateY(-10px)!important;
  }
}

@media (min-width:721px) and (max-width:1180px){
  body.cemi-ui-single-property .cemi-single-hero-specs-wrap,
  body.single-cemi_property .cemi-single-hero-specs-wrap,
  body.single-opalestate_property .cemi-single-hero-specs-wrap{
    width:100%!important;
  }

  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(84px,112px))!important;
    gap:10px!important;
  }

  body.cemi-ui-single-property .cemi-single-hero-bottom-actions,
  body.single-cemi_property .cemi-single-hero-bottom-actions,
  body.single-opalestate_property .cemi-single-hero-bottom-actions{
    margin-top:4px!important;
    transform:translateY(-8px)!important;
  }
}

@media (max-width:720px){
  body.cemi-ui-single-property .cemi-single-hero-bottom-actions,
  body.single-cemi_property .cemi-single-hero-bottom-actions,
  body.single-opalestate_property .cemi-single-hero-bottom-actions{
    margin-top:8px!important;
    transform:translateY(-4px)!important;
  }
}
