/* CEMI Core v1.2.190 — Ajuste puntual: teaser en misma zona entre datos y contacto + ocultar Contacto hero en móvil */

@media (min-width:901px){
  /* Forzamos una secuencia clara en la columna derecha. */
  body.cemi-ui-single-property .cemi-single-property .cemi-sticky-panel,
  body.single-cemi_property .cemi-single-property .cemi-sticky-panel,
  body.single-opalestate_property .cemi-single-property .cemi-sticky-panel{
    display:flex!important;
    flex-direction:column!important;
    gap:16px!important;
  }

  body.cemi-ui-single-property .cemi-single-property .cemi-card-services:not(.cemi-card-services-land-left),
  body.single-cemi_property .cemi-single-property .cemi-card-services:not(.cemi-card-services-land-left),
  body.single-opalestate_property .cemi-single-property .cemi-card-services:not(.cemi-card-services-land-left){
    order:10!important;
    margin:0!important;
  }

  body.cemi-ui-single-property .cemi-single-property .cemi-card-property-summary,
  body.single-cemi_property .cemi-single-property .cemi-card-property-summary,
  body.single-opalestate_property .cemi-single-property .cemi-card-property-summary{
    order:20!important;
    margin:0!important;
  }

  body.cemi-ui-single-property .cemi-single-property .cemi-nearby-teaser-189,
  body.single-cemi_property .cemi-single-property .cemi-nearby-teaser-189,
  body.single-opalestate_property .cemi-single-property .cemi-nearby-teaser-189{
    order:30!important;
    margin:0!important;
    padding:16px!important;
    border-radius:24px!important;
    background:linear-gradient(180deg,rgba(18,28,43,.985),rgba(12,20,34,.985))!important;
    border:1px solid rgba(215,38,107,.18)!important;
    box-shadow:0 16px 34px rgba(15,23,42,.16), 0 0 0 1px rgba(215,38,107,.025), 0 0 14px rgba(215,38,107,.045)!important;
    overflow:hidden!important;
  }

  body.cemi-ui-single-property .cemi-single-property .cemi-single-contact-side-wrap,
  body.single-cemi_property .cemi-single-property .cemi-single-contact-side-wrap,
  body.single-opalestate_property .cemi-single-property .cemi-single-contact-side-wrap{
    order:40!important;
    margin:0!important;
  }

  /* Teaser compacto y legible: no debe parecer mini slider roto ni mostrar overlays de m2 encima. */
  .cemi-nearby-teaser-189 .cemi-nearby-teaser-head{
    margin:0 0 12px!important;
  }
  .cemi-nearby-teaser-189 .cemi-nearby-teaser-head span{
    color:rgba(255,255,255,.68)!important;
    font-size:10px!important;
    letter-spacing:.12em!important;
  }
  .cemi-nearby-teaser-189 .cemi-nearby-teaser-head strong{
    font-size:17px!important;
    line-height:1.1!important;
    letter-spacing:-.03em!important;
  }
  .cemi-nearby-teaser-189 .cemi-nearby-teaser-track{
    min-height:92px!important;
    overflow:hidden!important;
  }
  .cemi-nearby-teaser-189 .cemi-nearby-teaser-item{
    grid-template-columns:92px minmax(0,1fr)!important;
    gap:13px!important;
    align-items:center!important;
    min-height:92px!important;
    overflow:hidden!important;
  }
  .cemi-nearby-teaser-189 .cemi-nearby-teaser-img{
    width:92px!important;
    height:92px!important;
    border-radius:15px!important;
    overflow:hidden!important;
    background:rgba(255,255,255,.055)!important;
    border:1px solid rgba(255,255,255,.07)!important;
  }
  .cemi-nearby-teaser-189 .cemi-nearby-teaser-body{
    min-width:0!important;
    padding-right:4px!important;
  }
  .cemi-nearby-teaser-189 .cemi-nearby-teaser-body strong{
    font-size:15px!important;
    line-height:1.1!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }
  .cemi-nearby-teaser-189 .cemi-nearby-teaser-body small{
    font-size:11px!important;
    line-height:1.25!important;
    display:-webkit-box!important;
    -webkit-line-clamp:1!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }
  .cemi-nearby-teaser-189 .cemi-nearby-teaser-body b{
    font-size:15px!important;
    margin-top:7px!important;
    color:#fff!important;
  }
  .cemi-nearby-teaser-189 .cemi-nearby-teaser-area,
  .cemi-nearby-teaser-189 .cemi-area-overlay,
  .cemi-nearby-teaser-189 [class*="area-overlay"],
  .cemi-nearby-teaser-189 [class*="property-area"]{
    display:none!important;
  }
  .cemi-nearby-teaser-189 .cemi-nearby-teaser-link{
    display:none!important;
  }
}

@media (max-width:900px){
  /* En móvil ya existe la barra inferior Agendar/Buscar; el botón Contacto del hero sobra. */
  body.cemi-ui-single-property .cemi-single-property .cemi-single-hero-bottom-actions a[href="#cemi-contacto"],
  body.single-cemi_property .cemi-single-property .cemi-single-hero-bottom-actions a[href="#cemi-contacto"],
  body.single-opalestate_property .cemi-single-property .cemi-single-hero-bottom-actions a[href="#cemi-contacto"]{
    display:none!important;
  }
}
