/*
 * El Atlas HD — estilos de imagen adaptables.
 * Se emplean originales documentales sin deformarlos.
 * Los recortes se adaptan a la forma de la pantalla y mantienen la proporción.
 */
.atlas-masthead__photo{
  background-image:
    linear-gradient(90deg,rgba(3,12,20,.25),rgba(2,12,22,.2) 46%,rgba(4,15,24,.72)),
    url('/assets/backgrounds/cortijo-desktop-hd.webp')!important;
  background-position:center,center 42%!important;
  background-size:cover,cover!important;
  background-repeat:no-repeat!important;
  filter:none!important;
  transform:none!important;
}
.atlas-home-hero__sky{
  background-image:
    linear-gradient(90deg,rgba(2,12,20,.92),rgba(5,20,30,.77) 40%,rgba(8,28,44,.24) 85%),
    linear-gradient(0deg,rgba(3,15,24,.65),transparent 60%),
    url('/assets/backgrounds/cortijo-desktop-hd.webp')!important;
  background-position:center,center,center 45%!important;
  background-size:cover,cover,cover!important;
  background-repeat:no-repeat!important;
  filter:none!important;
  transform:none!important;
}
.atlas-masthead__identity img,.brand img{
  image-rendering:auto;
  filter:drop-shadow(0px 3px 5px rgba(0,0,0,.65));
}
#inicio .homeTile{
  background-size:cover!important;
  background-position:center!important;
  filter:none!important;
  image-rendering:auto;
}
#inicio .homeTile:nth-child(1){--tile-photo:url('https://commons.wikimedia.org/wiki/Special:FilePath/Caudilla_(22398594412)_(cropped).jpg?width=960')}
#inicio .homeTile:nth-child(2){--tile-photo:url('https://commons.wikimedia.org/wiki/Special:FilePath/Cortijo_Jurado_(cropped).jpg?width=960')}
#inicio .homeTile:nth-child(3){--tile-photo:url('https://commons.wikimedia.org/wiki/Special:FilePath/Ochate.JPG?width=960')}
#inicio .homeTile:nth-child(4){--tile-photo:url('https://commons.wikimedia.org/wiki/Special:FilePath/20081029_Rodalquilar_Planta_Denver.jpg?width=960')}
#inicio .homeTile:nth-child(5){--tile-photo:url('https://commons.wikimedia.org/wiki/Special:FilePath/Preventorio_de_Aig%C3%BCes_de_Busot.jpg?width=960')}
#inicio .homeTile:nth-child(6){--tile-photo:url('https://commons.wikimedia.org/wiki/Special:FilePath/Hotel_Algarrobico_Gata_Nijar.jpg?width=960')}
#inicio .discoveryTile img,.placeThumb,.detailCover img{
  display:block;
  width:100%;
  max-width:100%;
  image-rendering:auto!important;
  object-fit:cover;
  object-position:center;
  filter:none!important;
  transform:none!important;
  backface-visibility:visible;
}
#inicio .discoveryTile img{
  aspect-ratio:16/9;
  height:auto!important;
  max-height:205px;
  background:#10232d;
}
.placeThumb{
  aspect-ratio:16/9;
  height:auto!important;
  max-height:310px;
  border-radius:8px;
}
.detailCover img{
  width:100%;
  height:auto!important;
  max-height:70vh!important;
  object-fit:contain!important;
  background:#07131c;
}
.detailCover{background:#08151f}
@media (max-width:700px){
  .atlas-home-hero__sky{
    background-image:
      linear-gradient(90deg,rgba(1,12,19,.88),rgba(3,17,28,.5) 66%,rgba(3,14,24,.18)),
      linear-gradient(0deg,rgba(3,14,22,.87),transparent 60%),
      url('/assets/backgrounds/cortijo-mobile-hd.webp')!important;
    background-position:center,center,center 49%!important;
  }
  .atlas-masthead__photo{
    background-image:
      linear-gradient(90deg,rgba(3,12,20,.4),rgba(4,15,23,.12),rgba(5,16,24,.6)),
      url('/assets/backgrounds/cortijo-desktop-hd.webp')!important;
    background-position:center,center 44%!important;
  }
  #inicio .discoveryTile img{
    aspect-ratio:4/3;
    height:auto!important;
    max-height:170px;
  }
  .placeThumb{max-height:240px}
  .detailCover img{max-height:54vh!important}
}
@media (prefers-reduced-motion:reduce){
  #inicio .homeTile,#inicio .discoveryTile{transition:none!important}
}
@media(max-width:700px){
 .atlas-masthead__photo{
  background-image:
    linear-gradient(90deg,rgba(3,12,20,.4),rgba(4,15,23,.12),rgba(5,16,24,.6)),
    url('/assets/backgrounds/cortijo-masthead-mobile-hd.webp')!important;
  background-position:center,center 51%!important;
 }
}
