/* Keep the photo box definite when mobile uses an aspect ratio instead of a height. */
.card-photo>.photo-button{position:absolute;inset:0;width:100%;height:100%}
.card-photo>.photo-button>img,
.gallery>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.map-item>img{display:block;flex-shrink:0}
/* Estados honestos para publicaciones cuya fotografía todavía debe confirmarse. */
.property-photo-empty,
.map-photo-empty,
.gallery.gallery-empty{
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 min-width:0;
 max-width:100%;
 overflow:hidden;
 background:#e8f0f5;
 color:#526572;
 text-align:center;
 font-weight:600;
 line-height:1.5;
 overflow-wrap:anywhere;
}
.property-photo-empty{
 width:100%;
 height:100%;
 padding:24px;
 gap:8px;
 font-size:16px;
}
.property-photo-empty>span[aria-hidden="true"],
.gallery.gallery-empty>span[aria-hidden="true"]{
 font-size:42px;
 font-weight:400;
 line-height:1;
}
.map-photo-empty{
 width:52px;
 height:45px;
 flex:0 0 52px;
 border-radius:6px;
 padding:3px;
 gap:2px;
 font-size:9px;
 line-height:1.1;
}
.map-photo-empty>span[aria-hidden="true"]{
 font-size:16px;
 font-weight:400;
 line-height:1;
}
.gallery.gallery-empty{
 width:100%;
 padding:24px;
 gap:10px;
 font-size:18px;
}
/* La galería habitual posiciona el contador en sus spans directos. */
.gallery.gallery-empty>span{
 position:static;
 inset:auto;
 max-width:100%;
 padding:0;
 border-radius:0;
 background:transparent;
 color:inherit;
 font-size:inherit;
}
.popup-photo-empty{
 height:120px;
 margin-bottom:10px;
 padding:16px;
 border-radius:8px;
 gap:5px;
 font-size:14px;
}
.popup-photo-empty>span[aria-hidden="true"]{font-size:30px}
@media(max-width:760px){
 .map-photo-empty{
  width:64px;
  height:58px;
  flex-basis:64px;
  border-radius:10px;
  padding:4px;
  gap:3px;
  font-size:10px;
  line-height:1.2;
 }
 .map-photo-empty>span[aria-hidden="true"]{font-size:18px}
 .gallery.gallery-empty{font-size:17px}
}
