/* MOBI_STAY_PREVIEW_GLOBAL_V1 | Cards de acomodação sem mudança de altura. */
.mobi-stays-grid .mobi-stay-card .mobi-stay-image{
  position:relative;
  display:block;
  box-sizing:border-box;
  width:100%;
  aspect-ratio:4/3;
  overflow:hidden;
}
.mobi-stays-grid .mobi-stay-card .mobi-stay-image > img{
  display:block;
  width:100%;
  height:100%;
  min-height:0;
  max-height:none;
  object-fit:cover;
  object-position:center;
}
.mobi-stays-grid .mobi-stay-card .mobi-stay-image > .mobi-image-placeholder{
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  height:100%;
}
@media(max-width:640px){
  .mobi-stays-grid .mobi-stay-card .mobi-stay-image{
    aspect-ratio:4/3;
  }
}
/* A homepage mantém o enquadramento editorial 3/2 já aprovado. */
body.home #acomodacoes-home .mobi-stays-grid .mobi-stay-card .mobi-stay-image{
  aspect-ratio:3/2;
}

/* MOBI_STAY_EDITORIAL_GRID_V1 — galeria real do post e conteúdo semântico
   compartilhados pelos templates de acomodação estáticos e nativos. */
.mobi-stay-gallery .mobi-stay-gallery-grid.mobi-stay-gallery-editorial{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  grid-auto-rows:clamp(140px,13vw,210px);
  gap:clamp(10px,1.2vw,18px);
  width:min(1336px,calc(100% - 40px));
  max-width:1336px;
  margin-inline:auto;
  align-items:stretch;
}
.mobi-stay-gallery .mobi-stay-gallery-editorial > figure{
  display:block;
  position:relative;
  min-width:0;
  min-height:0;
  width:100%;
  height:100%;
  max-height:none;
  margin:0;
  border-radius:12px;
  overflow:hidden;
  background:#E8E6DF;
}
.mobi-stay-gallery .mobi-stay-gallery-editorial > .mobi-stay-main-photo{
  grid-column:span 2;
  grid-row:span 2;
}
.mobi-stay-gallery .mobi-stay-gallery-editorial > figure > a,
.mobi-stay-gallery .mobi-stay-gallery-editorial > figure img{
  display:block;
  width:100%;
  height:100%;
  min-height:0;
  max-height:none;
}
.mobi-stay-gallery .mobi-stay-gallery-editorial > figure img{
  object-fit:cover;
  object-position:center;
  transition:transform .35s ease;
}
@media(hover:hover) and (pointer:fine){
  .mobi-stay-gallery .mobi-stay-gallery-editorial > figure a:hover img{
    transform:scale(1.035);
  }
}
.mobi-stay-gallery .mobi-stay-gallery-editorial > figure a:focus-visible{
  outline:3px solid #ABC042;
  outline-offset:-4px;
}
.mobi-static-stay-details .mobi-stay-facts-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(12px,1.4vw,18px);
  margin:clamp(18px,2vw,30px) 0;
}
.mobi-static-stay-details .mobi-stay-facts-grid .mobi-stay-fact-card{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  min-width:0;
  min-height:128px;
  padding:clamp(18px,2vw,25px);
  margin:0;
  border:1px solid #E0D8C8;
  border-radius:12px;
  background:#F8F4EC;
  color:#183A34;
  box-sizing:border-box;
}
.mobi-static-stay-details .mobi-stay-fact-card .mobi-stay-fact-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:10px;
  margin-bottom:14px;
  background:#E9E5D7;
  color:#8C6C37;
}
.mobi-static-stay-details .mobi-stay-fact-card h3{
  margin:0;
  font-size:clamp(15px,1.2vw,18px);
  line-height:1.4;
  font-weight:650;
}
.mobi-stay-editorial-content{
  margin-block:clamp(24px,3vw,38px);
  padding:clamp(20px,3vw,35px);
  border-left:3px solid #C9AC78;
  border-radius:0 12px 12px 0;
  background:#F8F4EC;
  overflow-wrap:anywhere;
  color:#183A34;
}
.mobi-stay-editorial-content :is(h2,h3,h4){
  max-width:100%;
  margin:1.3em 0 .55em;
  color:#183A34;
  line-height:1.25;
  text-wrap:balance;
}
.mobi-stay-editorial-content :is(h2,h3,h4):first-child{margin-top:0}
.mobi-stay-editorial-content p{line-height:1.8;margin:0 0 1em}
.mobi-stay-editorial-content :is(ul,ol){
  display:grid;
  gap:10px;
  margin:0 0 1.3em;
  padding-left:22px;
}
.mobi-stay-editorial-content li{line-height:1.55}
.mobi-stay-editorial-content img{max-width:100%;height:auto}
.mobi-stay-editorial-content a{color:#174F46;text-decoration:underline;text-underline-offset:3px}
.mobi-stay-editorial-content a:focus-visible{outline:3px solid #ABC042;outline-offset:3px}
.mobi-stay-verified-features{margin-block:22px}
.mobi-stay-verified-features h3{margin:0 0 12px;color:#183A34}
.mobi-static-stay-details .mobi-stay-content-note{
  font-size:13px;
  color:#52655E;
  line-height:1.65;
}
@media(max-width:940px){
  .mobi-stay-gallery .mobi-stay-gallery-grid.mobi-stay-gallery-editorial{
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-auto-rows:clamp(150px,23vw,240px);
  }
  .mobi-stay-gallery .mobi-stay-gallery-editorial > .mobi-stay-main-photo{
    grid-column:span 2;
    grid-row:span 2;
  }
}
@media(max-width:600px){
  .mobi-stay-gallery .mobi-stay-gallery-grid.mobi-stay-gallery-editorial{
    width:calc(100% - 32px);
    grid-template-columns:minmax(0,1fr);
    grid-auto-rows:auto;
    gap:12px;
  }
  .mobi-stay-gallery .mobi-stay-gallery-editorial > figure{
    aspect-ratio:16/11;
    height:auto;
    min-height:0;
  }
  .mobi-stay-gallery .mobi-stay-gallery-editorial > .mobi-stay-main-photo{
    grid-column:span 1;
    grid-row:span 1;
    aspect-ratio:4/3;
  }
  .mobi-static-stay-details .mobi-stay-facts-grid{
    grid-template-columns:minmax(0,1fr);
  }
  .mobi-static-stay-details .mobi-stay-facts-grid .mobi-stay-fact-card{
    min-height:0;
    flex-direction:row;
    align-items:center;
    justify-content:flex-start;
    gap:13px;
    padding:16px;
  }
  .mobi-static-stay-details .mobi-stay-fact-card .mobi-stay-fact-icon{
    margin:0;flex:0 0 38px;
  }
  .mobi-stay-editorial-content{padding:20px 18px}
}
@media(prefers-reduced-motion:reduce){
  .mobi-stay-gallery .mobi-stay-gallery-editorial > figure img{
    transition:none !important;
    transform:none !important;
  }
}
