.gastronomia-3>.row:not(.editMode .gastronomia-3>.row),
.gastronomia>.row:not(.editMode .gastronomia>.row) {
  display: flex;
  flex-wrap: nowrap; /* impide que las columnas se vayan a otra línea */
}
.gastro .swiper-pagination-bullet{
    background:#fff;
}
.h100 {
    height:100%;
    position:relative;
}
.grid-swiper-gastro{
    position:relative;
    width:101%;
}
.grid-swiper-gastro .w60{
    width:80% !important;
}
.grid-swiper-gastro>.row>.col{
    padding-left:0;
    padding-right:0;
    flex:1 0 100%;
}
.img-wrapper {
  position: relative;
  display: block;
}
.h100:has(>.img-wrapper){
    width:101%;
}
.img-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%; /* solo ocupa el  20% inferior */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  z-index: 1;
  pointer-events: none;
  transition: height 0.5s ease;
}
.position-absolute {
    position: absolute;
    bottom: 5%;
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 2;
}
.editMode .position-absolute{
    position:relative !important;
}
.editMode .position-absolute .white,.editMode .position-absolute .white strong{
    color:#000 !important;
}
.logo-restaurante img{
    filter:brightness(0) invert(1);
}
.editMode .logo-restaurante img{
    filter:none;
}
body .gastronomia-3 p.display-hover{
    line-height:1.5em;
}
@media (min-width: 768px) {
    .gastronomia>.row > [class*="col-"]{
      width: 50%;
      transition: width 0.5s ease;
      /*height: 80vh;*/
      margin:0;
      padding:0;
    }
    .gastronomia-3>.row > [class*="col-"] {
      width: 33.333333%;
      transition: width 0.5s ease;
      /*height: 80vh;*/
      margin:0;
      padding:0;
    }
    .gastronomia-3 .swiper,
    .gastronomia .swiper {
      height: 70vh;
    }
    .gastronomia-3 img.img-responsive,
    .gastronomia img.img-responsive{
        object-fit:cover;
        height:100% !important;
        border-radius: 0px;
    }
    .gastronomia-3 .swiper p, .gastronomia-3 p.display-hover,
    .gastronomia .swiper p,.gastronomia p.display-hover {
        display: none;
        animation:animopac 1s forwards;
    }
    /* Cuando se hace hover sobre cualquier columna */
   /* .gastronomia-3 .row > [class*="col-"]:hover,
    .gastronomia .row > [class*="col-"]:hover {
      width: 75%;
      height: 80vh;
    }*/
    .gastronomia-3 .row > [class*="col-"]:hover p, 
    .gastronomia-3 .row > [class*="col-"]:hover p.display-hover,
    .gastronomia .row > [class*="col-"]:hover p.display-hover,
    .gastronomia .row > .col:hover p.display-hover,
    .gastronomia .row > [class*="col-"]:hover p,
     .gastronomia .row > .col:hover p{
      display: block;
    }
    
    /* Las columnas hermanas se encogen */
    /*.gastronomia .row > [class*="col-"]:hover ~ [class*="col-"],
    .gastronomia .row > [class*="col-"]:has(~ [class*="col-"]:hover) {
      width: 25%;
      height: 80vh;
    }
    .gastronomia-3 .row > [class*="col-"]:hover ~ [class*="col-"],
    .gastronomia-3 .row > [class*="col-"]:has(~ [class*="col-"]:hover) {
      width: 12.5%;
      height: 80vh;
    }*/
}
@media(max-width:1024px){
    .grid-swiper-gastro .w60{
        width:90% !important;
    }
    body .gastronomia-3 p.display-hover,
    body .gastronomia p.display-hover{
        line-height:1.3em;
    }
}
@media(max-width:767px){
    .gastronomia-3>.row:not(.editMode .gastronomia-3 .row),
    .gastronomia>.row:not(.editMode .gastronomia .row){
        flex-wrap:wrap;
        gap:20px;
    }
    .img-wrapper::after{
        height:80%;
    }
    .grid-swiper-gastro .w60{
        width:96% !important;
    }
    .grid-swiper-gastro .img-responsive{
        min-height:450px !important;
    }
}